material-sass 1.4.1 → 4.0.0.alpha5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Rakefile +61 -0
  4. data/app/assets/fonts/{MaterialIcons-Regular.eot → material-icons/MaterialIcons-Regular.eot} +0 -0
  5. data/app/assets/fonts/{MaterialIcons-Regular.ijmap → material-icons/MaterialIcons-Regular.ijmap} +0 -0
  6. data/app/assets/fonts/{MaterialIcons-Regular.svg → material-icons/MaterialIcons-Regular.svg} +0 -0
  7. data/app/assets/fonts/{MaterialIcons-Regular.ttf → material-icons/MaterialIcons-Regular.ttf} +0 -0
  8. data/app/assets/fonts/{MaterialIcons-Regular.woff → material-icons/MaterialIcons-Regular.woff} +0 -0
  9. data/app/assets/fonts/{MaterialIcons-Regular.woff2 → material-icons/MaterialIcons-Regular.woff2} +0 -0
  10. data/app/assets/fonts/{README.md → material-icons/README.md} +0 -0
  11. data/app/assets/fonts/{codepoints → material-icons/codepoints} +0 -0
  12. data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
  13. data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
  14. data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
  15. data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
  16. data/app/assets/fonts/roboto/Roboto-Light.eot +0 -0
  17. data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
  18. data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
  19. data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
  20. data/app/assets/fonts/roboto/Roboto-Medium.eot +0 -0
  21. data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
  22. data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
  23. data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
  24. data/app/assets/fonts/roboto/Roboto-Regular.eot +0 -0
  25. data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
  26. data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
  27. data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
  28. data/app/assets/fonts/roboto/Roboto-Thin.eot +0 -0
  29. data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
  30. data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
  31. data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
  32. data/app/assets/javascripts/material.js +739 -798
  33. data/app/assets/javascripts/material/addons-materialise/pickadate.js +139 -0
  34. data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +9 -0
  35. data/app/assets/javascripts/material/addons-materialise/wave.js +12 -0
  36. data/app/assets/javascripts/material/addons/pickadate.js +7 -0
  37. data/app/assets/javascripts/material/addons/textarea-autosize.js +5 -0
  38. data/app/assets/javascripts/material/{wave.js → addons/wave.js} +0 -10
  39. data/app/assets/javascripts/material/src/floating-label.js +91 -0
  40. data/app/assets/javascripts/material/src/navdrawer.js +352 -0
  41. data/app/assets/javascripts/material/src/tab-switch.js +136 -0
  42. data/app/assets/javascripts/material/src/util.js +138 -0
  43. data/app/assets/stylesheets/material.min.css +2 -2
  44. data/app/assets/stylesheets/material.scss +1 -1
  45. data/app/assets/stylesheets/material/_mixins.scss +21 -0
  46. data/app/assets/stylesheets/material/_utilities.scss +15 -0
  47. data/app/assets/stylesheets/material/_variables.scss +25 -0
  48. data/app/assets/stylesheets/material/base/_base.scss +482 -0
  49. data/app/assets/stylesheets/material/base/_grid.scss +28 -40
  50. data/app/assets/stylesheets/material/base/_typography.scss +208 -0
  51. data/app/assets/stylesheets/material/bootstrap/_alert.scss +55 -0
  52. data/app/assets/stylesheets/material/bootstrap/_animation.scss +26 -0
  53. data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +39 -0
  54. data/app/assets/stylesheets/material/bootstrap/_button-group.scss +155 -0
  55. data/app/assets/stylesheets/material/bootstrap/_carousel.scss +234 -0
  56. data/app/assets/stylesheets/material/bootstrap/_close.scss +31 -0
  57. data/app/assets/stylesheets/material/bootstrap/_code.scss +50 -0
  58. data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +69 -0
  59. data/app/assets/stylesheets/material/bootstrap/_form.scss +116 -0
  60. data/app/assets/stylesheets/material/bootstrap/_image.scss +25 -0
  61. data/app/assets/stylesheets/material/bootstrap/_jumbotron.scss +12 -0
  62. data/app/assets/stylesheets/material/bootstrap/_media.scss +69 -0
  63. data/app/assets/stylesheets/material/bootstrap/_nav.scss +118 -0
  64. data/app/assets/stylesheets/material/bootstrap/_pagination.scss +68 -0
  65. data/app/assets/stylesheets/material/bootstrap/_popover.scss +84 -0
  66. data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +37 -0
  67. data/app/assets/stylesheets/material/material.scss +62 -0
  68. data/app/assets/stylesheets/material/material/_button-flat.scss +53 -0
  69. data/app/assets/stylesheets/material/material/_button-float.scss +29 -0
  70. data/app/assets/stylesheets/material/material/_button.scss +241 -0
  71. data/app/assets/stylesheets/material/material/_card.scss +286 -0
  72. data/app/assets/stylesheets/material/material/_chip.scss +93 -0
  73. data/app/assets/stylesheets/material/material/_data-table.scss +138 -0
  74. data/app/assets/stylesheets/material/material/_dialog.scss +147 -0
  75. data/app/assets/stylesheets/material/material/_expansion-panel.scss +292 -0
  76. data/app/assets/stylesheets/material/material/_menu.scss +281 -0
  77. data/app/assets/stylesheets/material/material/_navdrawer.scss +289 -0
  78. data/app/assets/stylesheets/material/material/_picker.scss +272 -0
  79. data/app/assets/stylesheets/material/material/_progress-circular.scss +144 -0
  80. data/app/assets/stylesheets/material/material/_progress.scss +174 -0
  81. data/app/assets/stylesheets/material/material/_selection-control.scss +221 -0
  82. data/app/assets/stylesheets/material/material/_stepper.scss +135 -0
  83. data/app/assets/stylesheets/material/material/_tab.scss +196 -0
  84. data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +51 -0
  85. data/app/assets/stylesheets/material/material/_text-field-input-group.scss +76 -0
  86. data/app/assets/stylesheets/material/material/_text-field-textarea.scss +31 -0
  87. data/app/assets/stylesheets/material/material/_text-field.scss +179 -0
  88. data/app/assets/stylesheets/material/material/_toolbar.scss +516 -0
  89. data/app/assets/stylesheets/material/material/_tooltip.scss +86 -0
  90. data/app/assets/stylesheets/material/mixins/_background-variant.scss +14 -0
  91. data/app/assets/stylesheets/material/mixins/_border-radius.scss +34 -0
  92. data/app/assets/stylesheets/material/mixins/_breakpoint.scss +38 -0
  93. data/app/assets/stylesheets/material/mixins/_clearfix.scss +7 -0
  94. data/app/assets/stylesheets/material/mixins/_form.scss +60 -0
  95. data/app/assets/stylesheets/material/mixins/_grid.scss +149 -0
  96. data/app/assets/stylesheets/material/mixins/_hex-to-rgba.scss +3 -0
  97. data/app/assets/stylesheets/material/mixins/_hover.scss +70 -0
  98. data/app/assets/stylesheets/material/mixins/_image.scss +4 -0
  99. data/app/assets/stylesheets/material/mixins/_list.scss +4 -0
  100. data/app/assets/stylesheets/material/mixins/_nav-divider.scss +6 -0
  101. data/app/assets/stylesheets/material/mixins/_pull.scss +7 -0
  102. data/app/assets/stylesheets/material/mixins/_reset-text.scss +35 -0
  103. data/app/assets/stylesheets/material/mixins/_screenreader.scss +23 -0
  104. data/app/assets/stylesheets/material/mixins/_strip-unit.scss +3 -0
  105. data/app/assets/stylesheets/material/mixins/_tab-focus.scss +5 -0
  106. data/app/assets/stylesheets/material/mixins/_text-emphasis.scss +14 -0
  107. data/app/assets/stylesheets/material/mixins/_text-hide.scss +7 -0
  108. data/app/assets/stylesheets/material/mixins/_text-truncate.scss +5 -0
  109. data/app/assets/stylesheets/material/mixins/_transition.scss +55 -0
  110. data/app/assets/stylesheets/material/mixins/_typography.scss +69 -0
  111. data/app/assets/stylesheets/material/utilities/_align.scss +23 -0
  112. data/app/assets/stylesheets/material/utilities/_background.scss +23 -0
  113. data/app/assets/stylesheets/material/utilities/_border.scss +27 -0
  114. data/app/assets/stylesheets/material/utilities/_clearfix.scss +3 -0
  115. data/app/assets/stylesheets/material/utilities/_display.scss +11 -0
  116. data/app/assets/stylesheets/material/utilities/_float.scss +15 -0
  117. data/app/assets/stylesheets/material/utilities/_material-icons.scss +10 -0
  118. data/app/assets/stylesheets/material/utilities/_screenreader.scss +7 -0
  119. data/app/assets/stylesheets/material/utilities/_spacing.scss +65 -0
  120. data/app/assets/stylesheets/material/utilities/_text.scss +95 -0
  121. data/app/assets/stylesheets/material/utilities/_visibility.scss +50 -0
  122. data/app/assets/stylesheets/material/utilities/_waves.scss +48 -0
  123. data/app/assets/stylesheets/material/variables/_animation.scss +22 -0
  124. data/app/assets/stylesheets/material/variables/_colour.scss +389 -0
  125. data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +84 -0
  126. data/app/assets/stylesheets/material/variables/_grid.scss +32 -0
  127. data/app/assets/stylesheets/material/variables/_spacer.scss +73 -0
  128. data/app/assets/stylesheets/material/variables/_typography.scss +72 -0
  129. data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +129 -0
  130. data/app/assets/stylesheets/material/variables/_variable-material.scss +434 -0
  131. data/lib/material-sass/engine.rb +3 -2
  132. data/lib/material-sass/version.rb +1 -1
  133. metadata +128 -70
  134. data/app/assets/javascripts/material.min.js +0 -2
  135. data/app/assets/javascripts/material/_.js +0 -6
  136. data/app/assets/javascripts/material/bootstrap.js +0 -6
  137. data/app/assets/javascripts/material/form-floating-label.js +0 -49
  138. data/app/assets/javascripts/material/form-textarea.js +0 -13
  139. data/app/assets/javascripts/material/header.js +0 -12
  140. data/app/assets/javascripts/material/menu.js +0 -200
  141. data/app/assets/javascripts/material/modal.js +0 -12
  142. data/app/assets/javascripts/material/picker.js +0 -141
  143. data/app/assets/javascripts/material/snackbar.js +0 -116
  144. data/app/assets/javascripts/material/tab.js +0 -51
  145. data/app/assets/javascripts/material/tile.js +0 -181
  146. data/app/assets/stylesheets/material/addons/_material-icons.scss +0 -9
  147. data/app/assets/stylesheets/material/addons/_waves.scss +0 -44
  148. data/app/assets/stylesheets/material/addons/material-icons/_core.scss +0 -20
  149. data/app/assets/stylesheets/material/addons/material-icons/_larger.scss +0 -23
  150. data/app/assets/stylesheets/material/addons/material-icons/_path.scss +0 -11
  151. data/app/assets/stylesheets/material/addons/material-icons/_variables.scss +0 -3
  152. data/app/assets/stylesheets/material/base.scss +0 -50
  153. data/app/assets/stylesheets/material/base/_reset.scss +0 -421
  154. data/app/assets/stylesheets/material/components/_avatar.scss +0 -59
  155. data/app/assets/stylesheets/material/components/_breadcrumb.scss +0 -26
  156. data/app/assets/stylesheets/material/components/_button-flat.scss +0 -22
  157. data/app/assets/stylesheets/material/components/_button-float.scss +0 -183
  158. data/app/assets/stylesheets/material/components/_button.scss +0 -81
  159. data/app/assets/stylesheets/material/components/_card.scss +0 -175
  160. data/app/assets/stylesheets/material/components/_code.scss +0 -53
  161. data/app/assets/stylesheets/material/components/_dropdown.scss +0 -99
  162. data/app/assets/stylesheets/material/components/_form-checkbox.scss +0 -161
  163. data/app/assets/stylesheets/material/components/_form-floating-label.scss +0 -64
  164. data/app/assets/stylesheets/material/components/_form-switch.scss +0 -96
  165. data/app/assets/stylesheets/material/components/_form-textarea.scss +0 -4
  166. data/app/assets/stylesheets/material/components/_form.scss +0 -217
  167. data/app/assets/stylesheets/material/components/_label.scss +0 -23
  168. data/app/assets/stylesheets/material/components/_modal.scss +0 -164
  169. data/app/assets/stylesheets/material/components/_nav.scss +0 -53
  170. data/app/assets/stylesheets/material/components/_picker.scss +0 -298
  171. data/app/assets/stylesheets/material/components/_progress-circular.scss +0 -169
  172. data/app/assets/stylesheets/material/components/_progress-loadbar.scss +0 -97
  173. data/app/assets/stylesheets/material/components/_progress.scss +0 -132
  174. data/app/assets/stylesheets/material/components/_snackbar.scss +0 -59
  175. data/app/assets/stylesheets/material/components/_stepper.scss +0 -201
  176. data/app/assets/stylesheets/material/components/_tab.scss +0 -84
  177. data/app/assets/stylesheets/material/components/_table.scss +0 -82
  178. data/app/assets/stylesheets/material/components/_tile.scss +0 -156
  179. data/app/assets/stylesheets/material/elements/_content.scss +0 -42
  180. data/app/assets/stylesheets/material/elements/_header.scss +0 -141
  181. data/app/assets/stylesheets/material/elements/_menu.scss +0 -267
  182. data/app/assets/stylesheets/material/mixin/_grid.scss +0 -78
  183. data/app/assets/stylesheets/material/mixin/_responsive.scss +0 -32
  184. data/app/assets/stylesheets/material/mixin/_utilities.scss +0 -69
  185. data/app/assets/stylesheets/material/utilities/_print.scss +0 -95
  186. data/app/assets/stylesheets/material/utilities/_utilities-responsive.scss +0 -97
  187. data/app/assets/stylesheets/material/utilities/_utilities.scss +0 -393
  188. data/app/assets/stylesheets/material/var/_colours.scss +0 -336
  189. data/app/assets/stylesheets/material/var/_variables.scss +0 -78
@@ -0,0 +1,84 @@
1
+ //
2
+ // elevation
3
+ // based on https://material.google.com/what-is-material/elevation-shadows.html#elevation-shadows-elevation-android-
4
+ //
5
+ //
6
+ $elevation-24dp: 24 * 10 !default;
7
+ $elevation-16dp: 16 * 10 !default;
8
+ $elevation-12dp: 12 * 10 !default;
9
+ $elevation-8dp: 8 * 10 !default;
10
+ $elevation-6dp: 6 * 10 !default;
11
+ $elevation-4dp: 4 * 10 !default;
12
+ $elevation-3dp: 3 * 10 !default;
13
+ $elevation-2dp: 2 * 10 !default;
14
+ $elevation-1dp: 1 * 10 !default;
15
+
16
+ //
17
+ // shadow
18
+ // based on https://material.google.com/what-is-material/elevation-shadows.html#elevation-shadows-shadows
19
+ //
20
+ $shadow-24dp: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
21
+ 0 9px 46px 8px rgba(0, 0, 0, 0.12),
22
+ 0 11px 15px -7px rgba(0, 0, 0, 0.4) !default;
23
+ $shadow-16dp: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
24
+ 0 6px 30px 5px rgba(0, 0, 0, 0.12),
25
+ 0 8px 10px -5px rgba(0, 0, 0, 0.4) !default;
26
+ $shadow-12dp: 0 12px 16px 1px rgba(0, 0, 0, 0.14),
27
+ 0 4px 22px 3px rgba(0, 0, 0, 0.12),
28
+ 0 6px 7px -4px rgba(0, 0, 0, 0.4) !default;
29
+ $shadow-8dp: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
30
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12),
31
+ 0 5px 5px -3px rgba(0, 0, 0, 0.4) !default;
32
+ $shadow-6dp: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
33
+ 0 1px 18px 0 rgba(0, 0, 0, 0.12),
34
+ 0 3px 5px -1px rgba(0, 0, 0, 0.4) !default;
35
+ $shadow-4dp: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
36
+ 0 1px 10px 0 rgba(0, 0, 0, 0.12),
37
+ 0 2px 4px -1px rgba(0, 0, 0, 0.4) !default;
38
+ $shadow-3dp: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
39
+ 0 1px 8px 0 rgba(0, 0, 0, 0.12),
40
+ 0 3px 3px -2px rgba(0, 0, 0, 0.4) !default;
41
+ $shadow-2dp: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
42
+ 0 1px 5px 0 rgba(0, 0, 0, 0.12),
43
+ 0 3px 1px -2px rgba(0, 0, 0, 0.2) !default;
44
+ $shadow-1dp: none !default;
45
+
46
+ //
47
+ // value pair
48
+ //
49
+ $elevation-shadow-24dp: (
50
+ elevation: $elevation-24dp,
51
+ shadow: $shadow-24dp
52
+ ) !default;
53
+ $elevation-shadow-16dp: (
54
+ elevation: $elevation-16dp,
55
+ shadow: $shadow-16dp
56
+ ) !default;
57
+ $elevation-shadow-12dp: (
58
+ elevation: $elevation-12dp,
59
+ shadow: $shadow-12dp
60
+ ) !default;
61
+ $elevation-shadow-8dp: (
62
+ elevation: $elevation-8dp,
63
+ shadow: $shadow-8dp
64
+ ) !default;
65
+ $elevation-shadow-6dp: (
66
+ elevation: $elevation-6dp,
67
+ shadow: $shadow-6dp
68
+ ) !default;
69
+ $elevation-shadow-4dp: (
70
+ elevation: $elevation-4dp,
71
+ shadow: $shadow-4dp
72
+ ) !default;
73
+ $elevation-shadow-3dp: (
74
+ elevation: $elevation-3dp,
75
+ shadow: $shadow-3dp
76
+ ) !default;
77
+ $elevation-shadow-2dp: (
78
+ elevation: $elevation-2dp,
79
+ shadow: $shadow-2dp
80
+ ) !default;
81
+ $elevation-shadow-1dp: (
82
+ elevation: $elevation-1dp,
83
+ shadow: $shadow-1dp
84
+ ) !default;
@@ -0,0 +1,32 @@
1
+ $grid-columns: 12 !default;
2
+ $grid-gutter-width: 1rem !default;
3
+ $grid-gutter-width-md-up: 1.5rem !default;
4
+
5
+ $grid-gutter-widths: (
6
+ xs: $grid-gutter-width,
7
+ sm: $grid-gutter-width,
8
+ md: $grid-gutter-width-md-up,
9
+ lg: $grid-gutter-width-md-up,
10
+ xl: $grid-gutter-width-md-up
11
+ ) !default;
12
+
13
+ //
14
+ // breakpoint
15
+ // based on https://material.google.com/layout/responsive-ui.html#responsive-ui-breakpoints
16
+ //
17
+ $grid-breakpoints: (
18
+ xs: 0,
19
+ sm: 600px,
20
+ md: 960px,
21
+ lg: 1280px,
22
+ xl: 1600px
23
+ ) !default;
24
+ @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
25
+
26
+ //
27
+ // container
28
+ //
29
+ $container-max-widths: (
30
+ xl: 1920px
31
+ ) !default;
32
+ @include _assert-ascending($container-max-widths, "$container-max-widths");
@@ -0,0 +1,73 @@
1
+ //
2
+ // border
3
+ //
4
+ $border-color: $black-divider !default;
5
+ $border-color-inverse: $white-divider !default;
6
+ $border-radius: 2px !default;
7
+ $border-width: 1px !default;
8
+
9
+ //
10
+ // spacer
11
+ //
12
+ $spacer: 1rem !default;
13
+ $spacer-x: $spacer !default;
14
+ $spacer-y: $spacer !default;
15
+
16
+ $spacer-xs: ($spacer / 4) !default;
17
+ $spacer-xs-x: ($spacer-x / 4) !default;
18
+ $spacer-xs-y: ($spacer-y / 4) !default;
19
+ $spacer-sm: ($spacer / 2) !default;
20
+ $spacer-sm-x: ($spacer-x / 2) !default;
21
+ $spacer-sm-y: ($spacer-y / 2) !default;
22
+ $spacer-md: $spacer !default;
23
+ $spacer-md-x: $spacer-x !default;
24
+ $spacer-md-y: $spacer-y !default;
25
+ $spacer-lg: ($spacer * 1.5) !default;
26
+ $spacer-lg-x: ($spacer-x * 1.5) !default;
27
+ $spacer-lg-y: ($spacer-y * 1.5) !default;
28
+ $spacer-xl: ($spacer * 3) !default;
29
+ $spacer-xl-x: ($spacer-x * 3) !default;
30
+ $spacer-xl-y: ($spacer-y * 3) !default;
31
+
32
+ $spacers: (
33
+ 0: (
34
+ x: 0,
35
+ y: 0
36
+ ),
37
+ no: (
38
+ x: 0,
39
+ y: 0
40
+ ),
41
+ xs: (
42
+ x: $spacer-xs-x,
43
+ y: $spacer-xs-y
44
+ ),
45
+ sm: (
46
+ x: $spacer-sm-x,
47
+ y: $spacer-sm-y
48
+ ),
49
+ 1: (
50
+ x: $spacer-x,
51
+ y: $spacer-y
52
+ ),
53
+ md: (
54
+ x: $spacer-x,
55
+ y: $spacer-y
56
+ ),
57
+ 2: (
58
+ x: $spacer-lg-x,
59
+ y: $spacer-lg-y
60
+ ),
61
+ lg: (
62
+ x: $spacer-lg-x,
63
+ y: $spacer-lg-y
64
+ ),
65
+ 3: (
66
+ x: $spacer-xl-x,
67
+ y: $spacer-xl-y
68
+ ),
69
+ xl: (
70
+ x: $spacer-xl-x,
71
+ y: $spacer-xl-y
72
+ )
73
+ ) !default;
@@ -0,0 +1,72 @@
1
+ // a base value used to responsively scale all typography, applied to the `<html>` element.
2
+ $font-size-root: 16px !default;
3
+
4
+ // font face
5
+ // based on https://material.google.com/style/typography.html#typography-typeface
6
+ $font-family-monospace: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
7
+ $font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !default;
8
+ $font-family-serif: "Roboto Slab", Georgia, "Times New Roman", Times, serif !default;
9
+
10
+ $font-family-base: $font-family-sans-serif !default;
11
+
12
+ $font-weight-black: 900 !default; // not used
13
+ $font-weight-bold: 700 !default; // not used
14
+ $font-weight-medium: 500 !default;
15
+ $font-weight-regular: 400 !default;
16
+ $font-weight-light: 300 !default;
17
+ $font-weight-thin: 100 !default; // not used
18
+
19
+ // font styles
20
+ // based on https://material.google.com/style/typography.html#typography-styles
21
+ $font-size-base: 0.875rem !default; // 14px
22
+
23
+ $font-size-display-4: 7rem !default; // 112px
24
+ $font-size-display-3: 3.5rem !default; // 56px
25
+ $font-size-display-2: 2.8125rem !default; // 45px
26
+ $font-size-display-1: 2.125rem !default; // 34px
27
+ $font-size-headline: 1.5rem !default; // 24px
28
+ $font-size-title: 1.25rem !default; // 20px
29
+ $font-size-subheading: 1rem !default; // 16px
30
+ $font-size-body-2: 0.875rem !default; // 14px
31
+ $font-size-body-1: 0.875rem !default; // 14px
32
+ $font-size-caption: 0.75rem !default; // 12px
33
+
34
+ $font-weight-display-4: $font-weight-light !default;
35
+ $font-weight-display-3: $font-weight-regular !default;
36
+ $font-weight-display-2: $font-weight-regular !default;
37
+ $font-weight-display-1: $font-weight-regular !default;
38
+ $font-weight-headline: $font-weight-regular !default;
39
+ $font-weight-title: $font-weight-medium !default;
40
+ $font-weight-subheading: $font-weight-regular !default;
41
+ $font-weight-body-2: $font-weight-medium !default;
42
+ $font-weight-body-1: $font-weight-regular !default;
43
+ $font-weight-caption: $font-weight-regular !default;
44
+
45
+ $letter-spacing-display-4: -0.04em !default;
46
+ $letter-spacing-display-3: -0.02em !default;
47
+ $letter-spacing-display-2: 0 !default;
48
+ $letter-spacing-display-1: 0 !default;
49
+ $letter-spacing-headline: 0 !default;
50
+ $letter-spacing-title: 0.02em !default;
51
+ $letter-spacing-subheading: 0.04em !default;
52
+ $letter-spacing-body-2: 0 !default;
53
+ $letter-spacing-body-1: 0 !default;
54
+ $letter-spacing-caption: 0 !default;
55
+
56
+ // line height
57
+ // based on https://material.google.com/style/typography.html#typography-line-height
58
+ $line-height-base: 1.428572 !default;
59
+
60
+ $line-height-display-4: 7rem !default; // 112px
61
+ $line-height-display-3: 3.625rem !default; // 58px
62
+ $line-height-display-2: 3rem !default; // 48px
63
+ $line-height-display-1: 2.5rem !default; // 40px
64
+ $line-height-headline: 2rem !default; // 32px
65
+ $line-height-title: 1.75rem !default; // 28px
66
+ $line-height-subheading: 1.5rem !default; // 24px
67
+ $line-height-body-2: 1.25rem !default; // 20px
68
+ $line-height-body-1: 1.25rem !default; // 20px
69
+ $line-height-caption: 1.125rem !default; // 18px
70
+
71
+ // default material icons font size
72
+ $material-icon-size: 24px !default;
@@ -0,0 +1,129 @@
1
+ $enable-flex: false !default;
2
+ $enable-grid-classes: true !default;
3
+ $enable-hover-media-query: false !default;
4
+ $enable-rounded: true !default;
5
+
6
+ // alert
7
+ $alert-link-font-weight: $font-weight-medium !default;
8
+
9
+ // body
10
+ $body-bg: $white-primary !default;
11
+ $body-color: $black-primary !default;
12
+
13
+ // breadcrumb
14
+ $breadcrumb-bg: $offwhite !default;
15
+ $breadcrumb-divider: "chevron_right" !default;
16
+ $breadcrumb-item-color: $black-secondary !default;
17
+ $breadcrumb-item-color-active: $black-primary !default;
18
+ $breadcrumb-item-padding: $spacer-sm-x !default;
19
+ $breadcrumb-margin-bottom: $spacer-md-y !default;
20
+ $breadcrumb-padding-x: $spacer-md-x !default;
21
+ $breadcrumb-padding-y: $spacer-md-y !default;
22
+
23
+ // button group
24
+ $btn-group-bg: $offwhite !default;
25
+ $btn-group-padding-x: $spacer-sm-x !default;
26
+ $btn-group-padding-y: $spacer-sm-y !default;
27
+ $btn-toolbar-divider-bg: $black-divider !default;
28
+
29
+ // caret
30
+ $caret-bg: "data:image/svg+xml;charset=utf8,%3Csvg fill='#000000' fill-opacity='0.54' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E" !default;
31
+ $caret-bg-inverse: "data:image/svg+xml;charset=utf8,%3Csvg fill='#ffffff' fill-opacity='0.7' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E" !default;
32
+ $caret-width: 0.4em !default;
33
+
34
+ // carousel
35
+ $carousel-caption-color: $white-primary !default;
36
+ $carousel-caption-width: 50% !default;
37
+ $carousel-indicator-color: $black-divider !default;
38
+ $carousel-indicator-size: 0.5rem !default;
39
+
40
+ // close
41
+ $close-color: $black-hint !default;
42
+ $close-color-active: $black-primary !default;
43
+ $close-font-size: $material-icon-size !default;
44
+
45
+ // code
46
+ $code-bg: #f7f7f9 !default;
47
+ $code-color: #bd4147 !default;
48
+ $code-font-size: 87.5% !default;
49
+ $code-padding: 0.2rem 0.4rem !default;
50
+
51
+ $kbd-bg: #333333 !default;
52
+ $kbd-color: #ffffff !default;
53
+
54
+ $pre-bg: #f7f7f9 !default;
55
+ $pre-color: #373a3c !default;
56
+ $pre-margin-bottom: $spacer-md-y !default;
57
+ $pre-scrollable-max-height: 340px !default;
58
+
59
+ // cursor
60
+ $cursor-disabled: not-allowed !default;
61
+
62
+ // form
63
+ $custom-file-width: 14rem !default;
64
+ $custom-file-text: (button-label: (en: "attach_file"), placeholder: (en: "Choose file...")) !default;
65
+
66
+ $form-group-margin-bottom: $spacer-md-y !default;
67
+
68
+ // jumbotron
69
+ $jumbotron-bg: $brand-color !default;
70
+ $jumbotron-color: $brand-text-color !default;
71
+
72
+ // link
73
+ $link-color: $brand-color !default;
74
+ $link-color-active: $brand-color-dark !default;
75
+ $link-decoration: none !default;
76
+ $link-decoration-active: none !default;
77
+
78
+ // media
79
+ $media-alignment-padding-x: $spacer-md-x !default;
80
+ $media-heading-margin-bottom: $spacer-xs-y !default;
81
+ $media-margin-bottom: $spacer-md-y !default;
82
+
83
+ // misc
84
+ $abbr-border-color: $black-divider !default;
85
+
86
+ $dt-font-weight: $font-weight-medium !default;
87
+
88
+ $figure-caption-color: $black-hint !default;
89
+ $figure-img-margin-bottom: $spacer-sm-y !default;
90
+
91
+ $headings-color: inherit !default;
92
+ $headings-font-family: inherit !default;
93
+ $headings-margin-bottom: $spacer-sm-y !default;
94
+
95
+ $hr-border-color: $black-divider !default;
96
+ $hr-border-width: 1px !default;
97
+
98
+ $list-inline-item-spacer: $spacer-sm-x !default;
99
+
100
+ $mark-bg: $palette-yellow-500 !default;
101
+ $mark-padding: 0.2em !default;
102
+
103
+ $small-font-size: 80% !default;
104
+
105
+ $table-caption-color: $black-hint !default;
106
+
107
+ $thumbnail-box-shadow: $shadow-2dp !default;
108
+
109
+ // nav
110
+ $nav-inline-item-spacer: $spacer-md-x !default;
111
+ $nav-item-margin: 1px !default;
112
+ $nav-link-bg-active: $black-divider !default;
113
+ $nav-link-color: $black-secondary !default;
114
+ $nav-link-color-active: $black-primary !default;
115
+ $nav-link-color-disabled: $black-hint !default;
116
+ $nav-link-padding: $spacer-sm-y $spacer-md-x !default;
117
+
118
+ // pagination
119
+ $pagination-bg: $btn-group-bg !default;
120
+ $pagination-padding-x: $btn-group-padding-x !default;
121
+ $pagination-padding-y: $btn-group-padding-y !default;
122
+
123
+ // typography
124
+ $blockquote-border-color: $brand-color !default;
125
+ $blockquote-border-width: 0.3125rem !default;
126
+ $blockquote-small-color: $black-hint !default;
127
+
128
+ $text-muted: $black-hint !default;
129
+ $text-muted-active: $black-secondary !default;
@@ -0,0 +1,434 @@
1
+ //
2
+ // appbar / toolbar (navbar)
3
+ // based on https://material.google.com/components/toolbars.html#toolbars-usage
4
+ //
5
+ $toolbar-border-color: $border-color !default;
6
+ $toolbar-border-width: $border-width !default;
7
+ $toolbar-color-dark: $white-primary !default;
8
+ $toolbar-color-light: $black-primary !default;
9
+ $toolbar-elevation-shadow: $elevation-shadow-4dp !default;
10
+ $toolbar-height: 3.5rem !default;
11
+ $toolbar-inner-spacer: $spacer-md !default;
12
+ $toolbar-link-font-size: 1rem !default;
13
+ $toolbar-link-height: 2.25rem !default;
14
+ $toolbar-link-opacity: 0.7 !default;
15
+ $toolbar-link-padding-x: $spacer-md-x !default;
16
+ $toolbar-link-padding-y: (($toolbar-link-height - $toolbar-link-font-size) / 2) !default;
17
+ $toolbar-padding-x: $spacer-md-x !default;
18
+ $toolbar-padding-y: (($toolbar-height - $toolbar-link-height) / 2) !default;
19
+ $toolbar-toggler-bg-dark: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#ffffff' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E") !default;
20
+ $toolbar-toggler-bg-light: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#000000' fill-opacity='0.87' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E") !default;
21
+ $toolbar-waterfall-bg: $brand-color !default;
22
+
23
+ //
24
+ // button
25
+ // based on https://material.google.com/components/buttons.html#buttons-style
26
+ // n.b. material design guideline only specifies specs for default button (.btn) and dense button (.btn-sm)
27
+ //
28
+ $btn-bg: transparent !default;
29
+ $btn-bg-active: rgba(153, 153, 153, 0.40) !default;
30
+ $btn-bg-disabled: $black-divider !default;
31
+ $btn-block-spacer: $spacer-xs-y !default;
32
+ $btn-color: $black-primary !default;
33
+ $btn-color-disabled: rgba(0, 0, 0, 0.26) !default;
34
+ $btn-elevation-shadow: $elevation-shadow-2dp !default;
35
+ $btn-elevation-shadow-active: $elevation-shadow-8dp !default;
36
+ $btn-focus-overlay: $black-divider !default;
37
+ $btn-font-weight: $font-weight-medium !default;
38
+ $btn-min-width: 5.5rem !default;
39
+
40
+ // inverse
41
+ $btn-bg-inverse-disabled: $white-divider !default;
42
+ $btn-bg-inverse-active: rgba(204, 204, 204, 0.25) !default;
43
+ $btn-color-inverse: $white-primary !default;
44
+ $btn-color-inverse-disabled: rgba(255, 255, 255, 0.30) !default;
45
+
46
+ // size
47
+ $btn-font-size: 0.875rem !default;
48
+ $btn-font-size-lg: 0.9375rem !default;
49
+ $btn-font-size-sm: 0.8125rem !default;
50
+ $btn-height: 2.25rem !default;
51
+ $btn-height-lg: 2.5rem !default;
52
+ $btn-height-sm: 2rem !default;
53
+ $btn-padding-x: $spacer-md-x !default;
54
+ $btn-padding-x-lg: $btn-padding-x !default;
55
+ $btn-padding-x-sm: $btn-padding-x !default;
56
+ $btn-padding-y: (($btn-height - $btn-font-size) / 2) !default;
57
+ $btn-padding-y-lg: (($btn-height-lg - $btn-font-size-lg) / 2) !default;
58
+ $btn-padding-y-sm: (($btn-height-sm - $btn-font-size-sm) / 2) !default;
59
+
60
+ //
61
+ // button: flat button
62
+ // based on https://material.google.com/components/buttons.html#buttons-flat-buttons
63
+ //
64
+ $btn-flat-bg-opacity: 0.4 !default;
65
+ $btn-flat-focus-overlay-inverse: rgba(204, 204, 204, 0.12) !default;
66
+ $btn-flat-focus-overlay-opacity: 0.12 !default;
67
+
68
+ //
69
+ // button: floating action button
70
+ // based on https://material.google.com/components/buttons-floating-action-button.html#buttons-floating-action-button-floating-action-button
71
+ //
72
+ $btn-float-elevation-shadow: $elevation-shadow-6dp !default;
73
+ $btn-float-elevation-shadow-active: $elevation-shadow-12dp !default;
74
+ $btn-float-font-size: ($material-icon-size / $font-size-root * 1rem) !default;
75
+
76
+ // size
77
+ $btn-float-size: 3.5rem !default;
78
+ $btn-float-size-sm: 2.5rem !default;
79
+
80
+ //
81
+ // card
82
+ // based on https://material.google.com/components/cards.html#cards-usage
83
+ //
84
+ $card-action-spacer-x: $spacer-sm-x !default;
85
+ $card-action-spacer-y: $spacer-sm-y !default;
86
+ $card-bg: $white-primary !default;
87
+ $card-bg-inverse: $palette-grey-800 !default;
88
+ $card-border-color: $border-color !default;
89
+ $card-border-width: $border-width !default;
90
+ $card-color: $black-primary !default;
91
+ $card-color-inverse: $white-primary !default;
92
+ $card-elevation-shadow: $elevation-shadow-2dp !default;
93
+ $card-elevation-shadow-active: $elevation-shadow-8dp !default;
94
+ $card-margin-bottom: $spacer-md-y !default;
95
+ $card-spacer-inner-x: $spacer-md-x !default;
96
+ $card-spacer-inner-y: $spacer-md-y !default;
97
+ $card-spacer-outer-x: $spacer-sm-x !default;
98
+ $card-spacer-outer-y: $spacer-sm-y !default;
99
+ $card-title-additonal-margin: $spacer-sm-y !default;
100
+
101
+ //
102
+ // chip (label)
103
+ // based on https://material.google.com/components/chips.html#chips-specs
104
+ //
105
+ $chip-active-overlay: $black-divider !default;
106
+ $chip-bg: $black-divider !default;
107
+ $chip-bg-inverse: $white-divider !default;
108
+ $chip-color: $black-primary !default;
109
+ $chip-color-inverse: $white-primary !default;
110
+ $chip-elevation-shadow-active: $elevation-shadow-2dp !default;
111
+ $chip-font-size: 0.8125rem !default;
112
+ $chip-font-weight: $font-weight-regular !default;
113
+ $chip-height: 2rem !default;
114
+ $chip-padding-x: 0.75rem !default;
115
+ $chip-padding-y: (($chip-height - $chip-font-size) / 2) !default;
116
+
117
+ //
118
+ // colour theme
119
+ // based on https://material.google.com/style/color.html#color-themes
120
+ //
121
+ $dark-theme-1: $black !default;
122
+ $dark-theme-2: $palette-grey-900 !default;
123
+ $dark-theme-3: #303030 !default;
124
+ $dark-theme-4: $palette-grey-800 !default;
125
+
126
+ $light-theme-1: $palette-grey-300 !default;
127
+ $light-theme-2: $palette-grey-100 !default;
128
+ $light-theme-3: $palette-grey-050 !default;
129
+ $light-theme-4: $white !default;
130
+
131
+ //
132
+ // data table (table)
133
+ // based on https://material.google.com/components/data-tables.html#data-tables-structure
134
+ //
135
+ $table-bg: $white-primary !default;
136
+ $table-bg-accent: $palette-grey-100 !default;
137
+ $table-bg-hover: $palette-grey-200 !default;
138
+ $table-border-color: $border-color !default;
139
+ $table-border-width: $border-width !default;
140
+ $table-cell-padding-x: 1.75rem !default;
141
+ $table-cell-padding-x-alt: $spacer-lg-x !default;
142
+ $table-elevation-shadow: $elevation-shadow-2dp !default;
143
+ $table-margin-bottom: $spacer-md-y !default;
144
+
145
+ $table-tbody-cell-height: 3rem !default;
146
+ $table-tbody-color: $black-primary !default;
147
+ $table-tbody-font-size: 0.8125rem !default;
148
+ $table-tbody-font-weight: $font-weight-regular !default;
149
+ $table-tbody-padding-y: (($table-tbody-cell-height - $table-tbody-font-size * $line-height-base) / 2) !default;
150
+
151
+ $table-tfoot-cell-height: 3.5rem !default;
152
+ $table-tfoot-color: $black-secondary !default;
153
+ $table-tfoot-font-size: 0.75rem !default;
154
+ $table-tfoot-font-weight: $font-weight-regular !default;
155
+ $table-tfoot-padding-y: (($table-tfoot-cell-height - $table-tfoot-font-size * $line-height-base) / 2) !default;
156
+
157
+ $table-thead-cell-height: $table-tfoot-cell-height !default;
158
+ $table-thead-color: $table-tfoot-color !default;
159
+ $table-thead-font-size: $table-tfoot-font-size !default;
160
+ $table-thead-font-weight: $font-weight-medium !default;
161
+ $table-thead-padding-y: (($table-thead-cell-height - $table-thead-font-size * $line-height-base) / 2) !default;
162
+
163
+ //
164
+ // dialog (modal)
165
+ // based on https://material.google.com/components/dialogs.html#dialogs-specs
166
+ //
167
+ $dialog-backdrop-bg: $black-hint !default;
168
+ $dialog-content-bg: $white-primary !default;
169
+ $dialog-elevation-shadow: $elevation-shadow-24dp !default;
170
+ $dialog-footer-btn-min-width: 4rem !default;
171
+ $dialog-footer-spacer-x: $spacer-sm-x !default;
172
+ $dialog-footer-spacer-y: $spacer-sm-y !default;
173
+ $dialog-inner-padding: 1.25rem $spacer-lg-x !default;
174
+ $dialog-margin-x: $spacer-lg-x !default;
175
+ $dialog-margin-y: $spacer-lg-y !default;
176
+ $dialog-width: 35rem !default;
177
+ $dialog-width-lg: 52.5rem !default;
178
+ $dialog-width-sm: 17.5rem !default;
179
+
180
+ //
181
+ // expansion panel (list group)
182
+ // based on https://material.google.com/components/expansion-panels.html#expansion-panels-specs
183
+ //
184
+ $expansion-panel-bg: $white-primary !default;
185
+ $expansion-panel-bg-active: $palette-grey-200 !default;
186
+ $expansion-panel-bg-disabled: $expansion-panel-bg !default;
187
+ $expansion-panel-body-spacer-x: $spacer-lg-x !default;
188
+ $expansion-panel-body-spacer-y: $spacer-md-y !default;
189
+ $expansion-panel-border-color: $border-color !default;
190
+ $expansion-panel-border-width: $border-width !default;
191
+ $expansion-panel-color: $black-primary !default;
192
+ $expansion-panel-color-disabled: $black-hint !default;
193
+ $expansion-panel-elevation-shadow: $elevation-shadow-2dp !default;
194
+ $expansion-panel-font-size: 0.9375rem !default;
195
+ $expansion-panel-font-size-secondary: 0.75rem !default;
196
+ $expansion-panel-footer-spacer-x: $spacer-sm-x !default;
197
+ $expansion-panel-footer-spacer-y: $spacer-md-y !default;
198
+ $expansion-panel-height: 3rem !default;
199
+ $expansion-panel-icon-color: $black-hint !default;
200
+ $expansion-panel-icon-color-active: $black-secondary !default;
201
+ $expansion-panel-margin-between: 1rem !default;
202
+ $expansion-panel-margin-bottom: $spacer-md-y !default;
203
+ $expansion-panel-spacer-x: $spacer-lg-x !default;
204
+ $expansion-panel-spacer-y: (($expansion-panel-height - $expansion-panel-font-size * $line-height-base) / 2) !default;
205
+
206
+ //
207
+ // menu (dropdown)
208
+ // based on https://material.google.com/components/menus.html#menus-specs
209
+ //
210
+ $menu-bg: $white-primary !default;
211
+ $menu-divider-bg: $black-divider !default;
212
+ $menu-font-size: 1rem !default;
213
+ $menu-font-size-cascading: 0.9375rem !default;
214
+ $menu-elevation-shadow: $elevation-shadow-8dp !default;
215
+ $menu-line-height: 1.5rem !default;
216
+ $menu-line-height-cascading: $menu-line-height !default;
217
+ $menu-link-bg: transparent !default;
218
+ $menu-link-bg-active: $offwhite !default;
219
+ $menu-link-color: $black-primary !default;
220
+ $menu-link-color-disabled: $black-hint !default;
221
+ $menu-link-height: 3rem !default;
222
+ $menu-link-height-cascading: 2rem !default;
223
+ $menu-link-padding: (($menu-link-height - $menu-line-height) / 2) $spacer-md-x !default;
224
+ $menu-link-padding-cascading: (($menu-link-height-cascading - $menu-line-height-cascading) / 2) $spacer-lg-x !default;
225
+ $menu-padding-y: $spacer-sm-y !default;
226
+ $menu-padding-y-cascading: $spacer-md-y !default;
227
+
228
+ //
229
+ // navigation drawer
230
+ // based on https://material.google.com/patterns/navigation-drawer.html#navigation-drawer-specs
231
+ //
232
+ $navdrawer-backdrop-bg: $dialog-backdrop-bg !default;
233
+ $navdrawer-border-color: $border-color !default;
234
+ $navdrawer-border-width: $border-width !default;
235
+ $navdrawer-content-bg: $dialog-content-bg !default;
236
+ $navdrawer-divider-bg: $black-divider !default;
237
+ $navdrawer-elevation-shadow: $elevation-shadow-16dp !default;
238
+ $navdrawer-gutter-width: $toolbar-height !default;
239
+ $navdrawer-header-bg: $offwhite !default;
240
+ $navdrawer-header-border-color: $border-color !default;
241
+ $navdrawer-header-border-width: $border-width !default;
242
+ $navdrawer-inner-spacer-x: $spacer-md-x !default;
243
+ $navdrawer-inner-spacer-y: $spacer-sm-y !default;
244
+ $navdrawer-nav-icon-color: $black-secondary !default;
245
+ $navdrawer-nav-icon-width: $toolbar-height !default;
246
+ $navdrawer-nav-link-bg-active: $offwhite !default;
247
+ $navdrawer-nav-link-color: $black-primary !default;
248
+ $navdrawer-nav-link-color-active: $brand-color !default;
249
+ $navdrawer-nav-link-color-disabled: $black-hint !default;
250
+ $navdrawer-nav-link-font-size: 0.875rem !default;
251
+ $navdrawer-nav-link-font-weight: $font-weight-medium !default;
252
+ $navdrawer-nav-link-height: 3rem !default;
253
+ $navdrawer-subheader-color: $black-hint !default;
254
+ $navdrawer-subheader-font-size: 0.875rem !default;
255
+ $navdrawer-subheader-font-weight: $font-weight-medium !default;
256
+ $navdrawer-subheader-height: 3rem !default;
257
+ $navdrawer-width-mobile: 17.5rem !default;
258
+ $navdrawer-width-tablet: 20rem !default;
259
+
260
+ //
261
+ // picker
262
+ // based on https://material.google.com/components/pickers.html#pickers-date-pickers
263
+ //
264
+ $picker-cell-size: 2.5rem !default;
265
+ $picker-content-bg: $dialog-content-bg !default;
266
+ $picker-day-bg-selected: $brand-color !default;
267
+ $picker-day-color-disabled: $black-hint !default;
268
+ $picker-day-color-selected: $brand-text-color !default;
269
+ $picker-day-color-today: $brand-color !default;
270
+ $picker-elevation-shadow: $dialog-elevation-shadow !default;
271
+ $picker-header-bg: $brand-color !default;
272
+ $picker-header-color: $brand-text-color !default;
273
+ $picker-header-padding: $spacer-md-y $spacer-lg-x !default;
274
+ $picker-holder-bg: $dialog-backdrop-bg !default;
275
+ $picker-inner-spacer-x: $spacer-sm-x !default;
276
+ $picker-inner-spacer-y: $spacer-sm-y !default;
277
+ $picker-margin-x: $dialog-margin-x !default;
278
+ $picker-margin-y: $dialog-margin-y !default;
279
+ $picker-nav-next-icon: "keyboard_arrow_right" !default;
280
+ $picker-nav-prev-icon: "keyboard_arrow_left" !default;
281
+ $picker-weekday-color: $black-hint !default;
282
+
283
+ //
284
+ // progress
285
+ // based on https://material.google.com/components/progress-activity.html#progress-activity-types-of-indicators
286
+ //
287
+ $progress-bar-color: $palette-indigo-500 !default;
288
+ $progress-height: 0.25rem !default;
289
+ $progress-margin-bottom: $spacer-md-y !default;
290
+
291
+ // circular
292
+ $progress-circular-color: $progress-bar-color !default;
293
+ $progress-circular-height: 2.5rem !default;
294
+ $progress-circular-spinner-width: 0.25rem !default;
295
+
296
+ //
297
+ // selection control
298
+ // based on https://material.google.com/components/selection-controls.html
299
+ //
300
+ $selection-control-checkbox-bg: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#000000' fill-opacity='0.54' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !default;
301
+ $selection-control-checkbox-bg-checked: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#{$brand-color-accent}' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") !default;
302
+ $selection-control-checkbox-bg-disabled: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#000000' fill-opacity='0.26' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !default;
303
+ $selection-control-checkbox-bg-disabled-checked: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#000000' fill-opacity='0.26' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") !default;
304
+ $selection-control-checkbox-bg-indeterminate: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#000000' fill-opacity='0.54' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath d='M0 0h24v24H0z' id='a'/%3E%3C/defs%3E%3CclipPath id='b'%3E%3Cuse overflow='visible' xlink:href='#a'/%3E%3C/clipPath%3E%3Cpath clip-path='url(#b)' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z'/%3E%3C/svg%3E") !default;
305
+ $selection-control-color: $black-secondary !default;
306
+ $selection-control-color-active: $brand-color-accent !default;
307
+ $selection-control-color-disabled: rgba(0, 0, 0, 0.26) !default;
308
+ $selection-control-indicator-size: $material-icon-size !default;
309
+ $selection-control-radial-bg: $black-divider !default;
310
+ $selection-control-radio-bg: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#000000' fill-opacity='0.54' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !default;
311
+ $selection-control-radio-bg-checked: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#{$brand-color-accent}' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !default;
312
+ $selection-control-radio-bg-disabled: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#000000' fill-opacity='0.26' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !default;
313
+ $selection-control-radio-bg-disabled-checked: url("data:image/svg+xml;charset=utf8,%3Csvg fill='#000000' fill-opacity='0.26' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E") !default;
314
+ $selection-control-spacer-x: ($material-icon-size / $font-size-root / 2 * 1rem) !default;
315
+ $selection-control-spacer-y: ($material-icon-size / $font-size-root / 2 * 1rem) !default;
316
+ $selection-control-thumb-bg: $offwhite-light !default;
317
+ $selection-control-thumb-bg-disabled: #bdbdbd !default;
318
+ $selection-control-thumb-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6) !default;
319
+ $selection-control-track-bg: $black-hint !default;
320
+ $selection-control-track-bg-disabled: $black-divider !default;
321
+ $selection-control-track-height: $font-size-root !default;
322
+ $selection-control-track-width: ($selection-control-indicator-size * 2) !default;
323
+
324
+ //
325
+ // stepper
326
+ // based on https://material.google.com/components/steppers.html#steppers-specs
327
+ //
328
+ $stepper-bg: $white-primary !default;
329
+ $stepper-border-color: $palette-grey-400 !default;
330
+ $stepper-border-width: $border-width !default;
331
+ $stepper-icon-bg: $black-hint !default;
332
+ $stepper-icon-bg-active: $brand-color !default;
333
+ $stepper-icon-color: $white-primary !default;
334
+ $stepper-icon-color-active: $brand-text-color !default;
335
+ $stepper-icon-font-size: 0.75rem !default;
336
+ $stepper-icon-font-weight: $font-weight-regular !default;
337
+ $stepper-icon-height: ($material-icon-size / $font-size-root * 1rem) !default;
338
+ $stepper-inner-spacer: $spacer-sm !default;
339
+ $stepper-padding-x: $spacer-lg-x !default;
340
+ $stepper-padding-y: $spacer-lg-y !default;
341
+ $stepper-text-color: $black-hint !default;
342
+ $stepper-text-color-active: $black-primary !default;
343
+ $stepper-text-font-size: 0.875rem !default;
344
+ $stepper-text-font-weight: $font-weight-regular !default;
345
+
346
+ //
347
+ // tab (nav-tab)
348
+ // based on https://material.google.com/components/tabs.html#tabs-specs
349
+ //
350
+ $nav-tab-border-color: $black-divider !default;
351
+ $nav-tab-indicator-bg: $brand-color-accent !default;
352
+ $nav-tab-indicator-height: 2px !default;
353
+ $nav-tab-link-font-size: 0.875rem !default;
354
+ $nav-tab-link-font-weight: $font-weight-medium !default;
355
+ $nav-tab-link-height: 3rem !default;
356
+ $nav-tab-link-opacity: 0.7 !default;
357
+ $nav-tab-link-max-width: 16.5rem !default;
358
+ $nav-tab-link-min-width: 4.5rem !default;
359
+ $nav-tab-link-min-width-lg: 10rem !default;
360
+ $nav-tab-link-padding-x: 0.75rem !default;
361
+ $nav-tab-link-padding-x-lg: 1.5rem !default;
362
+
363
+ //
364
+ // text field (form)
365
+ // based on https://material.google.com/components/text-fields.html#text-fields-single-line-text-field
366
+ //
367
+ $textfield-border-color: $border-color !default;
368
+ $textfield-border-color-focus: $brand-color !default;
369
+ $textfield-border-width: $border-width !default;
370
+ $textfield-color: $black-primary !default;
371
+ $textfield-color-disabled: $black-hint !default;
372
+ $textfield-hint-color: $black-hint !default;
373
+
374
+ // size
375
+ $textfield-font-size: 1rem !default;
376
+ $textfield-font-size-lg: 2.125rem !default;
377
+ $textfield-font-size-sm: 0.8125rem !default;
378
+ $textfield-height: 2.5rem !default;
379
+ $textfield-height-lg: 3.75rem !default;
380
+ $textfield-height-sm: 2.25rem !default;
381
+ $textfield-line-height: 1.5rem !default;
382
+ $textfield-line-height-lg: 2.5rem !default;
383
+ $textfield-line-height-sm: 1.125rem !default;
384
+ $textfield-margin-bottom: 0.5rem !default;
385
+ $textfield-margin-bottom-lg: 0.75rem !default;
386
+ $textfield-margin-bottom-sm: 0.25rem !default;
387
+ $textfield-padding-top: 0.75rem !default;
388
+ $textfield-padding-top-lg: 0.875rem !default;
389
+ $textfield-padding-top-sm: 0.625rem !default;
390
+
391
+ //
392
+ // text field: floating label (form: floating label)
393
+ // based on https://material.google.com/components/text-fields.html#text-fields-labels
394
+ //
395
+ $floating-label-color: $textfield-hint-color !default;
396
+ $floating-label-color-focus: $brand-color !default;
397
+ $floating-label-font-size-focus: 0.75rem !default;
398
+
399
+ // size
400
+ $floating-label-divider-padding: 0.5rem !default;
401
+ $floating-label-divider-padding-lg: 0.75rem !default;
402
+ $floating-label-divider-padding-sm: 0.25rem !default;
403
+ $floating-label-height: 4rem !default;
404
+ $floating-label-height-lg: 5.25rem !default;
405
+ $floating-label-height-sm: 3.5rem !default;
406
+ $floating-label-padding-top: 1rem !default;
407
+ $floating-label-padding-top-lg: 1.25rem !default;
408
+ $floating-label-padding-top-sm: 0.75rem !default;
409
+
410
+ //
411
+ // tooltip
412
+ // based on https://material.google.com/components/tooltips.html#tooltips-tooltips-desktop
413
+ //
414
+ $tooltip-bg: $palette-grey-700 !default;
415
+ $tooltip-color: $white-primary !default;
416
+ $tooltip-font-size: 0.875rem !default;
417
+ $tooltip-font-size-md-up: 0.625rem !default;
418
+ $tooltip-height: 2rem !default;
419
+ $tooltip-height-md-up: 1.375rem !default;
420
+ $tooltip-margin: $spacer-lg-y !default;
421
+ $tooltip-margin-md-up: 0.875rem !default;
422
+ $tooltip-opacity: 0.9 !default;
423
+ $tooltip-padding-x: $spacer-md-x !default;
424
+ $tooltip-padding-x-md-up: $spacer-sm-x !default;
425
+ $tooltip-padding-y: (($tooltip-height - $line-height-base * $tooltip-font-size) / 2) !default;
426
+ $tooltip-padding-y-md-up: (($tooltip-height-md-up - $line-height-base * $tooltip-font-size-md-up) / 2) !default;
427
+ $tooltip-zindex: $elevation-24dp !default;
428
+
429
+ //
430
+ // waves
431
+ //
432
+ $waves-bg: $black-hint !default;
433
+ $waves-bg-light: $white-hint !default;
434
+ $waves-size: 4rem !default;