@materializecss/materialize 2.2.2 → 2.3.1
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/LICENSE +21 -21
- package/README.md +94 -91
- package/dist/css/materialize.colors.min.css +6 -0
- package/dist/css/materialize.css +7988 -9470
- package/dist/css/materialize.min.css +6 -6
- package/dist/css/materialize.min.css.map +1 -1
- package/dist/js/materialize.cjs.js +8370 -8239
- package/dist/js/materialize.d.ts +2552 -2593
- package/dist/js/materialize.js +8375 -8244
- package/dist/js/materialize.min.js +6 -6
- package/dist/js/materialize.mjs +8342 -8211
- package/package.json +95 -81
- package/sass/{components/_color-variables.scss → _colors.scss} +403 -402
- package/sass/{components/_global.scss → _global.scss} +490 -469
- package/sass/{components/_grid.scss → _grid.scss} +172 -172
- package/sass/{components/_table_of_contents.scss → _table_of_contents.scss} +28 -32
- package/sass/{components/_tapTarget.scss → _tapTarget.scss} +102 -102
- package/sass/{components/_typography.scss → _typography.scss} +58 -62
- package/sass/{components/_variables.scss → _variables.scss} +56 -57
- package/sass/components/forms/_forms.scss +19 -18
- package/sass/materialize.scss +48 -43
- package/sass/{components/mixins.module.scss → mixins.module.scss} +168 -159
- package/sass/components/_badges.scss +0 -75
- package/sass/components/_breadcrumb.scss +0 -27
- package/sass/components/_buttons.scss +0 -348
- package/sass/components/_cards.scss +0 -229
- package/sass/components/_carousel.scss +0 -93
- package/sass/components/_chips.scss +0 -140
- package/sass/components/_collapsible.scss +0 -83
- package/sass/components/_collection.scss +0 -114
- package/sass/components/_datepicker.scss +0 -263
- package/sass/components/_dropdown.scss +0 -82
- package/sass/components/_icons-material-design.scss +0 -6
- package/sass/components/_materialbox.scss +0 -42
- package/sass/components/_modal.scss +0 -75
- package/sass/components/_navbar.scss +0 -232
- package/sass/components/_normalize.scss +0 -349
- package/sass/components/_pagination.scss +0 -47
- package/sass/components/_preloader.scss +0 -420
- package/sass/components/_pulse.scss +0 -35
- package/sass/components/_sidenav.scss +0 -247
- package/sass/components/_slider.scss +0 -119
- package/sass/components/_tabs.scss +0 -167
- package/sass/components/_timepicker.scss +0 -294
- package/sass/components/_toast.scss +0 -68
- package/sass/components/_tooltip.scss +0 -40
- package/sass/components/_transitions.scss +0 -12
- package/sass/components/colors.module.scss +0 -74
- package/sass/components/forms/_checkboxes.scss +0 -199
- package/sass/components/forms/_file-input.scss +0 -41
- package/sass/components/forms/_input-fields.scss +0 -356
- package/sass/components/forms/_radio-buttons.scss +0 -112
- package/sass/components/forms/_range.scss +0 -158
- package/sass/components/forms/_select.scss +0 -103
- package/sass/components/forms/_switches.scss +0 -124
- package/sass/components/theme.module.scss +0 -140
- package/sass/components/tokens.module.scss +0 -272
- package/sass/components/typography.module.scss +0 -150
|
@@ -1,348 +0,0 @@
|
|
|
1
|
-
@use './mixins.module.scss' as *;
|
|
2
|
-
@use './variables' as *;
|
|
3
|
-
|
|
4
|
-
:root {
|
|
5
|
-
--btn-height: 40px;
|
|
6
|
-
--btn-font-size-icon: 16px;
|
|
7
|
-
--btn-padding: 24px;
|
|
8
|
-
--btn-padding-icon: 16px;
|
|
9
|
-
--btn-gap-icon: 8px;
|
|
10
|
-
--btn-border-radius: 4px;
|
|
11
|
-
--btn-font-size: 14px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.btn, .btn-floating, .btn-large, .btn-small, .btn-flat {
|
|
15
|
-
@include btn(
|
|
16
|
-
var(--btn-height),
|
|
17
|
-
var(--btn-border-radius),
|
|
18
|
-
var(--btn-padding),
|
|
19
|
-
var(--btn-padding),
|
|
20
|
-
var(--btn-font-size)
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Icon
|
|
25
|
-
.btn.icon-left, .btn.icon-right {
|
|
26
|
-
position: relative;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.btn.icon-left {
|
|
30
|
-
padding-left: calc(var(--btn-padding-icon) + var(--btn-font-size-icon) + var(--btn-gap-icon));
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.btn.icon-right {
|
|
34
|
-
padding-right: calc(var(--btn-padding-icon) + var(--btn-font-size-icon) + var(--btn-gap-icon));
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.btn.icon-left i, .btn.icon-right i {
|
|
38
|
-
position: absolute;
|
|
39
|
-
font-size: var(--btn-font-size-icon);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.btn.icon-left i {
|
|
43
|
-
left: var(--btn-padding-icon);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.btn.icon-right i {
|
|
47
|
-
right: var(--btn-padding-icon);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
//------------------ Enabled
|
|
51
|
-
|
|
52
|
-
.btn.filled {
|
|
53
|
-
@include btn-filled;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.btn.tonal {
|
|
57
|
-
@include btn-tonal;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.btn.elevated {
|
|
61
|
-
@include btn-elevated;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.btn.outlined {
|
|
65
|
-
@include btn-outlined;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.btn.text, .btn-flat {
|
|
69
|
-
@include btn-flat;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
//------------------ Disabled
|
|
73
|
-
|
|
74
|
-
.btn.disabled, .btn-floating.disabled, .btn-large.disabled, .btn-small.disabled, .btn-flat.disabled,
|
|
75
|
-
.btn:disabled, .btn-floating:disabled, .btn-large:disabled, .btn-small:disabled, .btn-flat:disabled,
|
|
76
|
-
.btn[disabled], .btn-floating[disabled], .btn-large[disabled], .btn-small[disabled], .btn-flat[disabled] {
|
|
77
|
-
@include btn-disabled();
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
//------------------ Hover
|
|
81
|
-
|
|
82
|
-
//------------------ Focus
|
|
83
|
-
|
|
84
|
-
// Floating button
|
|
85
|
-
.btn-floating {
|
|
86
|
-
// FIXES
|
|
87
|
-
// width: unset;
|
|
88
|
-
// padding: 16px !important;
|
|
89
|
-
// padding-right: 24px !important; /* only with icon */
|
|
90
|
-
// gap: 8px;
|
|
91
|
-
width: $button-floating-size;
|
|
92
|
-
height: $button-floating-size;
|
|
93
|
-
color: var(--md-sys-color-on-primary-container);
|
|
94
|
-
background-color: var(--md-sys-color-primary-container);
|
|
95
|
-
border-radius: $button-floating-radius;
|
|
96
|
-
padding: 0;
|
|
97
|
-
display: grid;
|
|
98
|
-
grid-auto-flow: column;
|
|
99
|
-
align-items: center;
|
|
100
|
-
position: relative;
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
z-index: 1;
|
|
103
|
-
@extend .z-depth-1;
|
|
104
|
-
transition: background-color .3s;
|
|
105
|
-
cursor: pointer;
|
|
106
|
-
vertical-align: middle;
|
|
107
|
-
|
|
108
|
-
&:hover {
|
|
109
|
-
@extend .z-depth-1-half;
|
|
110
|
-
background-color: color-mix(in srgb, var(--md-sys-color-primary-container), var(--md-sys-color-on-primary-container) 16%);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&:focus {
|
|
114
|
-
background-color: $button-floating-background-focus;
|
|
115
|
-
@extend .z-depth-1-half;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&:before {
|
|
119
|
-
border-radius: 0;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&.btn-large {
|
|
123
|
-
width: 56px;
|
|
124
|
-
height: 56px;
|
|
125
|
-
padding: 0;
|
|
126
|
-
&.halfway-fab {
|
|
127
|
-
bottom: -56px * 0.5;
|
|
128
|
-
}
|
|
129
|
-
// font-size:
|
|
130
|
-
// i {
|
|
131
|
-
// // line-height: 56px;
|
|
132
|
-
// }
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&.btn-small {
|
|
136
|
-
--btn-small-height: calc(0.75 * var(--btn-height));
|
|
137
|
-
width: var(--btn-small-height);
|
|
138
|
-
height: var(--btn-small-height);
|
|
139
|
-
|
|
140
|
-
&.halfway-fab {
|
|
141
|
-
bottom: calc(var(--btn-small-height) * -0.5);
|
|
142
|
-
}
|
|
143
|
-
// i {
|
|
144
|
-
// line-height: $button-floating-small-size;
|
|
145
|
-
// }
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
&.halfway-fab {
|
|
149
|
-
position: absolute;
|
|
150
|
-
right: 24px;
|
|
151
|
-
bottom: -$button-floating-size * 0.5;
|
|
152
|
-
|
|
153
|
-
&.left {
|
|
154
|
-
right: auto;
|
|
155
|
-
left: 24px;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
i {
|
|
160
|
-
color: $button-floating-color;
|
|
161
|
-
font-size: 1.6rem;
|
|
162
|
-
width: inherit;
|
|
163
|
-
display: inline-block;
|
|
164
|
-
text-align: center;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
// button fix
|
|
169
|
-
button.btn-floating {
|
|
170
|
-
border: none;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
// Fixed Action Button
|
|
174
|
-
.fixed-action-btn {
|
|
175
|
-
position: fixed;
|
|
176
|
-
right: 23px;
|
|
177
|
-
bottom: 23px;
|
|
178
|
-
padding-top: 15px;
|
|
179
|
-
margin-bottom: 0;
|
|
180
|
-
z-index: 997;
|
|
181
|
-
|
|
182
|
-
&.active {
|
|
183
|
-
ul {
|
|
184
|
-
visibility: visible;
|
|
185
|
-
padding-left: 0;
|
|
186
|
-
list-style-type: none;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
// Directions
|
|
191
|
-
&.direction-left,
|
|
192
|
-
&.direction-right {
|
|
193
|
-
padding: 0 0 0 15px;
|
|
194
|
-
|
|
195
|
-
ul {
|
|
196
|
-
text-align: right;
|
|
197
|
-
right: 64px;
|
|
198
|
-
top: 50%;
|
|
199
|
-
transform: translateY(-50%);
|
|
200
|
-
height: 100%;
|
|
201
|
-
left: auto;
|
|
202
|
-
/*width 100% only goes to width of button container */
|
|
203
|
-
width: 500px;
|
|
204
|
-
|
|
205
|
-
li {
|
|
206
|
-
display: inline-block;
|
|
207
|
-
margin: 7.5px 15px 0 0;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
&.direction-right {
|
|
213
|
-
padding: 0 15px 0 0;
|
|
214
|
-
|
|
215
|
-
ul {
|
|
216
|
-
text-align: left;
|
|
217
|
-
direction: rtl;
|
|
218
|
-
left: 64px;
|
|
219
|
-
right: auto;
|
|
220
|
-
|
|
221
|
-
li {
|
|
222
|
-
margin: 7.5px 0 0 15px;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
&.direction-bottom {
|
|
228
|
-
padding: 0 0 15px 0;
|
|
229
|
-
|
|
230
|
-
ul {
|
|
231
|
-
top: 64px;
|
|
232
|
-
bottom: auto;
|
|
233
|
-
display: flex;
|
|
234
|
-
flex-direction: column-reverse;
|
|
235
|
-
|
|
236
|
-
li {
|
|
237
|
-
margin: 15px 0 0 0;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
&.toolbar {
|
|
243
|
-
padding: 0;
|
|
244
|
-
height: 56px;
|
|
245
|
-
|
|
246
|
-
&.active {
|
|
247
|
-
& > a i {
|
|
248
|
-
opacity: 0;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
ul {
|
|
253
|
-
display: flex;
|
|
254
|
-
top: 0;
|
|
255
|
-
bottom: 0;
|
|
256
|
-
z-index: 1;
|
|
257
|
-
|
|
258
|
-
li {
|
|
259
|
-
flex: 1;
|
|
260
|
-
display: inline-block;
|
|
261
|
-
margin: 0;
|
|
262
|
-
height: 100%;
|
|
263
|
-
transition: none;
|
|
264
|
-
|
|
265
|
-
a {
|
|
266
|
-
display: block;
|
|
267
|
-
overflow: hidden;
|
|
268
|
-
position: relative;
|
|
269
|
-
width: 100%;
|
|
270
|
-
height: 100%;
|
|
271
|
-
background-color: transparent;
|
|
272
|
-
box-shadow: none;
|
|
273
|
-
color: $button-floating-color;
|
|
274
|
-
line-height: 56px;
|
|
275
|
-
z-index: 1;
|
|
276
|
-
|
|
277
|
-
i {
|
|
278
|
-
line-height: inherit;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
ul {
|
|
286
|
-
left: 0;
|
|
287
|
-
right: 0;
|
|
288
|
-
text-align: center;
|
|
289
|
-
position: absolute;
|
|
290
|
-
bottom: 64px;
|
|
291
|
-
margin: 0;
|
|
292
|
-
visibility: hidden;
|
|
293
|
-
|
|
294
|
-
li {
|
|
295
|
-
margin-bottom: 15px;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
a.btn-floating {
|
|
299
|
-
opacity: 0;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.fab-backdrop {
|
|
304
|
-
position: absolute;
|
|
305
|
-
top: 0;
|
|
306
|
-
left: 0;
|
|
307
|
-
z-index: -1;
|
|
308
|
-
width: $button-floating-size;
|
|
309
|
-
height: $button-floating-size;
|
|
310
|
-
background-color: $button-floating-background;
|
|
311
|
-
border-radius: $button-floating-radius;
|
|
312
|
-
transform: scale(0);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
//--- Helper classes (for all)
|
|
317
|
-
|
|
318
|
-
// Large button
|
|
319
|
-
.btn-large {
|
|
320
|
-
@extend .btn;
|
|
321
|
-
height: calc(1.5 * var(--btn-height));
|
|
322
|
-
font-size: 18px;
|
|
323
|
-
padding: 0 28px;
|
|
324
|
-
|
|
325
|
-
i {
|
|
326
|
-
font-size: 1.6rem;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
// Small button
|
|
331
|
-
.btn-small {
|
|
332
|
-
@extend .btn;
|
|
333
|
-
height: calc(0.75 * var(--btn-height));
|
|
334
|
-
font-size: 13px;
|
|
335
|
-
|
|
336
|
-
i {
|
|
337
|
-
font-size: 1.2rem;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
// Block button
|
|
342
|
-
.btn-block {
|
|
343
|
-
display: block;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.btn.rounded {
|
|
347
|
-
border-radius: 99999px;
|
|
348
|
-
}
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
@use './variables' as *;
|
|
2
|
-
@use './mixins.module.scss' as *;
|
|
3
|
-
|
|
4
|
-
.card-panel {
|
|
5
|
-
transition: box-shadow .25s;
|
|
6
|
-
padding: 24px;
|
|
7
|
-
margin: $element-top-margin 0 $element-bottom-margin 0;
|
|
8
|
-
border-radius: 12px;
|
|
9
|
-
@extend .z-depth-1;
|
|
10
|
-
background-color: var(--md-sys-color-surface);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.card {
|
|
14
|
-
--background-color: color-mix(in srgb, var(--md-sys-color-surface), var(--md-sys-color-surface-tint) 17%);
|
|
15
|
-
|
|
16
|
-
position: relative;
|
|
17
|
-
//margin: $element-top-margin 0 $element-bottom-margin 0;
|
|
18
|
-
background-color: var(--background-color);
|
|
19
|
-
transition: box-shadow .25s;
|
|
20
|
-
border-radius: 12px;
|
|
21
|
-
@extend .z-depth-1;
|
|
22
|
-
|
|
23
|
-
.card-title {
|
|
24
|
-
font-size: 24px;
|
|
25
|
-
font-weight: 300;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// Card Sizes
|
|
29
|
-
&.small, &.medium, &.large {
|
|
30
|
-
position: relative;
|
|
31
|
-
|
|
32
|
-
.card-image {
|
|
33
|
-
max-height: 60%;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.card-image + .card-content {
|
|
38
|
-
max-height: 40%;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.card-content {
|
|
42
|
-
max-height: 100%;
|
|
43
|
-
overflow: hidden;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.card-action {
|
|
47
|
-
position: absolute;
|
|
48
|
-
bottom: 0;
|
|
49
|
-
left: 0;
|
|
50
|
-
right: 0;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&.small {
|
|
55
|
-
height: 300px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.medium {
|
|
59
|
-
height: 400px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.large {
|
|
63
|
-
height: 500px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// Horizontal Cards
|
|
67
|
-
&.horizontal {
|
|
68
|
-
display: flex;
|
|
69
|
-
|
|
70
|
-
&.small, &.medium, &.large {
|
|
71
|
-
.card-image {
|
|
72
|
-
height: 100%;
|
|
73
|
-
max-height: none;
|
|
74
|
-
overflow: visible;
|
|
75
|
-
|
|
76
|
-
img {
|
|
77
|
-
height: 100%;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.card-image {
|
|
83
|
-
max-width: 50%;
|
|
84
|
-
|
|
85
|
-
img {
|
|
86
|
-
border-radius: 2px 0 0 2px;
|
|
87
|
-
max-width: 100%;
|
|
88
|
-
width: auto;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.card-stacked {
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
flex: 1;
|
|
96
|
-
position: relative;
|
|
97
|
-
|
|
98
|
-
.card-content {
|
|
99
|
-
flex-grow: 1;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Sticky Action Section
|
|
105
|
-
&.sticky-action {
|
|
106
|
-
.card-action {
|
|
107
|
-
z-index: 2;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.card-reveal {
|
|
111
|
-
z-index: 1;
|
|
112
|
-
padding-bottom: 64px;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.card-image {
|
|
117
|
-
position: relative;
|
|
118
|
-
|
|
119
|
-
// Image background for content
|
|
120
|
-
img {
|
|
121
|
-
display: block;
|
|
122
|
-
border-radius: 2px 2px 0 0;
|
|
123
|
-
position: relative;
|
|
124
|
-
left: 0;
|
|
125
|
-
right: 0;
|
|
126
|
-
top: 0;
|
|
127
|
-
bottom: 0;
|
|
128
|
-
width: 100%;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.card-title {
|
|
132
|
-
color: var(--md-sys-color-surface);
|
|
133
|
-
position: absolute;
|
|
134
|
-
bottom: 0;
|
|
135
|
-
left: 0;
|
|
136
|
-
max-width: 100%;
|
|
137
|
-
padding: 24px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.activator {
|
|
141
|
-
position: absolute;
|
|
142
|
-
left: 0;
|
|
143
|
-
right: 0;
|
|
144
|
-
top:0;
|
|
145
|
-
bottom: 0;
|
|
146
|
-
cursor: pointer;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
img.activator {
|
|
150
|
-
position: relative;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.card-content {
|
|
155
|
-
padding: 24px;
|
|
156
|
-
border-radius: 0 0 2px 2px;
|
|
157
|
-
|
|
158
|
-
p {
|
|
159
|
-
margin: 0;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.card-title {
|
|
163
|
-
display: block;
|
|
164
|
-
line-height: 32px;
|
|
165
|
-
margin-bottom: 8px;
|
|
166
|
-
|
|
167
|
-
i {
|
|
168
|
-
line-height: 32px;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
&.activator {
|
|
172
|
-
cursor: pointer;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.card-action {
|
|
178
|
-
padding: 0 1.6rem;
|
|
179
|
-
|
|
180
|
-
&:last-child {
|
|
181
|
-
border-radius: 0 0 2px 2px;
|
|
182
|
-
}
|
|
183
|
-
// Replaced card links with buttons (Accessibility, @see https://github.com/materializecss/materialize/issues/565)
|
|
184
|
-
a {
|
|
185
|
-
@include btn(
|
|
186
|
-
var(--btn-height),
|
|
187
|
-
var(--btn-border-radius),
|
|
188
|
-
var(--btn-padding),
|
|
189
|
-
var(--btn-padding),
|
|
190
|
-
var(--btn-font-size)
|
|
191
|
-
);
|
|
192
|
-
|
|
193
|
-
&:first-child {
|
|
194
|
-
margin-left: -1.6rem;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&:last-child {
|
|
198
|
-
margin-right: -1.6rem;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.btn {
|
|
203
|
-
&.filled,
|
|
204
|
-
&.tonal,
|
|
205
|
-
&.elevated,
|
|
206
|
-
&.outlined {
|
|
207
|
-
margin: 0 .26rem 1.6rem 0;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.card-reveal {
|
|
213
|
-
padding: 24px;
|
|
214
|
-
position: absolute;
|
|
215
|
-
background-color: var(--md-sys-color-surface);
|
|
216
|
-
width: 100%;
|
|
217
|
-
overflow-y: auto;
|
|
218
|
-
left: 0;
|
|
219
|
-
top: 100%;
|
|
220
|
-
height: 100%;
|
|
221
|
-
z-index: 3;
|
|
222
|
-
display: none;
|
|
223
|
-
|
|
224
|
-
.card-title {
|
|
225
|
-
cursor: pointer;
|
|
226
|
-
display: block;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
.carousel {
|
|
2
|
-
--carousel-height: 400px;
|
|
3
|
-
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
position: relative;
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: var(--carousel-height);
|
|
8
|
-
perspective: 500px;
|
|
9
|
-
transform-style: preserve-3d;
|
|
10
|
-
transform-origin: 0% 50%;
|
|
11
|
-
|
|
12
|
-
&.carousel-slider {
|
|
13
|
-
top: 0;
|
|
14
|
-
left: 0;
|
|
15
|
-
|
|
16
|
-
.carousel-fixed-item {
|
|
17
|
-
position: absolute;
|
|
18
|
-
left: 0;
|
|
19
|
-
right: 0;
|
|
20
|
-
bottom: 20px;
|
|
21
|
-
z-index: 1;
|
|
22
|
-
|
|
23
|
-
&.with-indicators {
|
|
24
|
-
bottom: 68px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.carousel-item {
|
|
29
|
-
width: 100%;
|
|
30
|
-
height: 100%;
|
|
31
|
-
min-height: var(--carousel-height);
|
|
32
|
-
position: absolute;
|
|
33
|
-
top: 0;
|
|
34
|
-
left: 0;
|
|
35
|
-
|
|
36
|
-
h2 {
|
|
37
|
-
font-size: 24px;
|
|
38
|
-
font-weight: 500;
|
|
39
|
-
line-height: 32px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
p {
|
|
43
|
-
font-size: 15px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.carousel-item {
|
|
49
|
-
visibility: hidden;
|
|
50
|
-
width: calc(var(--carousel-height) * 0.5);
|
|
51
|
-
height: calc(var(--carousel-height) * 0.5);
|
|
52
|
-
position: absolute;
|
|
53
|
-
top: 0;
|
|
54
|
-
left: 0;
|
|
55
|
-
|
|
56
|
-
& > img {
|
|
57
|
-
width: 100%;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.indicators {
|
|
62
|
-
padding-left: 0;
|
|
63
|
-
list-style-type: none;
|
|
64
|
-
position: absolute;
|
|
65
|
-
text-align: center;
|
|
66
|
-
left: 0;
|
|
67
|
-
right: 0;
|
|
68
|
-
bottom: 0;
|
|
69
|
-
margin: 0;
|
|
70
|
-
|
|
71
|
-
.indicator-item {
|
|
72
|
-
display: inline-block;
|
|
73
|
-
position: relative;
|
|
74
|
-
cursor: pointer;
|
|
75
|
-
height: 8px;
|
|
76
|
-
width: 8px;
|
|
77
|
-
margin: 24px 4px;
|
|
78
|
-
background-color: rgba(255, 255, 255, 0.45);
|
|
79
|
-
transition: background-color .3s;
|
|
80
|
-
border-radius: 50%;
|
|
81
|
-
|
|
82
|
-
&.active {
|
|
83
|
-
background-color: var(--md-ref-palette-primary100);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// Materialbox compatibility
|
|
89
|
-
&.scrolling .carousel-item .materialboxed,
|
|
90
|
-
.carousel-item:not(.active) .materialboxed {
|
|
91
|
-
pointer-events: none;
|
|
92
|
-
}
|
|
93
|
-
}
|