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.
Files changed (103) hide show
  1. package/README.md +286 -306
  2. package/dist/advanced.css +1888 -0
  3. package/dist/autocomplete.d.ts +12 -4
  4. package/dist/breadcrumb.d.ts +53 -0
  5. package/dist/button.d.ts +10 -10
  6. package/dist/carousel.d.ts +26 -7
  7. package/dist/chip.d.ts +2 -2
  8. package/dist/code-block.d.ts +2 -3
  9. package/dist/collapsible.d.ts +12 -7
  10. package/dist/collection.d.ts +8 -8
  11. package/dist/components.css +2310 -0
  12. package/dist/core.css +3402 -0
  13. package/dist/datepicker.d.ts +66 -0
  14. package/dist/dropdown.d.ts +5 -5
  15. package/dist/file-upload.d.ts +34 -0
  16. package/dist/floating-action-button.d.ts +9 -5
  17. package/dist/forms.css +2284 -0
  18. package/dist/icon.d.ts +2 -2
  19. package/dist/index.css +9284 -2
  20. package/dist/index.d.ts +13 -3
  21. package/dist/index.esm.js +6188 -2
  22. package/dist/index.js +6263 -2
  23. package/dist/index.min.css +8 -0
  24. package/dist/index.umd.js +6267 -2
  25. package/dist/input-options.d.ts +3 -1
  26. package/dist/input.d.ts +17 -12
  27. package/dist/label.d.ts +6 -5
  28. package/dist/material-box.d.ts +22 -4
  29. package/dist/material-icon.d.ts +14 -0
  30. package/dist/modal.d.ts +23 -7
  31. package/dist/option.d.ts +12 -11
  32. package/dist/pagination.d.ts +5 -9
  33. package/dist/parallax.d.ts +8 -6
  34. package/dist/pickers.css +487 -0
  35. package/dist/pushpin.d.ts +32 -0
  36. package/dist/radio.d.ts +10 -6
  37. package/dist/select.d.ts +5 -5
  38. package/dist/sidenav.d.ts +76 -0
  39. package/dist/switch.d.ts +4 -5
  40. package/dist/tabs.d.ts +18 -7
  41. package/dist/theme-switcher.d.ts +49 -0
  42. package/dist/timepicker.d.ts +42 -0
  43. package/dist/toast.d.ts +45 -0
  44. package/dist/tooltip.d.ts +59 -0
  45. package/dist/utilities.css +3197 -0
  46. package/dist/utils.d.ts +17 -0
  47. package/dist/wizard.d.ts +58 -0
  48. package/package.json +47 -14
  49. package/sass/components/_badges.scss +59 -0
  50. package/sass/components/_breadcrumb.scss +248 -0
  51. package/sass/components/_buttons.scss +327 -0
  52. package/sass/components/_cards.scss +197 -0
  53. package/sass/components/_carousel.scss +92 -0
  54. package/sass/components/_chips.scss +92 -0
  55. package/sass/components/_collapsible.scss +94 -0
  56. package/sass/components/_color-classes.scss +34 -0
  57. package/sass/components/_color-variables.scss +371 -0
  58. package/sass/components/_datepicker.scss +282 -0
  59. package/sass/components/_dropdown.scss +90 -0
  60. package/sass/components/_file-upload.scss +228 -0
  61. package/sass/components/_global.scss +777 -0
  62. package/sass/components/_grid.scss +160 -0
  63. package/sass/components/_icons-material-design.scss +5 -0
  64. package/sass/components/_materialbox.scss +43 -0
  65. package/sass/components/_modal.scss +100 -0
  66. package/sass/components/_navbar.scss +219 -0
  67. package/sass/components/_normalize.scss +447 -0
  68. package/sass/components/_preloader.scss +336 -0
  69. package/sass/components/_pulse.scss +34 -0
  70. package/sass/components/_sidenav.scss +370 -0
  71. package/sass/components/_slider.scss +94 -0
  72. package/sass/components/_table_of_contents.scss +36 -0
  73. package/sass/components/_tabs.scss +103 -0
  74. package/sass/components/_tapTarget.scss +105 -0
  75. package/sass/components/_theme-switcher.scss +120 -0
  76. package/sass/components/_theme-variables.scss +205 -0
  77. package/sass/components/_timepicker.scss +262 -0
  78. package/sass/components/_toast.scss +61 -0
  79. package/sass/components/_tooltip.scss +32 -0
  80. package/sass/components/_transitions.scss +13 -0
  81. package/sass/components/_typography.scss +61 -0
  82. package/sass/components/_variables.scss +352 -0
  83. package/sass/components/_waves.scss +114 -0
  84. package/sass/components/_wizard.scss +416 -0
  85. package/sass/components/forms/_checkboxes.scss +203 -0
  86. package/sass/components/forms/_file-input.scss +50 -0
  87. package/sass/components/forms/_form-groups.scss +28 -0
  88. package/sass/components/forms/_forms.scss +24 -0
  89. package/sass/components/forms/_input-fields.scss +383 -0
  90. package/sass/components/forms/_radio-buttons.scss +118 -0
  91. package/sass/components/forms/_range.scss +164 -0
  92. package/sass/components/forms/_select.scss +193 -0
  93. package/sass/components/forms/_switches.scss +92 -0
  94. package/sass/materialize.scss +48 -0
  95. package/dist/index.css.map +0 -1
  96. package/dist/index.esm.js.map +0 -1
  97. package/dist/index.js.map +0 -1
  98. package/dist/index.modern.js +0 -2
  99. package/dist/index.modern.js.map +0 -1
  100. package/dist/index.umd.js.map +0 -1
  101. package/dist/map-editor.d.ts +0 -63
  102. package/dist/pickers.d.ts +0 -6
  103. package/dist/timeline.d.ts +0 -24
@@ -0,0 +1,61 @@
1
+ @use 'sass:math';
2
+ @use "variables";
3
+
4
+ a {
5
+ text-decoration: none;
6
+ }
7
+
8
+ html{
9
+ line-height: 1.5;
10
+ font-family: variables.$font-stack;
11
+ font-weight: normal;
12
+ color: variables.$off-black;
13
+
14
+ @media only screen and (min-width: 0) {
15
+ font-size: 14px;
16
+ }
17
+
18
+ @media only screen and (min-width: variables.$medium-screen) {
19
+ font-size: 14.5px;
20
+ }
21
+
22
+ @media only screen and (min-width: variables.$large-screen) {
23
+ font-size: 15px;
24
+ }
25
+ }
26
+ h1, h2, h3, h4, h5, h6 {
27
+ font-weight: 400;
28
+ line-height: 1.3;
29
+ }
30
+
31
+ // Header Styles
32
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
33
+ h1 { font-size: variables.$h1-fontsize; line-height: 110%; margin: math.div(variables.$h1-fontsize, 1.5) 0 math.div(variables.$h1-fontsize, 2.5) 0;}
34
+ h2 { font-size: variables.$h2-fontsize; line-height: 110%; margin: math.div(variables.$h2-fontsize, 1.5) 0 math.div(variables.$h2-fontsize, 2.5) 0;}
35
+ h3 { font-size: variables.$h3-fontsize; line-height: 110%; margin: math.div(variables.$h3-fontsize, 1.5) 0 math.div(variables.$h3-fontsize, 2.5) 0;}
36
+ h4 { font-size: variables.$h4-fontsize; line-height: 110%; margin: math.div(variables.$h4-fontsize, 1.5) 0 math.div(variables.$h4-fontsize, 2.5) 0;}
37
+ h5 { font-size: variables.$h5-fontsize; line-height: 110%; margin: math.div(variables.$h5-fontsize, 1.5) 0 math.div(variables.$h5-fontsize, 2.5) 0;}
38
+ h6 { font-size: variables.$h6-fontsize; line-height: 110%; margin: math.div(variables.$h6-fontsize, 1.5) 0 math.div(variables.$h6-fontsize, 2.5) 0;}
39
+
40
+ // Text Styles
41
+ em { font-style: italic; }
42
+ strong { font-weight: 500; }
43
+ small { font-size: 75%; }
44
+ .light { font-weight: 300; }
45
+ .thin { font-weight: 200; }
46
+
47
+
48
+ .flow-text{
49
+ $i: 0;
50
+ @while $i <= variables.$intervals {
51
+ @media only screen and (min-width : 360 + ($i * variables.$interval-size)) {
52
+ font-size: 1.2rem * (1 + (.02 * $i));
53
+ }
54
+ $i: $i + 1;
55
+ }
56
+
57
+ // Handle below 360px screen
58
+ @media only screen and (max-width: 360px) {
59
+ font-size: 1.2rem;
60
+ }
61
+ }
@@ -0,0 +1,352 @@
1
+ @use "sass:color";
2
+ @use 'sass:math';
3
+ @use "color-variables";
4
+
5
+ // ==========================================================================
6
+ // Materialize variables
7
+ // ==========================================================================
8
+ //
9
+ // Table of Contents:
10
+ //
11
+ // 1. Colors
12
+ // 2. Badges
13
+ // 3. Buttons
14
+ // 4. Cards
15
+ // 5. Carousel
16
+ // 6. Collapsible
17
+ // 7. Chips
18
+ // 8. Date + Time Picker
19
+ // 9. Dropdown
20
+ // 10. Forms
21
+ // 11. Global
22
+ // 12. Grid
23
+ // 13. Navigation Bar
24
+ // 14. Side Navigation
25
+ // 15. Photo Slider
26
+ // 16. Spinners | Loaders
27
+ // 17. Tabs
28
+ // 18. Tables
29
+ // 19. Toasts
30
+ // 20. Typography
31
+ // 21. Footer
32
+ // 22. Flow Text
33
+ // 23. Collections
34
+ // 24. Progress Bar
35
+
36
+
37
+ // 1. Colors
38
+ // ==========================================================================
39
+
40
+ $primary-color: color-variables.color("materialize-red", "lighten-2") !default;
41
+ $primary-color-light: color.adjust($primary-color, $lightness: 15%) !default;
42
+ $primary-color-dark: color.adjust($primary-color, $lightness: -15%) !default;
43
+
44
+ $secondary-color: color-variables.color("teal", "lighten-1") !default;
45
+ $success-color: color-variables.color("green", "base") !default;
46
+ $error-color: color-variables.color("red", "base") !default;
47
+ $link-color: color-variables.color("light-blue", "darken-1") !default;
48
+
49
+
50
+ // 2. Badges
51
+ // ==========================================================================
52
+
53
+ $badge-bg-color: $secondary-color !default;
54
+ $badge-height: 22px !default;
55
+
56
+
57
+ // 3. Buttons
58
+ // ==========================================================================
59
+
60
+ // Shared styles
61
+ $button-border: none !default;
62
+ $button-background-focus: color.adjust($secondary-color, $lightness: 4%) !default;
63
+ $button-font-size: 14px !default;
64
+ $button-icon-font-size: 1.3rem !default;
65
+ $button-height: 36px !default;
66
+ $button-padding: 0 16px !default;
67
+ $button-radius: 2px !default;
68
+
69
+ // Disabled styles
70
+ $button-disabled-background: #DFDFDF !default;
71
+ $button-disabled-color: #9F9F9F !default;
72
+
73
+ // Raised buttons
74
+ $button-raised-background: $secondary-color !default;
75
+ $button-raised-background-hover: color.adjust($button-raised-background, $lightness: 5%) !default;
76
+ $button-raised-color: #fff !default;
77
+
78
+ // Large buttons
79
+ $button-large-font-size: 15px !default;
80
+ $button-large-icon-font-size: 1.6rem !default;
81
+ $button-large-height: $button-height * 1.5 !default;
82
+ $button-floating-large-size: 56px !default;
83
+
84
+ // Small buttons
85
+ $button-small-font-size: 13px !default;
86
+ $button-small-icon-font-size: 1.2rem !default;
87
+ $button-small-height: $button-height * .9 !default;
88
+ $button-floating-small-size: $button-height * .9 !default;
89
+
90
+ // Flat buttons
91
+ $button-flat-color: #343434 !default;
92
+ $button-flat-disabled-color: color.adjust(#999, $lightness: 10%) !default;
93
+
94
+ // Floating buttons
95
+ $button-floating-background: $secondary-color !default;
96
+ $button-floating-background-hover: $button-floating-background !default;
97
+ $button-floating-color: #fff !default;
98
+ $button-floating-size: 40px !default;
99
+ $button-floating-radius: 50% !default;
100
+
101
+
102
+ // 4. Cards
103
+ // ==========================================================================
104
+
105
+ $card-padding: 24px !default;
106
+ $card-bg-color: #fff !default;
107
+ $card-link-color: color-variables.color("orange", "accent-2") !default;
108
+ $card-link-color-light: color.adjust($card-link-color, $lightness: 20%) !default;
109
+
110
+
111
+ // 5. Carousel
112
+ // ==========================================================================
113
+
114
+ $carousel-height: 400px !default;
115
+ $carousel-item-height: math.div($carousel-height, 2) !default;
116
+ $carousel-item-width: $carousel-item-height !default;
117
+
118
+
119
+ // 6. Collapsible
120
+ // ==========================================================================
121
+
122
+ $collapsible-height: 3rem !default;
123
+ $collapsible-line-height: $collapsible-height !default;
124
+ $collapsible-header-color: #fff !default;
125
+ $collapsible-border-color: #ddd !default;
126
+
127
+
128
+ // 7. Chips
129
+ // ==========================================================================
130
+
131
+ $chip-bg-color: #e4e4e4 !default;
132
+ $chip-border-color: #9e9e9e !default;
133
+ $chip-selected-color: #26a69a !default;
134
+ $chip-margin: 5px !default;
135
+
136
+
137
+ // 8. Date + Time Picker
138
+ // ==========================================================================
139
+
140
+ $datepicker-display-font-size: 2.8rem;
141
+ $datepicker-calendar-header-color: #999;
142
+ $datepicker-weekday-color: rgba(0, 0, 0, .87) !default;
143
+ $datepicker-weekday-bg: color.adjust($secondary-color, $lightness: -7%) !default;
144
+ $datepicker-date-bg: $secondary-color !default;
145
+ $datepicker-year: rgba(255, 255, 255, .7) !default;
146
+ $datepicker-focus: rgba(0,0,0, .05) !default;
147
+ $datepicker-selected: $secondary-color !default;
148
+ $datepicker-selected-outfocus: color.adjust(color.adjust($secondary-color, $lightness: 35%), $saturation: -15%) !default;
149
+ $datepicker-day-focus: color.adjust(color.adjust($secondary-color, $saturation: -5%), $alpha: -.75) !default;
150
+ $datepicker-disabled-day-color: rgba(0, 0, 0, .3) !default;
151
+
152
+ $timepicker-clock-color: rgba(0, 0, 0, .87) !default;
153
+ $timepicker-clock-plate-bg: #eee !default;
154
+
155
+
156
+ // 9. Dropdown
157
+ // ==========================================================================
158
+
159
+ $dropdown-bg-color: #fff !default;
160
+ $dropdown-hover-bg-color: #eee !default;
161
+ $dropdown-color: $secondary-color !default;
162
+ $dropdown-item-height: 50px !default;
163
+
164
+
165
+ // 10. Forms
166
+ // ==========================================================================
167
+
168
+ // Text Inputs + Textarea
169
+ $input-height: 3rem !default;
170
+ $input-border-color: color-variables.color("grey", "base") !default;
171
+ $input-border: 1px solid $input-border-color !default;
172
+ $input-background: #fff !default;
173
+ $input-error-color: $error-color !default;
174
+ $input-success-color: $success-color !default;
175
+ $input-focus-color: $secondary-color !default;
176
+ $input-font-size: 16px !default;
177
+ $input-margin-bottom: 8px;
178
+ $input-margin: 0 0 $input-margin-bottom 0 !default;
179
+ $input-padding: 0 !default;
180
+ $label-font-size: .8rem !default;
181
+ $input-disabled-color: rgba(0,0,0, .42) !default;
182
+ $input-disabled-solid-color: #949494 !default;
183
+ $input-disabled-border: 1px dotted $input-disabled-color !default;
184
+ $input-invalid-border: 1px solid $input-error-color !default;
185
+ $input-icon-size: 2rem;
186
+ $placeholder-text-color: color.adjust($input-border-color, $lightness: 20%) !default;
187
+
188
+ // Radio Buttons
189
+ $radio-fill-color: $secondary-color !default;
190
+ $radio-empty-color: #5a5a5a !default;
191
+ $radio-border: 2px solid $radio-fill-color !default;
192
+
193
+ // Range
194
+ $range-height: 14px !default;
195
+ $range-width: 14px !default;
196
+ $track-height: 3px !default;
197
+
198
+ // Select
199
+ $select-border: 1px solid #f2f2f2 !default;
200
+ $select-background: rgba(255, 255, 255, 0.90) !default;
201
+ $select-focus: 1px solid color.adjust($secondary-color, $lightness: 47%) !default;
202
+ $select-option-hover: rgba(0,0,0,.08) !default;
203
+ $select-option-focus: rgba(0,0,0,.08) !default;
204
+ $select-option-selected: rgba(0,0,0,.03) !default;
205
+ $select-padding: 5px !default;
206
+ $select-radius: 2px !default;
207
+ $select-disabled-color: rgba(0,0,0,.3) !default;
208
+
209
+ // Switches
210
+ $switch-bg-color: $secondary-color !default;
211
+ $switch-checked-lever-bg: color.adjust(color.adjust($switch-bg-color, $lightness: 25%), $saturation: -25%) !default;
212
+ $switch-unchecked-bg: #F1F1F1 !default;
213
+ $switch-unchecked-lever-bg: rgba(0,0,0,.38) !default;
214
+ $switch-radius: 15px !default;
215
+
216
+
217
+ // 11. Global
218
+ // ==========================================================================
219
+
220
+ // Media Query Ranges
221
+ $small-screen-up: 601px !default;
222
+ $medium-screen-up: 993px !default;
223
+ $large-screen-up: 1201px !default;
224
+ $small-screen: 600px !default;
225
+ $medium-screen: 992px !default;
226
+ $large-screen: 1200px !default;
227
+
228
+ $medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
229
+ $large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
230
+ $extra-large-and-up: "only screen and (min-width : #{$large-screen-up})" !default;
231
+ $small-and-down: "only screen and (max-width : #{$small-screen})" !default;
232
+ $medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
233
+ $medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
234
+
235
+
236
+ // 12. Grid
237
+ // ==========================================================================
238
+
239
+ $num-cols: 12 !default;
240
+ $gutter-width: 1.5rem !default;
241
+ $element-top-margin: math.div($gutter-width, 3) !default;
242
+ $element-bottom-margin: math.div(($gutter-width*2), 3) !default;
243
+
244
+
245
+ // 13. Navigation Bar
246
+ // ==========================================================================
247
+
248
+ $navbar-height: 64px !default;
249
+ $navbar-line-height: $navbar-height !default;
250
+ $navbar-height-mobile: 56px !default;
251
+ $navbar-line-height-mobile: $navbar-height-mobile !default;
252
+ $navbar-font-size: 1rem !default;
253
+ $navbar-font-color: #fff !default;
254
+ $navbar-brand-font-size: 2.1rem !default;
255
+
256
+ // 14. Side Navigation
257
+ // ==========================================================================
258
+
259
+ $sidenav-width: 300px !default;
260
+ $sidenav-font-size: 14px !default;
261
+ $sidenav-font-color: rgba(0,0,0,.87) !default;
262
+ $sidenav-bg-color: #fff !default;
263
+ $sidenav-padding: 16px !default;
264
+ $sidenav-item-height: 48px !default;
265
+ $sidenav-line-height: $sidenav-item-height !default;
266
+
267
+
268
+ // 15. Photo Slider
269
+ // ==========================================================================
270
+
271
+ $slider-bg-color: color-variables.color('grey', 'base') !default;
272
+ $slider-bg-color-light: color-variables.color('grey', 'lighten-2') !default;
273
+ $slider-indicator-color: color-variables.color('green', 'base') !default;
274
+
275
+
276
+ // 16. Spinners | Loaders
277
+ // ==========================================================================
278
+
279
+ $spinner-default-color: $secondary-color !default;
280
+
281
+
282
+ // 17. Tabs
283
+ // ==========================================================================
284
+
285
+ $tabs-underline-color: $primary-color-light !default;
286
+ $tabs-text-color: $primary-color !default;
287
+ $tabs-bg-color: #fff !default;
288
+
289
+
290
+ // 18. Tables
291
+ // ==========================================================================
292
+
293
+ $table-border-color: rgba(0,0,0,.12) !default;
294
+ $table-striped-color: rgba(242, 242, 242, 0.5) !default;
295
+
296
+
297
+ // 19. Toasts
298
+ // ==========================================================================
299
+
300
+ $toast-height: 48px !default;
301
+ $toast-color: #323232 !default;
302
+ $toast-text-color: #fff !default;
303
+ $toast-action-color: #eeff41;
304
+
305
+
306
+ // 20. Typography
307
+ // ==========================================================================
308
+
309
+ $font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !default;
310
+ $off-black: rgba(0, 0, 0, 0.87) !default;
311
+ // Header Styles
312
+ $h1-fontsize: 4.2rem !default;
313
+ $h2-fontsize: 3.56rem !default;
314
+ $h3-fontsize: 2.92rem !default;
315
+ $h4-fontsize: 2.28rem !default;
316
+ $h5-fontsize: 1.64rem !default;
317
+ $h6-fontsize: 1.15rem !default;
318
+
319
+
320
+ // 21. Footer
321
+ // ==========================================================================
322
+
323
+ $footer-font-color: #fff !default;
324
+ $footer-bg-color: $primary-color !default;
325
+ $footer-copyright-font-color: rgba(255,255,255,.8) !default;
326
+ $footer-copyright-bg-color: rgba(51,51,51,.08) !default;
327
+
328
+
329
+ // 22. Flow Text
330
+ // ==========================================================================
331
+
332
+ $range : $large-screen - $small-screen !default;
333
+ $intervals: 20 !default;
334
+ $interval-size: calc($range / $intervals) !default;
335
+
336
+
337
+ // 23. Collections
338
+ // ==========================================================================
339
+
340
+ $collection-border-color: #e0e0e0 !default;
341
+ $collection-bg-color: #fff !default;
342
+ $collection-active-bg-color: $secondary-color !default;
343
+ $collection-active-color: color.adjust($secondary-color, $lightness: 55%) !default;
344
+ $collection-hover-bg-color: #ddd !default;
345
+ $collection-link-color: $secondary-color !default;
346
+ $collection-line-height: 1.5rem !default;
347
+
348
+
349
+ // 24. Progress Bar
350
+ // ==========================================================================
351
+
352
+ $progress-bar-color: $secondary-color !default;
@@ -0,0 +1,114 @@
1
+
2
+ /*!
3
+ * Waves v0.6.0
4
+ * http://fian.my.id/Waves
5
+ *
6
+ * Copyright 2014 Alfiana E. Sibuea and other contributors
7
+ * Released under the MIT license
8
+ * https://github.com/fians/Waves/blob/master/LICENSE
9
+ */
10
+
11
+
12
+ .waves-effect {
13
+ position: relative;
14
+ cursor: pointer;
15
+ display: inline-block;
16
+ overflow: hidden;
17
+ user-select: none;
18
+ -webkit-tap-highlight-color: transparent;
19
+ vertical-align: middle;
20
+ z-index: 1;
21
+ transition: .3s ease-out;
22
+
23
+ .waves-ripple {
24
+ position: absolute;
25
+ border-radius: 50%;
26
+ width: 20px;
27
+ height: 20px;
28
+ margin-top:-10px;
29
+ margin-left:-10px;
30
+ opacity: 0;
31
+
32
+ background: rgba(0,0,0,0.2);
33
+ transition: all 0.7s ease-out;
34
+ transition-property: transform, opacity;
35
+ transform: scale(0);
36
+ pointer-events: none;
37
+ }
38
+
39
+ // Waves Colors
40
+ &.waves-light .waves-ripple {
41
+ background-color: rgba(255, 255, 255, 0.45);
42
+ }
43
+ &.waves-red .waves-ripple {
44
+ background-color: rgba(244, 67, 54, .70);
45
+ }
46
+ &.waves-yellow .waves-ripple {
47
+ background-color: rgba(255, 235, 59, .70);
48
+ }
49
+ &.waves-orange .waves-ripple {
50
+ background-color: rgba(255, 152, 0, .70);
51
+ }
52
+ &.waves-purple .waves-ripple {
53
+ background-color: rgba(156, 39, 176, 0.70);
54
+ }
55
+ &.waves-green .waves-ripple {
56
+ background-color: rgba(76, 175, 80, 0.70);
57
+ }
58
+ &.waves-teal .waves-ripple {
59
+ background-color: rgba(0, 150, 136, 0.70);
60
+ }
61
+
62
+ // Style input button bug.
63
+ input[type="button"], input[type="reset"], input[type="submit"] {
64
+ border: 0;
65
+ font-style: normal;
66
+ font-size: inherit;
67
+ text-transform: inherit;
68
+ background: none;
69
+ }
70
+
71
+ img {
72
+ position: relative;
73
+ z-index: -1;
74
+ }
75
+ }
76
+
77
+ .waves-notransition {
78
+ transition: none #{"!important"};
79
+ }
80
+
81
+ .waves-circle {
82
+ transform: translateZ(0);
83
+ -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
84
+ }
85
+
86
+ .waves-input-wrapper {
87
+ border-radius: 0.2em;
88
+ vertical-align: bottom;
89
+
90
+ .waves-button-input {
91
+ position: relative;
92
+ top: 0;
93
+ left: 0;
94
+ z-index: 1;
95
+ }
96
+ }
97
+
98
+ .waves-circle {
99
+ text-align: center;
100
+ width: 2.5em;
101
+ height: 2.5em;
102
+ line-height: 2.5em;
103
+ border-radius: 50%;
104
+ -webkit-mask-image: none;
105
+ }
106
+
107
+ .waves-block {
108
+ display: block;
109
+ }
110
+
111
+ /* Firefox Bug: link not triggered */
112
+ .waves-effect .waves-ripple {
113
+ z-index: -1;
114
+ }