us_web_design_standards 0.0.0
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 +7 -0
- data/CONTRIBUTING.md +19 -0
- data/LICENSE.md +31 -0
- data/README.md +60 -0
- data/assets/_scss/components/_accordions.scss +95 -0
- data/assets/_scss/components/_alerts.scss +78 -0
- data/assets/_scss/components/_disclaimer.scss +25 -0
- data/assets/_scss/components/_footer.scss +292 -0
- data/assets/_scss/components/_forms.scss +179 -0
- data/assets/_scss/components/_search.scss +101 -0
- data/assets/_scss/components/_sidenav.scss +78 -0
- data/assets/_scss/components/_skipnav.scss +24 -0
- data/assets/_scss/core/_base.scss +24 -0
- data/assets/_scss/core/_defaults.scss +92 -0
- data/assets/_scss/core/_grid-settings.scss +10 -0
- data/assets/_scss/core/_grid.scss +116 -0
- data/assets/_scss/core/_utilities.scss +105 -0
- data/assets/_scss/core/_variables.scss +88 -0
- data/assets/_scss/elements/_buttons.scss +187 -0
- data/assets/_scss/elements/_figure.scss +9 -0
- data/assets/_scss/elements/_inputs.scss +328 -0
- data/assets/_scss/elements/_labels.scss +39 -0
- data/assets/_scss/elements/_list.scss +82 -0
- data/assets/_scss/elements/_table.scss +39 -0
- data/assets/_scss/elements/_typography.scss +220 -0
- data/assets/_scss/lib/_normalize.scss +427 -0
- data/assets/_scss/lib/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
- data/assets/_scss/lib/bourbon/_bourbon.scss +87 -0
- data/assets/_scss/lib/bourbon/addons/_border-color.scss +26 -0
- data/assets/_scss/lib/bourbon/addons/_border-radius.scss +48 -0
- data/assets/_scss/lib/bourbon/addons/_border-style.scss +25 -0
- data/assets/_scss/lib/bourbon/addons/_border-width.scss +25 -0
- data/assets/_scss/lib/bourbon/addons/_buttons.scss +64 -0
- data/assets/_scss/lib/bourbon/addons/_clearfix.scss +25 -0
- data/assets/_scss/lib/bourbon/addons/_ellipsis.scss +30 -0
- data/assets/_scss/lib/bourbon/addons/_font-stacks.scss +31 -0
- data/assets/_scss/lib/bourbon/addons/_hide-text.scss +27 -0
- data/assets/_scss/lib/bourbon/addons/_margin.scss +26 -0
- data/assets/_scss/lib/bourbon/addons/_padding.scss +26 -0
- data/assets/_scss/lib/bourbon/addons/_position.scss +48 -0
- data/assets/_scss/lib/bourbon/addons/_prefixer.scss +66 -0
- data/assets/_scss/lib/bourbon/addons/_retina-image.scss +25 -0
- data/assets/_scss/lib/bourbon/addons/_size.scss +51 -0
- data/assets/_scss/lib/bourbon/addons/_text-inputs.scss +112 -0
- data/assets/_scss/lib/bourbon/addons/_timing-functions.scss +34 -0
- data/assets/_scss/lib/bourbon/addons/_triangle.scss +63 -0
- data/assets/_scss/lib/bourbon/addons/_word-wrap.scss +29 -0
- data/assets/_scss/lib/bourbon/css3/_animation.scss +43 -0
- data/assets/_scss/lib/bourbon/css3/_appearance.scss +3 -0
- data/assets/_scss/lib/bourbon/css3/_backface-visibility.scss +3 -0
- data/assets/_scss/lib/bourbon/css3/_background-image.scss +42 -0
- data/assets/_scss/lib/bourbon/css3/_background.scss +55 -0
- data/assets/_scss/lib/bourbon/css3/_border-image.scss +59 -0
- data/assets/_scss/lib/bourbon/css3/_calc.scss +4 -0
- data/assets/_scss/lib/bourbon/css3/_columns.scss +47 -0
- data/assets/_scss/lib/bourbon/css3/_filter.scss +4 -0
- data/assets/_scss/lib/bourbon/css3/_flex-box.scss +287 -0
- data/assets/_scss/lib/bourbon/css3/_font-face.scss +24 -0
- data/assets/_scss/lib/bourbon/css3/_font-feature-settings.scss +4 -0
- data/assets/_scss/lib/bourbon/css3/_hidpi-media-query.scss +10 -0
- data/assets/_scss/lib/bourbon/css3/_hyphens.scss +4 -0
- data/assets/_scss/lib/bourbon/css3/_image-rendering.scss +14 -0
- data/assets/_scss/lib/bourbon/css3/_keyframes.scss +36 -0
- data/assets/_scss/lib/bourbon/css3/_linear-gradient.scss +38 -0
- data/assets/_scss/lib/bourbon/css3/_perspective.scss +8 -0
- data/assets/_scss/lib/bourbon/css3/_placeholder.scss +8 -0
- data/assets/_scss/lib/bourbon/css3/_radial-gradient.scss +39 -0
- data/assets/_scss/lib/bourbon/css3/_selection.scss +42 -0
- data/assets/_scss/lib/bourbon/css3/_text-decoration.scss +19 -0
- data/assets/_scss/lib/bourbon/css3/_transform.scss +15 -0
- data/assets/_scss/lib/bourbon/css3/_transition.scss +71 -0
- data/assets/_scss/lib/bourbon/css3/_user-select.scss +3 -0
- data/assets/_scss/lib/bourbon/functions/_assign-inputs.scss +11 -0
- data/assets/_scss/lib/bourbon/functions/_contains-falsy.scss +20 -0
- data/assets/_scss/lib/bourbon/functions/_contains.scss +26 -0
- data/assets/_scss/lib/bourbon/functions/_is-length.scss +11 -0
- data/assets/_scss/lib/bourbon/functions/_is-light.scss +21 -0
- data/assets/_scss/lib/bourbon/functions/_is-number.scss +11 -0
- data/assets/_scss/lib/bourbon/functions/_is-size.scss +13 -0
- data/assets/_scss/lib/bourbon/functions/_modular-scale.scss +69 -0
- data/assets/_scss/lib/bourbon/functions/_px-to-em.scss +13 -0
- data/assets/_scss/lib/bourbon/functions/_px-to-rem.scss +15 -0
- data/assets/_scss/lib/bourbon/functions/_shade.scss +24 -0
- data/assets/_scss/lib/bourbon/functions/_strip-units.scss +17 -0
- data/assets/_scss/lib/bourbon/functions/_tint.scss +24 -0
- data/assets/_scss/lib/bourbon/functions/_transition-property-name.scss +22 -0
- data/assets/_scss/lib/bourbon/functions/_unpack.scss +27 -0
- data/assets/_scss/lib/bourbon/helpers/_convert-units.scss +21 -0
- data/assets/_scss/lib/bourbon/helpers/_directional-values.scss +96 -0
- data/assets/_scss/lib/bourbon/helpers/_font-source-declaration.scss +43 -0
- data/assets/_scss/lib/bourbon/helpers/_gradient-positions-parser.scss +13 -0
- data/assets/_scss/lib/bourbon/helpers/_linear-angle-parser.scss +25 -0
- data/assets/_scss/lib/bourbon/helpers/_linear-gradient-parser.scss +41 -0
- data/assets/_scss/lib/bourbon/helpers/_linear-positions-parser.scss +61 -0
- data/assets/_scss/lib/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
- data/assets/_scss/lib/bourbon/helpers/_radial-arg-parser.scss +69 -0
- data/assets/_scss/lib/bourbon/helpers/_radial-gradient-parser.scss +50 -0
- data/assets/_scss/lib/bourbon/helpers/_radial-positions-parser.scss +18 -0
- data/assets/_scss/lib/bourbon/helpers/_render-gradients.scss +26 -0
- data/assets/_scss/lib/bourbon/helpers/_shape-size-stripper.scss +10 -0
- data/assets/_scss/lib/bourbon/helpers/_str-to-num.scss +50 -0
- data/assets/_scss/lib/bourbon/settings/_asset-pipeline.scss +7 -0
- data/assets/_scss/lib/bourbon/settings/_prefixer.scss +9 -0
- data/assets/_scss/lib/bourbon/settings/_px-to-em.scss +1 -0
- data/assets/_scss/lib/neat/_neat-helpers.scss +8 -0
- data/assets/_scss/lib/neat/_neat.scss +23 -0
- data/assets/_scss/lib/neat/functions/_new-breakpoint.scss +49 -0
- data/assets/_scss/lib/neat/functions/_private.scss +114 -0
- data/assets/_scss/lib/neat/grid/_box-sizing.scss +15 -0
- data/assets/_scss/lib/neat/grid/_direction-context.scss +33 -0
- data/assets/_scss/lib/neat/grid/_display-context.scss +28 -0
- data/assets/_scss/lib/neat/grid/_fill-parent.scss +22 -0
- data/assets/_scss/lib/neat/grid/_media.scss +92 -0
- data/assets/_scss/lib/neat/grid/_omega.scss +87 -0
- data/assets/_scss/lib/neat/grid/_outer-container.scss +38 -0
- data/assets/_scss/lib/neat/grid/_pad.scss +25 -0
- data/assets/_scss/lib/neat/grid/_private.scss +35 -0
- data/assets/_scss/lib/neat/grid/_row.scss +52 -0
- data/assets/_scss/lib/neat/grid/_shift.scss +50 -0
- data/assets/_scss/lib/neat/grid/_span-columns.scss +94 -0
- data/assets/_scss/lib/neat/grid/_to-deprecate.scss +97 -0
- data/assets/_scss/lib/neat/grid/_visual-grid.scss +42 -0
- data/assets/_scss/lib/neat/settings/_disable-warnings.scss +13 -0
- data/assets/_scss/lib/neat/settings/_grid.scss +51 -0
- data/assets/_scss/lib/neat/settings/_visual-grid.scss +27 -0
- data/assets/_scss/us_web_design_standards.scss +39 -0
- data/assets/css/google-fonts.css +102 -0
- data/assets/css/normalize.min.css +1 -0
- data/assets/fonts/merriweather-bold-webfont.eot +0 -0
- data/assets/fonts/merriweather-bold-webfont.svg +294 -0
- data/assets/fonts/merriweather-bold-webfont.ttf +0 -0
- data/assets/fonts/merriweather-bold-webfont.woff +0 -0
- data/assets/fonts/merriweather-bold-webfont.woff2 +0 -0
- data/assets/fonts/merriweather-italic-webfont.eot +0 -0
- data/assets/fonts/merriweather-italic-webfont.svg +283 -0
- data/assets/fonts/merriweather-italic-webfont.ttf +0 -0
- data/assets/fonts/merriweather-italic-webfont.woff +0 -0
- data/assets/fonts/merriweather-italic-webfont.woff2 +0 -0
- data/assets/fonts/merriweather-light-webfont.eot +0 -0
- data/assets/fonts/merriweather-light-webfont.svg +299 -0
- data/assets/fonts/merriweather-light-webfont.ttf +0 -0
- data/assets/fonts/merriweather-light-webfont.woff +0 -0
- data/assets/fonts/merriweather-light-webfont.woff2 +0 -0
- data/assets/fonts/merriweather-regular-webfont.eot +0 -0
- data/assets/fonts/merriweather-regular-webfont.svg +294 -0
- data/assets/fonts/merriweather-regular-webfont.ttf +0 -0
- data/assets/fonts/merriweather-regular-webfont.woff +0 -0
- data/assets/fonts/merriweather-regular-webfont.woff2 +0 -0
- data/assets/fonts/sourcesanspro-bold-webfont.eot +0 -0
- data/assets/fonts/sourcesanspro-bold-webfont.svg +965 -0
- data/assets/fonts/sourcesanspro-bold-webfont.ttf +0 -0
- data/assets/fonts/sourcesanspro-bold-webfont.woff +0 -0
- data/assets/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
- data/assets/fonts/sourcesanspro-italic-webfont.eot +0 -0
- data/assets/fonts/sourcesanspro-italic-webfont.svg +853 -0
- data/assets/fonts/sourcesanspro-italic-webfont.ttf +0 -0
- data/assets/fonts/sourcesanspro-italic-webfont.woff +0 -0
- data/assets/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
- data/assets/fonts/sourcesanspro-light-webfont.eot +0 -0
- data/assets/fonts/sourcesanspro-light-webfont.svg +915 -0
- data/assets/fonts/sourcesanspro-light-webfont.ttf +0 -0
- data/assets/fonts/sourcesanspro-light-webfont.woff +0 -0
- data/assets/fonts/sourcesanspro-light-webfont.woff2 +0 -0
- data/assets/fonts/sourcesanspro-regular-webfont.eot +0 -0
- data/assets/fonts/sourcesanspro-regular-webfont.svg +989 -0
- data/assets/fonts/sourcesanspro-regular-webfont.ttf +0 -0
- data/assets/fonts/sourcesanspro-regular-webfont.woff +0 -0
- data/assets/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
- data/assets/img/alerts/error.png +0 -0
- data/assets/img/alerts/error.svg +17 -0
- data/assets/img/alerts/info.png +0 -0
- data/assets/img/alerts/info.svg +18 -0
- data/assets/img/alerts/success.png +0 -0
- data/assets/img/alerts/success.svg +12 -0
- data/assets/img/alerts/warning.png +0 -0
- data/assets/img/alerts/warning.svg +16 -0
- data/assets/img/arrow-down.png +0 -0
- data/assets/img/arrow-down.svg +1 -0
- data/assets/img/arrow-right.png +0 -0
- data/assets/img/arrow-right.svg +1 -0
- data/assets/img/correct8.png +0 -0
- data/assets/img/correct8.svg +1 -0
- data/assets/img/correct9.png +0 -0
- data/assets/img/correct9.svg +1 -0
- data/assets/img/favicons/favicon-114.png +0 -0
- data/assets/img/favicons/favicon-144.png +0 -0
- data/assets/img/favicons/favicon-16.png +0 -0
- data/assets/img/favicons/favicon-192.png +0 -0
- data/assets/img/favicons/favicon-57.png +0 -0
- data/assets/img/favicons/favicon-72.png +0 -0
- data/assets/img/favicons/favicon.ico +0 -0
- data/assets/img/favicons/favicon.png +0 -0
- data/assets/img/logo-img.png +0 -0
- data/assets/img/minus.png +0 -0
- data/assets/img/minus.svg +1 -0
- data/assets/img/plus.png +0 -0
- data/assets/img/plus.svg +1 -0
- data/assets/img/search.png +0 -0
- data/assets/img/search.svg +1 -0
- data/assets/img/social-icons/png/facebook25.png +0 -0
- data/assets/img/social-icons/png/rss25.png +0 -0
- data/assets/img/social-icons/png/twitter16.png +0 -0
- data/assets/img/social-icons/png/youtube15.png +0 -0
- data/assets/img/social-icons/svg/facebook25.svg +1 -0
- data/assets/img/social-icons/svg/rss25.svg +1 -0
- data/assets/img/social-icons/svg/twitter16.svg +1 -0
- data/assets/img/social-icons/svg/youtube15.svg +1 -0
- data/assets/img/us_flag_small.png +0 -0
- data/assets/js/components.js +376 -0
- data/assets/js/vendor/html5shiv.js +301 -0
- data/assets/js/vendor/jquery-1.11.3.min.js +5 -0
- data/assets/js/vendor/jquery-1.11.3.min.map +1 -0
- data/assets/js/vendor/rem.min.js +7 -0
- data/assets/js/vendor/respond.js +341 -0
- data/assets/js/vendor/selectivizr-min.js +22 -0
- data/lib/us_web_design_standards.rb +4 -0
- data/lib/us_web_design_standards/assets.rb +17 -0
- data/lib/us_web_design_standards/generator.rb +9 -0
- data/lib/us_web_design_standards/sass.rb +8 -0
- data/lib/us_web_design_standards/version.rb +3 -0
- metadata +334 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 5b842b55143b3fa0155cc1de3763d1072e140533
|
|
4
|
+
data.tar.gz: 53472a7ec6a66c2238d29b9370b48dbd22ba2173
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 09c4d440a3175823dce0018fa43f9152c8d75120d5b7b5adbea36ed0f75678beaea7cd096fa9fde2dd30f46073749e858dd198f958dbb47e2222037ee070ce16
|
|
7
|
+
data.tar.gz: 370238c4842779dea718c04dcf99c2a6969736a7280ea02d9769a8c685f657312e575a5c6a34c1d167ba1f683abb7500cceae0d26fe39ca6c5efd3a5f0819f28
|
data/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
## Welcome!
|
|
2
|
+
|
|
3
|
+
We're so glad you're thinking about contributing to an 18F open source project! If you're unsure about anything, just ask -- or submit the issue or pull request anyway. The worst that can happen is you'll be politely asked to change something. We love all friendly contributions.
|
|
4
|
+
|
|
5
|
+
We want to ensure a welcoming environment for all of our projects. Our staff follow the [18F Code of Conduct](https://github.com/18F/code-of-conduct/blob/master/code-of-conduct.md) and all contributors should do the same.
|
|
6
|
+
|
|
7
|
+
We encourage you to read this project's CONTRIBUTING policy (you are here), its [LICENSE](LICENSE.md), and its [README](README.md).
|
|
8
|
+
|
|
9
|
+
If you have any questions or want to read more, check out the [18F Open Source Policy GitHub repository]( https://github.com/18f/open-source-policy), or just [shoot us an email](mailto:18f@gsa.gov).
|
|
10
|
+
|
|
11
|
+
## Public domain
|
|
12
|
+
|
|
13
|
+
This project is in the public domain within the United States, and
|
|
14
|
+
copyright and related rights in the work worldwide are waived through
|
|
15
|
+
the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).
|
|
16
|
+
|
|
17
|
+
All contributions to this project will be released under the CC0
|
|
18
|
+
dedication. By submitting a pull request, you are agreeing to comply
|
|
19
|
+
with this waiver of copyright interest.
|
data/LICENSE.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
As a work of the United States Government, this project is in the
|
|
2
|
+
public domain within the United States.
|
|
3
|
+
|
|
4
|
+
Additionally, we waive copyright and related rights in the work
|
|
5
|
+
worldwide through the CC0 1.0 Universal public domain dedication.
|
|
6
|
+
|
|
7
|
+
## CC0 1.0 Universal Summary
|
|
8
|
+
|
|
9
|
+
This is a human-readable summary of the [Legal Code (read the full text)](https://creativecommons.org/publicdomain/zero/1.0/legalcode).
|
|
10
|
+
|
|
11
|
+
### No Copyright
|
|
12
|
+
|
|
13
|
+
The person who associated a work with this deed has dedicated the work to
|
|
14
|
+
the public domain by waiving all of his or her rights to the work worldwide
|
|
15
|
+
under copyright law, including all related and neighboring rights, to the
|
|
16
|
+
extent allowed by law.
|
|
17
|
+
|
|
18
|
+
You can copy, modify, distribute and perform the work, even for commercial
|
|
19
|
+
purposes, all without asking permission.
|
|
20
|
+
|
|
21
|
+
### Other Information
|
|
22
|
+
|
|
23
|
+
In no way are the patent or trademark rights of any person affected by CC0,
|
|
24
|
+
nor are the rights that other persons may have in the work or in how the
|
|
25
|
+
work is used, such as publicity or privacy rights.
|
|
26
|
+
|
|
27
|
+
Unless expressly stated otherwise, the person who associated a work with
|
|
28
|
+
this deed makes no warranties about the work, and disclaims liability for
|
|
29
|
+
all uses of the work, to the fullest extent permitted by applicable law.
|
|
30
|
+
When using or citing the work, you should not imply endorsement by the
|
|
31
|
+
author or the affirmer.
|
data/README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
## [`us_web_design_standards`](https://rubygems.org/gems/us_web_design_standards): U.S. Web Design Standards style assets gem
|
|
2
|
+
|
|
3
|
+
Provides the style assets from the [U.S. Web Design
|
|
4
|
+
Standards](https://playbook.cio.gov/designstandards) as a [Ruby
|
|
5
|
+
Gem](https://rubygems.org/).
|
|
6
|
+
|
|
7
|
+
Provides plugins for use with [Jekyll](https://jekyllrb.com/)-based web sites.
|
|
8
|
+
Other frameworks may be supported in the future.
|
|
9
|
+
|
|
10
|
+
### Usage
|
|
11
|
+
|
|
12
|
+
In your [`Gemfile`](http://bundler.io/gemfile.html), include the following:
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
group :jekyll_plugins do
|
|
16
|
+
gem 'us_web_design_standards'
|
|
17
|
+
end
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Add a `uswds.scss` file to your project in the asset directory of your
|
|
21
|
+
choosing that contains at least the following:
|
|
22
|
+
|
|
23
|
+
```scss
|
|
24
|
+
---
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
@import "us_web_design_standards";
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Integrate the generated `uswds.css` file and its styles into your project's
|
|
31
|
+
layouts and templates, build the site per usual, and observe the results.
|
|
32
|
+
|
|
33
|
+
### Development
|
|
34
|
+
|
|
35
|
+
First, choose a Jekyll site you'd like to use to view the impact of your
|
|
36
|
+
updates and clone its repository; then clone this repository into the same
|
|
37
|
+
parent directory. For example, to use the 18F Guides Template:
|
|
38
|
+
|
|
39
|
+
```shell
|
|
40
|
+
$ git clone git@github.com:18F/guides-template.git
|
|
41
|
+
$ git clone git@github.com:18F/us_web_design_standards_gem.git
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
In the `Gemfile` of the Jekyll site's repository, include the following:
|
|
45
|
+
|
|
46
|
+
```ruby
|
|
47
|
+
group :jekyll_plugins do
|
|
48
|
+
gem 'us_web_design_standards_gem', :path => '../us_web_design_standards_gem'
|
|
49
|
+
end
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Public domain
|
|
53
|
+
|
|
54
|
+
This project is in the worldwide [public domain](LICENSE.md). As stated in [CONTRIBUTING](CONTRIBUTING.md):
|
|
55
|
+
|
|
56
|
+
> This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).
|
|
57
|
+
>
|
|
58
|
+
> All contributions to this project will be released under the CC0
|
|
59
|
+
>dedication. By submitting a pull request, you are agreeing to comply
|
|
60
|
+
>with this waiver of copyright interest.
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// Variables
|
|
2
|
+
|
|
3
|
+
$accordion-border: 3px solid $color-gray-lightest;
|
|
4
|
+
|
|
5
|
+
// Accordion Styles
|
|
6
|
+
|
|
7
|
+
.usa-accordion,
|
|
8
|
+
.usa-accordion-bordered {
|
|
9
|
+
|
|
10
|
+
+ .usa-accordion,
|
|
11
|
+
+ .usa-accordion-bordered {
|
|
12
|
+
margin-top: 1rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
> ul {
|
|
16
|
+
color: $color-base;
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
|
|
21
|
+
> li {
|
|
22
|
+
background-color: $color-gray-lightest;
|
|
23
|
+
font-family: $font-sans;
|
|
24
|
+
list-style: none;
|
|
25
|
+
margin-bottom: 6px;
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
button[aria-expanded=false] {
|
|
31
|
+
background-image: url('../img/plus.png');
|
|
32
|
+
background-image: url('../img/plus.svg');
|
|
33
|
+
background-repeat: no-repeat;
|
|
34
|
+
background-size: 1.3rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
button {
|
|
38
|
+
background-color: $color-gray-lightest;
|
|
39
|
+
background-image: url('../img/minus.png');
|
|
40
|
+
background-image: url('../img/minus.svg');
|
|
41
|
+
background-position: right 3rem center;
|
|
42
|
+
background-repeat: no-repeat;
|
|
43
|
+
background-size: 13px;
|
|
44
|
+
color: $color-base;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
display: inline-block;
|
|
47
|
+
font-family: $font-sans;
|
|
48
|
+
margin: 0;
|
|
49
|
+
padding: {
|
|
50
|
+
bottom: 1.5rem;
|
|
51
|
+
left: 3rem;
|
|
52
|
+
right: 5.5rem;
|
|
53
|
+
top: 1.5rem;
|
|
54
|
+
}
|
|
55
|
+
width: 100%;
|
|
56
|
+
|
|
57
|
+
&:focus {
|
|
58
|
+
box-shadow: $focus-shadow;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:hover {
|
|
62
|
+
background-color: $color-gray-lighter;
|
|
63
|
+
color: $color-base;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
h1, h2, h3, h4, h5, h6 {
|
|
67
|
+
margin: 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.usa-accordion-bordered {
|
|
73
|
+
.usa-accordion-content {
|
|
74
|
+
border: {
|
|
75
|
+
bottom: $accordion-border;
|
|
76
|
+
left: $accordion-border;
|
|
77
|
+
right: $accordion-border;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.usa-accordion-content {
|
|
83
|
+
display: block;
|
|
84
|
+
background-color: white;
|
|
85
|
+
overflow: auto;
|
|
86
|
+
padding: 3rem;
|
|
87
|
+
|
|
88
|
+
> *:first-child {
|
|
89
|
+
margin-top: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
> *:last-child {
|
|
93
|
+
margin-bottom: 0;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.usa-alert {
|
|
2
|
+
@include media($medium-screen) {
|
|
3
|
+
background-size: 5.2rem;
|
|
4
|
+
}
|
|
5
|
+
background-color: #eeeeee;
|
|
6
|
+
background-position: 1rem 2rem;
|
|
7
|
+
background-repeat: no-repeat;
|
|
8
|
+
background-size: 4rem;
|
|
9
|
+
margin-top: 1.5em;
|
|
10
|
+
padding: 1em;
|
|
11
|
+
|
|
12
|
+
ul {
|
|
13
|
+
margin: {
|
|
14
|
+
bottom: 0;
|
|
15
|
+
top: 1em;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.usa-alert-icon {
|
|
21
|
+
display: table-cell;
|
|
22
|
+
padding-right: 1rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.usa-alert-body {
|
|
26
|
+
@include media($medium-screen) {
|
|
27
|
+
padding-left: 5rem;
|
|
28
|
+
}
|
|
29
|
+
display: table-cell;
|
|
30
|
+
padding-left: 3.5rem;
|
|
31
|
+
vertical-align: top;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.usa-alert-heading {
|
|
35
|
+
@include media($medium-screen) {
|
|
36
|
+
margin-top: .3rem;
|
|
37
|
+
}
|
|
38
|
+
margin: {
|
|
39
|
+
bottom: .3rem;
|
|
40
|
+
top: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.usa-alert-text {
|
|
45
|
+
font-family: $font-sans;
|
|
46
|
+
margin: {
|
|
47
|
+
bottom: 0;
|
|
48
|
+
top: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.usa-alert-success {
|
|
53
|
+
background-color: #E5FCDE;
|
|
54
|
+
background-image: url('../img/alerts/success.png');
|
|
55
|
+
background-image: url('../img/alerts/success.svg');
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.usa-alert-warning {
|
|
59
|
+
background-color: #FDF7DC;
|
|
60
|
+
background-image: url('../img/alerts/warning.png');
|
|
61
|
+
background-image: url('../img/alerts/warning.svg');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.usa-alert-error {
|
|
65
|
+
background-color: #F9DEDE;
|
|
66
|
+
background-image: url('../img/alerts/error.png');
|
|
67
|
+
background-image: url('../img/alerts/error.svg');
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.usa-alert-info {
|
|
71
|
+
background-color: #E8F5FA;
|
|
72
|
+
background-image: url('../img/alerts/info.png');
|
|
73
|
+
background-image: url('../img/alerts/info.svg');
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.usa-alert-no_icon {
|
|
77
|
+
background-image: none;
|
|
78
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.usa-disclaimer {
|
|
2
|
+
@include media($small-screen) {
|
|
3
|
+
font-size: $h5-font-size;
|
|
4
|
+
}
|
|
5
|
+
background-color: $color-gray-lightest;
|
|
6
|
+
font-size: $h6-font-size;
|
|
7
|
+
padding: {
|
|
8
|
+
bottom: .5rem;
|
|
9
|
+
top: .5rem;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// This hides the stage note (i.e. alpha, beta, etc) of the disclaimer for
|
|
14
|
+
// anything smaller than large screen sizes
|
|
15
|
+
.usa-disclaimer-stage {
|
|
16
|
+
@include media($large-screen) {
|
|
17
|
+
display: block;
|
|
18
|
+
}
|
|
19
|
+
display: none;
|
|
20
|
+
float: right;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.usa-flag_icon {
|
|
24
|
+
margin-right: .2rem;
|
|
25
|
+
}
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
.usa-footer {
|
|
2
|
+
.usa-unstyled-list {
|
|
3
|
+
display: block;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.usa-footer-primary-link {
|
|
7
|
+
@include media($medium-screen) {
|
|
8
|
+
border-top: none;
|
|
9
|
+
}
|
|
10
|
+
color: $color-base;
|
|
11
|
+
display: block;
|
|
12
|
+
font-weight: $font-bold;
|
|
13
|
+
margin-top: 0;
|
|
14
|
+
padding: {
|
|
15
|
+
bottom: 2rem;
|
|
16
|
+
top: 2rem;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
a {
|
|
21
|
+
font-weight: normal;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.usa-footer-return-to-top {
|
|
26
|
+
padding: {
|
|
27
|
+
bottom: 2rem;
|
|
28
|
+
top: 2rem;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.usa-footer-primary-section {
|
|
33
|
+
background-color: $color-gray-lightest;
|
|
34
|
+
|
|
35
|
+
.usa-footer-primary-content {
|
|
36
|
+
padding: {
|
|
37
|
+
left: 2.5rem;
|
|
38
|
+
right: 2.5rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
li {
|
|
42
|
+
@include media($medium-screen) {
|
|
43
|
+
margin-left: 0;
|
|
44
|
+
}
|
|
45
|
+
margin-left: 1rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@include media($medium-screen) {
|
|
49
|
+
padding: {
|
|
50
|
+
left: 0;
|
|
51
|
+
right: 0;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.usa-grid-full {
|
|
57
|
+
@include media($medium-screen) {
|
|
58
|
+
padding: {
|
|
59
|
+
left: 2.5rem;
|
|
60
|
+
right: 2.5rem;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.width-one-sixth {
|
|
67
|
+
@include media($medium) {
|
|
68
|
+
@include span-columns(2);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.usa-footer-medium {
|
|
73
|
+
.usa-footer-primary-section {
|
|
74
|
+
padding: 0;
|
|
75
|
+
|
|
76
|
+
@include media($medium-screen) {
|
|
77
|
+
padding: {
|
|
78
|
+
top: 1rem;
|
|
79
|
+
bottom: 1rem;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.usa-footer-nav ul {
|
|
85
|
+
@include media($medium-screen) {
|
|
86
|
+
align-items: center;
|
|
87
|
+
display: flex;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.usa-footer-slim {
|
|
93
|
+
|
|
94
|
+
.usa-footer-nav a {
|
|
95
|
+
display: block;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.usa-footer-primary-section {
|
|
99
|
+
padding-bottom: 2rem;
|
|
100
|
+
|
|
101
|
+
@include media($medium-screen) {
|
|
102
|
+
padding: {
|
|
103
|
+
bottom: 1rem;
|
|
104
|
+
top: 1rem;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.usa-grid-full {
|
|
108
|
+
align-items: center;
|
|
109
|
+
display: flex;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
ul.usa-footer-primary-content,
|
|
116
|
+
li.usa-footer-primary-content,
|
|
117
|
+
li.usa-footer-primary-content {
|
|
118
|
+
border-top: 1px solid $color-base;
|
|
119
|
+
|
|
120
|
+
&:last-child {
|
|
121
|
+
border-bottom: 1px solid $color-base;
|
|
122
|
+
@include media($medium-screen) {
|
|
123
|
+
border-bottom: none;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@include media($medium-screen) {
|
|
128
|
+
border: none;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.usa-sign_up-block {
|
|
133
|
+
padding: {
|
|
134
|
+
bottom: 2rem;
|
|
135
|
+
left: 2.5rem;
|
|
136
|
+
right: 2.5rem;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
label:first-of-type {
|
|
140
|
+
margin-top: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
button {
|
|
144
|
+
float: none;
|
|
145
|
+
margin: {
|
|
146
|
+
right: 0;
|
|
147
|
+
top: 1.5rem;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
input {
|
|
152
|
+
width: 100%;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@include media($medium-screen) {
|
|
156
|
+
float: right;
|
|
157
|
+
padding: 0;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.usa-footer-secondary_section {
|
|
162
|
+
background-color: $color-gray-lighter;
|
|
163
|
+
padding: {
|
|
164
|
+
top: 3rem;
|
|
165
|
+
bottom: 3rem;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
a {
|
|
169
|
+
color: $color-base;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.usa-footer-big-secondary-section {
|
|
174
|
+
@include media($medium-screen) {
|
|
175
|
+
padding-top: 5rem;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.usa-footer-contact-links {
|
|
180
|
+
@include media($medium-screen) {
|
|
181
|
+
text-align: right;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.usa-footer-big {
|
|
186
|
+
.usa-footer-primary-section {
|
|
187
|
+
@include media($medium-screen) {
|
|
188
|
+
padding: {
|
|
189
|
+
top: 3rem;
|
|
190
|
+
bottom: 4rem;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
ul {
|
|
196
|
+
padding-bottom: 2.5rem;
|
|
197
|
+
|
|
198
|
+
&:last-child {
|
|
199
|
+
border-bottom: 1px solid $color-base;
|
|
200
|
+
|
|
201
|
+
@include media($medium-screen) {
|
|
202
|
+
border-bottom: none;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
li {
|
|
207
|
+
line-height: 2em;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@include media($medium-screen) {
|
|
211
|
+
padding-bottom: 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.usa-footer-primary-link {
|
|
215
|
+
background-image: url('../img/arrow-down.png');
|
|
216
|
+
background-image: url('../img/arrow-down.svg');
|
|
217
|
+
background-position: 1.5rem center;
|
|
218
|
+
background-repeat: no-repeat;
|
|
219
|
+
background-size: 1.3rem;
|
|
220
|
+
padding-left: 3.5rem;
|
|
221
|
+
|
|
222
|
+
@include media($medium-screen) {
|
|
223
|
+
background: none;
|
|
224
|
+
padding-bottom: 0;
|
|
225
|
+
padding-left: 0;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&.hidden {
|
|
230
|
+
padding-bottom: 0;
|
|
231
|
+
|
|
232
|
+
.usa-footer-primary-link {
|
|
233
|
+
background-image: url('../img/arrow-right.png');
|
|
234
|
+
background-image: url('../img/arrow-right.svg');
|
|
235
|
+
cursor: pointer;
|
|
236
|
+
margin: 0;
|
|
237
|
+
|
|
238
|
+
@include media($medium-screen) {
|
|
239
|
+
background: none;
|
|
240
|
+
padding-left: 0;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
li { display: none; }
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.usa-footer-topic {
|
|
250
|
+
margin: 0;
|
|
251
|
+
padding: 2rem 0;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.usa-sign_up-header {
|
|
255
|
+
@include media($medium-screen) {
|
|
256
|
+
margin: 0;
|
|
257
|
+
padding: 2rem 0;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.usa-footer-logo-img {
|
|
262
|
+
max-width: 14rem;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.usa-footer-slim-logo-img {
|
|
266
|
+
float: left;
|
|
267
|
+
max-width: 10rem;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.usa-footer-logo-heading {
|
|
271
|
+
margin-top: 2rem;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.usa-footer-contact-heading {
|
|
275
|
+
margin-top: 0;
|
|
276
|
+
|
|
277
|
+
@include media($medium-screen) {
|
|
278
|
+
margin-top: 1rem;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.usa-footer-slim-logo-heading {
|
|
283
|
+
display: block;
|
|
284
|
+
padding-top: 1rem;
|
|
285
|
+
|
|
286
|
+
@include media($medium-screen) {
|
|
287
|
+
display: inline-block;
|
|
288
|
+
padding: {
|
|
289
|
+
left: 1em;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|