@materializecss/materialize 1.2.2 → 2.0.1-alpha

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.
Files changed (90) hide show
  1. package/Gruntfile.js +68 -313
  2. package/README.md +26 -14
  3. package/dist/css/materialize.css +1009 -1822
  4. package/dist/css/materialize.min.css +2 -8
  5. package/dist/js/materialize.js +8414 -12299
  6. package/dist/js/materialize.min.js +8968 -2
  7. package/dist/js/materialize.min.js.map +1 -0
  8. package/package.json +13 -9
  9. package/sass/components/_badges.scss +12 -2
  10. package/sass/components/_buttons.scss +16 -11
  11. package/sass/components/_cards.scss +14 -9
  12. package/sass/components/_carousel.scss +5 -2
  13. package/sass/components/_chips.scss +3 -3
  14. package/sass/components/_collapsible.scss +22 -8
  15. package/sass/components/_collection.scss +14 -6
  16. package/sass/components/_datepicker.scss +30 -11
  17. package/sass/components/_dropdown.scss +6 -4
  18. package/sass/components/_global.scss +132 -111
  19. package/sass/components/_grid.scss +119 -98
  20. package/sass/components/_modal.scss +3 -3
  21. package/sass/components/_navbar.scss +31 -17
  22. package/sass/components/_normalize.scss +26 -124
  23. package/sass/components/_sidenav.scss +21 -20
  24. package/sass/components/_slider.scss +27 -7
  25. package/sass/components/_table_of_contents.scss +12 -12
  26. package/sass/components/_tabs.scss +47 -16
  27. package/sass/components/_tapTarget.scss +6 -6
  28. package/sass/components/_theme_variables.scss +98 -0
  29. package/sass/components/_timepicker.scss +54 -46
  30. package/sass/components/_toast.scss +3 -3
  31. package/sass/components/_tooltip.scss +4 -5
  32. package/sass/components/_typography.scss +1 -1
  33. package/sass/components/_variables.scss +185 -120
  34. package/sass/components/forms/_checkboxes.scss +9 -9
  35. package/sass/components/forms/_file-input.scss +9 -7
  36. package/sass/components/forms/_input-fields.scss +173 -234
  37. package/sass/components/forms/_radio-buttons.scss +1 -1
  38. package/sass/components/forms/_range.scss +11 -11
  39. package/sass/components/forms/_select.scss +29 -19
  40. package/sass/components/forms/_switches.scss +22 -18
  41. package/sass/materialize.scss +1 -1
  42. package/src/autocomplete.ts +459 -0
  43. package/src/bounding.ts +6 -0
  44. package/{js/buttons.js → src/buttons.ts} +103 -162
  45. package/src/cards.ts +54 -0
  46. package/{js/carousel.js → src/carousel.ts} +137 -262
  47. package/src/characterCounter.ts +88 -0
  48. package/src/chips.ts +350 -0
  49. package/src/collapsible.ts +184 -0
  50. package/{js/component.js → src/component.ts} +6 -19
  51. package/{js/datepicker.js → src/datepicker.ts} +213 -299
  52. package/{js/dropdown.js → src/dropdown.ts} +140 -254
  53. package/src/edges.ts +6 -0
  54. package/src/forms.ts +120 -0
  55. package/src/global.ts +385 -0
  56. package/src/materialbox.ts +348 -0
  57. package/src/modal.ts +256 -0
  58. package/{js/parallax.js → src/parallax.ts} +47 -60
  59. package/{js/pushpin.js → src/pushpin.ts} +19 -47
  60. package/{js/range.js → src/range.ts} +58 -139
  61. package/{js/scrollspy.js → src/scrollspy.ts} +81 -153
  62. package/src/select.ts +448 -0
  63. package/{js/sidenav.js → src/sidenav.ts} +96 -202
  64. package/src/slider.ts +415 -0
  65. package/src/tabs.ts +293 -0
  66. package/src/tapTarget.ts +240 -0
  67. package/{js/timepicker.js → src/timepicker.ts} +268 -272
  68. package/{js/toasts.js → src/toasts.ts} +75 -134
  69. package/{js/tooltip.js → src/tooltip.ts} +59 -96
  70. package/src/waves.ts +70 -0
  71. package/extras/noUiSlider/nouislider.css +0 -404
  72. package/extras/noUiSlider/nouislider.js +0 -2147
  73. package/extras/noUiSlider/nouislider.min.js +0 -1
  74. package/js/anime.min.js +0 -34
  75. package/js/autocomplete.js +0 -479
  76. package/js/cards.js +0 -40
  77. package/js/cash.js +0 -960
  78. package/js/characterCounter.js +0 -136
  79. package/js/chips.js +0 -486
  80. package/js/collapsible.js +0 -275
  81. package/js/forms.js +0 -285
  82. package/js/global.js +0 -428
  83. package/js/materialbox.js +0 -453
  84. package/js/modal.js +0 -382
  85. package/js/select.js +0 -391
  86. package/js/slider.js +0 -497
  87. package/js/tabs.js +0 -402
  88. package/js/tapTarget.js +0 -315
  89. package/js/waves.js +0 -615
  90. package/sass/components/_waves.scss +0 -187
@@ -1,17 +1,15 @@
1
- /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
2
 
3
3
  /* Document
4
4
  ========================================================================== */
5
5
 
6
6
  /**
7
7
  * 1. Correct the line height in all browsers.
8
- * 2. Prevent adjustments of font size after orientation changes in
9
- * IE on Windows Phone and in iOS.
8
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
10
9
  */
11
10
 
12
11
  html {
13
12
  line-height: 1.15; /* 1 */
14
- -ms-text-size-adjust: 100%; /* 2 */
15
13
  -webkit-text-size-adjust: 100%; /* 2 */
16
14
  }
17
15
 
@@ -19,7 +17,7 @@ html {
19
17
  ========================================================================== */
20
18
 
21
19
  /**
22
- * Remove the margin in all browsers (opinionated).
20
+ * Remove the margin in all browsers.
23
21
  */
24
22
 
25
23
  body {
@@ -27,15 +25,10 @@ body {
27
25
  }
28
26
 
29
27
  /**
30
- * Add the correct display in IE 9-.
28
+ * Render the `main` element consistently in IE.
31
29
  */
32
30
 
33
- article,
34
- aside,
35
- footer,
36
- header,
37
- nav,
38
- section {
31
+ main {
39
32
  display: block;
40
33
  }
41
34
 
@@ -52,25 +45,6 @@ h1 {
52
45
  /* Grouping content
53
46
  ========================================================================== */
54
47
 
55
- /**
56
- * Add the correct display in IE 9-.
57
- * 1. Add the correct display in IE.
58
- */
59
-
60
- figcaption,
61
- figure,
62
- main { /* 1 */
63
- display: block;
64
- }
65
-
66
- /**
67
- * Add the correct margin in IE 8.
68
- */
69
-
70
- figure {
71
- margin: 1em 40px;
72
- }
73
-
74
48
  /**
75
49
  * 1. Add the correct box sizing in Firefox.
76
50
  * 2. Show the overflow in Edge and IE.
@@ -96,17 +70,15 @@ pre {
96
70
  ========================================================================== */
97
71
 
98
72
  /**
99
- * 1. Remove the gray background on active links in IE 10.
100
- * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
73
+ * Remove the gray background on active links in IE 10.
101
74
  */
102
75
 
103
76
  a {
104
- background-color: transparent; /* 1 */
105
- -webkit-text-decoration-skip: objects; /* 2 */
77
+ background-color: transparent;
106
78
  }
107
79
 
108
80
  /**
109
- * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
81
+ * 1. Remove the bottom border in Chrome 57-
110
82
  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
111
83
  */
112
84
 
@@ -116,15 +88,6 @@ abbr[title] {
116
88
  text-decoration: underline dotted; /* 2 */
117
89
  }
118
90
 
119
- /**
120
- * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
121
- */
122
-
123
- b,
124
- strong {
125
- font-weight: inherit;
126
- }
127
-
128
91
  /**
129
92
  * Add the correct font weight in Chrome, Edge, and Safari.
130
93
  */
@@ -146,23 +109,6 @@ samp {
146
109
  font-size: 1em; /* 2 */
147
110
  }
148
111
 
149
- /**
150
- * Add the correct font style in Android 4.3-.
151
- */
152
-
153
- dfn {
154
- font-style: italic;
155
- }
156
-
157
- /**
158
- * Add the correct background and color in IE 9-.
159
- */
160
-
161
- mark {
162
- background-color: #ff0;
163
- color: #000;
164
- }
165
-
166
112
  /**
167
113
  * Add the correct font size in all browsers.
168
114
  */
@@ -196,44 +142,18 @@ sup {
196
142
  ========================================================================== */
197
143
 
198
144
  /**
199
- * Add the correct display in IE 9-.
200
- */
201
-
202
- audio,
203
- video {
204
- display: inline-block;
205
- }
206
-
207
- /**
208
- * Add the correct display in iOS 4-7.
209
- */
210
-
211
- audio:not([controls]) {
212
- display: none;
213
- height: 0;
214
- }
215
-
216
- /**
217
- * Remove the border on images inside links in IE 10-.
145
+ * Remove the border on images inside links in IE 10.
218
146
  */
219
147
 
220
148
  img {
221
149
  border-style: none;
222
150
  }
223
151
 
224
- /**
225
- * Hide the overflow in IE.
226
- */
227
-
228
- svg:not(:root) {
229
- overflow: hidden;
230
- }
231
-
232
152
  /* Forms
233
153
  ========================================================================== */
234
154
 
235
155
  /**
236
- * 1. Change the font styles in all browsers (opinionated).
156
+ * 1. Change the font styles in all browsers.
237
157
  * 2. Remove the margin in Firefox and Safari.
238
158
  */
239
159
 
@@ -242,7 +162,7 @@ input,
242
162
  optgroup,
243
163
  select,
244
164
  textarea {
245
- font-family: sans-serif; /* 1 */
165
+ font-family: inherit; /* 1 */
246
166
  font-size: 100%; /* 1 */
247
167
  line-height: 1.15; /* 1 */
248
168
  margin: 0; /* 2 */
@@ -269,16 +189,14 @@ select { /* 1 */
269
189
  }
270
190
 
271
191
  /**
272
- * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
273
- * controls in Android 4.
274
- * 2. Correct the inability to style clickable types in iOS and Safari.
192
+ * Correct the inability to style clickable types in iOS and Safari.
275
193
  */
276
194
 
277
195
  button,
278
- html [type="button"], /* 1 */
196
+ [type="button"],
279
197
  [type="reset"],
280
198
  [type="submit"] {
281
- -webkit-appearance: button; /* 2 */
199
+ -webkit-appearance: button;
282
200
  }
283
201
 
284
202
  /**
@@ -329,17 +247,15 @@ legend {
329
247
  }
330
248
 
331
249
  /**
332
- * 1. Add the correct display in IE 9-.
333
- * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
250
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
334
251
  */
335
252
 
336
253
  progress {
337
- display: inline-block; /* 1 */
338
- vertical-align: baseline; /* 2 */
254
+ vertical-align: baseline;
339
255
  }
340
256
 
341
257
  /**
342
- * Remove the default vertical scrollbar in IE.
258
+ * Remove the default vertical scrollbar in IE 10+.
343
259
  */
344
260
 
345
261
  textarea {
@@ -347,8 +263,8 @@ textarea {
347
263
  }
348
264
 
349
265
  /**
350
- * 1. Add the correct box sizing in IE 10-.
351
- * 2. Remove the padding in IE 10-.
266
+ * 1. Add the correct box sizing in IE 10.
267
+ * 2. Remove the padding in IE 10.
352
268
  */
353
269
 
354
270
  [type="checkbox"],
@@ -377,10 +293,9 @@ textarea {
377
293
  }
378
294
 
379
295
  /**
380
- * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
296
+ * Remove the inner padding in Chrome and Safari on macOS.
381
297
  */
382
298
 
383
- [type="search"]::-webkit-search-cancel-button,
384
299
  [type="search"]::-webkit-search-decoration {
385
300
  -webkit-appearance: none;
386
301
  }
@@ -399,12 +314,10 @@ textarea {
399
314
  ========================================================================== */
400
315
 
401
316
  /*
402
- * Add the correct display in IE 9-.
403
- * 1. Add the correct display in Edge, IE, and Firefox.
317
+ * Add the correct display in Edge, IE 10+, and Firefox.
404
318
  */
405
319
 
406
- details, /* 1 */
407
- menu {
320
+ details {
408
321
  display: block;
409
322
  }
410
323
 
@@ -416,32 +329,21 @@ summary {
416
329
  display: list-item;
417
330
  }
418
331
 
419
- /* Scripting
332
+ /* Misc
420
333
  ========================================================================== */
421
334
 
422
335
  /**
423
- * Add the correct display in IE 9-.
424
- */
425
-
426
- canvas {
427
- display: inline-block;
428
- }
429
-
430
- /**
431
- * Add the correct display in IE.
336
+ * Add the correct display in IE 10+.
432
337
  */
433
338
 
434
339
  template {
435
340
  display: none;
436
341
  }
437
342
 
438
- /* Hidden
439
- ========================================================================== */
440
-
441
343
  /**
442
- * Add the correct display in IE 10-.
344
+ * Add the correct display in IE 10.
443
345
  */
444
346
 
445
347
  [hidden] {
446
348
  display: none;
447
- }
349
+ }
@@ -28,16 +28,20 @@
28
28
  margin: 0;
29
29
  }
30
30
 
31
-
32
31
  li {
33
32
  float: none;
34
33
  line-height: $sidenav-line-height;
35
34
 
36
- &.active { background-color: rgba(0,0,0,.05); }
35
+ &:hover {
36
+ background-color: $button-flat-hover-background-color;
37
+ }
38
+
39
+ &.active {
40
+ background-color: $button-flat-focus-background-color;
41
+ }
37
42
  }
38
43
 
39
44
  li > a {
40
- color: $sidenav-font-color;
41
45
  display: block;
42
46
  font-size: $sidenav-font-size;
43
47
  font-weight: 500;
@@ -45,21 +49,14 @@
45
49
  line-height: $sidenav-line-height;
46
50
  padding: 0 ($sidenav-padding * 2);
47
51
 
48
- &:hover { background-color: rgba(0,0,0,.05);}
52
+ &:not(.btn):not(.btn-flat):not(.btn-large):not(.btn-floating) {
53
+ color: $sidenav-font-color;
54
+ }
49
55
 
50
56
  &.btn, &.btn-large, &.btn-flat, &.btn-floating {
51
57
  margin: 10px 15px;
52
58
  }
53
59
 
54
- &.btn,
55
- &.btn-large,
56
- &.btn-floating { color: $button-raised-color; }
57
- &.btn-flat { color: $button-flat-color; }
58
-
59
- &.btn:hover,
60
- &.btn-large:hover { background-color: lighten($button-raised-background, 5%); }
61
- &.btn-floating:hover { background-color: $button-raised-background; }
62
-
63
60
  & > i,
64
61
  & > [class^="mdi-"], li > a > [class*="mdi-"],
65
62
  & > i.material-icons {
@@ -68,7 +65,7 @@
68
65
  line-height: $sidenav-line-height;
69
66
  margin: 0 ($sidenav-padding * 2) 0 0;
70
67
  width: $sidenav-item-height * 0.5;
71
- color: rgba(0,0,0,.54);
68
+ color: $sidenav-icon-color;
72
69
  }
73
70
  }
74
71
 
@@ -84,7 +81,7 @@
84
81
 
85
82
  cursor: initial;
86
83
  pointer-events: none;
87
- color: rgba(0,0,0,.54);
84
+ color: $sidenav-subheader-color;
88
85
  font-size: $sidenav-font-size;
89
86
  font-weight: 500;
90
87
  line-height: $sidenav-line-height;
@@ -96,7 +93,10 @@
96
93
  margin-bottom: $sidenav-padding * 0.5;
97
94
 
98
95
  & > a {
99
- &:hover { background-color: transparent; }
96
+ &:hover {
97
+ background-color: transparent;
98
+ }
99
+
100
100
  height: auto;
101
101
  padding: 0;
102
102
  }
@@ -192,15 +192,16 @@
192
192
  .sidenav .collapsible-body > ul:not(.collapsible) > li.active,
193
193
  .sidenav.sidenav-fixed .collapsible-body > ul:not(.collapsible) > li.active {
194
194
  background-color: $primary-color;
195
- a {
196
- color: $sidenav-bg-color;
195
+
196
+ a:not(.btn) {
197
+ color: $font-on-primary-color-main;
197
198
  }
198
199
  }
200
+
199
201
  .sidenav .collapsible-body {
200
202
  padding: 0;
201
203
  }
202
204
 
203
-
204
205
  .sidenav-overlay {
205
206
  position: fixed;
206
207
  top: 0;
@@ -208,7 +209,7 @@
208
209
  right: 0;
209
210
  opacity: 0;
210
211
  height: 120vh;
211
- background-color: rgba(0,0,0,.5);
212
+ background-color: rgba(0, 0, 0, .5);
212
213
  z-index: 997;
213
214
  display: none;
214
215
  }
@@ -14,12 +14,25 @@
14
14
  bottom: 0;
15
15
 
16
16
  ul.slides {
17
+ padding-left: 0;
18
+ list-style-type: none;
17
19
  height: 100%;
18
20
  }
19
21
 
20
22
  ul.indicators {
23
+ padding-left: 0;
24
+ list-style-type: none;
21
25
  z-index: 2;
22
26
  bottom: 30px;
27
+
28
+ .indicator-item {
29
+ background-color: $slider-fullscreen-indicator-color;
30
+
31
+ &.active {
32
+ background-color: $slider-fullscreen-indicator-color-active;
33
+ }
34
+ }
35
+
23
36
  }
24
37
  }
25
38
 
@@ -27,8 +40,12 @@
27
40
  background-color: $slider-bg-color;
28
41
  margin: 0;
29
42
  height: 400px;
43
+ padding-left: 0;
44
+ list-style-type: none;
30
45
 
31
46
  li {
47
+ padding-left: 0;
48
+ list-style-type: none;
32
49
  opacity: 0;
33
50
  position: absolute;
34
51
  top: 0;
@@ -53,7 +70,9 @@
53
70
  width: 70%;
54
71
  opacity: 0;
55
72
 
56
- p { color: $slider-bg-color-light; }
73
+ p {
74
+ color: rgba(255, 255, 255, 0.75);
75
+ }
57
76
  }
58
77
 
59
78
  &.active {
@@ -62,8 +81,9 @@
62
81
  }
63
82
  }
64
83
 
65
-
66
84
  .indicators {
85
+ padding-left: 0;
86
+ list-style-type: none;
67
87
  position: absolute;
68
88
  text-align: center;
69
89
  left: 0;
@@ -80,22 +100,22 @@
80
100
  }
81
101
 
82
102
  .indicator-item-btn {
83
- &.active {
84
- background-color: $slider-indicator-color;
85
- }
86
103
  position: absolute;
87
104
  top: 0;
88
105
  left: 0;
89
106
  cursor: pointer;
90
- background-color: $slider-bg-color-light;
107
+ background-color: $slider-indicator-color;
91
108
 
92
109
  transition: background-color .3s;
93
110
  border-radius: 50%;
94
111
  border-width: 0;
112
+
113
+ &.active {
114
+ background-color: $slider-indicator-color-active;
115
+ }
95
116
 
96
117
  width: 100%;
97
118
  height: 100%;
98
119
  }
99
120
  }
100
-
101
121
  }
@@ -3,28 +3,28 @@
3
3
  ***************/
4
4
  .table-of-contents {
5
5
  &.fixed {
6
- position: fixed;
7
- }
6
+ position: fixed;
7
+ }
8
8
 
9
9
  li {
10
- padding: 2px 0;
10
+ padding: 0;
11
11
  }
12
+
12
13
  a {
13
14
  display: inline-block;
14
- font-weight: 300;
15
- color: #757575;
15
+ font-weight: 400;
16
+ color: $font-color-medium;
16
17
  padding-left: 16px;
17
- height: 1.5rem;
18
- line-height: 1.5rem;
19
- letter-spacing: .4;
20
- display: inline-block;
21
-
18
+ height: 2rem;
19
+ line-height: 2rem;
20
+ border-left: 1px solid $divider-color;
21
+
22
22
  &:hover {
23
- color: lighten(#757575, 20%);
23
+ color: $font-color-main;
24
24
  padding-left: 15px;
25
- border-left: 1px solid $primary-color;
26
25
  }
27
26
  &.active {
27
+ color: $primary-color;
28
28
  font-weight: 500;
29
29
  padding-left: 14px;
30
30
  border-left: 2px solid $primary-color;
@@ -1,26 +1,42 @@
1
1
  .tabs {
2
+ padding-left: 0;
3
+ list-style-type: none;
4
+
2
5
  &.tabs-transparent {
3
6
  background-color: transparent;
4
7
 
5
- .tab a,
8
+ .tab a {
9
+ color: $font-on-primary-color-medium;
10
+ }
11
+
6
12
  .tab.disabled a,
7
- .tab.disabled a:hover {
8
- color: rgba(255,255,255,0.7);
13
+ .tab.disabled a:hover,
14
+ .tab.disabled a:focus {
15
+ color: $font-on-primary-color-disabled;
16
+ }
17
+
18
+ .tab a:hover {
19
+ background-color: $surface-hover-color-opaque;
20
+ }
21
+
22
+ .tab a.active,
23
+ .tab a:focus {
24
+ background-color: transparent;
9
25
  }
10
26
 
11
27
  .tab a:hover,
12
- .tab a.active {
13
- color: #fff;
28
+ .tab a.active,
29
+ .tab a:focus {
30
+ color: $font-on-primary-color-main;
14
31
  }
15
32
 
16
33
  .indicator {
17
- background-color: #fff;
34
+ background-color: $font-on-primary-color-main;
18
35
  }
19
36
  }
20
37
 
21
38
  &.tabs-fixed-width {
22
39
  display: flex;
23
-
24
40
  .tab {
25
41
  flex-grow: 1;
26
42
  }
@@ -36,28 +52,37 @@
36
52
  white-space: nowrap;
37
53
 
38
54
  .tab {
55
+ padding-left: 0;
56
+ list-style-type: none;
39
57
  display: inline-block;
40
58
  text-align: center;
41
59
  line-height: 48px;
42
60
  height: 48px;
43
61
  padding: 0;
44
62
  margin: 0;
45
- text-transform: uppercase;
46
63
 
47
64
  a {
65
+ &.active {
66
+ background-color: transparent;
67
+ }
68
+
69
+ &.active,
48
70
  &:focus,
49
- &:focus.active {
50
- background-color: transparentize($tabs-underline-color, .8);
51
- outline: none;
71
+ &:hover {
72
+ color: $tabs-text-active-color;
73
+ }
74
+
75
+ &:hover {
76
+ background-color: $primary-color-hover-opaque;
52
77
  }
53
78
 
54
- &:hover,
79
+ &:focus,
55
80
  &.active {
56
- background-color: transparent;
57
- color: $tabs-text-color;
81
+ background-color: $primary-color-focus-opaque;
82
+ outline: none;
58
83
  }
59
84
 
60
- color: rgba($tabs-text-color, .7);
85
+ color: $tabs-text-inactive-color;
61
86
  display: block;
62
87
  width: 100%;
63
88
  height: 100%;
@@ -70,10 +95,16 @@
70
95
 
71
96
  &.disabled a,
72
97
  &.disabled a:hover {
73
- color: rgba($tabs-text-color, .4);
98
+ &:not(:focus) {
99
+ background-color: transparent;
100
+ }
101
+
102
+ color: $tabs-text-disabled-color;
74
103
  cursor: default;
104
+ background-color: transparent;
75
105
  }
76
106
  }
107
+
77
108
  .indicator {
78
109
  position: absolute;
79
110
  bottom: 0;
@@ -36,15 +36,15 @@
36
36
  position: absolute;
37
37
  font-size: 1rem;
38
38
  border-radius: 50%;
39
- background-color: $primary-color;
40
- box-shadow: 0 20px 20px 0 rgba(0,0,0,0.14), 0 10px 50px 0 rgba(0,0,0,0.12), 0 30px 10px -20px rgba(0,0,0,0.2);
39
+ background-color: $secondary-color;
40
+ color: $font-on-secondary-color-main;
41
+ box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.14), 0 10px 50px 0 rgba(0, 0, 0, 0.12), 0 30px 10px -20px rgba(0, 0, 0, 0.2);
41
42
  width: 100%;
42
43
  height: 100%;
43
44
  opacity: 0;
44
45
  transform: scale(0);
45
- transition:
46
- transform .3s cubic-bezier(.42,0,.58,1),
47
- opacity .3s cubic-bezier(.42,0,.58,1);
46
+ transition: transform .3s cubic-bezier(.42, 0, .58, 1),
47
+ opacity .3s cubic-bezier(.42, 0, .58, 1);
48
48
  }
49
49
 
50
50
  .tap-target-content {
@@ -61,7 +61,7 @@
61
61
  width: 100%;
62
62
  height: 100%;
63
63
  border-radius: 50%;
64
- background-color: #ffffff;
64
+ background-color: $surface-color
65
65
  }
66
66
  &::before {
67
67
  transform: scale(0);