Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit b3ad64f

Browse files
committed
[design] improve link shadows
1 parent 1f1f03e commit b3ad64f

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

css/base.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,9 @@
8383
--animation-speed-fast: 0.2s;
8484
--animation-speed-medium: 0.4s;
8585
--animation-speed-slow: 0.6s;
86-
--shadow-small: 0 2px 1px rgba(0, 0, 0, 0.1), 0 3px 2px rgba(0, 0, 0, 0.1);
87-
--shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.1), 0 6px 15px rgba(0, 0, 0, 0.1);
88-
--shadow-large: 0 4px 10px rgba(0, 0, 0, 0.1), 0 6px 30px rgba(0, 0, 0, 0.1);
89-
--shadow-small-inset: inset 0 1px 1px rgba(0, 0, 0, 0.05);
90-
--shadow-medium-inset: inset 0 2px 2px rgba(0, 0, 0, 0.1);
91-
--shadow-large-inset: inset 0 3px 3px rgba(0, 0, 0, 0.15);
86+
--shadow-small: 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.2);
87+
--shadow-medium: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.2);
88+
--shadow-large: 0 3px 6px rgba(0, 0, 0, 0.1), 0 6px 12px rgba(0, 0, 0, 0.2);
9289
--z-index-background: 1000;
9390
--z-index-link: 2000;
9491
--z-index-header: 3000;

css/link.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
text-decoration: none;
9898
outline: none;
9999
background-color: rgb(var(--gray-03));
100-
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
100+
box-shadow: var(--shadow-large);
101101
}
102102

103103
.is-link-style-block .link-panel-front {
@@ -395,7 +395,7 @@
395395
.is-link-edit .link-item:hover .link-panel-front,
396396
.is-link-edit .link-item:focus .link-panel-front {
397397
height: calc(100% - var(--link-item-edit-height));
398-
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
398+
box-shadow: var(--shadow-medium);
399399
}
400400

401401
.is-link-edit.is-link-url-show .link-item:focus .link-panel-front,

0 commit comments

Comments
 (0)