@latest-thinking/lt-player 1.0.7-i → 1.0.7-j
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
@import "../abstracts/variables";
|
|
2
2
|
|
|
3
|
+
$modal-max-width: 620px;
|
|
4
|
+
|
|
5
|
+
@mixin modal-max-width {
|
|
6
|
+
@media (max-width: #{$modal-max-width}) {
|
|
7
|
+
@content;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@mixin modal-min-width {
|
|
12
|
+
@media (min-width: #{$modal-max-width}) {
|
|
13
|
+
@content;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
3
17
|
@mixin modal-h2 {
|
|
4
18
|
font-size: $lt-player-font-size-xxxl2;
|
|
5
19
|
font-weight: $lt-player-font-weight-lg;
|
|
@@ -169,11 +183,10 @@
|
|
|
169
183
|
top: 0;
|
|
170
184
|
width: 100%;
|
|
171
185
|
height: 100%;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
//transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
|
|
186
|
+
|
|
187
|
+
@include modal-min-width {
|
|
188
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
189
|
+
}
|
|
177
190
|
|
|
178
191
|
&__mobile {
|
|
179
192
|
position: absolute;
|
|
@@ -216,7 +229,7 @@
|
|
|
216
229
|
overflow: auto;
|
|
217
230
|
max-width: 620px;
|
|
218
231
|
|
|
219
|
-
@
|
|
232
|
+
@include modal-max-width {
|
|
220
233
|
max-height: unset;
|
|
221
234
|
width: auto;
|
|
222
235
|
height: 100%;
|
|
@@ -312,7 +325,7 @@
|
|
|
312
325
|
&__modal-body {
|
|
313
326
|
padding: 40px;
|
|
314
327
|
|
|
315
|
-
@
|
|
328
|
+
@include modal-max-width {
|
|
316
329
|
padding: 20px;
|
|
317
330
|
}
|
|
318
331
|
}
|
|
@@ -334,7 +347,7 @@
|
|
|
334
347
|
right: 40px;
|
|
335
348
|
margin-top: 0 !important;
|
|
336
349
|
|
|
337
|
-
@
|
|
350
|
+
@include modal-max-width {
|
|
338
351
|
top: 20px;
|
|
339
352
|
right: 20px;
|
|
340
353
|
}
|
|
@@ -343,11 +356,4 @@
|
|
|
343
356
|
&__close-button:hover {
|
|
344
357
|
color: #d75b4c;
|
|
345
358
|
}
|
|
346
|
-
|
|
347
|
-
&__show-modal {
|
|
348
|
-
//opacity: 1;
|
|
349
|
-
//visibility: visible;
|
|
350
|
-
//transform: scale(1.0);
|
|
351
|
-
//transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
|
|
352
|
-
}
|
|
353
359
|
}
|