@materializecss/materialize 2.0.3-alpha → 2.0.3
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/README.md +1 -1
- package/dist/css/materialize.css +345 -236
- package/dist/css/materialize.min.css +2 -2
- package/dist/js/materialize.js +518 -1979
- package/dist/js/materialize.min.js +2 -2
- package/dist/js/materialize.min.js.map +1 -1
- package/dist/src/buttons.d.ts.map +1 -1
- package/dist/src/cards.d.ts.map +1 -1
- package/dist/src/collapsible.d.ts +1 -0
- package/dist/src/collapsible.d.ts.map +1 -1
- package/dist/src/dropdown.d.ts.map +1 -1
- package/dist/src/global.d.ts.map +1 -1
- package/dist/src/materialbox.d.ts +14 -10
- package/dist/src/materialbox.d.ts.map +1 -1
- package/dist/src/modal.d.ts.map +1 -1
- package/dist/src/range.d.ts.map +1 -1
- package/dist/src/scrollspy.d.ts.map +1 -1
- package/dist/src/sidenav.d.ts +25 -25
- package/dist/src/sidenav.d.ts.map +1 -1
- package/dist/src/slider.d.ts +12 -12
- package/dist/src/slider.d.ts.map +1 -1
- package/dist/src/tabs.d.ts +1 -1
- package/dist/src/tabs.d.ts.map +1 -1
- package/dist/src/toasts.d.ts +7 -2
- package/dist/src/toasts.d.ts.map +1 -1
- package/dist/src/tooltip.d.ts +8 -2
- package/dist/src/tooltip.d.ts.map +1 -1
- package/package.json +14 -13
- package/sass/components/_buttons.scss +158 -73
- package/sass/components/_chips.scss +75 -28
- package/sass/components/_collapsible.scss +14 -2
- package/sass/components/_global.scss +6 -94
- package/sass/components/_materialbox.scss +2 -2
- package/sass/components/_modal.scss +0 -1
- package/sass/components/_preloader.scss +85 -0
- package/sass/components/_tooltip.scss +18 -8
- package/sass/components/_variables.scss +5 -4
- package/sass/components/forms/_range.scss +1 -1
- package/sass/components/forms/_switches.scss +44 -14
- package/Gruntfile.js +0 -480
- package/src/autocomplete.ts +0 -553
- package/src/bounding.ts +0 -6
- package/src/buttons.ts +0 -260
- package/src/cards.ts +0 -53
- package/src/carousel.ts +0 -676
- package/src/characterCounter.ts +0 -117
- package/src/chips.ts +0 -439
- package/src/collapsible.ts +0 -249
- package/src/component.ts +0 -120
- package/src/datepicker.ts +0 -1076
- package/src/dropdown.ts +0 -644
- package/src/edges.ts +0 -6
- package/src/forms.ts +0 -132
- package/src/global.ts +0 -114
- package/src/index.ts +0 -26
- package/src/materialbox.ts +0 -404
- package/src/modal.ts +0 -341
- package/src/parallax.ts +0 -149
- package/src/pushpin.ts +0 -165
- package/src/range.ts +0 -198
- package/src/scrollspy.ts +0 -263
- package/src/select.ts +0 -484
- package/src/sidenav.ts +0 -543
- package/src/slider.ts +0 -474
- package/src/tabs.ts +0 -347
- package/src/tapTarget.ts +0 -273
- package/src/timepicker.ts +0 -832
- package/src/toasts.ts +0 -290
- package/src/tooltip.ts +0 -346
- package/src/utils.ts +0 -271
- package/src/waves.ts +0 -70
|
@@ -1,18 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
display: inline-block;
|
|
1
|
+
.btn, .btn-floating, .btn-large, .btn-small, .btn-flat {
|
|
2
|
+
--font-size-icon: 16px;
|
|
3
|
+
--padding: 24px;
|
|
4
|
+
--padding-icon: 16px;
|
|
5
|
+
--gap-icon: 8px;
|
|
6
|
+
|
|
8
7
|
height: $button-height;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
|
|
9
|
+
// line-height: $button-height;
|
|
10
|
+
border: $button-border;
|
|
11
|
+
border-radius: $button-radius;
|
|
12
|
+
|
|
13
|
+
// padding: $button-padding;
|
|
14
|
+
padding-left: var(--padding);
|
|
15
|
+
padding-right: var(--padding);
|
|
16
|
+
|
|
17
|
+
color: $button-raised-color;
|
|
18
|
+
font-size: $button-font-size;
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
|
|
25
|
+
cursor: pointer;
|
|
13
26
|
-webkit-tap-highlight-color: transparent; // Gets rid of tap active state
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
outline: 0;
|
|
29
|
+
user-select: none;
|
|
30
|
+
|
|
31
|
+
transition: background-color .2s ease-out;
|
|
14
32
|
}
|
|
15
33
|
|
|
34
|
+
// Icon
|
|
35
|
+
.btn.icon-left, .btn.icon-right {
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
.btn.icon-left {
|
|
39
|
+
padding-left: calc(var(--padding-icon) + var(--font-size-icon) + var(--gap-icon));
|
|
40
|
+
}
|
|
41
|
+
.btn.icon-right {
|
|
42
|
+
padding-right: calc(var(--padding-icon) + var(--font-size-icon) + var(--gap-icon));
|
|
43
|
+
}
|
|
44
|
+
.btn.icon-left i, .btn.icon-right i {
|
|
45
|
+
position: absolute;
|
|
46
|
+
font-size: var(--font-size-icon);
|
|
47
|
+
}
|
|
48
|
+
.btn.icon-left i {
|
|
49
|
+
left: var(--padding-icon);
|
|
50
|
+
}
|
|
51
|
+
.btn.icon-right i {
|
|
52
|
+
right: var(--padding-icon);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
16
56
|
// Disabled shared style
|
|
17
57
|
.btn.disabled,
|
|
18
58
|
.btn-floating.disabled,
|
|
@@ -40,53 +80,103 @@
|
|
|
40
80
|
}
|
|
41
81
|
}
|
|
42
82
|
|
|
43
|
-
|
|
44
|
-
.btn
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
.btn
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
83
|
+
//--- Filled Button
|
|
84
|
+
.btn.filled {
|
|
85
|
+
background-color: var(--md-sys-color-primary);
|
|
86
|
+
}
|
|
87
|
+
//--- Filled Tonal
|
|
88
|
+
.btn.tonal {
|
|
89
|
+
background-color: var(--md-sys-color-secondary-container);
|
|
90
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
91
|
+
}
|
|
92
|
+
//--- Text-Button (Flat)
|
|
93
|
+
.btn.text, .btn-flat {
|
|
94
|
+
box-shadow: none;
|
|
95
|
+
background-color: transparent;
|
|
96
|
+
color: var(--md-sys-color-primary);
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
transition: background-color .2s;
|
|
99
|
+
&:focus,
|
|
100
|
+
&:hover {
|
|
101
|
+
box-shadow: none;
|
|
102
|
+
background-color: $button-flat-hover-background-color;
|
|
103
|
+
}
|
|
104
|
+
&:focus {
|
|
105
|
+
background-color: $button-flat-focus-background-color;
|
|
106
|
+
}
|
|
107
|
+
&.disabled,
|
|
108
|
+
&.btn.text[disabled], &.btn-flat[disabled] {
|
|
109
|
+
background-color: transparent !important;
|
|
110
|
+
color: $button-flat-disabled-color !important;
|
|
111
|
+
cursor: default;
|
|
54
112
|
}
|
|
55
113
|
}
|
|
114
|
+
//--- Outlined-Button
|
|
115
|
+
.btn.outlined {
|
|
116
|
+
background-color: transparent;
|
|
117
|
+
color: $button-raised-background;
|
|
118
|
+
border: 1px solid $button-raised-background;
|
|
119
|
+
}
|
|
120
|
+
//--- Elevated
|
|
121
|
+
.btn.elevated {
|
|
122
|
+
@extend .tonal;
|
|
123
|
+
@extend .z-depth-1;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
//======================== States (Hover, Focused, ...)
|
|
56
128
|
|
|
57
|
-
// Raised Button
|
|
58
129
|
.btn {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
background-color: $button-raised-background;
|
|
62
|
-
text-align: center;
|
|
63
|
-
letter-spacing: .5px;
|
|
64
|
-
@extend .z-depth-1;
|
|
65
|
-
transition: background-color .2s ease-out;
|
|
66
|
-
cursor: pointer;
|
|
130
|
+
@extend .filled;
|
|
131
|
+
|
|
67
132
|
&:hover {
|
|
68
133
|
background-color: $button-raised-background-hover;
|
|
69
134
|
@extend .z-depth-1-half;
|
|
70
135
|
}
|
|
136
|
+
|
|
71
137
|
&:focus {
|
|
72
138
|
background-color: $button-raised-background-focus;
|
|
73
139
|
@extend .z-depth-1-half;
|
|
74
|
-
}
|
|
140
|
+
}
|
|
75
141
|
}
|
|
76
142
|
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
//----------
|
|
146
|
+
// .btn-floating {
|
|
147
|
+
// border-radius: 16px;
|
|
148
|
+
// width: unset;
|
|
149
|
+
// display: grid;
|
|
150
|
+
// grid-auto-flow: column;
|
|
151
|
+
// align-items: center;
|
|
152
|
+
// padding: 16px !important;
|
|
153
|
+
// padding-right: 24px !important; /* only with icon */
|
|
154
|
+
// gap: 8px;
|
|
155
|
+
// }
|
|
156
|
+
// .btn-floating.btn-large {
|
|
157
|
+
// width: unset;
|
|
158
|
+
// }
|
|
159
|
+
// .btn-large {
|
|
160
|
+
// font-size: 14px;
|
|
161
|
+
// }
|
|
162
|
+
//-----
|
|
77
163
|
// Floating button
|
|
78
164
|
.btn-floating {
|
|
165
|
+
|
|
79
166
|
&:hover {
|
|
80
167
|
background-color: $button-floating-background-hover;
|
|
81
168
|
@extend .z-depth-1-half;
|
|
82
169
|
}
|
|
170
|
+
|
|
83
171
|
&:focus {
|
|
84
172
|
background-color: $button-floating-background-focus;
|
|
85
173
|
@extend .z-depth-1-half;
|
|
86
174
|
}
|
|
175
|
+
|
|
87
176
|
&:before {
|
|
88
177
|
border-radius: 0;
|
|
89
178
|
}
|
|
179
|
+
|
|
90
180
|
&.btn-large {
|
|
91
181
|
&.halfway-fab {
|
|
92
182
|
bottom: -$button-floating-large-size * 0.5;
|
|
@@ -94,9 +184,10 @@
|
|
|
94
184
|
width: $button-floating-large-size;
|
|
95
185
|
height: $button-floating-large-size;
|
|
96
186
|
padding: 0;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
187
|
+
// font-size:
|
|
188
|
+
// i {
|
|
189
|
+
// // line-height: $button-floating-large-size;
|
|
190
|
+
// }
|
|
100
191
|
}
|
|
101
192
|
|
|
102
193
|
&.btn-small {
|
|
@@ -105,9 +196,9 @@
|
|
|
105
196
|
}
|
|
106
197
|
width: $button-floating-small-size;
|
|
107
198
|
height: $button-floating-small-size;
|
|
108
|
-
i {
|
|
109
|
-
|
|
110
|
-
}
|
|
199
|
+
// i {
|
|
200
|
+
// line-height: $button-floating-small-size;
|
|
201
|
+
// }
|
|
111
202
|
}
|
|
112
203
|
|
|
113
204
|
&.halfway-fab {
|
|
@@ -119,36 +210,48 @@
|
|
|
119
210
|
right: 24px;
|
|
120
211
|
bottom: -$button-floating-size * 0.5;
|
|
121
212
|
}
|
|
122
|
-
|
|
213
|
+
|
|
214
|
+
// FIXES
|
|
215
|
+
// width: unset;
|
|
216
|
+
// padding: 16px !important;
|
|
217
|
+
// padding-right: 24px !important; /* only with icon */
|
|
218
|
+
// gap: 8px;
|
|
219
|
+
|
|
123
220
|
color: $button-floating-color;
|
|
124
|
-
|
|
125
|
-
overflow: hidden;
|
|
126
|
-
z-index: 1;
|
|
221
|
+
|
|
127
222
|
width: $button-floating-size;
|
|
128
223
|
height: $button-floating-size;
|
|
129
|
-
line-height: $button-floating-size;
|
|
130
|
-
|
|
224
|
+
// line-height: $button-floating-size;
|
|
225
|
+
|
|
131
226
|
background-color: $button-floating-background;
|
|
132
227
|
border-radius: $button-floating-radius;
|
|
228
|
+
padding: 0;
|
|
229
|
+
|
|
230
|
+
display: grid;
|
|
231
|
+
grid-auto-flow: column;
|
|
232
|
+
align-items: center;
|
|
233
|
+
|
|
234
|
+
position: relative;
|
|
235
|
+
overflow: hidden;
|
|
236
|
+
z-index: 1;
|
|
133
237
|
@extend .z-depth-1;
|
|
134
238
|
transition: background-color .3s;
|
|
135
239
|
cursor: pointer;
|
|
136
240
|
vertical-align: middle;
|
|
241
|
+
|
|
137
242
|
i {
|
|
243
|
+
color: $button-floating-color;
|
|
244
|
+
font-size: $button-large-icon-font-size;
|
|
245
|
+
// line-height: $button-floating-size;
|
|
138
246
|
width: inherit;
|
|
139
247
|
display: inline-block;
|
|
140
248
|
text-align: center;
|
|
141
|
-
color: $button-floating-color;
|
|
142
|
-
font-size: $button-large-icon-font-size;
|
|
143
|
-
line-height: $button-floating-size;
|
|
144
249
|
}
|
|
145
250
|
}
|
|
146
|
-
|
|
147
251
|
// button fix
|
|
148
252
|
button.btn-floating {
|
|
149
253
|
border: $button-border;
|
|
150
254
|
}
|
|
151
|
-
|
|
152
255
|
// Fixed Action Button
|
|
153
256
|
.fixed-action-btn {
|
|
154
257
|
&.active {
|
|
@@ -274,37 +377,15 @@ button.btn-floating {
|
|
|
274
377
|
}
|
|
275
378
|
}
|
|
276
379
|
|
|
277
|
-
|
|
278
|
-
.btn-flat {
|
|
279
|
-
box-shadow: none;
|
|
280
|
-
background-color: transparent;
|
|
281
|
-
color: $button-flat-color;
|
|
282
|
-
cursor: pointer;
|
|
283
|
-
transition: background-color .2s;
|
|
284
|
-
&:focus,
|
|
285
|
-
&:hover {
|
|
286
|
-
box-shadow: none;
|
|
287
|
-
background-color: $button-flat-hover-background-color;
|
|
288
|
-
}
|
|
289
|
-
&:focus {
|
|
290
|
-
background-color: $button-flat-focus-background-color;
|
|
291
|
-
}
|
|
292
|
-
&.disabled,
|
|
293
|
-
&.btn-flat[disabled] {
|
|
294
|
-
background-color: transparent !important;
|
|
295
|
-
color: $button-flat-disabled-color !important;
|
|
296
|
-
cursor: default;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
380
|
+
//--- Helper classes (for all)
|
|
299
381
|
|
|
300
382
|
// Large button
|
|
301
383
|
.btn-large {
|
|
302
384
|
@extend .btn;
|
|
303
385
|
height: $button-large-height;
|
|
304
|
-
line-height: $button-large-height;
|
|
386
|
+
// line-height: $button-large-height;
|
|
305
387
|
font-size: $button-large-font-size;
|
|
306
388
|
padding: 0 28px;
|
|
307
|
-
|
|
308
389
|
i {
|
|
309
390
|
font-size: $button-large-icon-font-size;
|
|
310
391
|
}
|
|
@@ -325,3 +406,7 @@ button.btn-floating {
|
|
|
325
406
|
.btn-block {
|
|
326
407
|
display: block;
|
|
327
408
|
}
|
|
409
|
+
|
|
410
|
+
.btn.rounded {
|
|
411
|
+
border-radius: 99999px;
|
|
412
|
+
}
|
|
@@ -1,45 +1,87 @@
|
|
|
1
1
|
.chip {
|
|
2
|
+
--font-size: 14px;
|
|
3
|
+
--font-size-icon: 18px;
|
|
4
|
+
--padding: 8px;
|
|
5
|
+
|
|
6
|
+
background-color: $chip-bg-color;
|
|
7
|
+
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
gap: 8px;
|
|
11
|
+
|
|
12
|
+
margin: 0;
|
|
13
|
+
height: 32px;
|
|
14
|
+
|
|
15
|
+
padding-left: var(--padding);
|
|
16
|
+
padding-right: var(--padding);
|
|
17
|
+
|
|
18
|
+
font-size: var(--font-size);
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
color: $chip-font-color;
|
|
21
|
+
|
|
22
|
+
border-radius: 8px;
|
|
23
|
+
|
|
24
|
+
align-items: center;
|
|
25
|
+
user-select: none;
|
|
26
|
+
vertical-align: top;
|
|
27
|
+
|
|
2
28
|
&:focus {
|
|
3
29
|
outline: none;
|
|
4
30
|
background-color: $chip-selected-color;
|
|
5
31
|
color: $chip-selected-font-color;
|
|
6
32
|
}
|
|
33
|
+
}
|
|
7
34
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
padding: 0 12px;
|
|
15
|
-
border-radius: 16px;
|
|
16
|
-
background-color: $chip-bg-color;
|
|
17
|
-
margin-bottom: $chip-margin;
|
|
18
|
-
margin-right: $chip-margin;
|
|
35
|
+
.chip.outlined {
|
|
36
|
+
background-color: transparent;
|
|
37
|
+
border-color: var(--md-sys-color-outline);
|
|
38
|
+
border-width: 1px;
|
|
39
|
+
border-style: solid;
|
|
40
|
+
}
|
|
19
41
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
42
|
+
.chip > img {
|
|
43
|
+
margin: 0;
|
|
44
|
+
width: 24px;
|
|
45
|
+
height: 24px;
|
|
46
|
+
object-fit: cover;
|
|
47
|
+
border-radius: 12px;
|
|
48
|
+
}
|
|
27
49
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
50
|
+
.chip > .material-icons {
|
|
51
|
+
font-size: var(--font-size-icon);
|
|
52
|
+
@extend .on-surface-variant-text;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.chip .close {
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
height: 24px;
|
|
58
|
+
width: 24px;
|
|
59
|
+
padding: 0;
|
|
60
|
+
display: grid;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
align-content: center;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.chip .close:hover {
|
|
67
|
+
background-color: #8888;
|
|
35
68
|
}
|
|
36
69
|
|
|
70
|
+
//--------------------------
|
|
71
|
+
|
|
37
72
|
.chips {
|
|
73
|
+
display: flex;
|
|
74
|
+
gap: 4px;
|
|
75
|
+
flex-wrap: wrap;
|
|
76
|
+
|
|
38
77
|
border: none;
|
|
39
78
|
border-bottom: 1px solid $chip-border-color;
|
|
40
79
|
box-shadow: none;
|
|
41
80
|
margin: $input-margin;
|
|
42
|
-
|
|
81
|
+
|
|
82
|
+
padding: 4px;
|
|
83
|
+
// min-height: 45px;
|
|
84
|
+
|
|
43
85
|
outline: none;
|
|
44
86
|
transition: all .3s;
|
|
45
87
|
|
|
@@ -58,13 +100,18 @@
|
|
|
58
100
|
color: $input-color;
|
|
59
101
|
display: inline-block;
|
|
60
102
|
font-size: $input-font-size;
|
|
61
|
-
|
|
62
|
-
|
|
103
|
+
|
|
104
|
+
// height: 32px;
|
|
105
|
+
// height: $input-height;
|
|
106
|
+
// line-height: 32px;
|
|
107
|
+
height: 32px;
|
|
108
|
+
|
|
63
109
|
outline: 0;
|
|
64
110
|
margin: 0;
|
|
65
111
|
padding: 0;
|
|
66
112
|
width: 120px;
|
|
67
113
|
|
|
114
|
+
|
|
68
115
|
&:focus {
|
|
69
116
|
border: 0;
|
|
70
117
|
box-shadow: none;
|
|
@@ -31,15 +31,27 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
.collapsible-header::after {
|
|
35
|
+
content: '▾';
|
|
36
|
+
text-align: right;
|
|
37
|
+
margin-right: 0.25rem;
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
.active .collapsible-header::after {
|
|
41
|
+
content: "▴";
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
34
45
|
.keyboard-focused .collapsible-header:focus {
|
|
35
46
|
background-color: $surface-focus-color-opaque;
|
|
36
47
|
}
|
|
37
48
|
|
|
38
49
|
.collapsible-body {
|
|
39
|
-
|
|
50
|
+
max-height: 0;
|
|
40
51
|
border-bottom: 1px solid $collapsible-border-color;
|
|
41
52
|
box-sizing: border-box;
|
|
42
|
-
padding: 2rem;
|
|
53
|
+
padding: 0 2rem;
|
|
54
|
+
overflow: hidden;
|
|
43
55
|
background-color: $collapsible-bg-color;
|
|
44
56
|
}
|
|
45
57
|
|
|
@@ -78,7 +78,6 @@ a {
|
|
|
78
78
|
|
|
79
79
|
.hoverable {
|
|
80
80
|
transition: box-shadow .25s;
|
|
81
|
-
|
|
82
81
|
&:hover {
|
|
83
82
|
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
84
83
|
}
|
|
@@ -91,7 +90,6 @@ a {
|
|
|
91
90
|
background-color: $divider-color;
|
|
92
91
|
}
|
|
93
92
|
|
|
94
|
-
|
|
95
93
|
// Blockquote
|
|
96
94
|
blockquote {
|
|
97
95
|
margin: 20px 0;
|
|
@@ -102,29 +100,24 @@ blockquote {
|
|
|
102
100
|
// Icon Styles
|
|
103
101
|
i {
|
|
104
102
|
line-height: inherit;
|
|
105
|
-
|
|
106
103
|
&.left {
|
|
107
104
|
float: left;
|
|
108
|
-
margin-
|
|
105
|
+
margin-left: -8px;
|
|
106
|
+
// margin-right: 15px;
|
|
109
107
|
}
|
|
110
|
-
|
|
111
108
|
&.right {
|
|
112
109
|
float: right;
|
|
113
|
-
margin-left: 15px;
|
|
110
|
+
// margin-left: 15px;
|
|
114
111
|
}
|
|
115
|
-
|
|
116
112
|
&.tiny {
|
|
117
113
|
font-size: 1rem;
|
|
118
114
|
}
|
|
119
|
-
|
|
120
115
|
&.small {
|
|
121
116
|
font-size: 2rem;
|
|
122
117
|
}
|
|
123
|
-
|
|
124
118
|
&.medium {
|
|
125
119
|
font-size: 4rem;
|
|
126
120
|
}
|
|
127
|
-
|
|
128
121
|
&.large {
|
|
129
122
|
font-size: 6rem;
|
|
130
123
|
}
|
|
@@ -525,10 +518,8 @@ td, th {
|
|
|
525
518
|
border-right: 1px solid $table-border-color;
|
|
526
519
|
}
|
|
527
520
|
}
|
|
528
|
-
|
|
529
521
|
}
|
|
530
522
|
|
|
531
|
-
|
|
532
523
|
// Responsive Videos
|
|
533
524
|
.video-container {
|
|
534
525
|
position: relative;
|
|
@@ -545,88 +536,6 @@ td, th {
|
|
|
545
536
|
}
|
|
546
537
|
}
|
|
547
538
|
|
|
548
|
-
// Progress Bar
|
|
549
|
-
.progress {
|
|
550
|
-
position: relative;
|
|
551
|
-
height: 4px;
|
|
552
|
-
display: block;
|
|
553
|
-
width: 100%;
|
|
554
|
-
background-color: $progress-bar-track-color;
|
|
555
|
-
border-radius: 2px;
|
|
556
|
-
margin: $element-top-margin 0 $element-bottom-margin 0;
|
|
557
|
-
overflow: hidden;
|
|
558
|
-
|
|
559
|
-
.determinate {
|
|
560
|
-
position: absolute;
|
|
561
|
-
top: 0;
|
|
562
|
-
left: 0;
|
|
563
|
-
bottom: 0;
|
|
564
|
-
background-color: $progress-bar-color;
|
|
565
|
-
transition: width .3s linear;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
.indeterminate {
|
|
569
|
-
background-color: $progress-bar-color;
|
|
570
|
-
|
|
571
|
-
&:before {
|
|
572
|
-
content: '';
|
|
573
|
-
position: absolute;
|
|
574
|
-
background-color: inherit;
|
|
575
|
-
top: 0;
|
|
576
|
-
left: 0;
|
|
577
|
-
bottom: 0;
|
|
578
|
-
will-change: left, right;
|
|
579
|
-
// Custom bezier
|
|
580
|
-
animation: indeterminate 2.1s cubic-bezier(0.650, 0.815, 0.735, 0.395) infinite;
|
|
581
|
-
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
&:after {
|
|
585
|
-
content: '';
|
|
586
|
-
position: absolute;
|
|
587
|
-
background-color: inherit;
|
|
588
|
-
top: 0;
|
|
589
|
-
left: 0;
|
|
590
|
-
bottom: 0;
|
|
591
|
-
will-change: left, right;
|
|
592
|
-
// Custom bezier
|
|
593
|
-
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.840, 0.440, 1.000) infinite;
|
|
594
|
-
animation-delay: 1.15s;
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
@keyframes indeterminate {
|
|
600
|
-
0% {
|
|
601
|
-
left: -35%;
|
|
602
|
-
right: 100%;
|
|
603
|
-
}
|
|
604
|
-
60% {
|
|
605
|
-
left: 100%;
|
|
606
|
-
right: -90%;
|
|
607
|
-
}
|
|
608
|
-
100% {
|
|
609
|
-
left: 100%;
|
|
610
|
-
right: -90%;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
@keyframes indeterminate-short {
|
|
615
|
-
0% {
|
|
616
|
-
left: -200%;
|
|
617
|
-
right: 100%;
|
|
618
|
-
}
|
|
619
|
-
60% {
|
|
620
|
-
left: 107%;
|
|
621
|
-
right: -8%;
|
|
622
|
-
}
|
|
623
|
-
100% {
|
|
624
|
-
left: 107%;
|
|
625
|
-
right: -8%;
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
|
|
630
539
|
/*******************
|
|
631
540
|
Utility Classes
|
|
632
541
|
*******************/
|
|
@@ -644,12 +553,15 @@ td, th {
|
|
|
644
553
|
.center, .center-align {
|
|
645
554
|
text-align: center;
|
|
646
555
|
}
|
|
556
|
+
|
|
557
|
+
// TODO: Remove this
|
|
647
558
|
.left {
|
|
648
559
|
float: left !important;
|
|
649
560
|
}
|
|
650
561
|
.right {
|
|
651
562
|
float: right !important;
|
|
652
563
|
}
|
|
564
|
+
|
|
653
565
|
// No Text Select
|
|
654
566
|
.no-select {
|
|
655
567
|
user-select: none;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
right: 0;
|
|
23
23
|
bottom: 0;
|
|
24
24
|
left: 0;
|
|
25
|
-
background-color:
|
|
25
|
+
background-color: var(--md-sys-color-background);
|
|
26
26
|
z-index: 1000;
|
|
27
27
|
will-change: opacity;
|
|
28
28
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
.materialbox-caption {
|
|
31
31
|
position: fixed;
|
|
32
32
|
display: none;
|
|
33
|
-
color:
|
|
33
|
+
color: var(--font-color-main);
|
|
34
34
|
line-height: 50px;
|
|
35
35
|
bottom: 0;
|
|
36
36
|
left: 0;
|