uswds-jekyll 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_sass/uswds/components/_header.scss +1 -1
- data/_sass/uswds/components/_sidenav.scss +23 -0
- data/_sass/uswds/core/_utilities.scss +3 -3
- data/_sass/uswds/core/_variables.scss +16 -15
- data/_sass/uswds/elements/_inputs.scss +3 -1
- data/assets/uswds/img/angle-arrow-down-hover.png +0 -0
- data/assets/uswds/img/angle-arrow-down-primary-hover.png +0 -0
- data/assets/uswds/img/angle-arrow-down-primary.png +0 -0
- data/assets/uswds/img/angle-arrow-down.png +0 -0
- data/assets/uswds/img/angle-arrow-up-primary-hover.png +0 -0
- data/assets/uswds/img/angle-arrow-up-primary.png +0 -0
- data/assets/uswds/img/arrow-both.png +0 -0
- data/assets/uswds/img/circle-124.png +0 -0
- data/assets/uswds/img/close-primary.png +0 -0
- data/assets/uswds/img/close.png +0 -0
- data/assets/uswds/img/external-link-alt-hover.png +0 -0
- data/assets/uswds/img/external-link-alt.png +0 -0
- data/assets/uswds/img/external-link-hover.png +0 -0
- data/assets/uswds/img/external-link.png +0 -0
- data/assets/uswds/img/favicons/favicon-114.png +0 -0
- data/assets/uswds/img/favicons/favicon-40.png +0 -0
- data/assets/uswds/img/favicons/favicon-57.png +0 -0
- data/assets/uswds/img/hero.png +0 -0
- data/assets/uswds/img/minus-alt.png +0 -0
- data/assets/uswds/img/plus-alt.png +0 -0
- data/assets/uswds/img/search-alt.png +0 -0
- data/assets/uswds/img/search-primary.png +0 -0
- data/assets/uswds/img/social-icons/png/facebook25.png +0 -0
- data/assets/uswds/img/social-icons/png/rss25.png +0 -0
- data/assets/uswds/img/social-icons/png/twitter16.png +0 -0
- data/assets/uswds/img/social-icons/png/youtube15.png +0 -0
- metadata +2 -4
- data/assets/uswds/scss/lib/_bourbon-deprecate.scss +0 -19
- data/assets/uswds/scss/lib/settings/_deprecation-warnings.scss +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99ba6ecdaa6e2222ad5badd4f9995715631a5788
|
4
|
+
data.tar.gz: 0b1d99793cc2a1dd70ec365ff67d38875d973441
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4de3616c9c518919782a0ec2f08eb344d2415923e470b0fbc9a786b01b2703fdee887c62bb7b9b5a874f29fdfa266411c0e956d2c6b56c1a38899e164efc1fe
|
7
|
+
data.tar.gz: 06667ae3524bad512cac7b7296dbe8f980f53653e68b40696e210b1a1c21849850cb17bc499635850f6b5934aa056f681cb86476f65e7a2844d9326314bac3c4
|
@@ -1,8 +1,31 @@
|
|
1
1
|
|
2
2
|
.usa-sidenav-list {
|
3
3
|
@include usa-sidenav-list;
|
4
|
+
border-bottom: 1px solid;
|
5
|
+
border-top: 1px solid;
|
6
|
+
|
7
|
+
@include media($large-screen) {
|
8
|
+
border-bottom: none;
|
9
|
+
border-top: none;
|
10
|
+
}
|
11
|
+
|
12
|
+
.usa-grid & {
|
13
|
+
@include margin(null (-$site-margins-mobile) null (-$site-margins-mobile));
|
14
|
+
|
15
|
+
@include media($medium-screen) {
|
16
|
+
@include margin(null 0);
|
17
|
+
}
|
18
|
+
}
|
4
19
|
}
|
5
20
|
|
6
21
|
.usa-sidenav-sub_list {
|
7
22
|
@include usa-sidenav-sublist;
|
8
23
|
}
|
24
|
+
|
25
|
+
.usa-layout-docs-sidenav {
|
26
|
+
padding-top: 2.4rem;
|
27
|
+
|
28
|
+
@include media($large-screen) {
|
29
|
+
padding-top: 0;
|
30
|
+
}
|
31
|
+
}
|
@@ -191,7 +191,7 @@
|
|
191
191
|
display: block;
|
192
192
|
font-family: $font-sans;
|
193
193
|
line-height: 1.3;
|
194
|
-
padding: 0.85rem 1rem 0.85rem
|
194
|
+
padding: 0.85rem 1rem 0.85rem $site-margins-mobile;
|
195
195
|
text-decoration: none;
|
196
196
|
|
197
197
|
&:hover {
|
@@ -207,10 +207,10 @@
|
|
207
207
|
}
|
208
208
|
|
209
209
|
&.usa-current { /* stylelint-disable-line selector-no-qualifying-type */
|
210
|
-
border-left:
|
210
|
+
border-left: $sidenav-current-border-width solid $color-primary;
|
211
211
|
color: $color-primary;
|
212
212
|
font-weight: $font-bold;
|
213
|
-
padding-left:
|
213
|
+
padding-left: $site-margins-mobile - $sidenav-current-border-width;
|
214
214
|
}
|
215
215
|
}
|
216
216
|
}
|
@@ -128,21 +128,22 @@ $image-path: '../img' !default;
|
|
128
128
|
$asset-pipeline: false !default;
|
129
129
|
|
130
130
|
// Magic Numbers
|
131
|
-
$text-max-width:
|
132
|
-
$lead-max-width:
|
133
|
-
$site-max-width:
|
134
|
-
$site-margins:
|
135
|
-
$site-margins-mobile:
|
136
|
-
$article-max-width:
|
137
|
-
$input-max-width:
|
138
|
-
$label-border-radius:
|
139
|
-
$checkbox-border-radius:
|
140
|
-
$border-radius:
|
141
|
-
$button-border-radius:
|
142
|
-
$box-shadow:
|
143
|
-
$focus-outline:
|
144
|
-
$focus-spacing:
|
145
|
-
$nav-width:
|
131
|
+
$text-max-width: 66ch !default; // 66 characters per line
|
132
|
+
$lead-max-width: 77rem !default;
|
133
|
+
$site-max-width: 1040px !default;
|
134
|
+
$site-margins: 3rem !default;
|
135
|
+
$site-margins-mobile: 1.5rem !default;
|
136
|
+
$article-max-width: 600px !default;
|
137
|
+
$input-max-width: 46rem !default;
|
138
|
+
$label-border-radius: 2px !default;
|
139
|
+
$checkbox-border-radius: 2px !default;
|
140
|
+
$border-radius: 3px !default;
|
141
|
+
$button-border-radius: 5px !default;
|
142
|
+
$box-shadow: 0 0 2px $color-shadow !default;
|
143
|
+
$focus-outline: 2px dotted $color-gray-light !default;
|
144
|
+
$focus-spacing: 3px !default;
|
145
|
+
$nav-width: 951px !default;
|
146
|
+
$sidenav-current-border-width: 0.4rem !default; // must be in rem for math
|
146
147
|
|
147
148
|
// 44 x 44 pixels hit target following Apple iOS Human Interface
|
148
149
|
// Guidelines
|
@@ -112,7 +112,9 @@ select {
|
|
112
112
|
appearance: none;
|
113
113
|
background-color: $color-white;
|
114
114
|
background-image: url('#{$image-path}/arrow-both.png');
|
115
|
-
background-image
|
115
|
+
// Ensure browsers that don't support SVG in background-image (IE 11 and below) fall back to PNG.
|
116
|
+
// See https://www.broken-links.com/2010/06/14/using-svg-in-backgrounds-with-png-fallback/
|
117
|
+
background-image: none, url('#{$image-path}/arrow-both.svg'), url('#{$image-path}/arrow-both.png');
|
116
118
|
background-position: right 1.3rem center;
|
117
119
|
background-repeat: no-repeat;
|
118
120
|
background-size: 1rem;
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/uswds/img/close.png
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/uswds/img/hero.png
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uswds-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shawn Allen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-01-
|
13
|
+
date: 2018-01-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jekyll
|
@@ -371,7 +371,6 @@ files:
|
|
371
371
|
- assets/uswds/scss/elements/_list.scss
|
372
372
|
- assets/uswds/scss/elements/_table.scss
|
373
373
|
- assets/uswds/scss/elements/_typography.scss
|
374
|
-
- assets/uswds/scss/lib/_bourbon-deprecate.scss
|
375
374
|
- assets/uswds/scss/lib/_bourbon-deprecated-upcoming.scss
|
376
375
|
- assets/uswds/scss/lib/_bourbon.scss
|
377
376
|
- assets/uswds/scss/lib/_neat-helpers.scss
|
@@ -468,7 +467,6 @@ files:
|
|
468
467
|
- assets/uswds/scss/lib/helpers/_str-to-num.scss
|
469
468
|
- assets/uswds/scss/lib/mixins/_clearfix.scss
|
470
469
|
- assets/uswds/scss/lib/settings/_asset-pipeline.scss
|
471
|
-
- assets/uswds/scss/lib/settings/_deprecation-warnings.scss
|
472
470
|
- assets/uswds/scss/lib/settings/_disable-warnings.scss
|
473
471
|
- assets/uswds/scss/lib/settings/_grid.scss
|
474
472
|
- assets/uswds/scss/lib/settings/_prefixer.scss
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@charset "UTF-8";
|
2
|
-
|
3
|
-
/// Throws Sass warnings to announce library deprecations. You can disable them
|
4
|
-
/// by setting the `$output-bourbon-deprecation-warnings` variable to `false`.
|
5
|
-
///
|
6
|
-
/// @access private
|
7
|
-
|
8
|
-
@mixin _bourbon-deprecate($feature, $message: null) {
|
9
|
-
@if $output-bourbon-deprecation-warnings == true {
|
10
|
-
@warn "[Bourbon] [Deprecation] `#{$feature}` is deprecated and will be " +
|
11
|
-
"removed in 5.0.0. #{$message}";
|
12
|
-
@content;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
@mixin _bourbon-deprecate-for-prefixing($feature) {
|
17
|
-
@include _bourbon-deprecate($feature, "We suggest using an automated " +
|
18
|
-
"prefixing tool, like Autoprefixer.");
|
19
|
-
}
|