mithril-materialized 1.4.2 → 2.0.0-beta.10
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 +286 -306
- package/dist/advanced.css +1888 -0
- package/dist/autocomplete.d.ts +12 -4
- package/dist/breadcrumb.d.ts +53 -0
- package/dist/button.d.ts +10 -10
- package/dist/carousel.d.ts +26 -7
- package/dist/chip.d.ts +2 -2
- package/dist/code-block.d.ts +2 -3
- package/dist/collapsible.d.ts +12 -7
- package/dist/collection.d.ts +8 -8
- package/dist/components.css +2310 -0
- package/dist/core.css +3402 -0
- package/dist/datepicker.d.ts +66 -0
- package/dist/dropdown.d.ts +5 -5
- package/dist/file-upload.d.ts +34 -0
- package/dist/floating-action-button.d.ts +9 -5
- package/dist/forms.css +2284 -0
- package/dist/icon.d.ts +2 -2
- package/dist/index.css +9284 -2
- package/dist/index.d.ts +13 -3
- package/dist/index.esm.js +6188 -2
- package/dist/index.js +6263 -2
- package/dist/index.min.css +8 -0
- package/dist/index.umd.js +6267 -2
- package/dist/input-options.d.ts +3 -1
- package/dist/input.d.ts +17 -12
- package/dist/label.d.ts +6 -5
- package/dist/material-box.d.ts +22 -4
- package/dist/material-icon.d.ts +14 -0
- package/dist/modal.d.ts +23 -7
- package/dist/option.d.ts +12 -11
- package/dist/pagination.d.ts +5 -9
- package/dist/parallax.d.ts +8 -6
- package/dist/pickers.css +487 -0
- package/dist/pushpin.d.ts +32 -0
- package/dist/radio.d.ts +10 -6
- package/dist/select.d.ts +5 -5
- package/dist/sidenav.d.ts +76 -0
- package/dist/switch.d.ts +4 -5
- package/dist/tabs.d.ts +18 -7
- package/dist/theme-switcher.d.ts +49 -0
- package/dist/timepicker.d.ts +42 -0
- package/dist/toast.d.ts +45 -0
- package/dist/tooltip.d.ts +59 -0
- package/dist/utilities.css +3197 -0
- package/dist/utils.d.ts +17 -0
- package/dist/wizard.d.ts +58 -0
- package/package.json +47 -14
- package/sass/components/_badges.scss +59 -0
- package/sass/components/_breadcrumb.scss +248 -0
- package/sass/components/_buttons.scss +327 -0
- package/sass/components/_cards.scss +197 -0
- package/sass/components/_carousel.scss +92 -0
- package/sass/components/_chips.scss +92 -0
- package/sass/components/_collapsible.scss +94 -0
- package/sass/components/_color-classes.scss +34 -0
- package/sass/components/_color-variables.scss +371 -0
- package/sass/components/_datepicker.scss +282 -0
- package/sass/components/_dropdown.scss +90 -0
- package/sass/components/_file-upload.scss +228 -0
- package/sass/components/_global.scss +777 -0
- package/sass/components/_grid.scss +160 -0
- package/sass/components/_icons-material-design.scss +5 -0
- package/sass/components/_materialbox.scss +43 -0
- package/sass/components/_modal.scss +100 -0
- package/sass/components/_navbar.scss +219 -0
- package/sass/components/_normalize.scss +447 -0
- package/sass/components/_preloader.scss +336 -0
- package/sass/components/_pulse.scss +34 -0
- package/sass/components/_sidenav.scss +370 -0
- package/sass/components/_slider.scss +94 -0
- package/sass/components/_table_of_contents.scss +36 -0
- package/sass/components/_tabs.scss +103 -0
- package/sass/components/_tapTarget.scss +105 -0
- package/sass/components/_theme-switcher.scss +120 -0
- package/sass/components/_theme-variables.scss +205 -0
- package/sass/components/_timepicker.scss +262 -0
- package/sass/components/_toast.scss +61 -0
- package/sass/components/_tooltip.scss +32 -0
- package/sass/components/_transitions.scss +13 -0
- package/sass/components/_typography.scss +61 -0
- package/sass/components/_variables.scss +352 -0
- package/sass/components/_waves.scss +114 -0
- package/sass/components/_wizard.scss +416 -0
- package/sass/components/forms/_checkboxes.scss +203 -0
- package/sass/components/forms/_file-input.scss +50 -0
- package/sass/components/forms/_form-groups.scss +28 -0
- package/sass/components/forms/_forms.scss +24 -0
- package/sass/components/forms/_input-fields.scss +383 -0
- package/sass/components/forms/_radio-buttons.scss +118 -0
- package/sass/components/forms/_range.scss +164 -0
- package/sass/components/forms/_select.scss +193 -0
- package/sass/components/forms/_switches.scss +92 -0
- package/sass/materialize.scss +48 -0
- package/dist/index.css.map +0 -1
- package/dist/index.esm.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js +0 -2
- package/dist/index.modern.js.map +0 -1
- package/dist/index.umd.js.map +0 -1
- package/dist/map-editor.d.ts +0 -63
- package/dist/pickers.d.ts +0 -6
- package/dist/timeline.d.ts +0 -24
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use 'sass:math';
|
|
3
|
+
@use "variables";
|
|
4
|
+
@use "global";
|
|
5
|
+
|
|
6
|
+
// shared styles
|
|
7
|
+
.btn,
|
|
8
|
+
.btn-flat {
|
|
9
|
+
border: variables.$button-border;
|
|
10
|
+
border-radius: variables.$button-radius;
|
|
11
|
+
display: inline-block;
|
|
12
|
+
height: variables.$button-height;
|
|
13
|
+
line-height: variables.$button-height;
|
|
14
|
+
padding: variables.$button-padding;
|
|
15
|
+
text-transform: uppercase;
|
|
16
|
+
vertical-align: middle;
|
|
17
|
+
-webkit-tap-highlight-color: transparent; // Gets rid of tap active state
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Disabled shared style
|
|
21
|
+
.btn.disabled,
|
|
22
|
+
.btn-floating.disabled,
|
|
23
|
+
.btn-large.disabled,
|
|
24
|
+
.btn-small.disabled,
|
|
25
|
+
.btn-flat.disabled,
|
|
26
|
+
.btn:disabled,
|
|
27
|
+
.btn-floating:disabled,
|
|
28
|
+
.btn-large:disabled,
|
|
29
|
+
.btn-small:disabled,
|
|
30
|
+
.btn-flat:disabled,
|
|
31
|
+
.btn[disabled],
|
|
32
|
+
.btn-floating[disabled],
|
|
33
|
+
.btn-large[disabled],
|
|
34
|
+
.btn-small[disabled],
|
|
35
|
+
.btn-flat[disabled] {
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
background-color: variables.$button-disabled-background !important;
|
|
38
|
+
box-shadow: none;
|
|
39
|
+
color: variables.$button-disabled-color !important;
|
|
40
|
+
cursor: default;
|
|
41
|
+
&:hover {
|
|
42
|
+
background-color: variables.$button-disabled-background !important;
|
|
43
|
+
color: variables.$button-disabled-color !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Shared icon styles
|
|
48
|
+
.btn,
|
|
49
|
+
.btn-floating,
|
|
50
|
+
.btn-large,
|
|
51
|
+
.btn-small,
|
|
52
|
+
.btn-flat {
|
|
53
|
+
font-size: variables.$button-font-size;
|
|
54
|
+
outline: 0;
|
|
55
|
+
i {
|
|
56
|
+
font-size: variables.$button-icon-font-size;
|
|
57
|
+
line-height: inherit;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Shared focus button style
|
|
62
|
+
.btn,
|
|
63
|
+
.btn-floating {
|
|
64
|
+
&:focus {
|
|
65
|
+
background-color: color.adjust(variables.$button-raised-background, $lightness: -10%);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Raised Button
|
|
70
|
+
.btn {
|
|
71
|
+
text-decoration: none;
|
|
72
|
+
color: variables.$button-raised-color;
|
|
73
|
+
background-color: variables.$button-raised-background;
|
|
74
|
+
text-align: center;
|
|
75
|
+
letter-spacing: .5px;
|
|
76
|
+
@extend .z-depth-1 !optional;
|
|
77
|
+
transition: background-color .2s ease-out;
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
&:hover {
|
|
80
|
+
background-color: variables.$button-raised-background-hover;
|
|
81
|
+
@extend .z-depth-1-half !optional;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Floating button
|
|
86
|
+
.btn-floating {
|
|
87
|
+
&:hover {
|
|
88
|
+
background-color: variables.$button-floating-background-hover;
|
|
89
|
+
@extend .z-depth-1-half !optional;
|
|
90
|
+
}
|
|
91
|
+
&:before {
|
|
92
|
+
border-radius: 0;
|
|
93
|
+
}
|
|
94
|
+
&.btn-large {
|
|
95
|
+
&.halfway-fab {
|
|
96
|
+
bottom: math.div(-(variables.$button-floating-large-size), 2);
|
|
97
|
+
}
|
|
98
|
+
width: variables.$button-floating-large-size;
|
|
99
|
+
height: variables.$button-floating-large-size;
|
|
100
|
+
padding: 0;
|
|
101
|
+
i {
|
|
102
|
+
line-height: variables.$button-floating-large-size;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.btn-small {
|
|
107
|
+
&.halfway-fab {
|
|
108
|
+
bottom: math.div(-(variables.$button-floating-small-size), 2);
|
|
109
|
+
}
|
|
110
|
+
width: variables.$button-floating-small-size;
|
|
111
|
+
height: variables.$button-floating-small-size;
|
|
112
|
+
i {
|
|
113
|
+
line-height: variables.$button-floating-small-size;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.halfway-fab {
|
|
118
|
+
&.left {
|
|
119
|
+
right: auto;
|
|
120
|
+
left: 24px;
|
|
121
|
+
}
|
|
122
|
+
position: absolute;
|
|
123
|
+
right: 24px;
|
|
124
|
+
bottom: math.div(-(variables.$button-floating-size), 2);
|
|
125
|
+
}
|
|
126
|
+
display: inline-block;
|
|
127
|
+
color: variables.$button-floating-color;
|
|
128
|
+
position: relative;
|
|
129
|
+
overflow: hidden;
|
|
130
|
+
z-index: 1;
|
|
131
|
+
width: variables.$button-floating-size;
|
|
132
|
+
height: variables.$button-floating-size;
|
|
133
|
+
line-height: variables.$button-floating-size;
|
|
134
|
+
padding: 0;
|
|
135
|
+
background-color: variables.$button-floating-background;
|
|
136
|
+
border-radius: variables.$button-floating-radius;
|
|
137
|
+
@extend .z-depth-1 !optional;
|
|
138
|
+
transition: background-color .3s;
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
vertical-align: middle;
|
|
141
|
+
i {
|
|
142
|
+
width: inherit;
|
|
143
|
+
display: inline-block;
|
|
144
|
+
text-align: center;
|
|
145
|
+
color: variables.$button-floating-color;
|
|
146
|
+
font-size: variables.$button-large-icon-font-size;
|
|
147
|
+
line-height: variables.$button-floating-size;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// button fix
|
|
152
|
+
button.btn-floating {
|
|
153
|
+
border: variables.$button-border;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// Fixed Action Button
|
|
157
|
+
.fixed-action-btn {
|
|
158
|
+
&.active {
|
|
159
|
+
ul {
|
|
160
|
+
visibility: visible;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Directions
|
|
165
|
+
&.direction-left,
|
|
166
|
+
&.direction-right {
|
|
167
|
+
padding: 0 0 0 15px;
|
|
168
|
+
ul {
|
|
169
|
+
text-align: right;
|
|
170
|
+
right: 64px;
|
|
171
|
+
top: 50%;
|
|
172
|
+
transform: translateY(-50%);
|
|
173
|
+
height: 100%;
|
|
174
|
+
left: auto;
|
|
175
|
+
/*width 100% only goes to width of button container */
|
|
176
|
+
width: 500px;
|
|
177
|
+
li {
|
|
178
|
+
display: inline-block;
|
|
179
|
+
margin: 7.5px 15px 0 0;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
&.direction-right {
|
|
184
|
+
padding: 0 15px 0 0;
|
|
185
|
+
ul {
|
|
186
|
+
text-align: left;
|
|
187
|
+
direction: rtl;
|
|
188
|
+
left: 64px;
|
|
189
|
+
right: auto;
|
|
190
|
+
li {
|
|
191
|
+
margin: 7.5px 0 0 15px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
&.direction-bottom {
|
|
196
|
+
padding: 0 0 15px 0;
|
|
197
|
+
ul {
|
|
198
|
+
top: 64px;
|
|
199
|
+
bottom: auto;
|
|
200
|
+
display: flex;
|
|
201
|
+
flex-direction: column-reverse;
|
|
202
|
+
li {
|
|
203
|
+
margin: 15px 0 0 0;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
&.toolbar {
|
|
208
|
+
&.active {
|
|
209
|
+
&>a i {
|
|
210
|
+
opacity: 0;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
padding: 0;
|
|
214
|
+
height: variables.$button-floating-large-size;
|
|
215
|
+
ul {
|
|
216
|
+
display: flex;
|
|
217
|
+
top: 0;
|
|
218
|
+
bottom: 0;
|
|
219
|
+
z-index: 1;
|
|
220
|
+
li {
|
|
221
|
+
flex: 1;
|
|
222
|
+
display: inline-block;
|
|
223
|
+
margin: 0;
|
|
224
|
+
height: 100%;
|
|
225
|
+
transition: none;
|
|
226
|
+
a {
|
|
227
|
+
display: block;
|
|
228
|
+
overflow: hidden;
|
|
229
|
+
position: relative;
|
|
230
|
+
width: 100%;
|
|
231
|
+
height: 100%;
|
|
232
|
+
background-color: transparent;
|
|
233
|
+
box-shadow: none;
|
|
234
|
+
color: #fff;
|
|
235
|
+
line-height: variables.$button-floating-large-size;
|
|
236
|
+
z-index: 1;
|
|
237
|
+
i {
|
|
238
|
+
line-height: inherit;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
position: fixed;
|
|
245
|
+
right: 23px;
|
|
246
|
+
bottom: 23px;
|
|
247
|
+
padding-top: 15px;
|
|
248
|
+
margin-bottom: 0;
|
|
249
|
+
z-index: 997;
|
|
250
|
+
ul {
|
|
251
|
+
left: 0;
|
|
252
|
+
right: 0;
|
|
253
|
+
text-align: center;
|
|
254
|
+
position: absolute;
|
|
255
|
+
bottom: 64px;
|
|
256
|
+
margin: 0;
|
|
257
|
+
visibility: hidden;
|
|
258
|
+
li {
|
|
259
|
+
margin-bottom: 15px;
|
|
260
|
+
}
|
|
261
|
+
a.btn-floating {
|
|
262
|
+
opacity: 0;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
.fab-backdrop {
|
|
266
|
+
position: absolute;
|
|
267
|
+
top: 0;
|
|
268
|
+
left: 0;
|
|
269
|
+
z-index: -1;
|
|
270
|
+
width: variables.$button-floating-size;
|
|
271
|
+
height: variables.$button-floating-size;
|
|
272
|
+
background-color: variables.$button-floating-background;
|
|
273
|
+
border-radius: variables.$button-floating-radius;
|
|
274
|
+
transform: scale(0);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// Flat button
|
|
279
|
+
.btn-flat {
|
|
280
|
+
box-shadow: none;
|
|
281
|
+
background-color: transparent;
|
|
282
|
+
color: var(--mm-button-flat-text, variables.$button-flat-color);
|
|
283
|
+
cursor: pointer;
|
|
284
|
+
transition: background-color .2s;
|
|
285
|
+
&:focus,
|
|
286
|
+
&:hover {
|
|
287
|
+
box-shadow: none;
|
|
288
|
+
}
|
|
289
|
+
&:focus {
|
|
290
|
+
background-color: var(--mm-border-color, rgba(0, 0, 0, .1));
|
|
291
|
+
}
|
|
292
|
+
&.disabled,
|
|
293
|
+
&.btn-flat[disabled] {
|
|
294
|
+
background-color: transparent !important;
|
|
295
|
+
color: var(--mm-text-disabled, variables.$button-flat-disabled-color) !important;
|
|
296
|
+
cursor: default;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// Large button
|
|
301
|
+
.btn-large {
|
|
302
|
+
@extend .btn !optional;
|
|
303
|
+
height: variables.$button-large-height;
|
|
304
|
+
line-height: variables.$button-large-height;
|
|
305
|
+
font-size: variables.$button-large-font-size;
|
|
306
|
+
padding: 0 28px;
|
|
307
|
+
|
|
308
|
+
i {
|
|
309
|
+
font-size: variables.$button-large-icon-font-size;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// Small button
|
|
314
|
+
.btn-small {
|
|
315
|
+
@extend .btn !optional;
|
|
316
|
+
height: variables.$button-small-height;
|
|
317
|
+
line-height: variables.$button-small-height;
|
|
318
|
+
font-size: variables.$button-small-font-size;
|
|
319
|
+
i {
|
|
320
|
+
font-size: variables.$button-small-icon-font-size;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
// Block button
|
|
325
|
+
.btn-block {
|
|
326
|
+
display: block;
|
|
327
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
@use "variables";
|
|
2
|
+
@use "global";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
.card-panel {
|
|
6
|
+
transition: box-shadow .25s;
|
|
7
|
+
padding: variables.$card-padding;
|
|
8
|
+
margin: variables.$element-top-margin 0 variables.$element-bottom-margin 0;
|
|
9
|
+
border-radius: 2px;
|
|
10
|
+
@extend .z-depth-1 !optional;
|
|
11
|
+
background-color: variables.$card-bg-color;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.card {
|
|
15
|
+
position: relative;
|
|
16
|
+
margin: variables.$element-top-margin 0 variables.$element-bottom-margin 0;
|
|
17
|
+
background-color: variables.$card-bg-color;
|
|
18
|
+
transition: box-shadow .25s;
|
|
19
|
+
border-radius: 2px;
|
|
20
|
+
@extend .z-depth-1 !optional;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
.card-title {
|
|
24
|
+
font-size: 24px;
|
|
25
|
+
font-weight: 300;
|
|
26
|
+
&.activator {
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Card Sizes
|
|
32
|
+
&.small, &.medium, &.large {
|
|
33
|
+
position: relative;
|
|
34
|
+
|
|
35
|
+
.card-image {
|
|
36
|
+
max-height: 60%;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
}
|
|
39
|
+
.card-image + .card-content {
|
|
40
|
+
max-height: 40%;
|
|
41
|
+
}
|
|
42
|
+
.card-content {
|
|
43
|
+
max-height: 100%;
|
|
44
|
+
overflow: hidden;
|
|
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
|
+
&.small, &.medium, &.large {
|
|
69
|
+
.card-image {
|
|
70
|
+
height: 100%;
|
|
71
|
+
max-height: none;
|
|
72
|
+
overflow: visible;
|
|
73
|
+
|
|
74
|
+
img {
|
|
75
|
+
height: 100%;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
display: flex;
|
|
81
|
+
|
|
82
|
+
.card-image {
|
|
83
|
+
max-width: 50%;
|
|
84
|
+
img {
|
|
85
|
+
border-radius: 2px 0 0 2px;
|
|
86
|
+
max-width: 100%;
|
|
87
|
+
width: auto;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.card-stacked {
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
flex: 1;
|
|
95
|
+
position: relative;
|
|
96
|
+
|
|
97
|
+
.card-content {
|
|
98
|
+
flex-grow: 1;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Sticky Action Section
|
|
104
|
+
&.sticky-action {
|
|
105
|
+
.card-action {
|
|
106
|
+
z-index: 2;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.card-reveal {
|
|
110
|
+
z-index: 1;
|
|
111
|
+
padding-bottom: 64px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
.card-image {
|
|
119
|
+
position: relative;
|
|
120
|
+
|
|
121
|
+
// Image background for content
|
|
122
|
+
img {
|
|
123
|
+
display: block;
|
|
124
|
+
border-radius: 2px 2px 0 0;
|
|
125
|
+
position: relative;
|
|
126
|
+
left: 0;
|
|
127
|
+
right: 0;
|
|
128
|
+
top: 0;
|
|
129
|
+
bottom: 0;
|
|
130
|
+
width: 100%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.card-title {
|
|
134
|
+
color: variables.$card-bg-color;
|
|
135
|
+
position: absolute;
|
|
136
|
+
bottom: 0;
|
|
137
|
+
left: 0;
|
|
138
|
+
max-width: 100%;
|
|
139
|
+
padding: variables.$card-padding;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.card-content {
|
|
144
|
+
padding: variables.$card-padding;
|
|
145
|
+
border-radius: 0 0 2px 2px;
|
|
146
|
+
|
|
147
|
+
p {
|
|
148
|
+
margin: 0;
|
|
149
|
+
}
|
|
150
|
+
.card-title {
|
|
151
|
+
display: block;
|
|
152
|
+
line-height: 32px;
|
|
153
|
+
margin-bottom: 8px;
|
|
154
|
+
|
|
155
|
+
i {
|
|
156
|
+
line-height: 32px;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.card-action {
|
|
162
|
+
&:last-child {
|
|
163
|
+
border-radius: 0 0 2px 2px;
|
|
164
|
+
}
|
|
165
|
+
background-color: inherit; // Use inherit to inherit color classes
|
|
166
|
+
border-top: 1px solid rgba(160,160,160,.2);
|
|
167
|
+
position: relative;
|
|
168
|
+
padding: 16px variables.$card-padding;
|
|
169
|
+
|
|
170
|
+
a:not(.btn):not(.btn-large):not(.btn-floating) {
|
|
171
|
+
color: variables.$card-link-color;
|
|
172
|
+
margin-right: variables.$card-padding;
|
|
173
|
+
transition: color .3s ease;
|
|
174
|
+
text-transform: uppercase;
|
|
175
|
+
|
|
176
|
+
&:hover { color: variables.$card-link-color-light; }
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.card-reveal {
|
|
181
|
+
padding: variables.$card-padding;
|
|
182
|
+
position: absolute;
|
|
183
|
+
background-color: variables.$card-bg-color;
|
|
184
|
+
width: 100%;
|
|
185
|
+
overflow-y: auto;
|
|
186
|
+
left: 0;
|
|
187
|
+
top: 100%;
|
|
188
|
+
height: 100%;
|
|
189
|
+
z-index: 3;
|
|
190
|
+
display: none;
|
|
191
|
+
|
|
192
|
+
.card-title {
|
|
193
|
+
cursor: pointer;
|
|
194
|
+
display: block;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@use "variables";
|
|
2
|
+
|
|
3
|
+
.carousel {
|
|
4
|
+
&.carousel-slider {
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
|
|
8
|
+
.carousel-fixed-item {
|
|
9
|
+
&.with-indicators {
|
|
10
|
+
bottom: 68px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
position: absolute;
|
|
14
|
+
left: 0;
|
|
15
|
+
right: 0;
|
|
16
|
+
bottom: 20px;
|
|
17
|
+
z-index: 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.carousel-item {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
min-height: variables.$carousel-height;
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
|
|
28
|
+
h2 {
|
|
29
|
+
font-size: 24px;
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
line-height: 32px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
p {
|
|
35
|
+
font-size: 15px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
position: relative;
|
|
42
|
+
width: 100%;
|
|
43
|
+
height: variables.$carousel-height;
|
|
44
|
+
perspective: 500px;
|
|
45
|
+
transform-style: preserve-3d;
|
|
46
|
+
transform-origin: 0% 50%;
|
|
47
|
+
|
|
48
|
+
.carousel-item {
|
|
49
|
+
visibility: hidden;
|
|
50
|
+
width: variables.$carousel-item-width;
|
|
51
|
+
height: variables.$carousel-item-height;
|
|
52
|
+
position: absolute;
|
|
53
|
+
top: 0;
|
|
54
|
+
left: 0;
|
|
55
|
+
|
|
56
|
+
& > img {
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.indicators {
|
|
62
|
+
position: absolute;
|
|
63
|
+
text-align: center;
|
|
64
|
+
left: 0;
|
|
65
|
+
right: 0;
|
|
66
|
+
bottom: 0;
|
|
67
|
+
margin: 0;
|
|
68
|
+
|
|
69
|
+
.indicator-item {
|
|
70
|
+
&.active {
|
|
71
|
+
background-color: #fff;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
display: inline-block;
|
|
75
|
+
position: relative;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
height: 8px;
|
|
78
|
+
width: 8px;
|
|
79
|
+
margin: 24px 4px;
|
|
80
|
+
background-color: rgba(255,255,255,.5);
|
|
81
|
+
|
|
82
|
+
transition: background-color .3s;
|
|
83
|
+
border-radius: 50%;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Materialbox compatibility
|
|
88
|
+
&.scrolling .carousel-item .materialboxed,
|
|
89
|
+
.carousel-item:not(.active) .materialboxed {
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@use "variables";
|
|
2
|
+
|
|
3
|
+
.chip {
|
|
4
|
+
&:focus {
|
|
5
|
+
outline: none;
|
|
6
|
+
background-color: var(--mm-primary-color, variables.$chip-selected-color);
|
|
7
|
+
color: var(--mm-button-text, #fff);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
display: inline-block;
|
|
11
|
+
height: 32px;
|
|
12
|
+
font-size: 13px;
|
|
13
|
+
font-weight: 500;
|
|
14
|
+
color: var(--mm-text-secondary, rgba(0,0,0,.6));
|
|
15
|
+
line-height: 32px;
|
|
16
|
+
padding: 0 12px;
|
|
17
|
+
border-radius: 16px;
|
|
18
|
+
background-color: var(--mm-chip-bg, variables.$chip-bg-color);
|
|
19
|
+
margin-bottom: variables.$chip-margin;
|
|
20
|
+
margin-right: variables.$chip-margin;
|
|
21
|
+
|
|
22
|
+
> img {
|
|
23
|
+
float: left;
|
|
24
|
+
margin: 0 8px 0 -12px;
|
|
25
|
+
height: 32px;
|
|
26
|
+
width: 32px;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.close {
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
float: right;
|
|
33
|
+
font-size: 16px;
|
|
34
|
+
line-height: 32px;
|
|
35
|
+
padding-left: 8px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.chips {
|
|
40
|
+
border: none;
|
|
41
|
+
border-bottom: 1px solid var(--mm-input-border, variables.$chip-border-color);
|
|
42
|
+
box-shadow: none;
|
|
43
|
+
margin: variables.$input-margin;
|
|
44
|
+
min-height: 45px;
|
|
45
|
+
outline: none;
|
|
46
|
+
transition: all .3s;
|
|
47
|
+
|
|
48
|
+
&.focus {
|
|
49
|
+
border-bottom: 1px solid var(--mm-primary-color, variables.$chip-selected-color);
|
|
50
|
+
box-shadow: 0 1px 0 0 var(--mm-primary-color, variables.$chip-selected-color);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:hover {
|
|
54
|
+
cursor: text;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.input {
|
|
58
|
+
background: none;
|
|
59
|
+
border: 0;
|
|
60
|
+
color: var(--mm-text-primary, rgba(0,0,0,.6));
|
|
61
|
+
display: inline-block;
|
|
62
|
+
font-size: variables.$input-font-size;
|
|
63
|
+
height: variables.$input-height;
|
|
64
|
+
line-height: 32px;
|
|
65
|
+
outline: 0;
|
|
66
|
+
margin: 0;
|
|
67
|
+
padding: 0 !important;
|
|
68
|
+
width: 120px !important;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.input:focus {
|
|
72
|
+
border: 0 !important;
|
|
73
|
+
box-shadow: none !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// Autocomplete
|
|
77
|
+
.autocomplete-content {
|
|
78
|
+
margin-top: 0;
|
|
79
|
+
margin-bottom: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Form prefix
|
|
84
|
+
.prefix ~ .chips {
|
|
85
|
+
margin-left: 3rem;
|
|
86
|
+
width: 92%;
|
|
87
|
+
width: calc(100% - 3rem);
|
|
88
|
+
}
|
|
89
|
+
.chips:empty ~ label {
|
|
90
|
+
font-size: 0.8rem;
|
|
91
|
+
transform: translateY(-140%);
|
|
92
|
+
}
|