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.
- checksums.yaml +5 -5
- data/.gitattributes +1 -0
- data/.gitignore +3 -0
- data/README.md +48 -10
- data/Rakefile +129 -1
- 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/assets/javascripts/materialize-sprockets.js +29 -0
- data/assets/javascripts/materialize.js +12374 -0
- data/assets/stylesheets/materialize/components/_badges.scss +55 -0
- data/assets/stylesheets/materialize/components/_buttons.scss +322 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +72 -29
- data/assets/stylesheets/materialize/components/_carousel.scss +90 -0
- data/assets/stylesheets/materialize/components/_chips.scss +90 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +23 -17
- 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} +22 -64
- data/assets/stylesheets/materialize/components/_datepicker.scss +191 -0
- data/assets/stylesheets/materialize/components/_dropdown.scss +85 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +197 -144
- data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +57 -18
- data/assets/stylesheets/materialize/components/_icons-material-design.scss +5 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +15 -13
- data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +18 -14
- data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +89 -25
- data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +5 -3
- data/assets/stylesheets/materialize/components/_pulse.scss +34 -0
- data/assets/stylesheets/materialize/components/_sidenav.scss +208 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +2 -2
- data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +5 -5
- data/assets/stylesheets/materialize/components/_tabs.scss +99 -0
- 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 +17 -22
- data/assets/stylesheets/materialize/components/_tooltip.scss +32 -0
- data/assets/stylesheets/materialize/components/_transitions.scss +13 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +11 -9
- data/assets/stylesheets/materialize/components/_variables.scss +349 -0
- data/assets/stylesheets/materialize/components/_waves.scss +114 -0
- data/assets/stylesheets/materialize/components/forms/_checkboxes.scss +200 -0
- data/assets/stylesheets/materialize/components/forms/_file-input.scss +44 -0
- data/assets/stylesheets/materialize/components/forms/_forms.scss +22 -0
- data/assets/stylesheets/materialize/components/forms/_input-fields.scss +354 -0
- data/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +115 -0
- data/assets/stylesheets/materialize/components/forms/_range.scss +161 -0
- data/assets/stylesheets/materialize/components/forms/_select.scss +190 -0
- data/assets/stylesheets/materialize/components/forms/_switches.scss +89 -0
- data/assets/stylesheets/materialize/extras/nouislider.css +406 -0
- data/{app/assets → assets}/stylesheets/materialize.scss +13 -10
- data/lib/materialize-sass/engine.rb +11 -6
- 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 -105
- data/app/assets/fonts/material-design-icons/LICENSE.txt +0 -428
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.eot +0 -0
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.svg +0 -769
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.ttf +0 -0
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff +0 -0
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff2 +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.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.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.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.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 -61
- data/app/assets/javascripts/materialize/cards.js +0 -27
- data/app/assets/javascripts/materialize/character_counter.js +0 -59
- data/app/assets/javascripts/materialize/collapsible.js +0 -139
- 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 -178
- data/app/assets/javascripts/materialize/forms.js +0 -456
- data/app/assets/javascripts/materialize/global.js +0 -36
- data/app/assets/javascripts/materialize/hammer.min.js +0 -1
- data/app/assets/javascripts/materialize/init.js +0 -136
- 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/leanModal.js +0 -178
- data/app/assets/javascripts/materialize/materialbox.js +0 -249
- 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 -62
- data/app/assets/javascripts/materialize/scrollFire.js +0 -44
- data/app/assets/javascripts/materialize/scrollspy.js +0 -284
- data/app/assets/javascripts/materialize/sideNav.js +0 -312
- data/app/assets/javascripts/materialize/slider.js +0 -301
- data/app/assets/javascripts/materialize/tabs.js +0 -136
- data/app/assets/javascripts/materialize/toasts.js +0 -125
- data/app/assets/javascripts/materialize/tooltip.js +0 -166
- data/app/assets/javascripts/materialize/transitions.js +0 -154
- data/app/assets/javascripts/materialize/velocity.min.js +0 -4
- data/app/assets/javascripts/materialize-sprockets.js +0 -27
- data/app/assets/javascripts/materialize.js +0 -6159
- data/app/assets/stylesheets/materialize/components/_buttons.scss +0 -157
- data/app/assets/stylesheets/materialize/components/_dropdown.scss +0 -40
- data/app/assets/stylesheets/materialize/components/_form.scss +0 -886
- data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +0 -3257
- data/app/assets/stylesheets/materialize/components/_mixins.scss +0 -5
- data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -427
- data/app/assets/stylesheets/materialize/components/_prefixer.scss +0 -376
- data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -38
- data/app/assets/stylesheets/materialize/components/_sideNav.scss +0 -111
- data/app/assets/stylesheets/materialize/components/_tabs.scss +0 -47
- data/app/assets/stylesheets/materialize/components/_tooltip.scss +0 -34
- data/app/assets/stylesheets/materialize/components/_variables.scss +0 -152
- data/app/assets/stylesheets/materialize/components/_waves.scss +0 -167
- 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
@@ -0,0 +1,349 @@
|
|
1
|
+
// ==========================================================================
|
2
|
+
// Materialize variables
|
3
|
+
// ==========================================================================
|
4
|
+
//
|
5
|
+
// Table of Contents:
|
6
|
+
//
|
7
|
+
// 1. Colors
|
8
|
+
// 2. Badges
|
9
|
+
// 3. Buttons
|
10
|
+
// 4. Cards
|
11
|
+
// 5. Carousel
|
12
|
+
// 6. Collapsible
|
13
|
+
// 7. Chips
|
14
|
+
// 8. Date + Time Picker
|
15
|
+
// 9. Dropdown
|
16
|
+
// 10. Forms
|
17
|
+
// 11. Global
|
18
|
+
// 12. Grid
|
19
|
+
// 13. Navigation Bar
|
20
|
+
// 14. Side Navigation
|
21
|
+
// 15. Photo Slider
|
22
|
+
// 16. Spinners | Loaders
|
23
|
+
// 17. Tabs
|
24
|
+
// 18. Tables
|
25
|
+
// 19. Toasts
|
26
|
+
// 20. Typography
|
27
|
+
// 21. Footer
|
28
|
+
// 22. Flow Text
|
29
|
+
// 23. Collections
|
30
|
+
// 24. Progress Bar
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
// 1. Colors
|
35
|
+
// ==========================================================================
|
36
|
+
|
37
|
+
$primary-color: color("materialize-red", "lighten-2") !default;
|
38
|
+
$primary-color-light: lighten($primary-color, 15%) !default;
|
39
|
+
$primary-color-dark: darken($primary-color, 15%) !default;
|
40
|
+
|
41
|
+
$secondary-color: color("teal", "lighten-1") !default;
|
42
|
+
$success-color: color("green", "base") !default;
|
43
|
+
$error-color: color("red", "base") !default;
|
44
|
+
$link-color: color("light-blue", "darken-1") !default;
|
45
|
+
|
46
|
+
|
47
|
+
// 2. Badges
|
48
|
+
// ==========================================================================
|
49
|
+
|
50
|
+
$badge-bg-color: $secondary-color !default;
|
51
|
+
$badge-height: 22px !default;
|
52
|
+
|
53
|
+
|
54
|
+
// 3. Buttons
|
55
|
+
// ==========================================================================
|
56
|
+
|
57
|
+
// Shared styles
|
58
|
+
$button-border: none !default;
|
59
|
+
$button-background-focus: lighten($secondary-color, 4%) !default;
|
60
|
+
$button-font-size: 14px !default;
|
61
|
+
$button-icon-font-size: 1.3rem !default;
|
62
|
+
$button-height: 36px !default;
|
63
|
+
$button-padding: 0 16px !default;
|
64
|
+
$button-radius: 2px !default;
|
65
|
+
|
66
|
+
// Disabled styles
|
67
|
+
$button-disabled-background: #DFDFDF !default;
|
68
|
+
$button-disabled-color: #9F9F9F !default;
|
69
|
+
|
70
|
+
// Raised buttons
|
71
|
+
$button-raised-background: $secondary-color !default;
|
72
|
+
$button-raised-background-hover: lighten($button-raised-background, 5%) !default;
|
73
|
+
$button-raised-color: #fff !default;
|
74
|
+
|
75
|
+
// Large buttons
|
76
|
+
$button-large-font-size: 15px !default;
|
77
|
+
$button-large-icon-font-size: 1.6rem !default;
|
78
|
+
$button-large-height: $button-height * 1.5 !default;
|
79
|
+
$button-floating-large-size: 56px !default;
|
80
|
+
|
81
|
+
// Small buttons
|
82
|
+
$button-small-font-size: 13px !default;
|
83
|
+
$button-small-icon-font-size: 1.2rem !default;
|
84
|
+
$button-small-height: $button-height * .9 !default;
|
85
|
+
$button-floating-small-size: $button-height * .9 !default;
|
86
|
+
|
87
|
+
// Flat buttons
|
88
|
+
$button-flat-color: #343434 !default;
|
89
|
+
$button-flat-disabled-color: lighten(#999, 10%) !default;
|
90
|
+
|
91
|
+
// Floating buttons
|
92
|
+
$button-floating-background: $secondary-color !default;
|
93
|
+
$button-floating-background-hover: $button-floating-background !default;
|
94
|
+
$button-floating-color: #fff !default;
|
95
|
+
$button-floating-size: 40px !default;
|
96
|
+
$button-floating-radius: 50% !default;
|
97
|
+
|
98
|
+
|
99
|
+
// 4. Cards
|
100
|
+
// ==========================================================================
|
101
|
+
|
102
|
+
$card-padding: 24px !default;
|
103
|
+
$card-bg-color: #fff !default;
|
104
|
+
$card-link-color: color("orange", "accent-2") !default;
|
105
|
+
$card-link-color-light: lighten($card-link-color, 20%) !default;
|
106
|
+
|
107
|
+
|
108
|
+
// 5. Carousel
|
109
|
+
// ==========================================================================
|
110
|
+
|
111
|
+
$carousel-height: 400px !default;
|
112
|
+
$carousel-item-height: $carousel-height / 2 !default;
|
113
|
+
$carousel-item-width: $carousel-item-height !default;
|
114
|
+
|
115
|
+
|
116
|
+
// 6. Collapsible
|
117
|
+
// ==========================================================================
|
118
|
+
|
119
|
+
$collapsible-height: 3rem !default;
|
120
|
+
$collapsible-line-height: $collapsible-height !default;
|
121
|
+
$collapsible-header-color: #fff !default;
|
122
|
+
$collapsible-border-color: #ddd !default;
|
123
|
+
|
124
|
+
|
125
|
+
// 7. Chips
|
126
|
+
// ==========================================================================
|
127
|
+
|
128
|
+
$chip-bg-color: #e4e4e4 !default;
|
129
|
+
$chip-border-color: #9e9e9e !default;
|
130
|
+
$chip-selected-color: #26a69a !default;
|
131
|
+
$chip-margin: 5px !default;
|
132
|
+
|
133
|
+
|
134
|
+
// 8. Date + Time Picker
|
135
|
+
// ==========================================================================
|
136
|
+
|
137
|
+
$datepicker-display-font-size: 2.8rem;
|
138
|
+
$datepicker-calendar-header-color: #999;
|
139
|
+
$datepicker-weekday-color: rgba(0, 0, 0, .87) !default;
|
140
|
+
$datepicker-weekday-bg: darken($secondary-color, 7%) !default;
|
141
|
+
$datepicker-date-bg: $secondary-color !default;
|
142
|
+
$datepicker-year: rgba(255, 255, 255, .7) !default;
|
143
|
+
$datepicker-focus: rgba(0,0,0, .05) !default;
|
144
|
+
$datepicker-selected: $secondary-color !default;
|
145
|
+
$datepicker-selected-outfocus: desaturate(lighten($secondary-color, 35%), 15%) !default;
|
146
|
+
$datepicker-day-focus: transparentize(desaturate($secondary-color, 5%), .75) !default;
|
147
|
+
$datepicker-disabled-day-color: rgba(0, 0, 0, .3) !default;
|
148
|
+
|
149
|
+
$timepicker-clock-color: rgba(0, 0, 0, .87) !default;
|
150
|
+
$timepicker-clock-plate-bg: #eee !default;
|
151
|
+
|
152
|
+
|
153
|
+
// 9. Dropdown
|
154
|
+
// ==========================================================================
|
155
|
+
|
156
|
+
$dropdown-bg-color: #fff !default;
|
157
|
+
$dropdown-hover-bg-color: #eee !default;
|
158
|
+
$dropdown-color: $secondary-color !default;
|
159
|
+
$dropdown-item-height: 50px !default;
|
160
|
+
|
161
|
+
|
162
|
+
// 10. Forms
|
163
|
+
// ==========================================================================
|
164
|
+
|
165
|
+
// Text Inputs + Textarea
|
166
|
+
$input-height: 3rem !default;
|
167
|
+
$input-border-color: color("grey", "base") !default;
|
168
|
+
$input-border: 1px solid $input-border-color !default;
|
169
|
+
$input-background: #fff !default;
|
170
|
+
$input-error-color: $error-color !default;
|
171
|
+
$input-success-color: $success-color !default;
|
172
|
+
$input-focus-color: $secondary-color !default;
|
173
|
+
$input-font-size: 16px !default;
|
174
|
+
$input-margin-bottom: 8px;
|
175
|
+
$input-margin: 0 0 $input-margin-bottom 0 !default;
|
176
|
+
$input-padding: 0 !default;
|
177
|
+
$label-font-size: .8rem !default;
|
178
|
+
$input-disabled-color: rgba(0,0,0, .42) !default;
|
179
|
+
$input-disabled-solid-color: #949494 !default;
|
180
|
+
$input-disabled-border: 1px dotted $input-disabled-color !default;
|
181
|
+
$input-invalid-border: 1px solid $input-error-color !default;
|
182
|
+
$input-icon-size: 2rem;
|
183
|
+
$placeholder-text-color: lighten($input-border-color, 20%) !default;
|
184
|
+
|
185
|
+
// Radio Buttons
|
186
|
+
$radio-fill-color: $secondary-color !default;
|
187
|
+
$radio-empty-color: #5a5a5a !default;
|
188
|
+
$radio-border: 2px solid $radio-fill-color !default;
|
189
|
+
|
190
|
+
// Range
|
191
|
+
$range-height: 14px !default;
|
192
|
+
$range-width: 14px !default;
|
193
|
+
$track-height: 3px !default;
|
194
|
+
|
195
|
+
// Select
|
196
|
+
$select-border: 1px solid #f2f2f2 !default;
|
197
|
+
$select-background: rgba(255, 255, 255, 0.90) !default;
|
198
|
+
$select-focus: 1px solid lighten($secondary-color, 47%) !default;
|
199
|
+
$select-option-hover: rgba(0,0,0,.08) !default;
|
200
|
+
$select-option-focus: rgba(0,0,0,.08) !default;
|
201
|
+
$select-option-selected: rgba(0,0,0,.03) !default;
|
202
|
+
$select-padding: 5px !default;
|
203
|
+
$select-radius: 2px !default;
|
204
|
+
$select-disabled-color: rgba(0,0,0,.3) !default;
|
205
|
+
|
206
|
+
// Switches
|
207
|
+
$switch-bg-color: $secondary-color !default;
|
208
|
+
$switch-checked-lever-bg: desaturate(lighten($switch-bg-color, 25%), 25%) !default;
|
209
|
+
$switch-unchecked-bg: #F1F1F1 !default;
|
210
|
+
$switch-unchecked-lever-bg: rgba(0,0,0,.38) !default;
|
211
|
+
$switch-radius: 15px !default;
|
212
|
+
|
213
|
+
|
214
|
+
// 11. Global
|
215
|
+
// ==========================================================================
|
216
|
+
|
217
|
+
// Media Query Ranges
|
218
|
+
$small-screen-up: 601px !default;
|
219
|
+
$medium-screen-up: 993px !default;
|
220
|
+
$large-screen-up: 1201px !default;
|
221
|
+
$small-screen: 600px !default;
|
222
|
+
$medium-screen: 992px !default;
|
223
|
+
$large-screen: 1200px !default;
|
224
|
+
|
225
|
+
$medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
|
226
|
+
$large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
|
227
|
+
$extra-large-and-up: "only screen and (min-width : #{$large-screen-up})" !default;
|
228
|
+
$small-and-down: "only screen and (max-width : #{$small-screen})" !default;
|
229
|
+
$medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
|
230
|
+
$medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
|
231
|
+
|
232
|
+
|
233
|
+
// 12. Grid
|
234
|
+
// ==========================================================================
|
235
|
+
|
236
|
+
$num-cols: 12 !default;
|
237
|
+
$gutter-width: 1.5rem !default;
|
238
|
+
$element-top-margin: $gutter-width/3 !default;
|
239
|
+
$element-bottom-margin: ($gutter-width*2)/3 !default;
|
240
|
+
|
241
|
+
|
242
|
+
// 13. Navigation Bar
|
243
|
+
// ==========================================================================
|
244
|
+
|
245
|
+
$navbar-height: 64px !default;
|
246
|
+
$navbar-line-height: $navbar-height !default;
|
247
|
+
$navbar-height-mobile: 56px !default;
|
248
|
+
$navbar-line-height-mobile: $navbar-height-mobile !default;
|
249
|
+
$navbar-font-size: 1rem !default;
|
250
|
+
$navbar-font-color: #fff !default;
|
251
|
+
$navbar-brand-font-size: 2.1rem !default;
|
252
|
+
|
253
|
+
// 14. Side Navigation
|
254
|
+
// ==========================================================================
|
255
|
+
|
256
|
+
$sidenav-width: 300px !default;
|
257
|
+
$sidenav-font-size: 14px !default;
|
258
|
+
$sidenav-font-color: rgba(0,0,0,.87) !default;
|
259
|
+
$sidenav-bg-color: #fff !default;
|
260
|
+
$sidenav-padding: 16px !default;
|
261
|
+
$sidenav-item-height: 48px !default;
|
262
|
+
$sidenav-line-height: $sidenav-item-height !default;
|
263
|
+
|
264
|
+
|
265
|
+
// 15. Photo Slider
|
266
|
+
// ==========================================================================
|
267
|
+
|
268
|
+
$slider-bg-color: color('grey', 'base') !default;
|
269
|
+
$slider-bg-color-light: color('grey', 'lighten-2') !default;
|
270
|
+
$slider-indicator-color: color('green', 'base') !default;
|
271
|
+
|
272
|
+
|
273
|
+
// 16. Spinners | Loaders
|
274
|
+
// ==========================================================================
|
275
|
+
|
276
|
+
$spinner-default-color: $secondary-color !default;
|
277
|
+
|
278
|
+
|
279
|
+
// 17. Tabs
|
280
|
+
// ==========================================================================
|
281
|
+
|
282
|
+
$tabs-underline-color: $primary-color-light !default;
|
283
|
+
$tabs-text-color: $primary-color !default;
|
284
|
+
$tabs-bg-color: #fff !default;
|
285
|
+
|
286
|
+
|
287
|
+
// 18. Tables
|
288
|
+
// ==========================================================================
|
289
|
+
|
290
|
+
$table-border-color: rgba(0,0,0,.12) !default;
|
291
|
+
$table-striped-color: rgba(242, 242, 242, 0.5) !default;
|
292
|
+
|
293
|
+
|
294
|
+
// 19. Toasts
|
295
|
+
// ==========================================================================
|
296
|
+
|
297
|
+
$toast-height: 48px !default;
|
298
|
+
$toast-color: #323232 !default;
|
299
|
+
$toast-text-color: #fff !default;
|
300
|
+
$toast-action-color: #eeff41;
|
301
|
+
|
302
|
+
|
303
|
+
// 20. Typography
|
304
|
+
// ==========================================================================
|
305
|
+
|
306
|
+
$font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !default;
|
307
|
+
$off-black: rgba(0, 0, 0, 0.87) !default;
|
308
|
+
// Header Styles
|
309
|
+
$h1-fontsize: 4.2rem !default;
|
310
|
+
$h2-fontsize: 3.56rem !default;
|
311
|
+
$h3-fontsize: 2.92rem !default;
|
312
|
+
$h4-fontsize: 2.28rem !default;
|
313
|
+
$h5-fontsize: 1.64rem !default;
|
314
|
+
$h6-fontsize: 1.15rem !default;
|
315
|
+
|
316
|
+
|
317
|
+
// 21. Footer
|
318
|
+
// ==========================================================================
|
319
|
+
|
320
|
+
$footer-font-color: #fff !default;
|
321
|
+
$footer-bg-color: $primary-color !default;
|
322
|
+
$footer-copyright-font-color: rgba(255,255,255,.8) !default;
|
323
|
+
$footer-copyright-bg-color: rgba(51,51,51,.08) !default;
|
324
|
+
|
325
|
+
|
326
|
+
// 22. Flow Text
|
327
|
+
// ==========================================================================
|
328
|
+
|
329
|
+
$range : $large-screen - $small-screen !default;
|
330
|
+
$intervals: 20 !default;
|
331
|
+
$interval-size: $range / $intervals !default;
|
332
|
+
|
333
|
+
|
334
|
+
// 23. Collections
|
335
|
+
// ==========================================================================
|
336
|
+
|
337
|
+
$collection-border-color: #e0e0e0 !default;
|
338
|
+
$collection-bg-color: #fff !default;
|
339
|
+
$collection-active-bg-color: $secondary-color !default;
|
340
|
+
$collection-active-color: lighten($secondary-color, 55%) !default;
|
341
|
+
$collection-hover-bg-color: #ddd !default;
|
342
|
+
$collection-link-color: $secondary-color !default;
|
343
|
+
$collection-line-height: 1.5rem !default;
|
344
|
+
|
345
|
+
|
346
|
+
// 24. Progress Bar
|
347
|
+
// ==========================================================================
|
348
|
+
|
349
|
+
$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
|
+
}
|
@@ -0,0 +1,200 @@
|
|
1
|
+
/* Checkboxes
|
2
|
+
========================================================================== */
|
3
|
+
|
4
|
+
/* Remove default checkbox */
|
5
|
+
[type="checkbox"]:not(:checked),
|
6
|
+
[type="checkbox"]:checked {
|
7
|
+
position: absolute;
|
8
|
+
opacity: 0;
|
9
|
+
pointer-events: none;
|
10
|
+
}
|
11
|
+
|
12
|
+
// Checkbox Styles
|
13
|
+
[type="checkbox"] {
|
14
|
+
// Text Label Style
|
15
|
+
+ span:not(.lever) {
|
16
|
+
position: relative;
|
17
|
+
padding-left: 35px;
|
18
|
+
cursor: pointer;
|
19
|
+
display: inline-block;
|
20
|
+
height: 25px;
|
21
|
+
line-height: 25px;
|
22
|
+
font-size: 1rem;
|
23
|
+
user-select: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
/* checkbox aspect */
|
27
|
+
+ span:not(.lever):before,
|
28
|
+
&:not(.filled-in) + span:not(.lever):after {
|
29
|
+
content: '';
|
30
|
+
position: absolute;
|
31
|
+
top: 0;
|
32
|
+
left: 0;
|
33
|
+
width: 18px;
|
34
|
+
height: 18px;
|
35
|
+
z-index: 0;
|
36
|
+
border: 2px solid $radio-empty-color;
|
37
|
+
border-radius: 1px;
|
38
|
+
margin-top: 3px;
|
39
|
+
transition: .2s;
|
40
|
+
}
|
41
|
+
|
42
|
+
&:not(.filled-in) + span:not(.lever):after {
|
43
|
+
border: 0;
|
44
|
+
transform: scale(0);
|
45
|
+
}
|
46
|
+
|
47
|
+
&:not(:checked):disabled + span:not(.lever):before {
|
48
|
+
border: none;
|
49
|
+
background-color: $input-disabled-color;
|
50
|
+
}
|
51
|
+
|
52
|
+
// Focused styles
|
53
|
+
&.tabbed:focus + span:not(.lever):after {
|
54
|
+
transform: scale(1);
|
55
|
+
border: 0;
|
56
|
+
border-radius: 50%;
|
57
|
+
box-shadow: 0 0 0 10px rgba(0,0,0,.1);
|
58
|
+
background-color: rgba(0,0,0,.1);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
[type="checkbox"]:checked {
|
63
|
+
+ span:not(.lever):before {
|
64
|
+
top: -4px;
|
65
|
+
left: -5px;
|
66
|
+
width: 12px;
|
67
|
+
height: 22px;
|
68
|
+
border-top: 2px solid transparent;
|
69
|
+
border-left: 2px solid transparent;
|
70
|
+
border-right: $radio-border;
|
71
|
+
border-bottom: $radio-border;
|
72
|
+
transform: rotate(40deg);
|
73
|
+
backface-visibility: hidden;
|
74
|
+
transform-origin: 100% 100%;
|
75
|
+
}
|
76
|
+
|
77
|
+
&:disabled + span:before {
|
78
|
+
border-right: 2px solid $input-disabled-color;
|
79
|
+
border-bottom: 2px solid $input-disabled-color;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
/* Indeterminate checkbox */
|
84
|
+
[type="checkbox"]:indeterminate {
|
85
|
+
+ span:not(.lever):before {
|
86
|
+
top: -11px;
|
87
|
+
left: -12px;
|
88
|
+
width: 10px;
|
89
|
+
height: 22px;
|
90
|
+
border-top: none;
|
91
|
+
border-left: none;
|
92
|
+
border-right: $radio-border;
|
93
|
+
border-bottom: none;
|
94
|
+
transform: rotate(90deg);
|
95
|
+
backface-visibility: hidden;
|
96
|
+
transform-origin: 100% 100%;
|
97
|
+
}
|
98
|
+
|
99
|
+
// Disabled indeterminate
|
100
|
+
&:disabled + span:not(.lever):before {
|
101
|
+
border-right: 2px solid $input-disabled-color;
|
102
|
+
background-color: transparent;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
// Filled in Style
|
107
|
+
[type="checkbox"].filled-in {
|
108
|
+
// General
|
109
|
+
+ span:not(.lever):after {
|
110
|
+
border-radius: 2px;
|
111
|
+
}
|
112
|
+
|
113
|
+
+ span:not(.lever):before,
|
114
|
+
+ span:not(.lever):after {
|
115
|
+
content: '';
|
116
|
+
left: 0;
|
117
|
+
position: absolute;
|
118
|
+
/* .1s delay is for check animation */
|
119
|
+
transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
|
120
|
+
z-index: 1;
|
121
|
+
}
|
122
|
+
|
123
|
+
// Unchecked style
|
124
|
+
&:not(:checked) + span:not(.lever):before {
|
125
|
+
width: 0;
|
126
|
+
height: 0;
|
127
|
+
border: 3px solid transparent;
|
128
|
+
left: 6px;
|
129
|
+
top: 10px;
|
130
|
+
transform: rotateZ(37deg);
|
131
|
+
transform-origin: 100% 100%;
|
132
|
+
}
|
133
|
+
|
134
|
+
&:not(:checked) + span:not(.lever):after {
|
135
|
+
height: 20px;
|
136
|
+
width: 20px;
|
137
|
+
background-color: transparent;
|
138
|
+
border: 2px solid $radio-empty-color;
|
139
|
+
top: 0px;
|
140
|
+
z-index: 0;
|
141
|
+
}
|
142
|
+
|
143
|
+
// Checked style
|
144
|
+
&:checked {
|
145
|
+
+ span:not(.lever):before {
|
146
|
+
top: 0;
|
147
|
+
left: 1px;
|
148
|
+
width: 8px;
|
149
|
+
height: 13px;
|
150
|
+
border-top: 2px solid transparent;
|
151
|
+
border-left: 2px solid transparent;
|
152
|
+
border-right: 2px solid $input-background;
|
153
|
+
border-bottom: 2px solid $input-background;
|
154
|
+
transform: rotateZ(37deg);
|
155
|
+
transform-origin: 100% 100%;
|
156
|
+
}
|
157
|
+
|
158
|
+
+ span:not(.lever):after {
|
159
|
+
top: 0;
|
160
|
+
width: 20px;
|
161
|
+
height: 20px;
|
162
|
+
border: 2px solid $secondary-color;
|
163
|
+
background-color: $secondary-color;
|
164
|
+
z-index: 0;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
// Focused styles
|
169
|
+
&.tabbed:focus + span:not(.lever):after {
|
170
|
+
border-radius: 2px;
|
171
|
+
border-color: $radio-empty-color;
|
172
|
+
background-color: rgba(0,0,0,.1);
|
173
|
+
}
|
174
|
+
|
175
|
+
&.tabbed:checked:focus + span:not(.lever):after {
|
176
|
+
border-radius: 2px;
|
177
|
+
background-color: $secondary-color;
|
178
|
+
border-color: $secondary-color;
|
179
|
+
}
|
180
|
+
|
181
|
+
// Disabled style
|
182
|
+
&:disabled:not(:checked) + span:not(.lever):before {
|
183
|
+
background-color: transparent;
|
184
|
+
border: 2px solid transparent;
|
185
|
+
}
|
186
|
+
|
187
|
+
&:disabled:not(:checked) + span:not(.lever):after {
|
188
|
+
border-color: transparent;
|
189
|
+
background-color: $input-disabled-solid-color;
|
190
|
+
}
|
191
|
+
|
192
|
+
&:disabled:checked + span:not(.lever):before {
|
193
|
+
background-color: transparent;
|
194
|
+
}
|
195
|
+
|
196
|
+
&:disabled:checked + span:not(.lever):after {
|
197
|
+
background-color: $input-disabled-solid-color;
|
198
|
+
border-color: $input-disabled-solid-color;
|
199
|
+
}
|
200
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/* File Input
|
2
|
+
========================================================================== */
|
3
|
+
|
4
|
+
.file-field {
|
5
|
+
position: relative;
|
6
|
+
|
7
|
+
.file-path-wrapper {
|
8
|
+
overflow: hidden;
|
9
|
+
padding-left: 10px;
|
10
|
+
}
|
11
|
+
|
12
|
+
input.file-path { width: 100%; }
|
13
|
+
|
14
|
+
.btn {
|
15
|
+
float: left;
|
16
|
+
height: $input-height;
|
17
|
+
line-height: $input-height;
|
18
|
+
}
|
19
|
+
|
20
|
+
span {
|
21
|
+
cursor: pointer;
|
22
|
+
}
|
23
|
+
|
24
|
+
input[type=file] {
|
25
|
+
|
26
|
+
// Needed to override webkit button
|
27
|
+
&::-webkit-file-upload-button {
|
28
|
+
display: none;
|
29
|
+
}
|
30
|
+
|
31
|
+
position: absolute;
|
32
|
+
top: 0;
|
33
|
+
right: 0;
|
34
|
+
left: 0;
|
35
|
+
bottom: 0;
|
36
|
+
width: 100%;
|
37
|
+
margin: 0;
|
38
|
+
padding: 0;
|
39
|
+
font-size: 20px;
|
40
|
+
cursor: pointer;
|
41
|
+
opacity: 0;
|
42
|
+
filter: alpha(opacity=0);
|
43
|
+
}
|
44
|
+
}
|