material_design_lite-sass 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +11 -0
  5. data/CHANGELOG.md +5 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +108 -0
  9. data/Rakefile +4 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +7 -0
  12. data/lib/material_design_lite-sass.rb +46 -0
  13. data/lib/material_design_lite/sass/engine.rb +13 -0
  14. data/lib/material_design_lite/sass/version.rb +5 -0
  15. data/material_design_lite-sass.gemspec +28 -0
  16. data/vendor/assets/javascripts/material.js +3919 -0
  17. data/vendor/assets/javascripts/material/button.js +132 -0
  18. data/vendor/assets/javascripts/material/checkbox.js +265 -0
  19. data/vendor/assets/javascripts/material/data-table.js +149 -0
  20. data/vendor/assets/javascripts/material/icon-toggle.js +248 -0
  21. data/vendor/assets/javascripts/material/layout.js +434 -0
  22. data/vendor/assets/javascripts/material/mdlComponentHandler.js +346 -0
  23. data/vendor/assets/javascripts/material/menu.js +468 -0
  24. data/vendor/assets/javascripts/material/progress.js +116 -0
  25. data/vendor/assets/javascripts/material/rAF.js +38 -0
  26. data/vendor/assets/javascripts/material/radio.js +257 -0
  27. data/vendor/assets/javascripts/material/ripple.js +244 -0
  28. data/vendor/assets/javascripts/material/slider.js +252 -0
  29. data/vendor/assets/javascripts/material/spinner.js +140 -0
  30. data/vendor/assets/javascripts/material/switch.js +269 -0
  31. data/vendor/assets/javascripts/material/tabs.js +152 -0
  32. data/vendor/assets/javascripts/material/textfield.js +247 -0
  33. data/vendor/assets/javascripts/material/tooltip.js +146 -0
  34. data/vendor/assets/stylesheets/_material.scss +50 -0
  35. data/vendor/assets/stylesheets/material/_animation.scss +34 -0
  36. data/vendor/assets/stylesheets/material/_badge.scss +66 -0
  37. data/vendor/assets/stylesheets/material/_button.scss +298 -0
  38. data/vendor/assets/stylesheets/material/_card.scss +111 -0
  39. data/vendor/assets/stylesheets/material/_checkbox.scss +175 -0
  40. data/vendor/assets/stylesheets/material/_color-definitions.scss +599 -0
  41. data/vendor/assets/stylesheets/material/_data-table.scss +105 -0
  42. data/vendor/assets/stylesheets/material/_functions.scss +3 -0
  43. data/vendor/assets/stylesheets/material/_grid.scss +180 -0
  44. data/vendor/assets/stylesheets/material/_icon-toggle.scss +121 -0
  45. data/vendor/assets/stylesheets/material/_layout.scss +580 -0
  46. data/vendor/assets/stylesheets/material/_mega_footer.scss +309 -0
  47. data/vendor/assets/stylesheets/material/_menu.scss +193 -0
  48. data/vendor/assets/stylesheets/material/_mini_footer.scss +88 -0
  49. data/vendor/assets/stylesheets/material/_mixins.scss +268 -0
  50. data/vendor/assets/stylesheets/material/_palette.scss +2303 -0
  51. data/vendor/assets/stylesheets/material/_progress.scss +115 -0
  52. data/vendor/assets/stylesheets/material/_radio.scss +155 -0
  53. data/vendor/assets/stylesheets/material/_resets.scss +55 -0
  54. data/vendor/assets/stylesheets/material/_ripple.scss +42 -0
  55. data/vendor/assets/stylesheets/material/_shadow.scss +42 -0
  56. data/vendor/assets/stylesheets/material/_slider.scss +396 -0
  57. data/vendor/assets/stylesheets/material/_spinner.scss +248 -0
  58. data/vendor/assets/stylesheets/material/_switch.scss +199 -0
  59. data/vendor/assets/stylesheets/material/_tabs.scss +115 -0
  60. data/vendor/assets/stylesheets/material/_textfield.scss +190 -0
  61. data/vendor/assets/stylesheets/material/_tooltip.scss +66 -0
  62. data/vendor/assets/stylesheets/material/_typography.scss +297 -0
  63. data/vendor/assets/stylesheets/material/_variables.scss +572 -0
  64. data/vendor/assets/stylesheets/material/resets/_h5bp.scss +284 -0
  65. data/vendor/assets/stylesheets/material/resets/_mobile.scss +25 -0
  66. metadata +151 -0
@@ -0,0 +1,572 @@
1
+ /**
2
+ * Copyright 2015 Google Inc. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /*------------------------------------*\
18
+ $CONTENTS
19
+ \*------------------------------------*/
20
+ /**
21
+ * STYLE GUIDE VARIABLES------------------Declarations of Sass variables
22
+ * -----Typography
23
+ * -----Colors
24
+ * -----Textfield
25
+ * -----Switch
26
+ * -----Spinner
27
+ * -----Radio
28
+ * -----Menu
29
+ * -----List
30
+ * -----Layout
31
+ * -----Icon toggles
32
+ * -----Footer
33
+ * -----Column
34
+ * -----Checkbox
35
+ * -----Card
36
+ * -----Button
37
+ * -----Animation
38
+ * -----Progress
39
+ * -----Badge
40
+ * -----Shadows
41
+ * -----Grid
42
+ * -----Data table
43
+ */
44
+
45
+
46
+ /* ========== TYPOGRAPHY ========== */
47
+
48
+ /* We're splitting fonts into "preferred" and "performance" in order to optimize
49
+ page loading. For important text, such as the body, we want it to load
50
+ immediately and not wait for the web font load, whereas for other sections,
51
+ such as headers and titles, we're OK with things taking a bit longer to load.
52
+ We do have some optional classes and parameters in the mixins, in case you
53
+ definitely want to make sure you're using the preferred font and don't mind
54
+ the performance hit.
55
+ We should be able to improve on this once CSS Font Loading L3 becomes more
56
+ widely available.
57
+ */
58
+ $preferred_font: 'Roboto', 'Helvetica', 'Arial', sans-serif !default;
59
+ $performance_font: 'Helvetica', 'Arial', sans-serif !default;
60
+
61
+ /* ========== COLORS ========== */
62
+
63
+ /**
64
+ *
65
+ * Material design color palettes.
66
+ * @see http://www.google.com/design/spec/style/color.html
67
+ *
68
+ **/
69
+
70
+ @import "_color-definitions";
71
+ @import "functions";
72
+
73
+ /* ========== Color & Themes ========== */
74
+
75
+ // Define whether individual color pallet items should have classes created.
76
+ // Setting this to true will remove individual color classes for each color in the pallets.
77
+ // To improve overall performance (assuming they aren't used) by:
78
+ // * Saving server bandwidth sending the extra classes
79
+ // * Save client computation against the classes
80
+ // it is RECOMMENDED you set this to true.
81
+ $trim-color-classes: false !default;
82
+
83
+ // Use color primarily for emphasis. Choose colors that fit with
84
+ // your brand and provide good contrast between visual components.
85
+ $color-primary: $palette-indigo-500 !default;
86
+ $color-primary-dark: $palette-indigo-700 !default;
87
+ $color-accent: $palette-pink-A200 !default;
88
+
89
+ // Our primary is dark, so use $color-dark-contrast for overlaid text.
90
+ $color-primary-contrast: $color-dark-contrast !default;
91
+ // Our accent is dark, so use $color-dark-contrast for overlaid text.
92
+ $color-accent-contrast: $color-dark-contrast !default;
93
+
94
+ // Replace all colors with placeholders if we're generating a template.
95
+ @if $styleguide-generate-template == true {
96
+ $color-primary: '$color-primary';
97
+ $color-primary-dark: '$color-primary-dark';
98
+ $color-accent: '$color-accent';
99
+ $color-primary-contrast: '$color-primary-contrast';
100
+ $color-accent-contrast: '$color-accent-contrast';
101
+ }
102
+
103
+ /* ========== Typography ========== */
104
+
105
+ // We use the following default color styles: text-color-primary and
106
+ // text-color-secondary. For light themes, use text-color-primary-inverse
107
+ // and text-color-secondary-inverse.
108
+
109
+ $text-color-primary: unquote("rgba(#{$color-black}, 0.87)") !default;
110
+ $text-link-color: unquote("rgb(#{$color-accent})") !default;
111
+
112
+ // Define whether to target elements directly for typographic enhancements.
113
+ // Turning this off means you need to use mdl-* classes more often.
114
+ // Other components may also fail to adhere to MD without these rules.
115
+ // It is strongly recommended you leave this as true.
116
+
117
+ $target-elements-directly: true !default;
118
+
119
+ /* ========== Components ========== */
120
+
121
+ /* ========== Standard Buttons ========== */
122
+
123
+ // Default button colors.
124
+ $button-primary-color: unquote("rgba(#{$palette-grey-500}, 0.20)") !default;
125
+ $button-secondary-color: unquote("rgb(#{$color-black})") !default;
126
+ $button-hover-color: $button-primary-color !default;
127
+ $button-active-color: unquote("rgba(#{$palette-grey-500}, 0.40)") !default;
128
+ $button-focus-color: unquote("rgba(#{$color-black}, 0.12)") !default;
129
+
130
+ // Colored button colors.
131
+ $button-primary-color-alt: unquote("rgb(#{$color-primary})") !default;
132
+ $button-secondary-color-alt: unquote("rgb(#{$color-primary-contrast})") !default;
133
+ $button-hover-color-alt: unquote("rgb(#{$color-primary})") !default;
134
+ $button-active-color-alt: unquote("rgb(#{$color-primary})") !default;
135
+ $button-focus-color-alt: $button-focus-color !default;
136
+
137
+ // Ripple color for colored raised buttons.
138
+ $button-ripple-color-alt: unquote("rgb(#{$color-primary-contrast})") !default;
139
+
140
+ // Disabled button colors.
141
+ $button-primary-color-disabled: unquote("rgba(#{$color-black}, 0.12)") !default;
142
+ $button-secondary-color-disabled: unquote("rgba(#{$color-black}, 0.26)") !default;
143
+
144
+ // FAB colors and sizes.
145
+ $button-fab-color-alt: unquote("rgb(#{$color-accent})") !default;
146
+ $button-fab-hover-color-alt: unquote("rgb(#{$color-accent})") !default;
147
+ $button-fab-active-color-alt: unquote("rgb(#{$color-accent})") !default;
148
+ $button-fab-text-color-alt: unquote("rgb(#{$color-accent-contrast})") !default;
149
+ $button-fab-ripple-color-alt: unquote("rgb(#{$color-accent-contrast})") !default;
150
+
151
+ // Icon button colors and sizes.
152
+ $button-icon-color: unquote("rgb(#{$palette-grey-700})") !default;
153
+ $button-icon-focus-color: $button-focus-color !default;
154
+
155
+ /* ========== Icon Toggles ========== */
156
+
157
+ $icon-toggle-color: unquote("rgb(#{$palette-grey-700})") !default;
158
+ $icon-toggle-focus-color: $button-focus-color !default;
159
+ $icon-toggle-checked-color: unquote("rgb(#{$color-primary})") !default;
160
+ $icon-toggle-checked-focus-color: unquote("rgba(#{$color-primary}, 0.26)") !default;
161
+ $icon-toggle-disabled-color: unquote("rgba(#{$color-black}, 0.26)") !default;
162
+
163
+ /* ========== Radio Buttons ========== */
164
+
165
+ $radio-color: unquote("rgb(#{$color-primary})") !default;
166
+ $radio-off-color: unquote("rgba(#{$color-black}, 0.54)") !default;
167
+ $radio-disabled-color: unquote("rgba(#{$color-black}, 0.26)") !default;
168
+
169
+ /* ========== Ripple effect ========== */
170
+
171
+ $ripple-bg-color: unquote("rgb(#{$color-light-contrast})") !default;
172
+
173
+ /* ========== Layout ========== */
174
+
175
+ $layout-nav-color: unquote("rgb(#{$palette-grey-300})") !default;
176
+
177
+ // Drawer
178
+ $layout-drawer-bg-color: unquote("rgb(#{$palette-grey-50})") !default;
179
+ $layout-drawer-border-color: unquote("rgb(#{$palette-grey-300})") !default;
180
+ $layout-text-color: unquote("rgb(#{$palette-grey-800})") !default;
181
+ $layout-drawer-navigation-color: #757575 !default;
182
+ $layout-drawer-navigation-link-active-background: unquote("rgb(#{$color-light-contrast})") !default;
183
+ $layout-drawer-navigation-link-active-color: unquote("rgb(#{$color-primary})") !default;
184
+
185
+ // Header
186
+ $layout-header-bg-color: unquote("rgb(#{$color-primary})") !default;
187
+ $layout-header-text-color: unquote("rgb(#{$color-primary-contrast})") !default;
188
+ $layout-header-nav-hover-color: unquote("rgba(#{$palette-grey-700}, 0.6)") !default;
189
+ $layout-header-tab-text-color: unquote("rgba(#{$color-primary-contrast}, 0.6)") !default;
190
+
191
+ // Tabs
192
+ $layout-header-tab-highlight: unquote("rgb(#{$color-accent})") !default;
193
+
194
+ /* ========== Content Tabs ========== */
195
+
196
+ $tab-highlight-color: unquote("rgb(#{$color-primary})") !default;
197
+ $tab-text-color: unquote("rgba(#{$color-black}, 0.54)") !default;
198
+ $tab-active-text-color: unquote("rgba(#{$color-black}, 0.87)") !default;
199
+ $tab-border-color: unquote("rgb(#{$palette-grey-300})") !default;
200
+
201
+ /* ========== Checkboxes ========== */
202
+
203
+ $checkbox-color: unquote("rgb(#{$color-primary})") !default;
204
+ $checkbox-off-color: unquote("rgba(#{$color-black}, 0.54)") !default;
205
+ $checkbox-disabled-color: unquote("rgba(#{$color-black}, 0.26)") !default;
206
+ $checkbox-focus-color: unquote("rgba(#{$color-primary}, 0.26)") !default;
207
+
208
+ /* ========== Switches ========== */
209
+
210
+ $switch-color: unquote("rgb(#{$color-primary})") !default;
211
+ $switch-faded-color: unquote("rgba(#{$color-primary}, 0.26)") !default;
212
+ $switch-thumb-color: $switch-color !default;
213
+ $switch-track-color: unquote("rgba(#{$color-primary}, 0.5)") !default;
214
+
215
+ $switch-off-thumb-color: unquote("rgb(#{$palette-grey-50})") !default;
216
+ $switch-off-track-color: unquote("rgba(#{$color-black}, 0.26)") !default;
217
+ $switch-disabled-thumb-color: unquote("rgb(#{$palette-grey-400})") !default;
218
+ $switch-disabled-track-color: unquote("rgba(#{$color-black}, 0.12)") !default;
219
+
220
+ /* ========== Spinner ========== */
221
+
222
+ $spinner-color-1: unquote("rgb(#{$palette-blue-400})") !default;
223
+ $spinner-color-2: unquote("rgb(#{$palette-red-500})") !default;
224
+ $spinner-color-3: unquote("rgb(#{$palette-yellow-600})") !default;
225
+ $spinner-color-4: unquote("rgb(#{$palette-green-500})") !default;
226
+
227
+ $spinner-single-color: unquote("rgb(#{$color-primary})") !default;
228
+
229
+ /* ========== Text fields ========== */
230
+
231
+ $input-text-background-color: transparent !default;
232
+ $input-text-label-color: unquote("rgba(#{$color-black}, 0.26)") !default;
233
+ $input-text-bottom-border-color: unquote("rgba(#{$color-black}, 0.12)") !default;
234
+ $input-text-highlight-color: unquote("rgb(#{$color-primary})") !default;
235
+ $input-text-disabled-color: $input-text-bottom-border-color !default;
236
+ $input-text-error-color: unquote("rgb(222, 50, 38)") !default;
237
+
238
+ /* ========== Card ========== */
239
+
240
+ $card-background-color: unquote("rgb(#{$color-white})") !default;
241
+ $card-text-color: unquote("rgb(#{$color-black})") !default;
242
+ $card-image-placeholder-color: unquote("rgb(#{$color-accent})") !default;
243
+ $card-supporting-text-text-color: unquote("rgba(#{$color-black}, 0.54)") !default;
244
+ $card-border-color: rgba(0,0,0,0.1) !default;
245
+
246
+ /* ========== Sliders ========== */
247
+
248
+ $range-bg-color: unquote("rgba(#{$color-black}, 0.26)") !default;
249
+ $range-color: unquote("rgb(#{$color-primary})") !default;
250
+ $range-faded-color: unquote("rgba(#{$color-primary}, 0.26)") !default;
251
+ $range-bg-focus-color: unquote("rgba(#{$color-black}, 0.12)") !default;
252
+
253
+ /* ========== Progress ========== */
254
+ $progress-main-color: unquote("rgb(#{$color-primary})") !default;
255
+ $progress-secondary-color: unquote("rgba(#{$color-primary-contrast}, 0.7)") !default;
256
+ $progress-fallback-buffer-color: unquote("rgba(#{$color-primary-contrast}, 0.9)") !default;
257
+
258
+ /* ========== List ========== */
259
+
260
+ $list-container-item-border-color: unquote("rgb(#{$palette-grey-300})") !default;
261
+ $list-container-view-background: unquote("rgb(#{$color-white})") !default;
262
+
263
+ /* ========== Item ========== */
264
+
265
+ // Default Item Colors
266
+ $default-item-text-color: unquote("rgba(#{$color-black}, 0.87)") !default;
267
+ $default-item-outline-color: unquote("rgb(#{$palette-grey-400})") !default;
268
+ $default-item-hover-bg-color: unquote("rgb(#{$palette-grey-200})") !default;
269
+ $default-item-focus-bg-color: unquote("rgb(#{$palette-grey-200})") !default;
270
+ $default-item-active-bg-color: unquote("rgb(#{$palette-grey-300})") !default;
271
+
272
+ // Disabled Button Colors
273
+ $disabled-item-text-color: unquote("rgb(#{$palette-grey-400})") !default;
274
+
275
+ /* ========== Dropdown menu ========== */
276
+
277
+ $default-dropdown-bg-color: unquote("rgb(#{$color-white})") !default;
278
+
279
+ /* ========== Tooltips ========== */
280
+
281
+ $tooltip-text-color: unquote("rgb(#{$color-white})") !default;
282
+ $tooltip-background-color: unquote("rgba(#{$palette-grey-700}, 0.9)") !default;
283
+
284
+ /* ========== Footer ========== */
285
+
286
+ $footer-bg-color: unquote("rgb(#{$palette-grey-800})") !default;
287
+ $footer-color: unquote("rgb(#{$palette-grey-500})") !default;
288
+ $footer-heading-color: unquote("rgb(#{$palette-grey-300})") !default;
289
+ $footer-button-fill-color: $footer-color !default;
290
+ $footer-underline-color: $footer-color !default;
291
+
292
+
293
+ /* TEXTFIELD */
294
+
295
+ $input-text-font-size: 16px;
296
+ $input-text-width: 100%;
297
+ $input-text-padding: 4px;
298
+ $input-text-ripple-size: 32px;
299
+ $input-text-vertical-spacing: 20px;
300
+
301
+ $input-text-button-size: 32px;
302
+ $input-text-floating-label-fontsize: 12px;
303
+ $input-text-expandable-icon-top: 16px;
304
+
305
+
306
+ /* SWITCH */
307
+
308
+ $switch-label-height: 24px;
309
+ $switch-track-height: 14px;
310
+ $switch-track-length: 36px;
311
+ $switch-thumb-size: 20px;
312
+ $switch-track-top: ($switch-label-height - $switch-track-height) / 2;
313
+ $switch-thumb-top: ($switch-label-height - $switch-thumb-size) / 2;
314
+ $switch-ripple-size: $switch-label-height * 2;
315
+ $switch-helper-size: 8px;
316
+
317
+ /* SPINNER */
318
+
319
+ $spinner-size: 28px !default;
320
+ $spinner-stroke-width: 3px !default;
321
+
322
+ // Amount of circle the arc takes up.
323
+ $spinner-arc-size: 270deg;
324
+ // Time it takes to expand and contract arc.
325
+ $spinner-arc-time: 1333ms;
326
+ // How much the start location of the arc should rotate each time.
327
+ $spinner-arc-start-rot: 216deg;
328
+
329
+ $spinner-duration: 360 * $spinner-arc-time / (
330
+ strip-units($spinner-arc-start-rot + (360deg - $spinner-arc-size)));
331
+
332
+
333
+ /* RADIO */
334
+
335
+ $radio-label-height: 24px;
336
+ $radio-button-size: 16px;
337
+ $radio-inner-margin: $radio-button-size / 4;
338
+ $radio-padding: 8px;
339
+ $radio-top-offset: ($radio-label-height - $radio-button-size) / 2 - 2px;
340
+ $radio-ripple-size: 42px;
341
+
342
+
343
+ /* MENU */
344
+
345
+ $menu-expand-duration: 0.3s;
346
+ $menu-fade-duration: 0.2s;
347
+
348
+ /* LIST */
349
+
350
+ $list-container-height: 500px;
351
+ $list-container-width: 400px;
352
+ $list-container-item-height: 70px;
353
+
354
+ /* ICONS */
355
+
356
+
357
+ // Dimensions
358
+ $layout-drawer-narrow: 240px;
359
+ $layout-drawer-wide: 456px;
360
+ $layout-drawer-width: $layout-drawer-narrow;
361
+
362
+ $layout-header-icon-size: 32px;
363
+ $layout-screen-size-threshold: 1024px;
364
+ $layout-header-icon-margin: 24px;
365
+ $layout-drawer-button-mobile-size: 32px;
366
+ $layout-drawer-button-desktop-size: 48px;
367
+
368
+ $layout-header-mobile-row-height: 56px;
369
+ $layout-mobile-header-height: $layout-header-mobile-row-height;
370
+ $layout-header-desktop-row-height: 64px;
371
+ $layout-desktop-header-height: $layout-header-desktop-row-height;
372
+
373
+ $layout-header-desktop-baseline: 80px;
374
+ $layout-header-mobile-baseline: 72px;
375
+ $layout-header-mobile-indent: 16px;
376
+ $layout-header-desktop-indent: 40px;
377
+
378
+ $layout-tab-bar-height: 48px;
379
+ $layout-tab-mobile-padding: 12px;
380
+ $layout-tab-desktop-padding: 24px;
381
+ $layout-tab-highlight-thickness: 2px;
382
+
383
+
384
+ /* ICON TOGGLE */
385
+
386
+ $icon-toggle-size: 32px !default;
387
+ $icon-toggle-font-size: 24px !default;
388
+ $icon-toggle-ripple-size: 36px !default;
389
+
390
+ /* FOOTER */
391
+
392
+ /*mega-footer*/
393
+ /**************
394
+ *
395
+ * Sizes
396
+ *
397
+ *************/
398
+ $footer-min-padding: 16px !default;
399
+ $footer-padding-sides: 40px !default;
400
+ $footer-heading-font-size: 14px !default;
401
+ $footer-heading-line-height: (1.7 * $footer-heading-font-size) !default;
402
+ $footer-btn-size: 36px !default;
403
+
404
+ /*mini-footer*/
405
+
406
+ /**************
407
+ *
408
+ * Sizes
409
+ *
410
+ *************/
411
+ $padding: 16px !default;
412
+ $footer-heading-font-size: 24px !default;
413
+ $footer-heading-line-height: (1.5 * $footer-heading-font-size) !default;
414
+ $footer-btn-size: 36px !default;
415
+
416
+ /* COLUMN LAYOUT */
417
+
418
+ // Cutoff points for devices.
419
+ $columns-tablet-size: 768px;
420
+ $columns-desktop-size: 1024px;
421
+
422
+ // Web (desktop) layout. Columns are fixed width, and there's a maximum number
423
+ // of 3 columns, after which we just add padding to either side.
424
+ $columns-web-count: 3;
425
+ $columns-web-size: 360px;
426
+ $columns-web-gutter: 40px;
427
+
428
+ $columns-web-block-size: $columns-web-size + $columns-web-gutter;
429
+ $columns-web-padding-size: $columns-web-count *
430
+ ($columns-web-size + $columns-web-gutter) / 2;
431
+
432
+ // Tablet layout. There's a fixed number of columns, which grow to fill the
433
+ // entire container.
434
+ $columns-tablet-count: 2;
435
+ $columns-tablet-gutter: 24px;
436
+ $columns-tablet-percent: 100% / $columns-tablet-count;
437
+
438
+ // Phone layout. There's a fixed number of columns, which grow to fill the
439
+ // entire container.
440
+ $columns-phone-count: 1;
441
+ $columns-phone-gutter: 16px;
442
+ $columns-phone-percent: 100% / $columns-phone-count;
443
+
444
+ /* CHECKBOX */
445
+
446
+ $checkbox-label-height: 24px;
447
+ $checkbox-button-size: 16px;
448
+ $checkbox-inner-margin: 2px;
449
+ $checkbox-padding: 8px;
450
+ $checkbox-top-offset:
451
+ ($checkbox-label-height - $checkbox-button-size - $checkbox-inner-margin) / 2;
452
+ $checkbox-ripple-size: $checkbox-label-height * 1.5;
453
+
454
+ /* CARD */
455
+
456
+ /* Card dimensions */
457
+ $card-width: 330px !default;
458
+ $card-height: 200px !default;
459
+ $card-font-size: 16px !default;
460
+ $card-title-font-size: 24px !default;
461
+ $card-horizontal-padding: 16px !default;
462
+ $card-vertical-padding: 16px !default;
463
+
464
+ $card-title-perspective-origin-x: 165px !default;
465
+ $card-title-perspective-origin-y: 56px !default;
466
+
467
+ $card-title-transform-origin-x: 165px !default;
468
+ $card-title-transform-origin-y: 56px !default;
469
+
470
+ $card-title-text-transform-origin-x: 149px !default;
471
+ $card-title-text-transform-origin-y: 48px !default;
472
+
473
+ $card-supporting-text-font-size: 13px !default;
474
+ $card-supporting-text-line-height: 18px !default;
475
+
476
+ $card-actions-font-size: 16px !default;
477
+
478
+ $card-title-text-font-weight: 300 !default;
479
+ $card-z-index: 1 !default;
480
+
481
+ /* Cover image */
482
+ $card-cover-image-height: 186px !default;
483
+ $card-background-image-url: '' !default;
484
+
485
+
486
+ /* BUTTON */
487
+ /**
488
+ *
489
+ * Dimensions
490
+ *
491
+ */
492
+ $button-min-width: 64px !default;
493
+ $button-height: 36px !default;
494
+ $button-padding: 8px !default;
495
+ $button-margin: 4px !default;
496
+ $button-border-radius: 2px !default;
497
+
498
+ $button-fab-size: 56px !default;
499
+ $button-fab-size-mini: 40px !default;
500
+ $button-fab-font-size: 24px !default;
501
+
502
+ $button-icon-size: 32px !default;
503
+ $button-icon-size-mini: 24px !default;
504
+
505
+
506
+ /* ANIMATION */
507
+ $animation-curve-fast-out-slow-in: cubic-bezier(0.4, 0, 0.2, 1) !default;
508
+ $animation-curve-linear-out-slow-in: cubic-bezier(0, 0, 0.2, 1) !default;
509
+ $animation-curve-fast-out-linear-in: cubic-bezier(0.4, 0, 1, 1) !default;
510
+
511
+ $animation-curve-default: $animation-curve-fast-out-slow-in !default;
512
+
513
+
514
+ /* PROGRESS */
515
+ $bar-height: 4px !default;
516
+
517
+ /* BADGE */
518
+ $badge-color: unquote("rgb(#{$color-white})") !default;
519
+ $badge-color-inverse: unquote("rgb(#{$color-accent})") !default;
520
+ $badge-background: unquote("rgb(#{$color-accent})") !default;
521
+ $badge-background-inverse: unquote("rgba(#{$color-white},0.2)") !default;
522
+ $badge-size : 22px;
523
+ $badge-padding: 2px;
524
+
525
+ /* SHADOWS */
526
+
527
+ $shadow-key-umbra-opacity: 0.2;
528
+ $shadow-key-penumbra-opacity: 0.14;
529
+ $shadow-ambient-shadow-opacity: 0.12;
530
+
531
+ /* GRID */
532
+
533
+ $grid-desktop-columns: 12 !default;
534
+ $grid-desktop-gutter: 16px !default;
535
+ $grid-desktop-margin: 16px !default;
536
+
537
+ $grid-desktop-breakpoint: 840px !default;
538
+
539
+ $grid-tablet-columns: 8 !default;
540
+ $grid-tablet-gutter: $grid-desktop-gutter !default;
541
+ $grid-tablet-margin: $grid-desktop-margin !default;
542
+
543
+ $grid-tablet-breakpoint: 480px !default;
544
+
545
+ $grid-phone-columns: 4 !default;
546
+ $grid-phone-gutter: $grid-desktop-gutter !default;
547
+ $grid-phone-margin: $grid-desktop-margin !default;
548
+
549
+ $grid-cell-default-columns: $grid-phone-columns !default;
550
+
551
+ /* DATA TABLE */
552
+
553
+ $data-table-header-color: rgba(#000, 0.54);
554
+ $data-table-divider-color: rgba(#000, 0.12);
555
+
556
+ $data-table-hover-color: #eeeeee;
557
+ $data-table-selection-color: #e0e0e0;
558
+
559
+ $data-table-dividers: 1px solid $data-table-divider-color;
560
+
561
+ $data-table-row-height: 48px;
562
+ $data-table-last-row-height: 56px;
563
+ $data-table-header-height: 56px;
564
+
565
+ $data-table-column-spacing: 36px;
566
+ $data-table-column-padding: $data-table-column-spacing / 2;
567
+
568
+ $data-table-card-header-height: 64px;
569
+ $data-table-card-title-top: 20px;
570
+ $data-table-card-padding: 24px;
571
+ $data-table-button-padding-right: 16px;
572
+ $data-table-cell-top: $data-table-card-padding / 2;