materialize-sass 0.97.8 → 1.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitattributes +1 -0
- data/.gitignore +1 -0
- data/README.md +34 -32
- data/Rakefile +38 -21
- data/assets/javascripts/materialize/anime.min.js +417 -0
- data/assets/javascripts/materialize/autocomplete.js +504 -0
- data/assets/javascripts/materialize/buttons.js +409 -0
- data/assets/javascripts/materialize/cards.js +34 -0
- data/assets/javascripts/materialize/carousel.js +797 -0
- data/assets/javascripts/materialize/cash.js +990 -0
- data/assets/javascripts/materialize/characterCounter.js +180 -0
- data/assets/javascripts/materialize/chips.js +564 -0
- data/assets/javascripts/materialize/collapsible.js +337 -0
- data/assets/javascripts/materialize/component.js +57 -0
- data/assets/javascripts/materialize/datepicker.js +935 -0
- data/assets/javascripts/materialize/dropdown.js +659 -0
- data/assets/javascripts/materialize/extras/nouislider.js +2147 -0
- data/assets/javascripts/materialize/extras/nouislider.min.js +1 -0
- data/assets/javascripts/materialize/forms.js +244 -0
- data/assets/javascripts/materialize/global.js +408 -0
- data/assets/javascripts/materialize/materialbox.js +513 -0
- data/assets/javascripts/materialize/modal.js +449 -0
- data/assets/javascripts/materialize/parallax.js +173 -0
- data/assets/javascripts/materialize/pushpin.js +179 -0
- data/assets/javascripts/materialize/range.js +310 -0
- data/assets/javascripts/materialize/scrollspy.js +328 -0
- data/assets/javascripts/materialize/select.js +497 -0
- data/assets/javascripts/materialize/sidenav.js +655 -0
- data/assets/javascripts/materialize/slider.js +424 -0
- data/assets/javascripts/materialize/tabs.js +476 -0
- data/assets/javascripts/materialize/tapTarget.js +364 -0
- data/assets/javascripts/materialize/timepicker.js +647 -0
- data/assets/javascripts/materialize/toasts.js +355 -0
- data/assets/javascripts/materialize/tooltip.js +351 -0
- data/{app/assets → assets}/javascripts/materialize/waves.js +42 -47
- data/{app/assets → assets}/javascripts/materialize-sprockets.js +12 -13
- data/assets/javascripts/materialize.js +12374 -0
- data/assets/stylesheets/materialize/components/_badges.scss +55 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_buttons.scss +99 -58
- data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +14 -6
- data/{app/assets → assets}/stylesheets/materialize/components/_carousel.scss +12 -7
- data/{app/assets → assets}/stylesheets/materialize/components/_chips.scss +13 -6
- data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +16 -15
- data/assets/stylesheets/materialize/components/_color-classes.scss +32 -0
- data/{app/assets/stylesheets/materialize/components/_color.scss → assets/stylesheets/materialize/components/_color-variables.scss} +2 -44
- data/assets/stylesheets/materialize/components/_datepicker.scss +191 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_dropdown.scss +35 -15
- data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +96 -125
- data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +45 -36
- data/{app/assets → assets}/stylesheets/materialize/components/_icons-material-design.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +13 -12
- data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +7 -3
- data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +29 -11
- data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +2 -2
- data/assets/stylesheets/materialize/components/_pulse.scss +34 -0
- data/{app/assets/stylesheets/materialize/components/_sideNav.scss → assets/stylesheets/materialize/components/_sidenav.scss} +47 -47
- data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +5 -5
- data/{app/assets → assets}/stylesheets/materialize/components/_tabs.scss +10 -10
- data/assets/stylesheets/materialize/components/_tapTarget.scss +103 -0
- data/assets/stylesheets/materialize/components/_timepicker.scss +183 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_toast.scss +7 -14
- data/{app/assets → assets}/stylesheets/materialize/components/_tooltip.scss +3 -3
- data/assets/stylesheets/materialize/components/_transitions.scss +13 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +8 -9
- data/{app/assets → assets}/stylesheets/materialize/components/_variables.scss +65 -29
- data/assets/stylesheets/materialize/components/_waves.scss +114 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_checkboxes.scss +26 -46
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_file-input.scss +6 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_forms.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_input-fields.scss +131 -63
- data/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +115 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_range.scss +35 -33
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_select.scss +88 -19
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_switches.scss +32 -21
- data/assets/stylesheets/materialize/extras/nouislider.css +406 -0
- data/{app/assets → assets}/stylesheets/materialize.scss +10 -9
- data/lib/materialize-sass/engine.rb +9 -7
- data/lib/materialize-sass/helpers.rb +38 -0
- data/lib/materialize-sass/version.rb +1 -1
- data/lib/materialize-sass.rb +13 -28
- data/materialize-sass.gemspec +5 -5
- metadata +97 -119
- data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/app/assets/javascripts/materialize/animation.js +0 -9
- data/app/assets/javascripts/materialize/buttons.js +0 -267
- data/app/assets/javascripts/materialize/cards.js +0 -26
- data/app/assets/javascripts/materialize/carousel.js +0 -454
- data/app/assets/javascripts/materialize/character_counter.js +0 -72
- data/app/assets/javascripts/materialize/chips.js +0 -289
- data/app/assets/javascripts/materialize/collapsible.js +0 -160
- data/app/assets/javascripts/materialize/date_picker/picker.date.js +0 -1430
- data/app/assets/javascripts/materialize/date_picker/picker.js +0 -1123
- data/app/assets/javascripts/materialize/dropdown.js +0 -265
- data/app/assets/javascripts/materialize/extras/nouislider.js +0 -1666
- data/app/assets/javascripts/materialize/extras/nouislider.min.js +0 -1
- data/app/assets/javascripts/materialize/forms.js +0 -682
- data/app/assets/javascripts/materialize/global.js +0 -98
- data/app/assets/javascripts/materialize/hammer.min.js +0 -1
- data/app/assets/javascripts/materialize/init.js +0 -174
- data/app/assets/javascripts/materialize/initial.js +0 -11
- data/app/assets/javascripts/materialize/jquery.easing.1.3.js +0 -205
- data/app/assets/javascripts/materialize/jquery.hammer.js +0 -33
- data/app/assets/javascripts/materialize/jquery.timeago.min.js +0 -1
- data/app/assets/javascripts/materialize/materialbox.js +0 -269
- data/app/assets/javascripts/materialize/modal.js +0 -184
- data/app/assets/javascripts/materialize/parallax.js +0 -58
- data/app/assets/javascripts/materialize/prism.js +0 -8
- data/app/assets/javascripts/materialize/pushpin.js +0 -71
- data/app/assets/javascripts/materialize/scrollFire.js +0 -48
- data/app/assets/javascripts/materialize/scrollspy.js +0 -284
- data/app/assets/javascripts/materialize/sideNav.js +0 -370
- data/app/assets/javascripts/materialize/slider.js +0 -321
- data/app/assets/javascripts/materialize/tabs.js +0 -164
- data/app/assets/javascripts/materialize/toasts.js +0 -137
- data/app/assets/javascripts/materialize/tooltip.js +0 -236
- data/app/assets/javascripts/materialize/transitions.js +0 -169
- data/app/assets/javascripts/materialize/velocity.min.js +0 -5
- data/app/assets/javascripts/materialize.js +0 -5
- data/app/assets/stylesheets/materialize/components/_mixins.scss +0 -5
- data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -424
- data/app/assets/stylesheets/materialize/components/_prefixer.scss +0 -384
- data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -49
- data/app/assets/stylesheets/materialize/components/_waves.scss +0 -177
- data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +0 -435
- data/app/assets/stylesheets/materialize/components/date_picker/_default.scss +0 -201
- data/app/assets/stylesheets/materialize/components/date_picker/_default.time.scss +0 -125
- data/app/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +0 -117
- data/app/assets/stylesheets/materialize/extras/nouislider.css +0 -259
@@ -0,0 +1,447 @@
|
|
1
|
+
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/* Document
|
4
|
+
========================================================================== */
|
5
|
+
|
6
|
+
/**
|
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.
|
10
|
+
*/
|
11
|
+
|
12
|
+
html {
|
13
|
+
line-height: 1.15; /* 1 */
|
14
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
15
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
16
|
+
}
|
17
|
+
|
18
|
+
/* Sections
|
19
|
+
========================================================================== */
|
20
|
+
|
21
|
+
/**
|
22
|
+
* Remove the margin in all browsers (opinionated).
|
23
|
+
*/
|
24
|
+
|
25
|
+
body {
|
26
|
+
margin: 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
/**
|
30
|
+
* Add the correct display in IE 9-.
|
31
|
+
*/
|
32
|
+
|
33
|
+
article,
|
34
|
+
aside,
|
35
|
+
footer,
|
36
|
+
header,
|
37
|
+
nav,
|
38
|
+
section {
|
39
|
+
display: block;
|
40
|
+
}
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
44
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
45
|
+
*/
|
46
|
+
|
47
|
+
h1 {
|
48
|
+
font-size: 2em;
|
49
|
+
margin: 0.67em 0;
|
50
|
+
}
|
51
|
+
|
52
|
+
/* Grouping content
|
53
|
+
========================================================================== */
|
54
|
+
|
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
|
+
/**
|
75
|
+
* 1. Add the correct box sizing in Firefox.
|
76
|
+
* 2. Show the overflow in Edge and IE.
|
77
|
+
*/
|
78
|
+
|
79
|
+
hr {
|
80
|
+
box-sizing: content-box; /* 1 */
|
81
|
+
height: 0; /* 1 */
|
82
|
+
overflow: visible; /* 2 */
|
83
|
+
}
|
84
|
+
|
85
|
+
/**
|
86
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
87
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
88
|
+
*/
|
89
|
+
|
90
|
+
pre {
|
91
|
+
font-family: monospace, monospace; /* 1 */
|
92
|
+
font-size: 1em; /* 2 */
|
93
|
+
}
|
94
|
+
|
95
|
+
/* Text-level semantics
|
96
|
+
========================================================================== */
|
97
|
+
|
98
|
+
/**
|
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+.
|
101
|
+
*/
|
102
|
+
|
103
|
+
a {
|
104
|
+
background-color: transparent; /* 1 */
|
105
|
+
-webkit-text-decoration-skip: objects; /* 2 */
|
106
|
+
}
|
107
|
+
|
108
|
+
/**
|
109
|
+
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
|
110
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
111
|
+
*/
|
112
|
+
|
113
|
+
abbr[title] {
|
114
|
+
border-bottom: none; /* 1 */
|
115
|
+
text-decoration: underline; /* 2 */
|
116
|
+
text-decoration: underline dotted; /* 2 */
|
117
|
+
}
|
118
|
+
|
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
|
+
/**
|
129
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
130
|
+
*/
|
131
|
+
|
132
|
+
b,
|
133
|
+
strong {
|
134
|
+
font-weight: bolder;
|
135
|
+
}
|
136
|
+
|
137
|
+
/**
|
138
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
139
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
140
|
+
*/
|
141
|
+
|
142
|
+
code,
|
143
|
+
kbd,
|
144
|
+
samp {
|
145
|
+
font-family: monospace, monospace; /* 1 */
|
146
|
+
font-size: 1em; /* 2 */
|
147
|
+
}
|
148
|
+
|
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
|
+
/**
|
167
|
+
* Add the correct font size in all browsers.
|
168
|
+
*/
|
169
|
+
|
170
|
+
small {
|
171
|
+
font-size: 80%;
|
172
|
+
}
|
173
|
+
|
174
|
+
/**
|
175
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
176
|
+
* all browsers.
|
177
|
+
*/
|
178
|
+
|
179
|
+
sub,
|
180
|
+
sup {
|
181
|
+
font-size: 75%;
|
182
|
+
line-height: 0;
|
183
|
+
position: relative;
|
184
|
+
vertical-align: baseline;
|
185
|
+
}
|
186
|
+
|
187
|
+
sub {
|
188
|
+
bottom: -0.25em;
|
189
|
+
}
|
190
|
+
|
191
|
+
sup {
|
192
|
+
top: -0.5em;
|
193
|
+
}
|
194
|
+
|
195
|
+
/* Embedded content
|
196
|
+
========================================================================== */
|
197
|
+
|
198
|
+
/**
|
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-.
|
218
|
+
*/
|
219
|
+
|
220
|
+
img {
|
221
|
+
border-style: none;
|
222
|
+
}
|
223
|
+
|
224
|
+
/**
|
225
|
+
* Hide the overflow in IE.
|
226
|
+
*/
|
227
|
+
|
228
|
+
svg:not(:root) {
|
229
|
+
overflow: hidden;
|
230
|
+
}
|
231
|
+
|
232
|
+
/* Forms
|
233
|
+
========================================================================== */
|
234
|
+
|
235
|
+
/**
|
236
|
+
* 1. Change the font styles in all browsers (opinionated).
|
237
|
+
* 2. Remove the margin in Firefox and Safari.
|
238
|
+
*/
|
239
|
+
|
240
|
+
button,
|
241
|
+
input,
|
242
|
+
optgroup,
|
243
|
+
select,
|
244
|
+
textarea {
|
245
|
+
font-family: sans-serif; /* 1 */
|
246
|
+
font-size: 100%; /* 1 */
|
247
|
+
line-height: 1.15; /* 1 */
|
248
|
+
margin: 0; /* 2 */
|
249
|
+
}
|
250
|
+
|
251
|
+
/**
|
252
|
+
* Show the overflow in IE.
|
253
|
+
* 1. Show the overflow in Edge.
|
254
|
+
*/
|
255
|
+
|
256
|
+
button,
|
257
|
+
input { /* 1 */
|
258
|
+
overflow: visible;
|
259
|
+
}
|
260
|
+
|
261
|
+
/**
|
262
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
263
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
264
|
+
*/
|
265
|
+
|
266
|
+
button,
|
267
|
+
select { /* 1 */
|
268
|
+
text-transform: none;
|
269
|
+
}
|
270
|
+
|
271
|
+
/**
|
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.
|
275
|
+
*/
|
276
|
+
|
277
|
+
button,
|
278
|
+
html [type="button"], /* 1 */
|
279
|
+
[type="reset"],
|
280
|
+
[type="submit"] {
|
281
|
+
-webkit-appearance: button; /* 2 */
|
282
|
+
}
|
283
|
+
|
284
|
+
/**
|
285
|
+
* Remove the inner border and padding in Firefox.
|
286
|
+
*/
|
287
|
+
|
288
|
+
button::-moz-focus-inner,
|
289
|
+
[type="button"]::-moz-focus-inner,
|
290
|
+
[type="reset"]::-moz-focus-inner,
|
291
|
+
[type="submit"]::-moz-focus-inner {
|
292
|
+
border-style: none;
|
293
|
+
padding: 0;
|
294
|
+
}
|
295
|
+
|
296
|
+
/**
|
297
|
+
* Restore the focus styles unset by the previous rule.
|
298
|
+
*/
|
299
|
+
|
300
|
+
button:-moz-focusring,
|
301
|
+
[type="button"]:-moz-focusring,
|
302
|
+
[type="reset"]:-moz-focusring,
|
303
|
+
[type="submit"]:-moz-focusring {
|
304
|
+
outline: 1px dotted ButtonText;
|
305
|
+
}
|
306
|
+
|
307
|
+
/**
|
308
|
+
* Correct the padding in Firefox.
|
309
|
+
*/
|
310
|
+
|
311
|
+
fieldset {
|
312
|
+
padding: 0.35em 0.75em 0.625em;
|
313
|
+
}
|
314
|
+
|
315
|
+
/**
|
316
|
+
* 1. Correct the text wrapping in Edge and IE.
|
317
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
318
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
319
|
+
* `fieldset` elements in all browsers.
|
320
|
+
*/
|
321
|
+
|
322
|
+
legend {
|
323
|
+
box-sizing: border-box; /* 1 */
|
324
|
+
color: inherit; /* 2 */
|
325
|
+
display: table; /* 1 */
|
326
|
+
max-width: 100%; /* 1 */
|
327
|
+
padding: 0; /* 3 */
|
328
|
+
white-space: normal; /* 1 */
|
329
|
+
}
|
330
|
+
|
331
|
+
/**
|
332
|
+
* 1. Add the correct display in IE 9-.
|
333
|
+
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
334
|
+
*/
|
335
|
+
|
336
|
+
progress {
|
337
|
+
display: inline-block; /* 1 */
|
338
|
+
vertical-align: baseline; /* 2 */
|
339
|
+
}
|
340
|
+
|
341
|
+
/**
|
342
|
+
* Remove the default vertical scrollbar in IE.
|
343
|
+
*/
|
344
|
+
|
345
|
+
textarea {
|
346
|
+
overflow: auto;
|
347
|
+
}
|
348
|
+
|
349
|
+
/**
|
350
|
+
* 1. Add the correct box sizing in IE 10-.
|
351
|
+
* 2. Remove the padding in IE 10-.
|
352
|
+
*/
|
353
|
+
|
354
|
+
[type="checkbox"],
|
355
|
+
[type="radio"] {
|
356
|
+
box-sizing: border-box; /* 1 */
|
357
|
+
padding: 0; /* 2 */
|
358
|
+
}
|
359
|
+
|
360
|
+
/**
|
361
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
362
|
+
*/
|
363
|
+
|
364
|
+
[type="number"]::-webkit-inner-spin-button,
|
365
|
+
[type="number"]::-webkit-outer-spin-button {
|
366
|
+
height: auto;
|
367
|
+
}
|
368
|
+
|
369
|
+
/**
|
370
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
371
|
+
* 2. Correct the outline style in Safari.
|
372
|
+
*/
|
373
|
+
|
374
|
+
[type="search"] {
|
375
|
+
-webkit-appearance: textfield; /* 1 */
|
376
|
+
outline-offset: -2px; /* 2 */
|
377
|
+
}
|
378
|
+
|
379
|
+
/**
|
380
|
+
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
381
|
+
*/
|
382
|
+
|
383
|
+
[type="search"]::-webkit-search-cancel-button,
|
384
|
+
[type="search"]::-webkit-search-decoration {
|
385
|
+
-webkit-appearance: none;
|
386
|
+
}
|
387
|
+
|
388
|
+
/**
|
389
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
390
|
+
* 2. Change font properties to `inherit` in Safari.
|
391
|
+
*/
|
392
|
+
|
393
|
+
::-webkit-file-upload-button {
|
394
|
+
-webkit-appearance: button; /* 1 */
|
395
|
+
font: inherit; /* 2 */
|
396
|
+
}
|
397
|
+
|
398
|
+
/* Interactive
|
399
|
+
========================================================================== */
|
400
|
+
|
401
|
+
/*
|
402
|
+
* Add the correct display in IE 9-.
|
403
|
+
* 1. Add the correct display in Edge, IE, and Firefox.
|
404
|
+
*/
|
405
|
+
|
406
|
+
details, /* 1 */
|
407
|
+
menu {
|
408
|
+
display: block;
|
409
|
+
}
|
410
|
+
|
411
|
+
/*
|
412
|
+
* Add the correct display in all browsers.
|
413
|
+
*/
|
414
|
+
|
415
|
+
summary {
|
416
|
+
display: list-item;
|
417
|
+
}
|
418
|
+
|
419
|
+
/* Scripting
|
420
|
+
========================================================================== */
|
421
|
+
|
422
|
+
/**
|
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.
|
432
|
+
*/
|
433
|
+
|
434
|
+
template {
|
435
|
+
display: none;
|
436
|
+
}
|
437
|
+
|
438
|
+
/* Hidden
|
439
|
+
========================================================================== */
|
440
|
+
|
441
|
+
/**
|
442
|
+
* Add the correct display in IE 10-.
|
443
|
+
*/
|
444
|
+
|
445
|
+
[hidden] {
|
446
|
+
display: none;
|
447
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
.pulse {
|
2
|
+
&::before {
|
3
|
+
content: '';
|
4
|
+
display: block;
|
5
|
+
position: absolute;
|
6
|
+
width: 100%;
|
7
|
+
height: 100%;
|
8
|
+
top: 0;
|
9
|
+
left: 0;
|
10
|
+
background-color: inherit;
|
11
|
+
border-radius: inherit;
|
12
|
+
transition: opacity .3s, transform .3s;
|
13
|
+
animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
|
14
|
+
z-index: -1;
|
15
|
+
}
|
16
|
+
|
17
|
+
overflow: visible;
|
18
|
+
position: relative;
|
19
|
+
}
|
20
|
+
|
21
|
+
@keyframes pulse-animation {
|
22
|
+
0% {
|
23
|
+
opacity: 1;
|
24
|
+
transform: scale(1);
|
25
|
+
}
|
26
|
+
50% {
|
27
|
+
opacity: 0;
|
28
|
+
transform: scale(1.5);
|
29
|
+
}
|
30
|
+
100% {
|
31
|
+
opacity: 0;
|
32
|
+
transform: scale(1.5);
|
33
|
+
}
|
34
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
.
|
1
|
+
.sidenav {
|
2
2
|
position: fixed;
|
3
|
-
width:
|
3
|
+
width: $sidenav-width;
|
4
4
|
left: 0;
|
5
5
|
top: 0;
|
6
6
|
margin: 0;
|
@@ -33,45 +33,38 @@
|
|
33
33
|
|
34
34
|
li {
|
35
35
|
float: none;
|
36
|
-
line-height: $sidenav-
|
36
|
+
line-height: $sidenav-line-height;
|
37
37
|
|
38
38
|
&.active { background-color: rgba(0,0,0,.05); }
|
39
39
|
}
|
40
40
|
|
41
|
-
|
41
|
+
// Style non btn anchors
|
42
|
+
li > a:not(.btn):not(.btn-large):not(.btn-flat):not(.btn-floating) {
|
43
|
+
&:hover { background-color: rgba(0,0,0,.05);}
|
44
|
+
|
42
45
|
color: $sidenav-font-color;
|
43
46
|
display: block;
|
44
47
|
font-size: $sidenav-font-size;
|
45
48
|
font-weight: 500;
|
46
49
|
height: $sidenav-item-height;
|
47
|
-
line-height: $sidenav-
|
50
|
+
line-height: $sidenav-line-height;
|
48
51
|
padding: 0 ($sidenav-padding * 2);
|
49
52
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
53
|
+
& > i,
|
54
|
+
& > [class^="mdi-"], li > a > [class*="mdi-"],
|
55
|
+
& > i.material-icons {
|
56
|
+
float: left;
|
57
|
+
height: $sidenav-item-height;
|
58
|
+
line-height: $sidenav-line-height;
|
59
|
+
margin: 0 ($sidenav-padding * 2) 0 0;
|
60
|
+
width: $sidenav-item-height / 2;
|
61
|
+
color: rgba(0,0,0,.54);
|
54
62
|
}
|
55
|
-
|
56
|
-
&.btn,
|
57
|
-
&.btn-large,
|
58
|
-
&.btn-floating { color: $button-raised-color; }
|
59
|
-
&.btn-flat { color: $button-flat-color; }
|
60
|
-
|
61
|
-
&.btn:hover,
|
62
|
-
&.btn-large:hover { background-color: lighten($button-raised-background, 5%); }
|
63
|
-
&.btn-floating:hover { background-color: $button-raised-background; }
|
64
63
|
}
|
65
64
|
|
66
|
-
|
67
|
-
li >
|
68
|
-
|
69
|
-
float: left;
|
70
|
-
height: $sidenav-item-height;
|
71
|
-
line-height: $sidenav-item-height;
|
72
|
-
margin: 0 ($sidenav-padding * 2) 0 0;
|
73
|
-
width: $sidenav-item-height / 2;
|
74
|
-
color: rgba(0,0,0,.54);
|
65
|
+
// Stlye btn anchors
|
66
|
+
li > .btn, li > .btn-large, li > .btn-flat, li > .btn-floating {
|
67
|
+
margin: 10px ($sidenav-padding * 2);
|
75
68
|
}
|
76
69
|
|
77
70
|
.divider {
|
@@ -88,10 +81,10 @@
|
|
88
81
|
color: rgba(0,0,0,.54);
|
89
82
|
font-size: $sidenav-font-size;
|
90
83
|
font-weight: 500;
|
91
|
-
line-height: $sidenav-
|
84
|
+
line-height: $sidenav-line-height;
|
92
85
|
}
|
93
86
|
|
94
|
-
.
|
87
|
+
.user-view {
|
95
88
|
position: relative;
|
96
89
|
padding: ($sidenav-padding * 2) ($sidenav-padding * 2) 0;
|
97
90
|
margin-bottom: $sidenav-padding / 2;
|
@@ -124,7 +117,7 @@
|
|
124
117
|
.name,
|
125
118
|
.email {
|
126
119
|
font-size: $sidenav-font-size;
|
127
|
-
line-height:
|
120
|
+
line-height: $sidenav-line-height / 2;
|
128
121
|
}
|
129
122
|
|
130
123
|
.name {
|
@@ -142,6 +135,11 @@
|
|
142
135
|
|
143
136
|
// Touch interaction
|
144
137
|
.drag-target {
|
138
|
+
// Right Align
|
139
|
+
&.right-aligned {
|
140
|
+
right: 0;
|
141
|
+
}
|
142
|
+
|
145
143
|
height: 100%;
|
146
144
|
width: 10px;
|
147
145
|
position: fixed;
|
@@ -150,23 +148,23 @@
|
|
150
148
|
}
|
151
149
|
|
152
150
|
|
153
|
-
// Fixed
|
154
|
-
.
|
155
|
-
left: 0;
|
156
|
-
transform: translateX(0);
|
157
|
-
position: fixed;
|
158
|
-
|
151
|
+
// Fixed Sidenav shown
|
152
|
+
.sidenav.sidenav-fixed {
|
159
153
|
// Right Align
|
160
154
|
&.right-aligned {
|
161
155
|
right: 0;
|
162
156
|
left: auto;
|
163
157
|
}
|
158
|
+
|
159
|
+
left: 0;
|
160
|
+
transform: translateX(0);
|
161
|
+
position: fixed;
|
164
162
|
}
|
165
163
|
|
166
|
-
// Fixed
|
164
|
+
// Fixed Sidenav hide on smaller
|
167
165
|
@media #{$medium-and-down} {
|
168
|
-
.
|
169
|
-
&.fixed {
|
166
|
+
.sidenav {
|
167
|
+
&.sidenav-fixed {
|
170
168
|
transform: translateX(-105%);
|
171
169
|
|
172
170
|
&.right-aligned {
|
@@ -174,35 +172,37 @@
|
|
174
172
|
}
|
175
173
|
}
|
176
174
|
|
177
|
-
a {
|
175
|
+
> a {
|
178
176
|
padding: 0 $sidenav-padding;
|
179
177
|
}
|
180
178
|
|
181
|
-
.
|
179
|
+
.user-view {
|
182
180
|
padding: $sidenav-padding $sidenav-padding 0;
|
183
181
|
}
|
184
182
|
}
|
185
183
|
}
|
186
184
|
|
187
185
|
|
188
|
-
.
|
189
|
-
.
|
186
|
+
.sidenav .collapsible-body > ul:not(.collapsible) > li.active,
|
187
|
+
.sidenav.sidenav-fixed .collapsible-body > ul:not(.collapsible) > li.active {
|
190
188
|
background-color: $primary-color;
|
191
189
|
a {
|
192
190
|
color: $sidenav-bg-color;
|
193
191
|
}
|
194
192
|
}
|
193
|
+
.sidenav .collapsible-body {
|
194
|
+
padding: 0;
|
195
|
+
}
|
195
196
|
|
196
197
|
|
197
|
-
|
198
|
+
.sidenav-overlay {
|
198
199
|
position: fixed;
|
199
200
|
top: 0;
|
200
201
|
left: 0;
|
201
202
|
right: 0;
|
202
|
-
|
203
|
+
opacity: 0;
|
203
204
|
height: 120vh;
|
204
205
|
background-color: rgba(0,0,0,.5);
|
205
206
|
z-index: 997;
|
206
|
-
|
207
|
-
will-change: opacity;
|
207
|
+
display: none;
|
208
208
|
}
|
File without changes
|
@@ -13,7 +13,7 @@
|
|
13
13
|
display: inline-block;
|
14
14
|
font-weight: 300;
|
15
15
|
color: #757575;
|
16
|
-
padding-left:
|
16
|
+
padding-left: 16px;
|
17
17
|
height: 1.5rem;
|
18
18
|
line-height: 1.5rem;
|
19
19
|
letter-spacing: .4;
|
@@ -21,13 +21,13 @@
|
|
21
21
|
|
22
22
|
&:hover {
|
23
23
|
color: lighten(#757575, 20%);
|
24
|
-
padding-left:
|
25
|
-
border-left: 1px solid
|
24
|
+
padding-left: 15px;
|
25
|
+
border-left: 1px solid $primary-color;
|
26
26
|
}
|
27
27
|
&.active {
|
28
28
|
font-weight: 500;
|
29
|
-
padding-left:
|
30
|
-
border-left: 2px solid
|
29
|
+
padding-left: 14px;
|
30
|
+
border-left: 2px solid $primary-color;
|
31
31
|
}
|
32
32
|
}
|
33
33
|
}
|