|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+@import './variables.sss'
|
|
|
2
|
+@import './theme.sss'
|
|
|
3
|
+
|
|
1
|
4
|
.vel-fade
|
|
2
|
5
|
&-enter-active, &-active
|
|
3
|
6
|
transition: all 0.3s ease
|
|
4
|
7
|
&-enter-from, &-leave-to
|
|
5
|
|
- opacity: 0
|
|
|
8
|
+ opacity: 1
|
|
6
|
9
|
|
|
7
|
10
|
.vel-img
|
|
8
|
11
|
&-swiper
|
|
|
@@ -14,10 +17,10 @@
|
|
14
|
17
|
position: absolute
|
|
15
|
18
|
top: 50%
|
|
16
|
19
|
transform: translate(-50% -50%)
|
|
17
|
|
- transition: 0.3s linear
|
|
18
|
|
- will-change: transform opacity
|
|
19
|
|
- background-color: rgba(0, 0, 0, 0.7)
|
|
20
|
|
- box-shadow: 0 5px 20px 2px rgba(0, 0, 0, 0.7)
|
|
|
20
|
+ /* transition: 0.3s linear */
|
|
|
21
|
+ /* will-change: transform opacity */
|
|
|
22
|
+ /* background-color: rgba(0, 0, 0, 0.7) */
|
|
|
23
|
+ box-shadow: 0.5px 0.5px 0.5px 0px rgb(0 0 0 / 30%)
|
|
21
|
24
|
display: block
|
|
22
|
25
|
max-height: 80vh
|
|
23
|
26
|
max-width: 80vw
|
|
|
@@ -25,7 +28,7 @@
|
|
25
|
28
|
transition: transform 0.3s ease-in-out
|
|
26
|
29
|
|
|
27
|
30
|
.vel-modal
|
|
28
|
|
- background: rgba(0, 0, 0, 0.5)
|
|
|
31
|
+ background: rgba(255, 255, 255, 0.9)
|
|
29
|
32
|
bottom: 0
|
|
30
|
33
|
left: 0
|
|
31
|
34
|
margin: 0
|
|
|
@@ -33,13 +36,17 @@
|
|
33
|
36
|
right: 0
|
|
34
|
37
|
top: 0
|
|
35
|
38
|
z-index: 10003
|
|
|
39
|
+ img
|
|
|
40
|
+ transition: none
|
|
|
41
|
+ &:hover
|
|
|
42
|
+ filter: grayscale(0%) brightness(100%)
|
|
36
|
43
|
|
|
37
|
44
|
.vel-img, .vel-img-wrapper
|
|
38
|
45
|
user-select: none
|
|
39
|
46
|
|
|
40
|
47
|
.vel-btns-wrapper
|
|
41
|
48
|
.btn__close, .btn__next, .btn__prev
|
|
42
|
|
- color: #fff
|
|
|
49
|
+ color: $cia_black
|
|
43
|
50
|
cursor: pointer
|
|
44
|
51
|
font-size: 32px
|
|
45
|
52
|
opacity: 0.6
|
|
|
@@ -94,6 +101,7 @@
|
|
94
|
101
|
|
|
95
|
102
|
.vel-modal.is-rtl .vel-img-title
|
|
96
|
103
|
direction: rtl
|
|
|
104
|
+ display: block
|
|
97
|
105
|
|
|
98
|
106
|
.vel-loading
|
|
99
|
107
|
left: 50%
|
|
|
@@ -166,6 +174,7 @@
|
|
166
|
174
|
width: 1em
|
|
167
|
175
|
|
|
168
|
176
|
.vel-toolbar
|
|
|
177
|
+ display: none
|
|
169
|
178
|
border-radius: 4px
|
|
170
|
179
|
bottom: 8px
|
|
171
|
180
|
display: flex
|
|
|
@@ -176,6 +185,7 @@
|
|
176
|
185
|
position: absolute
|
|
177
|
186
|
transform: translate(-50%)
|
|
178
|
187
|
.toolbar-btn
|
|
|
188
|
+ display: none
|
|
179
|
189
|
color: #fff
|
|
180
|
190
|
cursor: pointer
|
|
181
|
191
|
flex-shrink: 0
|
|
|
@@ -188,3 +198,8 @@
|
|
188
|
198
|
.vel-toolbar, .vel-toolbar .toolbar-btn
|
|
189
|
199
|
background-color: #2d2d2d
|
|
190
|
200
|
user-select: none
|
|
|
201
|
+
|
|
|
202
|
+figcaption
|
|
|
203
|
+ position: inherit
|
|
|
204
|
+ background: none
|
|
|
205
|
+ color: $cia_black
|