materialize-sass 0.97.0 → 1.0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +5 -5
  2. data/.gitattributes +1 -0
  3. data/.gitignore +3 -0
  4. data/README.md +48 -10
  5. data/Rakefile +129 -1
  6. data/assets/javascripts/materialize/anime.min.js +417 -0
  7. data/assets/javascripts/materialize/autocomplete.js +504 -0
  8. data/assets/javascripts/materialize/buttons.js +409 -0
  9. data/assets/javascripts/materialize/cards.js +34 -0
  10. data/assets/javascripts/materialize/carousel.js +797 -0
  11. data/assets/javascripts/materialize/cash.js +990 -0
  12. data/assets/javascripts/materialize/characterCounter.js +180 -0
  13. data/assets/javascripts/materialize/chips.js +564 -0
  14. data/assets/javascripts/materialize/collapsible.js +337 -0
  15. data/assets/javascripts/materialize/component.js +57 -0
  16. data/assets/javascripts/materialize/datepicker.js +935 -0
  17. data/assets/javascripts/materialize/dropdown.js +659 -0
  18. data/assets/javascripts/materialize/extras/nouislider.js +2147 -0
  19. data/assets/javascripts/materialize/extras/nouislider.min.js +1 -0
  20. data/assets/javascripts/materialize/forms.js +244 -0
  21. data/assets/javascripts/materialize/global.js +408 -0
  22. data/assets/javascripts/materialize/materialbox.js +513 -0
  23. data/assets/javascripts/materialize/modal.js +449 -0
  24. data/assets/javascripts/materialize/parallax.js +173 -0
  25. data/assets/javascripts/materialize/pushpin.js +179 -0
  26. data/assets/javascripts/materialize/range.js +310 -0
  27. data/assets/javascripts/materialize/scrollspy.js +328 -0
  28. data/assets/javascripts/materialize/select.js +497 -0
  29. data/assets/javascripts/materialize/sidenav.js +655 -0
  30. data/assets/javascripts/materialize/slider.js +424 -0
  31. data/assets/javascripts/materialize/tabs.js +476 -0
  32. data/assets/javascripts/materialize/tapTarget.js +364 -0
  33. data/assets/javascripts/materialize/timepicker.js +647 -0
  34. data/assets/javascripts/materialize/toasts.js +355 -0
  35. data/assets/javascripts/materialize/tooltip.js +351 -0
  36. data/{app/assets → assets}/javascripts/materialize/waves.js +42 -47
  37. data/assets/javascripts/materialize-sprockets.js +29 -0
  38. data/assets/javascripts/materialize.js +12374 -0
  39. data/assets/stylesheets/materialize/components/_badges.scss +55 -0
  40. data/assets/stylesheets/materialize/components/_buttons.scss +322 -0
  41. data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +72 -29
  42. data/assets/stylesheets/materialize/components/_carousel.scss +90 -0
  43. data/assets/stylesheets/materialize/components/_chips.scss +90 -0
  44. data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +23 -17
  45. data/assets/stylesheets/materialize/components/_color-classes.scss +32 -0
  46. data/{app/assets/stylesheets/materialize/components/_color.scss → assets/stylesheets/materialize/components/_color-variables.scss} +22 -64
  47. data/assets/stylesheets/materialize/components/_datepicker.scss +191 -0
  48. data/assets/stylesheets/materialize/components/_dropdown.scss +85 -0
  49. data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +197 -144
  50. data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +57 -18
  51. data/assets/stylesheets/materialize/components/_icons-material-design.scss +5 -0
  52. data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +15 -13
  53. data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +18 -14
  54. data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +89 -25
  55. data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
  56. data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +5 -3
  57. data/assets/stylesheets/materialize/components/_pulse.scss +34 -0
  58. data/assets/stylesheets/materialize/components/_sidenav.scss +208 -0
  59. data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +2 -2
  60. data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +5 -5
  61. data/assets/stylesheets/materialize/components/_tabs.scss +99 -0
  62. data/assets/stylesheets/materialize/components/_tapTarget.scss +103 -0
  63. data/assets/stylesheets/materialize/components/_timepicker.scss +183 -0
  64. data/{app/assets → assets}/stylesheets/materialize/components/_toast.scss +17 -22
  65. data/assets/stylesheets/materialize/components/_tooltip.scss +32 -0
  66. data/assets/stylesheets/materialize/components/_transitions.scss +13 -0
  67. data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +11 -9
  68. data/assets/stylesheets/materialize/components/_variables.scss +349 -0
  69. data/assets/stylesheets/materialize/components/_waves.scss +114 -0
  70. data/assets/stylesheets/materialize/components/forms/_checkboxes.scss +200 -0
  71. data/assets/stylesheets/materialize/components/forms/_file-input.scss +44 -0
  72. data/assets/stylesheets/materialize/components/forms/_forms.scss +22 -0
  73. data/assets/stylesheets/materialize/components/forms/_input-fields.scss +354 -0
  74. data/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +115 -0
  75. data/assets/stylesheets/materialize/components/forms/_range.scss +161 -0
  76. data/assets/stylesheets/materialize/components/forms/_select.scss +190 -0
  77. data/assets/stylesheets/materialize/components/forms/_switches.scss +89 -0
  78. data/assets/stylesheets/materialize/extras/nouislider.css +406 -0
  79. data/{app/assets → assets}/stylesheets/materialize.scss +13 -10
  80. data/lib/materialize-sass/engine.rb +11 -6
  81. data/lib/materialize-sass/helpers.rb +38 -0
  82. data/lib/materialize-sass/version.rb +1 -1
  83. data/lib/materialize-sass.rb +13 -28
  84. data/materialize-sass.gemspec +5 -5
  85. metadata +97 -105
  86. data/app/assets/fonts/material-design-icons/LICENSE.txt +0 -428
  87. data/app/assets/fonts/material-design-icons/Material-Design-Icons.eot +0 -0
  88. data/app/assets/fonts/material-design-icons/Material-Design-Icons.svg +0 -769
  89. data/app/assets/fonts/material-design-icons/Material-Design-Icons.ttf +0 -0
  90. data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff +0 -0
  91. data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff2 +0 -0
  92. data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
  93. data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
  94. data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
  95. data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
  96. data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
  97. data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
  98. data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
  99. data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
  100. data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
  101. data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
  102. data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
  103. data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
  104. data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
  105. data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
  106. data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
  107. data/app/assets/javascripts/materialize/animation.js +0 -9
  108. data/app/assets/javascripts/materialize/buttons.js +0 -61
  109. data/app/assets/javascripts/materialize/cards.js +0 -27
  110. data/app/assets/javascripts/materialize/character_counter.js +0 -59
  111. data/app/assets/javascripts/materialize/collapsible.js +0 -139
  112. data/app/assets/javascripts/materialize/date_picker/picker.date.js +0 -1430
  113. data/app/assets/javascripts/materialize/date_picker/picker.js +0 -1123
  114. data/app/assets/javascripts/materialize/dropdown.js +0 -178
  115. data/app/assets/javascripts/materialize/forms.js +0 -456
  116. data/app/assets/javascripts/materialize/global.js +0 -36
  117. data/app/assets/javascripts/materialize/hammer.min.js +0 -1
  118. data/app/assets/javascripts/materialize/init.js +0 -136
  119. data/app/assets/javascripts/materialize/jquery.easing.1.3.js +0 -205
  120. data/app/assets/javascripts/materialize/jquery.hammer.js +0 -33
  121. data/app/assets/javascripts/materialize/jquery.timeago.min.js +0 -1
  122. data/app/assets/javascripts/materialize/leanModal.js +0 -178
  123. data/app/assets/javascripts/materialize/materialbox.js +0 -249
  124. data/app/assets/javascripts/materialize/parallax.js +0 -58
  125. data/app/assets/javascripts/materialize/prism.js +0 -8
  126. data/app/assets/javascripts/materialize/pushpin.js +0 -62
  127. data/app/assets/javascripts/materialize/scrollFire.js +0 -44
  128. data/app/assets/javascripts/materialize/scrollspy.js +0 -284
  129. data/app/assets/javascripts/materialize/sideNav.js +0 -312
  130. data/app/assets/javascripts/materialize/slider.js +0 -301
  131. data/app/assets/javascripts/materialize/tabs.js +0 -136
  132. data/app/assets/javascripts/materialize/toasts.js +0 -125
  133. data/app/assets/javascripts/materialize/tooltip.js +0 -166
  134. data/app/assets/javascripts/materialize/transitions.js +0 -154
  135. data/app/assets/javascripts/materialize/velocity.min.js +0 -4
  136. data/app/assets/javascripts/materialize-sprockets.js +0 -27
  137. data/app/assets/javascripts/materialize.js +0 -6159
  138. data/app/assets/stylesheets/materialize/components/_buttons.scss +0 -157
  139. data/app/assets/stylesheets/materialize/components/_dropdown.scss +0 -40
  140. data/app/assets/stylesheets/materialize/components/_form.scss +0 -886
  141. data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +0 -3257
  142. data/app/assets/stylesheets/materialize/components/_mixins.scss +0 -5
  143. data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -427
  144. data/app/assets/stylesheets/materialize/components/_prefixer.scss +0 -376
  145. data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -38
  146. data/app/assets/stylesheets/materialize/components/_sideNav.scss +0 -111
  147. data/app/assets/stylesheets/materialize/components/_tabs.scss +0 -47
  148. data/app/assets/stylesheets/materialize/components/_tooltip.scss +0 -34
  149. data/app/assets/stylesheets/materialize/components/_variables.scss +0 -152
  150. data/app/assets/stylesheets/materialize/components/_waves.scss +0 -167
  151. data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +0 -435
  152. data/app/assets/stylesheets/materialize/components/date_picker/_default.scss +0 -201
  153. data/app/assets/stylesheets/materialize/components/date_picker/_default.time.scss +0 -125
@@ -1,376 +0,0 @@
1
- //---------------------------------------------------
2
- // Sass Prefixer
3
- // -------------------------------------------------
4
- // TABLE OF CONTENTS
5
- // (*) denotes a syntax-sugar helper
6
- // -------------------------------------------------
7
- //
8
- // animation($args)
9
- // animation-delay($delay)
10
- // animation-direction($direction)
11
- // animation-duration($duration)
12
- // animation-fill-mode($mode)
13
- // animation-iteration-count($count)
14
- // animation-name($name)
15
- // animation-play-state($state)
16
- // animation-timing-function($function)
17
- // background-size($args)
18
- // inner-shadow($args) *
19
- // box-sizing($args)
20
- // border-box() *
21
- // content-box() *
22
- // columns($args)
23
- // column-count($count)
24
- // column-gap($gap)
25
- // column-rule($args)
26
- // column-width($width)
27
- // flexbox()
28
- // flex($args)
29
- // order($args)
30
- // align($args)
31
- // justify-content($args)
32
- // gradient($default,$start,$stop) *
33
- // linear-gradient-top($default,$color1,$stop1,$color2,$stop2,[$color3,$stop3,$color4,$stop4])*
34
- // linear-gradient-left($default,$color1,$stop1,$color2,$stop2,[$color3,$stop3,$color4,$stop4])*
35
- // transform($args)
36
- // transform-origin($args)
37
- // transform-style($style)
38
- // rotate($deg)
39
- // scale($factor)
40
- // translate($x,$y)
41
- // translate3d($x,$y,$z)
42
- // translateHardware($x,$y) *
43
- // text-shadow($args)
44
- // transition($args)
45
- // transition-delay($delay)
46
- // transition-duration($duration)
47
- // transition-property($property)
48
- // transition-timing-function($function)
49
-
50
-
51
- // Animation
52
-
53
- @mixin animation($args) {
54
- -webkit-animation: $args;
55
- -moz-animation: $args;
56
- -ms-animation: $args;
57
- -o-animation: $args;
58
- animation: $args;
59
- }
60
- @mixin animation-delay($delay) {
61
- -webkit-animation-delay: $delay;
62
- -moz-animation-delay: $delay;
63
- -ms-animation-delay: $delay;
64
- -o-animation-delay: $delay;
65
- animation-delay: $delay;
66
- }
67
- @mixin animation-direction($direction) {
68
- -webkit-animation-direction: $direction;
69
- -moz-animation-direction: $direction;
70
- -ms-animation-direction: $direction;
71
- -o-animation-direction: $direction;
72
- }
73
- @mixin animation-duration($duration) {
74
- -webkit-animation-duration: $duration;
75
- -moz-animation-duration: $duration;
76
- -ms-animation-duration: $duration;
77
- -o-animation-duration: $duration;
78
- }
79
- @mixin animation-fill-mode($mode) {
80
- -webkit-animation-fill-mode: $mode;
81
- -moz-animation-fill-mode: $mode;
82
- -ms-animation-fill-mode: $mode;
83
- -o-animation-fill-mode: $mode;
84
- animation-fill-mode: $mode;
85
- }
86
- @mixin animation-iteration-count($count) {
87
- -webkit-animation-iteration-count: $count;
88
- -moz-animation-iteration-count: $count;
89
- -ms-animation-iteration-count: $count;
90
- -o-animation-iteration-count: $count;
91
- animation-iteration-count: $count;
92
- }
93
- @mixin animation-name($name) {
94
- -webkit-animation-name: $name;
95
- -moz-animation-name: $name;
96
- -ms-animation-name: $name;
97
- -o-animation-name: $name;
98
- animation-name: $name;
99
- }
100
- @mixin animation-play-state($state) {
101
- -webkit-animation-play-state: $state;
102
- -moz-animation-play-state: $state;
103
- -ms-animation-play-state: $state;
104
- -o-animation-play-state: $state;
105
- animation-play-state: $state;
106
- }
107
- @mixin animation-timing-function($function) {
108
- -webkit-animation-timing-function: $function;
109
- -moz-animation-timing-function: $function;
110
- -ms-animation-timing-function: $function;
111
- -o-animation-timing-function: $function;
112
- animation-timing-function: $function;
113
- }
114
-
115
- // Keyframes
116
- @mixin keyframes($animation-name) {
117
- @-webkit-keyframes #{$animation-name} {
118
- @content;
119
- }
120
- @-moz-keyframes #{$animation-name} {
121
- @content;
122
- }
123
- @keyframes #{$animation-name} {
124
- @content;
125
- }
126
- }
127
-
128
- // Backface-visibility
129
-
130
- @mixin backface-visibility($args) {
131
- -webkit-backface-visibility: $args;
132
- -moz-backface-visibility: $args;
133
- -ms-backface-visibility: $args;
134
- backface-visibility: $args;
135
- }
136
-
137
-
138
- // Background Size
139
-
140
- @mixin background-size($args) {
141
- -webkit-background-size: $args;
142
- background-size: $args;
143
- }
144
-
145
- // Box Sizing
146
-
147
- @mixin box-sizing($args) {
148
- -webkit-box-sizing: $args;
149
- -moz-box-sizing: $args;
150
- box-sizing: $args;
151
- }
152
- @mixin border-box(){
153
- @include box-sizing(border-box);
154
- }
155
- @mixin content-box(){
156
- @include box-sizing(content-box);
157
- }
158
-
159
-
160
- // Columns
161
-
162
- @mixin columns($args) {
163
- -webkit-columns: $args;
164
- -moz-columns: $args;
165
- columns: $args;
166
- }
167
- @mixin column-count($count) {
168
- -webkit-column-count: $count;
169
- -moz-column-count: $count;
170
- column-count: $count;
171
- }
172
- @mixin column-gap($gap) {
173
- -webkit-column-gap: $gap;
174
- -moz-column-gap: $gap;
175
- column-gap: $gap;
176
- }
177
- @mixin column-width($width) {
178
- -webkit-column-width: $width;
179
- -moz-column-width: $width;
180
- column-width: $width;
181
- }
182
- @mixin column-rule($args) {
183
- -webkit-column-rule: $args;
184
- -moz-column-rule: $args;
185
- column-rule: $args;
186
- }
187
-
188
- // Filter
189
- @mixin filter($args) {
190
- -webkit-filter: $args;
191
- -moz-filter: $args;
192
- -o-filter: $args;
193
- -ms-filter: $args;
194
- }
195
-
196
- // Flexbox
197
- @mixin flexbox() {
198
- display: -webkit-box;
199
- display: -moz-box;
200
- display: -ms-flexbox;
201
- display: -webkit-flex;
202
- display: flex;
203
- }
204
- @mixin flex($values) {
205
- -webkit-box-flex: $values;
206
- -moz-box-flex: $values;
207
- -webkit-flex: $values;
208
- -ms-flex: $values;
209
- flex: $values;
210
- }
211
- @mixin order($val) {
212
- -webkit-box-ordinal-group: $val;
213
- -moz-box-ordinal-group: $val;
214
- -ms-flex-order: $val;
215
- -webkit-order: $val;
216
- order: $val;
217
- }
218
- @mixin align($align) {
219
- -webkit-flex-align: $align;
220
- -ms-flex-align: $align;
221
- -webkit-align-items: $align;
222
- align-items: $align;
223
- }
224
- @mixin justify-content($val) {
225
- -webkit-justify-content: $val;
226
- justify-content: $val;
227
- }
228
- // Gradients
229
-
230
- @mixin gradient($default: #F5F5F5, $start: #EEE, $stop: #FFF) {
231
- @include linear-gradient-top($default,$start,0%,$stop,100%);
232
- }
233
- @mixin linear-gradient-top($default,$color1,$stop1,$color2,$stop2) {
234
- background-color: $default;
235
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2));
236
- background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2);
237
- background-image: -moz-linear-gradient(top, $color1 $stop1, $color2 $stop2);
238
- background-image: -ms-linear-gradient(top, $color1 $stop1, $color2 $stop2);
239
- background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2);
240
- background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2);
241
- }
242
- @mixin linear-gradient-top2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
243
- background-color: $default;
244
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3));
245
- background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
246
- background-image: -moz-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
247
- background-image: -ms-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
248
- background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
249
- background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
250
- }
251
- @mixin linear-gradient-top3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
252
- background-color: $default;
253
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3), color-stop($stop4 $color4));
254
- background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
255
- background-image: -moz-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
256
- background-image: -ms-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
257
- background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
258
- background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
259
- }
260
- @mixin linear-gradient-left($default,$color1,$stop1,$color2,$stop2) {
261
- background-color: $default;
262
- background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2));
263
- background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2);
264
- background-image: -moz-linear-gradient(left, $color1 $stop1, $color2 $stop2);
265
- background-image: -ms-linear-gradient(left, $color1 $stop1, $color2 $stop2);
266
- background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2);
267
- background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2);
268
- }
269
- @mixin linear-gradient-left2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
270
- background-color: $default;
271
- background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3));
272
- background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
273
- background-image: -moz-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
274
- background-image: -ms-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
275
- background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
276
- background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
277
- }
278
- @mixin linear-gradient-left3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
279
- background-color: $default;
280
- background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3), color-stop($stop4 $color4));
281
- background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
282
- background-image: -moz-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
283
- background-image: -ms-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
284
- background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
285
- background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
286
- }
287
-
288
- // Text Shadow
289
-
290
- @mixin text-shadow($args) {
291
- text-shadow: $args;
292
- }
293
-
294
-
295
- // Transforms
296
-
297
- @mixin transform($args) {
298
- -webkit-transform: $args;
299
- -moz-transform: $args;
300
- -ms-transform: $args;
301
- -o-transform: $args;
302
- transform: $args;
303
- }
304
- @mixin transform-origin($args) {
305
- -webkit-transform-origin: $args;
306
- -moz-transform-origin: $args;
307
- -ms-transform-origin: $args;
308
- -o-transform-origin: $args;
309
- transform-origin: $args;
310
- }
311
- @mixin transform-style($style) {
312
- -webkit-transform-style: $style;
313
- -moz-transform-style: $style;
314
- -ms-transform-style: $style;
315
- -o-transform-style: $style;
316
- transform-style: $style;
317
- }
318
- @mixin rotate($deg:45deg){
319
- @include transform(rotate($deg));
320
- }
321
- @mixin scale($factor:.5){
322
- @include transform(scale($factor));
323
- }
324
- @mixin translate($x,$y){
325
- @include transform(translate($x,$y));
326
- }
327
- @mixin translate3d($x,$y,$z) {
328
- @include transform(translate3d($x,$y,$z));
329
- }
330
- @mixin translateHardware($x,$y) {
331
- @include translate($x,$y);
332
- -webkit-transform: translate3d($x,$y,0);
333
- -moz-transform: translate3d($x,$y,0);
334
- -o-transform: translate3d($x,$y,0);
335
- -ms-transform: translate3d($x,$y,0);
336
- transform: translate3d($x,$y,0);
337
- }
338
-
339
-
340
- // Transitions
341
-
342
- @mixin transition($args:200ms) {
343
- -webkit-transition: $args;
344
- -moz-transition: $args;
345
- -o-transition: $args;
346
- -ms-transition: $args;
347
- transition: $args;
348
- }
349
- @mixin transition-delay($delay:0) {
350
- -webkit-transition-delay: $delay;
351
- -moz-transition-delay: $delay;
352
- -o-transition-delay: $delay;
353
- -ms-transition-delay: $delay;
354
- transition-delay: $delay;
355
- }
356
- @mixin transition-duration($duration:200ms) {
357
- -webkit-transition-duration: $duration;
358
- -moz-transition-duration: $duration;
359
- -o-transition-duration: $duration;
360
- -ms-transition-duration: $duration;
361
- transition-duration: $duration;
362
- }
363
- @mixin transition-property($property:all) {
364
- -webkit-transition-property: $property;
365
- -moz-transition-property: $property;
366
- -o-transition-property: $property;
367
- -ms-transition-property: $property;
368
- transition-property: $property;
369
- }
370
- @mixin transition-timing-function($function:ease) {
371
- -webkit-transition-timing-function: $function;
372
- -moz-transition-timing-function: $function;
373
- -o-transition-timing-function: $function;
374
- -ms-transition-timing-function: $function;
375
- transition-timing-function: $function;
376
- }
@@ -1,38 +0,0 @@
1
- @font-face {
2
- font-family: "Roboto";
3
- src: font-url("#{$roboto-font-path}Roboto-Thin.woff2") format("woff2"),
4
- font-url("#{$roboto-font-path}Roboto-Thin.woff") format("woff"),
5
- font-url("#{$roboto-font-path}Roboto-Thin.ttf") format("truetype");
6
- font-weight: 200;
7
- }
8
- @font-face {
9
- font-family: "Roboto";
10
- src: font-url("#{$roboto-font-path}Roboto-Light.woff2") format("woff2"),
11
- font-url("#{$roboto-font-path}Roboto-Light.woff") format("woff"),
12
- font-url("#{$roboto-font-path}Roboto-Light.ttf") format("truetype");
13
- font-weight: 300;
14
- }
15
-
16
- @font-face {
17
- font-family: "Roboto";
18
- src: font-url("#{$roboto-font-path}Roboto-Regular.woff2") format("woff2"),
19
- font-url("#{$roboto-font-path}Roboto-Regular.woff") format("woff"),
20
- font-url("#{$roboto-font-path}Roboto-Regular.ttf") format("truetype");
21
- font-weight: 400;
22
- }
23
-
24
- @font-face {
25
- font-family: "Roboto";
26
- src: font-url("#{$roboto-font-path}Roboto-Medium.woff2") format("woff2"),
27
- font-url("#{$roboto-font-path}Roboto-Medium.woff") format("woff"),
28
- font-url("#{$roboto-font-path}Roboto-Medium.ttf") format("truetype");
29
- font-weight: 500;
30
- }
31
-
32
- @font-face {
33
- font-family: "Roboto";
34
- src: font-url("#{$roboto-font-path}Roboto-Bold.woff2") format("woff2"),
35
- font-url("#{$roboto-font-path}Roboto-Bold.woff") format("woff"),
36
- font-url("#{$roboto-font-path}Roboto-Bold.ttf") format("truetype");
37
- font-weight: 700;
38
- }
@@ -1,111 +0,0 @@
1
- .side-nav {
2
- position: fixed;
3
- width: 240px;
4
- left: -105%;
5
- top: 0;
6
- margin: 0;
7
- height: 100%;
8
- height: calc(100% + 60px);
9
- height: -moz-calc(100%); //Temporary Firefox Fix
10
- padding-bottom: 60px;
11
- background-color: $sidenav-bg-color;
12
- z-index: 999;
13
- overflow-y: auto;
14
-
15
- @extend .z-depth-1;
16
- will-change: left;
17
-
18
- // Right Align
19
- &.right-aligned {
20
- will-change: right;
21
- right: -105%;
22
- left: auto;
23
- }
24
-
25
- .collapsible{
26
- margin: 0;
27
- }
28
-
29
-
30
- li {
31
- float: none;
32
- padding: 0 $sidenav-padding-right;
33
- &:hover, &.active { background-color: #ddd; }
34
- }
35
- a {
36
- color: #444;
37
- display: block;
38
- font-size: 1rem;
39
- height: 64px;
40
- line-height: 64px;
41
- padding: 0 $sidenav-padding-right;
42
- }
43
- }
44
-
45
-
46
- // Touch interaction
47
- .drag-target {
48
- height: 100%;
49
- width: 10px;
50
- position: fixed;
51
- top: 0;
52
- z-index: 998;
53
- }
54
-
55
-
56
- // Hidden side-nav for all sizes
57
- .side-nav.fixed {
58
- a {
59
- display: block;
60
- padding: 0 $sidenav-padding-right;
61
- color: #444;
62
- }
63
- }
64
-
65
-
66
- // Fixed side-nav shown
67
- .side-nav.fixed {
68
- left: 0;
69
- position: fixed;
70
-
71
- // Right Align
72
- &.right-aligned {
73
- right: 0;
74
- left: auto;
75
- }
76
- }
77
-
78
- // Fixed sideNav hide on smaller
79
- @media #{$medium-and-down} {
80
- .side-nav.fixed {
81
- left: -105%;
82
-
83
- &.right-aligned {
84
- right: -105%;
85
- left: auto;
86
- }
87
- }
88
- }
89
-
90
-
91
- .side-nav .collapsible-body li.active,
92
- .side-nav.fixed .collapsible-body li.active {
93
- background-color: $primary-color;
94
- a {
95
- color: $sidenav-bg-color;
96
- }
97
- }
98
-
99
-
100
- #sidenav-overlay {
101
- position: fixed;
102
- top: 0;
103
- left: 0;
104
- right: 0;
105
-
106
- height: 120vh;
107
- background-color: rgba(0,0,0,.5);
108
- z-index: 997;
109
-
110
- will-change: opacity;
111
- }
@@ -1,47 +0,0 @@
1
- .tabs {
2
- position: relative;
3
- height: 48px;
4
- background-color: $tabs-bg-color;
5
- margin: 0 auto;
6
- width: 100%;
7
- white-space: nowrap;
8
-
9
- .tab {
10
- display: block;
11
- float: left;
12
- text-align: center;
13
- line-height: 48px;
14
- height: 48px;
15
- padding: 0 20px;
16
- margin: 0;
17
- text-transform: uppercase;
18
- letter-spacing: .8px;
19
- width: 15%;
20
-
21
- a {
22
- color: $tabs-text-color;
23
- display: block;
24
- width: 100%;
25
- height: 100%;
26
- @include transition( color .28s ease);
27
- &:hover {
28
- color: lighten($tabs-text-color, 20%);
29
- }
30
- }
31
-
32
- &.disabled a {
33
- color: lighten($tabs-text-color, 20%);
34
- cursor: default;
35
- }
36
- }
37
- .indicator {
38
- position: absolute;
39
- bottom: 0;
40
- height: 2px;
41
- background-color: $tabs-underline-color;
42
- will-change: left, right;
43
- }
44
- }
45
-
46
- .tabs .tab { padding: 0; }
47
-
@@ -1,34 +0,0 @@
1
- .material-tooltip {
2
- padding: 10px 8px;
3
- font-size: 1rem;
4
- z-index: 2000;
5
- background-color: transparent;
6
- border-radius: 2px;
7
- color: #fff;
8
- min-height: 36px;
9
- line-height: 1rem;
10
- // max-width: 350px;
11
- opacity: 0;
12
- display: none;
13
- position: absolute;
14
- text-align: center;
15
- overflow: hidden;
16
- left:0;
17
- top:0;
18
-
19
- will-change: top, left;
20
- }
21
-
22
- .backdrop {
23
- position: absolute;
24
- opacity: 0;
25
- display: none;
26
- height: 7px;
27
- width: 14px;
28
- border-radius: 0 0 14px 14px;
29
- background-color: #323232;
30
- z-index: -1;
31
- @include transform-origin( 50% 10%);
32
-
33
- will-change: transform, opacity;
34
- }