@latest-thinking/lt-player 1.0.7-h → 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
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
transform: translate(-#{$top}, -#{$top});
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
@mixin flex-position($flex, $content, $align) {
|
|
9
|
+
display: $flex;
|
|
10
|
+
justify-content: $content;
|
|
11
|
+
align-items: $align;
|
|
12
|
+
}
|
|
13
|
+
|
|
8
14
|
@mixin yellow-btn {
|
|
9
15
|
color: $default-lt-button-color;
|
|
10
16
|
background-color: $default_color_player;
|
package/src/assets/sass/app.scss
CHANGED
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
// 1. Basics
|
|
15
15
|
//---------------------------------------------
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
*,
|
|
18
|
+
*::before,
|
|
19
|
+
*::after {
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
}
|
|
18
22
|
|
|
19
23
|
//---------------------------------------------
|
|
20
24
|
// 2. Resetting properties
|
|
@@ -24,6 +28,18 @@ body {
|
|
|
24
28
|
margin: 0;
|
|
25
29
|
}
|
|
26
30
|
|
|
31
|
+
.container-text-portrait-player {
|
|
32
|
+
display: flex;
|
|
33
|
+
max-width: 800px;
|
|
34
|
+
max-height: 800px;
|
|
35
|
+
margin-bottom: 3rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.container-text-landscape-player {
|
|
39
|
+
display: flex;
|
|
40
|
+
max-width: 1000px;
|
|
41
|
+
}
|
|
42
|
+
|
|
27
43
|
//---------------------------------------------
|
|
28
44
|
// 3. General
|
|
29
45
|
//---------------------------------------------
|
|
@@ -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;
|
|
@@ -120,6 +134,7 @@
|
|
|
120
134
|
color: $default-lt-button-color;
|
|
121
135
|
text-align: left;
|
|
122
136
|
overflow: auto;
|
|
137
|
+
padding: 20px;
|
|
123
138
|
font-family: $lt-font-family-base;
|
|
124
139
|
|
|
125
140
|
button,
|
|
@@ -168,11 +183,10 @@
|
|
|
168
183
|
top: 0;
|
|
169
184
|
width: 100%;
|
|
170
185
|
height: 100%;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
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
|
+
}
|
|
176
190
|
|
|
177
191
|
&__mobile {
|
|
178
192
|
position: absolute;
|
|
@@ -215,9 +229,14 @@
|
|
|
215
229
|
overflow: auto;
|
|
216
230
|
max-width: 620px;
|
|
217
231
|
|
|
218
|
-
@
|
|
232
|
+
@include modal-max-width {
|
|
219
233
|
max-height: unset;
|
|
234
|
+
width: auto;
|
|
220
235
|
height: 100%;
|
|
236
|
+
position: unset;
|
|
237
|
+
transform: unset;
|
|
238
|
+
border: 1px solid $default-lt-span-color;
|
|
239
|
+
border-radius: 0 0 0 30px;
|
|
221
240
|
}
|
|
222
241
|
|
|
223
242
|
.modal-flex {
|
|
@@ -306,7 +325,7 @@
|
|
|
306
325
|
&__modal-body {
|
|
307
326
|
padding: 40px;
|
|
308
327
|
|
|
309
|
-
@
|
|
328
|
+
@include modal-max-width {
|
|
310
329
|
padding: 20px;
|
|
311
330
|
}
|
|
312
331
|
}
|
|
@@ -328,7 +347,7 @@
|
|
|
328
347
|
right: 40px;
|
|
329
348
|
margin-top: 0 !important;
|
|
330
349
|
|
|
331
|
-
@
|
|
350
|
+
@include modal-max-width {
|
|
332
351
|
top: 20px;
|
|
333
352
|
right: 20px;
|
|
334
353
|
}
|
|
@@ -337,11 +356,4 @@
|
|
|
337
356
|
&__close-button:hover {
|
|
338
357
|
color: #d75b4c;
|
|
339
358
|
}
|
|
340
|
-
|
|
341
|
-
&__show-modal {
|
|
342
|
-
opacity: 1;
|
|
343
|
-
visibility: visible;
|
|
344
|
-
transform: scale(1.0);
|
|
345
|
-
transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
|
|
346
|
-
}
|
|
347
359
|
}
|