luda 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +5 -0
  4. data/assets/javascripts/luda-degradation.js +131 -0
  5. data/assets/javascripts/luda-degradation.js.map +1 -0
  6. data/assets/javascripts/luda-degradation.min.js +7 -0
  7. data/assets/javascripts/luda-degradation.min.js.map +1 -0
  8. data/assets/javascripts/luda-sprockets.js +11 -0
  9. data/assets/javascripts/luda.js +2024 -0
  10. data/assets/javascripts/luda.js.map +1 -0
  11. data/assets/javascripts/luda.min.js +7 -0
  12. data/assets/javascripts/luda.min.js.map +1 -0
  13. data/assets/javascripts/luda/behaviours/enter-click.js +38 -0
  14. data/assets/javascripts/luda/behaviours/focus.js +103 -0
  15. data/assets/javascripts/luda/behaviours/radio-tab.js +69 -0
  16. data/assets/javascripts/luda/behaviours/readonly.js +57 -0
  17. data/assets/javascripts/luda/behaviours/toggle.js +104 -0
  18. data/assets/javascripts/luda/collections/carousel.js +314 -0
  19. data/assets/javascripts/luda/collections/dropdown.js +269 -0
  20. data/assets/javascripts/luda/collections/form-dropdown.js +112 -0
  21. data/assets/javascripts/luda/collections/tab.js +117 -0
  22. data/assets/javascripts/luda/component.js +240 -0
  23. data/assets/javascripts/luda/constants.js +18 -0
  24. data/assets/javascripts/luda/degradation.js +125 -0
  25. data/assets/javascripts/luda/dom.js +81 -0
  26. data/assets/javascripts/luda/elements/form-file.js +104 -0
  27. data/assets/javascripts/luda/elements/form-select.js +212 -0
  28. data/assets/javascripts/luda/event.js +193 -0
  29. data/assets/javascripts/luda/index.js +20 -0
  30. data/assets/javascripts/luda/install.js +75 -0
  31. data/assets/javascripts/luda/singleton.js +77 -0
  32. data/assets/javascripts/luda/utilities.js +16 -0
  33. data/assets/stylesheets/luda/_core/_base.sass +430 -0
  34. data/assets/stylesheets/luda/_core/_functions.sass +240 -0
  35. data/assets/stylesheets/luda/_core/_variables.sass +710 -0
  36. data/assets/stylesheets/luda/_core/behaviours/_disabled.sass +12 -0
  37. data/assets/stylesheets/luda/_core/behaviours/_focus.sass +7 -0
  38. data/assets/stylesheets/luda/_core/behaviours/_readonly.sass +16 -0
  39. data/assets/stylesheets/luda/_core/behaviours/_toggle.sass +4 -0
  40. data/assets/stylesheets/luda/_core/collections/_alert.sass +24 -0
  41. data/assets/stylesheets/luda/_core/collections/_avatar.sass +117 -0
  42. data/assets/stylesheets/luda/_core/collections/_breadcrumb.sass +21 -0
  43. data/assets/stylesheets/luda/_core/collections/_button-group.sass +67 -0
  44. data/assets/stylesheets/luda/_core/collections/_button-icon.sass +46 -0
  45. data/assets/stylesheets/luda/_core/collections/_carousel.sass +132 -0
  46. data/assets/stylesheets/luda/_core/collections/_dropdown.sass +60 -0
  47. data/assets/stylesheets/luda/_core/collections/_form-button.sass +23 -0
  48. data/assets/stylesheets/luda/_core/collections/_form-dropdown.sass +21 -0
  49. data/assets/stylesheets/luda/_core/collections/_form-group.sass +48 -0
  50. data/assets/stylesheets/luda/_core/collections/_form-icon.sass +71 -0
  51. data/assets/stylesheets/luda/_core/collections/_media.sass +55 -0
  52. data/assets/stylesheets/luda/_core/collections/_modal.sass +12 -0
  53. data/assets/stylesheets/luda/_core/collections/_nav.sass +162 -0
  54. data/assets/stylesheets/luda/_core/collections/_tab.sass +18 -0
  55. data/assets/stylesheets/luda/_core/elements/_badge.sass +19 -0
  56. data/assets/stylesheets/luda/_core/elements/_baseline.sass +22 -0
  57. data/assets/stylesheets/luda/_core/elements/_button.sass +136 -0
  58. data/assets/stylesheets/luda/_core/elements/_container.sass +8 -0
  59. data/assets/stylesheets/luda/_core/elements/_grid.sass +55 -0
  60. data/assets/stylesheets/luda/_core/elements/_icon.sass +110 -0
  61. data/assets/stylesheets/luda/_core/elements/_overlay.sass +11 -0
  62. data/assets/stylesheets/luda/_core/elements/_progress.sass +31 -0
  63. data/assets/stylesheets/luda/_core/elements/_scrollbar.sass +21 -0
  64. data/assets/stylesheets/luda/_core/elements/_table.sass +102 -0
  65. data/assets/stylesheets/luda/_core/elements/_turbolinks-progress-bar.sass +5 -0
  66. data/assets/stylesheets/luda/_core/elements/form/_form-check-radio.sass +105 -0
  67. data/assets/stylesheets/luda/_core/elements/form/_form-element.sass +83 -0
  68. data/assets/stylesheets/luda/_core/elements/form/_form-helper.sass +66 -0
  69. data/assets/stylesheets/luda/_core/elements/form/_form-label.sass +20 -0
  70. data/assets/stylesheets/luda/_core/elements/form/_form-range.sass +92 -0
  71. data/assets/stylesheets/luda/_core/elements/form/_form-row.sass +214 -0
  72. data/assets/stylesheets/luda/_core/elements/typography/_code.sass +27 -0
  73. data/assets/stylesheets/luda/_core/elements/typography/_link.sass +15 -0
  74. data/assets/stylesheets/luda/_core/elements/typography/_list.sass +14 -0
  75. data/assets/stylesheets/luda/_core/elements/typography/_mark.sass +7 -0
  76. data/assets/stylesheets/luda/_core/elements/typography/_quote.sass +68 -0
  77. data/assets/stylesheets/luda/_core/elements/typography/_sub-sup.sass +16 -0
  78. data/assets/stylesheets/luda/_core/elements/typography/_typography.sass +52 -0
  79. data/assets/stylesheets/luda/_core/mixins/_browser.sass +15 -0
  80. data/assets/stylesheets/luda/_core/mixins/_button.sass +90 -0
  81. data/assets/stylesheets/luda/_core/mixins/_dropdown.sass +40 -0
  82. data/assets/stylesheets/luda/_core/mixins/_focus.sass +3 -0
  83. data/assets/stylesheets/luda/_core/mixins/_form.sass +27 -0
  84. data/assets/stylesheets/luda/_core/mixins/_install.sass +7 -0
  85. data/assets/stylesheets/luda/_core/mixins/_media-query.sass +66 -0
  86. data/assets/stylesheets/luda/_core/mixins/_overlay.sass +14 -0
  87. data/assets/stylesheets/luda/_core/mixins/_sass-lint-fix.sass +3 -0
  88. data/assets/stylesheets/luda/_core/mixins/_typography.sass +40 -0
  89. data/assets/stylesheets/luda/_core/utilities/_align.sass +19 -0
  90. data/assets/stylesheets/luda/_core/utilities/_background.sass +88 -0
  91. data/assets/stylesheets/luda/_core/utilities/_color.sass +36 -0
  92. data/assets/stylesheets/luda/_core/utilities/_display.sass +40 -0
  93. data/assets/stylesheets/luda/_core/utilities/_flex.sass +114 -0
  94. data/assets/stylesheets/luda/_core/utilities/_float.sass +21 -0
  95. data/assets/stylesheets/luda/_core/utilities/_opacity.sass +19 -0
  96. data/assets/stylesheets/luda/_core/utilities/_overflow.sass +18 -0
  97. data/assets/stylesheets/luda/_core/utilities/_position.sass +48 -0
  98. data/assets/stylesheets/luda/_core/utilities/_shape.sass +62 -0
  99. data/assets/stylesheets/luda/_core/utilities/_size.sass +67 -0
  100. data/assets/stylesheets/luda/_core/utilities/_space.sass +227 -0
  101. data/assets/stylesheets/luda/_core/utilities/_text.sass +85 -0
  102. data/assets/stylesheets/luda/_core/utilities/_visibility.sass +11 -0
  103. data/assets/stylesheets/luda/_core/utilities/_z-index.sass +19 -0
  104. data/assets/stylesheets/luda/_default.sass +51 -0
  105. data/assets/stylesheets/luda/core/_base.sass +430 -0
  106. data/assets/stylesheets/luda/core/_functions.sass +240 -0
  107. data/assets/stylesheets/luda/core/_variables.sass +710 -0
  108. data/assets/stylesheets/luda/core/behaviours/_disabled.sass +12 -0
  109. data/assets/stylesheets/luda/core/behaviours/_focus.sass +7 -0
  110. data/assets/stylesheets/luda/core/behaviours/_readonly.sass +16 -0
  111. data/assets/stylesheets/luda/core/behaviours/_toggle.sass +4 -0
  112. data/assets/stylesheets/luda/core/collections/_alert.sass +24 -0
  113. data/assets/stylesheets/luda/core/collections/_avatar.sass +117 -0
  114. data/assets/stylesheets/luda/core/collections/_breadcrumb.sass +21 -0
  115. data/assets/stylesheets/luda/core/collections/_button-group.sass +67 -0
  116. data/assets/stylesheets/luda/core/collections/_button-icon.sass +46 -0
  117. data/assets/stylesheets/luda/core/collections/_carousel.sass +132 -0
  118. data/assets/stylesheets/luda/core/collections/_dropdown.sass +60 -0
  119. data/assets/stylesheets/luda/core/collections/_form-button.sass +23 -0
  120. data/assets/stylesheets/luda/core/collections/_form-dropdown.sass +21 -0
  121. data/assets/stylesheets/luda/core/collections/_form-group.sass +48 -0
  122. data/assets/stylesheets/luda/core/collections/_form-icon.sass +71 -0
  123. data/assets/stylesheets/luda/core/collections/_media.sass +55 -0
  124. data/assets/stylesheets/luda/core/collections/_modal.sass +12 -0
  125. data/assets/stylesheets/luda/core/collections/_nav.sass +162 -0
  126. data/assets/stylesheets/luda/core/collections/_tab.sass +18 -0
  127. data/assets/stylesheets/luda/core/elements/_badge.sass +19 -0
  128. data/assets/stylesheets/luda/core/elements/_baseline.sass +22 -0
  129. data/assets/stylesheets/luda/core/elements/_button.sass +136 -0
  130. data/assets/stylesheets/luda/core/elements/_container.sass +8 -0
  131. data/assets/stylesheets/luda/core/elements/_grid.sass +55 -0
  132. data/assets/stylesheets/luda/core/elements/_icon.sass +110 -0
  133. data/assets/stylesheets/luda/core/elements/_overlay.sass +11 -0
  134. data/assets/stylesheets/luda/core/elements/_progress.sass +31 -0
  135. data/assets/stylesheets/luda/core/elements/_scrollbar.sass +21 -0
  136. data/assets/stylesheets/luda/core/elements/_table.sass +102 -0
  137. data/assets/stylesheets/luda/core/elements/_turbolinks-progress-bar.sass +5 -0
  138. data/assets/stylesheets/luda/core/elements/form/_form-check-radio.sass +105 -0
  139. data/assets/stylesheets/luda/core/elements/form/_form-element.sass +83 -0
  140. data/assets/stylesheets/luda/core/elements/form/_form-helper.sass +66 -0
  141. data/assets/stylesheets/luda/core/elements/form/_form-label.sass +20 -0
  142. data/assets/stylesheets/luda/core/elements/form/_form-range.sass +92 -0
  143. data/assets/stylesheets/luda/core/elements/form/_form-row.sass +214 -0
  144. data/assets/stylesheets/luda/core/elements/typography/_code.sass +27 -0
  145. data/assets/stylesheets/luda/core/elements/typography/_link.sass +15 -0
  146. data/assets/stylesheets/luda/core/elements/typography/_list.sass +14 -0
  147. data/assets/stylesheets/luda/core/elements/typography/_mark.sass +7 -0
  148. data/assets/stylesheets/luda/core/elements/typography/_quote.sass +68 -0
  149. data/assets/stylesheets/luda/core/elements/typography/_sub-sup.sass +16 -0
  150. data/assets/stylesheets/luda/core/elements/typography/_typography.sass +52 -0
  151. data/assets/stylesheets/luda/core/mixins/_browser.sass +15 -0
  152. data/assets/stylesheets/luda/core/mixins/_button.sass +90 -0
  153. data/assets/stylesheets/luda/core/mixins/_dropdown.sass +40 -0
  154. data/assets/stylesheets/luda/core/mixins/_focus.sass +3 -0
  155. data/assets/stylesheets/luda/core/mixins/_form.sass +27 -0
  156. data/assets/stylesheets/luda/core/mixins/_install.sass +7 -0
  157. data/assets/stylesheets/luda/core/mixins/_media-query.sass +66 -0
  158. data/assets/stylesheets/luda/core/mixins/_overlay.sass +14 -0
  159. data/assets/stylesheets/luda/core/mixins/_sass-lint-fix.sass +3 -0
  160. data/assets/stylesheets/luda/core/mixins/_typography.sass +40 -0
  161. data/assets/stylesheets/luda/core/utilities/_align.sass +19 -0
  162. data/assets/stylesheets/luda/core/utilities/_background.sass +88 -0
  163. data/assets/stylesheets/luda/core/utilities/_color.sass +36 -0
  164. data/assets/stylesheets/luda/core/utilities/_display.sass +40 -0
  165. data/assets/stylesheets/luda/core/utilities/_flex.sass +114 -0
  166. data/assets/stylesheets/luda/core/utilities/_float.sass +21 -0
  167. data/assets/stylesheets/luda/core/utilities/_opacity.sass +19 -0
  168. data/assets/stylesheets/luda/core/utilities/_overflow.sass +18 -0
  169. data/assets/stylesheets/luda/core/utilities/_position.sass +48 -0
  170. data/assets/stylesheets/luda/core/utilities/_shape.sass +62 -0
  171. data/assets/stylesheets/luda/core/utilities/_size.sass +67 -0
  172. data/assets/stylesheets/luda/core/utilities/_space.sass +227 -0
  173. data/assets/stylesheets/luda/core/utilities/_text.sass +85 -0
  174. data/assets/stylesheets/luda/core/utilities/_visibility.sass +11 -0
  175. data/assets/stylesheets/luda/core/utilities/_z-index.sass +19 -0
  176. data/assets/stylesheets/luda/default/_banner.sass +7 -0
  177. data/assets/stylesheets/luda/default/_base.sass +6 -0
  178. data/assets/stylesheets/luda/default/_functions.sass +1 -0
  179. data/assets/stylesheets/luda/default/_mixins.sass +10 -0
  180. data/assets/stylesheets/luda/default/_variables.sass +1 -0
  181. data/assets/stylesheets/luda/default/behaviours/_disabled.sass +5 -0
  182. data/assets/stylesheets/luda/default/behaviours/_focus.sass +5 -0
  183. data/assets/stylesheets/luda/default/behaviours/_readonly.sass +5 -0
  184. data/assets/stylesheets/luda/default/behaviours/_toggle.sass +5 -0
  185. data/assets/stylesheets/luda/default/collections/_alert.sass +6 -0
  186. data/assets/stylesheets/luda/default/collections/_avatar.sass +7 -0
  187. data/assets/stylesheets/luda/default/collections/_breadcrumb.sass +6 -0
  188. data/assets/stylesheets/luda/default/collections/_button-group.sass +7 -0
  189. data/assets/stylesheets/luda/default/collections/_button-icon.sass +8 -0
  190. data/assets/stylesheets/luda/default/collections/_carousel.sass +7 -0
  191. data/assets/stylesheets/luda/default/collections/_dropdown.sass +8 -0
  192. data/assets/stylesheets/luda/default/collections/_form-button.sass +9 -0
  193. data/assets/stylesheets/luda/default/collections/_form-dropdown.sass +8 -0
  194. data/assets/stylesheets/luda/default/collections/_form-group.sass +11 -0
  195. data/assets/stylesheets/luda/default/collections/_form-icon.sass +8 -0
  196. data/assets/stylesheets/luda/default/collections/_media.sass +7 -0
  197. data/assets/stylesheets/luda/default/collections/_modal.sass +7 -0
  198. data/assets/stylesheets/luda/default/collections/_nav.sass +10 -0
  199. data/assets/stylesheets/luda/default/collections/_tab.sass +9 -0
  200. data/assets/stylesheets/luda/default/elements/_badge.sass +6 -0
  201. data/assets/stylesheets/luda/default/elements/_baseline.sass +6 -0
  202. data/assets/stylesheets/luda/default/elements/_button.sass +7 -0
  203. data/assets/stylesheets/luda/default/elements/_container.sass +6 -0
  204. data/assets/stylesheets/luda/default/elements/_form.sass +13 -0
  205. data/assets/stylesheets/luda/default/elements/_grid.sass +6 -0
  206. data/assets/stylesheets/luda/default/elements/_icon.sass +6 -0
  207. data/assets/stylesheets/luda/default/elements/_overlay.sass +6 -0
  208. data/assets/stylesheets/luda/default/elements/_progress.sass +6 -0
  209. data/assets/stylesheets/luda/default/elements/_scrollbar.sass +6 -0
  210. data/assets/stylesheets/luda/default/elements/_table.sass +6 -0
  211. data/assets/stylesheets/luda/default/elements/_turbolinks-progress-bar.sass +6 -0
  212. data/assets/stylesheets/luda/default/elements/_typography.sass +12 -0
  213. data/assets/stylesheets/luda/default/elements/form/_form-check-radio.sass +5 -0
  214. data/assets/stylesheets/luda/default/elements/form/_form-element.sass +5 -0
  215. data/assets/stylesheets/luda/default/elements/form/_form-helper.sass +5 -0
  216. data/assets/stylesheets/luda/default/elements/form/_form-label.sass +5 -0
  217. data/assets/stylesheets/luda/default/elements/form/_form-range.sass +5 -0
  218. data/assets/stylesheets/luda/default/elements/form/_form-row.sass +5 -0
  219. data/assets/stylesheets/luda/default/elements/typography/_code.sass +5 -0
  220. data/assets/stylesheets/luda/default/elements/typography/_link.sass +5 -0
  221. data/assets/stylesheets/luda/default/elements/typography/_list.sass +4 -0
  222. data/assets/stylesheets/luda/default/elements/typography/_mark.sass +5 -0
  223. data/assets/stylesheets/luda/default/elements/typography/_quote.sass +5 -0
  224. data/assets/stylesheets/luda/default/elements/typography/_sub-sup.sass +5 -0
  225. data/assets/stylesheets/luda/default/elements/typography/_typography.sass +5 -0
  226. data/assets/stylesheets/luda/default/index.sass +56 -0
  227. data/assets/stylesheets/luda/default/utilities/_align.sass +5 -0
  228. data/assets/stylesheets/luda/default/utilities/_background.sass +5 -0
  229. data/assets/stylesheets/luda/default/utilities/_color.sass +5 -0
  230. data/assets/stylesheets/luda/default/utilities/_display.sass +5 -0
  231. data/assets/stylesheets/luda/default/utilities/_flex.sass +5 -0
  232. data/assets/stylesheets/luda/default/utilities/_float.sass +5 -0
  233. data/assets/stylesheets/luda/default/utilities/_opacity.sass +5 -0
  234. data/assets/stylesheets/luda/default/utilities/_overflow.sass +5 -0
  235. data/assets/stylesheets/luda/default/utilities/_position.sass +5 -0
  236. data/assets/stylesheets/luda/default/utilities/_shape.sass +5 -0
  237. data/assets/stylesheets/luda/default/utilities/_size.sass +5 -0
  238. data/assets/stylesheets/luda/default/utilities/_space.sass +5 -0
  239. data/assets/stylesheets/luda/default/utilities/_text.sass +5 -0
  240. data/assets/stylesheets/luda/default/utilities/_visibility.sass +5 -0
  241. data/assets/stylesheets/luda/default/utilities/_z-index.sass +5 -0
  242. data/lib/luda.rb +72 -0
  243. data/lib/luda/config.rb +3 -0
  244. data/lib/luda/engine.rb +11 -0
  245. data/lib/luda/version.rb +3 -0
  246. metadata +302 -0
@@ -0,0 +1,240 @@
1
+ // sass-lint:disable max-line-length
2
+ // sass-lint:disable variable-name-format
3
+ $_CONSTANTS: (scale-ratios: (minor-second: 1.067, major-second: 1.125, minor-third: 1.2, major-third: 1.25, perfect-fourth: 1.333, augmented-fourth: 1.414, perfect-fifth: 1.5, golden-ratio: 1.618), typography-stacks: (sans-serif: ("Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif), code: (SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace)), baseline-offset-ratios: (Abel: 0.15772, "Abril Fatface": 0.1165, Anton: 0.096, Arial: 0.15332, "Arial Black": 0.10449, "Arial Narrow": 0.13818, Arimo: 0.15332, Arvo: 0.14307, Avenir: 0.183, Baskerville: 0.17407, "Bebas Neue": 0.2, Bitter: 0.165, "Bree Serif": 0.102, Cabin: 0.1425, Courier: 0.171, "Courier New": 0.23389, "Courier Prime": 0.31, "Crimson Text": 0.146, Dosis: 0.105, "Droid Sans": 0.15454, "Droid Serif": 0.15454, "Fira Sans": 0.225, "Fjalla One": 0.11963, Futura: 0.1106, Geneva: 0.125, "Gill Sans": 0.161, Georgia: 0.15112, Helvetica: 0.121, "Helvetica Neue": 0.128, Hind: 0.2455, Impact: 0.10107, Inconsolata: 0.1655, "Indie Flower": 0.25879, Josefin Sans: 0.25, Lato: 0.113, "League Gothic": 0.165, "Libre Baskerville": 0.15, "Libre Franklin": 0.14, Lobster: 0.125, Lora: 0.16235, "Lucida Grande": 0.122, Merriweather: 0.14502, "Merriweather Sans": 0.14502, Montserrat: 0.1415, Muli: 0.1225, "Noto Sans": 0.11206, "Noto Serif": 0.11206, Nunito: 0.171, "Open Sans": 0.11206, "Open Sans Condensed": 0.11206, Oswald: 0.04761, Oxygen: 0.10449, Palatino: 0.231, "Playfair Display": 0.08447, Poppins: 0.205, "PT Sans": 0.188, "PT Sans Narrow": 0.188, "PT Serif": 0.129, Raleway: 0.147, Roboto: 0.1582, "Roboto Condensed": 0.1582, "Roboto Slab": 0.11157, Rosario: 0.141, "San Francisco": 0.122, "Segoe UI": 0.086, "Slabo": 0.18519, "Source Sans Pro": 0.1445, "Source Code Pro": 0.145, "Source Serif Pro": 0.15, "Space Mono": 0.121, Tahoma: 0.10303, Times: 0.175, "Times New Roman": 0.1626, "Titillium Web": 0.1275, "Trebuchet MS": 0.1416, Ubuntu: 0.1285, "Ubuntu Condensed": 0.1285, "Varela Round": 0.184, Verdana: 0.1023, "Yanone Kaffeesatz": 0.1215, Yrsa: 0.25))
4
+ // sass-lint:enable max-line-length
5
+ // sass-lint:enable variable-name-format
6
+
7
+ @function constant-get($keys...)
8
+ $value: $_CONSTANTS // sass-lint:disable-line variable-name-format
9
+ @each $key in $keys
10
+ @if $value and map-has-key($value, $key)
11
+ $value: map-get($value, $key)
12
+ @else
13
+ $value: null
14
+ @return $value
15
+
16
+ @function existing($values...)
17
+ @each $value in $values
18
+ @if $value
19
+ @return $value
20
+ @return null
21
+
22
+ @function pow($value, $pow)
23
+ $pow-value: 1
24
+ @if $pow > 0
25
+ @for $i from 1 through $pow
26
+ $pow-value: $pow-value * $value
27
+ @else if $pow < 0
28
+ @for $i from 1 through -$pow
29
+ $pow-value: $pow-value / $value
30
+ @return $pow-value
31
+
32
+ @function hsba($h-hsb, $s-hsb, $b-hsb, $a: 1)
33
+ $value: null
34
+ @if $b-hsb == 0
35
+ $value: hsla(0, 0, 0, $a)
36
+ @else
37
+ $l-hsl: $b-hsb / 2 * (2 - $s-hsb / 100)
38
+ $rotate-deg: if($l-hsl < 50, $l-hsl * 2, 200 - $l-hsl * 2)
39
+ $s-hsl: if($s-hsb == 0, 0, $b-hsb * $s-hsb / $rotate-deg)
40
+ $value: hsla($h-hsb, $s-hsl, $l-hsl, $a)
41
+ @return $value
42
+
43
+ @function _mirror-nth-two($values: null)
44
+ $right-value: if(length($values) >= 2, nth($values, 2), nth($values, 1))
45
+ @return $right-value
46
+
47
+ @function _mirror-nth-three($values: null)
48
+ $top-value: nth($values, 1)
49
+ $bottom-value: if(length($values) >= 3, nth($values, 3), $top-value)
50
+ @return $bottom-value
51
+
52
+ @function _mirror-nth-four($values: null)
53
+ $left-value: if(length($values) >= 4, nth($values, 4), null)
54
+ $left-value: if($left-value, $left-value, _mirror-nth-two($values))
55
+ @return $left-value
56
+
57
+ @function mirror-nth($values, $index)
58
+ $value: null
59
+ @if $index == 2
60
+ $value: _mirror-nth-two($values)
61
+ @else if $index == 3
62
+ $value: _mirror-nth-three($values)
63
+ @else if $index == 4
64
+ $value: _mirror-nth-four($values)
65
+ @return $value
66
+
67
+ @function _is-same-unit($values...)
68
+ $unit-cache: null
69
+ @each $value in $values
70
+ $value-unit: $value / strip-unit($value)
71
+ @if $value-unit != 0
72
+ @if not $unit-cache
73
+ $unit-cache: $value-unit
74
+ @else
75
+ @if $unit-cache != $value-unit
76
+ @return false
77
+ @return true
78
+
79
+ @function _is-rem($value)
80
+ @if $value / strip-unit($value) == 1rem
81
+ @return true
82
+ @return false
83
+
84
+ @function strip-unit($value)
85
+ @return $value / ($value * 0 + 1)
86
+
87
+ @function px-to-rem($px)
88
+ @if $px
89
+ @return $px / _baseline-height-px(1) * 1rem
90
+ @return null
91
+
92
+ @function _responsive-class-fix($breakpoint)
93
+ $first-breakpoint: nth(map-keys($breakpoint-width-pxs), 1)
94
+ $class-fix: if($breakpoint == $first-breakpoint, null, "-#{$breakpoint}")
95
+ @return $class-fix
96
+
97
+ @function _baseline-height-px($count: 1)
98
+ $baseline: $typography-main-size-px * $typography-main-line-height-ratio / 2
99
+ $baseline: if($baseline < 12px, 12px, $baseline)
100
+ @return $baseline * $count
101
+
102
+ @function _typo-size-px($level)
103
+ @if $level
104
+ $pow: $typography-main-size-level - $level
105
+ $pow-value: pow($typography-size-scale-ratio, $pow)
106
+ @return round($typography-main-size-px * $pow-value)
107
+ @else
108
+ @return null
109
+
110
+ @function _typo-line-height-px($level)
111
+ @if $level
112
+ $baseline-count: 1
113
+ $font-size: _typo-size-px($level)
114
+ @while _baseline-height-px($baseline-count) / $font-size < 1.2
115
+ $baseline-count: $baseline-count + 1
116
+ @return _baseline-height-px($baseline-count)
117
+ @else
118
+ @return null
119
+
120
+ @function _typo-padding-top-px($level, $typeface-baseline-offset)
121
+ @if $typeface-baseline-offset
122
+ $font-size: _typo-size-px($level)
123
+ $line-height: _typo-line-height-px($level)
124
+ @return ($line-height - $font-size) / 2 + $font-size * $typeface-baseline-offset
125
+ @else
126
+ @return null
127
+
128
+ @function _typo-padding-bottom-px($level, $typeface-baseline-offset)
129
+ @if $typeface-baseline-offset
130
+ $offset-top: _typo-padding-top-px($level, $typeface-baseline-offset)
131
+ $offset-bottom: 0
132
+ $baseline-count: 1
133
+ @while $offset-bottom <= 0
134
+ $offset-bottom: _baseline-height-px($baseline-count) - $offset-top
135
+ $baseline-count: $baseline-count + 1
136
+ @return $offset-bottom
137
+ @else
138
+ @return null
139
+
140
+ @function typo-size($level)
141
+ @return px-to-rem(_typo-size-px($level))
142
+
143
+ @function typo-line-height($level)
144
+ @return px-to-rem(_typo-line-height-px($level))
145
+
146
+ @function typo-padding-top($level, $typeface-baseline-offset)
147
+ @return px-to-rem(_typo-padding-top-px($level, $typeface-baseline-offset))
148
+
149
+ @function typo-padding-bottom($type, $typeface-baseline-offset)
150
+ @return px-to-rem(_typo-padding-bottom-px($type, $typeface-baseline-offset))
151
+
152
+ @function _str-replace($string, $search, $replace: "")
153
+ $index: str-index($string, $search)
154
+ $sliced: if($index, str-slice($string, 1, $index - 1), null)
155
+ $replaced-sliced: if($index, str-slice($string, $index + str-length($search)), null)
156
+ $replaced: if($index, _str-replace($replaced-sliced, $search, $replace), null)
157
+ @return if($index, $sliced + $replace + $replaced, $string)
158
+
159
+ @function svg-encode($svg)
160
+ @if not str-index($svg, xmlns)
161
+ $svg: _str-replace($svg, "<svg", '<svg xmlns="http://www.w3.org/2000/svg"')
162
+ $encoded: ""
163
+ $slice: 2000
164
+ $index: 0
165
+ $loops: ceil(str-length($svg) / $slice)
166
+ @for $i from 1 through $loops
167
+ $chunk: str-slice($svg, $index, $index + $slice - 1)
168
+ $chunk: _str-replace($chunk, '"', "'")
169
+ $chunk: _str-replace($chunk, "%", "%25")
170
+ $chunk: _str-replace($chunk, "&", "%26")
171
+ $chunk: _str-replace($chunk, "#", "%23")
172
+ $chunk: _str-replace($chunk, "{", "%7B")
173
+ $chunk: _str-replace($chunk, "}", "%7D")
174
+ $chunk: _str-replace($chunk, "<", "%3C")
175
+ $chunk: _str-replace($chunk, ">", "%3E")
176
+ // The maybe list
177
+ // Keep size and compile time down
178
+ // ... only add on documented fail
179
+ // $chunk: _str-replace($chunk, '|', '%7C')
180
+ // $chunk: _str-replace($chunk, '[', '%5B')
181
+ // $chunk: _str-replace($chunk, ']', '%5D')
182
+ // $chunk: _str-replace($chunk, '^', '%5E')
183
+ // $chunk: _str-replace($chunk, '`', '%60')
184
+ // $chunk: _str-replace($chunk, ';', '%3B')
185
+ // $chunk: _str-replace($chunk, '?', '%3F')
186
+ // $chunk: _str-replace($chunk, ':', '%3A')
187
+ // $chunk: _str-replace($chunk, '@', '%40')
188
+ // $chunk: _str-replace($chunk, '=', '%3D')
189
+ $encoded: #{$encoded}#{$chunk}
190
+ $index: $index + $slice
191
+ @return unquote('"data:image/svg+xml,#{$encoded}"')
192
+
193
+ @function svg-icon($icon: null, $fill: null, $stroke: null)
194
+ $icon: if($fill, _str-replace($icon, "#fill", "#{$fill}"), $icon)
195
+ $icon: if($stroke, _str-replace($icon, "#stroke", "#{$stroke}"), $icon)
196
+ @return svg-encode($icon)
197
+
198
+ @function _form-icon-margin-top($form-element-textfield-height-rem, $form-element-typography-size-level)
199
+ $border-bottom-width: mirror-nth($form-element-border-width, 3)
200
+ $border-top-width: nth($form-element-border-width, 1)
201
+ $border-bottom-unit-is-rem: _is-rem($border-bottom-width)
202
+ $border-top-unit-is-rem: _is-rem($border-top-width)
203
+ $font-size: typo-size($form-element-typography-size-level)
204
+ $icon-size: $font-size * strip-unit($form-element-icon-size-em)
205
+ $total-height: ($form-element-textfield-height-rem + $icon-size) / 2
206
+ $border-unit-is-rem: $border-bottom-unit-is-rem and $border-top-unit-is-rem
207
+ $border-unit-is-the-same: _is-same-unit($border-bottom-width, $border-top-width)
208
+ $border-vertical-diff: if($border-unit-is-the-same, ($border-top-width - $border-bottom-width) / 2, null)
209
+ @if $border-unit-is-rem
210
+ @return $border-vertical-diff - $total-height
211
+ @else if $border-unit-is-the-same
212
+ @if strip-unit($border-vertical-diff) == 0
213
+ @return - $total-height
214
+ @return calc(#{$border-vertical-diff} - #{$total-height})
215
+ @else
216
+ @return calc(#{$border-top-width / 2} - #{$border-bottom-width / 2} - #{$total-height})
217
+
218
+ @function form-focus-icon-color()
219
+ $icon-color: if($form-element-focus-icon-color, $form-element-focus-icon-color, $form-element-icon-color)
220
+ @return $icon-color
221
+
222
+ @function form-error-icon-color()
223
+ $icon-color: if($form-element-error-icon-color, $form-element-error-icon-color, $form-element-icon-color)
224
+ @return $icon-color
225
+
226
+ @function form-error-focus-icon-color()
227
+ $icon-color: if($form-element-focus-icon-color, $form-element-focus-icon-color, $form-element-error-icon-color)
228
+ @return $icon-color
229
+
230
+ @function form-focus-background()
231
+ $background: if($form-element-focus-background, $form-element-focus-background, $form-element-background)
232
+ @return $background
233
+
234
+ @function form-error-background()
235
+ $background: if($form-element-error-background, $form-element-error-background, $form-element-background)
236
+ @return $background
237
+
238
+ @function form-error-focus-background()
239
+ $background: if($form-element-focus-background, $form-element-focus-background, $form-element-error-background)
240
+ @return $background
@@ -0,0 +1,710 @@
1
+ // sass-lint:disable max-file-line-count
2
+ // sass-lint:disable max-line-length
3
+ // sass-lint:disable space-after-comma
4
+
5
+
6
+
7
+ // global variables
8
+ $breakpoint-width-pxs: (s: 0, m: 768px, l: 1200px) !default
9
+ $breakpoint-aspect-ratios: (p: 0, l: 1.0001) !default
10
+ $breakpoint-resolutions: (l: 0, h: 105.6dpi, xh: 201.6dpi) !default
11
+
12
+
13
+ $space-base-rem: 1rem !default
14
+ $space-tiny-rem: $space-base-rem / 2 !default
15
+ $space-small-rem: $space-base-rem !default
16
+ $space-medium-rem: $space-base-rem * 2 !default
17
+ $space-large-rem: $space-base-rem * 4 !default
18
+
19
+
20
+
21
+ $z-index-low: -1 !default
22
+ $z-index-normal: 0 !default
23
+ $z-index-high: 1 !default
24
+ $z-index-higher: 2 !default
25
+ $z-index-much-higher: 3 !default
26
+ $z-index-highest: 4 !default
27
+
28
+
29
+
30
+ $opacity-emphasis: 1 !default
31
+ $opacity-main: 0.9 !default
32
+ $opacity-muted: 0.618 !default
33
+ $opacity-more-muted: 0.382 !default
34
+ $opacity-most-muted: 0.1 !default
35
+ $opacity-disabled: $opacity-muted
36
+
37
+
38
+
39
+ $color-primary: hsba(340, 54, 98) !default
40
+ $color-secondary: hsba(0, 0, 56) !default
41
+ $color-danger: hsba(0, 82, 82) !default
42
+ $color-dark: hsba(0, 0, 32) !default
43
+ $color-light: hsba(0, 0, 100) !default
44
+ $color-emphasis: $color-dark !default
45
+ $color-main: lighten($color-dark, 10%) !default
46
+ $color-muted: lighten($color-dark, 50%) !default
47
+ $color-inverse-emphasis: $color-light !default
48
+ $color-inverse-main: rgba($color-light, $opacity-main) !default
49
+ $color-inverse-muted: rgba($color-light, $opacity-muted) !default
50
+
51
+
52
+
53
+ $background-color-primary: $color-primary !default
54
+ $background-color-secondary: lighten($color-secondary, 30%) !default
55
+ $background-color-danger: $color-danger !default
56
+ $background-color-dark: $color-dark !default
57
+ $background-color-light: $color-light !default
58
+ $background-emphasis: lighten($background-color-primary, 22%) !default
59
+ $background-main: $background-color-light !default
60
+ $background-muted: darken($background-color-light, 3%) !default
61
+ $background-inverse-emphasis: lighten($background-color-primary, 22%) !default
62
+ $background-inverse-main: $background-color-dark !default
63
+ $background-inverse-muted: lighten($background-color-dark, 3%) !default
64
+
65
+
66
+
67
+ $line-color-primary: $color-primary !default
68
+ $line-color-secondary: lighten($color-secondary, 30%) !default
69
+ $line-color-danger: $color-danger !default
70
+ $line-color-dark: $color-dark !default
71
+ $line-color-light: $color-light !default
72
+ $line-color-emphasis: $line-color-primary !default
73
+ $line-color-main: lighten($line-color-dark, 60%) !default
74
+ $line-color-muted: lighten($line-color-dark, 40%) !default
75
+ $line-color-inverse-emphasis: $line-color-primary !default
76
+ $line-color-inverse-main: rgba($line-color-light, $opacity-main) !default
77
+ $line-color-inverse-muted: rgba($line-color-light, $opacity-muted) !default
78
+
79
+
80
+
81
+ $border-radius-sharp: 0 !default
82
+ $border-radius-rounded: 2px !default
83
+ $border-radius-circle: 9999px !default
84
+ $border-radius-main: $border-radius-sharp !default
85
+
86
+
87
+
88
+ // variables for base
89
+ $base-cursor: default !default
90
+ $base-word-break: break-word !default
91
+ $base-text-underline-position: under !default
92
+ $base-text-rendering: optimizeLegibility !default
93
+ $base-webkit-font-smoothing: antialiased !default
94
+ $base-moz-font-smoothing: grayscale !default
95
+ // for windows phone add <meta name="msapplication-tap-highlight" content="no"> in head
96
+ $base-tap-highlight-color: transparent !default
97
+ $base-webkit-touch-callout: none !default
98
+
99
+
100
+
101
+ $base-html-background: $background-inverse-muted !default
102
+
103
+
104
+
105
+ $base-body-min-height: 100vh !default
106
+ $base-body-background: $background-main !default
107
+
108
+
109
+
110
+ $base-selection-color: $color-inverse-main !default
111
+ $base-selection-background-color: $background-color-dark !default
112
+
113
+
114
+
115
+ // variables for behaviours
116
+ $focus-outline-style: dashed !default
117
+ $focus-outline-width-px: 2px !default
118
+ $focus-outline-color: $line-color-muted !default
119
+ $focus-outline-offset-px: - $focus-outline-width-px !default
120
+
121
+
122
+
123
+ // variables for elements
124
+ $badge-offset-top-em: -0.4em !default
125
+ $badge-offset-left-em: 0.4em !default
126
+ $badge-height-em: 1.2em !default
127
+ $badge-padding-em: 0.4em !default
128
+ $badge-background: $background-color-primary !default
129
+ $badge-color: $color-inverse-emphasis !default
130
+
131
+
132
+
133
+ $button-height-rem: 3rem !default
134
+ $button-small-height-rem: 2rem !default
135
+ $button-large-height-rem: 4rem !default
136
+ $button-helvertical-padding-em: strip-unit($space-small-rem) * 1em !default
137
+ $button-typography-size-level: 5 !default
138
+ $button-small-typography-size-level: 6 !default
139
+ $button-large-typography-size-level: 4 !default
140
+ $button-border-width: 1px !default
141
+ $button-border-style: solid !default
142
+ $button-border-radius: $border-radius-main !default
143
+
144
+
145
+
146
+ $button-primary-color: $color-inverse-main !default
147
+ $button-primary-hover-color: null !default
148
+ $button-primary-active-color: null !default
149
+ $button-primary-background: $background-color-primary !default
150
+ $button-primary-hover-background: darken($background-color-primary, 2%) !default
151
+ $button-primary-active-background: darken($background-color-primary, 4%) !default
152
+ $button-primary-border-color: null !default
153
+ $button-primary-hover-border-color: null !default
154
+ $button-primary-active-border-color: null !default
155
+ $button-primary-box-shadow: null !default
156
+ $button-primary-hover-box-shadow: null !default
157
+ $button-primary-active-box-shadow: null !default
158
+
159
+
160
+
161
+ $button-secondary-color: $color-main !default
162
+ $button-secondary-hover-color: null !default
163
+ $button-secondary-active-color: null !default
164
+ $button-secondary-background: $background-color-secondary !default
165
+ $button-secondary-hover-background: darken($background-color-secondary, 2%) !default
166
+ $button-secondary-active-background: darken($background-color-secondary, 4%) !default
167
+ $button-secondary-border-color: null !default
168
+ $button-secondary-hover-border-color: null !default
169
+ $button-secondary-active-border-color: null !default
170
+ $button-secondary-box-shadow: null !default
171
+ $button-secondary-hover-box-shadow: null !default
172
+ $button-secondary-active-box-shadow: null !default
173
+
174
+
175
+
176
+ $button-danger-color: $color-inverse-main !default
177
+ $button-danger-hover-color: null !default
178
+ $button-danger-active-color: null !default
179
+ $button-danger-background: $background-color-danger !default
180
+ $button-danger-hover-background: darken($background-color-danger, 2%) !default
181
+ $button-danger-active-background: darken($background-color-danger, 4%) !default
182
+ $button-danger-border-color: null !default
183
+ $button-danger-hover-border-color: null !default
184
+ $button-danger-active-border-color: null !default
185
+ $button-danger-box-shadow: null !default
186
+ $button-danger-hover-box-shadow: null !default
187
+ $button-danger-active-box-shadow: null !default
188
+
189
+
190
+
191
+ $button-dark-color: $color-inverse-main !default
192
+ $button-dark-hover-color: null !default
193
+ $button-dark-active-color: null !default
194
+ $button-dark-background: $background-color-dark !default
195
+ $button-dark-hover-background: darken($background-color-dark, 2%) !default
196
+ $button-dark-active-background: darken($background-color-dark, 4%) !default
197
+ $button-dark-border-color: null !default
198
+ $button-dark-hover-border-color: null !default
199
+ $button-dark-active-border-color: null !default
200
+ $button-dark-box-shadow: null !default
201
+ $button-dark-hover-box-shadow: null !default
202
+ $button-dark-active-box-shadow: null !default
203
+
204
+
205
+
206
+ $button-light-color: $color-main !default
207
+ $button-light-hover-color: null !default
208
+ $button-light-active-color: null !default
209
+ $button-light-background: $background-color-light !default
210
+ $button-light-hover-background: darken($background-color-light, 2%) !default
211
+ $button-light-active-background: darken($background-color-light, 4%) !default
212
+ $button-light-border-color: null !default
213
+ $button-light-hover-border-color: null !default
214
+ $button-light-active-border-color: null !default
215
+ $button-light-box-shadow: null !default
216
+ $button-light-hover-box-shadow: null !default
217
+ $button-light-active-box-shadow: null !default
218
+
219
+
220
+
221
+ $button-hollow-primary-color: $color-primary !default
222
+ $button-hollow-primary-hover-color: existing($button-primary-hover-color, $button-primary-color) !default
223
+ $button-hollow-primary-active-color: existing($button-primary-active-color, $button-hollow-primary-hover-color) !default
224
+ $button-hollow-primary-hover-background: existing($button-primary-hover-background, $button-primary-background) !default
225
+ $button-hollow-primary-active-background: existing($button-primary-active-background, $button-hollow-primary-hover-background) !default
226
+ $button-hollow-primary-border-color: null !default
227
+ $button-hollow-primary-hover-border-color: existing($button-primary-hover-border-color, $button-primary-border-color, transparent) !default
228
+ $button-hollow-primary-active-border-color: existing($button-primary-active-border-color, $button-hollow-primary-hover-border-color) !default
229
+ $button-hollow-primary-box-shadow: $button-primary-box-shadow !default
230
+ $button-hollow-primary-hover-box-shadow: $button-primary-hover-box-shadow !default
231
+ $button-hollow-primary-active-box-shadow: $button-primary-active-box-shadow !default
232
+
233
+
234
+
235
+ $button-hollow-secondary-color: $color-main !default
236
+ $button-hollow-secondary-hover-color: existing($button-secondary-hover-color, $button-secondary-color) !default
237
+ $button-hollow-secondary-active-color: existing($button-secondary-active-color, $button-hollow-secondary-hover-color) !default
238
+ $button-hollow-secondary-hover-background: existing($button-secondary-hover-background, $button-secondary-background) !default
239
+ $button-hollow-secondary-active-background: existing($button-secondary-active-background, $button-hollow-secondary-hover-background) !default
240
+ $button-hollow-secondary-border-color: $line-color-secondary !default
241
+ $button-hollow-secondary-hover-border-color: existing($button-secondary-hover-border-color, $button-secondary-border-color, transparent) !default
242
+ $button-hollow-secondary-active-border-color: existing($button-secondary-active-border-color, $button-hollow-secondary-hover-border-color) !default
243
+ $button-hollow-secondary-box-shadow: $button-secondary-box-shadow !default
244
+ $button-hollow-secondary-hover-box-shadow: $button-secondary-hover-box-shadow !default
245
+ $button-hollow-secondary-active-box-shadow: $button-secondary-active-box-shadow !default
246
+
247
+
248
+
249
+ $button-hollow-danger-color: $color-danger !default
250
+ $button-hollow-danger-hover-color: existing($button-danger-hover-color, $button-danger-color) !default
251
+ $button-hollow-danger-active-color: existing($button-danger-active-color, $button-hollow-danger-hover-color) !default
252
+ $button-hollow-danger-hover-background: existing($button-danger-hover-background, $button-danger-background) !default
253
+ $button-hollow-danger-active-background: existing($button-danger-active-background, $button-hollow-danger-hover-background) !default
254
+ $button-hollow-danger-border-color: null !default
255
+ $button-hollow-danger-hover-border-color: existing($button-danger-hover-border-color, $button-danger-border-color, transparent) !default
256
+ $button-hollow-danger-active-border-color: existing($button-danger-active-border-color, $button-hollow-danger-hover-border-color) !default
257
+ $button-hollow-danger-box-shadow: $button-danger-box-shadow !default
258
+ $button-hollow-danger-hover-box-shadow: $button-danger-hover-box-shadow !default
259
+ $button-hollow-danger-active-box-shadow: $button-danger-active-box-shadow !default
260
+
261
+
262
+
263
+ $button-hollow-dark-color: $color-dark !default
264
+ $button-hollow-dark-hover-color: existing($button-dark-hover-color, $button-dark-color) !default
265
+ $button-hollow-dark-active-color: existing($button-dark-active-color, $button-hollow-dark-hover-color) !default
266
+ $button-hollow-dark-hover-background: existing($button-dark-hover-background, $button-dark-background) !default
267
+ $button-hollow-dark-active-background: existing($button-dark-active-background, $button-hollow-dark-hover-background) !default
268
+ $button-hollow-dark-border-color: null !default
269
+ $button-hollow-dark-hover-border-color: existing($button-dark-hover-border-color, $button-dark-border-color, transparent) !default
270
+ $button-hollow-dark-active-border-color: existing($button-dark-active-border-color, $button-hollow-dark-hover-border-color) !default
271
+ $button-hollow-dark-box-shadow: $button-dark-box-shadow !default
272
+ $button-hollow-dark-hover-box-shadow: $button-dark-hover-box-shadow !default
273
+ $button-hollow-dark-active-box-shadow: $button-dark-active-box-shadow !default
274
+
275
+
276
+
277
+ $button-hollow-light-color: $color-light !default
278
+ $button-hollow-light-hover-color: existing($button-light-hover-color, $button-light-color) !default
279
+ $button-hollow-light-active-color: existing($button-light-active-color, $button-hollow-light-hover-color) !default
280
+ $button-hollow-light-hover-background: existing($button-light-hover-background, $button-light-background) !default
281
+ $button-hollow-light-active-background: existing($button-light-active-background, $button-hollow-light-hover-background) !default
282
+ $button-hollow-light-border-color: null !default
283
+ $button-hollow-light-hover-border-color: existing($button-light-hover-border-color, $button-light-border-color, transparent) !default
284
+ $button-hollow-light-active-border-color: existing($button-light-active-border-color, $button-hollow-light-hover-border-color) !default
285
+ $button-hollow-light-box-shadow: $button-light-box-shadow !default
286
+ $button-hollow-light-hover-box-shadow: $button-light-hover-box-shadow !default
287
+ $button-hollow-light-active-box-shadow: $button-light-active-box-shadow !default
288
+
289
+
290
+
291
+ $button-text-primary-color: $color-primary !default
292
+ $button-text-primary-hover-color: darken($color-primary, 10%) !default
293
+ $button-text-primary-active-color: $button-text-primary-hover-color !default
294
+ $button-text-primary-text-shadow: null !default
295
+ $button-text-primary-hover-text-shadow: null !default
296
+ $button-text-primary-active-text-shadow: null !default
297
+
298
+
299
+
300
+ $button-text-secondary-color: $color-secondary !default
301
+ $button-text-secondary-hover-color: darken($color-secondary, 10%) !default
302
+ $button-text-secondary-active-color: $button-text-secondary-hover-color !default
303
+ $button-text-secondary-text-shadow: null !default
304
+ $button-text-secondary-hover-text-shadow: null !default
305
+ $button-text-secondary-active-text-shadow: null !default
306
+
307
+
308
+
309
+ $button-text-danger-color: $color-danger !default
310
+ $button-text-danger-hover-color: darken($color-danger, 5%) !default
311
+ $button-text-danger-active-color: $button-text-danger-hover-color !default
312
+ $button-text-danger-text-shadow: null !default
313
+ $button-text-danger-hover-text-shadow: null !default
314
+ $button-text-danger-active-text-shadow: null !default
315
+
316
+
317
+
318
+ $button-text-dark-color: lighten($color-dark, 10%) !default
319
+ $button-text-dark-hover-color: $color-dark !default
320
+ $button-text-dark-active-color: $button-text-dark-hover-color !default
321
+ $button-text-dark-text-shadow: null !default
322
+ $button-text-dark-hover-text-shadow: null !default
323
+ $button-text-dark-active-text-shadow: null !default
324
+
325
+
326
+
327
+ $button-text-light-color: rgba($color-light, $opacity-muted) !default
328
+ $button-text-light-hover-color: $color-light !default
329
+ $button-text-light-active-color: $button-text-light-hover-color !default
330
+ $button-text-light-text-shadow: null !default
331
+ $button-text-light-hover-text-shadow: null !default
332
+ $button-text-light-active-text-shadow: null !default
333
+
334
+
335
+
336
+ $container-max-width-px: 1366px !default
337
+ $container-padding-rem: $space-medium-rem $space-small-rem !default
338
+
339
+
340
+
341
+ $form-label-typography-size-level: 5 !default
342
+ $form-label-small-typography-size-level: 6 !default
343
+ $form-label-large-typography-size-level: 4 !default
344
+ $form-label-color: $color-emphasis !default
345
+ $form-label-required-content: " | Required" !default
346
+ $form-label-required-color: $color-danger !default
347
+
348
+
349
+
350
+ $form-element-inline-width-rem: 18rem !default
351
+ $form-element-small-inline-width-rem: 14rem !default
352
+ $form-element-large-inline-width-rem: 22rem !default
353
+ $form-element-typography-size-level: 5 !default
354
+ $form-element-small-typography-size-level: 6 !default
355
+ $form-element-large-typography-size-level: 4 !default
356
+ $form-element-color: $color-main !default
357
+ $form-element-error-color: null !default
358
+ $form-element-focus-color: null !default
359
+ $form-element-background: $background-main !default
360
+ $form-element-focus-background: null !default
361
+ $form-element-error-background: null !default
362
+ $form-element-border-width: 1px !default
363
+ $form-element-border-style: solid !default
364
+ $form-element-border-radius: $border-radius-main !default
365
+ $form-element-border-color: $line-color-main !default
366
+ $form-element-error-border-color: $line-color-danger !default
367
+ $form-element-focus-border-color: $line-color-primary !default
368
+ $form-element-box-shadow: null !default
369
+ $form-element-focus-box-shadow: null !default
370
+ $form-element-error-box-shadow: null !default
371
+ $form-element-icon-size-em: 1.286em !default
372
+ $form-element-icon-color: $form-element-border-color !default
373
+ $form-element-error-icon-color: $form-element-error-border-color !default
374
+ $form-element-focus-icon-color: $form-element-focus-border-color !default
375
+
376
+
377
+
378
+ $form-element-text-helvertical-padding-em: strip-unit($space-small-rem) * 1em !default
379
+ $form-element-textfield-height-rem: 3rem !default
380
+ $form-element-small-textfield-height-rem: 2rem !default
381
+ $form-element-large-textfield-height-rem: 4rem !default
382
+ $form-element-textarea-height-rem: 9rem !default
383
+ $form-element-small-textarea-height-rem: 6rem !default
384
+ $form-element-large-textarea-height-rem: 12rem !default
385
+
386
+
387
+
388
+ $form-element-checkfield-height-em: 1.4em !default
389
+ $form-element-checked-icon-color: $form-element-color !default
390
+ $form-element-error-checked-icon-color: null !default
391
+ $form-element-focus-checked-icon-color: null !default
392
+
393
+
394
+
395
+ $form-element-track-height-em: 0.4em !default
396
+ $form-element-track-background: darken($background-muted, 4%) !default !default
397
+ $form-element-focus-track-background: null !default
398
+ $form-element-error-track-background: null !default
399
+ $form-element-track-border-radius: $border-radius-main !default
400
+ $form-element-thumb-height-em: 1.4em !default
401
+ $form-element-thumb-width-em: 1.4em !default
402
+ $form-element-thumb-background: $form-element-track-background !default
403
+ $form-element-error-thumb-background: null !default
404
+ $form-element-focus-thumb-background: $background-color-primary !default
405
+ $form-element-thumb-border-radius: 100% !default
406
+ $form-element-thumb-border-color: transparent !default
407
+ $form-element-error-thumb-border-color: $form-element-error-border-color !default
408
+ $form-element-focus-thumb-border-color: null !default
409
+
410
+
411
+
412
+ $form-element-helper-typography-size-level: 6 !default
413
+ $form-element-small-helper-typography-size-level: null !default
414
+ $form-element-large-helper-typography-size-level: 5 !default
415
+ $form-element-hint-message-color: $color-muted !default
416
+ $form-element-error-message-color: $color-danger !default
417
+ $form-element-placeholder-color: $color-muted !default
418
+ $form-element-error-placeholder-color: null !default
419
+ $form-element-focus-placeholder-color: null !default
420
+
421
+
422
+
423
+ $form-element-search-icon: '<svg viewBox="0 0 1000 1000"><path fill="#fill" d="M983.1,908.7L702.1,625.9c114.2-150.9,102.6-366.6-35-504.2c-150.3-150.3-394.1-150.3-544.4,0c-150.3,150.3-150.3,394,0,544.4c137.5,137.5,353.1,149.2,504,35.2l281,282.8c9.2,9.2,24.2,9.2,33.5,0l41.9-41.9C992.3,932.9,992.3,917.9,983.1,908.7L983.1,908.7z M194.1,596.9c-110.4-110.4-110.4-289.4,0-399.7c110.4-110.4,289.4-110.4,399.8,0c110.4,110.4,110.4,289.3,0,399.7C483.4,707.3,304.5,707.3,194.1,596.9L194.1,596.9z"/></svg>' !default
424
+ $form-element-select-icon: '<svg viewBox="0 0 18 18"><path fill="#fill" d="M2.16,6.246 C2.385,6.246 2.61,6.308 2.81,6.442 L9.039,10.598 L15.076,6.401 C15.617,6.042 16.346,6.188 16.705,6.729 C17.065,7.268 16.92,8 16.38,8.359 L9.692,12.989 C9.298,13.253 8.784,13.254 8.388,12.991 L1.508,8.402 C0.966,8.042 0.82,7.31 1.179,6.77 C1.407,6.429 1.78,6.246 2.16,6.246 L2.16,6.246 Z"></path></svg>' !default
425
+ $form-element-add-icon: '<svg viewBox="-100 0 600 500"><path fill="#fill" d="M465.064,207.566l0.028,0H284.436V27.25c0-14.84-12.016-27.248-26.856-27.248h-23.116c-14.836,0-26.904,12.408-26.904,27.248v180.316H26.908c-14.832,0-26.908,12-26.908,26.844v23.248c0,14.832,12.072,26.78,26.908,26.78h180.656v180.968c0,14.832,12.064,26.592,26.904,26.592h23.116c14.84,0,26.856-11.764,26.856-26.592V284.438h180.624c14.84,0,26.936-11.952,26.936-26.78V234.41C492,219.566,479.904,207.566,465.064,207.566z"/></svg>' !default
426
+ $form-element-checked-icon: '<svg viewBox="-150 -150 800 800"><path fill="#fill" d="M487.75,78.125c-13-13-33-13-46,0l-272,272l-114-113c-13-13-33-13-46,0s-13,33,0,46l137,136c6,6,15,10,23,10s17-4,23-10l295-294C500.75,112.125,500.75,91.125,487.75,78.125z"/></svg>' !default
427
+
428
+
429
+
430
+ $grid-columns: 12 !default
431
+ $grid-gutter-width-rem: $space-medium-rem !default
432
+
433
+
434
+
435
+ $icon-size-em: 1.15em !default
436
+ $icon-stroke-width: 2px !default
437
+ $icon-firefox-line-height: 1.11 !default
438
+
439
+
440
+
441
+ $overlay-background: rgba($background-color-dark, $opacity-main) !default
442
+
443
+
444
+
445
+ $progress-height-rem: 2rem !default
446
+ $progress-border-radius: $border-radius-main !default
447
+ $progress-background: $background-muted !default
448
+ $progress-bar-typography-size-level: 6 !default
449
+ $progress-bar-min-width-em: 3em !default
450
+ $progress-bar-padding: 0 $space-tiny-rem !default
451
+ $progress-bar-background: $background-color-primary !default
452
+ $progress-bar-color: $color-inverse-main !default
453
+
454
+
455
+
456
+ $scrollbar-width-breakpoint: m !default
457
+ $scrollbar-breakpoint-vertical-width-rem: 0.5rem !default
458
+ $scrollbar-breakpoint-horizontal-height-rem: 0.5rem !default
459
+ $scrollbar-thumb-background: rgba($color-muted, $opacity-more-muted) !default
460
+ $scrollbar-thumb-border-radius: 0.5rem !default
461
+ $scrollbar-ie-edge-overflow-style: -ms-autohiding-scrollbar !default
462
+
463
+
464
+
465
+ $table-cell-padding-rem: $space-small-rem !default
466
+ $table-border-style: solid !default
467
+ $table-border-width: 1px !default
468
+ $table-border-color: $line-color-main !default
469
+ $table-border-radius: null !default
470
+ $table-head-background: $background-muted !default
471
+ $table-head-color: $color-emphasis !default
472
+ $table-body-color: $color-main !default
473
+ $table-row-even-background: $background-muted !default
474
+ $table-row-odd-background: $background-main !default
475
+ $table-row-hover-background: $background-emphasis !default
476
+ $table-row-hover-color: null !default
477
+
478
+
479
+
480
+ $typography-size-scale-ratio: constant-get(scale-ratios, minor-third) !default
481
+
482
+
483
+
484
+ $typography-main-size-px: 14px !default
485
+ $typography-main-size-level: 5 !default
486
+ $typography-main-line-height-ratio: 26 / 14 !default
487
+ $typography-main: constant-get(typography-stacks, sans-serif) !default
488
+ $typography-main-baseline-offset-ratio: constant-get(baseline-offset-ratios, "Helvetica Neue") !default
489
+ $typography-main-color: $color-main !default
490
+
491
+
492
+
493
+ $typography-lead: null !default
494
+ $typography-lead-baseline-offset-ratio: $typography-main-baseline-offset-ratio !default
495
+ $typography-lead-color: $color-emphasis !default
496
+ $typography-lead-font-weight: 700 !default
497
+
498
+
499
+
500
+ $typography-code: constant-get(typography-stacks, code) !default
501
+ $typography-code-baseline-offset-ratio: constant-get(baseline-offset-ratios, "Courier New") !default
502
+ $typography-block-code-size-level: 6 !default
503
+
504
+
505
+
506
+ $typography-quote: null !default
507
+ $typography-quote-baseline-offset-ratio: $typography-main-baseline-offset-ratio !default
508
+ $typography-block-quote-size-level: 4 !default
509
+
510
+
511
+
512
+ $typography-mark-padding-em: 0.2em 0.4em !default
513
+ $typography-mark-background: $background-emphasis !default
514
+ $typography-mark-color: $color-primary !default
515
+ $typography-mark-border-radius: $border-radius-main !default
516
+
517
+
518
+
519
+ $typography-link-text-decoration: underline !default
520
+ $typography-link-hover-text-decoration: null !default
521
+ $typography-link-active-text-decoration: null !default
522
+ $typography-link-color: $color-main !default
523
+ $typography-link-hover-color: $color-emphasis !default
524
+ $typography-link-active-color: null !default
525
+ $typography-link-light-color: $color-inverse-main !default
526
+ $typography-link-light-hover-color: $color-inverse-emphasis !default
527
+ $typography-link-light-active-color: null !default
528
+
529
+
530
+
531
+ $typography-code-block-padding-rem: 0 $space-medium-rem !default
532
+ $typography-code-padding-em: 0.2em 0.4em !default
533
+ $typography-code-background: $background-muted !default
534
+ $typography-code-color: $color-main !default
535
+ $typography-code-border-radius: null !default
536
+
537
+
538
+
539
+ $typography-cite-color: $color-muted !default
540
+ $typography-quote-block-padding-rem: 3 * $space-small-rem $space-large-rem $space-medium-rem !default
541
+ $typography-quote-block-p-margin-rem: 0 auto $space-small-rem !default
542
+ $typography-quote-block-cite-lead-height: 1px !default
543
+
544
+
545
+
546
+ $typography-sub-sup-size: 100% / $typography-size-scale-ratio !default
547
+ $typography-sub-bottom-offset-em: -0.25em !default
548
+ $typography-sup-top-offset-em: -0.5em !default
549
+
550
+
551
+
552
+ $typography-list-nested-padding-em: 0 0 0 strip-unit($space-medium-rem) * 1em !default
553
+
554
+
555
+ $turbolinks-progress-bar-height-px: 2px !default
556
+ $turbolinks-progress-bar-background: $background-color-primary !default
557
+
558
+
559
+
560
+ // variables for collections
561
+ $alert-padding-rem: $space-small-rem !default
562
+ $alert-border-radius: 0 !default
563
+ $alert-background: $background-color-dark !default
564
+ $alert-box-shadow: null !default
565
+ $alert-action-margin-left-rem: $space-small-rem !default
566
+ $alert-title-color: $color-inverse-emphasis !default
567
+ $alert-content-color: $color-inverse-main !default
568
+
569
+
570
+
571
+ $avatar-image-size-rem: 3rem !default
572
+ $avatar-large-image-size-rem: 6rem !default
573
+ $avatar-small-image-size-rem: 2rem !default
574
+ $avatar-image-border-radius: 100% !default
575
+ $avatar-default-image-background-size: 50% auto !default
576
+ $avatar-default-image: svg-icon('<svg viewBox="0 0 512 512"><path fill="#fill" d="M437.02,330.98c-27.883-27.882-61.071-48.523-97.281-61.018C378.521,243.251,404,198.548,404,148 C404,66.393,337.607,0,256,0S108,66.393,108,148c0,50.548,25.479,95.251,64.262,121.962 c-36.21,12.495-69.398,33.136-97.281,61.018C26.629,379.333,0,443.62,0,512h40c0-119.103,96.897-216,216-216s216,96.897,216,216 h40C512,443.62,485.371,379.333,437.02,330.98z M256,256c-59.551,0-108-48.448-108-108S196.449,40,256,40 c59.551,0,108,48.448,108,108S315.551,256,256,256z"/></svg>',$line-color-muted) !default
577
+ $avatar-media-description-height-rem: 3rem !default
578
+ $avatar-media-description-padding-top-rem: 0.3rem !default
579
+ $avatar-media-description-padding-left-rem: 0.5rem !default
580
+ $avatar-large-media-description-height-rem: 4rem !default
581
+ $avatar-large-media-description-padding-top-rem: 0.6rem !default
582
+ $avatar-large-media-description-padding-left-rem: 0.5rem !default
583
+ $avatar-small-media-description-height-rem: null !default
584
+ $avatar-small-media-description-padding-top-rem: null !default
585
+ $avatar-small-media-description-padding-left-rem: null !default
586
+ $avatar-name-typography-size-level: 5 !default
587
+ $avatar-large-name-typography-size-level: 4 !default
588
+ $avatar-small-name-typography-size-level: 6 !default
589
+ $avatar-description-typography-size-level: 6 !default
590
+ $avatar-large-description-typography-size-level: 5 !default
591
+ $avatar-small-description-typography-size-level: null !default
592
+ $avatar-name-color: null !default
593
+ $avatar-description-color: null !default
594
+
595
+
596
+
597
+ $breadcrumb-padding-rem: $space-small-rem 0 !default
598
+ $breadcrumb-color: $color-muted !default
599
+ $breadcrumb-children-padding-em: 0 strip-unit($space-tiny-rem) * 1em !default
600
+ $breadcrumb-children-spliter: "/" !default
601
+
602
+
603
+
604
+ $button-group-children-margin-rem: 0 $space-small-rem $space-small-rem 0 !default
605
+
606
+
607
+
608
+ $button-icon-size-em: 1.286em !default
609
+ $button-icon-top-size-em: 1.5em !default
610
+ $button-icon-left-margin-em: 0 0.4em 0 0 !default
611
+ $button-icon-right-margin-em: 0 0 0 0.4em !default
612
+ $button-icon-top-margin-em: 0 0 0.15em 0 !default
613
+ $button-icon-top-height-rem: 4rem !default
614
+ $button-large-icon-top-height-rem: 5rem !default
615
+ $button-small-icon-top-height-rem: 3rem !default
616
+
617
+
618
+
619
+ $carousel-width-breakpoint: m !default
620
+ $carousel-aspect-ratio: 16 / 9 !default
621
+ $carousel-control-indicators-top-rem: $space-small-rem !default
622
+ $carousel-control-indicators-right-rem: $space-small-rem !default
623
+ $carousel-control-indicator-height-rem: 0.2rem !default
624
+ $carousel-indicator-outline-offset-px: 2px !default
625
+ $carousel-description-padding-rem: $space-small-rem !default
626
+ $carousel-breakpoint-control-indicators-top-rem: $space-medium-rem !default
627
+ $carousel-breakpoint-control-indicators-right-rem: $space-medium-rem !default
628
+ $carousel-breakpoint-control-prev-left-rem: $space-small-rem !default
629
+ $carousel-breakpoint-control-next-right-rem: $space-small-rem !default
630
+ $carousel-breakpoint-description-padding-rem: $space-medium-rem !default
631
+ $carousel-background: $background-muted !default
632
+ $carousel-description-background: linear-gradient(180deg, transparent 0, rgba($background-color-dark, $opacity-most-muted) 2rem) !default
633
+ $carousel-description-color: $color-inverse-main !default
634
+ $carousel-control-opacity: $opacity-main !default
635
+ $carousel-control-disabled-opacity: $opacity-more-muted !default
636
+ $carousel-control-opacity-transition-duration: 0.5s !default
637
+ $carousel-control-opacity-transition-timing-function: ease !default
638
+ $carousel-transition-duration: 1s !default
639
+ $carousel-transition-timing-function: ease !default
640
+ $carousel-ani-opacity-transition-duration: 1s !default
641
+ $carousel-ani-opacity-transition-timing-function: ease !default
642
+
643
+
644
+
645
+ $dropdown-width-breakpoint: m !default
646
+ $dropdown-static-menu-margin-left-rem: $space-small-rem !default
647
+ $dropdown-absolute-max-height-rem: 33rem !default
648
+ $dropdown-absolute-drop-gap-rem: $space-tiny-rem !default
649
+ $dropdown-absolute-border-radius: 0 !default
650
+ $dropdown-absolute-fixed-background: $background-main !default
651
+ $dropdown-absolute-box-shadow: null !default
652
+
653
+
654
+
655
+ $form-group-element-vertical-margin-rem: $space-small-rem !default
656
+
657
+
658
+
659
+ $media-content-aspect-ratio: 16 / 9 !default
660
+ $media-border-radius: $border-radius-main !default
661
+ $media-background-color: $background-muted !default
662
+ $media-description-color: $color-muted !default
663
+
664
+
665
+
666
+ $modal-padding-rem: $space-medium-rem !default
667
+ $modal-in-overlay-max-width-px: 600px !default
668
+ $modal-in-overlay-min-width-px: 320px !default
669
+ $modal-background: $background-muted !default
670
+ $modal-border-radius: $border-radius-main !default
671
+ $modal-box-shadow: null !default
672
+
673
+
674
+
675
+ $nav-width-breakpoint: m !default
676
+ $nav-padding-rem: $space-tiny-rem $space-small-rem !default
677
+ $nav-logo-margin-rem: 0 $space-small-rem !default
678
+ $nav-open-margin-rem: 0 0 0 auto !default
679
+ $nav-close-margin-rem: $space-small-rem $space-small-rem 0 auto !default
680
+ $nav-search-margin-rem: $space-medium-rem !default
681
+ $nav-items-margin-rem: $space-small-rem !default
682
+ $nav-sub-items-margin-rem: $nav-items-margin-rem !default
683
+ $nav-logo-image-height-rem: 2rem !default
684
+ $nav-background: $background-color-dark !default
685
+
686
+
687
+
688
+ $nav-header-box-shadow: null !default
689
+ $nav-header-breakpoint-search-margin-rem: 0 $space-small-rem !default
690
+ $nav-header-breakpoint-items-margin-rem: 0 auto 0 0 !default
691
+ $nav-header-breakpoint-sub-items-margin-rem: 0 !default
692
+ $nav-header-breakpoint-search-width-rem: 16rem !default
693
+ $nav-header-breakpoint-dropdown-background: $nav-background !default
694
+
695
+
696
+
697
+ $nav-aside-box-shadow: $nav-header-box-shadow !default
698
+ $nav-aside-breakpoint-padding-rem: 0 !default
699
+ $nav-aside-breakpoint-logo-margin-rem: 3 * $space-small-rem $space-medium-rem $space-small-rem !default
700
+ $nav-aside-breakpoint-logo-image-height-rem: 7rem !default
701
+ $nav-aside-breakpoint-logo-image-width-rem: 9rem !default
702
+ $nav-aside-breakpoint-min-width-rem: 18rem !default
703
+ $nav-aside-breakpoint-max-width-rem: 20rem !default
704
+ $nav-aside-breakpoint-box-shadow: null !default
705
+
706
+
707
+
708
+ $tab-panes-padding-top-rem: null !default
709
+ $tab-panes-padding-bottom-rem: null !default
710
+ $tab-panes-background: $background-main !default