drop-shadow for lightbox arrows
This commit is contained in:
parent
39e6d74b3e
commit
d84f74ec99
3 changed files with 8 additions and 14 deletions
1
images/icons/v3/chevron/chevron-left-white.svg
Normal file
1
images/icons/v3/chevron/chevron-left-white.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.599 3.651a.73.73 0 0 0-1.031 0L5.734 9.484a.73.73 0 0 0 0 1.032l5.834 5.833a.73.73 0 1 0 1.03-1.031L7.282 10 12.6 4.682a.73.73 0 0 0 0-1.03Z" fill="#fff"/></svg>
|
After Width: | Height: | Size: 249 B |
1
images/icons/v3/chevron/chevron-right-white.svg
Normal file
1
images/icons/v3/chevron/chevron-right-white.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.401 3.651a.73.73 0 0 1 1.031 0l5.834 5.833a.73.73 0 0 1 0 1.032l-5.834 5.833a.73.73 0 1 1-1.03-1.031L12.718 10 7.4 4.682a.73.73 0 0 1 0-1.03Z" fill="#fff"/></svg>
|
After Width: | Height: | Size: 249 B |
|
@ -276,12 +276,6 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
&::before {
|
|
||||||
background: $color-white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: 4px solid $color-ultramarine;
|
outline: 4px solid $color-ultramarine;
|
||||||
}
|
}
|
||||||
|
@ -327,6 +321,10 @@
|
||||||
&::before {
|
&::before {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
-webkit-filter: drop-shadow(0 0 4px $color-black-alpha-40);
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
background-size: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -351,10 +349,7 @@
|
||||||
padding-inline-start: 16px;
|
padding-inline-start: 16px;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
@include color-svg(
|
background-image: url('../images/icons/v3/chevron/chevron-left-white.svg');
|
||||||
'../images/icons/v3/chevron/chevron-left.svg',
|
|
||||||
$color-gray-05
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -363,10 +358,7 @@
|
||||||
padding-inline-end: 16px;
|
padding-inline-end: 16px;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
@include color-svg(
|
background-image: url('../images/icons/v3/chevron/chevron-right-white.svg');
|
||||||
'../images/icons/v3/chevron/chevron-right.svg',
|
|
||||||
$color-gray-05
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue