uswds-rails 1.3.1.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/uswds/components/_accordions.scss +11 -11
  3. data/app/assets/stylesheets/uswds/components/_alerts.scss +60 -29
  4. data/app/assets/stylesheets/uswds/components/_footer.scss +170 -36
  5. data/app/assets/stylesheets/uswds/components/_forms.scss +0 -0
  6. data/app/assets/stylesheets/uswds/components/_hero.scss +0 -0
  7. data/app/assets/stylesheets/uswds/components/_navigation.scss +61 -18
  8. data/app/assets/stylesheets/uswds/components/_search.scss +2 -2
  9. data/app/assets/stylesheets/uswds/core/_utilities.scss +15 -2
  10. data/app/assets/stylesheets/uswds/elements/_inputs.scss +32 -42
  11. data/app/assets/stylesheets/uswds/elements/_typography.scss +1 -5
  12. data/app/assets/stylesheets/uswds/uswds.scss +1 -1
  13. data/lib/uswds/rails/version.rb +1 -1
  14. data/vendor/assets/fonts/uswds/sourcesanspro-bold-webfont.eot +0 -0
  15. data/vendor/assets/fonts/uswds/sourcesanspro-bold-webfont.ttf +0 -0
  16. data/vendor/assets/fonts/uswds/sourcesanspro-bold-webfont.woff +0 -0
  17. data/vendor/assets/fonts/uswds/sourcesanspro-bold-webfont.woff2 +0 -0
  18. data/vendor/assets/fonts/uswds/sourcesanspro-italic-webfont.eot +0 -0
  19. data/vendor/assets/fonts/uswds/sourcesanspro-italic-webfont.ttf +0 -0
  20. data/vendor/assets/fonts/uswds/sourcesanspro-italic-webfont.woff +0 -0
  21. data/vendor/assets/fonts/uswds/sourcesanspro-italic-webfont.woff2 +0 -0
  22. data/vendor/assets/fonts/uswds/sourcesanspro-light-webfont.eot +0 -0
  23. data/vendor/assets/fonts/uswds/sourcesanspro-light-webfont.ttf +0 -0
  24. data/vendor/assets/fonts/uswds/sourcesanspro-light-webfont.woff +0 -0
  25. data/vendor/assets/fonts/uswds/sourcesanspro-light-webfont.woff2 +0 -0
  26. data/vendor/assets/fonts/uswds/sourcesanspro-regular-webfont.eot +0 -0
  27. data/vendor/assets/fonts/uswds/sourcesanspro-regular-webfont.ttf +0 -0
  28. data/vendor/assets/fonts/uswds/sourcesanspro-regular-webfont.woff +0 -0
  29. data/vendor/assets/fonts/uswds/sourcesanspro-regular-webfont.woff2 +0 -0
  30. data/vendor/assets/images/uswds/angle-arrow-down-hover.png +0 -0
  31. data/vendor/assets/images/uswds/angle-arrow-down-hover.svg +0 -0
  32. data/vendor/assets/images/uswds/angle-arrow-down-primary-hover.png +0 -0
  33. data/vendor/assets/images/uswds/angle-arrow-down-primary-hover.svg +0 -0
  34. data/vendor/assets/images/uswds/angle-arrow-down-primary.png +0 -0
  35. data/vendor/assets/images/uswds/angle-arrow-down-primary.svg +0 -0
  36. data/vendor/assets/images/uswds/angle-arrow-down.png +0 -0
  37. data/vendor/assets/images/uswds/angle-arrow-down.svg +0 -0
  38. data/vendor/assets/images/uswds/angle-arrow-up-primary-hover.png +0 -0
  39. data/vendor/assets/images/uswds/angle-arrow-up-primary-hover.svg +0 -0
  40. data/vendor/assets/images/uswds/angle-arrow-up-primary.png +0 -0
  41. data/vendor/assets/images/uswds/angle-arrow-up-primary.svg +0 -0
  42. data/vendor/assets/images/uswds/arrow-both.png +0 -0
  43. data/vendor/assets/images/uswds/arrow-both.svg +1 -0
  44. data/vendor/assets/images/uswds/arrow-down.png +0 -0
  45. data/vendor/assets/images/uswds/arrow-down.svg +0 -0
  46. data/vendor/assets/images/uswds/arrow-right.png +0 -0
  47. data/vendor/assets/images/uswds/arrow-right.svg +0 -0
  48. data/vendor/assets/images/uswds/circle-124.png +0 -0
  49. data/vendor/assets/images/uswds/close-primary.png +0 -0
  50. data/vendor/assets/images/uswds/close-primary.svg +16 -0
  51. data/vendor/assets/images/uswds/close.png +0 -0
  52. data/vendor/assets/images/uswds/close.svg +12 -1
  53. data/vendor/assets/images/uswds/correct9.png +0 -0
  54. data/vendor/assets/images/uswds/external-link-alt-hover.png +0 -0
  55. data/vendor/assets/images/uswds/external-link-alt-hover.svg +0 -0
  56. data/vendor/assets/images/uswds/external-link-alt.png +0 -0
  57. data/vendor/assets/images/uswds/external-link-alt.svg +0 -0
  58. data/vendor/assets/images/uswds/external-link-hover.png +0 -0
  59. data/vendor/assets/images/uswds/external-link-hover.svg +0 -0
  60. data/vendor/assets/images/uswds/external-link.png +0 -0
  61. data/vendor/assets/images/uswds/external-link.svg +0 -0
  62. data/vendor/assets/images/uswds/hero.png +0 -0
  63. data/vendor/assets/images/uswds/icon-dot-gov.svg +0 -0
  64. data/vendor/assets/images/uswds/icon-https.svg +0 -0
  65. data/vendor/assets/images/uswds/logo-img.png +0 -0
  66. data/vendor/assets/images/uswds/minus-alt.png +0 -0
  67. data/vendor/assets/images/uswds/minus-alt.svg +0 -0
  68. data/vendor/assets/images/uswds/minus.png +0 -0
  69. data/vendor/assets/images/uswds/minus.svg +0 -0
  70. data/vendor/assets/images/uswds/plus-alt.png +0 -0
  71. data/vendor/assets/images/uswds/plus-alt.svg +0 -0
  72. data/vendor/assets/images/uswds/plus.png +0 -0
  73. data/vendor/assets/images/uswds/plus.svg +0 -0
  74. data/vendor/assets/images/uswds/search-primary.png +0 -0
  75. data/vendor/assets/images/uswds/search-primary.svg +12 -0
  76. data/vendor/assets/images/uswds/social-icons/png/facebook25.png +0 -0
  77. data/vendor/assets/images/uswds/social-icons/png/rss25.png +0 -0
  78. data/vendor/assets/images/uswds/social-icons/png/twitter16.png +0 -0
  79. data/vendor/assets/images/uswds/social-icons/png/youtube15.png +0 -0
  80. data/vendor/assets/images/uswds/us_flag_small.png +0 -0
  81. data/vendor/assets/javascripts/uswds/uswds.js +45 -13
  82. data/vendor/assets/stylesheets/uswds/components/_accordions.scss +11 -11
  83. data/vendor/assets/stylesheets/uswds/components/_alerts.scss +60 -29
  84. data/vendor/assets/stylesheets/uswds/components/_banner.scss +0 -0
  85. data/vendor/assets/stylesheets/uswds/components/_footer.scss +170 -36
  86. data/vendor/assets/stylesheets/uswds/components/_forms.scss +0 -0
  87. data/vendor/assets/stylesheets/uswds/components/_graphic-list.scss +0 -0
  88. data/vendor/assets/stylesheets/uswds/components/_header.scss +5 -4
  89. data/vendor/assets/stylesheets/uswds/components/_hero.scss +0 -0
  90. data/vendor/assets/stylesheets/uswds/components/_layout.scss +0 -0
  91. data/vendor/assets/stylesheets/uswds/components/_media-block.scss +0 -0
  92. data/vendor/assets/stylesheets/uswds/components/_navigation.scss +61 -18
  93. data/vendor/assets/stylesheets/uswds/components/_search.scss +2 -2
  94. data/vendor/assets/stylesheets/uswds/components/_section.scss +0 -0
  95. data/vendor/assets/stylesheets/uswds/components/_sidenav.scss +0 -0
  96. data/vendor/assets/stylesheets/uswds/components/_skipnav.scss +0 -0
  97. data/vendor/assets/stylesheets/uswds/core/_base.scss +6 -0
  98. data/vendor/assets/stylesheets/uswds/core/_fonts.scss +0 -0
  99. data/vendor/assets/stylesheets/uswds/core/_grid.scss +0 -0
  100. data/vendor/assets/stylesheets/uswds/core/_utilities.scss +19 -6
  101. data/vendor/assets/stylesheets/uswds/core/_variables.scss +78 -46
  102. data/vendor/assets/stylesheets/uswds/elements/_buttons.scss +74 -49
  103. data/vendor/assets/stylesheets/uswds/elements/_embed.scss +0 -0
  104. data/vendor/assets/stylesheets/uswds/elements/_figure.scss +0 -0
  105. data/vendor/assets/stylesheets/uswds/elements/_inputs.scss +32 -42
  106. data/vendor/assets/stylesheets/uswds/elements/_labels.scss +2 -2
  107. data/vendor/assets/stylesheets/uswds/elements/_list.scss +0 -0
  108. data/vendor/assets/stylesheets/uswds/elements/_table.scss +0 -0
  109. data/vendor/assets/stylesheets/uswds/elements/_typography.scss +1 -5
  110. data/vendor/assets/stylesheets/uswds/uswds.scss +0 -0
  111. metadata +8 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc1f529c2a8e0e69bc1d74d25a992f14eb88912b
4
- data.tar.gz: 68e9d08b31627c3c1e0212d766106d1a221fc8ea
3
+ metadata.gz: 0fe0957d5eafc6b562cf44545eaba7e0858db10b
4
+ data.tar.gz: 662a549b3b3081eb4e0981d1f212c4b1cdf7a53b
5
5
  SHA512:
6
- metadata.gz: 5aa7ce1ad10dcb7d3e097d711f69cef441de031371a6ee09c64fdecd47b9e29135512143e03efd0c484dafac22ee067eb4982ba90203be2e173b6c09e7cc848b
7
- data.tar.gz: 8ff91926b90de18b10b4b88f01b413589c58189df450bbccc2b08f0c65f0bc56be18087a5be0394398e6d92a53e418bf27b6183a85aeebbe9dfe4dff3c8c575a
6
+ metadata.gz: 3b14ca0ba6d7891f8c1d0c55c8e8f5c35e5cda430d1a334008198c61c35a16d4538478dc8efa7c13fb57e927d28f4bb1f9d04d32311462078d22b7ebe33de25a
7
+ data.tar.gz: fe8cac3ee16bea6b12d4dc44107fe0d7795192f701aaeb3c7ef4fb753e43b5e5d95023d7537b9b5c6c4c6adaa1671ed3b1faa8b2c68377b17399404160e524a1
@@ -4,6 +4,10 @@ $accordion-border: 3px solid $color-gray-lightest;
4
4
 
5
5
  // Accordion Styles
6
6
 
7
+ $icon-size: $spacing-md-small;
8
+ $h-padding: $spacing-medium;
9
+ $v-padding: $spacing-md-small;
10
+
7
11
  @mixin accordion-list-styles {
8
12
  @include unstyled-list;
9
13
  color: $color-base;
@@ -16,7 +20,7 @@ $accordion-border: 3px solid $color-gray-lightest;
16
20
  background-color: $color-gray-lightest;
17
21
  font-family: $font-sans;
18
22
  list-style: none;
19
- margin-bottom: 6px;
23
+ margin-bottom: $spacing-x-small;
20
24
  width: 100%;
21
25
  }
22
26
 
@@ -26,22 +30,18 @@ $accordion-border: 3px solid $color-gray-lightest;
26
30
  background-color: $color-gray-lightest;
27
31
  background-image: asset-url('#{$image-path}/minus.png');
28
32
  background-image: asset-url('#{$image-path}/minus.svg');
29
- background-position: right 3rem center;
33
+ background-position: right $h-padding center;
30
34
  background-repeat: no-repeat;
31
- background-size: 13px;
35
+ background-size: $icon-size;
32
36
  color: $color-base;
33
37
  cursor: pointer;
34
38
  display: inline-block;
35
39
  font-family: $font-sans;
36
40
  font-weight: $font-bold;
37
41
  margin: 0;
38
- padding: 1.5rem 5.5rem 1.5rem 3rem;
42
+ padding: $v-padding ($h-padding * 2 + $icon-size) $v-padding $h-padding;
39
43
  width: 100%;
40
44
 
41
- &:focus {
42
- box-shadow: $focus-shadow;
43
- }
44
-
45
45
  &:hover {
46
46
  background-color: $color-gray-lighter;
47
47
  color: $color-base;
@@ -62,7 +62,7 @@ $accordion-border: 3px solid $color-gray-lightest;
62
62
  background-image: asset-url('#{$image-path}/plus.png');
63
63
  background-image: asset-url('#{$image-path}/plus.svg');
64
64
  background-repeat: no-repeat;
65
- background-size: 1.3rem;
65
+ background-size: $icon-size;
66
66
  }
67
67
 
68
68
  @mixin accordion-nested-list {
@@ -84,7 +84,7 @@ $accordion-border: 3px solid $color-gray-lightest;
84
84
 
85
85
  + .usa-accordion,
86
86
  + .usa-accordion-bordered {
87
- margin-top: 1rem;
87
+ margin-top: $spacing-small;
88
88
  }
89
89
 
90
90
  // TODO deprecated ruleset based on old accordion.
@@ -124,7 +124,7 @@ $accordion-border: 3px solid $color-gray-lightest;
124
124
  .usa-accordion-content {
125
125
  background-color: $color-white;
126
126
  overflow: auto;
127
- padding: 3rem;
127
+ padding: $spacing-md-small $spacing-medium;
128
128
 
129
129
  > *:first-child {
130
130
  margin-top: 0;
@@ -1,5 +1,6 @@
1
1
  // Alert variables ---------- //
2
2
  $usa-custom-alerts: () !default;
3
+ $usa-custom-alerts-bar: () !default;
3
4
 
4
5
  $usa-alerts: (
5
6
  success: $color-green-lightest,
@@ -8,18 +9,40 @@ $usa-alerts: (
8
9
  info: $color-primary-alt-lightest
9
10
  );
10
11
 
12
+ $usa-alerts-bar: (
13
+ success: $color-green,
14
+ warning: $color-gold,
15
+ error: $color-secondary,
16
+ info: $color-primary-alt
17
+ );
18
+
11
19
  $alerts: map-merge($usa-alerts, $usa-custom-alerts);
20
+ $alerts-bar: map-merge($usa-alerts-bar, $usa-custom-alerts-bar);
21
+
22
+ $h-padding: $spacing-medium;
23
+ $bar-size: $spacing-small;
24
+ $left-padding: $h-padding + $bar-size;
25
+ $icon-size: 3rem;
12
26
 
13
27
  .usa-alert {
14
28
  background-color: $color-gray-lightest;
15
- background-position: 1rem 2rem;
29
+ background-position: $h-padding $h-padding;
16
30
  background-repeat: no-repeat;
17
- background-size: 4rem;
18
- margin-top: 1.5em;
19
- padding: 1em;
20
-
21
- @include media($medium-screen) {
22
- background-size: 5.2rem;
31
+ background-size: 5.2rem; // TODO abrituary number based on svg size maybe?
32
+ padding-bottom: $h-padding * 0.7;
33
+ padding-left: $left-padding;
34
+ padding-right: $h-padding;
35
+ padding-top: $h-padding;
36
+ position: relative;
37
+
38
+ &::before {
39
+ background-color: darken($color-gray-lightest, 40%);
40
+ content: '';
41
+ height: 100%;
42
+ left: 0;
43
+ position: absolute;
44
+ top: 0;
45
+ width: $bar-size;
23
46
  }
24
47
 
25
48
  a {
@@ -33,41 +56,36 @@ $alerts: map-merge($usa-alerts, $usa-custom-alerts);
33
56
 
34
57
  ul {
35
58
  margin-bottom: 0;
36
- margin-top: 1em;
37
- padding-left: 1em;
59
+ margin-top: $spacing-small;
60
+ padding-left: $spacing-small;
61
+ }
62
+ }
63
+
64
+ .usa-alert-slim {
65
+ background-position: $h-padding $spacing-small;
66
+ padding-bottom: $spacing-small;
67
+ padding-top: $spacing-small;
68
+
69
+ .usa-alert-text:only-child {
70
+ margin-bottom: $spacing-x-small;
71
+ padding-top: $spacing-x-small;
38
72
  }
39
73
  }
40
74
 
41
75
  .usa-alert-icon {
42
76
  display: table-cell;
43
- padding-right: 1rem;
77
+ padding-right: $spacing-small;
44
78
  }
45
79
 
46
80
  .usa-alert-body {
47
81
  display: table-cell;
48
- padding-left: 3.5rem;
82
+ padding-left: $icon-size + $h-padding;
49
83
  vertical-align: top;
50
-
51
- @include media($medium-screen) {
52
- padding-left: 5rem;
53
- }
54
-
55
- p:first-child {
56
- margin-top: 0.8rem;
57
- }
58
-
59
- p:last-child {
60
- margin-bottom: 0.8rem;
61
- }
62
84
  }
63
85
 
64
86
  .usa-alert-heading {
65
- margin-bottom: .3rem;
66
87
  margin-top: 0;
67
-
68
- @include media($medium-screen) {
69
- margin-top: .3rem;
70
- }
88
+ margin-bottom: 0;
71
89
  }
72
90
 
73
91
  .usa-alert-text {
@@ -76,11 +94,20 @@ $alerts: map-merge($usa-alerts, $usa-custom-alerts);
76
94
  margin-top: 0;
77
95
  }
78
96
 
97
+ .usa-alert-text:only-child {
98
+ margin-bottom: $spacing-small;
99
+ padding-top: $spacing-x-small;
100
+ }
101
+
79
102
  @each $name, $bgcolor in $alerts {
80
103
  .usa-alert-#{$name} {
81
104
  background-color: $bgcolor;
82
105
  background-image: asset-url('#{$image-path}/alerts/#{$name}.png');
83
106
  background-image: asset-url('#{$image-path}/alerts/#{$name}.svg');
107
+
108
+ &::before {
109
+ background-color: map-get($alerts-bar, $name);
110
+ }
84
111
  }
85
112
  }
86
113
 
@@ -90,5 +117,9 @@ $alerts: map-merge($usa-alerts, $usa-custom-alerts);
90
117
 
91
118
  .usa-alert-paragraph {
92
119
  width: $text-max-width;
93
- padding: 1em 3em 1em 1em;
120
+ }
121
+
122
+ // Deprecated
123
+ .usa-alert {
124
+ margin-top: 1.5em; // TODO deprecate
94
125
  }
@@ -8,8 +8,8 @@
8
8
  display: block;
9
9
  font-weight: $font-bold;
10
10
  margin-top: 0;
11
- padding-bottom: 2rem;
12
- padding-top: 2rem;
11
+ padding-bottom: $spacing-medium;
12
+ padding-top: $spacing-medium;
13
13
  text-decoration: none;
14
14
 
15
15
  @include media($medium-screen) {
@@ -23,19 +23,35 @@
23
23
 
24
24
  a {
25
25
  font-weight: normal;
26
+ text-decoration: none;
27
+ }
28
+ }
29
+
30
+ .usa-footer-contact_info {
31
+ display: inline-block;
32
+
33
+ a {
34
+ color: $color-base;
35
+ text-decoration: none;
36
+ }
37
+
38
+ &:hover {
39
+ text-decoration: underline;
26
40
  }
27
41
  }
28
42
 
29
43
  .usa-footer-return-to-top {
30
- padding-bottom: 2rem;
31
- padding-top: 2rem;
44
+ color: $color-primary;
45
+ padding-bottom: $spacing-medium;
46
+ padding-top: $spacing-medium;
47
+ text-decoration: underline;
32
48
  }
33
49
 
34
50
  .usa-footer-primary-section {
35
51
  background-color: $color-gray-lightest;
36
52
 
37
53
  .usa-footer-primary-content {
38
- padding-left: 2.5rem;
54
+ padding-left: 1.5rem;
39
55
  padding-right: 2.5rem;
40
56
 
41
57
  @include media($medium-screen) {
@@ -61,17 +77,51 @@
61
77
  }
62
78
 
63
79
  .usa-footer-medium {
64
- .usa-footer-primary-section {
65
- padding: 0;
80
+ .usa-footer-contact_info {
81
+ p {
82
+ margin: 0 $spacing-small 0 0;
83
+
84
+ @include media($medium-screen) {
85
+ margin: 0 0 0 $spacing-small;
86
+ }
87
+ }
88
+ }
89
+
90
+ .usa-footer-contact-heading {
91
+ margin-top: 0;
92
+
93
+ @include media($medium-screen) {
94
+ margin-top: $spacing-x-small;
95
+ margin-bottom: $spacing-x-small;
96
+ }
97
+ }
98
+
99
+ .usa-footer-logo {
100
+ padding: $spacing-small 0;
66
101
 
67
102
  @include media($medium-screen) {
68
- padding-bottom: 1rem;
69
- padding-top: 1rem;
103
+ padding: $spacing-medium 0;
104
+ }
105
+ }
106
+
107
+ .usa-footer-primary-link {
108
+ padding-bottom: $spacing-md-small;
109
+ padding-top: $spacing-md-small;
110
+ }
111
+
112
+ .usa-footer-primary-section {
113
+ > .usa-grid {
114
+ padding: 0;
115
+
116
+ @include media($medium-screen) {
117
+ padding-left: $spacing-large;
118
+ padding-right: $spacing-large;
119
+ }
70
120
  }
71
121
 
72
122
  .usa-footer-primary-content {
73
123
  @include media($large-screen) {
74
- margin-right: 6%;
124
+ margin-right: 5%;
75
125
  width: inherit;
76
126
  }
77
127
 
@@ -98,7 +148,7 @@
98
148
 
99
149
  .usa-footer-primary-content {
100
150
  @include media($large-screen) {
101
- margin-right: 9%;
151
+ margin-right: 5%;
102
152
  width: inherit;
103
153
  }
104
154
 
@@ -110,12 +160,24 @@
110
160
  }
111
161
  }
112
162
 
163
+ .usa-footer-primary-link {
164
+ padding-bottom: $spacing-md-small;
165
+ padding-top: $spacing-md-small;
166
+ }
167
+
113
168
  .usa-footer-primary-section {
114
- padding-bottom: 2rem;
169
+ > .usa-grid {
170
+ padding: 0;
171
+
172
+ @include media($medium-screen) {
173
+ padding-left: $spacing-large;
174
+ padding-right: $spacing-large;
175
+ }
176
+ }
115
177
 
116
178
  @include media($medium-screen) {
117
- padding-bottom: 1rem;
118
- padding-top: 1rem;
179
+ padding-bottom: 0;
180
+ padding-top: 0;
119
181
 
120
182
  .usa-grid-full {
121
183
  align-items: center;
@@ -131,7 +193,7 @@
131
193
  }
132
194
 
133
195
  @include media($medium-screen) {
134
- @include padding (2rem null);
196
+ @include padding ($spacing-md-small null);
135
197
  }
136
198
 
137
199
  @include media($medium-screen) {
@@ -148,14 +210,14 @@
148
210
  ul.usa-footer-primary-content,
149
211
  li.usa-footer-primary-content,
150
212
  li.usa-footer-primary-content {
151
- border-top: 1px solid $color-base;
213
+ border-top: 1px solid $color-gray-light;
152
214
 
153
215
  @include media($medium-screen) {
154
216
  border: none;
155
217
  }
156
218
 
157
219
  &:last-child {
158
- border-bottom: 1px solid $color-base;
220
+ border-bottom: 1px solid $color-gray-light;
159
221
 
160
222
  @include media($medium-screen) {
161
223
  border-bottom: none;
@@ -165,9 +227,9 @@ li.usa-footer-primary-content {
165
227
  /* stylelint-enable */
166
228
 
167
229
  .usa-sign_up-block {
168
- padding-bottom: 2rem;
169
- padding-left: 2.5rem;
170
- padding-right: 2.5rem;
230
+ padding-bottom: 4.5rem;
231
+ padding-left: 1.5rem;
232
+ padding-right: 1.5rem;
171
233
 
172
234
  @include media($medium-screen) {
173
235
  float: right;
@@ -191,8 +253,8 @@ li.usa-footer-primary-content {
191
253
 
192
254
  .usa-footer-secondary_section {
193
255
  background-color: $color-gray-lighter;
194
- padding-bottom: 3rem;
195
- padding-top: 3rem;
256
+ padding-bottom: $spacing-medium;
257
+ padding-top: $spacing-medium;
196
258
 
197
259
  a {
198
260
  color: $color-base;
@@ -201,7 +263,8 @@ li.usa-footer-primary-content {
201
263
 
202
264
  .usa-footer-big-secondary-section {
203
265
  @include media($medium-screen) {
204
- padding-top: 5rem;
266
+ padding-top: $spacing-medium;
267
+ padding-bottom: $spacing-medium;
205
268
  }
206
269
  }
207
270
 
@@ -218,11 +281,63 @@ li.usa-footer-primary-content {
218
281
  }
219
282
 
220
283
  .usa-footer-big {
284
+ .usa-footer-contact_info {
285
+ display: block;
286
+
287
+ p {
288
+ margin: 0 $spacing-small 0 0;
289
+
290
+ @include media($medium-screen) {
291
+ margin: $spacing-x-small 0 0 $spacing-small;
292
+ }
293
+ }
294
+ }
295
+
296
+ .usa-footer-contact-links {
297
+ @include media($medium-screen) {
298
+ padding-top: $spacing-medium;
299
+ }
300
+ }
301
+
302
+ .usa-footer-logo {
303
+ padding: $spacing-small 0;
304
+
305
+ @include media($medium-screen) {
306
+ padding: $spacing-medium 0;
307
+ }
308
+ }
309
+
221
310
  .usa-footer-primary-section {
222
311
  @include media($medium-screen) {
223
312
  padding-bottom: 4rem;
224
313
  padding-top: 3rem;
225
314
  }
315
+
316
+ > .usa-grid {
317
+ padding: 0;
318
+
319
+ @include media($medium-screen) {
320
+ padding-left: $spacing-large;
321
+ padding-right: $spacing-large;
322
+ }
323
+ }
324
+
325
+ .usa-footer-primary-content {
326
+ padding-left: 0;
327
+ padding-right: 0;
328
+
329
+ li {
330
+ margin-left: $spacing-md-small;
331
+
332
+ @include media($medium-screen) {
333
+ margin-left: 0;
334
+ }
335
+ }
336
+
337
+ .usa-footer-primary-link {
338
+ margin-left: 0;
339
+ }
340
+ }
226
341
  }
227
342
 
228
343
  ul {
@@ -233,7 +348,7 @@ li.usa-footer-primary-content {
233
348
  }
234
349
 
235
350
  &:last-child {
236
- border-bottom: 1px solid $color-base;
351
+ border-bottom: 1px solid $color-gray-light;
237
352
 
238
353
  @include media($medium-screen) {
239
354
  border-bottom: none;
@@ -300,33 +415,52 @@ li.usa-footer-primary-content {
300
415
  }
301
416
 
302
417
  .usa-footer-logo-img {
303
- max-width: 14rem;
418
+ max-width: 8rem;
419
+
420
+ @include media($medium-screen) {
421
+ float: left;
422
+ }
423
+ }
424
+
425
+ .usa-footer-big-logo-img {
426
+ max-width: 10rem;
304
427
  }
305
428
 
306
429
  .usa-footer-slim-logo-img {
307
430
  float: left;
308
- max-width: 10rem;
431
+ max-width: 5rem;
309
432
  }
310
433
 
311
434
  .usa-footer-logo-heading {
312
- margin-top: 2rem;
435
+ display: block;
436
+ margin-top: $spacing-small;
437
+
438
+ @include media($medium-screen) {
439
+ display: inline-block;
440
+ margin-top: $spacing-large;
441
+ padding-left: $spacing-md-small;
442
+ }
313
443
  }
314
444
 
315
- .usa-footer-contact-heading {
316
- margin-top: 0;
445
+ .usa-footer-big-logo-heading {
446
+ margin-top: $spacing-md-small;
317
447
 
318
448
  @include media($medium-screen) {
319
- margin-top: 1rem;
449
+ margin-top: $spacing-medium;
320
450
  }
321
451
  }
322
452
 
323
453
  .usa-footer-slim-logo-heading {
324
- display: block;
325
- padding-top: 1rem;
454
+ display: inline-block;
455
+ margin-top: $spacing-md-small;
456
+ padding-left: $spacing-md-small;
457
+ }
458
+
459
+ .usa-footer-contact-heading {
460
+ margin-top: 0;
326
461
 
327
462
  @include media($medium-screen) {
328
- display: inline-block;
329
- padding-left: 1em;
463
+ margin-top: 1rem;
330
464
  }
331
465
  }
332
466
 
@@ -348,8 +482,8 @@ li.usa-footer-primary-content {
348
482
  width: $hit-area;
349
483
 
350
484
  @include media($medium-screen) {
351
- @include margin(0 0 0 1rem);
352
- left: 1.2rem;
485
+ @include margin(0 0 0 $spacing-x-small);
486
+ left: $spacing-md-small;
353
487
  }
354
488
 
355
489
  span {