@materializecss/materialize 1.1.0-alpha → 1.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/Gruntfile.js +115 -132
- package/LICENSE +21 -21
- package/README.md +97 -97
- package/dist/css/materialize.css +8462 -8987
- package/dist/css/materialize.min.css +7 -7
- package/dist/js/materialize.js +12669 -12791
- package/dist/js/materialize.min.js +6 -6
- package/extras/noUiSlider/nouislider.css +406 -406
- package/extras/noUiSlider/nouislider.js +2147 -2147
- package/extras/noUiSlider/nouislider.min.js +0 -0
- package/js/anime.min.js +34 -34
- package/js/autocomplete.js +479 -479
- package/js/buttons.js +354 -354
- package/js/cards.js +40 -40
- package/js/carousel.js +732 -717
- package/js/cash.js +960 -960
- package/js/characterCounter.js +136 -136
- package/js/chips.js +486 -486
- package/js/collapsible.js +275 -275
- package/js/component.js +44 -44
- package/js/datepicker.js +983 -976
- package/js/dropdown.js +669 -668
- package/js/forms.js +275 -275
- package/js/global.js +424 -424
- package/js/materialbox.js +453 -453
- package/js/modal.js +382 -382
- package/js/parallax.js +138 -138
- package/js/pushpin.js +148 -148
- package/js/range.js +263 -263
- package/js/scrollspy.js +295 -295
- package/js/select.js +310 -451
- package/js/sidenav.js +583 -583
- package/js/slider.js +359 -359
- package/js/tabs.js +402 -402
- package/js/tapTarget.js +315 -315
- package/js/timepicker.js +648 -647
- package/js/toasts.js +322 -322
- package/js/tooltip.js +320 -320
- package/js/waves.js +614 -614
- package/package.json +82 -74
- package/sass/_style.scss +929 -0
- package/sass/components/_badges.scss +55 -55
- package/sass/components/_buttons.scss +322 -322
- package/sass/components/_cards.scss +195 -195
- package/sass/components/_carousel.scss +90 -90
- package/sass/components/_chips.scss +96 -96
- package/sass/components/_collapsible.scss +91 -91
- package/sass/components/_collection.scss +107 -0
- package/sass/components/_color-classes.scss +32 -32
- package/sass/components/_color-variables.scss +370 -370
- package/sass/components/_datepicker.scss +191 -191
- package/sass/components/_dropdown.scss +84 -84
- package/sass/components/_global.scss +642 -771
- package/sass/components/_grid.scss +158 -156
- package/sass/components/_icons-material-design.scss +5 -5
- package/sass/components/_materialbox.scss +42 -42
- package/sass/components/_modal.scss +97 -97
- package/sass/components/_navbar.scss +208 -208
- package/sass/components/_normalize.scss +447 -447
- package/sass/components/_preloader.scss +334 -334
- package/sass/components/_pulse.scss +34 -34
- package/sass/components/_sidenav.scss +214 -214
- package/sass/components/_slider.scss +91 -91
- package/sass/components/_table_of_contents.scss +33 -33
- package/sass/components/_tabs.scss +99 -99
- package/sass/components/_tapTarget.scss +103 -103
- package/sass/components/_timepicker.scss +183 -183
- package/sass/components/_toast.scss +58 -58
- package/sass/components/_tooltip.scss +32 -32
- package/sass/components/_transitions.scss +12 -12
- package/sass/components/_typography.scss +62 -60
- package/sass/components/_variables.scss +352 -349
- package/sass/components/_waves.scss +187 -187
- package/sass/components/forms/_checkboxes.scss +200 -200
- package/sass/components/forms/_file-input.scss +44 -44
- package/sass/components/forms/_forms.scss +22 -22
- package/sass/components/forms/_input-fields.scss +379 -379
- package/sass/components/forms/_radio-buttons.scss +115 -115
- package/sass/components/forms/_range.scss +161 -161
- package/sass/components/forms/_select.scss +199 -199
- package/sass/components/forms/_switches.scss +91 -91
- package/sass/ghpages-materialize.scss +7 -0
- package/sass/materialize.scss +42 -41
- package/CHANGELOG.md +0 -76
- package/HISTORY.md +0 -527
|
@@ -1,349 +1,352 @@
|
|
|
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. Chips
|
|
14
|
-
// 8. Date + Time Picker
|
|
15
|
-
// 9. Dropdown
|
|
16
|
-
// 10. Forms
|
|
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. Typography
|
|
27
|
-
// 21. Footer
|
|
28
|
-
// 22. Flow Text
|
|
29
|
-
// 23. Collections
|
|
30
|
-
// 24. Progress Bar
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
// 1. Colors
|
|
35
|
-
// ==========================================================================
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
$primary-color
|
|
40
|
-
|
|
41
|
-
$
|
|
42
|
-
|
|
43
|
-
$
|
|
44
|
-
$
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
//
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
$button-
|
|
61
|
-
$button-
|
|
62
|
-
$button-
|
|
63
|
-
$button-
|
|
64
|
-
$button-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
$button-raised-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
$button-large-
|
|
79
|
-
$button-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
$button-small-
|
|
85
|
-
$button-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
$button-floating-
|
|
95
|
-
$button-floating-
|
|
96
|
-
$button-floating-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
$card-
|
|
105
|
-
$card-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
$carousel-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
$collapsible-
|
|
122
|
-
$collapsible-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
$chip-
|
|
131
|
-
$chip-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
$datepicker-
|
|
140
|
-
$datepicker-
|
|
141
|
-
$datepicker-
|
|
142
|
-
$datepicker-
|
|
143
|
-
$datepicker-
|
|
144
|
-
$datepicker-
|
|
145
|
-
$datepicker-
|
|
146
|
-
$datepicker-
|
|
147
|
-
$datepicker-
|
|
148
|
-
|
|
149
|
-
$
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
$dropdown-color:
|
|
159
|
-
$dropdown-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
//
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
$input-
|
|
169
|
-
$input-
|
|
170
|
-
$input-
|
|
171
|
-
$input-
|
|
172
|
-
$input-
|
|
173
|
-
$input-
|
|
174
|
-
$input-
|
|
175
|
-
$input-
|
|
176
|
-
$input-
|
|
177
|
-
$
|
|
178
|
-
$input-
|
|
179
|
-
$
|
|
180
|
-
$input-disabled-
|
|
181
|
-
$input-
|
|
182
|
-
$input-
|
|
183
|
-
$
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
$radio-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
$
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
$select-
|
|
199
|
-
$select-
|
|
200
|
-
$select-
|
|
201
|
-
$select-option-
|
|
202
|
-
$select-
|
|
203
|
-
$select-
|
|
204
|
-
$select-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
$switch-
|
|
210
|
-
$switch-
|
|
211
|
-
$switch-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
//
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
$
|
|
221
|
-
$
|
|
222
|
-
$
|
|
223
|
-
$
|
|
224
|
-
|
|
225
|
-
$
|
|
226
|
-
|
|
227
|
-
$
|
|
228
|
-
$
|
|
229
|
-
$
|
|
230
|
-
$
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
$
|
|
239
|
-
$
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
$navbar-height
|
|
248
|
-
$navbar-line-height
|
|
249
|
-
$navbar-
|
|
250
|
-
$navbar-
|
|
251
|
-
$navbar-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
$sidenav-
|
|
259
|
-
$sidenav-
|
|
260
|
-
$sidenav-
|
|
261
|
-
$sidenav-
|
|
262
|
-
$sidenav-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
$slider-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
$tabs-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
$toast-
|
|
300
|
-
$toast-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
$
|
|
310
|
-
|
|
311
|
-
$
|
|
312
|
-
$
|
|
313
|
-
$
|
|
314
|
-
$
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
$footer-
|
|
323
|
-
$footer-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
$
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
$collection-
|
|
340
|
-
$collection-
|
|
341
|
-
$collection-
|
|
342
|
-
$collection-
|
|
343
|
-
$collection-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
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. Chips
|
|
14
|
+
// 8. Date + Time Picker
|
|
15
|
+
// 9. Dropdown
|
|
16
|
+
// 10. Forms
|
|
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. Typography
|
|
27
|
+
// 21. Footer
|
|
28
|
+
// 22. Flow Text
|
|
29
|
+
// 23. Collections
|
|
30
|
+
// 24. Progress Bar
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
// 1. Colors
|
|
35
|
+
// ==========================================================================
|
|
36
|
+
|
|
37
|
+
@use "sass:math";
|
|
38
|
+
|
|
39
|
+
$primary-color: color("materialize-red", "lighten-2") !default;
|
|
40
|
+
$primary-color-light: lighten($primary-color, 15%) !default;
|
|
41
|
+
$primary-color-dark: darken($primary-color, 15%) !default;
|
|
42
|
+
|
|
43
|
+
$secondary-color: color("teal", "lighten-1") !default;
|
|
44
|
+
$success-color: color("green", "base") !default;
|
|
45
|
+
$error-color: color("red", "base") !default;
|
|
46
|
+
$link-color: color("light-blue", "darken-1") !default;
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
// 2. Badges
|
|
50
|
+
// ==========================================================================
|
|
51
|
+
|
|
52
|
+
$badge-bg-color: $secondary-color !default;
|
|
53
|
+
$badge-height: 22px !default;
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
// 3. Buttons
|
|
57
|
+
// ==========================================================================
|
|
58
|
+
|
|
59
|
+
// Shared styles
|
|
60
|
+
$button-border: none !default;
|
|
61
|
+
$button-background-focus: lighten($secondary-color, 4%) !default;
|
|
62
|
+
$button-font-size: 14px !default;
|
|
63
|
+
$button-icon-font-size: 1.3rem !default;
|
|
64
|
+
$button-height: 36px !default;
|
|
65
|
+
$button-padding: 0 16px !default;
|
|
66
|
+
$button-radius: 2px !default;
|
|
67
|
+
|
|
68
|
+
// Disabled styles
|
|
69
|
+
$button-disabled-background: #DFDFDF !default;
|
|
70
|
+
$button-disabled-color: #9F9F9F !default;
|
|
71
|
+
|
|
72
|
+
// Raised buttons
|
|
73
|
+
$button-raised-background: $secondary-color !default;
|
|
74
|
+
$button-raised-background-hover: lighten($button-raised-background, 5%) !default;
|
|
75
|
+
$button-raised-color: #fff !default;
|
|
76
|
+
|
|
77
|
+
// Large buttons
|
|
78
|
+
$button-large-font-size: 15px !default;
|
|
79
|
+
$button-large-icon-font-size: 1.6rem !default;
|
|
80
|
+
$button-large-height: $button-height * 1.5 !default;
|
|
81
|
+
$button-floating-large-size: 56px !default;
|
|
82
|
+
|
|
83
|
+
// Small buttons
|
|
84
|
+
$button-small-font-size: 13px !default;
|
|
85
|
+
$button-small-icon-font-size: 1.2rem !default;
|
|
86
|
+
$button-small-height: $button-height * .9 !default;
|
|
87
|
+
$button-floating-small-size: $button-height * .9 !default;
|
|
88
|
+
|
|
89
|
+
// Flat buttons
|
|
90
|
+
$button-flat-color: #343434 !default;
|
|
91
|
+
$button-flat-disabled-color: lighten(#999, 10%) !default;
|
|
92
|
+
|
|
93
|
+
// Floating buttons
|
|
94
|
+
$button-floating-background: $secondary-color !default;
|
|
95
|
+
$button-floating-background-hover: $button-floating-background !default;
|
|
96
|
+
$button-floating-color: #fff !default;
|
|
97
|
+
$button-floating-size: 40px !default;
|
|
98
|
+
$button-floating-radius: 50% !default;
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
// 4. Cards
|
|
102
|
+
// ==========================================================================
|
|
103
|
+
|
|
104
|
+
$card-padding: 24px !default;
|
|
105
|
+
$card-bg-color: #fff !default;
|
|
106
|
+
$card-link-color: color("orange", "accent-2") !default;
|
|
107
|
+
$card-link-color-light: lighten($card-link-color, 20%) !default;
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
// 5. Carousel
|
|
111
|
+
// ==========================================================================
|
|
112
|
+
|
|
113
|
+
$carousel-height: 400px !default;
|
|
114
|
+
$carousel-item-height: $carousel-height * 0.5 !default;
|
|
115
|
+
$carousel-item-width: $carousel-item-height !default;
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
// 6. Collapsible
|
|
119
|
+
// ==========================================================================
|
|
120
|
+
|
|
121
|
+
$collapsible-height: 3rem !default;
|
|
122
|
+
$collapsible-line-height: $collapsible-height !default;
|
|
123
|
+
$collapsible-header-color: #fff !default;
|
|
124
|
+
$collapsible-border-color: #ddd !default;
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
// 7. Chips
|
|
128
|
+
// ==========================================================================
|
|
129
|
+
|
|
130
|
+
$chip-bg-color: #e4e4e4 !default;
|
|
131
|
+
$chip-border-color: #9e9e9e !default;
|
|
132
|
+
$chip-selected-color: #26a69a !default;
|
|
133
|
+
$chip-margin: 5px !default;
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
// 8. Date + Time Picker
|
|
137
|
+
// ==========================================================================
|
|
138
|
+
|
|
139
|
+
$datepicker-display-font-size: 2.8rem;
|
|
140
|
+
$datepicker-calendar-header-color: #999;
|
|
141
|
+
$datepicker-weekday-color: rgba(0, 0, 0, .87) !default;
|
|
142
|
+
$datepicker-weekday-bg: darken($secondary-color, 7%) !default;
|
|
143
|
+
$datepicker-date-bg: $secondary-color !default;
|
|
144
|
+
$datepicker-year: rgba(255, 255, 255, .7) !default;
|
|
145
|
+
$datepicker-focus: rgba(0,0,0, .05) !default;
|
|
146
|
+
$datepicker-selected: $secondary-color !default;
|
|
147
|
+
$datepicker-selected-outfocus: desaturate(lighten($secondary-color, 35%), 15%) !default;
|
|
148
|
+
$datepicker-day-focus: transparentize(desaturate($secondary-color, 5%), .75) !default;
|
|
149
|
+
$datepicker-disabled-day-color: rgba(0, 0, 0, .3) !default;
|
|
150
|
+
|
|
151
|
+
$timepicker-clock-color: rgba(0, 0, 0, .87) !default;
|
|
152
|
+
$timepicker-clock-plate-bg: #eee !default;
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
// 9. Dropdown
|
|
156
|
+
// ==========================================================================
|
|
157
|
+
|
|
158
|
+
$dropdown-bg-color: #fff !default;
|
|
159
|
+
$dropdown-hover-bg-color: #eee !default;
|
|
160
|
+
$dropdown-color: $secondary-color !default;
|
|
161
|
+
$dropdown-item-height: 50px !default;
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
// 10. Forms
|
|
165
|
+
// ==========================================================================
|
|
166
|
+
|
|
167
|
+
// Text Inputs + Textarea
|
|
168
|
+
$input-height: 3rem !default;
|
|
169
|
+
$input-border-color: color("grey", "base") !default;
|
|
170
|
+
$input-border: 1px solid $input-border-color !default;
|
|
171
|
+
$input-background: #fff !default;
|
|
172
|
+
$input-error-color: $error-color !default;
|
|
173
|
+
$input-success-color: $success-color !default;
|
|
174
|
+
$input-focus-color: $secondary-color !default;
|
|
175
|
+
$input-font-size: 16px !default;
|
|
176
|
+
$input-margin-bottom: 8px;
|
|
177
|
+
$input-margin: 0 0 $input-margin-bottom 0 !default;
|
|
178
|
+
$input-padding: 0 !default;
|
|
179
|
+
$label-font-size: .8rem !default;
|
|
180
|
+
$input-disabled-color: rgba(0,0,0, .42) !default;
|
|
181
|
+
$input-disabled-solid-color: #949494 !default;
|
|
182
|
+
$input-disabled-border: 1px dotted $input-disabled-color !default;
|
|
183
|
+
$input-invalid-border: 1px solid $input-error-color !default;
|
|
184
|
+
$input-icon-size: 2rem;
|
|
185
|
+
$placeholder-text-color: lighten($input-border-color, 20%) !default;
|
|
186
|
+
|
|
187
|
+
// Radio Buttons
|
|
188
|
+
$radio-fill-color: $secondary-color !default;
|
|
189
|
+
$radio-empty-color: #5a5a5a !default;
|
|
190
|
+
$radio-border: 2px solid $radio-fill-color !default;
|
|
191
|
+
|
|
192
|
+
// Range
|
|
193
|
+
$range-height: 14px !default;
|
|
194
|
+
$range-width: 14px !default;
|
|
195
|
+
$track-height: 3px !default;
|
|
196
|
+
|
|
197
|
+
// Select
|
|
198
|
+
$select-border: 1px solid #f2f2f2 !default;
|
|
199
|
+
$select-background: rgba(255, 255, 255, 0.90) !default;
|
|
200
|
+
$select-focus: 1px solid lighten($secondary-color, 47%) !default;
|
|
201
|
+
$select-option-hover: rgba(0,0,0,.08) !default;
|
|
202
|
+
$select-option-focus: rgba(0,0,0,.08) !default;
|
|
203
|
+
$select-option-selected: rgba(0,0,0,.03) !default;
|
|
204
|
+
$select-padding: 5px !default;
|
|
205
|
+
$select-radius: 2px !default;
|
|
206
|
+
$select-disabled-color: rgba(0,0,0,.3) !default;
|
|
207
|
+
|
|
208
|
+
// Switches
|
|
209
|
+
$switch-bg-color: $secondary-color !default;
|
|
210
|
+
$switch-checked-lever-bg: desaturate(lighten($switch-bg-color, 25%), 25%) !default;
|
|
211
|
+
$switch-unchecked-bg: #F1F1F1 !default;
|
|
212
|
+
$switch-unchecked-lever-bg: rgba(0,0,0,.38) !default;
|
|
213
|
+
$switch-radius: 15px !default;
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
// 11. Global
|
|
217
|
+
// ==========================================================================
|
|
218
|
+
|
|
219
|
+
// Media Query Ranges
|
|
220
|
+
$small-screen-up: 601px !default;
|
|
221
|
+
$medium-screen-up: 993px !default;
|
|
222
|
+
$large-screen-up: 1201px !default;
|
|
223
|
+
$small-screen: 600.99px !default;
|
|
224
|
+
$medium-screen: 992.99px !default;
|
|
225
|
+
$large-screen: 1200.99px !default;
|
|
226
|
+
|
|
227
|
+
$medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
|
|
228
|
+
$large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
|
|
229
|
+
$extra-large-and-up: "only screen and (min-width : #{$large-screen-up})" !default;
|
|
230
|
+
$small-and-down: "only screen and (max-width : #{$small-screen})" !default;
|
|
231
|
+
$medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
|
|
232
|
+
$medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
// 12. Grid
|
|
236
|
+
// ==========================================================================
|
|
237
|
+
|
|
238
|
+
$num-cols: 12 !default;
|
|
239
|
+
$gutter-width: 1.5rem !default;
|
|
240
|
+
$element-top-margin: math.div($gutter-width, 3) !default;
|
|
241
|
+
$element-bottom-margin: math.div($gutter-width*2, 3) !default;
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
// 13. Navigation Bar
|
|
245
|
+
// ==========================================================================
|
|
246
|
+
|
|
247
|
+
$navbar-height: 64px !default;
|
|
248
|
+
$navbar-line-height: $navbar-height !default;
|
|
249
|
+
$navbar-height-mobile: 56px !default;
|
|
250
|
+
$navbar-line-height-mobile: $navbar-height-mobile !default;
|
|
251
|
+
$navbar-font-size: 1rem !default;
|
|
252
|
+
$navbar-font-color: #fff !default;
|
|
253
|
+
$navbar-brand-font-size: 2.1rem !default;
|
|
254
|
+
|
|
255
|
+
// 14. Side Navigation
|
|
256
|
+
// ==========================================================================
|
|
257
|
+
|
|
258
|
+
$sidenav-width: 300px !default;
|
|
259
|
+
$sidenav-font-size: 14px !default;
|
|
260
|
+
$sidenav-font-color: rgba(0,0,0,.87) !default;
|
|
261
|
+
$sidenav-bg-color: #fff !default;
|
|
262
|
+
$sidenav-padding: 16px !default;
|
|
263
|
+
$sidenav-item-height: 48px !default;
|
|
264
|
+
$sidenav-line-height: $sidenav-item-height !default;
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
// 15. Photo Slider
|
|
268
|
+
// ==========================================================================
|
|
269
|
+
|
|
270
|
+
$slider-bg-color: color('grey', 'base') !default;
|
|
271
|
+
$slider-bg-color-light: color('grey', 'lighten-2') !default;
|
|
272
|
+
$slider-indicator-color: color('green', 'base') !default;
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
// 16. Spinners | Loaders
|
|
276
|
+
// ==========================================================================
|
|
277
|
+
|
|
278
|
+
$spinner-default-color: $secondary-color !default;
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
// 17. Tabs
|
|
282
|
+
// ==========================================================================
|
|
283
|
+
|
|
284
|
+
$tabs-underline-color: $primary-color-light !default;
|
|
285
|
+
$tabs-text-color: $primary-color !default;
|
|
286
|
+
$tabs-bg-color: #fff !default;
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
// 18. Tables
|
|
290
|
+
// ==========================================================================
|
|
291
|
+
|
|
292
|
+
$table-border-color: rgba(0,0,0,.12) !default;
|
|
293
|
+
$table-striped-color: rgba(242, 242, 242, 0.5) !default;
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
// 19. Toasts
|
|
297
|
+
// ==========================================================================
|
|
298
|
+
|
|
299
|
+
$toast-height: 48px !default;
|
|
300
|
+
$toast-color: #323232 !default;
|
|
301
|
+
$toast-text-color: #fff !default;
|
|
302
|
+
$toast-action-color: #eeff41;
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
// 20. Typography
|
|
306
|
+
// ==========================================================================
|
|
307
|
+
|
|
308
|
+
$font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !default;
|
|
309
|
+
$off-black: rgba(0, 0, 0, 0.87) !default;
|
|
310
|
+
// Header Styles
|
|
311
|
+
$h1-fontsize: 4.2rem !default;
|
|
312
|
+
$h2-fontsize: 3.56rem !default;
|
|
313
|
+
$h3-fontsize: 2.92rem !default;
|
|
314
|
+
$h4-fontsize: 2.28rem !default;
|
|
315
|
+
$h5-fontsize: 1.64rem !default;
|
|
316
|
+
$h6-fontsize: 1.15rem !default;
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
// 21. Footer
|
|
320
|
+
// ==========================================================================
|
|
321
|
+
|
|
322
|
+
$footer-font-color: #fff !default;
|
|
323
|
+
$footer-bg-color: $primary-color !default;
|
|
324
|
+
$footer-copyright-font-color: rgba(255,255,255,.8) !default;
|
|
325
|
+
$footer-copyright-bg-color: rgba(51,51,51,.08) !default;
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
// 22. Flow Text
|
|
329
|
+
// ==========================================================================
|
|
330
|
+
|
|
331
|
+
$range : $large-screen - $small-screen !default;
|
|
332
|
+
$intervals: 20 !default;
|
|
333
|
+
$interval-size: math.div($range, $intervals) !default;
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
// 23. Collections
|
|
337
|
+
// ==========================================================================
|
|
338
|
+
|
|
339
|
+
$collection-border-color: #e0e0e0 !default;
|
|
340
|
+
$collection-bg-color: #fff !default;
|
|
341
|
+
$collection-active-bg-color: $secondary-color !default;
|
|
342
|
+
$collection-active-color: lighten($secondary-color, 55%) !default;
|
|
343
|
+
$collection-hover-bg-color: #ddd !default;
|
|
344
|
+
$collection-link-color: $secondary-color !default;
|
|
345
|
+
$collection-line-height: 1.5rem !default;
|
|
346
|
+
$collection-border-radius: 2px !default;
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
// 24. Progress Bar
|
|
350
|
+
// ==========================================================================
|
|
351
|
+
|
|
352
|
+
$progress-bar-color: $secondary-color !default;
|