uswds-rails 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/uswds/components/_footer.scss +5 -3
- data/app/assets/stylesheets/uswds/components/_search.scss +32 -27
- data/app/assets/stylesheets/uswds/core/_utilities.scss +10 -4
- data/app/assets/stylesheets/uswds/elements/_inputs.scss +23 -8
- data/app/assets/stylesheets/uswds/elements/_typography.scss +14 -7
- data/app/assets/stylesheets/uswds/uswds.scss +2 -2
- data/lib/uswds/rails/version.rb +1 -1
- data/vendor/assets/fonts/uswds/sourcesanspro-bold-webfont.eot +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-bold-webfont.ttf +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-bold-webfont.woff +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-bold-webfont.woff2 +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-italic-webfont.eot +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-italic-webfont.ttf +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-italic-webfont.woff +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-italic-webfont.woff2 +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-light-webfont.eot +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-light-webfont.ttf +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-light-webfont.woff +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-light-webfont.woff2 +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-regular-webfont.eot +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-regular-webfont.ttf +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-regular-webfont.woff +0 -0
- data/vendor/assets/fonts/uswds/sourcesanspro-regular-webfont.woff2 +0 -0
- data/vendor/assets/images/uswds/angle-arrow-down-hover.png +0 -0
- data/vendor/assets/images/uswds/angle-arrow-down-hover.svg +0 -0
- data/vendor/assets/images/uswds/angle-arrow-down-primary-hover.png +0 -0
- data/vendor/assets/images/uswds/angle-arrow-down-primary-hover.svg +0 -0
- data/vendor/assets/images/uswds/angle-arrow-down-primary.png +0 -0
- data/vendor/assets/images/uswds/angle-arrow-down-primary.svg +0 -0
- data/vendor/assets/images/uswds/angle-arrow-down.png +0 -0
- data/vendor/assets/images/uswds/angle-arrow-down.svg +0 -0
- data/vendor/assets/images/uswds/angle-arrow-up-primary-hover.png +0 -0
- data/vendor/assets/images/uswds/angle-arrow-up-primary-hover.svg +0 -0
- data/vendor/assets/images/uswds/angle-arrow-up-primary.png +0 -0
- data/vendor/assets/images/uswds/angle-arrow-up-primary.svg +0 -0
- data/vendor/assets/images/uswds/arrow-both.png +0 -0
- data/vendor/assets/images/uswds/arrow-both.svg +1 -1
- data/vendor/assets/images/uswds/arrow-down.png +0 -0
- data/vendor/assets/images/uswds/arrow-down.svg +0 -0
- data/vendor/assets/images/uswds/arrow-right.png +0 -0
- data/vendor/assets/images/uswds/arrow-right.svg +0 -0
- data/vendor/assets/images/uswds/circle-124.png +0 -0
- data/vendor/assets/images/uswds/close-primary.png +0 -0
- data/vendor/assets/images/uswds/close-primary.svg +0 -0
- data/vendor/assets/images/uswds/close.png +0 -0
- data/vendor/assets/images/uswds/close.svg +0 -0
- data/vendor/assets/images/uswds/correct9.png +0 -0
- data/vendor/assets/images/uswds/external-link-alt-hover.png +0 -0
- data/vendor/assets/images/uswds/external-link-alt-hover.svg +0 -0
- data/vendor/assets/images/uswds/external-link-alt.png +0 -0
- data/vendor/assets/images/uswds/external-link-alt.svg +0 -0
- data/vendor/assets/images/uswds/external-link-hover.png +0 -0
- data/vendor/assets/images/uswds/external-link-hover.svg +0 -0
- data/vendor/assets/images/uswds/external-link.png +0 -0
- data/vendor/assets/images/uswds/external-link.svg +0 -0
- data/vendor/assets/images/uswds/hero.png +0 -0
- data/vendor/assets/images/uswds/icon-dot-gov.svg +0 -0
- data/vendor/assets/images/uswds/icon-https.svg +0 -0
- data/vendor/assets/images/uswds/logo-img.png +0 -0
- data/vendor/assets/images/uswds/minus-alt.png +0 -0
- data/vendor/assets/images/uswds/minus-alt.svg +0 -0
- data/vendor/assets/images/uswds/minus.png +0 -0
- data/vendor/assets/images/uswds/minus.svg +0 -0
- data/vendor/assets/images/uswds/plus-alt.png +0 -0
- data/vendor/assets/images/uswds/plus-alt.svg +0 -0
- data/vendor/assets/images/uswds/plus.png +0 -0
- data/vendor/assets/images/uswds/plus.svg +0 -0
- data/vendor/assets/images/uswds/search-primary.png +0 -0
- data/vendor/assets/images/uswds/search-primary.svg +0 -0
- data/vendor/assets/images/uswds/social-icons/png/facebook25.png +0 -0
- data/vendor/assets/images/uswds/social-icons/png/rss25.png +0 -0
- data/vendor/assets/images/uswds/social-icons/png/twitter16.png +0 -0
- data/vendor/assets/images/uswds/social-icons/png/youtube15.png +0 -0
- data/vendor/assets/images/uswds/us_flag_small.png +0 -0
- data/vendor/assets/stylesheets/uswds/components/_accordions.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_alerts.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_banner.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_footer.scss +5 -3
- data/vendor/assets/stylesheets/uswds/components/_forms.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_graphic-list.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_hero.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_layout.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_media-block.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_search.scss +32 -27
- data/vendor/assets/stylesheets/uswds/components/_section.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_sidenav.scss +0 -0
- data/vendor/assets/stylesheets/uswds/components/_skipnav.scss +0 -0
- data/vendor/assets/stylesheets/uswds/core/_base.scss +1 -2
- data/vendor/assets/stylesheets/uswds/core/_fonts.scss +0 -0
- data/vendor/assets/stylesheets/uswds/core/_grid.scss +0 -0
- data/vendor/assets/stylesheets/uswds/core/_utilities.scss +6 -0
- data/vendor/assets/stylesheets/uswds/core/_variables.scss +1 -1
- data/vendor/assets/stylesheets/uswds/elements/_buttons.scss +0 -0
- data/vendor/assets/stylesheets/uswds/elements/_embed.scss +0 -0
- data/vendor/assets/stylesheets/uswds/elements/_figure.scss +0 -0
- data/vendor/assets/stylesheets/uswds/elements/_inputs.scss +19 -4
- data/vendor/assets/stylesheets/uswds/elements/_labels.scss +0 -0
- data/vendor/assets/stylesheets/uswds/elements/_list.scss +0 -0
- data/vendor/assets/stylesheets/uswds/elements/_table.scss +30 -22
- data/vendor/assets/stylesheets/uswds/elements/_typography.scss +10 -3
- data/vendor/assets/stylesheets/uswds/uswds.scss +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b73889f0bc059b764657abd1efcb685a29506d0ae970bfca061b314350b1c8a9
|
|
4
|
+
data.tar.gz: a85cb088185bb658718cce0027e6898b448e2aa00a8ddbb834a420d7413a12de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d85631fb1ab1b9a6b33f576099c369764d44419bb870cb231ed3ae4c5a17029b10727524ed07931d46df757ab0cb7adbfab74815d99e29b4a94b94e25b03607c
|
|
7
|
+
data.tar.gz: 10a2508ca4b598b93b0ca85a0eca3fb335698c863bf9f7634b0e1e1f2eeff77ae16fce3595aae037e4c422be06a0f975f2b4dca88a8c9d8ecf409ccd9adc5195
|
|
@@ -341,7 +341,7 @@ li.usa-footer-primary-content {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
ul {
|
|
344
|
-
padding-bottom: 2.
|
|
344
|
+
padding-bottom: 2.4rem;
|
|
345
345
|
|
|
346
346
|
@include media($medium-screen) {
|
|
347
347
|
padding-bottom: 0;
|
|
@@ -355,8 +355,10 @@ li.usa-footer-primary-content {
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
li {
|
|
359
|
-
line-height:
|
|
358
|
+
li:not(.usa-footer-primary-link) {
|
|
359
|
+
line-height: $heading-line-height;
|
|
360
|
+
padding-bottom: 0.35em;
|
|
361
|
+
padding-top: 0.35em;
|
|
360
362
|
}
|
|
361
363
|
|
|
362
364
|
.usa-footer-primary-link {
|
|
@@ -14,25 +14,6 @@ $usa-btn-big-width: 11.6rem;
|
|
|
14
14
|
max-width: none;
|
|
15
15
|
position: relative;
|
|
16
16
|
|
|
17
|
-
[type=search],
|
|
18
|
-
.usa-search-input {
|
|
19
|
-
@include padding(0 null);
|
|
20
|
-
-webkit-appearance: none;
|
|
21
|
-
border-bottom-right-radius: 0;
|
|
22
|
-
border-right: none;
|
|
23
|
-
border-top-right-radius: 0;
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
float: left;
|
|
26
|
-
font-size: $small-font-size;
|
|
27
|
-
height: 3.3rem;
|
|
28
|
-
margin: 0;
|
|
29
|
-
width: calc(100% - #{$usa-btn-small-width});
|
|
30
|
-
|
|
31
|
-
@include media($small-screen) {
|
|
32
|
-
width: calc(100% - #{$usa-btn-medium-width});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
17
|
[type=submit],
|
|
37
18
|
.usa-search-submit {
|
|
38
19
|
@include search-icon;
|
|
@@ -49,14 +30,6 @@ $usa-btn-big-width: 11.6rem;
|
|
|
49
30
|
}
|
|
50
31
|
}
|
|
51
32
|
|
|
52
|
-
.usa-search-submit-text {
|
|
53
|
-
@include sr-only();
|
|
54
|
-
|
|
55
|
-
@include media($small-screen) {
|
|
56
|
-
@include not-sr-only();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
33
|
&.usa-search-big {
|
|
61
34
|
@include media($small-screen) {
|
|
62
35
|
$height: 4.4rem;
|
|
@@ -104,3 +77,35 @@ $usa-btn-big-width: 11.6rem;
|
|
|
104
77
|
}
|
|
105
78
|
}
|
|
106
79
|
}
|
|
80
|
+
|
|
81
|
+
// Extra specificity to override rules set in reset.css.
|
|
82
|
+
input[type=search] { /* stylelint-disable-line selector-no-qualifying-type */
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
-webkit-appearance: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[type=search],
|
|
88
|
+
.usa-search-input {
|
|
89
|
+
@include padding(0 null);
|
|
90
|
+
border-bottom-right-radius: 0;
|
|
91
|
+
border-right: none;
|
|
92
|
+
border-top-right-radius: 0;
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
float: left;
|
|
95
|
+
font-size: $small-font-size;
|
|
96
|
+
height: 3.3rem;
|
|
97
|
+
margin: 0;
|
|
98
|
+
width: calc(100% - #{$usa-btn-small-width});
|
|
99
|
+
|
|
100
|
+
@include media($small-screen) {
|
|
101
|
+
width: calc(100% - #{$usa-btn-medium-width});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.usa-search-submit-text {
|
|
106
|
+
@include sr-only;
|
|
107
|
+
|
|
108
|
+
@include media($small-screen) {
|
|
109
|
+
@include not-sr-only();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -36,6 +36,12 @@
|
|
|
36
36
|
text-transform: uppercase;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
// Focus state mixin
|
|
40
|
+
@mixin focus {
|
|
41
|
+
outline: $focus-outline;
|
|
42
|
+
outline-offset: $focus-spacing;
|
|
43
|
+
}
|
|
44
|
+
|
|
39
45
|
// Mobile-first media query helper
|
|
40
46
|
@mixin media($bp) {
|
|
41
47
|
@media screen and (min-width: #{$bp}) {
|
|
@@ -141,8 +147,8 @@
|
|
|
141
147
|
|
|
142
148
|
@mixin display-icon($icon, $direction, $size, $margin, $hover) {
|
|
143
149
|
&::#{$direction} {
|
|
144
|
-
background-image: url('#{$image-path}/#{$icon}.png');
|
|
145
|
-
background-image: url('#{$image-path}/#{$icon}.svg');
|
|
150
|
+
background-image: asset-url('#{$image-path}/#{$icon}.png');
|
|
151
|
+
background-image: asset-url('#{$image-path}/#{$icon}.svg');
|
|
146
152
|
background-size: 100%;
|
|
147
153
|
content: '';
|
|
148
154
|
display: inline-block;
|
|
@@ -160,8 +166,8 @@
|
|
|
160
166
|
|
|
161
167
|
@if $hover == 'hover' {
|
|
162
168
|
&:hover::#{$direction} {
|
|
163
|
-
background-image: url('#{$image-path}/#{$icon}-hover.png');
|
|
164
|
-
background-image: url('#{$image-path}/#{$icon}-hover.svg');
|
|
169
|
+
background-image: asset-url('#{$image-path}/#{$icon}-hover.png');
|
|
170
|
+
background-image: asset-url('#{$image-path}/#{$icon}-hover.svg');
|
|
165
171
|
}
|
|
166
172
|
}
|
|
167
173
|
}
|
|
@@ -88,13 +88,12 @@ select {
|
|
|
88
88
|
|
|
89
89
|
.usa-input-required:after {
|
|
90
90
|
color: $color-secondary-darkest;
|
|
91
|
-
content: ' (*
|
|
91
|
+
content: ' (*required)';
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.usa-input-optional:after {
|
|
95
95
|
color: $color-gray-medium;
|
|
96
|
-
content: '
|
|
97
|
-
font-style: italic;
|
|
96
|
+
content: ' (optional)';
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
label {
|
|
@@ -112,11 +111,27 @@ select {
|
|
|
112
111
|
-webkit-appearance: none;
|
|
113
112
|
appearance: none;
|
|
114
113
|
background-color: $color-white;
|
|
115
|
-
background-image: url('#{$image-path}/arrow-both.png');
|
|
116
|
-
background-image: url('#{$image-path}/arrow-both.svg');
|
|
114
|
+
background-image: asset-url('#{$image-path}/arrow-both.png');
|
|
115
|
+
background-image: asset-url('#{$image-path}/arrow-both.svg');
|
|
117
116
|
background-position: right 1.3rem center;
|
|
118
117
|
background-repeat: no-repeat;
|
|
119
|
-
background-size:
|
|
118
|
+
background-size: 1rem;
|
|
119
|
+
padding-right: 3rem;
|
|
120
|
+
|
|
121
|
+
&::-ms-expand {
|
|
122
|
+
display: none;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Show default webkit style on select element when autofilled to show icon
|
|
126
|
+
&:-webkit-autofill {
|
|
127
|
+
appearance: menulist;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// Remove dotted outline from select element on focus in Firefox
|
|
131
|
+
&:-moz-focusring {
|
|
132
|
+
color: transparent;
|
|
133
|
+
text-shadow: 0 0 0 $color-black;
|
|
134
|
+
}
|
|
120
135
|
}
|
|
121
136
|
|
|
122
137
|
option:first-child {
|
|
@@ -202,8 +217,8 @@ legend {
|
|
|
202
217
|
|
|
203
218
|
[type=checkbox]:checked + label::before,
|
|
204
219
|
[type=checkbox]:checked:disabled + label::before {
|
|
205
|
-
background-image: url('#{$image-path}/correct8.png');
|
|
206
|
-
background-image: url('#{$image-path}/correct8.svg');
|
|
220
|
+
background-image: asset-url('#{$image-path}/correct8.png');
|
|
221
|
+
background-image: asset-url('#{$image-path}/correct8.svg');
|
|
207
222
|
background-position: 50%;
|
|
208
223
|
background-repeat: no-repeat;
|
|
209
224
|
}
|
|
@@ -22,6 +22,10 @@ a {
|
|
|
22
22
|
color: $color-primary-darker;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
&:focus {
|
|
26
|
+
@include focus;
|
|
27
|
+
}
|
|
28
|
+
|
|
25
29
|
&:visited {
|
|
26
30
|
color: $color-visited;
|
|
27
31
|
}
|
|
@@ -29,8 +33,8 @@ a {
|
|
|
29
33
|
|
|
30
34
|
@mixin external-link($external-link, $external-link-hover) {
|
|
31
35
|
&::after {
|
|
32
|
-
background: url('#{$image-path}/#{$external-link}.png') no-repeat 0 0;
|
|
33
|
-
background: url('#{$image-path}/#{$external-link}.svg') no-repeat 0 0;
|
|
36
|
+
background: asset-url('#{$image-path}/#{$external-link}.png') no-repeat 0 0;
|
|
37
|
+
background: asset-url('#{$image-path}/#{$external-link}.svg') no-repeat 0 0;
|
|
34
38
|
background-size: 100%;
|
|
35
39
|
content: '';
|
|
36
40
|
display: inline-block;
|
|
@@ -41,8 +45,8 @@ a {
|
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
&:hover::after {
|
|
44
|
-
background-image: url('#{$image-path}/#{$external-link-hover}.png');
|
|
45
|
-
background-image: url('#{$image-path}/#{$external-link-hover}.svg');
|
|
48
|
+
background-image: asset-url('#{$image-path}/#{$external-link-hover}.png');
|
|
49
|
+
background-image: asset-url('#{$image-path}/#{$external-link-hover}.svg');
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
52
|
|
|
@@ -62,8 +66,7 @@ h1,
|
|
|
62
66
|
h2,
|
|
63
67
|
h3,
|
|
64
68
|
h4,
|
|
65
|
-
h5
|
|
66
|
-
h6 {
|
|
69
|
+
h5 {
|
|
67
70
|
clear: both;
|
|
68
71
|
font-family: $font-serif;
|
|
69
72
|
line-height: $heading-line-height;
|
|
@@ -71,6 +74,10 @@ h6 {
|
|
|
71
74
|
margin-top: 1.5em;
|
|
72
75
|
}
|
|
73
76
|
|
|
77
|
+
h6 {
|
|
78
|
+
font-family: $font-sans;
|
|
79
|
+
}
|
|
80
|
+
|
|
74
81
|
h1 {
|
|
75
82
|
@include h1();
|
|
76
83
|
}
|
|
@@ -107,7 +114,7 @@ dfn {
|
|
|
107
114
|
// Custom typography
|
|
108
115
|
|
|
109
116
|
.usa-content {
|
|
110
|
-
p
|
|
117
|
+
p,
|
|
111
118
|
ul:not(.usa-accordion):not(.usa-accordion-bordered),
|
|
112
119
|
ol:not(.usa-accordion):not(.usa-accordion-bordered) {
|
|
113
120
|
max-width: $text-max-width;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! uswds 1.4.
|
|
1
|
+
/*! uswds 1.4.2 */
|
|
2
2
|
|
|
3
3
|
// Relative font and image file paths
|
|
4
4
|
$font-path: 'uswds';
|
|
@@ -15,9 +15,9 @@ $asset-pipeline: true;
|
|
|
15
15
|
// Core -------------- //
|
|
16
16
|
@import 'uswds/core/variables';
|
|
17
17
|
@import 'uswds/core/fonts';
|
|
18
|
-
@import 'uswds/core/base';
|
|
19
18
|
@import 'uswds/core/grid';
|
|
20
19
|
@import 'uswds/core/utilities';
|
|
20
|
+
@import 'uswds/core/base';
|
|
21
21
|
|
|
22
22
|
// Elements -------------- //
|
|
23
23
|
// Styles basic HTML elements
|
data/lib/uswds/rails/version.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 14"><g fill="#323a45" fill-rule="evenodd"><path d="M.62639628 5.99993896H9.3727389c.25339173.00130856.482416-.15074264.57956202-.38477624.09714598-.2340336.04312294-.50357616-.13670922-.6820964L5.4401815.1835435C5.32475606.06613116 5.1670083 0 5.00236114 0c-.16464716 0-.3223949.06613117-.43782037.1835435L.1835435 4.93306632C.06613116 5.0484918 0 5.20623953 0 5.3708867s.06613117.32239492.1835435.43782038c.1146444.1224934.27508006.19177244.44285278.19123188zM9.3727389 7.9999685H.6263963c-.1662653-.00316183-.32647608.06237894-.4428528.18116705C.0661312 8.296561 0 8.45430875 0 8.61895592s.06613117.32239492.1835435.43782037l4.38099726 4.7596802C4.67996622 13.9338688 4.83771396 14 5.00236113 14s.32239492-.0661312.43782038-.1835435l4.3754102-4.74961537c.17983216-.17852023.2338552-.44806278.13670922-.68209638-.09714602-.2340336-.3261703-.3860848-.579562-.38477625z"/></g></svg>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -341,7 +341,7 @@ li.usa-footer-primary-content {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
ul {
|
|
344
|
-
padding-bottom: 2.
|
|
344
|
+
padding-bottom: 2.4rem;
|
|
345
345
|
|
|
346
346
|
@include media($medium-screen) {
|
|
347
347
|
padding-bottom: 0;
|
|
@@ -355,8 +355,10 @@ li.usa-footer-primary-content {
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
li {
|
|
359
|
-
line-height:
|
|
358
|
+
li:not(.usa-footer-primary-link) {
|
|
359
|
+
line-height: $heading-line-height;
|
|
360
|
+
padding-bottom: 0.35em;
|
|
361
|
+
padding-top: 0.35em;
|
|
360
362
|
}
|
|
361
363
|
|
|
362
364
|
.usa-footer-primary-link {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -14,25 +14,6 @@ $usa-btn-big-width: 11.6rem;
|
|
|
14
14
|
max-width: none;
|
|
15
15
|
position: relative;
|
|
16
16
|
|
|
17
|
-
[type=search],
|
|
18
|
-
.usa-search-input {
|
|
19
|
-
@include padding(0 null);
|
|
20
|
-
-webkit-appearance: none;
|
|
21
|
-
border-bottom-right-radius: 0;
|
|
22
|
-
border-right: none;
|
|
23
|
-
border-top-right-radius: 0;
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
float: left;
|
|
26
|
-
font-size: $small-font-size;
|
|
27
|
-
height: 3.3rem;
|
|
28
|
-
margin: 0;
|
|
29
|
-
width: calc(100% - #{$usa-btn-small-width});
|
|
30
|
-
|
|
31
|
-
@include media($small-screen) {
|
|
32
|
-
width: calc(100% - #{$usa-btn-medium-width});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
17
|
[type=submit],
|
|
37
18
|
.usa-search-submit {
|
|
38
19
|
@include search-icon;
|
|
@@ -49,14 +30,6 @@ $usa-btn-big-width: 11.6rem;
|
|
|
49
30
|
}
|
|
50
31
|
}
|
|
51
32
|
|
|
52
|
-
.usa-search-submit-text {
|
|
53
|
-
@include sr-only();
|
|
54
|
-
|
|
55
|
-
@include media($small-screen) {
|
|
56
|
-
@include not-sr-only();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
33
|
&.usa-search-big {
|
|
61
34
|
@include media($small-screen) {
|
|
62
35
|
$height: 4.4rem;
|
|
@@ -104,3 +77,35 @@ $usa-btn-big-width: 11.6rem;
|
|
|
104
77
|
}
|
|
105
78
|
}
|
|
106
79
|
}
|
|
80
|
+
|
|
81
|
+
// Extra specificity to override rules set in reset.css.
|
|
82
|
+
input[type=search] { /* stylelint-disable-line selector-no-qualifying-type */
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
-webkit-appearance: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[type=search],
|
|
88
|
+
.usa-search-input {
|
|
89
|
+
@include padding(0 null);
|
|
90
|
+
border-bottom-right-radius: 0;
|
|
91
|
+
border-right: none;
|
|
92
|
+
border-top-right-radius: 0;
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
float: left;
|
|
95
|
+
font-size: $small-font-size;
|
|
96
|
+
height: 3.3rem;
|
|
97
|
+
margin: 0;
|
|
98
|
+
width: calc(100% - #{$usa-btn-small-width});
|
|
99
|
+
|
|
100
|
+
@include media($small-screen) {
|
|
101
|
+
width: calc(100% - #{$usa-btn-medium-width});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.usa-search-submit-text {
|
|
106
|
+
@include sr-only;
|
|
107
|
+
|
|
108
|
+
@include media($small-screen) {
|
|
109
|
+
@include not-sr-only();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -36,6 +36,12 @@
|
|
|
36
36
|
text-transform: uppercase;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
// Focus state mixin
|
|
40
|
+
@mixin focus {
|
|
41
|
+
outline: $focus-outline;
|
|
42
|
+
outline-offset: $focus-spacing;
|
|
43
|
+
}
|
|
44
|
+
|
|
39
45
|
// Mobile-first media query helper
|
|
40
46
|
@mixin media($bp) {
|
|
41
47
|
@media screen and (min-width: #{$bp}) {
|
|
@@ -128,7 +128,7 @@ $image-path: '../img' !default;
|
|
|
128
128
|
$asset-pipeline: false !default;
|
|
129
129
|
|
|
130
130
|
// Magic Numbers
|
|
131
|
-
$text-max-width:
|
|
131
|
+
$text-max-width: 66ch !default; // 66 characters per line
|
|
132
132
|
$lead-max-width: 77rem !default;
|
|
133
133
|
$site-max-width: 1040px !default;
|
|
134
134
|
$site-margins: 3rem !default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -88,13 +88,12 @@ select {
|
|
|
88
88
|
|
|
89
89
|
.usa-input-required:after {
|
|
90
90
|
color: $color-secondary-darkest;
|
|
91
|
-
content: ' (*
|
|
91
|
+
content: ' (*required)';
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.usa-input-optional:after {
|
|
95
95
|
color: $color-gray-medium;
|
|
96
|
-
content: '
|
|
97
|
-
font-style: italic;
|
|
96
|
+
content: ' (optional)';
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
label {
|
|
@@ -116,7 +115,23 @@ select {
|
|
|
116
115
|
background-image: url('#{$image-path}/arrow-both.svg');
|
|
117
116
|
background-position: right 1.3rem center;
|
|
118
117
|
background-repeat: no-repeat;
|
|
119
|
-
background-size:
|
|
118
|
+
background-size: 1rem;
|
|
119
|
+
padding-right: 3rem;
|
|
120
|
+
|
|
121
|
+
&::-ms-expand {
|
|
122
|
+
display: none;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Show default webkit style on select element when autofilled to show icon
|
|
126
|
+
&:-webkit-autofill {
|
|
127
|
+
appearance: menulist;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// Remove dotted outline from select element on focus in Firefox
|
|
131
|
+
&:-moz-focusring {
|
|
132
|
+
color: transparent;
|
|
133
|
+
text-shadow: 0 0 0 $color-black;
|
|
134
|
+
}
|
|
120
135
|
}
|
|
121
136
|
|
|
122
137
|
option:first-child {
|
|
File without changes
|
|
File without changes
|
|
@@ -1,40 +1,35 @@
|
|
|
1
1
|
table {
|
|
2
2
|
border-spacing: 0;
|
|
3
3
|
margin: 2em 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
thead {
|
|
7
|
-
th,
|
|
8
|
-
td {
|
|
9
|
-
background-color: $color-gray-lightest;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
4
|
+
}
|
|
12
5
|
|
|
6
|
+
thead {
|
|
13
7
|
th {
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
tbody {
|
|
18
|
-
th {
|
|
19
|
-
font-weight: $font-normal;
|
|
20
|
-
}
|
|
8
|
+
font-weight: $font-bold;
|
|
21
9
|
}
|
|
22
10
|
|
|
23
11
|
th,
|
|
24
12
|
td {
|
|
25
|
-
background-color: $color-
|
|
26
|
-
border: 1px solid $color-gray;
|
|
27
|
-
padding: 1.5rem;
|
|
13
|
+
background-color: $color-gray-lightest;
|
|
28
14
|
}
|
|
29
15
|
}
|
|
30
16
|
|
|
17
|
+
th {
|
|
18
|
+
text-align: left;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
th,
|
|
22
|
+
td {
|
|
23
|
+
background-color: $color-white;
|
|
24
|
+
border: 1px solid $color-gray;
|
|
25
|
+
font-weight: $font-normal;
|
|
26
|
+
padding: 1rem 1.5rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
31
29
|
.usa-table-borderless {
|
|
32
30
|
thead {
|
|
33
|
-
tr {
|
|
34
|
-
background-color: transparent;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
31
|
th {
|
|
32
|
+
background-color: transparent;
|
|
38
33
|
border-top: 0;
|
|
39
34
|
}
|
|
40
35
|
}
|
|
@@ -44,4 +39,17 @@ table {
|
|
|
44
39
|
border-left: 0;
|
|
45
40
|
border-right: 0;
|
|
46
41
|
}
|
|
42
|
+
|
|
43
|
+
th {
|
|
44
|
+
&:first-child {
|
|
45
|
+
padding-left: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
caption {
|
|
51
|
+
@include h5;
|
|
52
|
+
font-family: $font-serif;
|
|
53
|
+
margin-bottom: 1.2rem;
|
|
54
|
+
text-align: left;
|
|
47
55
|
}
|
|
@@ -22,6 +22,10 @@ a {
|
|
|
22
22
|
color: $color-primary-darker;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
&:focus {
|
|
26
|
+
@include focus;
|
|
27
|
+
}
|
|
28
|
+
|
|
25
29
|
&:visited {
|
|
26
30
|
color: $color-visited;
|
|
27
31
|
}
|
|
@@ -62,8 +66,7 @@ h1,
|
|
|
62
66
|
h2,
|
|
63
67
|
h3,
|
|
64
68
|
h4,
|
|
65
|
-
h5
|
|
66
|
-
h6 {
|
|
69
|
+
h5 {
|
|
67
70
|
clear: both;
|
|
68
71
|
font-family: $font-serif;
|
|
69
72
|
line-height: $heading-line-height;
|
|
@@ -71,6 +74,10 @@ h6 {
|
|
|
71
74
|
margin-top: 1.5em;
|
|
72
75
|
}
|
|
73
76
|
|
|
77
|
+
h6 {
|
|
78
|
+
font-family: $font-sans;
|
|
79
|
+
}
|
|
80
|
+
|
|
74
81
|
h1 {
|
|
75
82
|
@include h1();
|
|
76
83
|
}
|
|
@@ -107,7 +114,7 @@ dfn {
|
|
|
107
114
|
// Custom typography
|
|
108
115
|
|
|
109
116
|
.usa-content {
|
|
110
|
-
p
|
|
117
|
+
p,
|
|
111
118
|
ul:not(.usa-accordion):not(.usa-accordion-bordered),
|
|
112
119
|
ol:not(.usa-accordion):not(.usa-accordion-bordered) {
|
|
113
120
|
max-width: $text-max-width;
|