uswds-rails 1.4.2 → 1.4.3
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 +2 -2
- data/app/assets/stylesheets/uswds/components/_hero.scss +1 -7
- data/app/assets/stylesheets/uswds/components/_navigation.scss +13 -2
- data/app/assets/stylesheets/uswds/elements/_inputs.scss +1 -1
- data/app/assets/stylesheets/uswds/uswds.scss +1 -1
- data/lib/uswds/rails/version.rb +1 -1
- data/vendor/assets/stylesheets/uswds/components/_footer.scss +2 -2
- data/vendor/assets/stylesheets/uswds/components/_header.scss +0 -3
- data/vendor/assets/stylesheets/uswds/components/_hero.scss +1 -7
- data/vendor/assets/stylesheets/uswds/components/_navigation.scss +13 -2
- data/vendor/assets/stylesheets/uswds/elements/_buttons.scss +2 -1
- data/vendor/assets/stylesheets/uswds/elements/_inputs.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: a756b523f71c9818fed38bfc20f1d410f4397b85dfcc5cc6e571a79147677896
|
|
4
|
+
data.tar.gz: 9f37cfd953b8b7fdcd5ca770b1722375d029cc69c64111285a705a7d0eff7b22
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84be05e23d62d5f1ef1bcebffa3bad05871e3c1dd9f8fbc6a070d693469cfa4a2ced3f2d36af140b661e095356ebd0898c3c08bdd0e274e018bde9235fe55649
|
|
7
|
+
data.tar.gz: fbe0ab61a140032ba33b0fc300ce5001412f4c8e654234e13526bc57ceb22ca9b2cff99e4d90978bbf778e6f302ad251eca357634ef64e4ca7cc37b5801e8860
|
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
.usa-nav-primary {
|
|
120
120
|
@include usa-sidenav-list;
|
|
121
|
+
margin-top: 1.5rem;
|
|
121
122
|
order: 2;
|
|
122
123
|
|
|
123
124
|
@include media($nav-width) {
|
|
@@ -303,14 +304,17 @@
|
|
|
303
304
|
// Secondary navigation ----------- //
|
|
304
305
|
|
|
305
306
|
.usa-nav-secondary {
|
|
307
|
+
margin-top: 1.5rem;
|
|
308
|
+
|
|
306
309
|
@include media($nav-width) {
|
|
310
|
+
margin-top: 0;
|
|
307
311
|
position: absolute;
|
|
308
312
|
right: $site-margins;
|
|
309
313
|
top: -5.7rem; // XXX magic number
|
|
310
314
|
}
|
|
311
315
|
|
|
312
316
|
.usa-search {
|
|
313
|
-
@include margin(
|
|
317
|
+
@include margin(1.5rem null 0 null);
|
|
314
318
|
|
|
315
319
|
@include media($nav-width) {
|
|
316
320
|
@include margin(-0.9rem null 0 0);
|
|
@@ -320,8 +324,11 @@
|
|
|
320
324
|
}
|
|
321
325
|
|
|
322
326
|
.usa-nav-secondary-links {
|
|
327
|
+
margin-top: 2.4rem;
|
|
328
|
+
|
|
323
329
|
@include media($nav-width) {
|
|
324
330
|
float: left;
|
|
331
|
+
margin-top: 0;
|
|
325
332
|
}
|
|
326
333
|
|
|
327
334
|
li {
|
|
@@ -434,7 +441,7 @@
|
|
|
434
441
|
|
|
435
442
|
.usa-nav-close {
|
|
436
443
|
@include button-unstyled;
|
|
437
|
-
@include margin(-1.2rem -1.5rem
|
|
444
|
+
@include margin(-1.2rem -1.5rem 1.5rem auto);
|
|
438
445
|
float: right;
|
|
439
446
|
height: $hit-area;
|
|
440
447
|
text-align: center;
|
|
@@ -447,6 +454,10 @@
|
|
|
447
454
|
img {
|
|
448
455
|
width: 1.3rem;
|
|
449
456
|
}
|
|
457
|
+
|
|
458
|
+
+ * {
|
|
459
|
+
clear: both;
|
|
460
|
+
}
|
|
450
461
|
}
|
|
451
462
|
|
|
452
463
|
.usa-mobile_nav-active {
|
data/lib/uswds/rails/version.rb
CHANGED
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
.usa-nav-primary {
|
|
120
120
|
@include usa-sidenav-list;
|
|
121
|
+
margin-top: 1.5rem;
|
|
121
122
|
order: 2;
|
|
122
123
|
|
|
123
124
|
@include media($nav-width) {
|
|
@@ -303,14 +304,17 @@
|
|
|
303
304
|
// Secondary navigation ----------- //
|
|
304
305
|
|
|
305
306
|
.usa-nav-secondary {
|
|
307
|
+
margin-top: 1.5rem;
|
|
308
|
+
|
|
306
309
|
@include media($nav-width) {
|
|
310
|
+
margin-top: 0;
|
|
307
311
|
position: absolute;
|
|
308
312
|
right: $site-margins;
|
|
309
313
|
top: -5.7rem; // XXX magic number
|
|
310
314
|
}
|
|
311
315
|
|
|
312
316
|
.usa-search {
|
|
313
|
-
@include margin(
|
|
317
|
+
@include margin(1.5rem null 0 null);
|
|
314
318
|
|
|
315
319
|
@include media($nav-width) {
|
|
316
320
|
@include margin(-0.9rem null 0 0);
|
|
@@ -320,8 +324,11 @@
|
|
|
320
324
|
}
|
|
321
325
|
|
|
322
326
|
.usa-nav-secondary-links {
|
|
327
|
+
margin-top: 2.4rem;
|
|
328
|
+
|
|
323
329
|
@include media($nav-width) {
|
|
324
330
|
float: left;
|
|
331
|
+
margin-top: 0;
|
|
325
332
|
}
|
|
326
333
|
|
|
327
334
|
li {
|
|
@@ -434,7 +441,7 @@
|
|
|
434
441
|
|
|
435
442
|
.usa-nav-close {
|
|
436
443
|
@include button-unstyled;
|
|
437
|
-
@include margin(-1.2rem -1.5rem
|
|
444
|
+
@include margin(-1.2rem -1.5rem 1.5rem auto);
|
|
438
445
|
float: right;
|
|
439
446
|
height: $hit-area;
|
|
440
447
|
text-align: center;
|
|
@@ -447,6 +454,10 @@
|
|
|
447
454
|
img {
|
|
448
455
|
width: 1.3rem;
|
|
449
456
|
}
|
|
457
|
+
|
|
458
|
+
+ * {
|
|
459
|
+
clear: both;
|
|
460
|
+
}
|
|
450
461
|
}
|
|
451
462
|
|
|
452
463
|
.usa-mobile_nav-active {
|