federalist-basic-report-theme 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +13 -0
  3. data/_sass/uswds/_all.scss +1 -0
  4. data/_sass/uswds/components/_accordions.scss +150 -0
  5. data/_sass/uswds/components/_alerts.scss +128 -0
  6. data/_sass/uswds/components/_banner.scss +203 -0
  7. data/_sass/uswds/components/_footer.scss +522 -0
  8. data/_sass/uswds/components/_forms.scss +156 -0
  9. data/_sass/uswds/components/_graphic-list.scss +35 -0
  10. data/_sass/uswds/components/_header.scss +216 -0
  11. data/_sass/uswds/components/_hero.scss +37 -0
  12. data/_sass/uswds/components/_layout.scss +36 -0
  13. data/_sass/uswds/components/_media-block.scss +12 -0
  14. data/_sass/uswds/components/_navigation.scss +561 -0
  15. data/_sass/uswds/components/_search.scss +111 -0
  16. data/_sass/uswds/components/_section.scss +37 -0
  17. data/_sass/uswds/components/_sidenav.scss +31 -0
  18. data/_sass/uswds/components/_skipnav.scss +19 -0
  19. data/_sass/uswds/core/_base.scss +36 -0
  20. data/_sass/uswds/core/_defaults.scss +8 -0
  21. data/_sass/uswds/core/_fonts.scss +65 -0
  22. data/_sass/uswds/core/_grid-settings.scss +3 -0
  23. data/_sass/uswds/core/_grid.scss +198 -0
  24. data/_sass/uswds/core/_utilities.scss +252 -0
  25. data/_sass/uswds/core/_variables-vendor.scss +12 -0
  26. data/_sass/uswds/core/_variables.scss +159 -0
  27. data/_sass/uswds/elements/_buttons.scss +217 -0
  28. data/_sass/uswds/elements/_embed.scss +26 -0
  29. data/_sass/uswds/elements/_figure.scss +13 -0
  30. data/_sass/uswds/elements/_inputs.scss +368 -0
  31. data/_sass/uswds/elements/_labels.scss +20 -0
  32. data/_sass/uswds/elements/_list.scss +32 -0
  33. data/_sass/uswds/elements/_table.scss +55 -0
  34. data/_sass/uswds/elements/_typography.scss +240 -0
  35. data/_sass/uswds/lib/_bourbon-deprecated-upcoming.scss +411 -0
  36. data/_sass/uswds/lib/_bourbon.scss +87 -0
  37. data/_sass/uswds/lib/_neat-helpers.scss +11 -0
  38. data/_sass/uswds/lib/_neat.scss +23 -0
  39. data/_sass/uswds/lib/_normalize.scss +424 -0
  40. data/_sass/uswds/lib/addons/_border-color.scss +26 -0
  41. data/_sass/uswds/lib/addons/_border-radius.scss +48 -0
  42. data/_sass/uswds/lib/addons/_border-style.scss +25 -0
  43. data/_sass/uswds/lib/addons/_border-width.scss +25 -0
  44. data/_sass/uswds/lib/addons/_buttons.scss +64 -0
  45. data/_sass/uswds/lib/addons/_clearfix.scss +25 -0
  46. data/_sass/uswds/lib/addons/_ellipsis.scss +30 -0
  47. data/_sass/uswds/lib/addons/_font-stacks.scss +31 -0
  48. data/_sass/uswds/lib/addons/_hide-text.scss +27 -0
  49. data/_sass/uswds/lib/addons/_margin.scss +26 -0
  50. data/_sass/uswds/lib/addons/_padding.scss +26 -0
  51. data/_sass/uswds/lib/addons/_position.scss +48 -0
  52. data/_sass/uswds/lib/addons/_prefixer.scss +66 -0
  53. data/_sass/uswds/lib/addons/_retina-image.scss +25 -0
  54. data/_sass/uswds/lib/addons/_size.scss +51 -0
  55. data/_sass/uswds/lib/addons/_text-inputs.scss +113 -0
  56. data/_sass/uswds/lib/addons/_timing-functions.scss +34 -0
  57. data/_sass/uswds/lib/addons/_triangle.scss +63 -0
  58. data/_sass/uswds/lib/addons/_word-wrap.scss +29 -0
  59. data/_sass/uswds/lib/css3/_animation.scss +43 -0
  60. data/_sass/uswds/lib/css3/_appearance.scss +3 -0
  61. data/_sass/uswds/lib/css3/_backface-visibility.scss +3 -0
  62. data/_sass/uswds/lib/css3/_background-image.scss +42 -0
  63. data/_sass/uswds/lib/css3/_background.scss +55 -0
  64. data/_sass/uswds/lib/css3/_border-image.scss +59 -0
  65. data/_sass/uswds/lib/css3/_calc.scss +4 -0
  66. data/_sass/uswds/lib/css3/_columns.scss +47 -0
  67. data/_sass/uswds/lib/css3/_filter.scss +4 -0
  68. data/_sass/uswds/lib/css3/_flex-box.scss +287 -0
  69. data/_sass/uswds/lib/css3/_font-face.scss +24 -0
  70. data/_sass/uswds/lib/css3/_font-feature-settings.scss +4 -0
  71. data/_sass/uswds/lib/css3/_hidpi-media-query.scss +10 -0
  72. data/_sass/uswds/lib/css3/_hyphens.scss +4 -0
  73. data/_sass/uswds/lib/css3/_image-rendering.scss +14 -0
  74. data/_sass/uswds/lib/css3/_keyframes.scss +36 -0
  75. data/_sass/uswds/lib/css3/_linear-gradient.scss +38 -0
  76. data/_sass/uswds/lib/css3/_perspective.scss +8 -0
  77. data/_sass/uswds/lib/css3/_placeholder.scss +8 -0
  78. data/_sass/uswds/lib/css3/_radial-gradient.scss +39 -0
  79. data/_sass/uswds/lib/css3/_selection.scss +42 -0
  80. data/_sass/uswds/lib/css3/_text-decoration.scss +19 -0
  81. data/_sass/uswds/lib/css3/_transform.scss +15 -0
  82. data/_sass/uswds/lib/css3/_transition.scss +71 -0
  83. data/_sass/uswds/lib/css3/_user-select.scss +3 -0
  84. data/_sass/uswds/lib/functions/_assign-inputs.scss +11 -0
  85. data/_sass/uswds/lib/functions/_contains-falsy.scss +20 -0
  86. data/_sass/uswds/lib/functions/_contains.scss +26 -0
  87. data/_sass/uswds/lib/functions/_is-length.scss +11 -0
  88. data/_sass/uswds/lib/functions/_is-light.scss +21 -0
  89. data/_sass/uswds/lib/functions/_is-number.scss +11 -0
  90. data/_sass/uswds/lib/functions/_is-size.scss +13 -0
  91. data/_sass/uswds/lib/functions/_modular-scale.scss +69 -0
  92. data/_sass/uswds/lib/functions/_new-breakpoint.scss +49 -0
  93. data/_sass/uswds/lib/functions/_private.scss +114 -0
  94. data/_sass/uswds/lib/functions/_px-to-em.scss +13 -0
  95. data/_sass/uswds/lib/functions/_px-to-rem.scss +15 -0
  96. data/_sass/uswds/lib/functions/_shade.scss +24 -0
  97. data/_sass/uswds/lib/functions/_strip-units.scss +17 -0
  98. data/_sass/uswds/lib/functions/_tint.scss +24 -0
  99. data/_sass/uswds/lib/functions/_transition-property-name.scss +22 -0
  100. data/_sass/uswds/lib/functions/_unpack.scss +27 -0
  101. data/_sass/uswds/lib/grid/_box-sizing.scss +15 -0
  102. data/_sass/uswds/lib/grid/_direction-context.scss +33 -0
  103. data/_sass/uswds/lib/grid/_display-context.scss +28 -0
  104. data/_sass/uswds/lib/grid/_fill-parent.scss +22 -0
  105. data/_sass/uswds/lib/grid/_media.scss +92 -0
  106. data/_sass/uswds/lib/grid/_omega.scss +87 -0
  107. data/_sass/uswds/lib/grid/_outer-container.scss +34 -0
  108. data/_sass/uswds/lib/grid/_pad.scss +25 -0
  109. data/_sass/uswds/lib/grid/_private.scss +35 -0
  110. data/_sass/uswds/lib/grid/_row.scss +52 -0
  111. data/_sass/uswds/lib/grid/_shift.scss +50 -0
  112. data/_sass/uswds/lib/grid/_span-columns.scss +94 -0
  113. data/_sass/uswds/lib/grid/_to-deprecate.scss +97 -0
  114. data/_sass/uswds/lib/grid/_visual-grid.scss +42 -0
  115. data/_sass/uswds/lib/helpers/_convert-units.scss +21 -0
  116. data/_sass/uswds/lib/helpers/_directional-values.scss +96 -0
  117. data/_sass/uswds/lib/helpers/_font-source-declaration.scss +43 -0
  118. data/_sass/uswds/lib/helpers/_gradient-positions-parser.scss +13 -0
  119. data/_sass/uswds/lib/helpers/_linear-angle-parser.scss +25 -0
  120. data/_sass/uswds/lib/helpers/_linear-gradient-parser.scss +41 -0
  121. data/_sass/uswds/lib/helpers/_linear-positions-parser.scss +61 -0
  122. data/_sass/uswds/lib/helpers/_linear-side-corner-parser.scss +31 -0
  123. data/_sass/uswds/lib/helpers/_radial-arg-parser.scss +69 -0
  124. data/_sass/uswds/lib/helpers/_radial-gradient-parser.scss +50 -0
  125. data/_sass/uswds/lib/helpers/_radial-positions-parser.scss +18 -0
  126. data/_sass/uswds/lib/helpers/_render-gradients.scss +26 -0
  127. data/_sass/uswds/lib/helpers/_shape-size-stripper.scss +10 -0
  128. data/_sass/uswds/lib/helpers/_str-to-num.scss +50 -0
  129. data/_sass/uswds/lib/mixins/_clearfix.scss +25 -0
  130. data/_sass/uswds/lib/settings/_asset-pipeline.scss +7 -0
  131. data/_sass/uswds/lib/settings/_disable-warnings.scss +13 -0
  132. data/_sass/uswds/lib/settings/_grid.scss +51 -0
  133. data/_sass/uswds/lib/settings/_prefixer.scss +9 -0
  134. data/_sass/uswds/lib/settings/_px-to-em.scss +1 -0
  135. data/_sass/uswds/lib/settings/_visual-grid.scss +27 -0
  136. data/_sass/uswds/uswds.scss +42 -0
  137. data/assets/uswds/fonts/merriweather-bold-webfont.eot +0 -0
  138. data/assets/uswds/fonts/merriweather-bold-webfont.ttf +0 -0
  139. data/assets/uswds/fonts/merriweather-bold-webfont.woff +0 -0
  140. data/assets/uswds/fonts/merriweather-bold-webfont.woff2 +0 -0
  141. data/assets/uswds/fonts/merriweather-italic-webfont.eot +0 -0
  142. data/assets/uswds/fonts/merriweather-italic-webfont.ttf +0 -0
  143. data/assets/uswds/fonts/merriweather-italic-webfont.woff +0 -0
  144. data/assets/uswds/fonts/merriweather-italic-webfont.woff2 +0 -0
  145. data/assets/uswds/fonts/merriweather-light-webfont.eot +0 -0
  146. data/assets/uswds/fonts/merriweather-light-webfont.ttf +0 -0
  147. data/assets/uswds/fonts/merriweather-light-webfont.woff +0 -0
  148. data/assets/uswds/fonts/merriweather-light-webfont.woff2 +0 -0
  149. data/assets/uswds/fonts/merriweather-regular-webfont.eot +0 -0
  150. data/assets/uswds/fonts/merriweather-regular-webfont.ttf +0 -0
  151. data/assets/uswds/fonts/merriweather-regular-webfont.woff +0 -0
  152. data/assets/uswds/fonts/merriweather-regular-webfont.woff2 +0 -0
  153. data/assets/uswds/fonts/sourcesanspro-bold-webfont.eot +0 -0
  154. data/assets/uswds/fonts/sourcesanspro-bold-webfont.ttf +0 -0
  155. data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff +0 -0
  156. data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
  157. data/assets/uswds/fonts/sourcesanspro-italic-webfont.eot +0 -0
  158. data/assets/uswds/fonts/sourcesanspro-italic-webfont.ttf +0 -0
  159. data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff +0 -0
  160. data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
  161. data/assets/uswds/fonts/sourcesanspro-light-webfont.eot +0 -0
  162. data/assets/uswds/fonts/sourcesanspro-light-webfont.ttf +0 -0
  163. data/assets/uswds/fonts/sourcesanspro-light-webfont.woff +0 -0
  164. data/assets/uswds/fonts/sourcesanspro-light-webfont.woff2 +0 -0
  165. data/assets/uswds/fonts/sourcesanspro-regular-webfont.eot +0 -0
  166. data/assets/uswds/fonts/sourcesanspro-regular-webfont.ttf +0 -0
  167. data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff +0 -0
  168. data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
  169. data/assets/uswds/img/alerts/error.png +0 -0
  170. data/assets/uswds/img/alerts/error.svg +17 -0
  171. data/assets/uswds/img/alerts/info.png +0 -0
  172. data/assets/uswds/img/alerts/info.svg +18 -0
  173. data/assets/uswds/img/alerts/success.png +0 -0
  174. data/assets/uswds/img/alerts/success.svg +12 -0
  175. data/assets/uswds/img/alerts/warning.png +0 -0
  176. data/assets/uswds/img/alerts/warning.svg +16 -0
  177. data/assets/uswds/img/angle-arrow-down-hover.png +0 -0
  178. data/assets/uswds/img/angle-arrow-down-hover.svg +1 -0
  179. data/assets/uswds/img/angle-arrow-down-primary-hover.png +0 -0
  180. data/assets/uswds/img/angle-arrow-down-primary-hover.svg +1 -0
  181. data/assets/uswds/img/angle-arrow-down-primary.png +0 -0
  182. data/assets/uswds/img/angle-arrow-down-primary.svg +1 -0
  183. data/assets/uswds/img/angle-arrow-down.png +0 -0
  184. data/assets/uswds/img/angle-arrow-down.svg +1 -0
  185. data/assets/uswds/img/angle-arrow-up-primary-hover.png +0 -0
  186. data/assets/uswds/img/angle-arrow-up-primary-hover.svg +1 -0
  187. data/assets/uswds/img/angle-arrow-up-primary.png +0 -0
  188. data/assets/uswds/img/angle-arrow-up-primary.svg +1 -0
  189. data/assets/uswds/img/arrow-both.png +0 -0
  190. data/assets/uswds/img/arrow-both.svg +1 -0
  191. data/assets/uswds/img/arrow-down.png +0 -0
  192. data/assets/uswds/img/arrow-down.svg +1 -0
  193. data/assets/uswds/img/arrow-right.png +0 -0
  194. data/assets/uswds/img/arrow-right.svg +1 -0
  195. data/assets/uswds/img/circle-124.png +0 -0
  196. data/assets/uswds/img/close-primary.png +0 -0
  197. data/assets/uswds/img/close-primary.svg +16 -0
  198. data/assets/uswds/img/close.png +0 -0
  199. data/assets/uswds/img/close.svg +12 -0
  200. data/assets/uswds/img/correct8.png +0 -0
  201. data/assets/uswds/img/correct8.svg +1 -0
  202. data/assets/uswds/img/correct9.png +0 -0
  203. data/assets/uswds/img/correct9.svg +1 -0
  204. data/assets/uswds/img/external-link-alt-hover.png +0 -0
  205. data/assets/uswds/img/external-link-alt-hover.svg +1 -0
  206. data/assets/uswds/img/external-link-alt.png +0 -0
  207. data/assets/uswds/img/external-link-alt.svg +1 -0
  208. data/assets/uswds/img/external-link-hover.png +0 -0
  209. data/assets/uswds/img/external-link-hover.svg +1 -0
  210. data/assets/uswds/img/external-link.png +0 -0
  211. data/assets/uswds/img/external-link.svg +1 -0
  212. data/assets/uswds/img/favicons/favicon-114.png +0 -0
  213. data/assets/uswds/img/favicons/favicon-144.png +0 -0
  214. data/assets/uswds/img/favicons/favicon-16.png +0 -0
  215. data/assets/uswds/img/favicons/favicon-192.png +0 -0
  216. data/assets/uswds/img/favicons/favicon-40.png +0 -0
  217. data/assets/uswds/img/favicons/favicon-57.png +0 -0
  218. data/assets/uswds/img/favicons/favicon-72.png +0 -0
  219. data/assets/uswds/img/favicons/favicon.ico +0 -0
  220. data/assets/uswds/img/favicons/favicon.png +0 -0
  221. data/assets/uswds/img/hero.png +0 -0
  222. data/assets/uswds/img/icon-dot-gov.svg +1 -0
  223. data/assets/uswds/img/icon-https.svg +1 -0
  224. data/assets/uswds/img/logo-img.png +0 -0
  225. data/assets/uswds/img/minus-alt.png +0 -0
  226. data/assets/uswds/img/minus-alt.svg +1 -0
  227. data/assets/uswds/img/minus.png +0 -0
  228. data/assets/uswds/img/minus.svg +1 -0
  229. data/assets/uswds/img/plus-alt.png +0 -0
  230. data/assets/uswds/img/plus-alt.svg +1 -0
  231. data/assets/uswds/img/plus.png +0 -0
  232. data/assets/uswds/img/plus.svg +1 -0
  233. data/assets/uswds/img/search-alt.png +0 -0
  234. data/assets/uswds/img/search-alt.svg +1 -0
  235. data/assets/uswds/img/search-primary.png +0 -0
  236. data/assets/uswds/img/search-primary.svg +12 -0
  237. data/assets/uswds/img/search.png +0 -0
  238. data/assets/uswds/img/search.svg +1 -0
  239. data/assets/uswds/img/social-icons/png/facebook25.png +0 -0
  240. data/assets/uswds/img/social-icons/png/rss25.png +0 -0
  241. data/assets/uswds/img/social-icons/png/twitter16.png +0 -0
  242. data/assets/uswds/img/social-icons/png/youtube15.png +0 -0
  243. data/assets/uswds/img/social-icons/svg/facebook25.svg +1 -0
  244. data/assets/uswds/img/social-icons/svg/rss25.svg +1 -0
  245. data/assets/uswds/img/social-icons/svg/twitter16.svg +1 -0
  246. data/assets/uswds/img/social-icons/svg/youtube15.svg +1 -0
  247. data/assets/uswds/img/us_flag_small.png +0 -0
  248. data/assets/uswds/js/uswds.js +1930 -0
  249. data/assets/uswds/js/uswds.min.js +2 -0
  250. data/assets/uswds/js/uswds.min.js.map +1 -0
  251. metadata +251 -3
@@ -0,0 +1,50 @@
1
+ @function _radial-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
+ $is-spec-syntax: str-index($first-val, "at");
12
+
13
+ @if $is-spec-syntax and $is-spec-syntax > 1 {
14
+ $keyword: str-slice($first-val, 1, $is-spec-syntax - 2);
15
+ $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
16
+ $pos: append($pos, $keyword, comma);
17
+
18
+ $gradients: (
19
+ webkit-image: -webkit- + $prefix + $pos + $suffix,
20
+ spec-image: $image
21
+ );
22
+ }
23
+
24
+ @else if $is-spec-syntax == 1 {
25
+ $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
26
+
27
+ $gradients: (
28
+ webkit-image: -webkit- + $prefix + $pos + $suffix,
29
+ spec-image: $image
30
+ );
31
+ }
32
+
33
+ @else if str-index($image, "cover") or str-index($image, "contain") {
34
+ @warn "Radial-gradient needs to be updated to conform to latest spec.";
35
+
36
+ $gradients: (
37
+ webkit-image: null,
38
+ spec-image: $image
39
+ );
40
+ }
41
+
42
+ @else {
43
+ $gradients: (
44
+ webkit-image: -webkit- + $image,
45
+ spec-image: $image
46
+ );
47
+ }
48
+
49
+ @return $gradients;
50
+ }
@@ -0,0 +1,18 @@
1
+ @function _radial-positions-parser($gradient-pos) {
2
+ $shape-size: nth($gradient-pos, 1);
3
+ $pos: nth($gradient-pos, 2);
4
+ $shape-size-spec: _shape-size-stripper($shape-size);
5
+
6
+ $pre-spec: unquote(if($pos, "#{$pos}, ", null))
7
+ unquote(if($shape-size, "#{$shape-size},", null));
8
+ $pos-spec: if($pos, "at #{$pos}", null);
9
+
10
+ $spec: "#{$shape-size-spec} #{$pos-spec}";
11
+
12
+ // Add comma
13
+ @if ($spec != " ") {
14
+ $spec: "#{$spec},";
15
+ }
16
+
17
+ @return $pre-spec $spec;
18
+ }
@@ -0,0 +1,26 @@
1
+ // User for linear and radial gradients within background-image or border-image properties
2
+
3
+ @function _render-gradients($gradient-positions, $gradients, $gradient-type, $vendor: false) {
4
+ $pre-spec: null;
5
+ $spec: null;
6
+ $vendor-gradients: null;
7
+ @if $gradient-type == linear {
8
+ @if $gradient-positions {
9
+ $pre-spec: nth($gradient-positions, 1);
10
+ $spec: nth($gradient-positions, 2);
11
+ }
12
+ }
13
+ @else if $gradient-type == radial {
14
+ $pre-spec: nth($gradient-positions, 1);
15
+ $spec: nth($gradient-positions, 2);
16
+ }
17
+
18
+ @if $vendor {
19
+ $vendor-gradients: -#{$vendor}-#{$gradient-type}-gradient(#{$pre-spec} $gradients);
20
+ }
21
+ @else if $vendor == false {
22
+ $vendor-gradients: "#{$gradient-type}-gradient(#{$spec} #{$gradients})";
23
+ $vendor-gradients: unquote($vendor-gradients);
24
+ }
25
+ @return $vendor-gradients;
26
+ }
@@ -0,0 +1,10 @@
1
+ @function _shape-size-stripper($shape-size) {
2
+ $shape-size-spec: null;
3
+ @each $value in $shape-size {
4
+ @if ($value == "cover") or ($value == "contain") {
5
+ $value: null;
6
+ }
7
+ $shape-size-spec: "#{$shape-size-spec} #{$value}";
8
+ }
9
+ @return $shape-size-spec;
10
+ }
@@ -0,0 +1,50 @@
1
+ //************************************************************************//
2
+ // Helper function for linear/radial-gradient-parsers.
3
+ // Source: http://sassmeister.com/gist/9647408
4
+ //************************************************************************//
5
+ @function _str-to-num($string) {
6
+ // Matrices
7
+ $strings: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9";
8
+ $numbers: 0 1 2 3 4 5 6 7 8 9;
9
+
10
+ // Result
11
+ $result: 0;
12
+ $divider: 0;
13
+ $minus: false;
14
+
15
+ // Looping through all characters
16
+ @for $i from 1 through str-length($string) {
17
+ $character: str-slice($string, $i, $i);
18
+ $index: index($strings, $character);
19
+
20
+ @if $character == "-" {
21
+ $minus: true;
22
+ }
23
+
24
+ @else if $character == "." {
25
+ $divider: 1;
26
+ }
27
+
28
+ @else {
29
+ @if not $index {
30
+ $result: if($minus, $result * -1, $result);
31
+ @return _convert-units($result, str-slice($string, $i));
32
+ }
33
+
34
+ $number: nth($numbers, $index);
35
+
36
+ @if $divider == 0 {
37
+ $result: $result * 10;
38
+ }
39
+
40
+ @else {
41
+ // Move the decimal dot to the left
42
+ $divider: $divider * 10;
43
+ $number: $number / $divider;
44
+ }
45
+
46
+ $result: $result + $number;
47
+ }
48
+ }
49
+ @return if($minus, $result * -1, $result);
50
+ }
@@ -0,0 +1,25 @@
1
+ @charset "UTF-8";
2
+
3
+ /// Provides an easy way to include a clearfix for containing floats.
4
+ ///
5
+ /// @link http://goo.gl/yP5hiZ
6
+ ///
7
+ /// @example scss
8
+ /// .element {
9
+ /// @include clearfix;
10
+ /// }
11
+ ///
12
+ /// @example css
13
+ /// .element::after {
14
+ /// clear: both;
15
+ /// content: "";
16
+ /// display: block;
17
+ /// }
18
+
19
+ @mixin clearfix {
20
+ &::after {
21
+ clear: both;
22
+ content: "";
23
+ display: block;
24
+ }
25
+ }
@@ -0,0 +1,7 @@
1
+ @charset "UTF-8";
2
+
3
+ /// A global setting to enable or disable the `$asset-pipeline` variable for all functions that accept it.
4
+ ///
5
+ /// @type Bool
6
+
7
+ $asset-pipeline: false !default;
@@ -0,0 +1,13 @@
1
+ @charset "UTF-8";
2
+
3
+ /// Disable all deprecation warnings. Defaults to `false`. Set with a `!global` flag.
4
+ ///
5
+ /// @type Bool
6
+
7
+ $disable-warnings: false !default;
8
+
9
+ @mixin -neat-warn($message) {
10
+ @if $disable-warnings == false {
11
+ @warn "#{$message}";
12
+ }
13
+ }
@@ -0,0 +1,51 @@
1
+ @charset "UTF-8";
2
+
3
+ /// Sets the relative width of a single grid column. The unit used should be the same one used to define `$gutter`. Set with a `!global` flag.
4
+ ///
5
+ /// @type Number (Unit)
6
+
7
+ $column: 4.2358em !default;
8
+
9
+ /// Sets the relative width of a single grid gutter. The unit used should be the same one used to define `$column`. Set with the `!global` flag.
10
+ ///
11
+ /// @type Number (Unit)
12
+
13
+ $gutter: 1.618em !default;
14
+
15
+ /// Sets the total number of columns in the grid. Its value can be overridden inside a media query using the `media()` mixin. Set with the `!global` flag.
16
+ ///
17
+ /// @type Number (Unitless)
18
+
19
+ $grid-columns: 12 !default;
20
+
21
+ /// Sets the max-width property of the element that includes `outer-container()`. Set with the `!global` flag.
22
+ ///
23
+ /// @type Number (Unit)
24
+ ///
25
+ $max-width: 1200px !default;
26
+
27
+ /// When set to true, it sets the box-sizing property of all elements to `border-box`. Set with a `!global` flag.
28
+ ///
29
+ /// @type Bool
30
+ ///
31
+ /// @example css - CSS Output
32
+ /// html {
33
+ /// box-sizing: border-box; }
34
+ ///
35
+ /// *, *::after, *::before {
36
+ /// box-sizing: inherit;
37
+ /// }
38
+
39
+ $border-box-sizing: true !default;
40
+
41
+ /// Sets the default [media feature](http://www.w3.org/TR/css3-mediaqueries/#media) that `media()` and `new-breakpoint()` revert to when only a breakpoint value is passed. Set with a `!global` flag.
42
+ ///
43
+ /// @type String
44
+
45
+ $default-feature: min-width; // Default @media feature for the breakpoint() mixin
46
+
47
+ ///Sets the default layout direction of the grid. Can be `LTR` or `RTL`. Set with a `!global` flag.
48
+ ///
49
+ ///@type String
50
+
51
+ $default-layout-direction: LTR !default;
@@ -0,0 +1,9 @@
1
+ @charset "UTF-8";
2
+
3
+ /// Global variables to enable or disable vendor prefixes
4
+
5
+ $prefix-for-webkit: true !default;
6
+ $prefix-for-mozilla: true !default;
7
+ $prefix-for-microsoft: true !default;
8
+ $prefix-for-opera: true !default;
9
+ $prefix-for-spec: true !default;
@@ -0,0 +1 @@
1
+ $em-base: 16px !default;
@@ -0,0 +1,27 @@
1
+ @charset "UTF-8";
2
+
3
+ /// Displays the visual grid when set to true. The overlaid grid may be few pixels off depending on the browser's rendering engine and pixel rounding algorithm. Set with the `!global` flag.
4
+ ///
5
+ /// @type Bool
6
+
7
+ $visual-grid: false !default;
8
+
9
+ /// Sets the visual grid color. Set with `!global` flag.
10
+ ///
11
+ /// @type Color
12
+
13
+ $visual-grid-color: #eee !default;
14
+
15
+ /// Sets the `z-index` property of the visual grid. Can be `back` (behind content) or `front` (in front of content). Set with `!global` flag.
16
+ ///
17
+ /// @type String
18
+
19
+ $visual-grid-index: back !default;
20
+
21
+ /// Sets the opacity property of the visual grid. Set with `!global` flag.
22
+ ///
23
+ /// @type Number (unitless)
24
+
25
+ $visual-grid-opacity: 0.4 !default;
26
+
27
+ $visual-grid-breakpoints: () !default;
@@ -0,0 +1,42 @@
1
+ /*! uswds @version */
2
+
3
+ // Vendor -------------- //
4
+ @import 'core/variables-vendor';
5
+ @import 'lib/bourbon';
6
+ @import 'lib/neat';
7
+ @import 'lib/normalize';
8
+
9
+ // Core -------------- //
10
+ @import 'core/variables';
11
+ @import 'core/fonts';
12
+ @import 'core/grid';
13
+ @import 'core/utilities';
14
+ @import 'core/base';
15
+
16
+ // Elements -------------- //
17
+ // Styles basic HTML elements
18
+ @import 'elements/buttons';
19
+ @import 'elements/embed';
20
+ @import 'elements/figure';
21
+ @import 'elements/inputs';
22
+ @import 'elements/labels';
23
+ @import 'elements/list';
24
+ @import 'elements/table';
25
+ @import 'elements/typography';
26
+
27
+ // Components -------------- //
28
+ @import 'components/accordions';
29
+ @import 'components/alerts';
30
+ @import 'components/banner';
31
+ @import 'components/footer';
32
+ @import 'components/forms';
33
+ @import 'components/graphic-list';
34
+ @import 'components/header';
35
+ @import 'components/hero';
36
+ @import 'components/layout';
37
+ @import 'components/media-block';
38
+ @import 'components/navigation';
39
+ @import 'components/search';
40
+ @import 'components/section';
41
+ @import 'components/sidenav';
42
+ @import 'components/skipnav';
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="216px" height="146px" viewBox="0 0 216 146" enable-background="new 0 0 216 146" xml:space="preserve">
6
+ <path d="M162.18,41.592c-5.595-9.586-13.185-17.176-22.771-22.771c-9.588-5.595-20.055-8.392-31.408-8.392
7
+ c-11.352,0-21.821,2.797-31.408,8.392c-9.587,5.594-17.177,13.184-22.772,22.771C48.225,51.179,45.428,61.649,45.428,73
8
+ c0,11.351,2.798,21.82,8.392,31.408c5.595,9.584,13.185,17.176,22.772,22.771c9.587,5.595,20.056,8.392,31.408,8.392
9
+ c11.352,0,21.822-2.797,31.408-8.392c9.586-5.594,17.176-13.185,22.771-22.771c5.594-9.588,8.391-20.058,8.391-31.408
10
+ C170.57,61.649,167.773,51.178,162.18,41.592z M118.43,112.025c0,0.761-0.246,1.398-0.734,1.914s-1.086,0.773-1.793,0.773H100.26
11
+ c-0.706,0-1.331-0.271-1.874-0.814c-0.543-0.543-0.814-1.168-0.814-1.873V96.546c0-0.706,0.271-1.331,0.814-1.874
12
+ c0.543-0.543,1.168-0.814,1.874-0.814h15.643c0.707,0,1.306,0.258,1.793,0.773c0.488,0.518,0.734,1.154,0.734,1.915V112.025z
13
+ M118.266,83.999c-0.055,0.543-0.339,1.019-0.854,1.426c-0.517,0.407-1.154,0.61-1.914,0.61h-15.073
14
+ c-0.761,0-1.413-0.203-1.956-0.61c-0.543-0.407-0.815-0.883-0.815-1.426l-1.385-50.595c0-0.653,0.271-1.141,0.814-1.467
15
+ c0.544-0.434,1.196-0.652,1.956-0.652h17.926c0.761,0,1.412,0.217,1.955,0.652c0.543,0.326,0.813,0.815,0.813,1.467L118.266,83.999z
16
+ "/>
17
+ </svg>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="216px" height="146px" viewBox="0 0 216 146" enable-background="new 0 0 216 146" xml:space="preserve">
6
+ <path d="M162.18,41.592c-5.595-9.586-13.185-17.176-22.771-22.771c-9.588-5.595-20.055-8.392-31.408-8.392
7
+ c-11.352,0-21.822,2.797-31.408,8.392c-9.587,5.594-17.177,13.184-22.772,22.771C48.225,51.179,45.428,61.649,45.428,73
8
+ c0,11.352,2.798,21.82,8.392,31.408c5.595,9.585,13.185,17.176,22.772,22.771c9.587,5.595,20.056,8.392,31.408,8.392
9
+ c11.352,0,21.822-2.797,31.408-8.392c9.586-5.594,17.176-13.185,22.771-22.771c5.594-9.587,8.391-20.057,8.391-31.408
10
+ C170.57,61.648,167.773,51.178,162.18,41.592z M97.572,26.071c0-0.761,0.244-1.385,0.733-1.874c0.489-0.488,1.114-0.733,1.874-0.733
11
+ h15.644c0.76,0,1.385,0.245,1.872,0.733c0.488,0.489,0.734,1.113,0.734,1.874v13.036c0,0.76-0.246,1.385-0.734,1.873
12
+ c-0.487,0.489-1.112,0.733-1.872,0.733h-15.644c-0.76,0-1.385-0.244-1.874-0.733c-0.489-0.488-0.733-1.113-0.733-1.873V26.071z
13
+ M128.857,112.107c0,0.76-0.246,1.385-0.733,1.872c-0.487,0.489-1.112,0.733-1.874,0.733h-36.5c-0.761,0-1.385-0.244-1.874-0.733
14
+ c-0.489-0.488-0.733-1.113-0.733-1.873V99.07c0-0.762,0.244-1.385,0.733-1.874c0.489-0.488,1.114-0.733,1.874-0.733h7.822V70.392
15
+ H89.75c-0.761,0-1.385-0.244-1.874-0.733c-0.489-0.488-0.733-1.113-0.733-1.874V54.75c0-0.761,0.244-1.385,0.733-1.874
16
+ c0.489-0.489,1.114-0.733,1.874-0.733h26.073c0.76,0,1.385,0.244,1.872,0.733c0.488,0.489,0.734,1.113,0.734,1.874v41.714h7.82
17
+ c0.761,0,1.386,0.245,1.874,0.733c0.487,0.488,0.733,1.113,0.733,1.874V112.107z"/>
18
+ </svg>