uswds-jekyll 3.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (756) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +345 -240
  3. data/_includes/analytics.html +7 -10
  4. data/_includes/components/banner.html +36 -13
  5. data/_includes/components/footer--big.html +142 -0
  6. data/_includes/components/footer--default.html +104 -0
  7. data/_includes/components/footer--slim.html +93 -0
  8. data/_includes/components/github-edit.html +3 -0
  9. data/_includes/components/graphic-list.html +13 -11
  10. data/_includes/components/header.html +161 -0
  11. data/_includes/components/hero.html +6 -13
  12. data/_includes/components/search.html +31 -0
  13. data/_includes/footer.html +7 -1
  14. data/_includes/header.html +1 -5
  15. data/_includes/meta.html +7 -1
  16. data/_includes/project-list.html +14 -0
  17. data/_includes/scripts.html +7 -5
  18. data/_includes/sidenav.html +23 -20
  19. data/_includes/styles.html +5 -9
  20. data/_includes/subnav.html +1 -1
  21. data/_includes/team-list.html +13 -0
  22. data/_layouts/default.html +40 -4
  23. data/_layouts/home.html +5 -26
  24. data/_layouts/page.html +19 -13
  25. data/_layouts/post.html +2 -14
  26. data/_layouts/project.html +23 -0
  27. data/_layouts/team-member.html +34 -0
  28. data/_sass/_uswds-theme-custom-styles.scss +0 -0
  29. data/_sass/_uswds-theme-override-settings.scss +2 -0
  30. data/_sass/_uswds-theme-packages.scss +1 -0
  31. data/_sass/_uswds-theme-settings.scss +0 -0
  32. data/_sass/uswds/components/_all.scss +8 -0
  33. data/_sass/uswds/components/_alt-color-section.scss +34 -0
  34. data/_sass/uswds/components/_card.scss +63 -0
  35. data/_sass/uswds/components/_footer.scss +16 -502
  36. data/_sass/uswds/components/_header.scss +30 -198
  37. data/_sass/uswds/components/_hero.scss +37 -29
  38. data/_sass/uswds/components/_nav-buttons.scss +24 -0
  39. data/_sass/uswds/components/_side-nav.scss +48 -0
  40. data/_sass/uswds/components/_site-width.scss +6 -0
  41. data/_sass/uswds/components/_top-nav.scss +84 -0
  42. data/_sass/uswds/components/_usa-banner.scss +30 -0
  43. data/_sass/uswds/custom/_uswds-theme-custom-styles.scss +47 -0
  44. data/_sass/uswds/settings/_uswds-conversion-variables.scss +0 -0
  45. data/_sass/uswds/src/base/_accessibility.scss +3 -0
  46. data/_sass/uswds/src/base/_body.scss +5 -0
  47. data/_sass/uswds/src/components/_accordions.scss +116 -0
  48. data/_sass/uswds/src/components/_alerts.scss +144 -0
  49. data/_sass/uswds/src/components/_banner.scss +226 -0
  50. data/_sass/uswds/src/components/_button-groups.scss +134 -0
  51. data/_sass/uswds/src/components/_card.scss +346 -0
  52. data/_sass/uswds/src/components/_checklist.scss +17 -0
  53. data/_sass/uswds/src/components/_footer.scss +349 -0
  54. data/_sass/uswds/src/components/_forms.scss +54 -0
  55. data/_sass/uswds/src/components/_graphic-list.scss +42 -0
  56. data/_sass/uswds/src/components/_header.scss +287 -0
  57. data/_sass/uswds/src/components/_hero.scss +32 -0
  58. data/_sass/uswds/src/components/_layout.scss +15 -0
  59. data/_sass/uswds/src/components/_media-block.scss +7 -0
  60. data/_sass/uswds/src/components/_megamenu.scss +42 -0
  61. data/_sass/uswds/src/components/_nav-container.scss +7 -0
  62. data/_sass/uswds/src/components/_navbar.scss +16 -0
  63. data/_sass/uswds/src/components/_navigation.scss +348 -0
  64. data/_sass/uswds/src/components/_search.scss +98 -0
  65. data/_sass/uswds/src/components/_section.scss +38 -0
  66. data/_sass/uswds/src/components/_sidenav.scss +19 -0
  67. data/_sass/uswds/{components → src/components}/_skipnav.scss +7 -6
  68. data/_sass/uswds/{core → src/core}/_defaults.scss +1 -1
  69. data/_sass/uswds/src/core/_deprecated.scss +33 -0
  70. data/_sass/uswds/src/core/_functions.scss +1323 -0
  71. data/_sass/uswds/src/core/_notifications.scss +86 -0
  72. data/_sass/uswds/src/core/_properties.scss +687 -0
  73. data/_sass/uswds/src/core/_system-tokens.scss +1673 -0
  74. data/_sass/uswds/src/core/_variables.scss +534 -0
  75. data/_sass/uswds/src/core/mixins/_add-aspect.scss +17 -0
  76. data/_sass/uswds/src/core/mixins/_add-background-svg.scss +9 -0
  77. data/_sass/uswds/src/core/mixins/_add-bar.scss +43 -0
  78. data/_sass/uswds/src/core/mixins/_add-checkbox-placeholder.scss +15 -0
  79. data/_sass/uswds/src/core/mixins/_add-kerning.scss +4 -0
  80. data/_sass/uswds/src/core/mixins/_add-knockout-font-smoothing.scss +9 -0
  81. data/_sass/uswds/src/core/mixins/_add-list-reset.scss +15 -0
  82. data/_sass/uswds/src/core/mixins/_add-responsive-site-margins.scss +6 -0
  83. data/_sass/uswds/src/core/mixins/_add-success-mark.scss +7 -0
  84. data/_sass/uswds/src/core/mixins/_all.scss +86 -0
  85. data/_sass/uswds/src/core/mixins/_at-media.scss +36 -0
  86. data/_sass/uswds/src/core/mixins/_border-box-sizing.scss +19 -0
  87. data/_sass/uswds/src/core/mixins/_button-disabled.scss +17 -0
  88. data/_sass/uswds/src/core/mixins/_button-unstyled.scss +20 -0
  89. data/_sass/uswds/src/core/mixins/_clearfix.scss +7 -0
  90. data/_sass/uswds/src/core/mixins/_embed-container.scss +3 -0
  91. data/_sass/uswds/src/core/mixins/_external-link.scss +21 -0
  92. data/_sass/uswds/src/core/mixins/_focus.scss +14 -0
  93. data/_sass/uswds/src/core/mixins/_font-face.scss +103 -0
  94. data/_sass/uswds/src/core/mixins/_icon.scss +64 -0
  95. data/_sass/uswds/src/core/mixins/_layout-grid.scss +128 -0
  96. data/_sass/uswds/src/core/mixins/_media-block-img.scss +4 -0
  97. data/_sass/uswds/{elements/_figure.scss → src/core/mixins/_media-link.scss} +0 -8
  98. data/_sass/uswds/src/core/mixins/_nav-list.scss +95 -0
  99. data/_sass/uswds/src/core/mixins/_override-prose.scss +6 -0
  100. data/_sass/uswds/src/core/mixins/_screen-reader.scss +23 -0
  101. data/_sass/uswds/src/core/mixins/_typography.scss +161 -0
  102. data/_sass/uswds/src/core/mixins/_unstyled-list.scss +11 -0
  103. data/_sass/uswds/src/core/mixins/_usa-list-styles.scss +10 -0
  104. data/_sass/uswds/src/core/mixins/_usa-table-styles.scss +8 -0
  105. data/_sass/uswds/src/core/mixins/_usa-typography.scss +54 -0
  106. data/_sass/uswds/src/core/mixins/_utility-builder.scss +369 -0
  107. data/_sass/uswds/src/core/mixins/layout-grid/_grid-container.scss +14 -0
  108. data/_sass/uswds/src/core/mixins/layout-grid/_grid-row.scss +7 -0
  109. data/_sass/uswds/src/core/mixins/utilities/_align-items.scss +11 -0
  110. data/_sass/uswds/src/core/mixins/utilities/_background-color.scss +9 -0
  111. data/_sass/uswds/src/core/mixins/utilities/_border-color.scss +11 -0
  112. data/_sass/uswds/src/core/mixins/utilities/_border-radius.scss +55 -0
  113. data/_sass/uswds/src/core/mixins/utilities/_border-width.scss +32 -0
  114. data/_sass/uswds/src/core/mixins/utilities/_border.scss +142 -0
  115. data/_sass/uswds/src/core/mixins/utilities/_bottom.scss +10 -0
  116. data/_sass/uswds/src/core/mixins/utilities/_circle.scss +9 -0
  117. data/_sass/uswds/src/core/mixins/utilities/_color.scss +10 -0
  118. data/_sass/uswds/src/core/mixins/utilities/_cursor.scss +10 -0
  119. data/_sass/uswds/src/core/mixins/utilities/_display.scss +11 -0
  120. data/_sass/uswds/src/core/mixins/utilities/_flex-direction.scss +10 -0
  121. data/_sass/uswds/src/core/mixins/utilities/_flex.scss +50 -0
  122. data/_sass/uswds/src/core/mixins/utilities/_float.scss +10 -0
  123. data/_sass/uswds/src/core/mixins/utilities/_font-weight.scss +10 -0
  124. data/_sass/uswds/src/core/mixins/utilities/_font.scss +42 -0
  125. data/_sass/uswds/src/core/mixins/utilities/_height.scss +11 -0
  126. data/_sass/uswds/src/core/mixins/utilities/_justify-content.scss +10 -0
  127. data/_sass/uswds/src/core/mixins/utilities/_left.scss +10 -0
  128. data/_sass/uswds/src/core/mixins/utilities/_line-height.scss +13 -0
  129. data/_sass/uswds/src/core/mixins/utilities/_margin.scss +85 -0
  130. data/_sass/uswds/src/core/mixins/utilities/_max-height.scss +10 -0
  131. data/_sass/uswds/src/core/mixins/utilities/_max-width.scss +10 -0
  132. data/_sass/uswds/src/core/mixins/utilities/_measure.scss +10 -0
  133. data/_sass/uswds/src/core/mixins/utilities/_min-height.scss +10 -0
  134. data/_sass/uswds/src/core/mixins/utilities/_min-width.scss +10 -0
  135. data/_sass/uswds/src/core/mixins/utilities/_order.scss +10 -0
  136. data/_sass/uswds/src/core/mixins/utilities/_outline-color.scss +10 -0
  137. data/_sass/uswds/src/core/mixins/utilities/_outline.scss +35 -0
  138. data/_sass/uswds/src/core/mixins/utilities/_overflow.scss +28 -0
  139. data/_sass/uswds/src/core/mixins/utilities/_padding.scss +49 -0
  140. data/_sass/uswds/src/core/mixins/utilities/_pin.scss +82 -0
  141. data/_sass/uswds/src/core/mixins/utilities/_position.scss +10 -0
  142. data/_sass/uswds/src/core/mixins/utilities/_right.scss +10 -0
  143. data/_sass/uswds/src/core/mixins/utilities/_shadow.scss +10 -0
  144. data/_sass/uswds/src/core/mixins/utilities/_square.scss +7 -0
  145. data/_sass/uswds/src/core/mixins/utilities/_text-align.scss +10 -0
  146. data/_sass/uswds/src/core/mixins/utilities/_text-decoration-color.scss +10 -0
  147. data/_sass/uswds/src/core/mixins/utilities/_text-decoration.scss +17 -0
  148. data/_sass/uswds/src/core/mixins/utilities/_text-indent.scss +10 -0
  149. data/_sass/uswds/src/core/mixins/utilities/_text.scss +72 -0
  150. data/_sass/uswds/src/core/mixins/utilities/_top.scss +10 -0
  151. data/_sass/uswds/src/core/mixins/utilities/_vertical-align.scss +10 -0
  152. data/_sass/uswds/src/core/mixins/utilities/_white-space.scss +10 -0
  153. data/_sass/uswds/src/core/mixins/utilities/_width.scss +11 -0
  154. data/_sass/uswds/src/core/mixins/utilities/_z-index.scss +10 -0
  155. data/_sass/uswds/src/core/placeholders/_all.scss +2 -0
  156. data/_sass/uswds/src/core/placeholders/_list.scss +18 -0
  157. data/_sass/uswds/src/core/placeholders/_table.scss +58 -0
  158. data/_sass/uswds/src/core/system-tokens/_blue-cool.scss +26 -0
  159. data/_sass/uswds/src/core/system-tokens/_blue-warm.scss +26 -0
  160. data/_sass/uswds/src/core/system-tokens/_blue.scss +26 -0
  161. data/_sass/uswds/src/core/system-tokens/_cyan.scss +26 -0
  162. data/_sass/uswds/src/core/system-tokens/_gold.scss +26 -0
  163. data/_sass/uswds/src/core/system-tokens/_gray-cool.scss +18 -0
  164. data/_sass/uswds/src/core/system-tokens/_gray-warm.scss +18 -0
  165. data/_sass/uswds/src/core/system-tokens/_gray.scss +19 -0
  166. data/_sass/uswds/src/core/system-tokens/_green-cool.scss +26 -0
  167. data/_sass/uswds/src/core/system-tokens/_green-warm.scss +26 -0
  168. data/_sass/uswds/src/core/system-tokens/_green.scss +26 -0
  169. data/_sass/uswds/src/core/system-tokens/_indigo-cool.scss +26 -0
  170. data/_sass/uswds/src/core/system-tokens/_indigo-warm.scss +26 -0
  171. data/_sass/uswds/src/core/system-tokens/_indigo.scss +26 -0
  172. data/_sass/uswds/src/core/system-tokens/_magenta.scss +26 -0
  173. data/_sass/uswds/src/core/system-tokens/_mint-cool.scss +26 -0
  174. data/_sass/uswds/src/core/system-tokens/_mint.scss +26 -0
  175. data/_sass/uswds/src/core/system-tokens/_orange-warm.scss +26 -0
  176. data/_sass/uswds/src/core/system-tokens/_orange.scss +26 -0
  177. data/_sass/uswds/src/core/system-tokens/_red-cool.scss +26 -0
  178. data/_sass/uswds/src/core/system-tokens/_red-warm.scss +26 -0
  179. data/_sass/uswds/src/core/system-tokens/_red.scss +26 -0
  180. data/_sass/uswds/src/core/system-tokens/_violet-warm.scss +26 -0
  181. data/_sass/uswds/src/core/system-tokens/_violet.scss +26 -0
  182. data/_sass/uswds/src/core/system-tokens/_yellow.scss +26 -0
  183. data/_sass/uswds/src/elements/_buttons.scss +217 -0
  184. data/_sass/uswds/{elements → src/elements}/_embed.scss +0 -4
  185. data/_sass/uswds/src/elements/_figure.scss +7 -0
  186. data/_sass/uswds/src/elements/_layout-grid.scss +159 -0
  187. data/_sass/uswds/src/elements/_table.scss +7 -0
  188. data/_sass/uswds/src/elements/_tags.scss +18 -0
  189. data/_sass/uswds/src/elements/form-controls/_all.scss +9 -0
  190. data/_sass/uswds/src/elements/form-controls/_character-count.scss +9 -0
  191. data/_sass/uswds/src/elements/form-controls/_checkbox-and-radio.scss +115 -0
  192. data/_sass/uswds/src/elements/form-controls/_combo-box.scss +55 -0
  193. data/_sass/uswds/src/elements/form-controls/_date-input.scss +31 -0
  194. data/_sass/uswds/src/elements/form-controls/_dropdown.scss +25 -0
  195. data/_sass/uswds/src/elements/form-controls/_file-input.scss +4 -0
  196. data/_sass/uswds/src/elements/form-controls/_global.scss +84 -0
  197. data/_sass/uswds/src/elements/form-controls/_range-input.scss +89 -0
  198. data/_sass/uswds/src/elements/form-controls/_text-input.scss +13 -0
  199. data/_sass/uswds/src/elements/typography/_content.scss +62 -0
  200. data/_sass/uswds/src/elements/typography/_links.scss +15 -0
  201. data/_sass/uswds/src/elements/typography/_list.scss +14 -0
  202. data/_sass/uswds/src/elements/typography/_prose.scss +6 -0
  203. data/_sass/uswds/src/global/_focus.scss +24 -0
  204. data/_sass/uswds/src/global/_font-face.scss +11 -0
  205. data/_sass/uswds/src/global/_sizing.scss +14 -0
  206. data/_sass/uswds/src/global/_typography.scss +32 -0
  207. data/_sass/uswds/src/lib/_normalize.scss +349 -0
  208. data/_sass/uswds/src/packages/_form-controls.scss +4 -0
  209. data/_sass/uswds/src/packages/_form-templates.scss +8 -0
  210. data/_sass/uswds/src/packages/_global.scss +7 -0
  211. data/_sass/uswds/src/packages/_layout-grid.scss +4 -0
  212. data/_sass/uswds/src/packages/_required.scss +21 -0
  213. data/_sass/uswds/src/packages/_typography.scss +7 -0
  214. data/_sass/uswds/src/packages/_usa-accordion.scss +4 -0
  215. data/_sass/uswds/src/packages/_usa-alert.scss +4 -0
  216. data/_sass/uswds/src/packages/_usa-banner.scss +7 -0
  217. data/_sass/uswds/src/packages/_usa-button-group.scss +2 -0
  218. data/_sass/uswds/src/packages/_usa-button.scss +4 -0
  219. data/_sass/uswds/src/packages/_usa-card.scss +4 -0
  220. data/_sass/uswds/src/packages/_usa-checklist.scss +4 -0
  221. data/_sass/uswds/src/packages/_usa-footer.scss +10 -0
  222. data/_sass/uswds/src/packages/_usa-header.scss +13 -0
  223. data/_sass/uswds/src/packages/_usa-hero.scss +6 -0
  224. data/_sass/uswds/src/packages/_usa-media-block.scss +5 -0
  225. data/_sass/uswds/src/packages/_usa-megamenu.scss +4 -0
  226. data/_sass/uswds/src/packages/_usa-nav-container.scss +4 -0
  227. data/_sass/uswds/src/packages/_usa-nav.scss +5 -0
  228. data/_sass/uswds/src/packages/_usa-navbar.scss +4 -0
  229. data/_sass/uswds/src/packages/_usa-search.scss +8 -0
  230. data/_sass/uswds/src/packages/_usa-sidenav.scss +4 -0
  231. data/_sass/uswds/src/packages/_usa-skipnav.scss +4 -0
  232. data/_sass/uswds/src/packages/_usa-table.scss +4 -0
  233. data/_sass/uswds/src/packages/_usa-tag.scss +4 -0
  234. data/_sass/uswds/src/packages/_uswds-components.scss +44 -0
  235. data/_sass/uswds/src/packages/_uswds-fonts.scss +2 -0
  236. data/_sass/uswds/src/packages/_uswds-utilities.scss +6 -0
  237. data/_sass/uswds/src/packages/_validation.scss +8 -0
  238. data/_sass/uswds/src/settings/_settings-color.scss +133 -0
  239. data/_sass/uswds/src/settings/_settings-components.scss +85 -0
  240. data/_sass/uswds/src/settings/_settings-general.scss +101 -0
  241. data/_sass/uswds/src/settings/_settings-spacing.scss +93 -0
  242. data/_sass/uswds/src/settings/_settings-typography.scss +422 -0
  243. data/_sass/uswds/src/settings/_settings-utilities.scss +853 -0
  244. data/_sass/uswds/src/theme/_uswds-theme-color.scss +133 -0
  245. data/_sass/uswds/src/theme/_uswds-theme-components.scss +85 -0
  246. data/_sass/uswds/src/theme/_uswds-theme-custom-styles.scss +21 -0
  247. data/_sass/uswds/src/theme/_uswds-theme-general.scss +101 -0
  248. data/_sass/uswds/src/theme/_uswds-theme-spacing.scss +93 -0
  249. data/_sass/uswds/src/theme/_uswds-theme-typography.scss +422 -0
  250. data/_sass/uswds/src/theme/_uswds-theme-utilities.scss +854 -0
  251. data/_sass/uswds/src/theme/styles.scss +72 -0
  252. data/_sass/uswds/src/uswds.scss +17 -0
  253. data/_sass/uswds/src/utilities/palettes/_all.scss +41 -0
  254. data/_sass/uswds/src/utilities/palettes/_default-palettes.scss +72 -0
  255. data/_sass/uswds/src/utilities/palettes/_font-palettes.scss +2762 -0
  256. data/_sass/uswds/src/utilities/palettes/_palette-registry.scss +46 -0
  257. data/_sass/uswds/src/utilities/palettes/_spacing-palettes.scss +135 -0
  258. data/_sass/uswds/src/utilities/palettes/colors/_all-colors-palettes.scss +56 -0
  259. data/_sass/uswds/src/utilities/palettes/colors/_black-transparent-palettes.scss +16 -0
  260. data/_sass/uswds/src/utilities/palettes/colors/_blue-cool-palettes.scss +69 -0
  261. data/_sass/uswds/src/utilities/palettes/colors/_blue-palettes.scss +66 -0
  262. data/_sass/uswds/src/utilities/palettes/colors/_blue-warm-palettes.scss +69 -0
  263. data/_sass/uswds/src/utilities/palettes/colors/_cyan-palettes.scss +66 -0
  264. data/_sass/uswds/src/utilities/palettes/colors/_gold-palettes.scss +66 -0
  265. data/_sass/uswds/src/utilities/palettes/colors/_gray-cool-palettes.scss +40 -0
  266. data/_sass/uswds/src/utilities/palettes/colors/_gray-palettes.scss +40 -0
  267. data/_sass/uswds/src/utilities/palettes/colors/_gray-warm-palettes.scss +40 -0
  268. data/_sass/uswds/src/utilities/palettes/colors/_green-cool-palettes.scss +69 -0
  269. data/_sass/uswds/src/utilities/palettes/colors/_green-palettes.scss +66 -0
  270. data/_sass/uswds/src/utilities/palettes/colors/_green-warm-palettes.scss +69 -0
  271. data/_sass/uswds/src/utilities/palettes/colors/_indigo-cool-palettes.scss +70 -0
  272. data/_sass/uswds/src/utilities/palettes/colors/_indigo-palettes.scss +66 -0
  273. data/_sass/uswds/src/utilities/palettes/colors/_indigo-warm-palettes.scss +70 -0
  274. data/_sass/uswds/src/utilities/palettes/colors/_magenta-palettes.scss +67 -0
  275. data/_sass/uswds/src/utilities/palettes/colors/_mint-cool-palettes.scss +69 -0
  276. data/_sass/uswds/src/utilities/palettes/colors/_mint-palettes.scss +66 -0
  277. data/_sass/uswds/src/utilities/palettes/colors/_orange-palettes.scss +66 -0
  278. data/_sass/uswds/src/utilities/palettes/colors/_orange-warm-palettes.scss +70 -0
  279. data/_sass/uswds/src/utilities/palettes/colors/_red-cool-palettes.scss +68 -0
  280. data/_sass/uswds/src/utilities/palettes/colors/_red-palettes.scss +66 -0
  281. data/_sass/uswds/src/utilities/palettes/colors/_red-warm-palettes.scss +68 -0
  282. data/_sass/uswds/src/utilities/palettes/colors/_violet-palettes.scss +66 -0
  283. data/_sass/uswds/src/utilities/palettes/colors/_violet-warm-palettes.scss +70 -0
  284. data/_sass/uswds/src/utilities/palettes/colors/_white-transparent-palettes.scss +16 -0
  285. data/_sass/uswds/src/utilities/palettes/colors/_yellow-palettes.scss +66 -0
  286. data/_sass/uswds/src/utilities/rules/_all.scss +56 -0
  287. data/_sass/uswds/src/utilities/rules/_package.scss +61 -0
  288. data/_sass/uswds/src/utilities/rules/add-aspect.scss +84 -0
  289. data/_sass/uswds/src/utilities/rules/add-list-reset.scss +39 -0
  290. data/_sass/uswds/src/utilities/rules/align-items.scss +30 -0
  291. data/_sass/uswds/src/utilities/rules/background-color.scss +32 -0
  292. data/_sass/uswds/src/utilities/rules/border-color.scss +32 -0
  293. data/_sass/uswds/src/utilities/rules/border-radius.scss +51 -0
  294. data/_sass/uswds/src/utilities/rules/border-style.scss +30 -0
  295. data/_sass/uswds/src/utilities/rules/border-width.scss +44 -0
  296. data/_sass/uswds/src/utilities/rules/border.scss +47 -0
  297. data/_sass/uswds/src/utilities/rules/bottom.scss +28 -0
  298. data/_sass/uswds/src/utilities/rules/box-shadow.scss +27 -0
  299. data/_sass/uswds/src/utilities/rules/circle.scss +35 -0
  300. data/_sass/uswds/src/utilities/rules/clearfix.scss +35 -0
  301. data/_sass/uswds/src/utilities/rules/color.scss +32 -0
  302. data/_sass/uswds/src/utilities/rules/cursor.scss +26 -0
  303. data/_sass/uswds/src/utilities/rules/display.scss +26 -0
  304. data/_sass/uswds/src/utilities/rules/flex-direction.scss +30 -0
  305. data/_sass/uswds/src/utilities/rules/flex-wrap.scss +27 -0
  306. data/_sass/uswds/src/utilities/rules/flex.scss +32 -0
  307. data/_sass/uswds/src/utilities/rules/float.scss +26 -0
  308. data/_sass/uswds/src/utilities/rules/font-family.scss +38 -0
  309. data/_sass/uswds/src/utilities/rules/font-feature.scss +31 -0
  310. data/_sass/uswds/src/utilities/rules/font-style.scss +29 -0
  311. data/_sass/uswds/src/utilities/rules/font-weight.scss +30 -0
  312. data/_sass/uswds/src/utilities/rules/font.scss +38 -0
  313. data/_sass/uswds/src/utilities/rules/height.scss +26 -0
  314. data/_sass/uswds/src/utilities/rules/justify-content.scss +32 -0
  315. data/_sass/uswds/src/utilities/rules/left.scss +28 -0
  316. data/_sass/uswds/src/utilities/rules/letter-spacing.scss +30 -0
  317. data/_sass/uswds/src/utilities/rules/line-height.scss +30 -0
  318. data/_sass/uswds/src/utilities/rules/margin.scss +70 -0
  319. data/_sass/uswds/src/utilities/rules/max-height.scss +27 -0
  320. data/_sass/uswds/src/utilities/rules/max-width.scss +27 -0
  321. data/_sass/uswds/src/utilities/rules/measure.scss +28 -0
  322. data/_sass/uswds/src/utilities/rules/min-height.scss +27 -0
  323. data/_sass/uswds/src/utilities/rules/min-width.scss +27 -0
  324. data/_sass/uswds/src/utilities/rules/opacity.scss +28 -0
  325. data/_sass/uswds/src/utilities/rules/order.scss +29 -0
  326. data/_sass/uswds/src/utilities/rules/outline-color.scss +33 -0
  327. data/_sass/uswds/src/utilities/rules/outline.scss +30 -0
  328. data/_sass/uswds/src/utilities/rules/overflow.scss +31 -0
  329. data/_sass/uswds/src/utilities/rules/padding.scss +43 -0
  330. data/_sass/uswds/src/utilities/rules/pin.scss +101 -0
  331. data/_sass/uswds/src/utilities/rules/position.scss +27 -0
  332. data/_sass/uswds/src/utilities/rules/right.scss +28 -0
  333. data/_sass/uswds/src/utilities/rules/square.scss +33 -0
  334. data/_sass/uswds/src/utilities/rules/text-align.scss +27 -0
  335. data/_sass/uswds/src/utilities/rules/text-decoration-color.scss +31 -0
  336. data/_sass/uswds/src/utilities/rules/text-decoration.scss +30 -0
  337. data/_sass/uswds/src/utilities/rules/text-indent.scss +30 -0
  338. data/_sass/uswds/src/utilities/rules/text-transform.scss +30 -0
  339. data/_sass/uswds/src/utilities/rules/top.scss +28 -0
  340. data/_sass/uswds/src/utilities/rules/vertical-align.scss +30 -0
  341. data/_sass/uswds/src/utilities/rules/whitespace.scss +27 -0
  342. data/_sass/uswds/src/utilities/rules/width.scss +26 -0
  343. data/_sass/uswds/src/utilities/rules/z-index.scss +28 -0
  344. data/_sass/uswds/src/utilities/utility-fonts.scss +20 -0
  345. data/assets/css/uswds-theme.scss +187 -0
  346. data/assets/img/circle.png +0 -0
  347. data/assets/img/hero.png +0 -0
  348. data/assets/img/project-images/project-placeholder.png +0 -0
  349. data/assets/img/team-images/team-placeholder.png +0 -0
  350. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.ttf +0 -0
  351. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff +0 -0
  352. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff2 +0 -0
  353. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.ttf +0 -0
  354. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff +0 -0
  355. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff2 +0 -0
  356. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.ttf +0 -0
  357. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff +0 -0
  358. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff2 +0 -0
  359. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.ttf +0 -0
  360. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff +0 -0
  361. data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff2 +0 -0
  362. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.ttf +0 -0
  363. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff +0 -0
  364. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff2 +0 -0
  365. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.ttf +0 -0
  366. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff +0 -0
  367. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff2 +0 -0
  368. data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.ttf +0 -0
  369. data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff +0 -0
  370. data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff2 +0 -0
  371. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.ttf +0 -0
  372. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff +0 -0
  373. data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff2 +0 -0
  374. data/assets/uswds/fonts/public-sans/PublicSans-Black.ttf +0 -0
  375. data/assets/uswds/fonts/public-sans/PublicSans-Black.woff +0 -0
  376. data/assets/uswds/fonts/public-sans/PublicSans-Black.woff2 +0 -0
  377. data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.ttf +0 -0
  378. data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff +0 -0
  379. data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff2 +0 -0
  380. data/assets/uswds/fonts/public-sans/PublicSans-Bold.ttf +0 -0
  381. data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff +0 -0
  382. data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff2 +0 -0
  383. data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.ttf +0 -0
  384. data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff +0 -0
  385. data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff2 +0 -0
  386. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.ttf +0 -0
  387. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff +0 -0
  388. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff2 +0 -0
  389. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.ttf +0 -0
  390. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff +0 -0
  391. data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff2 +0 -0
  392. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.ttf +0 -0
  393. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff +0 -0
  394. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff2 +0 -0
  395. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.ttf +0 -0
  396. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff +0 -0
  397. data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff2 +0 -0
  398. data/assets/uswds/fonts/public-sans/PublicSans-Italic.ttf +0 -0
  399. data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff +0 -0
  400. data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff2 +0 -0
  401. data/assets/uswds/fonts/public-sans/PublicSans-Light.ttf +0 -0
  402. data/assets/uswds/fonts/public-sans/PublicSans-Light.woff +0 -0
  403. data/assets/uswds/fonts/public-sans/PublicSans-Light.woff2 +0 -0
  404. data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.ttf +0 -0
  405. data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff +0 -0
  406. data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff2 +0 -0
  407. data/assets/uswds/fonts/public-sans/PublicSans-Medium.ttf +0 -0
  408. data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff +0 -0
  409. data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff2 +0 -0
  410. data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.ttf +0 -0
  411. data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff +0 -0
  412. data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff2 +0 -0
  413. data/assets/uswds/fonts/public-sans/PublicSans-Regular.ttf +0 -0
  414. data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff +0 -0
  415. data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff2 +0 -0
  416. data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.ttf +0 -0
  417. data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff +0 -0
  418. data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff2 +0 -0
  419. data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.ttf +0 -0
  420. data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff +0 -0
  421. data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff2 +0 -0
  422. data/assets/uswds/fonts/public-sans/PublicSans-Thin.ttf +0 -0
  423. data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff +0 -0
  424. data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff2 +0 -0
  425. data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.ttf +0 -0
  426. data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff +0 -0
  427. data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff2 +0 -0
  428. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.ttf +0 -0
  429. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff +0 -0
  430. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff2 +0 -0
  431. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.ttf +0 -0
  432. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff +0 -0
  433. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff2 +0 -0
  434. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.ttf +0 -0
  435. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff +0 -0
  436. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff2 +0 -0
  437. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.ttf +0 -0
  438. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff +0 -0
  439. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff2 +0 -0
  440. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.ttf +0 -0
  441. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff +0 -0
  442. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff2 +0 -0
  443. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.ttf +0 -0
  444. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff +0 -0
  445. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff2 +0 -0
  446. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.ttf +0 -0
  447. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff +0 -0
  448. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff2 +0 -0
  449. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.ttf +0 -0
  450. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff +0 -0
  451. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff2 +0 -0
  452. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.ttf +0 -0
  453. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff +0 -0
  454. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff2 +0 -0
  455. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.ttf +0 -0
  456. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff +0 -0
  457. data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff2 +0 -0
  458. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.ttf +0 -0
  459. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff +0 -0
  460. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff2 +0 -0
  461. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.ttf +0 -0
  462. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff +0 -0
  463. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff2 +0 -0
  464. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.ttf +0 -0
  465. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff +0 -0
  466. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2 +0 -0
  467. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.ttf +0 -0
  468. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff +0 -0
  469. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2 +0 -0
  470. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.ttf +0 -0
  471. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff +0 -0
  472. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff2 +0 -0
  473. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.ttf +0 -0
  474. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff +0 -0
  475. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff2 +0 -0
  476. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.ttf +0 -0
  477. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff +0 -0
  478. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2 +0 -0
  479. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.ttf +0 -0
  480. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff +0 -0
  481. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff2 +0 -0
  482. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.ttf +0 -0
  483. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff +0 -0
  484. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2 +0 -0
  485. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.ttf +0 -0
  486. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff +0 -0
  487. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2 +0 -0
  488. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.ttf +0 -0
  489. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff +0 -0
  490. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff2 +0 -0
  491. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.ttf +0 -0
  492. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff +0 -0
  493. data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff2 +0 -0
  494. data/assets/uswds/img/alerts/error.svg +4 -17
  495. data/assets/uswds/img/alerts/info.svg +4 -18
  496. data/assets/uswds/img/alerts/success.svg +1 -12
  497. data/assets/uswds/img/alerts/warning.svg +4 -16
  498. data/assets/uswds/img/angle-arrow-down-hover.svg +1 -1
  499. data/assets/uswds/img/angle-arrow-down-primary-hover.svg +1 -1
  500. data/assets/uswds/img/angle-arrow-down-primary.svg +1 -1
  501. data/assets/uswds/img/angle-arrow-down-white.svg +1 -0
  502. data/assets/uswds/img/angle-arrow-down.svg +1 -1
  503. data/assets/uswds/img/angle-arrow-up-primary-hover.svg +1 -1
  504. data/assets/uswds/img/angle-arrow-up-primary.svg +1 -1
  505. data/assets/uswds/img/angle-arrow-up-white.svg +1 -0
  506. data/assets/uswds/img/arrow-both.svg +1 -1
  507. data/assets/uswds/img/arrow-down.svg +1 -1
  508. data/assets/uswds/img/arrow-right.svg +1 -1
  509. data/assets/uswds/img/checkbox-check-print.svg +1 -0
  510. data/assets/uswds/img/circle-124.png +0 -0
  511. data/assets/uswds/img/close-blue-30-alt.svg +3 -0
  512. data/assets/uswds/img/close-blue-40v-alt.svg +3 -0
  513. data/assets/uswds/img/close-blue-50-alt.svg +3 -0
  514. data/assets/uswds/img/close-blue-50v-alt.svg +3 -0
  515. data/assets/uswds/img/close-blue-60-alt.svg +3 -0
  516. data/assets/uswds/img/close-blue-60v-alt.svg +3 -0
  517. data/assets/uswds/img/close-gray-90-alt.svg +3 -0
  518. data/assets/uswds/img/close-primary.svg +1 -16
  519. data/assets/uswds/img/close-white-alt.svg +3 -0
  520. data/assets/uswds/img/close-white.svg +3 -0
  521. data/assets/uswds/img/close.svg +1 -12
  522. data/assets/uswds/img/correct8-alt.png +0 -0
  523. data/assets/uswds/img/correct8-alt.svg +1 -0
  524. data/assets/uswds/img/correct8.svg +1 -1
  525. data/assets/uswds/img/correct9.svg +1 -1
  526. data/assets/uswds/img/external-link-alt-hover.svg +1 -1
  527. data/assets/uswds/img/external-link-alt.svg +1 -1
  528. data/assets/uswds/img/external-link-hover.svg +1 -1
  529. data/assets/uswds/img/external-link.svg +1 -1
  530. data/assets/uswds/img/favicons/favicon-114.png +0 -0
  531. data/assets/uswds/img/favicons/favicon-144.png +0 -0
  532. data/assets/uswds/img/favicons/favicon-16.png +0 -0
  533. data/assets/uswds/img/favicons/favicon-192.png +0 -0
  534. data/assets/uswds/img/favicons/favicon-40.png +0 -0
  535. data/assets/uswds/img/favicons/favicon-57.png +0 -0
  536. data/assets/uswds/img/favicons/favicon-72.png +0 -0
  537. data/assets/uswds/img/favicons/favicon.ico +0 -0
  538. data/assets/uswds/img/favicons/favicon.png +0 -0
  539. data/assets/uswds/img/hero.png +0 -0
  540. data/assets/uswds/img/icon-dot-gov.svg +1 -1
  541. data/assets/uswds/img/icon-https.svg +1 -1
  542. data/assets/uswds/img/minus-alt.svg +1 -1
  543. data/assets/uswds/img/minus.svg +1 -1
  544. data/assets/uswds/img/plus-alt.svg +1 -1
  545. data/assets/uswds/img/plus.svg +1 -1
  546. data/assets/uswds/img/search-alt.svg +1 -1
  547. data/assets/uswds/img/search-primary.svg +1 -12
  548. data/assets/uswds/img/search.svg +1 -1
  549. data/assets/uswds/img/social-icons/facebook25.png +0 -0
  550. data/assets/uswds/img/social-icons/{svg/facebook25.svg → facebook25.svg} +1 -1
  551. data/assets/uswds/img/social-icons/rss25.png +0 -0
  552. data/assets/uswds/img/social-icons/{svg/rss25.svg → rss25.svg} +1 -1
  553. data/assets/uswds/img/social-icons/twitter16.png +0 -0
  554. data/assets/uswds/img/social-icons/{svg/twitter16.svg → twitter16.svg} +1 -1
  555. data/assets/uswds/img/social-icons/youtube15.png +0 -0
  556. data/assets/uswds/img/social-icons/{svg/youtube15.svg → youtube15.svg} +1 -1
  557. data/assets/uswds/js/uswds.js +1716 -844
  558. data/assets/uswds/js/uswds.min.js +1 -1
  559. data/assets/uswds/js/uswds.min.js.map +1 -1
  560. metadata +515 -218
  561. data/_includes/components/footer--medium.html +0 -100
  562. data/_includes/components/header--basic.html +0 -74
  563. data/_includes/components/header--extended.html +0 -89
  564. data/_sass/uswds/_all.scss +0 -1
  565. data/_sass/uswds/components/_accordions.scss +0 -150
  566. data/_sass/uswds/components/_alerts.scss +0 -125
  567. data/_sass/uswds/components/_banner.scss +0 -204
  568. data/_sass/uswds/components/_forms.scss +0 -164
  569. data/_sass/uswds/components/_graphic-list.scss +0 -35
  570. data/_sass/uswds/components/_layout.scss +0 -36
  571. data/_sass/uswds/components/_media-block.scss +0 -12
  572. data/_sass/uswds/components/_navigation.scss +0 -549
  573. data/_sass/uswds/components/_search.scss +0 -111
  574. data/_sass/uswds/components/_section.scss +0 -37
  575. data/_sass/uswds/components/_sidenav.scss +0 -8
  576. data/_sass/uswds/core/_base.scss +0 -35
  577. data/_sass/uswds/core/_fonts.scss +0 -65
  578. data/_sass/uswds/core/_grid-settings.scss +0 -3
  579. data/_sass/uswds/core/_grid.scss +0 -199
  580. data/_sass/uswds/core/_utilities.scss +0 -252
  581. data/_sass/uswds/core/_variables.scss +0 -155
  582. data/_sass/uswds/elements/_buttons.scss +0 -217
  583. data/_sass/uswds/elements/_inputs.scss +0 -351
  584. data/_sass/uswds/elements/_labels.scss +0 -20
  585. data/_sass/uswds/elements/_list.scss +0 -32
  586. data/_sass/uswds/elements/_table.scss +0 -55
  587. data/_sass/uswds/elements/_typography.scss +0 -260
  588. data/_sass/uswds/lib/_bourbon-deprecated-upcoming.scss +0 -411
  589. data/_sass/uswds/lib/_bourbon.scss +0 -87
  590. data/_sass/uswds/lib/_neat-helpers.scss +0 -11
  591. data/_sass/uswds/lib/_neat.scss +0 -23
  592. data/_sass/uswds/lib/_normalize.scss +0 -424
  593. data/_sass/uswds/lib/addons/_border-color.scss +0 -26
  594. data/_sass/uswds/lib/addons/_border-radius.scss +0 -48
  595. data/_sass/uswds/lib/addons/_border-style.scss +0 -25
  596. data/_sass/uswds/lib/addons/_border-width.scss +0 -25
  597. data/_sass/uswds/lib/addons/_buttons.scss +0 -64
  598. data/_sass/uswds/lib/addons/_clearfix.scss +0 -25
  599. data/_sass/uswds/lib/addons/_ellipsis.scss +0 -30
  600. data/_sass/uswds/lib/addons/_font-stacks.scss +0 -31
  601. data/_sass/uswds/lib/addons/_hide-text.scss +0 -27
  602. data/_sass/uswds/lib/addons/_margin.scss +0 -26
  603. data/_sass/uswds/lib/addons/_padding.scss +0 -26
  604. data/_sass/uswds/lib/addons/_position.scss +0 -48
  605. data/_sass/uswds/lib/addons/_prefixer.scss +0 -66
  606. data/_sass/uswds/lib/addons/_retina-image.scss +0 -25
  607. data/_sass/uswds/lib/addons/_size.scss +0 -51
  608. data/_sass/uswds/lib/addons/_text-inputs.scss +0 -113
  609. data/_sass/uswds/lib/addons/_timing-functions.scss +0 -34
  610. data/_sass/uswds/lib/addons/_triangle.scss +0 -63
  611. data/_sass/uswds/lib/addons/_word-wrap.scss +0 -29
  612. data/_sass/uswds/lib/css3/_animation.scss +0 -43
  613. data/_sass/uswds/lib/css3/_appearance.scss +0 -3
  614. data/_sass/uswds/lib/css3/_backface-visibility.scss +0 -3
  615. data/_sass/uswds/lib/css3/_background-image.scss +0 -42
  616. data/_sass/uswds/lib/css3/_background.scss +0 -55
  617. data/_sass/uswds/lib/css3/_border-image.scss +0 -59
  618. data/_sass/uswds/lib/css3/_calc.scss +0 -4
  619. data/_sass/uswds/lib/css3/_columns.scss +0 -47
  620. data/_sass/uswds/lib/css3/_filter.scss +0 -4
  621. data/_sass/uswds/lib/css3/_flex-box.scss +0 -287
  622. data/_sass/uswds/lib/css3/_font-face.scss +0 -24
  623. data/_sass/uswds/lib/css3/_font-feature-settings.scss +0 -4
  624. data/_sass/uswds/lib/css3/_hidpi-media-query.scss +0 -10
  625. data/_sass/uswds/lib/css3/_hyphens.scss +0 -4
  626. data/_sass/uswds/lib/css3/_image-rendering.scss +0 -14
  627. data/_sass/uswds/lib/css3/_keyframes.scss +0 -36
  628. data/_sass/uswds/lib/css3/_linear-gradient.scss +0 -38
  629. data/_sass/uswds/lib/css3/_perspective.scss +0 -8
  630. data/_sass/uswds/lib/css3/_placeholder.scss +0 -8
  631. data/_sass/uswds/lib/css3/_radial-gradient.scss +0 -39
  632. data/_sass/uswds/lib/css3/_selection.scss +0 -42
  633. data/_sass/uswds/lib/css3/_text-decoration.scss +0 -19
  634. data/_sass/uswds/lib/css3/_transform.scss +0 -15
  635. data/_sass/uswds/lib/css3/_transition.scss +0 -71
  636. data/_sass/uswds/lib/css3/_user-select.scss +0 -3
  637. data/_sass/uswds/lib/functions/_assign-inputs.scss +0 -11
  638. data/_sass/uswds/lib/functions/_contains-falsy.scss +0 -20
  639. data/_sass/uswds/lib/functions/_contains.scss +0 -26
  640. data/_sass/uswds/lib/functions/_is-length.scss +0 -11
  641. data/_sass/uswds/lib/functions/_is-light.scss +0 -21
  642. data/_sass/uswds/lib/functions/_is-number.scss +0 -11
  643. data/_sass/uswds/lib/functions/_is-size.scss +0 -13
  644. data/_sass/uswds/lib/functions/_modular-scale.scss +0 -69
  645. data/_sass/uswds/lib/functions/_new-breakpoint.scss +0 -49
  646. data/_sass/uswds/lib/functions/_private.scss +0 -114
  647. data/_sass/uswds/lib/functions/_px-to-em.scss +0 -13
  648. data/_sass/uswds/lib/functions/_px-to-rem.scss +0 -15
  649. data/_sass/uswds/lib/functions/_shade.scss +0 -24
  650. data/_sass/uswds/lib/functions/_strip-units.scss +0 -17
  651. data/_sass/uswds/lib/functions/_tint.scss +0 -24
  652. data/_sass/uswds/lib/functions/_transition-property-name.scss +0 -22
  653. data/_sass/uswds/lib/functions/_unpack.scss +0 -27
  654. data/_sass/uswds/lib/grid/_box-sizing.scss +0 -15
  655. data/_sass/uswds/lib/grid/_direction-context.scss +0 -33
  656. data/_sass/uswds/lib/grid/_display-context.scss +0 -28
  657. data/_sass/uswds/lib/grid/_fill-parent.scss +0 -22
  658. data/_sass/uswds/lib/grid/_media.scss +0 -92
  659. data/_sass/uswds/lib/grid/_omega.scss +0 -87
  660. data/_sass/uswds/lib/grid/_outer-container.scss +0 -34
  661. data/_sass/uswds/lib/grid/_pad.scss +0 -25
  662. data/_sass/uswds/lib/grid/_private.scss +0 -35
  663. data/_sass/uswds/lib/grid/_row.scss +0 -52
  664. data/_sass/uswds/lib/grid/_shift.scss +0 -50
  665. data/_sass/uswds/lib/grid/_span-columns.scss +0 -94
  666. data/_sass/uswds/lib/grid/_to-deprecate.scss +0 -97
  667. data/_sass/uswds/lib/grid/_visual-grid.scss +0 -42
  668. data/_sass/uswds/lib/helpers/_convert-units.scss +0 -21
  669. data/_sass/uswds/lib/helpers/_directional-values.scss +0 -96
  670. data/_sass/uswds/lib/helpers/_font-source-declaration.scss +0 -43
  671. data/_sass/uswds/lib/helpers/_gradient-positions-parser.scss +0 -13
  672. data/_sass/uswds/lib/helpers/_linear-angle-parser.scss +0 -25
  673. data/_sass/uswds/lib/helpers/_linear-gradient-parser.scss +0 -41
  674. data/_sass/uswds/lib/helpers/_linear-positions-parser.scss +0 -61
  675. data/_sass/uswds/lib/helpers/_linear-side-corner-parser.scss +0 -31
  676. data/_sass/uswds/lib/helpers/_radial-arg-parser.scss +0 -69
  677. data/_sass/uswds/lib/helpers/_radial-gradient-parser.scss +0 -50
  678. data/_sass/uswds/lib/helpers/_radial-positions-parser.scss +0 -18
  679. data/_sass/uswds/lib/helpers/_render-gradients.scss +0 -26
  680. data/_sass/uswds/lib/helpers/_shape-size-stripper.scss +0 -10
  681. data/_sass/uswds/lib/helpers/_str-to-num.scss +0 -50
  682. data/_sass/uswds/lib/mixins/_clearfix.scss +0 -25
  683. data/_sass/uswds/lib/settings/_asset-pipeline.scss +0 -7
  684. data/_sass/uswds/lib/settings/_disable-warnings.scss +0 -13
  685. data/_sass/uswds/lib/settings/_grid.scss +0 -51
  686. data/_sass/uswds/lib/settings/_prefixer.scss +0 -9
  687. data/_sass/uswds/lib/settings/_px-to-em.scss +0 -1
  688. data/_sass/uswds/lib/settings/_visual-grid.scss +0 -27
  689. data/_sass/uswds/uswds.scss +0 -41
  690. data/assets/uswds/css/uswds.css +0 -4849
  691. data/assets/uswds/css/uswds.min.css +0 -4
  692. data/assets/uswds/css/uswds.min.css.map +0 -1
  693. data/assets/uswds/fonts/merriweather-bold-webfont.eot +0 -0
  694. data/assets/uswds/fonts/merriweather-bold-webfont.ttf +0 -0
  695. data/assets/uswds/fonts/merriweather-bold-webfont.woff +0 -0
  696. data/assets/uswds/fonts/merriweather-bold-webfont.woff2 +0 -0
  697. data/assets/uswds/fonts/merriweather-italic-webfont.eot +0 -0
  698. data/assets/uswds/fonts/merriweather-italic-webfont.ttf +0 -0
  699. data/assets/uswds/fonts/merriweather-italic-webfont.woff +0 -0
  700. data/assets/uswds/fonts/merriweather-italic-webfont.woff2 +0 -0
  701. data/assets/uswds/fonts/merriweather-light-webfont.eot +0 -0
  702. data/assets/uswds/fonts/merriweather-light-webfont.ttf +0 -0
  703. data/assets/uswds/fonts/merriweather-light-webfont.woff +0 -0
  704. data/assets/uswds/fonts/merriweather-light-webfont.woff2 +0 -0
  705. data/assets/uswds/fonts/merriweather-regular-webfont.eot +0 -0
  706. data/assets/uswds/fonts/merriweather-regular-webfont.ttf +0 -0
  707. data/assets/uswds/fonts/merriweather-regular-webfont.woff +0 -0
  708. data/assets/uswds/fonts/merriweather-regular-webfont.woff2 +0 -0
  709. data/assets/uswds/fonts/sourcesanspro-bold-webfont.eot +0 -0
  710. data/assets/uswds/fonts/sourcesanspro-bold-webfont.ttf +0 -0
  711. data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff +0 -0
  712. data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
  713. data/assets/uswds/fonts/sourcesanspro-italic-webfont.eot +0 -0
  714. data/assets/uswds/fonts/sourcesanspro-italic-webfont.ttf +0 -0
  715. data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff +0 -0
  716. data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
  717. data/assets/uswds/fonts/sourcesanspro-light-webfont.eot +0 -0
  718. data/assets/uswds/fonts/sourcesanspro-light-webfont.ttf +0 -0
  719. data/assets/uswds/fonts/sourcesanspro-light-webfont.woff +0 -0
  720. data/assets/uswds/fonts/sourcesanspro-light-webfont.woff2 +0 -0
  721. data/assets/uswds/fonts/sourcesanspro-regular-webfont.eot +0 -0
  722. data/assets/uswds/fonts/sourcesanspro-regular-webfont.ttf +0 -0
  723. data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff +0 -0
  724. data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
  725. data/assets/uswds/img/alerts/error.png +0 -0
  726. data/assets/uswds/img/alerts/info.png +0 -0
  727. data/assets/uswds/img/alerts/success.png +0 -0
  728. data/assets/uswds/img/alerts/warning.png +0 -0
  729. data/assets/uswds/img/angle-arrow-down-hover.png +0 -0
  730. data/assets/uswds/img/angle-arrow-down-primary-hover.png +0 -0
  731. data/assets/uswds/img/angle-arrow-down-primary.png +0 -0
  732. data/assets/uswds/img/angle-arrow-down.png +0 -0
  733. data/assets/uswds/img/angle-arrow-up-primary-hover.png +0 -0
  734. data/assets/uswds/img/angle-arrow-up-primary.png +0 -0
  735. data/assets/uswds/img/arrow-both.png +0 -0
  736. data/assets/uswds/img/arrow-down.png +0 -0
  737. data/assets/uswds/img/arrow-right.png +0 -0
  738. data/assets/uswds/img/close-primary.png +0 -0
  739. data/assets/uswds/img/close.png +0 -0
  740. data/assets/uswds/img/correct8.png +0 -0
  741. data/assets/uswds/img/correct9.png +0 -0
  742. data/assets/uswds/img/external-link-alt-hover.png +0 -0
  743. data/assets/uswds/img/external-link-alt.png +0 -0
  744. data/assets/uswds/img/external-link-hover.png +0 -0
  745. data/assets/uswds/img/external-link.png +0 -0
  746. data/assets/uswds/img/minus-alt.png +0 -0
  747. data/assets/uswds/img/minus.png +0 -0
  748. data/assets/uswds/img/plus-alt.png +0 -0
  749. data/assets/uswds/img/plus.png +0 -0
  750. data/assets/uswds/img/search-alt.png +0 -0
  751. data/assets/uswds/img/search-primary.png +0 -0
  752. data/assets/uswds/img/search.png +0 -0
  753. data/assets/uswds/img/social-icons/png/facebook25.png +0 -0
  754. data/assets/uswds/img/social-icons/png/rss25.png +0 -0
  755. data/assets/uswds/img/social-icons/png/twitter16.png +0 -0
  756. data/assets/uswds/img/social-icons/png/youtube15.png +0 -0
@@ -1,42 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- @mixin grid-column-gradient($values...) {
4
- background-image: -webkit-linear-gradient(left, $values);
5
- background-image: -moz-linear-gradient(left, $values);
6
- background-image: -ms-linear-gradient(left, $values);
7
- background-image: -o-linear-gradient(left, $values);
8
- background-image: unquote("linear-gradient(to left, #{$values})");
9
- }
10
-
11
- @if $visual-grid == true or $visual-grid == yes {
12
- body:before {
13
- @include grid-column-gradient(gradient-stops($grid-columns));
14
- content: "";
15
- display: inline-block;
16
- height: 100%;
17
- left: 0;
18
- margin: 0 auto;
19
- max-width: $max-width;
20
- opacity: $visual-grid-opacity;
21
- pointer-events: none;
22
- position: fixed;
23
- right: 0;
24
- width: 100%;
25
-
26
- @if $visual-grid-index == back {
27
- z-index: -1;
28
- }
29
-
30
- @else if $visual-grid-index == front {
31
- z-index: 9999;
32
- }
33
-
34
- @each $breakpoint in $visual-grid-breakpoints {
35
- @if $breakpoint {
36
- @include media($breakpoint) {
37
- @include grid-column-gradient(gradient-stops($grid-columns));
38
- }
39
- }
40
- }
41
- }
42
- }
@@ -1,21 +0,0 @@
1
- //************************************************************************//
2
- // Helper function for str-to-num fn.
3
- // Source: http://sassmeister.com/gist/9647408
4
- //************************************************************************//
5
- @function _convert-units($number, $unit) {
6
- $strings: "px", "cm", "mm", "%", "ch", "pica", "in", "em", "rem", "pt", "pc", "ex", "vw", "vh", "vmin", "vmax", "deg", "rad", "grad", "turn";
7
- $units: 1px, 1cm, 1mm, 1%, 1ch, 1pica, 1in, 1em, 1rem, 1pt, 1pc, 1ex, 1vw, 1vh, 1vmin, 1vmax, 1deg, 1rad, 1grad, 1turn;
8
- $index: index($strings, $unit);
9
-
10
- @if not $index {
11
- @warn "Unknown unit `#{$unit}`.";
12
- @return false;
13
- }
14
-
15
- @if type-of($number) != "number" {
16
- @warn "`#{$number} is not a number`";
17
- @return false;
18
- }
19
-
20
- @return $number * nth($units, $index);
21
- }
@@ -1,96 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /// Directional-property mixins are shorthands for writing properties like the following
4
- ///
5
- /// @ignore You can also use `false` instead of `null`.
6
- ///
7
- /// @param {List} $vals
8
- /// List of directional values
9
- ///
10
- /// @example scss - Usage
11
- /// .element {
12
- /// @include border-style(dotted null);
13
- /// @include margin(null 0 10px);
14
- /// }
15
- ///
16
- /// @example css - CSS Output
17
- /// .element {
18
- /// border-bottom-style: dotted;
19
- /// border-top-style: dotted;
20
- /// margin-bottom: 10px;
21
- /// margin-left: 0;
22
- /// margin-right: 0;
23
- /// }
24
- ///
25
- /// @require {function} contains-falsy
26
- ///
27
- /// @return {List}
28
-
29
- @function collapse-directionals($vals) {
30
- $output: null;
31
-
32
- $a: nth($vals, 1);
33
- $b: if(length($vals) < 2, $a, nth($vals, 2));
34
- $c: if(length($vals) < 3, $a, nth($vals, 3));
35
- $d: if(length($vals) < 2, $a, nth($vals, if(length($vals) < 4, 2, 4)));
36
-
37
- @if $a == 0 { $a: 0; }
38
- @if $b == 0 { $b: 0; }
39
- @if $c == 0 { $c: 0; }
40
- @if $d == 0 { $d: 0; }
41
-
42
- @if $a == $b and $a == $c and $a == $d { $output: $a; }
43
- @else if $a == $c and $b == $d { $output: $a $b; }
44
- @else if $b == $d { $output: $a $b $c; }
45
- @else { $output: $a $b $c $d; }
46
-
47
- @return $output;
48
- }
49
-
50
- /// Output directional properties, for instance `margin`.
51
- ///
52
- /// @access private
53
- ///
54
- /// @param {String} $pre
55
- /// Prefix to use
56
- /// @param {String} $suf
57
- /// Suffix to use
58
- /// @param {List} $vals
59
- /// List of values
60
- ///
61
- /// @require {function} collapse-directionals
62
- /// @require {function} contains-falsy
63
-
64
- @mixin directional-property($pre, $suf, $vals) {
65
- // Property Names
66
- $top: $pre + "-top" + if($suf, "-#{$suf}", "");
67
- $bottom: $pre + "-bottom" + if($suf, "-#{$suf}", "");
68
- $left: $pre + "-left" + if($suf, "-#{$suf}", "");
69
- $right: $pre + "-right" + if($suf, "-#{$suf}", "");
70
- $all: $pre + if($suf, "-#{$suf}", "");
71
-
72
- $vals: collapse-directionals($vals);
73
-
74
- @if contains-falsy($vals) {
75
- @if nth($vals, 1) { #{$top}: nth($vals, 1); }
76
-
77
- @if length($vals) == 1 {
78
- @if nth($vals, 1) { #{$right}: nth($vals, 1); }
79
- } @else {
80
- @if nth($vals, 2) { #{$right}: nth($vals, 2); }
81
- }
82
-
83
- @if length($vals) == 2 {
84
- @if nth($vals, 1) { #{$bottom}: nth($vals, 1); }
85
- @if nth($vals, 2) { #{$left}: nth($vals, 2); }
86
- } @else if length($vals) == 3 {
87
- @if nth($vals, 3) { #{$bottom}: nth($vals, 3); }
88
- @if nth($vals, 2) { #{$left}: nth($vals, 2); }
89
- } @else if length($vals) == 4 {
90
- @if nth($vals, 3) { #{$bottom}: nth($vals, 3); }
91
- @if nth($vals, 4) { #{$left}: nth($vals, 4); }
92
- }
93
- } @else {
94
- #{$all}: $vals;
95
- }
96
- }
@@ -1,43 +0,0 @@
1
- // Used for creating the source string for fonts using @font-face
2
- // Reference: http://goo.gl/Ru1bKP
3
-
4
- @function font-url-prefixer($asset-pipeline) {
5
- @if $asset-pipeline == true {
6
- @return font-url;
7
- } @else {
8
- @return url;
9
- }
10
- }
11
-
12
- @function font-source-declaration(
13
- $font-family,
14
- $file-path,
15
- $asset-pipeline,
16
- $file-formats,
17
- $font-url) {
18
-
19
- $src: ();
20
-
21
- $formats-map: (
22
- eot: "#{$file-path}.eot?#iefix" format("embedded-opentype"),
23
- woff2: "#{$file-path}.woff2" format("woff2"),
24
- woff: "#{$file-path}.woff" format("woff"),
25
- ttf: "#{$file-path}.ttf" format("truetype"),
26
- svg: "#{$file-path}.svg##{$font-family}" format("svg")
27
- );
28
-
29
- @each $key, $values in $formats-map {
30
- @if contains($file-formats, $key) {
31
- $file-path: nth($values, 1);
32
- $font-format: nth($values, 2);
33
-
34
- @if $asset-pipeline == true {
35
- $src: append($src, font-url($file-path) $font-format, comma);
36
- } @else {
37
- $src: append($src, url($file-path) $font-format, comma);
38
- }
39
- }
40
- }
41
-
42
- @return $src;
43
- }
@@ -1,13 +0,0 @@
1
- @function _gradient-positions-parser($gradient-type, $gradient-positions) {
2
- @if $gradient-positions
3
- and ($gradient-type == linear)
4
- and (type-of($gradient-positions) != color) {
5
- $gradient-positions: _linear-positions-parser($gradient-positions);
6
- }
7
- @else if $gradient-positions
8
- and ($gradient-type == radial)
9
- and (type-of($gradient-positions) != color) {
10
- $gradient-positions: _radial-positions-parser($gradient-positions);
11
- }
12
- @return $gradient-positions;
13
- }
@@ -1,25 +0,0 @@
1
- // Private function for linear-gradient-parser
2
- @function _linear-angle-parser($image, $first-val, $prefix, $suffix) {
3
- $offset: null;
4
- $unit-short: str-slice($first-val, str-length($first-val) - 2, str-length($first-val));
5
- $unit-long: str-slice($first-val, str-length($first-val) - 3, str-length($first-val));
6
-
7
- @if ($unit-long == "grad") or
8
- ($unit-long == "turn") {
9
- $offset: if($unit-long == "grad", -100grad * 3, -0.75turn);
10
- }
11
-
12
- @else if ($unit-short == "deg") or
13
- ($unit-short == "rad") {
14
- $offset: if($unit-short == "deg", -90 * 3, 1.6rad);
15
- }
16
-
17
- @if $offset {
18
- $num: _str-to-num($first-val);
19
-
20
- @return (
21
- webkit-image: -webkit- + $prefix + ($offset - $num) + $suffix,
22
- spec-image: $image
23
- );
24
- }
25
- }
@@ -1,41 +0,0 @@
1
- @function _linear-gradient-parser($image) {
2
- $image: unquote($image);
3
- $gradients: ();
4
- $start: str-index($image, "(");
5
- $end: str-index($image, ",");
6
- $first-val: str-slice($image, $start + 1, $end - 1);
7
-
8
- $prefix: str-slice($image, 1, $start);
9
- $suffix: str-slice($image, $end, str-length($image));
10
-
11
- $has-multiple-vals: str-index($first-val, " ");
12
- $has-single-position: unquote(_position-flipper($first-val) + "");
13
- $has-angle: is-number(str-slice($first-val, 1, 1));
14
-
15
- @if $has-multiple-vals {
16
- $gradients: _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals);
17
- }
18
-
19
- @else if $has-single-position != "" {
20
- $pos: unquote($has-single-position + "");
21
-
22
- $gradients: (
23
- webkit-image: -webkit- + $image,
24
- spec-image: $prefix + "to " + $pos + $suffix
25
- );
26
- }
27
-
28
- @else if $has-angle {
29
- // Rotate degree for webkit
30
- $gradients: _linear-angle-parser($image, $first-val, $prefix, $suffix);
31
- }
32
-
33
- @else {
34
- $gradients: (
35
- webkit-image: -webkit- + $image,
36
- spec-image: $image
37
- );
38
- }
39
-
40
- @return $gradients;
41
- }
@@ -1,61 +0,0 @@
1
- @function _linear-positions-parser($pos) {
2
- $type: type-of(nth($pos, 1));
3
- $spec: null;
4
- $degree: null;
5
- $side: null;
6
- $corner: null;
7
- $length: length($pos);
8
- // Parse Side and corner positions
9
- @if ($length > 1) {
10
- @if nth($pos, 1) == "to" { // Newer syntax
11
- $side: nth($pos, 2);
12
-
13
- @if $length == 2 { // eg. to top
14
- // Swap for backwards compatibility
15
- $degree: _position-flipper(nth($pos, 2));
16
- }
17
- @else if $length == 3 { // eg. to top left
18
- $corner: nth($pos, 3);
19
- }
20
- }
21
- @else if $length == 2 { // Older syntax ("top left")
22
- $side: _position-flipper(nth($pos, 1));
23
- $corner: _position-flipper(nth($pos, 2));
24
- }
25
-
26
- @if ("#{$side} #{$corner}" == "left top") or ("#{$side} #{$corner}" == "top left") {
27
- $degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
28
- }
29
- @else if ("#{$side} #{$corner}" == "right top") or ("#{$side} #{$corner}" == "top right") {
30
- $degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
31
- }
32
- @else if ("#{$side} #{$corner}" == "right bottom") or ("#{$side} #{$corner}" == "bottom right") {
33
- $degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
34
- }
35
- @else if ("#{$side} #{$corner}" == "left bottom") or ("#{$side} #{$corner}" == "bottom left") {
36
- $degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
37
- }
38
- $spec: to $side $corner;
39
- }
40
- @else if $length == 1 {
41
- // Swap for backwards compatibility
42
- @if $type == string {
43
- $degree: $pos;
44
- $spec: to _position-flipper($pos);
45
- }
46
- @else {
47
- $degree: -270 - $pos; //rotate the gradient opposite from spec
48
- $spec: $pos;
49
- }
50
- }
51
- $degree: unquote($degree + ",");
52
- $spec: unquote($spec + ",");
53
- @return $degree $spec;
54
- }
55
-
56
- @function _position-flipper($pos) {
57
- @return if($pos == left, right, null)
58
- if($pos == right, left, null)
59
- if($pos == top, bottom, null)
60
- if($pos == bottom, top, null);
61
- }
@@ -1,31 +0,0 @@
1
- // Private function for linear-gradient-parser
2
- @function _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals) {
3
- $val-1: str-slice($first-val, 1, $has-multiple-vals - 1);
4
- $val-2: str-slice($first-val, $has-multiple-vals + 1, str-length($first-val));
5
- $val-3: null;
6
- $has-val-3: str-index($val-2, " ");
7
-
8
- @if $has-val-3 {
9
- $val-3: str-slice($val-2, $has-val-3 + 1, str-length($val-2));
10
- $val-2: str-slice($val-2, 1, $has-val-3 - 1);
11
- }
12
-
13
- $pos: _position-flipper($val-1) _position-flipper($val-2) _position-flipper($val-3);
14
- $pos: unquote($pos + "");
15
-
16
- // Use old spec for webkit
17
- @if $val-1 == "to" {
18
- @return (
19
- webkit-image: -webkit- + $prefix + $pos + $suffix,
20
- spec-image: $image
21
- );
22
- }
23
-
24
- // Bring the code up to spec
25
- @else {
26
- @return (
27
- webkit-image: -webkit- + $image,
28
- spec-image: $prefix + "to " + $pos + $suffix
29
- );
30
- }
31
- }
@@ -1,69 +0,0 @@
1
- @function _radial-arg-parser($g1, $g2, $pos, $shape-size) {
2
- @each $value in $g1, $g2 {
3
- $first-val: nth($value, 1);
4
- $pos-type: type-of($first-val);
5
- $spec-at-index: null;
6
-
7
- // Determine if spec was passed to mixin
8
- @if type-of($value) == list {
9
- $spec-at-index: if(index($value, at), index($value, at), false);
10
- }
11
- @if $spec-at-index {
12
- @if $spec-at-index > 1 {
13
- @for $i from 1 through ($spec-at-index - 1) {
14
- $shape-size: $shape-size nth($value, $i);
15
- }
16
- @for $i from ($spec-at-index + 1) through length($value) {
17
- $pos: $pos nth($value, $i);
18
- }
19
- }
20
- @else if $spec-at-index == 1 {
21
- @for $i from ($spec-at-index + 1) through length($value) {
22
- $pos: $pos nth($value, $i);
23
- }
24
- }
25
- $g1: null;
26
- }
27
-
28
- // If not spec calculate correct values
29
- @else {
30
- @if ($pos-type != color) or ($first-val != "transparent") {
31
- @if ($pos-type == number)
32
- or ($first-val == "center")
33
- or ($first-val == "top")
34
- or ($first-val == "right")
35
- or ($first-val == "bottom")
36
- or ($first-val == "left") {
37
-
38
- $pos: $value;
39
-
40
- @if $pos == $g1 {
41
- $g1: null;
42
- }
43
- }
44
-
45
- @else if
46
- ($first-val == "ellipse")
47
- or ($first-val == "circle")
48
- or ($first-val == "closest-side")
49
- or ($first-val == "closest-corner")
50
- or ($first-val == "farthest-side")
51
- or ($first-val == "farthest-corner")
52
- or ($first-val == "contain")
53
- or ($first-val == "cover") {
54
-
55
- $shape-size: $value;
56
-
57
- @if $value == $g1 {
58
- $g1: null;
59
- }
60
-
61
- @else if $value == $g2 {
62
- $g2: null;
63
- }
64
- }
65
- }
66
- }
67
- }
68
- @return $g1, $g2, $pos, $shape-size;
69
- }