material-sass 4.0.0.beta → 4.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +2 -2
  3. data/Rakefile +12 -12
  4. data/{app/assets → assets}/javascripts/material-sprockets.js +0 -0
  5. data/{app/assets → assets}/javascripts/material.js +54 -4
  6. data/{app/assets → assets}/javascripts/material.min.js +1 -1
  7. data/{app/assets → assets}/javascripts/material/addons/picker.date.js +0 -0
  8. data/{app/assets → assets}/javascripts/material/addons/picker.js +0 -0
  9. data/{app/assets → assets}/javascripts/material/addons/textarea-autosize.js +0 -0
  10. data/{app/assets → assets}/javascripts/material/addons/waves.js +0 -0
  11. data/assets/javascripts/material/components/expansion-panel.js +50 -0
  12. data/{app/assets → assets}/javascripts/material/components/floating-label.js +1 -1
  13. data/{app/assets → assets}/javascripts/material/components/navdrawer.js +0 -0
  14. data/{app/assets → assets}/javascripts/material/components/selection-control-focus.js +2 -3
  15. data/{app/assets → assets}/javascripts/material/components/tab-switch.js +0 -0
  16. data/{app/assets → assets}/javascripts/material/components/util.js +0 -0
  17. data/{app/assets → assets}/javascripts/material/initializers/picker.js +0 -0
  18. data/{app/assets → assets}/javascripts/material/initializers/textarea-autosize.js +0 -0
  19. data/{app/assets → assets}/javascripts/material/initializers/waves.js +0 -0
  20. data/{app/assets → assets}/stylesheets/material.min.css +0 -0
  21. data/{app/assets → assets}/stylesheets/material.scss +0 -0
  22. data/{app/assets → assets}/stylesheets/material/_colours.scss +7 -11
  23. data/{app/assets → assets}/stylesheets/material/_functions.scss +8 -14
  24. data/{app/assets → assets}/stylesheets/material/_mixins.scss +1 -1
  25. data/{app/assets → assets}/stylesheets/material/_print.scss +4 -4
  26. data/{app/assets → assets}/stylesheets/material/_utilities.scss +0 -2
  27. data/{app/assets → assets}/stylesheets/material/_variables.scss +0 -2
  28. data/{app/assets → assets}/stylesheets/material/base/_base.scss +24 -49
  29. data/{app/assets → assets}/stylesheets/material/base/_grid.scss +1 -5
  30. data/{app/assets → assets}/stylesheets/material/base/_typography.scss +1 -11
  31. data/{app/assets → assets}/stylesheets/material/bootstrap/_alert.scss +14 -16
  32. data/{app/assets → assets}/stylesheets/material/bootstrap/_badge.scss +19 -7
  33. data/{app/assets → assets}/stylesheets/material/bootstrap/_breadcrumb.scss +0 -0
  34. data/{app/assets → assets}/stylesheets/material/bootstrap/_carousel.scss +0 -6
  35. data/{app/assets → assets}/stylesheets/material/bootstrap/_close.scss +0 -4
  36. data/{app/assets → assets}/stylesheets/material/bootstrap/_code.scss +0 -9
  37. data/{app/assets → assets}/stylesheets/material/bootstrap/_custom-form.scss +0 -0
  38. data/{app/assets → assets}/stylesheets/material/bootstrap/_form.scss +4 -16
  39. data/{app/assets → assets}/stylesheets/material/bootstrap/_image.scss +10 -14
  40. data/{app/assets → assets}/stylesheets/material/bootstrap/_jumbotron.scss +0 -0
  41. data/{app/assets → assets}/stylesheets/material/bootstrap/_media.scss +0 -0
  42. data/{app/assets → assets}/stylesheets/material/bootstrap/_nav.scss +4 -10
  43. data/{app/assets → assets}/stylesheets/material/bootstrap/_pagination.scss +0 -1
  44. data/{app/assets → assets}/stylesheets/material/bootstrap/_popover.scss +4 -10
  45. data/{app/assets → assets}/stylesheets/material/bootstrap/_responsive-embed.scss +0 -0
  46. data/{app/assets → assets}/stylesheets/material/bootstrap/_transition.scss +2 -0
  47. data/{app/assets → assets}/stylesheets/material/material.scss +1 -10
  48. data/{app/assets → assets}/stylesheets/material/material/_button-flat.scss +3 -2
  49. data/{app/assets → assets}/stylesheets/material/material/_button-float.scss +4 -4
  50. data/{app/assets → assets}/stylesheets/material/material/_button-group.scss +40 -95
  51. data/{app/assets → assets}/stylesheets/material/material/_button.scss +8 -24
  52. data/{app/assets → assets}/stylesheets/material/material/_card.scss +28 -48
  53. data/{app/assets → assets}/stylesheets/material/material/_chip.scss +3 -7
  54. data/{app/assets → assets}/stylesheets/material/material/_data-table.scss +40 -37
  55. data/{app/assets → assets}/stylesheets/material/material/_dialog.scss +79 -53
  56. data/assets/stylesheets/material/material/_expansion-panel.scss +247 -0
  57. data/{app/assets → assets}/stylesheets/material/material/_menu.scss +99 -96
  58. data/{app/assets → assets}/stylesheets/material/material/_navdrawer.scss +26 -54
  59. data/{app/assets → assets}/stylesheets/material/material/_picker.scss +8 -13
  60. data/{app/assets → assets}/stylesheets/material/material/_progress-circular.scss +0 -1
  61. data/{app/assets → assets}/stylesheets/material/material/_progress.scss +41 -53
  62. data/{app/assets → assets}/stylesheets/material/material/_selection-control.scss +4 -25
  63. data/{app/assets → assets}/stylesheets/material/material/_stepper.scss +1 -9
  64. data/{app/assets → assets}/stylesheets/material/material/_tab.scss +16 -16
  65. data/assets/stylesheets/material/material/_text-field-box.scss +59 -0
  66. data/{app/assets → assets}/stylesheets/material/material/_text-field-floating-label.scss +28 -13
  67. data/{app/assets → assets}/stylesheets/material/material/_text-field-input-group.scss +40 -49
  68. data/assets/stylesheets/material/material/_text-field-textarea.scss +15 -0
  69. data/{app/assets → assets}/stylesheets/material/material/_text-field.scss +23 -42
  70. data/{app/assets → assets}/stylesheets/material/material/_toolbar.scss +50 -37
  71. data/{app/assets → assets}/stylesheets/material/material/_tooltip.scss +6 -12
  72. data/{app/assets → assets}/stylesheets/material/mixins/_background-variant.scss +6 -5
  73. data/{app/assets → assets}/stylesheets/material/mixins/_border-radius.scss +2 -1
  74. data/{app/assets → assets}/stylesheets/material/mixins/_breakpoint.scss +7 -6
  75. data/{app/assets → assets}/stylesheets/material/mixins/_clearfix.scss +0 -0
  76. data/assets/stylesheets/material/mixins/_float.scss +13 -0
  77. data/{app/assets → assets}/stylesheets/material/mixins/_form.scss +37 -5
  78. data/{app/assets → assets}/stylesheets/material/mixins/_grid-framework.scss +30 -24
  79. data/{app/assets → assets}/stylesheets/material/mixins/_grid.scss +8 -8
  80. data/{app/assets → assets}/stylesheets/material/mixins/_hex-to-rgba.scss +0 -0
  81. data/{app/assets → assets}/stylesheets/material/mixins/_hover.scss +19 -19
  82. data/{app/assets → assets}/stylesheets/material/mixins/_image.scss +0 -0
  83. data/{app/assets → assets}/stylesheets/material/mixins/_list.scss +0 -0
  84. data/{app/assets → assets}/stylesheets/material/mixins/_material-icons.scss +4 -2
  85. data/{app/assets → assets}/stylesheets/material/mixins/_nav-divider.scss +0 -0
  86. data/{app/assets → assets}/stylesheets/material/mixins/_reset-text.scss +1 -1
  87. data/{app/assets → assets}/stylesheets/material/mixins/_screenreader.scss +1 -2
  88. data/{app/assets → assets}/stylesheets/material/mixins/_strip-unit.scss +0 -0
  89. data/{app/assets → assets}/stylesheets/material/mixins/_text-alignment.scss +0 -0
  90. data/{app/assets → assets}/stylesheets/material/mixins/_text-emphasis.scss +6 -5
  91. data/{app/assets → assets}/stylesheets/material/mixins/_text-hide.scss +0 -0
  92. data/{app/assets → assets}/stylesheets/material/mixins/_text-truncate.scss +0 -0
  93. data/{app/assets → assets}/stylesheets/material/mixins/_transition.scss +0 -8
  94. data/{app/assets → assets}/stylesheets/material/mixins/_typography.scss +0 -0
  95. data/{app/assets → assets}/stylesheets/material/utilities/_align.scss +2 -0
  96. data/{app/assets → assets}/stylesheets/material/utilities/_background.scss +0 -4
  97. data/{app/assets → assets}/stylesheets/material/utilities/_border.scss +2 -2
  98. data/{app/assets → assets}/stylesheets/material/utilities/_clearfix.scss +0 -0
  99. data/{app/assets → assets}/stylesheets/material/utilities/_display.scss +6 -2
  100. data/{app/assets → assets}/stylesheets/material/utilities/_flex.scss +10 -6
  101. data/{app/assets → assets}/stylesheets/material/utilities/_float.scss +3 -3
  102. data/{app/assets → assets}/stylesheets/material/utilities/_material-icons.scss +0 -0
  103. data/{app/assets → assets}/stylesheets/material/utilities/_position.scss +14 -0
  104. data/{app/assets → assets}/stylesheets/material/utilities/_screenreader.scss +0 -0
  105. data/{app/assets → assets}/stylesheets/material/utilities/_sizing.scss +2 -0
  106. data/{app/assets → assets}/stylesheets/material/utilities/_spacing.scss +32 -31
  107. data/{app/assets → assets}/stylesheets/material/utilities/_text.scss +2 -13
  108. data/{app/assets → assets}/stylesheets/material/utilities/_visibility.scss +2 -0
  109. data/{app/assets → assets}/stylesheets/material/utilities/_waves.scss +3 -3
  110. data/assets/stylesheets/material/variables/_elevation-shadow.scss +69 -0
  111. data/{app/assets → assets}/stylesheets/material/variables/_grid.scss +0 -4
  112. data/assets/stylesheets/material/variables/_palette.scss +66 -0
  113. data/{app/assets → assets}/stylesheets/material/variables/_spacer.scss +6 -11
  114. data/assets/stylesheets/material/variables/_transition.scss +27 -0
  115. data/{app/assets → assets}/stylesheets/material/variables/_typography.scss +21 -27
  116. data/{app/assets → assets}/stylesheets/material/variables/_variable-bootstrap.scss +22 -50
  117. data/{app/assets → assets}/stylesheets/material/variables/_variable-material.scss +108 -141
  118. data/lib/material-sass.rb +52 -4
  119. data/lib/material-sass/engine.rb +8 -8
  120. data/lib/material-sass/version.rb +1 -1
  121. data/material-sass.gemspec +3 -0
  122. metadata +145 -149
  123. data/app/assets/fonts/material-icons/MaterialIcons-Regular.eot +0 -0
  124. data/app/assets/fonts/material-icons/MaterialIcons-Regular.ijmap +0 -1
  125. data/app/assets/fonts/material-icons/MaterialIcons-Regular.svg +0 -2373
  126. data/app/assets/fonts/material-icons/MaterialIcons-Regular.ttf +0 -0
  127. data/app/assets/fonts/material-icons/MaterialIcons-Regular.woff +0 -0
  128. data/app/assets/fonts/material-icons/MaterialIcons-Regular.woff2 +0 -0
  129. data/app/assets/fonts/material-icons/README.md +0 -9
  130. data/app/assets/fonts/material-icons/codepoints +0 -932
  131. data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
  132. data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
  133. data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
  134. data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
  135. data/app/assets/fonts/roboto/Roboto-Light.eot +0 -0
  136. data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
  137. data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
  138. data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
  139. data/app/assets/fonts/roboto/Roboto-Medium.eot +0 -0
  140. data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
  141. data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
  142. data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
  143. data/app/assets/fonts/roboto/Roboto-Regular.eot +0 -0
  144. data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
  145. data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
  146. data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
  147. data/app/assets/fonts/roboto/Roboto-Thin.eot +0 -0
  148. data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
  149. data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
  150. data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
  151. data/app/assets/images/bg/amber.jpg +0 -0
  152. data/app/assets/images/bg/brand.jpg +0 -0
  153. data/app/assets/images/bg/green.jpg +0 -0
  154. data/app/assets/images/bg/purple.jpg +0 -0
  155. data/app/assets/images/bg/red.jpg +0 -0
  156. data/app/assets/images/bg/teal.jpg +0 -0
  157. data/app/assets/stylesheets/material/material/_expansion-panel.scss +0 -118
  158. data/app/assets/stylesheets/material/material/_text-field-textarea.scss +0 -18
  159. data/app/assets/stylesheets/material/mixins/_pull.scss +0 -7
  160. data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +0 -91
  161. data/app/assets/stylesheets/material/variables/_palette.scss +0 -45
  162. data/app/assets/stylesheets/material/variables/_transition.scss +0 -29
@@ -10,8 +10,6 @@ $grid-gutter-widths: (
10
10
  xl: $grid-gutter-width-desktop
11
11
  ) !default;
12
12
 
13
-
14
-
15
13
  // Breakpoint
16
14
  // Based on https://material.google.com/layout/responsive-ui.html#responsive-ui-breakpoints
17
15
 
@@ -26,8 +24,6 @@ $grid-breakpoints: (
26
24
  @include _assert-ascending($grid-breakpoints, '$grid-breakpoints');
27
25
  @include _assert-starts-at-zero($grid-breakpoints);
28
26
 
29
-
30
-
31
27
  // Container width
32
28
  // Based on https://material.google.com/layout/responsive-ui.html#responsive-ui-breakpoints
33
29
 
@@ -0,0 +1,66 @@
1
+ // Theme palette
2
+ // Change these values to customise colour palettes
3
+
4
+ $primary: (
5
+ color: $material-color-purple-500,
6
+ darker: $material-color-purple-700,
7
+ lighter: $material-color-purple-100
8
+ ) !default;
9
+
10
+ $secondary: (
11
+ color: $material-color-pink-a200,
12
+ darker: $material-color-pink-a400,
13
+ lighter: $material-color-pink-a100
14
+ ) !default;
15
+
16
+ $danger: (
17
+ color: $material-color-red-500,
18
+ darker: $material-color-red-700,
19
+ lighter: $material-color-red-100
20
+ ) !default;
21
+
22
+ $info: (
23
+ color: $material-color-blue-500,
24
+ darker: $material-color-blue-700,
25
+ lighter: $material-color-blue-100
26
+ ) !default;
27
+
28
+ $success: (
29
+ color: $material-color-green-500,
30
+ darker: $material-color-green-700,
31
+ lighter: $material-color-green-100
32
+ ) !default;
33
+
34
+ $warning: (
35
+ color: $material-color-orange-500,
36
+ darker: $material-color-orange-700,
37
+ lighter: $material-color-orange-100
38
+ ) !default;
39
+
40
+ $dark: (
41
+ color: $material-color-grey-800,
42
+ darker: $material-color-grey-900,
43
+ lighter: $material-color-grey-600
44
+ ) !default;
45
+
46
+ $light: (
47
+ color: $material-color-grey-100,
48
+ darker: $material-color-grey-300,
49
+ lighter: $material-color-grey-050
50
+ ) !default;
51
+
52
+ $theme-colors: () !default;
53
+
54
+ $theme-colors: map-merge(
55
+ (
56
+ 'primary': $primary,
57
+ 'secondary': $secondary,
58
+ 'danger': $danger,
59
+ 'info': $info,
60
+ 'success': $success,
61
+ 'warning': $warning,
62
+ 'dark': $dark,
63
+ 'light': $light
64
+ ),
65
+ $theme-colors
66
+ );
@@ -1,10 +1,7 @@
1
- $border-color: $black-divider !default;
2
- $border-color-inverse: $white-divider !default;
3
- $border-color-solid: $black-divider-solid !default;
4
- $border-radius: 2px !default;
5
- $border-width: 1px !default;
6
-
7
-
1
+ $border-color: $black-divider !default;
2
+ $border-color-solid: $black-divider-solid !default;
3
+ $border-radius: 2px !default;
4
+ $border-width: 1px !default;
8
5
 
9
6
  $sizes: (
10
7
  25: 25%,
@@ -13,12 +10,10 @@ $sizes: (
13
10
  100: 100%
14
11
  ) !default;
15
12
 
16
-
17
-
18
13
  $spacer: 1rem !default;
19
14
 
20
- $spacer-xs: ($spacer * .25) !default;
21
- $spacer-sm: ($spacer * .5) !default;
15
+ $spacer-xs: ($spacer * 0.25) !default;
16
+ $spacer-sm: ($spacer * 0.5) !default;
22
17
  $spacer-lg: ($spacer * 1.5) !default;
23
18
  $spacer-xl: ($spacer * 3) !default;
24
19
 
@@ -0,0 +1,27 @@
1
+ // The movement of an element is based on https://material.google.com/motion/movement.html
2
+
3
+ // Transition duration
4
+ // Based on https://material.google.com/motion/duration-easing.html#duration-easing-common-durations
5
+
6
+ $transition-duration-desktop: 0.2s !default;
7
+ $transition-duration-desktop-complex: 0.25s !default;
8
+ $transition-duration-desktop-entering: 0.15s !default;
9
+ $transition-duration-desktop-leaving: 0.13s !default;
10
+
11
+ $transition-duration-mobile: 0.3s !default;
12
+ $transition-duration-mobile-complex: 0.375s !default;
13
+ $transition-duration-mobile-entering: 0.225s !default;
14
+ $transition-duration-mobile-leaving: 0.195s !default;
15
+
16
+ $transition-duration-tablet: 0.39s !default;
17
+ $transition-duration-tablet-complex: 0.4875s !default;
18
+ $transition-duration-tablet-entering: 0.2925s !default;
19
+ $transition-duration-tablet-leaving: 0.2535s !default;
20
+
21
+ // Transition timing function
22
+ // Based on https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
23
+
24
+ $transition-timing-function-acceleration: cubic-bezier(0.4, 0, 1, 1) !default;
25
+ $transition-timing-function-deceleration: cubic-bezier(0, 0, 0.2, 1) !default;
26
+ $transition-timing-function-sharp: cubic-bezier(0.4, 0, 0.6, 1) !default;
27
+ $transition-timing-function-standard: cubic-bezier(0.4, 0, 0.2, 1) !default;
@@ -2,17 +2,17 @@
2
2
 
3
3
  $font-size-root: 16px !default;
4
4
 
5
-
6
-
7
5
  // Font face
8
6
  // Based on https://material.google.com/style/typography.html#typography-typeface
9
7
 
10
8
  // N.B. Although some values are not used in this project
11
9
  // we leave them here just in case they may be required by your project
12
10
 
13
- $font-family-monospace: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
14
- $font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !default;
15
- $font-family-serif: "Roboto Slab", Georgia, "Times New Roman", Times, serif !default;
11
+ // stylelint-disable value-keyword-case
12
+ $font-family-monospace: 'Roboto Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !default;
13
+ $font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !default;
14
+ $font-family-serif: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif !default;
15
+ // stylelint-enable
16
16
 
17
17
  $font-family-base: $font-family-sans-serif !default;
18
18
 
@@ -23,23 +23,21 @@ $font-weight-light: 300 !default;
23
23
 
24
24
  $font-weight-base: $font-weight-regular !default;
25
25
 
26
-
27
-
28
26
  // Font styles
29
27
  // Based on https://material.google.com/style/typography.html#typography-styles
30
28
 
31
- $font-size-base: .875rem !default; // 14px
29
+ $font-size-base: 0.875rem !default; // 14px
32
30
 
33
- $font-size-display-4: 7rem !default; // 112px
34
- $font-size-display-3: 3.5rem !default; // 56px
35
- $font-size-display-2: 2.8125rem !default; // 45px
36
- $font-size-display-1: 2.125rem !default; // 34px
37
- $font-size-headline: 1.5rem !default; // 24px
38
- $font-size-title: 1.25rem !default; // 20px
39
- $font-size-subheading: 1rem !default; // 16px
40
- $font-size-body-2: .875rem !default; // 14px
41
- $font-size-body-1: .875rem !default; // 14px
42
- $font-size-caption: .75rem !default; // 12px
31
+ $font-size-display-4: ($font-size-base * 8) !default; // 112px
32
+ $font-size-display-3: ($font-size-base * 4) !default; // 56px
33
+ $font-size-display-2: ($font-size-base * 3.214286) !default; // 45px
34
+ $font-size-display-1: ($font-size-base * 2.428571) !default; // 34px
35
+ $font-size-headline: ($font-size-base * 1.714286) !default; // 24px
36
+ $font-size-title: ($font-size-base * 1.428571) !default; // 20px
37
+ $font-size-subheading: ($font-size-base * 1.142857) !default; // 16px
38
+ $font-size-body-2: ($font-size-base * 1) !default; // 14px
39
+ $font-size-body-1: ($font-size-base * 1) !default; // 14px
40
+ $font-size-caption: ($font-size-base * 0.857143) !default; // 12px
43
41
 
44
42
  $font-weight-display-4: $font-weight-light !default;
45
43
  $font-weight-display-3: $font-weight-regular !default;
@@ -52,19 +50,17 @@ $font-weight-body-2: $font-weight-medium !default;
52
50
  $font-weight-body-1: $font-weight-regular !default;
53
51
  $font-weight-caption: $font-weight-regular !default;
54
52
 
55
- $letter-spacing-display-4: -.04em !default;
56
- $letter-spacing-display-3: -.02em !default;
53
+ $letter-spacing-display-4: -0.04em !default;
54
+ $letter-spacing-display-3: -0.02em !default;
57
55
  $letter-spacing-display-2: 0 !default;
58
56
  $letter-spacing-display-1: 0 !default;
59
57
  $letter-spacing-headline: 0 !default;
60
- $letter-spacing-title: .02em !default;
61
- $letter-spacing-subheading: .04em !default;
58
+ $letter-spacing-title: 0.02em !default;
59
+ $letter-spacing-subheading: 0.04em !default;
62
60
  $letter-spacing-body-2: 0 !default;
63
61
  $letter-spacing-body-1: 0 !default;
64
62
  $letter-spacing-caption: 0 !default;
65
63
 
66
-
67
-
68
64
  // Line height
69
65
  // Based on https://material.google.com/style/typography.html#typography-line-height
70
66
 
@@ -81,8 +77,6 @@ $line-height-body-2: 1.428572 !default; // 20px
81
77
  $line-height-body-1: 1.428572 !default; // 20px
82
78
  $line-height-caption: 1.5 !default; // 18px
83
79
 
84
-
85
-
86
- // Default Material icons font size
80
+ // Material icons default size
87
81
 
88
82
  $material-icon-size: (24px / $font-size-root * 1rem) !default;
@@ -1,75 +1,61 @@
1
1
  // Alert
2
2
 
3
3
  $alert-border-radius: $border-radius !default;
4
- $alert-elevation-shadow: $elevation-shadow-1dp !default;
5
4
  $alert-link-font-weight: $font-weight-medium !default;
6
5
  $alert-margin-y: $spacer !default;
7
6
  $alert-padding-x: 1rem !default;
8
7
  $alert-padding-y: 1rem !default;
9
8
 
10
-
11
-
12
9
  // Badge
13
10
 
14
- $badge-bg: $black-divider !default;
15
11
  $badge-border-radius: $border-radius !default;
16
- $badge-color: $black-primary !default;
17
12
  $badge-font-weight: $font-weight-medium !default;
18
- $badge-padding-x: .5rem !default;
19
- $badge-padding-y: 0 !default;
20
-
21
-
13
+ $badge-padding-x: 0.5em !default;
22
14
 
23
15
  // Body
24
16
 
25
17
  $body-bg: $white-primary !default;
26
18
  $body-color: $black-primary !default;
27
19
 
28
-
29
-
30
20
  // Breadcrumb
31
21
 
32
22
  $breadcrumb-bg: $material-color-grey-100 !default;
33
23
  $breadcrumb-border-radius: $border-radius !default;
34
24
  $breadcrumb-height: 3.5rem !default;
35
- $breadcrumb-inner-spacer-x: .5rem !default;
25
+ $breadcrumb-inner-spacer-x: 0.5rem !default;
36
26
  $breadcrumb-item-color: $black-secondary !default;
37
27
  $breadcrumb-item-color-hover: $black-primary !default;
38
28
  $breadcrumb-item-icon: 'chevron_right' !default;
39
29
  $breadcrumb-margin-y: $spacer !default;
40
30
  $breadcrumb-padding-x: 1rem !default;
41
- $breadcrumb-padding-y: .625rem !default;
42
-
43
-
31
+ $breadcrumb-padding-y: 0.625rem !default;
44
32
 
45
33
  // Caret
46
34
 
47
- $caret-bg: str-replace(url('data:image/svg+xml;charset=utf8,%3Csvg fill="#{$black}" fill-opacity="#{$black-secondary-opacity}" 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'), '#', '%23') !default;
48
- $caret-icon: 'expand_more' !default;
49
- $caret-icon-dropup: 'expand_less' !default;
50
- $caret-spacer-x: .2em !default;
51
-
52
-
35
+ $caret-bg: str-replace(url('data:image/svg+xml;charset=utf8,%3Csvg fill="#{$black}" fill-opacity="#{$black-secondary-opacity}" 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'), '#', '%23') !default;
36
+ $caret-icon: 'expand_more' !default;
37
+ $caret-icon-left: 'keyboard_arrow_left' !default;
38
+ $caret-icon-right: 'keyboard_arrow_right' !default;
39
+ $caret-icon-up: 'expand_less' !default;
40
+ $caret-spacer-x: 0.2em !default;
53
41
 
54
42
  // Carousel
55
43
 
56
44
  $carousel-caption-color: $white-primary !default;
57
45
  $carousel-caption-width: 50% !default;
58
46
  $carousel-control-bg: $white-divider !default;
59
- $carousel-control-bg-hover: rgba(204, 204, 204, .25) !default;
47
+ $carousel-control-bg-hover: rgba(204, 204, 204, 0.25) !default;
60
48
  $carousel-control-color: $white-primary !default;
61
49
  $carousel-control-elevation-shadow: $elevation-shadow-6dp !default;
62
50
  $carousel-control-elevation-shadow-active: $elevation-shadow-12dp !default;
63
- $carousel-control-font-size: .8125rem !default;
51
+ $carousel-control-font-size: 0.8125rem !default;
64
52
  $carousel-control-next-icon: 'chevron_right' !default;
65
53
  $carousel-control-prev-icon: 'chevron_left' !default;
66
54
  $carousel-control-size: 2.5rem !default;
67
- $carousel-indicator-bg: rgba(204, 204, 204, .25) !default;
55
+ $carousel-indicator-bg: rgba(204, 204, 204, 0.25) !default;
68
56
  $carousel-indicator-border-color: $white-divider !default;
69
57
  $carousel-indicator-border-width: $border-width !default;
70
- $carousel-indicator-size: .5rem !default;
71
-
72
-
58
+ $carousel-indicator-size: 0.5rem !default;
73
59
 
74
60
  // Close
75
61
 
@@ -78,16 +64,14 @@ $close-color-hover: $black-primary !default;
78
64
  $close-font-size: $material-icon-size !default;
79
65
  $close-font-weight: $font-weight-light !default;
80
66
 
81
-
82
-
83
67
  // Code
84
68
 
85
69
  $code-bg: $material-color-grey-100 !default;
86
70
  $code-border-radius: $border-radius !default;
87
71
  $code-color: #bd4147 !default;
88
72
  $code-font-size: 87.5% !default;
89
- $code-padding-x: .4rem !default;
90
- $code-padding-y: .2rem !default;
73
+ $code-padding-x: 0.4rem !default;
74
+ $code-padding-y: 0.2rem !default;
91
75
 
92
76
  $kbd-bg: $black-primary !default;
93
77
  $kbd-color: $white-primary !default;
@@ -96,8 +80,6 @@ $pre-color: $black-primary !default;
96
80
  $pre-margin-y: $spacer !default;
97
81
  $pre-scrollable-max-height: 340px !default;
98
82
 
99
-
100
-
101
83
  // Form
102
84
 
103
85
  $custom-file-button-icon: 'attachment' !default;
@@ -114,8 +96,6 @@ $form-group-margin-y: $spacer !default;
114
96
 
115
97
  $input-group-addon-margin-x: 1rem !default;
116
98
 
117
-
118
-
119
99
  // Jumbotron
120
100
 
121
101
  $jumbotron-bg: $white-primary !default;
@@ -125,21 +105,17 @@ $jumbotron-elevation-shadow: $elevation-shadow-2dp !default;
125
105
  $jumbotron-padding-x: 2rem !default;
126
106
  $jumbotron-padding-y: 3rem !default;
127
107
 
128
-
129
-
130
108
  // Link
131
109
 
132
110
  $link-color: map-get(theme-color(primary), color) !default;
133
111
  $link-color-hover: map-get(theme-color(primary), darker) !default;
134
112
  $link-decoration: none !default;
135
- $link-decoration-hover: none !default;
136
-
137
-
113
+ $link-decoration-hover: underline !default;
138
114
 
139
115
  // Misc
140
116
 
141
117
  $blockquote-border-color: map-get(theme-color(primary), color) !default;
142
- $blockquote-border-width: .3125rem !default;
118
+ $blockquote-border-width: 0.3125rem !default;
143
119
  $blockquote-small-color: $black-hint !default;
144
120
 
145
121
  $dt-font-weight: $font-weight-medium !default;
@@ -158,7 +134,7 @@ $list-inline-inner-spacer-x: $spacer-sm !default;
158
134
 
159
135
  $mark-bg: $material-color-yellow-500 !default;
160
136
  $mark-color: $black-primary !default;
161
- $mark-padding: .2em !default;
137
+ $mark-padding: 0.2em !default;
162
138
 
163
139
  $paragraph-margin-y: $spacer !default;
164
140
 
@@ -172,21 +148,17 @@ $thumbnail-box-shadow: $shadow-2dp !default;
172
148
 
173
149
  $webkit-tap-highlight-color: rgba(0, 0, 0, 0) !default;
174
150
 
175
-
176
-
177
151
  // Nav
178
152
 
179
153
  $nav-link-color-disabled: $black-hint !default;
180
154
  $nav-link-padding-x: 1rem !default;
181
- $nav-link-padding-y: .5rem !default;
155
+ $nav-link-padding-y: 0.5rem !default;
182
156
 
183
157
  $nav-pills-bg-hover: $black-divider !default;
184
158
  $nav-pills-border-radius: $border-radius !default;
185
159
  $nav-pills-color: $black-primary !default;
186
160
  $nav-pills-color-active: map-get(theme-color(secondary), color) !default;
187
- $nav-pills-link-opacity: .7 !default;
188
-
189
-
161
+ $nav-pills-link-opacity: 0.7 !default;
190
162
 
191
163
  // Pagination
192
164
 
@@ -195,5 +167,5 @@ $pagination-border-radius: $border-radius !default;
195
167
  $pagination-color: $black-primary !default;
196
168
  $pagination-color-disabled: $black-hint !default;
197
169
  $pagination-inner-spacer-x: 1px !default;
198
- $pagination-padding-x: .5rem !default;
199
- $pagination-padding-y: .625rem !default;
170
+ $pagination-padding-x: 0.5rem !default;
171
+ $pagination-padding-y: 0.625rem !default;
@@ -3,15 +3,15 @@
3
3
 
4
4
  // N.B. Material design only specifies specs for default button (.btn) and dense button (.btn-sm)
5
5
 
6
- $btn-bg-active: rgba(153, 153, 153, .4) !default;
7
- $btn-bg-active-inverse: rgba(204, 204, 204, .25) !default;
6
+ $btn-bg-active: rgba(153, 153, 153, 0.4) !default;
7
+ $btn-bg-active-inverse: rgba(204, 204, 204, 0.25) !default;
8
8
  $btn-bg-disabled: $black-divider !default;
9
9
  $btn-bg-disabled-inverse: $white-divider !default;
10
10
  $btn-border-radius: $border-radius !default;
11
11
  $btn-block-margin-y: $spacer-xs !default;
12
12
  $btn-color: $black-primary !default;
13
- $btn-color-disabled: rgba(0, 0, 0, .26) !default;
14
- $btn-color-disabled-inverse: rgba(255, 255, 255, .3) !default;
13
+ $btn-color-disabled: rgba(0, 0, 0, 0.26) !default;
14
+ $btn-color-disabled-inverse: rgba(255, 255, 255, 0.3) !default;
15
15
  $btn-elevation-shadow: $elevation-shadow-2dp !default;
16
16
  $btn-elevation-shadow-active: $elevation-shadow-8dp !default;
17
17
  $btn-font-weight: $font-weight-medium !default;
@@ -20,10 +20,9 @@ $btn-min-width: 5.5rem !default;
20
20
  $btn-overlay: $black-divider !default;
21
21
  $btn-overlay-inverse: $white-divider !default;
22
22
 
23
- // Size
24
- $btn-font-size: .875rem !default;
25
- $btn-font-size-lg: .9375rem !default;
26
- $btn-font-size-sm: .8125rem !default;
23
+ $btn-font-size: 0.875rem !default;
24
+ $btn-font-size-lg: 0.9375rem !default;
25
+ $btn-font-size-sm: 0.8125rem !default;
27
26
  $btn-height: 2.25rem !default;
28
27
  $btn-height-lg: 2.5rem !default;
29
28
  $btn-height-sm: 2rem !default;
@@ -34,8 +33,6 @@ $btn-padding-y: (($btn-height - $btn-font-size * $btn-line-height)
34
33
  $btn-padding-y-lg: (($btn-height-lg - $btn-font-size-lg * $btn-line-height) / 2) !default;
35
34
  $btn-padding-y-sm: (($btn-height-sm - $btn-font-size-sm * $btn-line-height) / 2) !default;
36
35
 
37
-
38
-
39
36
  // Button: floating action button
40
37
  // Based on https://material.google.com/components/buttons-floating-action-button.html#buttons-floating-action-button-floating-action-button
41
38
 
@@ -44,8 +41,6 @@ $btn-float-elevation-shadow-active: $elevation-shadow-12dp !default;
44
41
  $btn-float-size: 3.5rem !default;
45
42
  $btn-float-size-sm: 2.5rem !default;
46
43
 
47
-
48
-
49
44
  // Button: toggle buttons (Boostrap button group)
50
45
  // Based on https://material.io/guidelines/components/buttons.html#buttons-toggle-buttons
51
46
 
@@ -53,17 +48,15 @@ $btn-group-bg: $white-primary !default;
53
48
  $btn-group-divider-bg: $border-color !default;
54
49
  $btn-group-inner-spacer-x: 1px !default;
55
50
  $btn-group-inner-spacer-y: 1px !default;
56
- $btn-group-toggle-opacity: .7 !default;
57
-
58
-
51
+ $btn-group-toggle-opacity: 0.7 !default;
59
52
 
60
53
  // Card (Bootstrap card)
61
54
  // Based on https://material.google.com/components/cards.html#cards-usage
62
55
 
63
- $card-action-inner-spacer-x: .5rem !default;
64
- $card-action-inner-spacer-y: .5rem !default;
65
- $card-action-padding-x: $card-action-inner-spacer-x !default;
66
- $card-action-padding-y: $card-action-inner-spacer-y !default;
56
+ $card-action-inner-spacer-x: 0.5rem !default;
57
+ $card-action-inner-spacer-y: 0.25rem !default;
58
+ $card-action-padding-x: 0.5rem !default;
59
+ $card-action-padding-y: 0.5rem !default;
67
60
  $card-bg: $white !default;
68
61
  $card-border-radius: $border-radius !default;
69
62
  $card-border-width: $border-width !default;
@@ -78,8 +71,6 @@ $card-margin-y: $spacer-sm !default;
78
71
  $card-padding-x: 1rem !default;
79
72
  $card-padding-y: 1.5rem !default;
80
73
 
81
-
82
-
83
74
  // Chip
84
75
  // Based on https://material.google.com/components/chips.html#chips-specs
85
76
 
@@ -87,16 +78,14 @@ $chip-bg: $material-color-grey-300 !default;
87
78
  $chip-bg-active: $material-color-grey-400 !default;
88
79
  $chip-color: $black-primary !default;
89
80
  $chip-elevation-shadow-hover: $elevation-shadow-2dp !default;
90
- $chip-font-size: .875rem !default;
81
+ $chip-font-size: 0.875rem !default;
91
82
  $chip-font-weight: $font-weight-regular !default;
92
83
  $chip-height: 2rem !default;
93
84
  $chip-icon-bg: map-get(theme-color(secondary), color) !default;
94
85
  $chip-icon-font-size: 1rem !default;
95
- $chip-inner-spacer-x: .25rem !default;
86
+ $chip-inner-spacer-x: 0.25rem !default;
96
87
  $chip-line-height: 1 !default;
97
- $chip-padding-x: .75rem !default;
98
-
99
-
88
+ $chip-padding-x: 0.75rem !default;
100
89
 
101
90
  // Data table (Bootstrap table)
102
91
  // Based on https://material.google.com/components/data-tables.html#data-tables-structure
@@ -112,15 +101,21 @@ $table-elevation-shadow: $elevation-shadow-2dp !default;
112
101
  $table-line-height: $line-height-base !default;
113
102
  $table-margin-y: $spacer !default;
114
103
 
104
+ $table-dark-bg: $dark-theme-4 !default;
105
+ $table-dark-bg-accent: $dark-theme-3 !default;
106
+ $table-dark-bg-hover: $dark-theme-2 !default;
107
+ $table-dark-border-color: $dark-theme-3 !default;
108
+ $table-dark-color: $white-primary !default;
109
+
115
110
  $table-tbody-cell-height: 3rem !default;
116
111
  $table-tbody-color: $black-primary !default;
117
- $table-tbody-font-size: .8125rem !default;
112
+ $table-tbody-font-size: 0.8125rem !default;
118
113
  $table-tbody-font-weight: $font-weight-regular !default;
119
114
  $table-tbody-padding-y: (($table-tbody-cell-height - $table-tbody-font-size * $table-line-height) / 2) !default;
120
115
 
121
116
  $table-tfoot-cell-height: 3.5rem !default;
122
117
  $table-tfoot-color: $black-secondary !default;
123
- $table-tfoot-font-size: .75rem !default;
118
+ $table-tfoot-font-size: 0.75rem !default;
124
119
  $table-tfoot-font-weight: $font-weight-regular !default;
125
120
  $table-tfoot-padding-y: (($table-tfoot-cell-height - $table-tfoot-font-size * $table-line-height) / 2) !default;
126
121
 
@@ -131,67 +126,61 @@ $table-thead-font-size: $table-tfoot-font-size !default;
131
126
  $table-thead-font-weight: $font-weight-medium !default;
132
127
  $table-thead-padding-y: (($table-thead-cell-height - $table-thead-font-size * $table-line-height) / 2) !default;
133
128
 
134
- // Size
135
129
  $table-sm-cell-padding-x: 1rem !default;
136
130
  $table-sm-cell-padding-x-alt: 1rem !default;
137
-
138
131
  $table-sm-tbody-cell-height: 2.25rem !default;
139
132
  $table-sm-tbody-padding-y: (($table-sm-tbody-cell-height - $table-tbody-font-size * $table-line-height) / 2) !default;
140
-
141
133
  $table-sm-tfoot-cell-height: 2.5rem !default;
142
134
  $table-sm-tfoot-padding-y: (($table-sm-tfoot-cell-height - $table-tfoot-font-size * $table-line-height) / 2) !default;
143
-
144
135
  $table-sm-thead-cell-height: $table-sm-tfoot-cell-height !default;
145
136
  $table-sm-thead-padding-y: (($table-sm-thead-cell-height - $table-thead-font-size * $table-line-height) / 2) !default;
146
137
 
147
- // Theme
148
- $table-dark-bg: $dark-theme-4 !default;
149
- $table-dark-bg-accent: $dark-theme-3 !default;
150
- $table-dark-bg-hover: $dark-theme-2 !default;
151
- $table-dark-border-color: $dark-theme-3 !default;
152
- $table-dark-color: $white-primary !default;
153
-
154
-
155
-
156
138
  // Dialog (Bootstrap modal)
157
139
  // Based on https://material.google.com/components/dialogs.html#dialogs-specs
158
140
 
159
- $dialog-backdrop-bg: $black-hint !default;
160
- $dialog-content-bg: $white !default;
161
- $dialog-elevation-shadow: $elevation-shadow-24dp !default;
162
- $dialog-footer-btn-min-width: 4rem !default;
163
- $dialog-footer-inner-spacer-x: .5rem !default;
164
- $dialog-footer-padding-x: .5rem !default;
165
- $dialog-footer-padding-y: .5rem !default;
166
- $dialog-margin-x: $spacer-lg !default;
167
- $dialog-margin-y: $spacer-lg !default;
168
- $dialog-padding-x: 1.5rem !default;
169
- $dialog-padding-y: 1.25rem !default;
170
- $dialog-scale: .87 !default;
171
- $dialog-width: 35rem !default;
172
- $dialog-width-lg: 52.5rem !default;
173
- $dialog-width-sm: 17.5rem !default;
174
-
175
-
141
+ $dialog-backdrop-bg: $black-hint !default;
142
+ $dialog-border-radius: $border-radius !default;
143
+ $dialog-content-bg: $white !default;
144
+ $dialog-elevation-shadow: $elevation-shadow-24dp !default;
145
+ $dialog-footer-btn-min-width: 4rem !default;
146
+ $dialog-footer-btn-stacked-height: 3rem !default;
147
+ $dialog-footer-btn-stacked-padding-x: 1rem !default;
148
+ $dialog-footer-btn-stacked-padding-y: (($dialog-footer-btn-stacked-height - $btn-font-size * $btn-line-height) / 2) !default;
149
+ $dialog-footer-inner-spacer-x: 0.5rem !default;
150
+ $dialog-footer-padding-x: 0.5rem !default;
151
+ $dialog-footer-padding-y: 0.5rem !default;
152
+ $dialog-margin-x: $spacer-lg !default;
153
+ $dialog-margin-y: $spacer-lg !default;
154
+ $dialog-padding-x: 1.5rem !default;
155
+ $dialog-padding-y: 1.25rem !default;
156
+ $dialog-scale: 0.87 !default;
157
+ $dialog-width: 35rem !default;
158
+ $dialog-width-lg: 52.5rem !default;
159
+ $dialog-width-sm: 17.5rem !default;
176
160
 
177
161
  // Expansion panel (Bootstrap list group)
178
162
  // Based on https://material.google.com/components/expansion-panels.html#expansion-panels-specs
179
163
 
180
- $expansion-panel-bg: $white !default;
181
- $expansion-panel-bg-active: $material-color-grey-200 !default;
182
- $expansion-panel-border-color: $border-color !default;
183
- $expansion-panel-border-radius: $border-radius !default;
184
- $expansion-panel-border-width: $border-width !default;
185
- $expansion-panel-color: $black-primary !default;
186
- $expansion-panel-color-disabled: $black-hint !default;
187
- $expansion-panel-elevation-shadow: $elevation-shadow-1dp !default;
188
- $expansion-panel-font-size: .9375rem !default;
189
- $expansion-panel-height: 3rem !default;
190
- $expansion-panel-line-height: $line-height-base !default;
191
- $expansion-panel-padding-x: 1.5rem !default;
192
- $expansion-panel-padding-y: (($expansion-panel-height - $expansion-panel-font-size * $expansion-panel-line-height) / 2) !default;
193
-
194
-
164
+ $expansion-panel-bg: $white !default;
165
+ $expansion-panel-bg-active: $material-color-grey-200 !default;
166
+ $expansion-panel-border-color: $border-color !default;
167
+ $expansion-panel-border-radius: $border-radius !default;
168
+ $expansion-panel-border-width: $border-width !default;
169
+ $expansion-panel-color: $black-primary !default;
170
+ $expansion-panel-color-disabled: $black-hint !default;
171
+ $expansion-panel-elevation-shadow: $elevation-shadow-1dp !default;
172
+ $expansion-panel-font-size: 0.9375rem !default;
173
+ $expansion-panel-footer-btn-min-width: 4rem !default;
174
+ $expansion-panel-footer-inner-spacer-x: 0.5rem !default;
175
+ $expansion-panel-footer-inner-spacer-y: 0.25rem !default;
176
+ $expansion-panel-footer-padding-x: 0.5rem !default;
177
+ $expansion-panel-height: 3rem !default;
178
+ $expansion-panel-inner-spacer-x: 1rem !default;
179
+ $expansion-panel-inner-spacer-y: 1rem !default;
180
+ $expansion-panel-line-height: $line-height-base !default;
181
+ $expansion-panel-margin-y: $spacer !default;
182
+ $expansion-panel-padding-x: 1.5rem !default;
183
+ $expansion-panel-padding-y: (($expansion-panel-height - $expansion-panel-font-size * $expansion-panel-line-height) / 2) !default;
195
184
 
196
185
  // Menu (Bootstrap dropdown)
197
186
  // Based on https://material.google.com/components/menus.html#menus-specs
@@ -200,7 +189,8 @@ $menu-bg: $white !default;
200
189
  $menu-border-radius: $border-radius !default;
201
190
  $menu-divider-bg: $border-color !default;
202
191
  $menu-font-size: 1rem !default;
203
- $menu-font-size-cascading: .9375rem !default;
192
+ $menu-font-size-cascading: 0.9375rem !default;
193
+ $menu-font-weight: $font-weight-regular !default;
204
194
  $menu-elevation-shadow: $elevation-shadow-8dp !default;
205
195
  $menu-header-color: $black-primary !default;
206
196
  $menu-line-height: 1.5rem !default;
@@ -217,11 +207,9 @@ $menu-link-padding-y: (($menu-link-height - $menu-line-height) / 2) !d
217
207
  $menu-link-padding-y-cascading: (($menu-link-height-cascading - $menu-line-height-cascading) / 2) !default;
218
208
  $menu-min-width: 7rem !default;
219
209
  $menu-min-width-cascading: 20rem !default;
220
- $menu-padding-y: .5rem !default;
210
+ $menu-padding-y: 0.5rem !default;
221
211
  $menu-padding-y-cascading: 1rem !default;
222
212
 
223
-
224
-
225
213
  // Navigation drawer
226
214
  // Based on https://material.google.com/patterns/navigation-drawer.html#navigation-drawer-specs
227
215
 
@@ -236,24 +224,22 @@ $navdrawer-header-bg: $material-color-grey-100 !default;
236
224
  $navdrawer-header-border-color: $border-color !default;
237
225
  $navdrawer-header-border-width: $border-width !default;
238
226
  $navdrawer-inner-spacer-x: 1rem !default;
239
- $navdrawer-inner-spacer-y: .5rem !default;
227
+ $navdrawer-inner-spacer-y: 0.5rem !default;
240
228
  $navdrawer-nav-icon-color: $black-secondary !default;
241
229
  $navdrawer-nav-icon-width: 3.5rem !default;
242
230
  $navdrawer-nav-link-bg-hover: $material-color-grey-100 !default;
243
231
  $navdrawer-nav-link-color: $black-primary !default;
244
232
  $navdrawer-nav-link-color-active: map-get(theme-color(primary), color) !default;
245
233
  $navdrawer-nav-link-color-disabled: $black-hint !default;
246
- $navdrawer-nav-link-font-size: .875rem !default;
234
+ $navdrawer-nav-link-font-size: 0.875rem !default;
247
235
  $navdrawer-nav-link-font-weight: $font-weight-medium !default;
248
236
  $navdrawer-nav-link-height: 3rem !default;
249
237
  $navdrawer-subheader-color: $black-hint !default;
250
- $navdrawer-subheader-font-size: .875rem !default;
238
+ $navdrawer-subheader-font-size: 0.875rem !default;
251
239
  $navdrawer-subheader-font-weight: $font-weight-medium !default;
252
240
  $navdrawer-subheader-height: 3rem !default;
253
241
  $navdrawer-width: 17.5rem !default;
254
242
 
255
-
256
-
257
243
  // Picker
258
244
  // Based on https://material.google.com/components/pickers.html#pickers-date-pickers
259
245
 
@@ -267,31 +253,26 @@ $picker-header-bg: map-get(theme-color(primary), color) !default;
267
253
  $picker-header-padding-x: 1.5rem !default;
268
254
  $picker-header-padding-y: 1rem !default;
269
255
  $picker-holder-bg: $dialog-backdrop-bg !default;
270
- $picker-inner-spacer-x: .5rem !default;
271
- $picker-inner-spacer-y: .5rem !default;
256
+ $picker-inner-spacer-x: 0.5rem !default;
257
+ $picker-inner-spacer-y: 0.5rem !default;
272
258
  $picker-margin-x: $dialog-margin-x !default;
273
259
  $picker-margin-y: $dialog-margin-y !default;
274
260
  $picker-nav-next-icon: 'keyboard_arrow_right' !default;
275
261
  $picker-nav-prev-icon: 'keyboard_arrow_left' !default;
276
262
  $picker-weekday-color: $black-hint !default;
277
263
 
278
-
279
-
280
264
  // Progress (Bootstrap progress bar)
281
265
  // Based on https://material.google.com/components/progress-activity.html#progress-activity-types-of-indicators
282
266
 
283
267
  $progress-bar-bg: $material-color-indigo-500 !default;
284
- $progress-bar-border-radius: .25rem !default;
285
- $progress-bar-height: .25rem !default;
268
+ $progress-bar-border-radius: 0.25rem !default;
269
+ $progress-bar-height: 0.25rem !default;
286
270
  $progress-bg: $material-color-indigo-100 !default;
287
271
 
288
- // Circular
289
272
  $progress-circular-animation-duration: 5.332s !default;
290
273
  $progress-circular-bg: $material-color-indigo-500 !default;
291
274
  $progress-circular-height: 2.5rem !default;
292
- $progress-circular-spinner-width: .25rem !default;
293
-
294
-
275
+ $progress-circular-spinner-width: 0.25rem !default;
295
276
 
296
277
  // Selection control (Bootstrap custom form control)
297
278
  // Based on https://material.google.com/components/selection-controls.html
@@ -301,9 +282,9 @@ $selection-control-checkbox-icon-checked: 'check_box' !default;
301
282
  $selection-control-checkbox-icon-indeterminate: 'indeterminate_check_box' !default;
302
283
  $selection-control-color: $black-secondary !default;
303
284
  $selection-control-color-active: map-get(theme-color(secondary), color) !default;
304
- $selection-control-color-disabled: rgba(0, 0, 0, .26) !default;
285
+ $selection-control-color-disabled: rgba(0, 0, 0, 0.26) !default;
305
286
  $selection-control-indicator-size: $material-icon-size !default;
306
- $selection-control-radial-bg: $black-divider !default;
287
+ $selection-control-radial-opacity: $black-divider-opacity !default;
307
288
  $selection-control-radio-icon: 'radio_button_unchecked' !default;
308
289
  $selection-control-radio-icon-checked: 'radio_button_checked' !default;
309
290
  $selection-control-spacer-x: ($material-icon-size / 2) !default;
@@ -316,8 +297,6 @@ $selection-control-track-bg-disabled: $black-divider !default;
316
297
  $selection-control-track-height: 1rem !default;
317
298
  $selection-control-track-width: ($selection-control-indicator-size * 2) !default;
318
299
 
319
-
320
-
321
300
  // Stepper
322
301
  // Based on https://material.google.com/components/steppers.html#steppers-specs
323
302
 
@@ -327,19 +306,17 @@ $stepper-border-width: $border-width !default;
327
306
  $stepper-icon-bg: $black-hint !default;
328
307
  $stepper-icon-bg-active: map-get(theme-color(primary), color) !default;
329
308
  $stepper-icon-color: $white-primary !default;
330
- $stepper-icon-font-size: .75rem !default;
309
+ $stepper-icon-font-size: 0.75rem !default;
331
310
  $stepper-icon-font-weight: $font-weight-regular !default;
332
311
  $stepper-icon-height: $material-icon-size !default;
333
- $stepper-inner-spacer: .5rem !default;
312
+ $stepper-inner-spacer: 0.5rem !default;
334
313
  $stepper-padding-x: 1.5rem !default;
335
314
  $stepper-padding-y: 1.5rem !default;
336
315
  $stepper-text-color: $black-hint !default;
337
316
  $stepper-text-color-active: $black-primary !default;
338
- $stepper-text-font-size: .875rem !default;
317
+ $stepper-text-font-size: 0.875rem !default;
339
318
  $stepper-text-font-weight: $font-weight-regular !default;
340
319
 
341
-
342
-
343
320
  // Tab (Bootstrap tab)
344
321
  // Based on https://material.google.com/components/tabs.html#tabs-specs
345
322
 
@@ -349,24 +326,22 @@ $nav-tab-border-width: $border-width !default;
349
326
  $nav-tab-color: $black-primary !default;
350
327
  $nav-tab-color-active: map-get(theme-color(secondary), color) !default;
351
328
  $nav-tab-color-disabled: $black-hint !default;
352
- $nav-tab-font-size: .875rem !default;
329
+ $nav-tab-font-size: 0.875rem !default;
353
330
  $nav-tab-font-weight: $font-weight-medium !default;
354
331
  $nav-tab-height: 3rem !default;
355
332
  $nav-tab-indicator-bg: map-get(theme-color(secondary), color) !default;
356
- $nav-tab-indicator-height: .125rem !default;
333
+ $nav-tab-indicator-height: 0.125rem !default;
357
334
  $nav-tab-line-height: 1 !default;
358
- $nav-tab-link-opacity: .7 !default;
359
- $nav-tab-link-padding-x: .75rem !default;
335
+ $nav-tab-link-opacity: 0.7 !default;
336
+ $nav-tab-link-padding-x: 0.75rem !default;
360
337
  $nav-tab-link-padding-y: (($nav-tab-height - $nav-tab-font-size * $nav-tab-line-height) / 2) !default;
361
338
 
362
-
363
-
364
339
  // Text field (Bootstrap form control)
365
340
  // Based on https://material.io/guidelines/components/text-fields.html#text-fields-states
366
341
 
367
- $textfield-border-color: rgba(0, 0, 0, .42) !default;
342
+ $textfield-border-color: rgba(0, 0, 0, 0.42) !default;
368
343
  $textfield-border-color-focus: map-get(theme-color(primary), color) !default;
369
- $textfield-border-color-hover: rgba(0, 0, 0, .87) !default;
344
+ $textfield-border-color-hover: rgba(0, 0, 0, 0.87) !default;
370
345
  $textfield-border-width: $border-width !default;
371
346
  $textfield-border-width-focus: ($textfield-border-width * 2) !default;
372
347
  $textfield-border-width-hover: ($textfield-border-width * 2) !default;
@@ -376,19 +351,18 @@ $textfield-hint-color: $black-hint !default;
376
351
  $textfield-line-height: $line-height-base !default;
377
352
  $textfield-margin-x: $spacer !default;
378
353
 
379
- // Size
380
354
  $textfield-font-size: 1rem !default;
381
355
  $textfield-font-size-lg: 2.125rem !default;
382
- $textfield-font-size-sm: .8125rem !default;
356
+ $textfield-font-size-sm: 0.8125rem !default;
383
357
  $textfield-height: 2.25rem !default;
384
358
  $textfield-height-lg: 3.75rem !default;
385
359
  $textfield-height-sm: 2rem !default;
386
360
  $textfield-line-height: 1.5 !default;
387
361
  $textfield-line-height-lg: 1.176471 !default;
388
362
  $textfield-line-height-sm: 1.384615 !default;
389
- $textfield-margin-y: .5rem !default;
390
- $textfield-margin-y-lg: .75rem !default;
391
- $textfield-margin-y-sm: .25rem !default;
363
+ $textfield-margin-y: 0.5rem !default;
364
+ $textfield-margin-y-lg: 0.75rem !default;
365
+ $textfield-margin-y-sm: 0.25rem !default;
392
366
  $textfield-padding-x: 0 !default;
393
367
  $textfield-padding-x-lg: 0 !default;
394
368
  $textfield-padding-x-sm: 0 !default;
@@ -396,31 +370,29 @@ $textfield-padding-y: (($textfield-height - $textfield-font-size * $tex
396
370
  $textfield-padding-y-lg: (($textfield-height-lg - $textfield-font-size-lg * $textfield-line-height-lg) / 2) !default;
397
371
  $textfield-padding-y-sm: (($textfield-height-sm - $textfield-font-size-sm * $textfield-line-height-sm) / 2) !default;
398
372
 
399
-
400
-
401
373
  // Text field: box
402
374
  // Based on https://material.io/guidelines/components/text-fields.html#text-fields-text-field-boxes
403
375
 
404
- $textfield-box-border-radius: 4px !default;
405
-
406
- // Size
407
- $textfield-box-padding-x: 1rem !default;
408
- $textfield-box-padding-x-lg: 1rem !default;
409
- $textfield-box-padding-x-sm: .75rem !default;
410
- $textfield-box-padding-y: 1.125rem !default;
411
- $textfield-box-padding-y-lg: 1.125rem !default;
412
- $textfield-box-padding-y-sm: .75rem !default;
413
-
376
+ $textfield-box-bg: rgba(0, 0, 0, 0.06) !default;
377
+ $textfield-box-border-radius: 4px !default;
414
378
 
379
+ $textfield-box-height: 3.5rem !default;
380
+ $textfield-box-height-lg: 4.25rem !default;
381
+ $textfield-box-height-sm: 2.75rem !default;
382
+ $textfield-box-label-spacer-y: 0.5rem !default;
383
+ $textfield-box-padding-x: 1rem !default;
384
+ $textfield-box-padding-x-lg: 1rem !default;
385
+ $textfield-box-padding-x-sm: 0.75rem !default;
386
+ $textfield-box-padding-y: (($textfield-box-height - $textfield-font-size * $textfield-line-height) / 2) !default;
387
+ $textfield-box-padding-y-lg: (($textfield-box-height-lg - $textfield-font-size-lg * $textfield-line-height-lg) / 2) !default;
388
+ $textfield-box-padding-y-sm: (($textfield-box-height-sm - $textfield-font-size-sm * $textfield-line-height-sm) / 2) !default;
415
389
 
416
390
  // Text field: floating label
417
391
  // Based on https://material.google.com/components/text-fields.html#text-fields-labels
418
392
 
419
393
  $floating-label-color: $textfield-hint-color !default;
420
394
  $floating-label-color-focus: map-get(theme-color(primary), color) !default;
421
- $floating-label-font-size-focus: .75rem !default;
422
-
423
-
395
+ $floating-label-font-size-focus: 0.75rem !default;
424
396
 
425
397
  // Toolbar (Bootstrap navbar)
426
398
  // Based on https://material.google.com/components/toolbars.html#toolbars-usage
@@ -430,7 +402,7 @@ $toolbar-color-lighter: $black-hint !default;
430
402
  $toolbar-element-bg: $black-divider !default;
431
403
  $toolbar-element-border-radius: $border-radius !default;
432
404
  $toolbar-element-height: 2.25rem !default;
433
- $toolbar-element-opacity: .7 !default;
405
+ $toolbar-element-opacity: 0.7 !default;
434
406
  $toolbar-elevation-shadow: $elevation-shadow-4dp !default;
435
407
  $toolbar-height: 3.5rem !default;
436
408
  $toolbar-inner-spacer-x: 1rem !default;
@@ -445,35 +417,30 @@ $toolbar-padding-y: (($toolbar-height - $toolbar-element-height) / 2
445
417
  $toolbar-toggler-icon: 'menu' !default;
446
418
  $toolbar-waterfall-bg: map-get(theme-color(primary), color) !default;
447
419
 
448
- // Theme
449
420
  $toolbar-dark-color: $white-primary !default;
450
421
  $toolbar-dark-color-lighter: $white-hint !default;
451
422
  $toolbar-dark-element-bg: $white-divider !default;
452
423
 
453
-
454
-
455
424
  // Tooltip (Bootstrap tooltip)
456
425
  // Based on https://material.google.com/components/tooltips.html#tooltips-tooltips-desktop
457
426
 
458
427
  $tooltip-bg: $material-color-grey-700 !default;
459
428
  $tooltip-color: $white-primary !default;
460
- $tooltip-font-size: .875rem !default;
461
- $tooltip-font-size-desktop: .625rem !default;
429
+ $tooltip-font-size: 0.875rem !default;
430
+ $tooltip-font-size-desktop: 0.625rem !default;
462
431
  $tooltip-height: 2rem !default;
463
432
  $tooltip-height-desktop: 1.375rem !default;
464
433
  $tooltip-line-height: $line-height-base !default;
465
434
  $tooltip-margin: 1.5rem !default;
466
- $tooltip-margin-desktop: .875rem !default;
467
- $tooltip-opacity: .9 !default;
435
+ $tooltip-margin-desktop: 0.875rem !default;
436
+ $tooltip-opacity: 0.9 !default;
468
437
  $tooltip-padding-x: 1rem !default;
469
- $tooltip-padding-x-desktop: .5rem !default;
438
+ $tooltip-padding-x-desktop: 0.5rem !default;
470
439
  $tooltip-padding-y: (($tooltip-height - $tooltip-font-size * $tooltip-line-height) / 2) !default;
471
440
  $tooltip-padding-y-desktop: (($tooltip-height-desktop - $tooltip-font-size-desktop * $tooltip-line-height) / 2) !default;
472
- $tooltip-scale: .87 !default;
441
+ $tooltip-scale: 0.87 !default;
473
442
  $tooltip-zindex: $elevation-24dp !default;
474
443
 
475
-
476
-
477
444
  // Waves
478
445
 
479
446
  $waves-bg: $black-divider !default;