us_web_design_standards 0.0.0 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -4
  3. data/app/assets/fonts/merriweather-bold-webfont.eot +0 -0
  4. data/app/assets/fonts/merriweather-bold-webfont.svg +294 -0
  5. data/app/assets/fonts/merriweather-bold-webfont.ttf +0 -0
  6. data/app/assets/fonts/merriweather-bold-webfont.woff +0 -0
  7. data/app/assets/fonts/merriweather-bold-webfont.woff2 +0 -0
  8. data/app/assets/fonts/merriweather-italic-webfont.eot +0 -0
  9. data/app/assets/fonts/merriweather-italic-webfont.svg +283 -0
  10. data/app/assets/fonts/merriweather-italic-webfont.ttf +0 -0
  11. data/app/assets/fonts/merriweather-italic-webfont.woff +0 -0
  12. data/app/assets/fonts/merriweather-italic-webfont.woff2 +0 -0
  13. data/app/assets/fonts/merriweather-light-webfont.eot +0 -0
  14. data/app/assets/fonts/merriweather-light-webfont.svg +299 -0
  15. data/app/assets/fonts/merriweather-light-webfont.ttf +0 -0
  16. data/app/assets/fonts/merriweather-light-webfont.woff +0 -0
  17. data/app/assets/fonts/merriweather-light-webfont.woff2 +0 -0
  18. data/app/assets/fonts/merriweather-regular-webfont.eot +0 -0
  19. data/app/assets/fonts/merriweather-regular-webfont.svg +294 -0
  20. data/app/assets/fonts/merriweather-regular-webfont.ttf +0 -0
  21. data/app/assets/fonts/merriweather-regular-webfont.woff +0 -0
  22. data/app/assets/fonts/merriweather-regular-webfont.woff2 +0 -0
  23. data/app/assets/fonts/sourcesanspro-bold-webfont.eot +0 -0
  24. data/app/assets/fonts/sourcesanspro-bold-webfont.svg +965 -0
  25. data/app/assets/fonts/sourcesanspro-bold-webfont.ttf +0 -0
  26. data/app/assets/fonts/sourcesanspro-bold-webfont.woff +0 -0
  27. data/app/assets/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
  28. data/app/assets/fonts/sourcesanspro-italic-webfont.eot +0 -0
  29. data/app/assets/fonts/sourcesanspro-italic-webfont.svg +853 -0
  30. data/app/assets/fonts/sourcesanspro-italic-webfont.ttf +0 -0
  31. data/app/assets/fonts/sourcesanspro-italic-webfont.woff +0 -0
  32. data/app/assets/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
  33. data/app/assets/fonts/sourcesanspro-light-webfont.eot +0 -0
  34. data/app/assets/fonts/sourcesanspro-light-webfont.svg +915 -0
  35. data/app/assets/fonts/sourcesanspro-light-webfont.ttf +0 -0
  36. data/app/assets/fonts/sourcesanspro-light-webfont.woff +0 -0
  37. data/app/assets/fonts/sourcesanspro-light-webfont.woff2 +0 -0
  38. data/app/assets/fonts/sourcesanspro-regular-webfont.eot +0 -0
  39. data/app/assets/fonts/sourcesanspro-regular-webfont.svg +989 -0
  40. data/app/assets/fonts/sourcesanspro-regular-webfont.ttf +0 -0
  41. data/app/assets/fonts/sourcesanspro-regular-webfont.woff +0 -0
  42. data/app/assets/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
  43. data/app/assets/images/alerts/error.png +0 -0
  44. data/app/assets/images/alerts/error.svg +17 -0
  45. data/app/assets/images/alerts/info.png +0 -0
  46. data/app/assets/images/alerts/info.svg +18 -0
  47. data/app/assets/images/alerts/success.png +0 -0
  48. data/app/assets/images/alerts/success.svg +12 -0
  49. data/app/assets/images/alerts/warning.png +0 -0
  50. data/app/assets/images/alerts/warning.svg +16 -0
  51. data/app/assets/images/arrow-down.png +0 -0
  52. data/app/assets/images/arrow-down.svg +1 -0
  53. data/app/assets/images/arrow-right.png +0 -0
  54. data/app/assets/images/arrow-right.svg +1 -0
  55. data/app/assets/images/correct8.png +0 -0
  56. data/app/assets/images/correct8.svg +1 -0
  57. data/app/assets/images/correct9.png +0 -0
  58. data/app/assets/images/correct9.svg +1 -0
  59. data/app/assets/images/favicons/favicon-114.png +0 -0
  60. data/app/assets/images/favicons/favicon-144.png +0 -0
  61. data/app/assets/images/favicons/favicon-16.png +0 -0
  62. data/app/assets/images/favicons/favicon-192.png +0 -0
  63. data/app/assets/images/favicons/favicon-57.png +0 -0
  64. data/app/assets/images/favicons/favicon-72.png +0 -0
  65. data/app/assets/images/favicons/favicon.ico +0 -0
  66. data/app/assets/images/favicons/favicon.png +0 -0
  67. data/app/assets/images/logo-img.png +0 -0
  68. data/app/assets/images/minus.png +0 -0
  69. data/app/assets/images/minus.svg +1 -0
  70. data/app/assets/images/plus.png +0 -0
  71. data/app/assets/images/plus.svg +1 -0
  72. data/app/assets/images/search.png +0 -0
  73. data/app/assets/images/search.svg +1 -0
  74. data/app/assets/images/social-icons/png/facebook25.png +0 -0
  75. data/app/assets/images/social-icons/png/rss25.png +0 -0
  76. data/app/assets/images/social-icons/png/twitter16.png +0 -0
  77. data/app/assets/images/social-icons/png/youtube15.png +0 -0
  78. data/app/assets/images/social-icons/svg/facebook25.svg +1 -0
  79. data/app/assets/images/social-icons/svg/rss25.svg +1 -0
  80. data/app/assets/images/social-icons/svg/twitter16.svg +1 -0
  81. data/app/assets/images/social-icons/svg/youtube15.svg +1 -0
  82. data/app/assets/images/us_flag_small.png +0 -0
  83. data/app/assets/javascript/components.js +376 -0
  84. data/app/assets/javascript/vendor/html5shiv.js +301 -0
  85. data/app/assets/javascript/vendor/jquery-1.11.3.min.js +5 -0
  86. data/app/assets/javascript/vendor/jquery-1.11.3.min.map +1 -0
  87. data/app/assets/javascript/vendor/rem.min.js +7 -0
  88. data/app/assets/javascript/vendor/respond.js +341 -0
  89. data/app/assets/javascript/vendor/selectivizr-min.js +22 -0
  90. data/app/assets/stylesheets/components/_accordions.scss +95 -0
  91. data/app/assets/stylesheets/components/_alerts.scss +78 -0
  92. data/app/assets/stylesheets/components/_disclaimer.scss +25 -0
  93. data/app/assets/stylesheets/components/_footer.scss +292 -0
  94. data/app/assets/stylesheets/components/_forms.scss +179 -0
  95. data/app/assets/stylesheets/components/_search.scss +101 -0
  96. data/app/assets/stylesheets/components/_sidenav.scss +78 -0
  97. data/app/assets/stylesheets/components/_skipnav.scss +24 -0
  98. data/app/assets/stylesheets/core/_base.scss +24 -0
  99. data/app/assets/stylesheets/core/_defaults.scss +92 -0
  100. data/app/assets/stylesheets/core/_grid-settings.scss +10 -0
  101. data/app/assets/stylesheets/core/_grid.scss +116 -0
  102. data/app/assets/stylesheets/core/_utilities.scss +105 -0
  103. data/app/assets/stylesheets/core/_variables.scss +88 -0
  104. data/app/assets/stylesheets/elements/_buttons.scss +187 -0
  105. data/app/assets/stylesheets/elements/_figure.scss +9 -0
  106. data/app/assets/stylesheets/elements/_inputs.scss +328 -0
  107. data/app/assets/stylesheets/elements/_labels.scss +39 -0
  108. data/app/assets/stylesheets/elements/_list.scss +82 -0
  109. data/app/assets/stylesheets/elements/_table.scss +39 -0
  110. data/app/assets/stylesheets/elements/_typography.scss +220 -0
  111. data/app/assets/stylesheets/lib/_normalize.scss +427 -0
  112. data/app/assets/stylesheets/lib/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
  113. data/app/assets/stylesheets/lib/bourbon/_bourbon.scss +87 -0
  114. data/app/assets/stylesheets/lib/bourbon/addons/_border-color.scss +26 -0
  115. data/app/assets/stylesheets/lib/bourbon/addons/_border-radius.scss +48 -0
  116. data/app/assets/stylesheets/lib/bourbon/addons/_border-style.scss +25 -0
  117. data/app/assets/stylesheets/lib/bourbon/addons/_border-width.scss +25 -0
  118. data/app/assets/stylesheets/lib/bourbon/addons/_buttons.scss +64 -0
  119. data/app/assets/stylesheets/lib/bourbon/addons/_clearfix.scss +25 -0
  120. data/app/assets/stylesheets/lib/bourbon/addons/_ellipsis.scss +30 -0
  121. data/app/assets/stylesheets/lib/bourbon/addons/_font-stacks.scss +31 -0
  122. data/app/assets/stylesheets/lib/bourbon/addons/_hide-text.scss +27 -0
  123. data/app/assets/stylesheets/lib/bourbon/addons/_margin.scss +26 -0
  124. data/app/assets/stylesheets/lib/bourbon/addons/_padding.scss +26 -0
  125. data/app/assets/stylesheets/lib/bourbon/addons/_position.scss +48 -0
  126. data/app/assets/stylesheets/lib/bourbon/addons/_prefixer.scss +66 -0
  127. data/app/assets/stylesheets/lib/bourbon/addons/_retina-image.scss +25 -0
  128. data/app/assets/stylesheets/lib/bourbon/addons/_size.scss +51 -0
  129. data/app/assets/stylesheets/lib/bourbon/addons/_text-inputs.scss +112 -0
  130. data/app/assets/stylesheets/lib/bourbon/addons/_timing-functions.scss +34 -0
  131. data/app/assets/stylesheets/lib/bourbon/addons/_triangle.scss +63 -0
  132. data/app/assets/stylesheets/lib/bourbon/addons/_word-wrap.scss +29 -0
  133. data/app/assets/stylesheets/lib/bourbon/css3/_animation.scss +43 -0
  134. data/app/assets/stylesheets/lib/bourbon/css3/_appearance.scss +3 -0
  135. data/app/assets/stylesheets/lib/bourbon/css3/_backface-visibility.scss +3 -0
  136. data/app/assets/stylesheets/lib/bourbon/css3/_background-image.scss +42 -0
  137. data/app/assets/stylesheets/lib/bourbon/css3/_background.scss +55 -0
  138. data/app/assets/stylesheets/lib/bourbon/css3/_border-image.scss +59 -0
  139. data/app/assets/stylesheets/lib/bourbon/css3/_calc.scss +4 -0
  140. data/app/assets/stylesheets/lib/bourbon/css3/_columns.scss +47 -0
  141. data/app/assets/stylesheets/lib/bourbon/css3/_filter.scss +4 -0
  142. data/app/assets/stylesheets/lib/bourbon/css3/_flex-box.scss +287 -0
  143. data/app/assets/stylesheets/lib/bourbon/css3/_font-face.scss +24 -0
  144. data/app/assets/stylesheets/lib/bourbon/css3/_font-feature-settings.scss +4 -0
  145. data/app/assets/stylesheets/lib/bourbon/css3/_hidpi-media-query.scss +10 -0
  146. data/app/assets/stylesheets/lib/bourbon/css3/_hyphens.scss +4 -0
  147. data/app/assets/stylesheets/lib/bourbon/css3/_image-rendering.scss +14 -0
  148. data/app/assets/stylesheets/lib/bourbon/css3/_keyframes.scss +36 -0
  149. data/app/assets/stylesheets/lib/bourbon/css3/_linear-gradient.scss +38 -0
  150. data/app/assets/stylesheets/lib/bourbon/css3/_perspective.scss +8 -0
  151. data/app/assets/stylesheets/lib/bourbon/css3/_placeholder.scss +8 -0
  152. data/app/assets/stylesheets/lib/bourbon/css3/_radial-gradient.scss +39 -0
  153. data/app/assets/stylesheets/lib/bourbon/css3/_selection.scss +42 -0
  154. data/app/assets/stylesheets/lib/bourbon/css3/_text-decoration.scss +19 -0
  155. data/app/assets/stylesheets/lib/bourbon/css3/_transform.scss +15 -0
  156. data/app/assets/stylesheets/lib/bourbon/css3/_transition.scss +71 -0
  157. data/app/assets/stylesheets/lib/bourbon/css3/_user-select.scss +3 -0
  158. data/app/assets/stylesheets/lib/bourbon/functions/_assign-inputs.scss +11 -0
  159. data/app/assets/stylesheets/lib/bourbon/functions/_contains-falsy.scss +20 -0
  160. data/app/assets/stylesheets/lib/bourbon/functions/_contains.scss +26 -0
  161. data/app/assets/stylesheets/lib/bourbon/functions/_is-length.scss +11 -0
  162. data/app/assets/stylesheets/lib/bourbon/functions/_is-light.scss +21 -0
  163. data/app/assets/stylesheets/lib/bourbon/functions/_is-number.scss +11 -0
  164. data/app/assets/stylesheets/lib/bourbon/functions/_is-size.scss +13 -0
  165. data/app/assets/stylesheets/lib/bourbon/functions/_modular-scale.scss +69 -0
  166. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-em.scss +13 -0
  167. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-rem.scss +15 -0
  168. data/app/assets/stylesheets/lib/bourbon/functions/_shade.scss +24 -0
  169. data/app/assets/stylesheets/lib/bourbon/functions/_strip-units.scss +17 -0
  170. data/app/assets/stylesheets/lib/bourbon/functions/_tint.scss +24 -0
  171. data/app/assets/stylesheets/lib/bourbon/functions/_transition-property-name.scss +22 -0
  172. data/app/assets/stylesheets/lib/bourbon/functions/_unpack.scss +27 -0
  173. data/app/assets/stylesheets/lib/bourbon/helpers/_convert-units.scss +21 -0
  174. data/app/assets/stylesheets/lib/bourbon/helpers/_directional-values.scss +96 -0
  175. data/app/assets/stylesheets/lib/bourbon/helpers/_font-source-declaration.scss +43 -0
  176. data/app/assets/stylesheets/lib/bourbon/helpers/_gradient-positions-parser.scss +13 -0
  177. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-angle-parser.scss +25 -0
  178. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-gradient-parser.scss +41 -0
  179. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-positions-parser.scss +61 -0
  180. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
  181. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-arg-parser.scss +69 -0
  182. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-gradient-parser.scss +50 -0
  183. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-positions-parser.scss +18 -0
  184. data/app/assets/stylesheets/lib/bourbon/helpers/_render-gradients.scss +26 -0
  185. data/app/assets/stylesheets/lib/bourbon/helpers/_shape-size-stripper.scss +10 -0
  186. data/app/assets/stylesheets/lib/bourbon/helpers/_str-to-num.scss +50 -0
  187. data/app/assets/stylesheets/lib/bourbon/settings/_asset-pipeline.scss +7 -0
  188. data/app/assets/stylesheets/lib/bourbon/settings/_prefixer.scss +9 -0
  189. data/app/assets/stylesheets/lib/bourbon/settings/_px-to-em.scss +1 -0
  190. data/app/assets/stylesheets/lib/neat/_neat-helpers.scss +8 -0
  191. data/app/assets/stylesheets/lib/neat/_neat.scss +23 -0
  192. data/app/assets/stylesheets/lib/neat/functions/_new-breakpoint.scss +49 -0
  193. data/app/assets/stylesheets/lib/neat/functions/_private.scss +114 -0
  194. data/app/assets/stylesheets/lib/neat/grid/_box-sizing.scss +15 -0
  195. data/app/assets/stylesheets/lib/neat/grid/_direction-context.scss +33 -0
  196. data/app/assets/stylesheets/lib/neat/grid/_display-context.scss +28 -0
  197. data/app/assets/stylesheets/lib/neat/grid/_fill-parent.scss +22 -0
  198. data/app/assets/stylesheets/lib/neat/grid/_media.scss +92 -0
  199. data/app/assets/stylesheets/lib/neat/grid/_omega.scss +87 -0
  200. data/app/assets/stylesheets/lib/neat/grid/_outer-container.scss +38 -0
  201. data/app/assets/stylesheets/lib/neat/grid/_pad.scss +25 -0
  202. data/app/assets/stylesheets/lib/neat/grid/_private.scss +35 -0
  203. data/app/assets/stylesheets/lib/neat/grid/_row.scss +52 -0
  204. data/app/assets/stylesheets/lib/neat/grid/_shift.scss +50 -0
  205. data/app/assets/stylesheets/lib/neat/grid/_span-columns.scss +94 -0
  206. data/app/assets/stylesheets/lib/neat/grid/_to-deprecate.scss +97 -0
  207. data/app/assets/stylesheets/lib/neat/grid/_visual-grid.scss +42 -0
  208. data/app/assets/stylesheets/lib/neat/settings/_disable-warnings.scss +13 -0
  209. data/app/assets/stylesheets/lib/neat/settings/_grid.scss +51 -0
  210. data/app/assets/stylesheets/lib/neat/settings/_visual-grid.scss +27 -0
  211. data/app/assets/stylesheets/us_web_design_standards.scss +39 -0
  212. data/app/assets/stylesheets/us_web_design_standards_fonts.css +102 -0
  213. data/assets/_scss/us_web_design_standards.scss +24 -24
  214. data/lib/us_web_design_standards.rb +10 -0
  215. data/lib/us_web_design_standards/assets.rb +14 -11
  216. data/lib/us_web_design_standards/generator.rb +8 -5
  217. data/lib/us_web_design_standards/version.rb +1 -1
  218. metadata +226 -3
  219. data/assets/css/normalize.min.css +0 -1
@@ -0,0 +1,179 @@
1
+ $usa-form-width: 32rem;
2
+
3
+ form {
4
+ @include media($medium-screen) {
5
+ max-width: $usa-form-width;
6
+ }
7
+
8
+ a {
9
+ border-bottom: 0;
10
+ }
11
+
12
+ button[type="submit"],
13
+ input[type="submit"] {
14
+ @include media($medium-screen) {
15
+ padding: {
16
+ left: 2.7em;
17
+ right: 2.7em;
18
+ }
19
+ width: auto;
20
+ }
21
+ display: block;
22
+ margin-top: 2.5rem;
23
+ margin-bottom: 1.5em;
24
+ }
25
+
26
+ input[name="password"] {
27
+ margin-bottom: 1.1rem;
28
+ }
29
+ }
30
+
31
+ .usa-form-note {
32
+ float: right;
33
+ font-family: $font-sans;
34
+ font-size: $h5-font-size;
35
+ margin: 0;
36
+ margin-bottom: 1.5rem;
37
+
38
+ & + * {
39
+ clear: both;
40
+ }
41
+ }
42
+
43
+ fieldset {
44
+ border: none;
45
+ margin: 0;
46
+ padding: 0;
47
+ }
48
+
49
+ .usa-form-large {
50
+ @include media($medium-screen) {
51
+ max-width: 46rem;
52
+ }
53
+ }
54
+
55
+ input.usa-input-tiny {
56
+ @include media($medium-screen) {
57
+ max-width: 6rem;
58
+ }
59
+ }
60
+
61
+ input.usa-input-medium {
62
+ @include media($medium-screen) {
63
+ max-width: 12rem;
64
+ }
65
+ }
66
+
67
+ .usa-input-grid {
68
+ @include media($medium-screen) {
69
+ padding-right: 5%;
70
+ }
71
+ }
72
+
73
+ .usa-input-grid:last-of-type {
74
+ @include media($medium-screen) {
75
+ padding-right: 0;
76
+ }
77
+ }
78
+
79
+ .usa-input-grid-small {
80
+ @include media($medium-screen) {
81
+ float: left;
82
+ width: 35%;
83
+ }
84
+
85
+ input {
86
+ margin-bottom: 3rem;
87
+ }
88
+
89
+ select {
90
+ margin-bottom: 3rem;
91
+ }
92
+ }
93
+
94
+ .usa-input-grid-medium {
95
+ @include media($medium-screen) {
96
+ float: left;
97
+ width: 65%;
98
+ }
99
+
100
+ input {
101
+ margin-bottom: 3rem;
102
+ }
103
+
104
+ select {
105
+ margin-bottom: 3rem;
106
+ }
107
+ }
108
+
109
+ .usa-input-grid-large {
110
+ @include media($medium-screen) {
111
+ float: left;
112
+ width: 100%;
113
+ }
114
+
115
+ input {
116
+ margin-bottom: 3rem;
117
+ }
118
+
119
+ select {
120
+ margin-bottom: 3rem;
121
+ }
122
+ }
123
+
124
+ .usa-form-width {
125
+ max-width: $usa-form-width;
126
+ }
127
+
128
+ .usa-additional_text {
129
+ float: right;
130
+ font-style: italic;
131
+ font-weight: normal;
132
+ }
133
+
134
+ .usa-input-buttons-inline {
135
+ button,
136
+ button[type="submit"],
137
+ input[type="submit"],
138
+ & > * {
139
+ display: inline;
140
+ margin-right: 1.5em;
141
+ }
142
+ }
143
+
144
+ // Reset password checklist
145
+
146
+ .usa-checklist {
147
+ list-style: none;
148
+ margin-left: 0;
149
+ padding-left: 0;
150
+
151
+ li {
152
+ display: inline-block;
153
+ list-style: none;
154
+ margin: {
155
+ bottom: 0em;
156
+ top: 0em;
157
+ }
158
+ padding-left: 3em;
159
+ text-indent: -2em;
160
+
161
+ &:before {
162
+ content: ' ';
163
+ display: inline-block;
164
+ height: .8em;
165
+ margin-right: .2em;
166
+ width: 1.8em;
167
+ }
168
+ }
169
+ }
170
+
171
+ .usa-checklist-checked {
172
+ &:before {
173
+ background-image: url('../img/correct9.png');
174
+ background-image: url('../img/correct9.svg');
175
+ background-position: 100%;
176
+ background-repeat: no-repeat;
177
+ background-size: 100%;
178
+ }
179
+ }
@@ -0,0 +1,101 @@
1
+ $usa-btn-small-width: 4.5rem;
2
+ $usa-btn-medium-width: 8.5rem;
3
+ $usa-btn-big-width: 11.6rem;
4
+
5
+ @mixin search-icon {
6
+ background-image: url('../img/search.png');
7
+ background-image: url('../img/search.svg');
8
+ background-position: 50%;
9
+ background-repeat: no-repeat;
10
+ }
11
+
12
+ .usa-search {
13
+ @include clearfix;
14
+ max-width: none;
15
+ position: relative;
16
+
17
+ [type="search"],
18
+ .usa-search-input {
19
+ -webkit-appearance: none;
20
+ border: {
21
+ bottom-right-radius: 0;
22
+ right: none;
23
+ top-right-radius: 0;
24
+ }
25
+ float: left;
26
+ height: 3.3rem;
27
+ margin: 0;
28
+ padding: {
29
+ bottom: 0;
30
+ top: 0;
31
+ }
32
+ width: calc(100% - #{$usa-btn-small-width});
33
+
34
+ @include media($small-screen) {
35
+ width: calc(100% - #{$usa-btn-medium-width});
36
+ }
37
+ }
38
+
39
+ [type="submit"],
40
+ .usa-search-submit {
41
+ @include search-icon;
42
+ border: {
43
+ bottom-left-radius: 0;
44
+ top-left-radius: 0;
45
+ }
46
+ height: 3.3rem;
47
+ margin: 0;
48
+ padding: 0;
49
+ width: $usa-btn-small-width;
50
+
51
+ @include media($small-screen) {
52
+ background-image: none;
53
+ width: $usa-btn-medium-width;
54
+ }
55
+ }
56
+
57
+ .usa-search-submit-text {
58
+ display: none;
59
+
60
+ @include media($small-screen) {
61
+ display: block;
62
+ }
63
+ }
64
+
65
+ &.usa-search-big {
66
+ @include media($small-screen) {
67
+ $height: 4.4rem;
68
+ $width: $usa-btn-big-width;
69
+
70
+ [type="search"],
71
+ .usa-search-input {
72
+ height: $height;
73
+ width: calc(100% - #{$width});
74
+ }
75
+
76
+ [type="submit"],
77
+ .usa-search-submit {
78
+ height: $height;
79
+ font-size: $h3-font-size;
80
+ width: $width;
81
+ }
82
+ }
83
+ }
84
+
85
+ &.usa-search-small {
86
+ @include media($small-screen) {
87
+ $width: $usa-btn-small-width;
88
+
89
+ [type="search"],
90
+ .usa-search-input {
91
+ width: calc(100% - #{$width});
92
+ }
93
+
94
+ [type="submit"],
95
+ .usa-search-submit {
96
+ @include search-icon;
97
+ width: $width;
98
+ }
99
+ }
100
+ }
101
+ }
@@ -0,0 +1,78 @@
1
+ .usa-sidenav-list {
2
+ @include unstyled-list();
3
+
4
+ li {
5
+ border-top: 1px solid $color-gray;
6
+ font-size: $h4-font-size;
7
+
8
+ &:first-child {
9
+ border-top: none;
10
+ }
11
+ }
12
+
13
+ a {
14
+ border: none;
15
+ color: $color-base;
16
+ display: block;
17
+ font-family: $font-sans;
18
+ line-height: 1;
19
+ padding: {
20
+ bottom: 1rem;
21
+ left: 1.8rem;
22
+ right: 1rem;
23
+ top: 1rem;
24
+ }
25
+
26
+ &:hover {
27
+ background-color: $color-gray-lightest;
28
+ color: $color-primary;
29
+ text-decoration: none;
30
+ }
31
+
32
+ &:focus {
33
+ position: relative;
34
+ z-index: 1;
35
+ }
36
+
37
+ &.usa-current {
38
+ color: $color-primary;
39
+ font-weight: $font-bold;
40
+ }
41
+
42
+ &.usa-current {
43
+ border-left: 4px solid $color-primary;
44
+ padding-left: 1.4rem;
45
+ }
46
+ }
47
+ }
48
+
49
+ .usa-sidenav-sub_list {
50
+ margin: 0;
51
+ width: 100%;
52
+
53
+ li {
54
+ border: none;
55
+ font-size: $h5-font-size;
56
+ }
57
+
58
+ a {
59
+ padding-left: 2.8rem;
60
+ line-height: $heading-line-height;
61
+ }
62
+
63
+ a:hover,
64
+ a.usa-current {
65
+ border: none;
66
+ padding-left: 2.8rem;
67
+ }
68
+
69
+ .usa-sidenav-sub_list {
70
+ a {
71
+ padding-left: 3.8rem;
72
+ }
73
+
74
+ a:hover {
75
+ padding-left: 3.8rem;
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,24 @@
1
+ .skipnav {
2
+ @include transition(all .2s ease-in-out);
3
+ background: transparent;
4
+ color: $color-base;
5
+ left: 0;
6
+ padding: {
7
+ bottom: 1rem;
8
+ left: 1.5rem;
9
+ right: 1.5rem;
10
+ top: 1rem;
11
+ }
12
+ position: absolute;
13
+ top: -4.2rem;
14
+ z-index: 100;
15
+
16
+ &:focus {
17
+ @include transition(all .2s ease-in-out);
18
+ background: $color-white;
19
+ left: 0;
20
+ outline: 0;
21
+ position: absolute;
22
+ top: 0;
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ /* apply a natural box layout model to all elements, but allowing components to change */
2
+
3
+ html {
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ *, *:before, *:after {
8
+ box-sizing: inherit;
9
+ }
10
+
11
+ body {
12
+ background-color: #ffffff;
13
+ }
14
+
15
+ .lt-ie9 {
16
+ // Hack for clearfixes
17
+ * {
18
+ filter: none !important;
19
+ }
20
+ }
21
+
22
+ [aria-hidden=true] {
23
+ display: none !important;
24
+ }
@@ -0,0 +1,92 @@
1
+ // Starter Kit Defaults
2
+ // Do not modify.
3
+ // These variables can be modified in _variables.scss
4
+
5
+ // Typography
6
+ $em-base: 10px; // default is already defined in bourbon
7
+ $base-font-size: rem(16px) !default;
8
+ $small-font-size: rem(14px) !default;
9
+ $lead-font-size: rem(22px) !default;
10
+ $title-font-size: rem(52px) !default;
11
+ $h1-font-size: rem(40px) !default;
12
+ $h2-font-size: rem(30px) !default;
13
+ $h3-font-size: rem(20px) !default;
14
+ $h4-font-size: rem(17px) !default;
15
+ $h5-font-size: rem(15px) !default;
16
+ $h6-font-size: rem(13px) !default;
17
+ $base-line-height: 1.5 !default;
18
+ $heading-line-height: 1.3 !default;
19
+ $lead-line-height: 1.7 !default;
20
+
21
+ $font-sans: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif !default;
22
+ $font-serif: 'Merriweather', 'Georgia', 'Times New Roman', serif;
23
+
24
+ $font-normal: 400 !default;
25
+ $font-bold: 700 !default;
26
+
27
+
28
+ // Color
29
+ $color-primary: #0071bc !default;
30
+ $color-primary-darker: #205493 !default;
31
+ $color-primary-darkest: #112e51 !default;
32
+
33
+ $color-primary-alt: #02bfe7 !default;
34
+ $color-primary-alt-darkest: #046b99 !default;
35
+ $color-primary-alt-dark: #00a6d2 !default;
36
+ $color-primary-alt-light: #9bdaf1 !default; // lighten($color-primary-alt, 60%)
37
+ $color-primary-alt-lightest: #e1f3f8 !default; // lighten($color-primary-alt, 90%)
38
+
39
+ $color-secondary: #e31c3d !default;
40
+ $color-secondary-darkest: #981b1e !default;
41
+ $color-secondary-dark: #cd2026 !default;
42
+ $color-secondary-light: #e59393 !default; // lighten($color-secondary, 60%)
43
+ $color-secondary-lightest: #f9dede !default; // lighten($color-secondary, 90%)
44
+
45
+ $color-white: #ffffff !default;
46
+ $color-base: #212121 !default;
47
+
48
+ $color-gray-dark: #323a45 !default;
49
+ $color-gray: #205493 !default; // lighten($color-gray-dark, 20%)
50
+ $color-gray-light: #aeb0b5 !default; // lighten($color-gray-dark, 60%)
51
+ $color-gray-lighter: #d6d7d9 !default; // lighten($color-gray-dark, 80%)
52
+ $color-gray-lightest: #f1f1f1 !default; // lighten($color-gray-dark, 91%)
53
+
54
+ $color-gray-warm-dark: #494440 !default;
55
+ $color-gray-warm-light: #e4e2e0 !default; // lighten($color-gray-warm-dark, 90%)
56
+ $color-gray-cool-light: #dce4ef !default; // lighten($color-primary, 90%)
57
+
58
+ $color-gold: #fdb81e !default;
59
+ $color-gold-light: #f9c642 !default; // lighten($color-gold, 20%)
60
+ $color-gold-lighter: #fad980 !default; // lighten($color-gold, 60%)
61
+ $color-gold-lightest: #fff1d2 !default; // lighten($color-gold, 83%)
62
+
63
+ $color-green: #2e8540 !default;
64
+ $color-green-light: #4aa564 !default; // lighten($color-green, 20%)
65
+ $color-green-lighter: #94bfa2 !default; // lighten($color-green, 60%)
66
+ $color-green-lightest: #e7f4e4 !default; // lighten($color-green, 60%)
67
+
68
+ $color-cool-blue: #205493 !default;
69
+ $color-cool-blue-light: #4773aa !default; // lighten($color-cool-blue, 20%)
70
+ $color-cool-blue-lighter: #8ba6ca !default; // lighten($color-cool-blue, 60%)
71
+ $color-cool-blue-lightest: #dce4ef !default; // lighten($color-cool-blue, 90%)
72
+
73
+ $color-focus: #3e94cf !default;
74
+ $color-visited: #4c2c92 !default;
75
+
76
+
77
+ // Mobile First Breakpoints
78
+ $small-screen: 481px !default;
79
+ $medium-screen: 600px !default;
80
+ $large-screen: 1201px !default;
81
+
82
+
83
+ // Magic Numbers
84
+ $text-max-width: 53rem !default;
85
+ $site-max-width: 1040px !default;
86
+ $site-margins: 3rem !default;
87
+ $article-max-width: 600px !default;
88
+ $input-max-width: 46rem !default;
89
+ $border-radius: rem(3px) !default;
90
+ $box-shadow: 0 0 2px rgba(#000, .3) !default;
91
+ $focus-shadow: 0 0 3px $color-focus, 0 0 7px $color-focus;
92
+ $grid-margins: 3rem !default;