@materializecss/materialize 2.0.4 → 2.1.0
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/dist/css/materialize.css +644 -558
- package/dist/css/materialize.min.css +2 -2
- package/dist/js/materialize.js +18 -8
- package/dist/js/materialize.min.js +2 -2
- package/dist/js/materialize.min.js.map +1 -1
- package/dist/src/bounding.d.ts.map +1 -1
- package/dist/src/edges.d.ts.map +1 -1
- package/dist/src/modal.d.ts.map +1 -1
- package/dist/src/select.d.ts.map +1 -1
- package/dist/src/toasts.d.ts.map +1 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/waves.d.ts.map +1 -1
- package/package.json +1 -1
- package/sass/components/_badges.scss +17 -12
- package/sass/components/_buttons.scss +137 -126
- package/sass/components/_cards.scss +12 -14
- package/sass/components/_carousel.scss +8 -6
- package/sass/components/_chips.scss +10 -11
- package/sass/components/_collapsible.scss +6 -8
- package/sass/components/_collection.scss +15 -15
- package/sass/components/_datepicker.scss +15 -15
- package/sass/components/_dropdown.scss +5 -17
- package/sass/components/_global.scss +65 -137
- package/sass/components/_grid.scss +12 -4
- package/sass/components/_materialbox.scss +1 -1
- package/sass/components/_modal.scss +14 -9
- package/sass/components/_navbar.scss +31 -25
- package/sass/components/_preloader.scss +5 -6
- package/sass/components/_sidenav.scss +42 -26
- package/sass/components/_slider.scss +5 -5
- package/sass/components/_table_of_contents.scss +7 -8
- package/sass/components/_tabs.scss +16 -17
- package/sass/components/_tapTarget.scss +3 -3
- package/sass/components/_timepicker.scss +12 -12
- package/sass/components/_toast.scss +17 -10
- package/sass/components/_tooltip.scss +13 -6
- package/sass/components/_variables.scss +13 -377
- package/sass/components/colors.module.scss +74 -180
- package/sass/components/forms/_checkboxes.scss +22 -22
- package/sass/components/forms/_file-input.scss +2 -5
- package/sass/components/forms/_forms.scss +5 -3
- package/sass/components/forms/_input-fields.scss +40 -41
- package/sass/components/forms/_radio-buttons.scss +11 -14
- package/sass/components/forms/_range.scss +16 -24
- package/sass/components/forms/_select.scss +34 -28
- package/sass/components/forms/_switches.scss +9 -12
- package/sass/components/theme.module.scss +140 -0
- package/sass/materialize.scss +6 -3
- package/sass/components/_theme_variables.scss +0 -78
- package/sass/components/theme.dark.module.scss +0 -32
- package/sass/components/theme.light.module.scss +0 -32
|
@@ -1,268 +1,23 @@
|
|
|
1
|
-
// ==========================================================================
|
|
2
|
-
// Materialize variables
|
|
3
|
-
// ==========================================================================
|
|
4
|
-
//
|
|
5
|
-
// Table of Contents:
|
|
6
|
-
//
|
|
7
|
-
// 1. Colors
|
|
8
|
-
// 2. Badges
|
|
9
|
-
// 3. Buttons
|
|
10
|
-
// 4. Cards
|
|
11
|
-
// 5. Carousel
|
|
12
|
-
// 6. Collapsible
|
|
13
|
-
// 7. Date + Time Picker
|
|
14
|
-
// 8. Dropdown
|
|
15
|
-
// 9. Forms
|
|
16
|
-
// 10. Chips
|
|
17
|
-
// 11. Global
|
|
18
|
-
// 12. Grid
|
|
19
|
-
// 13. Navigation Bar
|
|
20
|
-
// 14. Side Navigation
|
|
21
|
-
// 15. Photo Slider
|
|
22
|
-
// 16. Spinners | Loaders
|
|
23
|
-
// 17. Tabs
|
|
24
|
-
// 18. Tables
|
|
25
|
-
// 19. Toasts
|
|
26
|
-
// 20. Tooltips
|
|
27
|
-
// 21. Typography
|
|
28
|
-
// 22. Footer
|
|
29
|
-
// 23. Flow Text
|
|
30
|
-
// 24. Collections
|
|
31
|
-
// 25. Progress Bar
|
|
32
|
-
|
|
33
|
-
|
|
34
1
|
// TypeScale
|
|
35
2
|
$md_sys_typescale_body-large_size: 16px;
|
|
36
3
|
|
|
37
|
-
|
|
38
|
-
// 1. Colors
|
|
39
|
-
// ==========================================================================
|
|
40
|
-
|
|
41
4
|
@use "sass:math";
|
|
42
5
|
|
|
43
|
-
|
|
44
|
-
$primary-color-dark: var(--primary-color-dark) !default;
|
|
45
|
-
$primary-color-when-hovered-solid: var(--primary-color-raised-hover-solid) !default;
|
|
46
|
-
$primary-color-when-focused-solid: var(--primary-color-raised-focus-solid) !default;
|
|
47
|
-
$primary-color-font-emphasize-color: $primary-color !default;
|
|
48
|
-
$primary-color-font-medium-color: var(--primary-color-font-medium-color) !default;
|
|
49
|
-
$primary-color-font-disabled-color: var(--primary-color-font-disabled-color) !default;
|
|
50
|
-
$primary-color-hover-opaque: var(--primary-color-hover-opaque) !default;
|
|
51
|
-
$primary-color-focus-opaque: var(--primary-color-focus-opaque) !default;
|
|
52
|
-
|
|
53
|
-
$font-color-main: var(--font-color-main) !default;
|
|
54
|
-
$font-color-medium: var(--font-color-medium) !default;
|
|
55
|
-
$font-color-disabled: var(--font-color-disabled) !default;
|
|
56
|
-
|
|
57
|
-
$font-on-primary-color-main: var(--font-on-primary-color-main) !default;
|
|
58
|
-
$font-on-primary-color-medium: var(--font-on-primary-color-medium) !default;
|
|
59
|
-
$font-on-primary-color-disabled: var(--font-on-primary-color-disabled) !default;
|
|
60
|
-
$font-on-secondary-color-main: var(--font-on-secondary-color-main) !default;
|
|
61
|
-
|
|
62
|
-
$secondary-color: var(--secondary-color) !default;
|
|
63
|
-
$secondary-color-when-hovered-solid: var(--secondary-color-hover-solid) !default;
|
|
64
|
-
$secondary-color-when-focused-solid: var(--secondary-color-focus-solid) !default;
|
|
65
|
-
$secondary-container-color: var(--secondary-container-color) !default;
|
|
66
|
-
$font-on-secondary-container-color: var(--font-on-secondary-container-color) !default;
|
|
67
|
-
|
|
6
|
+
// Colors
|
|
68
7
|
$success-color: color("green", "base") !default;
|
|
69
|
-
$error-color: var(--error-color) !default;
|
|
70
8
|
$link-color: color("light-blue", "darken-1") !default;
|
|
71
9
|
|
|
72
|
-
$surface-color: var(--surface-color) !default;
|
|
73
|
-
$surface-hover-color-opaque: var(--hover-color) !default;
|
|
74
|
-
$surface-focus-color-opaque: var(--focus-color) !default;
|
|
75
|
-
|
|
76
|
-
$divider-color: var(--separator-color);
|
|
77
|
-
|
|
78
|
-
// 2. Badges
|
|
79
|
-
// ==========================================================================
|
|
80
|
-
|
|
81
|
-
$badge-bg-color: $primary-color !default;
|
|
82
|
-
$badge-height: 22px !default;
|
|
83
|
-
$badge-color: var(--font-color-medium) !default;
|
|
84
|
-
$badge-color-active: var(--font-on-primary-color-main) !default;
|
|
85
|
-
$badge-color-new: $font-on-primary-color-main !default;
|
|
86
|
-
|
|
87
|
-
// 3. Buttons
|
|
88
|
-
// ==========================================================================
|
|
89
|
-
|
|
90
|
-
// Raised buttons
|
|
91
|
-
$button-raised-background: $primary-color !default;
|
|
92
|
-
$button-raised-background-hover: $primary-color-when-hovered-solid !default;
|
|
93
|
-
$button-raised-background-focus: $primary-color-when-focused-solid !default;
|
|
94
|
-
$button-raised-color: $font-on-primary-color-main !default;
|
|
95
|
-
|
|
96
|
-
// Shared styles
|
|
97
|
-
$button-border: none !default;
|
|
98
|
-
$button-background-focus: $button-raised-background-focus !default;
|
|
99
|
-
$button-font-size: 14px !default;
|
|
100
|
-
$button-icon-font-size: 18px !default;
|
|
101
|
-
$button-height: 40px !default;
|
|
102
|
-
$button-padding: 0 16px !default;
|
|
103
|
-
$button-radius: 4px !default;
|
|
104
|
-
|
|
105
|
-
// Disabled styles
|
|
106
|
-
$button-disabled-background: var(--background-color-disabled) !default;
|
|
107
|
-
$button-disabled-color: var(--font-color-disabled) !default;
|
|
108
|
-
|
|
109
|
-
// Large buttons
|
|
110
|
-
$button-large-font-size: 18px !default;
|
|
111
|
-
$button-large-icon-font-size: 1.6rem !default;
|
|
112
|
-
$button-large-height: $button-height * 1.5 !default;
|
|
113
|
-
$button-floating-large-size: 56px !default;
|
|
114
|
-
|
|
115
|
-
// Small buttons
|
|
116
|
-
$button-small-font-size: 13px !default;
|
|
117
|
-
$button-small-icon-font-size: 1.2rem !default;
|
|
118
|
-
$button-small-height: $button-height * .75 !default;
|
|
119
|
-
$button-small-padding: 0 8px !default;
|
|
120
|
-
$button-floating-small-size: $button-height * .75 !default;
|
|
121
|
-
|
|
122
|
-
// Flat buttons
|
|
123
|
-
$button-flat-color: var(--font-color-medium) !default;
|
|
124
|
-
$button-flat-hover-background-color: var(--hover-color) !default;
|
|
125
|
-
$button-flat-focus-background-color: var(--focus-color) !default;
|
|
126
|
-
$button-flat-disabled-color: var(--font-color-disabled) !default;
|
|
127
|
-
|
|
128
10
|
// Floating buttons
|
|
129
|
-
$button-floating-background:
|
|
130
|
-
$button-floating-background-hover:
|
|
131
|
-
$button-floating-background-focus:
|
|
132
|
-
$button-floating-color:
|
|
11
|
+
$button-floating-background: var(--md-sys-color-secondary) !default;
|
|
12
|
+
$button-floating-background-hover: var(--md-ref-palette-secondary70) !default;
|
|
13
|
+
$button-floating-background-focus: var(--md-ref-palette-secondary80) !default;
|
|
14
|
+
$button-floating-color: var(--md-sys-color-on-secondary) !default;
|
|
133
15
|
$button-floating-size: 40px !default;
|
|
134
16
|
$button-floating-radius: 16px !default;
|
|
135
17
|
|
|
136
|
-
|
|
137
|
-
// 4. Cards
|
|
138
|
-
// ==========================================================================
|
|
139
|
-
|
|
140
|
-
$card-padding: 24px !default;
|
|
141
|
-
$card-bg-color: var(--background-color-card) !default;
|
|
142
|
-
$card-link-color: $primary-color !default;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
// 5. Carousel
|
|
146
|
-
// ==========================================================================
|
|
147
|
-
|
|
148
|
-
$carousel-height: 400px !default;
|
|
149
|
-
$carousel-item-height: $carousel-height * 0.5 !default;
|
|
150
|
-
$carousel-item-width: $carousel-item-height !default;
|
|
151
|
-
|
|
152
|
-
$carousel-indicator-color: var(--carousel-indicator-color) !default;
|
|
153
|
-
$carousel-indicator-color-active: var(--carousel-indicator-active-color) !default;
|
|
154
|
-
|
|
155
|
-
// 6. Collapsible
|
|
156
|
-
// ==========================================================================
|
|
157
|
-
|
|
158
|
-
$collapsible-height: 3rem !default;
|
|
159
|
-
$collapsible-line-height: $collapsible-height !default;
|
|
160
|
-
$collapsible-border-color: $divider-color !default;
|
|
161
|
-
$collapsible-bg-color: $surface-color !default;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
// 7. Date + Time Picker
|
|
165
|
-
// ==========================================================================
|
|
166
|
-
|
|
167
|
-
$datepicker-display-font-size: 2.8rem;
|
|
168
|
-
$datepicker-calendar-header-color: $font-color-medium;
|
|
169
|
-
$datepicker-year: $font-on-primary-color-main !default;
|
|
170
|
-
$datepicker-day-focus: $primary-color-focus-opaque !default;
|
|
171
|
-
$datepicker-day-hover: $primary-color-hover-opaque !default;
|
|
172
|
-
$datepicker-day-font-color: $font-color-main !default;
|
|
173
|
-
$datepicker-day-font-color-disabled: $font-color-disabled !default;
|
|
174
|
-
|
|
175
|
-
$timepicker-clock-bg: $surface-color !default;
|
|
176
|
-
$timepicker-clock-color: var(--font-color-main) !default;
|
|
177
|
-
$timepicker-clock-plate-bg: var(--background-color-level-4dp) !default;
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
// 8. Dropdown
|
|
181
|
-
// ==========================================================================
|
|
182
|
-
|
|
183
|
-
$dropdown-bg-color: $surface-color !default;
|
|
184
|
-
$dropdown-hover-bg-color: $surface-hover-color-opaque !default;
|
|
185
|
-
$dropdown-focus-bg-color: $surface-focus-color-opaque !default;
|
|
186
|
-
$dropdown-color: $primary-color !default;
|
|
18
|
+
// Dropdown
|
|
187
19
|
$dropdown-item-height: 50px !default;
|
|
188
20
|
|
|
189
|
-
|
|
190
|
-
// 9. Forms
|
|
191
|
-
// ==========================================================================
|
|
192
|
-
|
|
193
|
-
// Text Inputs + Textarea
|
|
194
|
-
$input-height: 3rem !default;
|
|
195
|
-
$input-border-color: var(--font-color-medium) !default;
|
|
196
|
-
$input-color: var(--font-color-main) !default;
|
|
197
|
-
$input-border: 2px solid $input-border-color !default;
|
|
198
|
-
$input-error-color: $error-color !default;
|
|
199
|
-
$input-success-color: $success-color !default;
|
|
200
|
-
$input-focus-color: $primary-color !default;
|
|
201
|
-
$input-font-size: 16px !default;
|
|
202
|
-
$input-margin-bottom: 8px;
|
|
203
|
-
$input-margin: 0 0 $input-margin-bottom 0 !default;
|
|
204
|
-
$input-padding: 0 !default;
|
|
205
|
-
$label-font-size: .8rem !default;
|
|
206
|
-
$input-disabled-color: var(--font-color-disabled) !default;
|
|
207
|
-
$input-disabled-solid-color: var(--font-color-disabled) !default;
|
|
208
|
-
$input-disabled-border: 2px solid $input-disabled-color !default;
|
|
209
|
-
$input-invalid-border: 2px solid $input-error-color !default;
|
|
210
|
-
$input-icon-size: 2rem;
|
|
211
|
-
$placeholder-text-color: var(--font-color-medium) !default;
|
|
212
|
-
|
|
213
|
-
$textfield_disabled_containercolor: rgba(var(--md_sys_color_on-surface), 0.04);
|
|
214
|
-
$textfield_disabled_outlinecolor: rgba(var(--md_sys_color_on-surface), 0.12);
|
|
215
|
-
$textfield_disabled_color: rgba(var(--md_sys_color_on-surface), 0.38);
|
|
216
|
-
|
|
217
|
-
// Radio Buttons
|
|
218
|
-
$radio-fill-color: $primary-color !default;
|
|
219
|
-
$radio-focus-color: $primary-color-focus-opaque !default;
|
|
220
|
-
$radio-empty-color: var(--font-color-medium) !default;
|
|
221
|
-
$radio-border: 2px solid $radio-fill-color !default;
|
|
222
|
-
|
|
223
|
-
// Range
|
|
224
|
-
$range-height: 14px !default;
|
|
225
|
-
$range-width: 14px !default;
|
|
226
|
-
$track-height: 3px !default;
|
|
227
|
-
$range-track-color: var(--slider-track-color) !default;
|
|
228
|
-
|
|
229
|
-
// Select
|
|
230
|
-
$select-border: 1px solid var(--separator-color) !default;
|
|
231
|
-
$select-background: $surface-color !default;
|
|
232
|
-
$select-focus: 1px solid $primary-color-when-focused-solid !default;
|
|
233
|
-
$select-option-hover: $surface-hover-color-opaque !default;
|
|
234
|
-
$select-option-focus: $surface-focus-color-opaque !default;
|
|
235
|
-
$select-option-selected: $surface-focus-color-opaque !default;
|
|
236
|
-
$select-padding: 5px !default;
|
|
237
|
-
$select-radius: 2px !default;
|
|
238
|
-
$select-disabled-color: var(--font-color-disabled) !default;
|
|
239
|
-
$select-input-color: var(--font-color-main) !default;
|
|
240
|
-
|
|
241
|
-
// Switches
|
|
242
|
-
$switch-thumb-checked-color: $primary-color !default;
|
|
243
|
-
$switch-thumb-unchecked-color: var(--switch-thumb-off-color);
|
|
244
|
-
$switch-reaction-checked-focus-color: $primary-color-focus-opaque !default;
|
|
245
|
-
$switch-reaction-unchecked-focus-color: $surface-focus-color-opaque !default;
|
|
246
|
-
$switch-reaction-checked-hover-color: $primary-color-hover-opaque !default;
|
|
247
|
-
$switch-reaction-unchecked-hover-color: $surface-hover-color-opaque !default;
|
|
248
|
-
$switch-track-checked-bg: rgba(var(--primary-color-numeric), 0.32) !default;
|
|
249
|
-
$switch-track-unchecked-bg: var(--slider-track-color) !default;
|
|
250
|
-
$switch-radius: 15px !default;
|
|
251
|
-
|
|
252
|
-
// 10. Chips
|
|
253
|
-
// ==========================================================================
|
|
254
|
-
|
|
255
|
-
$chip-bg-color: var(--background-color-level-4dp) !default;
|
|
256
|
-
$chip-border-color: $input-border-color !default;
|
|
257
|
-
$chip-font-color: $font-color-medium !default;
|
|
258
|
-
$chip-selected-color: $primary-color !default;
|
|
259
|
-
$chip-selected-font-color: $font-on-primary-color-main !default;
|
|
260
|
-
$chip-margin: 5px !default;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
// 11. Global
|
|
264
|
-
// ==========================================================================
|
|
265
|
-
|
|
266
21
|
// Media Query Ranges
|
|
267
22
|
$small-screen-up: 601px !default;
|
|
268
23
|
$medium-screen-up: 993px !default;
|
|
@@ -278,96 +33,16 @@ $small-and-down: "only screen and (max-width : #{$small-screen})" !default;
|
|
|
278
33
|
$medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
|
|
279
34
|
$medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
|
|
280
35
|
|
|
281
|
-
|
|
282
|
-
// 12. Grid
|
|
283
|
-
// ==========================================================================
|
|
284
|
-
|
|
36
|
+
// Grid
|
|
285
37
|
$num-cols: 12 !default;
|
|
286
38
|
$gutter-width: 1.5rem !default;
|
|
287
39
|
$element-top-margin: math.div($gutter-width, 3) !default;
|
|
288
|
-
$element-bottom-margin: math.div($gutter-width*2, 3) !default;
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
// 13. Navigation Bar
|
|
292
|
-
// ==========================================================================
|
|
293
|
-
|
|
294
|
-
$navbar-height: 64px !default;
|
|
295
|
-
$navbar-line-height: $navbar-height !default;
|
|
296
|
-
$navbar-height-mobile: 56px !default;
|
|
297
|
-
$navbar-line-height-mobile: $navbar-height-mobile !default;
|
|
298
|
-
$navbar-font-size: 1rem !default;
|
|
299
|
-
$navbar-font-color: $font-on-primary-color-main !default;
|
|
300
|
-
$navbar-bg-color-focus: $primary-color-when-focused-solid !default;
|
|
301
|
-
$navbar-bg-color-hover: $primary-color-when-hovered-solid !default;
|
|
302
|
-
$navbar-brand-font-size: 2.1rem !default;
|
|
303
|
-
|
|
304
|
-
// 14. Side Navigation
|
|
305
|
-
// ==========================================================================
|
|
306
|
-
|
|
307
|
-
$sidenav-width: 300px !default;
|
|
308
|
-
$sidenav-font-size: 14px !default;
|
|
309
|
-
$sidenav-font-color: var(--font-color-main) !default;
|
|
310
|
-
$sidenav-bg-color: var(--background-color-level-16dp-solid) !default;
|
|
311
|
-
$sidenav-icon-color: var(--font-color-medium) !default;
|
|
312
|
-
$sidenav-subheader-color: var(--font-color-medium) !default;
|
|
313
|
-
$sidenav-padding: 16px !default;
|
|
314
|
-
$sidenav-item-height: 48px !default;
|
|
315
|
-
$sidenav-line-height: $sidenav-item-height !default;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
// 15. Photo Slider
|
|
319
|
-
// ==========================================================================
|
|
320
|
-
|
|
321
|
-
$slider-bg-color: $surface-color !default;
|
|
322
|
-
$slider-indicator-color: var(--slider-track-color) !default;
|
|
323
|
-
$slider-indicator-color-active: $primary-color !default;
|
|
324
|
-
$slider-fullscreen-indicator-color: $carousel-indicator-color !default;
|
|
325
|
-
$slider-fullscreen-indicator-color-active: $carousel-indicator-color-active !default;
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
// 16. Spinners | Loaders
|
|
329
|
-
// ==========================================================================
|
|
330
|
-
|
|
331
|
-
$spinner-default-color: $primary-color !default;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
// 17. Tabs
|
|
335
|
-
// ==========================================================================
|
|
336
|
-
|
|
337
|
-
$tabs-text-active-color: $primary-color-font-emphasize-color !default;
|
|
338
|
-
$tabs-text-inactive-color: $font-color-medium !default;
|
|
339
|
-
$tabs-text-disabled-color: $font-color-disabled !default;
|
|
340
|
-
$tabs-underline-color: $tabs-text-active-color !default;
|
|
341
|
-
$tabs-bg-color: $surface-color !default;
|
|
342
|
-
|
|
343
|
-
// 18. Tables
|
|
344
|
-
// ==========================================================================
|
|
345
|
-
|
|
346
|
-
$table-border-color: $divider-color !default;
|
|
347
|
-
$table-striped-color: var(--background-color-slight-emphasis) !default;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
// 19. Toasts
|
|
351
|
-
// ==========================================================================
|
|
352
|
-
|
|
353
|
-
$toast-height: 48px !default;
|
|
354
|
-
$toast-color: var(--tooltip-background-color) !default;
|
|
355
|
-
$toast-text-color: var(--tooltip-font-color) !default;
|
|
356
|
-
$toast-action-color: #eeff41;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
// 20. Tooltips
|
|
360
|
-
// ==========================================================================
|
|
361
|
-
|
|
362
|
-
$tooltip-bg-color: var(--md-sys-color-inverse-surface) !default;
|
|
363
|
-
$tooltip-font-color: var(--md-sys-color-inverse-on-surface) !default;
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
// 21. Typography
|
|
367
|
-
// ==========================================================================
|
|
40
|
+
$element-bottom-margin: math.div($gutter-width * 2, 3) !default;
|
|
368
41
|
|
|
42
|
+
// Typography
|
|
369
43
|
$font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !default;
|
|
370
|
-
$text-color: var(--
|
|
44
|
+
$text-color: var(--md-sys-color-on-background) !default;
|
|
45
|
+
|
|
371
46
|
// Header Styles
|
|
372
47
|
$h1-fontsize: 4.2rem !default;
|
|
373
48
|
$h2-fontsize: 3.56rem !default;
|
|
@@ -376,45 +51,6 @@ $h4-fontsize: 2.28rem !default;
|
|
|
376
51
|
$h5-fontsize: 1.64rem !default;
|
|
377
52
|
$h6-fontsize: 1.15rem !default;
|
|
378
53
|
|
|
379
|
-
|
|
380
|
-
// 22. Footer
|
|
381
|
-
// ==========================================================================
|
|
382
|
-
|
|
383
|
-
$footer-font-color: $font-on-primary-color-main !default;
|
|
384
|
-
$footer-bg-color: $primary-color !default;
|
|
385
|
-
$footer-copyright-font-color: var(--font-on-primary-color-dark-medium) !default;
|
|
386
|
-
$footer-copyright-bg-color: $primary-color-dark !default;
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
// 23. Flow Text
|
|
390
|
-
// ==========================================================================
|
|
391
|
-
|
|
392
|
-
$range: $large-screen - $small-screen !default;
|
|
54
|
+
// Flow Text
|
|
393
55
|
$intervals: 20 !default;
|
|
394
|
-
$interval-size: math.div($
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
// 24. Collections
|
|
398
|
-
// ==========================================================================
|
|
399
|
-
|
|
400
|
-
$collection-border-color: $divider-color !default;
|
|
401
|
-
$collection-bg-color: transparent !default;
|
|
402
|
-
$collection-active-bg-color: $primary-color !default;
|
|
403
|
-
$collection-active-color: $font-on-primary-color-main !default;
|
|
404
|
-
$collection-hover-bg-color: $surface-hover-color-opaque !default;
|
|
405
|
-
$collection-link-color: $primary-color !default;
|
|
406
|
-
$collection-line-height: 1.5rem !default;
|
|
407
|
-
$collection-border-radius: 2px !default;
|
|
408
|
-
$collection-avatar-circle-bg-color: var(--slider-track-color) !default;
|
|
409
|
-
$collection-avatar-circle-icon-color: #fff !default;
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
// 25. Progress Bar
|
|
413
|
-
// ==========================================================================
|
|
414
|
-
|
|
415
|
-
$progress-bar-color: $primary-color !default;
|
|
416
|
-
$progress-bar-track-color: rgba(var(--primary-color-numeric), 40%) !default;
|
|
417
|
-
|
|
418
|
-
// 26. Modal
|
|
419
|
-
// ==========================================================================
|
|
420
|
-
$modal-background-color: var(--background-color-level-16dp-solid) !default;
|
|
56
|
+
$interval-size: math.div($large-screen - $small-screen, $intervals) !default;
|
|
@@ -1,180 +1,74 @@
|
|
|
1
|
-
.primary {
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
.primary-text {
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
.on-primary {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
.
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
.on-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
.
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
.on-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
.on-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
.
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
.
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
.
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
.on-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
.
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
.
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
.error-text {
|
|
77
|
-
color: var(--md-sys-color-error);
|
|
78
|
-
}
|
|
79
|
-
.on-error {
|
|
80
|
-
background-color: var(--md-sys-color-on-error);
|
|
81
|
-
}
|
|
82
|
-
.on-error-text {
|
|
83
|
-
color: var(--md-sys-color-on-error);
|
|
84
|
-
}
|
|
85
|
-
.error-container {
|
|
86
|
-
background-color: var(--md-sys-color-error-container);
|
|
87
|
-
}
|
|
88
|
-
.error-container-text {
|
|
89
|
-
color: var(--md-sys-color-error-container);
|
|
90
|
-
}
|
|
91
|
-
.on-error-container {
|
|
92
|
-
background-color: var(--md-sys-color-on-error-container);
|
|
93
|
-
}
|
|
94
|
-
.on-error-container-text {
|
|
95
|
-
color: var(--md-sys-color-on-error-container);
|
|
96
|
-
}
|
|
97
|
-
.background {
|
|
98
|
-
background-color: var(--md-sys-color-background);
|
|
99
|
-
}
|
|
100
|
-
.background-text {
|
|
101
|
-
color: var(--md-sys-color-background);
|
|
102
|
-
}
|
|
103
|
-
.on-background {
|
|
104
|
-
background-color: var(--md-sys-color-on-background);
|
|
105
|
-
}
|
|
106
|
-
.on-background-text {
|
|
107
|
-
color: var(--md-sys-color-on-background);
|
|
108
|
-
}
|
|
109
|
-
.surface {
|
|
110
|
-
background-color: var(--md-sys-color-surface);
|
|
111
|
-
}
|
|
112
|
-
.surface-text {
|
|
113
|
-
color: var(--md-sys-color-surface);
|
|
114
|
-
}
|
|
115
|
-
.on-surface {
|
|
116
|
-
background-color: var(--md-sys-color-on-surface);
|
|
117
|
-
}
|
|
118
|
-
.on-surface-text {
|
|
119
|
-
color: var(--md-sys-color-on-surface);
|
|
120
|
-
}
|
|
121
|
-
.surface-variant {
|
|
122
|
-
background-color: var(--md-sys-color-surface-variant);
|
|
123
|
-
}
|
|
124
|
-
.surface-variant-text {
|
|
125
|
-
color: var(--md-sys-color-surface-variant);
|
|
126
|
-
}
|
|
127
|
-
.on-surface-variant {
|
|
128
|
-
background-color: var(--md-sys-color-on-surface-variant);
|
|
129
|
-
}
|
|
130
|
-
.on-surface-variant-text {
|
|
131
|
-
color: var(--md-sys-color-on-surface-variant);
|
|
132
|
-
}
|
|
133
|
-
.outline {
|
|
134
|
-
background-color: var(--md-sys-color-outline);
|
|
135
|
-
}
|
|
136
|
-
.outline-text {
|
|
137
|
-
color: var(--md-sys-color-outline);
|
|
138
|
-
}
|
|
139
|
-
.inverse-on-surface {
|
|
140
|
-
background-color: var(--md-sys-color-inverse-on-surface);
|
|
141
|
-
}
|
|
142
|
-
.inverse-on-surface-text {
|
|
143
|
-
color: var(--md-sys-color-inverse-on-surface);
|
|
144
|
-
}
|
|
145
|
-
.inverse-surface {
|
|
146
|
-
background-color: var(--md-sys-color-inverse-surface);
|
|
147
|
-
}
|
|
148
|
-
.inverse-surface-text {
|
|
149
|
-
color: var(--md-sys-color-inverse-surface);
|
|
150
|
-
}
|
|
151
|
-
.inverse-primary {
|
|
152
|
-
background-color: var(--md-sys-color-inverse-primary);
|
|
153
|
-
}
|
|
154
|
-
.inverse-primary-text {
|
|
155
|
-
color: var(--md-sys-color-inverse-primary);
|
|
156
|
-
}
|
|
157
|
-
.shadow {
|
|
158
|
-
background-color: var(--md-sys-color-shadow);
|
|
159
|
-
}
|
|
160
|
-
.shadow-text {
|
|
161
|
-
color: var(--md-sys-color-shadow);
|
|
162
|
-
}
|
|
163
|
-
.surface-tint {
|
|
164
|
-
background-color: var(--md-sys-color-surface-tint);
|
|
165
|
-
}
|
|
166
|
-
.surface-tint-text {
|
|
167
|
-
color: var(--md-sys-color-surface-tint);
|
|
168
|
-
}
|
|
169
|
-
.outline-variant {
|
|
170
|
-
background-color: var(--md-sys-color-outline-variant);
|
|
171
|
-
}
|
|
172
|
-
.outline-variant-text {
|
|
173
|
-
color: var(--md-sys-color-outline-variant);
|
|
174
|
-
}
|
|
175
|
-
.scrim {
|
|
176
|
-
background-color: var(--md-sys-color-scrim);
|
|
177
|
-
}
|
|
178
|
-
.scrim-text {
|
|
179
|
-
color: var(--md-sys-color-scrim);
|
|
180
|
-
}
|
|
1
|
+
.primary { background-color: var(--md-sys-color-primary); }
|
|
2
|
+
.primary-text { color: var(--md-sys-color-primary); }
|
|
3
|
+
.on-primary { background-color: var(--md-sys-color-on-primary); }
|
|
4
|
+
.on-primary-text { color: var(--md-sys-color-on-primary); }
|
|
5
|
+
.primary-container { background-color: var(--md-sys-color-primary-container); }
|
|
6
|
+
.primary-container-text { color: var(--md-sys-color-primary-container); }
|
|
7
|
+
.on-primary-container { background-color: var(--md-sys-color-on-primary-container); }
|
|
8
|
+
.on-primary-container-text { color: var(--md-sys-color-on-primary-container); }
|
|
9
|
+
|
|
10
|
+
.secondary { background-color: var(--md-sys-color-secondary); }
|
|
11
|
+
.secondary-text { color: var(--md-sys-color-secondary); }
|
|
12
|
+
.on-secondary { background-color: var(--md-sys-color-on-secondary); }
|
|
13
|
+
.on-secondary-text { color: var(--md-sys-color-on-secondary); }
|
|
14
|
+
.secondary-container { background-color: var(--md-sys-color-secondary-container); }
|
|
15
|
+
.secondary-container-text { color: var(--md-sys-color-secondary-container); }
|
|
16
|
+
.on-secondary-container { background-color: var(--md-sys-color-on-secondary-container); }
|
|
17
|
+
.on-secondary-container-text { color: var(--md-sys-color-on-secondary-container); }
|
|
18
|
+
|
|
19
|
+
.tertiary { background-color: var(--md-sys-color-tertiary); }
|
|
20
|
+
.tertiary-text { color: var(--md-sys-color-tertiary); }
|
|
21
|
+
.on-tertiary { background-color: var(--md-sys-color-on-tertiary); }
|
|
22
|
+
.on-tertiary-text { color: var(--md-sys-color-on-tertiary); }
|
|
23
|
+
.tertiary-container { background-color: var(--md-sys-color-tertiary-container); }
|
|
24
|
+
.tertiary-container-text { color: var(--md-sys-color-tertiary-container); }
|
|
25
|
+
.on-tertiary-container { background-color: var(--md-sys-color-on-tertiary-container); }
|
|
26
|
+
.on-tertiary-container-text { color: var(--md-sys-color-on-tertiary-container); }
|
|
27
|
+
|
|
28
|
+
.error { background-color: var(--md-sys-color-error); }
|
|
29
|
+
.error-text { color: var(--md-sys-color-error); }
|
|
30
|
+
.on-error { background-color: var(--md-sys-color-on-error); }
|
|
31
|
+
.on-error-text { color: var(--md-sys-color-on-error); }
|
|
32
|
+
.error-container { background-color: var(--md-sys-color-error-container); }
|
|
33
|
+
.error-container-text { color: var(--md-sys-color-error-container); }
|
|
34
|
+
.on-error-container { background-color: var(--md-sys-color-on-error-container); }
|
|
35
|
+
.on-error-container-text { color: var(--md-sys-color-on-error-container); }
|
|
36
|
+
|
|
37
|
+
.background { background-color: var(--md-sys-color-background); }
|
|
38
|
+
.background-text { color: var(--md-sys-color-background); }
|
|
39
|
+
.on-background { background-color: var(--md-sys-color-on-background); }
|
|
40
|
+
.on-background-text { color: var(--md-sys-color-on-background); }
|
|
41
|
+
|
|
42
|
+
.surface { background-color: var(--md-sys-color-surface); }
|
|
43
|
+
.surface-text { color: var(--md-sys-color-surface); }
|
|
44
|
+
.on-surface { background-color: var(--md-sys-color-on-surface); }
|
|
45
|
+
.on-surface-text { color: var(--md-sys-color-on-surface); }
|
|
46
|
+
|
|
47
|
+
.surface-variant { background-color: var(--md-sys-color-surface-variant); }
|
|
48
|
+
.surface-variant-text { color: var(--md-sys-color-surface-variant); }
|
|
49
|
+
.on-surface-variant { background-color: var(--md-sys-color-on-surface-variant); }
|
|
50
|
+
.on-surface-variant-text { color: var(--md-sys-color-on-surface-variant); }
|
|
51
|
+
|
|
52
|
+
.outline { background-color: var(--md-sys-color-outline); }
|
|
53
|
+
.outline-text { color: var(--md-sys-color-outline); }
|
|
54
|
+
|
|
55
|
+
.inverse-on-surface { background-color: var(--md-sys-color-inverse-on-surface); }
|
|
56
|
+
.inverse-on-surface-text { color: var(--md-sys-color-inverse-on-surface); }
|
|
57
|
+
|
|
58
|
+
.inverse-surface { background-color: var(--md-sys-color-inverse-surface); }
|
|
59
|
+
.inverse-surface-text { color: var(--md-sys-color-inverse-surface); }
|
|
60
|
+
|
|
61
|
+
.inverse-primary { background-color: var(--md-sys-color-inverse-primary); }
|
|
62
|
+
.inverse-primary-text { color: var(--md-sys-color-inverse-primary); }
|
|
63
|
+
|
|
64
|
+
.shadow { background-color: var(--md-sys-color-shadow); }
|
|
65
|
+
.shadow-text { color: var(--md-sys-color-shadow); }
|
|
66
|
+
|
|
67
|
+
.surface-tint { background-color: var(--md-sys-color-surface-tint); }
|
|
68
|
+
.surface-tint-text { color: var(--md-sys-color-surface-tint); }
|
|
69
|
+
|
|
70
|
+
.outline-variant { background-color: var(--md-sys-color-outline-variant); }
|
|
71
|
+
.outline-variant-text { color: var(--md-sys-color-outline-variant); }
|
|
72
|
+
|
|
73
|
+
.scrim { background-color: var(--md-sys-color-scrim); }
|
|
74
|
+
.scrim-text { color: var(--md-sys-color-scrim); }
|