va_common 0.1.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/.gitignore +9 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/README.md +66 -0
- data/Rakefile +1 -0
- data/app/assets/fonts/merriweather-bold-webfont.eot +0 -0
- data/app/assets/fonts/merriweather-bold-webfont.svg +294 -0
- data/app/assets/fonts/merriweather-bold-webfont.ttf +0 -0
- data/app/assets/fonts/merriweather-bold-webfont.woff +0 -0
- data/app/assets/fonts/merriweather-bold-webfont.woff2 +0 -0
- data/app/assets/fonts/merriweather-italic-webfont.eot +0 -0
- data/app/assets/fonts/merriweather-italic-webfont.svg +283 -0
- data/app/assets/fonts/merriweather-italic-webfont.ttf +0 -0
- data/app/assets/fonts/merriweather-italic-webfont.woff +0 -0
- data/app/assets/fonts/merriweather-italic-webfont.woff2 +0 -0
- data/app/assets/fonts/merriweather-light-webfont.eot +0 -0
- data/app/assets/fonts/merriweather-light-webfont.svg +299 -0
- data/app/assets/fonts/merriweather-light-webfont.ttf +0 -0
- data/app/assets/fonts/merriweather-light-webfont.woff +0 -0
- data/app/assets/fonts/merriweather-light-webfont.woff2 +0 -0
- data/app/assets/fonts/merriweather-regular-webfont.eot +0 -0
- data/app/assets/fonts/merriweather-regular-webfont.svg +294 -0
- data/app/assets/fonts/merriweather-regular-webfont.ttf +0 -0
- data/app/assets/fonts/merriweather-regular-webfont.woff +0 -0
- data/app/assets/fonts/merriweather-regular-webfont.woff2 +0 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.eot +0 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.svg +965 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.ttf +0 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.woff +0 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.eot +0 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.svg +853 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.ttf +0 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.woff +0 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.eot +0 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.svg +915 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.ttf +0 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.woff +0 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.woff2 +0 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.eot +0 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.svg +989 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.ttf +0 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.woff +0 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
- data/app/assets/images/design/background/thread.png +0 -0
- data/app/assets/images/design/logo/logo-alt-hover.png +0 -0
- data/app/assets/images/design/logo/logo-alt.png +0 -0
- data/app/assets/images/design/logo/logo-hover.png +0 -0
- data/app/assets/images/design/logo/logo-small.png +0 -0
- data/app/assets/images/design/logo/logo.png +0 -0
- data/app/assets/images/design/logo/og-image.jpg +0 -0
- data/app/assets/images/design/seal/seal-footer.png +0 -0
- data/app/assets/images/design/seal/seal-footer.svg +1 -0
- data/app/assets/images/design/seal/seal.png +0 -0
- data/app/assets/images/design/seal/stars.png +0 -0
- data/app/assets/images/icons/apple-touch-icon-114x114.png +0 -0
- data/app/assets/images/icons/apple-touch-icon-152x152.png +0 -0
- data/app/assets/images/icons/apple-touch-icon-72x72.png +0 -0
- data/app/assets/images/icons/apple-touch-icon.png +0 -0
- data/app/assets/images/icons/favicon.ico +0 -0
- data/app/assets/images/icons/va.png +0 -0
- data/app/assets/images/icons/watermark.png +0 -0
- data/app/assets/images/icons/wrench.png +0 -0
- data/app/assets/images/social-icons/png/facebook25.png +0 -0
- data/app/assets/images/social-icons/png/rss25.png +0 -0
- data/app/assets/images/social-icons/png/twitter16.png +0 -0
- data/app/assets/images/social-icons/png/youtube15.png +0 -0
- data/app/assets/images/social-icons/svg/facebook25.svg +11 -0
- data/app/assets/images/social-icons/svg/rss25.svg +1 -0
- data/app/assets/images/social-icons/svg/twitter16.svg +15 -0
- data/app/assets/images/social-icons/svg/youtube15.svg +1 -0
- data/app/assets/js/components.js +376 -0
- data/app/assets/js/foundation/foundation.abide.js +408 -0
- data/app/assets/js/foundation/foundation.accordion.js +88 -0
- data/app/assets/js/foundation/foundation.alert.js +43 -0
- data/app/assets/js/foundation/foundation.clearing.js +586 -0
- data/app/assets/js/foundation/foundation.dropdown.js +463 -0
- data/app/assets/js/foundation/foundation.equalizer.js +104 -0
- data/app/assets/js/foundation/foundation.interchange.js +359 -0
- data/app/assets/js/foundation/foundation.joyride.js +932 -0
- data/app/assets/js/foundation/foundation.js +725 -0
- data/app/assets/js/foundation/foundation.magellan.js +215 -0
- data/app/assets/js/foundation/foundation.offcanvas.js +152 -0
- data/app/assets/js/foundation/foundation.orbit.js +476 -0
- data/app/assets/js/foundation/foundation.reveal.js +498 -0
- data/app/assets/js/foundation/foundation.slider.js +281 -0
- data/app/assets/js/foundation/foundation.tab.js +249 -0
- data/app/assets/js/foundation/foundation.tooltip.js +339 -0
- data/app/assets/js/foundation/foundation.topbar.js +458 -0
- data/app/assets/js/foundation.min.js +6376 -0
- data/app/assets/js/scripts-no-touch.js +33 -0
- data/app/assets/js/scripts-touch.js +33 -0
- data/app/assets/js/va_common_main.js +1 -0
- data/app/assets/js/vendor/classie.js +80 -0
- data/app/assets/js/vendor/html5shiv.js +8 -0
- data/app/assets/js/vendor/jquery-1.11.0.min.js +4 -0
- data/app/assets/js/vendor/jquery.js +9789 -0
- data/app/assets/js/vendor/jquery.smooth-scroll.js +255 -0
- data/app/assets/js/vendor/jquery.stellar.js +651 -0
- data/app/assets/js/vendor/jquery.tipsy.js +258 -0
- data/app/assets/js/vendor/menu.js +40 -0
- data/app/assets/js/vendor/modernizr.custom.js +4 -0
- data/app/assets/js/vendor/nwmatcher-1.2.5-min.js +7 -0
- data/app/assets/js/vendor/respond.min.js +6 -0
- data/app/assets/js/vendor/scroll-settings.js +3 -0
- data/app/assets/js/vendor/selectivizr-1.0.3b.js +560 -0
- data/app/assets/js/vendor/stellar-settings.js +8 -0
- data/app/assets/js/vendor/svg-injector.js +450 -0
- data/app/assets/js/vendor/tota11y.min.js +28 -0
- data/app/assets/js/vendor/wow.min.js +2 -0
- data/app/assets/stylesheets/_va.scss +2377 -0
- data/app/assets/stylesheets/components/_accordions.scss +98 -0
- data/app/assets/stylesheets/core/_base.scss +20 -0
- data/app/assets/stylesheets/core/_defaults.scss +92 -0
- data/app/assets/stylesheets/core/_grid-settings.scss +10 -0
- data/app/assets/stylesheets/core/_grid.scss +116 -0
- data/app/assets/stylesheets/core/_utilities.scss +105 -0
- data/app/assets/stylesheets/core/_variables.scss +88 -0
- data/app/assets/stylesheets/elements/_buttons.scss +189 -0
- data/app/assets/stylesheets/elements/_figure.scss +9 -0
- data/app/assets/stylesheets/elements/_inputs.scss +328 -0
- data/app/assets/stylesheets/elements/_labels.scss +39 -0
- data/app/assets/stylesheets/elements/_list.scss +82 -0
- data/app/assets/stylesheets/elements/_table.scss +39 -0
- data/app/assets/stylesheets/elements/_typography.scss +220 -0
- data/app/assets/stylesheets/foundation/_functions.scss +146 -0
- data/app/assets/stylesheets/foundation/_settings.scss +1467 -0
- data/app/assets/stylesheets/foundation/_variables.scss +1286 -0
- data/app/assets/stylesheets/foundation/components/_accordion.scss +157 -0
- data/app/assets/stylesheets/foundation/components/_alert-boxes.scss +128 -0
- data/app/assets/stylesheets/foundation/components/_block-grid.scss +132 -0
- data/app/assets/stylesheets/foundation/components/_breadcrumbs.scss +132 -0
- data/app/assets/stylesheets/foundation/components/_button-groups.scss +200 -0
- data/app/assets/stylesheets/foundation/components/_buttons.scss +259 -0
- data/app/assets/stylesheets/foundation/components/_clearing.scss +256 -0
- data/app/assets/stylesheets/foundation/components/_dropdown-buttons.scss +131 -0
- data/app/assets/stylesheets/foundation/components/_dropdown.scss +262 -0
- data/app/assets/stylesheets/foundation/components/_flex-video.scss +51 -0
- data/app/assets/stylesheets/foundation/components/_forms.scss +570 -0
- data/app/assets/stylesheets/foundation/components/_global.scss +481 -0
- data/app/assets/stylesheets/foundation/components/_grid.scss +289 -0
- data/app/assets/stylesheets/foundation/components/_icon-bar.scss +358 -0
- data/app/assets/stylesheets/foundation/components/_inline-lists.scss +57 -0
- data/app/assets/stylesheets/foundation/components/_joyride.scss +222 -0
- data/app/assets/stylesheets/foundation/components/_keystrokes.scss +61 -0
- data/app/assets/stylesheets/foundation/components/_labels.scss +106 -0
- data/app/assets/stylesheets/foundation/components/_magellan.scss +34 -0
- data/app/assets/stylesheets/foundation/components/_offcanvas.scss +515 -0
- data/app/assets/stylesheets/foundation/components/_orbit.scss +368 -0
- data/app/assets/stylesheets/foundation/components/_pagination.scss +162 -0
- data/app/assets/stylesheets/foundation/components/_panels.scss +101 -0
- data/app/assets/stylesheets/foundation/components/_pricing-tables.scss +150 -0
- data/app/assets/stylesheets/foundation/components/_progress-bars.scss +79 -0
- data/app/assets/stylesheets/foundation/components/_range-slider.scss +169 -0
- data/app/assets/stylesheets/foundation/components/_reveal.scss +202 -0
- data/app/assets/stylesheets/foundation/components/_side-nav.scss +116 -0
- data/app/assets/stylesheets/foundation/components/_split-buttons.scss +199 -0
- data/app/assets/stylesheets/foundation/components/_sub-nav.scss +123 -0
- data/app/assets/stylesheets/foundation/components/_switches.scss +238 -0
- data/app/assets/stylesheets/foundation/components/_tables.scss +135 -0
- data/app/assets/stylesheets/foundation/components/_tabs.scss +123 -0
- data/app/assets/stylesheets/foundation/components/_thumbs.scss +66 -0
- data/app/assets/stylesheets/foundation/components/_toolbar.scss +70 -0
- data/app/assets/stylesheets/foundation/components/_tooltips.scss +142 -0
- data/app/assets/stylesheets/foundation/components/_top-bar.scss +691 -0
- data/app/assets/stylesheets/foundation/components/_type.scss +525 -0
- data/app/assets/stylesheets/foundation/components/_visibility.scss +408 -0
- data/app/assets/stylesheets/functions/_new-breakpoint.scss +49 -0
- data/app/assets/stylesheets/functions/_private.scss +114 -0
- data/app/assets/stylesheets/lib/_normalize.scss +427 -0
- data/app/assets/stylesheets/lib/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
- data/app/assets/stylesheets/lib/bourbon/_bourbon.scss +87 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_border-color.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_border-radius.scss +48 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_border-style.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_border-width.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_buttons.scss +64 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_clearfix.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_ellipsis.scss +30 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_font-stacks.scss +31 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_hide-text.scss +27 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_margin.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_padding.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_position.scss +48 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_prefixer.scss +66 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_retina-image.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_size.scss +51 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_text-inputs.scss +112 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_timing-functions.scss +34 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_triangle.scss +63 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_word-wrap.scss +29 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_animation.scss +43 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_appearance.scss +3 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_backface-visibility.scss +3 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_background-image.scss +42 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_background.scss +55 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_border-image.scss +59 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_calc.scss +4 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_columns.scss +47 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_filter.scss +4 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_flex-box.scss +287 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_font-face.scss +24 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_font-feature-settings.scss +4 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_hidpi-media-query.scss +10 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_hyphens.scss +4 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_image-rendering.scss +14 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_keyframes.scss +36 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_linear-gradient.scss +38 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_perspective.scss +8 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_placeholder.scss +8 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_radial-gradient.scss +39 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_selection.scss +42 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_text-decoration.scss +19 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_transform.scss +15 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_transition.scss +71 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_user-select.scss +3 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_assign-inputs.scss +11 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_contains-falsy.scss +20 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_contains.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_is-length.scss +11 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_is-light.scss +21 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_is-number.scss +11 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_is-size.scss +13 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_modular-scale.scss +69 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_px-to-em.scss +13 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_px-to-rem.scss +15 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_shade.scss +24 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_strip-units.scss +17 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_tint.scss +24 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_transition-property-name.scss +22 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_unpack.scss +27 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_convert-units.scss +21 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_directional-values.scss +96 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_font-source-declaration.scss +43 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_gradient-positions-parser.scss +13 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_linear-angle-parser.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_linear-gradient-parser.scss +41 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_linear-positions-parser.scss +61 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_radial-arg-parser.scss +69 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_radial-gradient-parser.scss +50 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_radial-positions-parser.scss +18 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_render-gradients.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_shape-size-stripper.scss +10 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_str-to-num.scss +50 -0
- data/app/assets/stylesheets/lib/bourbon/settings/_asset-pipeline.scss +7 -0
- data/app/assets/stylesheets/lib/bourbon/settings/_prefixer.scss +9 -0
- data/app/assets/stylesheets/lib/bourbon/settings/_px-to-em.scss +1 -0
- data/app/assets/stylesheets/lib/neat/_neat-helpers.scss +8 -0
- data/app/assets/stylesheets/lib/neat/_neat.scss +23 -0
- data/app/assets/stylesheets/lib/neat/functions/_new-breakpoint.scss +49 -0
- data/app/assets/stylesheets/lib/neat/functions/_private.scss +114 -0
- data/app/assets/stylesheets/lib/neat/grid/_box-sizing.scss +15 -0
- data/app/assets/stylesheets/lib/neat/grid/_direction-context.scss +33 -0
- data/app/assets/stylesheets/lib/neat/grid/_display-context.scss +28 -0
- data/app/assets/stylesheets/lib/neat/grid/_fill-parent.scss +22 -0
- data/app/assets/stylesheets/lib/neat/grid/_media.scss +92 -0
- data/app/assets/stylesheets/lib/neat/grid/_omega.scss +87 -0
- data/app/assets/stylesheets/lib/neat/grid/_outer-container.scss +38 -0
- data/app/assets/stylesheets/lib/neat/grid/_pad.scss +25 -0
- data/app/assets/stylesheets/lib/neat/grid/_private.scss +35 -0
- data/app/assets/stylesheets/lib/neat/grid/_row.scss +52 -0
- data/app/assets/stylesheets/lib/neat/grid/_shift.scss +50 -0
- data/app/assets/stylesheets/lib/neat/grid/_span-columns.scss +94 -0
- data/app/assets/stylesheets/lib/neat/grid/_to-deprecate.scss +97 -0
- data/app/assets/stylesheets/lib/neat/grid/_visual-grid.scss +42 -0
- data/app/assets/stylesheets/lib/neat/settings/_disable-warnings.scss +13 -0
- data/app/assets/stylesheets/lib/neat/settings/_grid.scss +51 -0
- data/app/assets/stylesheets/lib/neat/settings/_visual-grid.scss +27 -0
- data/app/assets/stylesheets/va_common_main.css.scss +18 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/generators/files/_footer.html.erb +89 -0
- data/lib/generators/files/_header.html.erb +7 -0
- data/lib/generators/va_common_generator.rb +6 -0
- data/lib/generators/va_footer_generator.rb +7 -0
- data/lib/generators/va_header_generator.rb +7 -0
- data/lib/va_common/engine.rb +4 -0
- data/lib/va_common/version.rb +3 -0
- data/lib/va_common.rb +2 -0
- data/va_common.gemspec +22 -0
- metadata +354 -0
|
@@ -0,0 +1,98 @@
|
|
|
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('../images/icons/plus.png');
|
|
32
|
+
background-image: url('../images/icons/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('../images/icons/minus.png');
|
|
40
|
+
background-image: url('../images/icons/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: 2rem;
|
|
87
|
+
|
|
88
|
+
> *:first-child {
|
|
89
|
+
margin-top: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
> *:last-child {
|
|
93
|
+
margin-bottom: 0;
|
|
94
|
+
}
|
|
95
|
+
ul {
|
|
96
|
+
padding-left:0;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* apply a natural box layout model to all elements, but allowing components to change */
|
|
2
|
+
|
|
3
|
+
html {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
*, *:before, *:after {
|
|
8
|
+
box-sizing: inherit;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
body {
|
|
12
|
+
background-color: #ffffff;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.lt-ie9 {
|
|
16
|
+
// Hack for clearfixes
|
|
17
|
+
* {
|
|
18
|
+
filter: none !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// Starter Kit Defaults
|
|
2
|
+
// Do not modify.
|
|
3
|
+
// These variables can be modified in _variables.scss
|
|
4
|
+
|
|
5
|
+
// Typography
|
|
6
|
+
$em-base: 16px; // default is already defined in bourbon
|
|
7
|
+
$base-font-size: rem(16px) !default;
|
|
8
|
+
$small-font-size: rem(14px) !default;
|
|
9
|
+
$lead-font-size: rem(22px) !default;
|
|
10
|
+
$title-font-size: rem(52px) !default;
|
|
11
|
+
$h1-font-size: rem(40px) !default;
|
|
12
|
+
$h2-font-size: rem(30px) !default;
|
|
13
|
+
$h3-font-size: rem(20px) !default;
|
|
14
|
+
$h4-font-size: rem(17px) !default;
|
|
15
|
+
$h5-font-size: rem(15px) !default;
|
|
16
|
+
$h6-font-size: rem(13px) !default;
|
|
17
|
+
$base-line-height: 1.5 !default;
|
|
18
|
+
$heading-line-height: 1.3 !default;
|
|
19
|
+
$lead-line-height: 1.7 !default;
|
|
20
|
+
|
|
21
|
+
$font-sans: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif !default;
|
|
22
|
+
$font-serif: 'Merriweather', 'Georgia', 'Times New Roman', serif;
|
|
23
|
+
|
|
24
|
+
$font-normal: 400 !default;
|
|
25
|
+
$font-bold: 700 !default;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
// Color
|
|
29
|
+
$color-primary: #0071bc !default;
|
|
30
|
+
$color-primary-darker: #205493 !default;
|
|
31
|
+
$color-primary-darkest: #112e51 !default;
|
|
32
|
+
|
|
33
|
+
$color-primary-alt: #02bfe7 !default;
|
|
34
|
+
$color-primary-alt-darkest: #046b99 !default;
|
|
35
|
+
$color-primary-alt-dark: #00a6d2 !default;
|
|
36
|
+
$color-primary-alt-light: #9bdaf1 !default; // lighten($color-primary-alt, 60%)
|
|
37
|
+
$color-primary-alt-lightest: #e1f3f8 !default; // lighten($color-primary-alt, 90%)
|
|
38
|
+
|
|
39
|
+
$color-secondary: #e31c3d !default;
|
|
40
|
+
$color-secondary-darkest: #981b1e !default;
|
|
41
|
+
$color-secondary-dark: #cd2026 !default;
|
|
42
|
+
$color-secondary-light: #e59393 !default; // lighten($color-secondary, 60%)
|
|
43
|
+
$color-secondary-lightest: #f9dede !default; // lighten($color-secondary, 90%)
|
|
44
|
+
|
|
45
|
+
$color-white: #ffffff !default;
|
|
46
|
+
$color-base: #212121 !default;
|
|
47
|
+
|
|
48
|
+
$color-gray-dark: #323a45 !default;
|
|
49
|
+
$color-gray: #205493 !default; // lighten($color-gray-dark, 20%)
|
|
50
|
+
$color-gray-light: #aeb0b5 !default; // lighten($color-gray-dark, 60%)
|
|
51
|
+
$color-gray-lighter: #d6d7d9 !default; // lighten($color-gray-dark, 80%)
|
|
52
|
+
$color-gray-lightest: #f1f1f1 !default; // lighten($color-gray-dark, 91%)
|
|
53
|
+
|
|
54
|
+
$color-gray-warm-dark: #494440 !default;
|
|
55
|
+
$color-gray-warm-light: #e4e2e0 !default; // lighten($color-gray-warm-dark, 90%)
|
|
56
|
+
$color-gray-cool-light: #dce4ef !default; // lighten($color-primary, 90%)
|
|
57
|
+
|
|
58
|
+
$color-gold: #fdb81e !default;
|
|
59
|
+
$color-gold-light: #f9c642 !default; // lighten($color-gold, 20%)
|
|
60
|
+
$color-gold-lighter: #fad980 !default; // lighten($color-gold, 60%)
|
|
61
|
+
$color-gold-lightest: #fff1d2 !default; // lighten($color-gold, 83%)
|
|
62
|
+
|
|
63
|
+
$color-green: #2e8540 !default;
|
|
64
|
+
$color-green-light: #4aa564 !default; // lighten($color-green, 20%)
|
|
65
|
+
$color-green-lighter: #94bfa2 !default; // lighten($color-green, 60%)
|
|
66
|
+
$color-green-lightest: #e7f4e4 !default; // lighten($color-green, 60%)
|
|
67
|
+
|
|
68
|
+
$color-cool-blue: #205493 !default;
|
|
69
|
+
$color-cool-blue-light: #4773aa !default; // lighten($color-cool-blue, 20%)
|
|
70
|
+
$color-cool-blue-lighter: #8ba6ca !default; // lighten($color-cool-blue, 60%)
|
|
71
|
+
$color-cool-blue-lightest: #dce4ef !default; // lighten($color-cool-blue, 90%)
|
|
72
|
+
|
|
73
|
+
$color-focus: #3e94cf !default;
|
|
74
|
+
$color-visited: #4c2c92 !default;
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
// Mobile First Breakpoints
|
|
78
|
+
$small-screen: 481px !default;
|
|
79
|
+
$medium-screen: 600px !default;
|
|
80
|
+
$large-screen: 1201px !default;
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
// Magic Numbers
|
|
84
|
+
$text-max-width: 53rem !default;
|
|
85
|
+
$site-max-width: 1040px !default;
|
|
86
|
+
$site-margins: 3rem !default;
|
|
87
|
+
$article-max-width: 600px !default;
|
|
88
|
+
$input-max-width: 46rem !default;
|
|
89
|
+
$border-radius: rem(3px) !default;
|
|
90
|
+
$box-shadow: 0 0 2px rgba(#000, .3) !default;
|
|
91
|
+
$focus-shadow: 0 0 3px $color-focus, 0 0 7px $color-focus;
|
|
92
|
+
$grid-margins: 3rem !default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Add custom grid settings here (i.e. gutters, columns, etc)
|
|
2
|
+
|
|
3
|
+
// Mobile First Breakpoints
|
|
4
|
+
$small-screen: 481px;
|
|
5
|
+
$medium-screen: 600px;
|
|
6
|
+
$large-screen: 1201px;
|
|
7
|
+
|
|
8
|
+
$large: new-breakpoint(min-width $large-screen 12);
|
|
9
|
+
$medium: new-breakpoint(min-width $medium-screen 6);
|
|
10
|
+
$small: new-breakpoint(min-width $small-screen 1);
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
.usa-grid,
|
|
2
|
+
.usa-grid-full {
|
|
3
|
+
@include outer-container();
|
|
4
|
+
max-width: $site-max-width;
|
|
5
|
+
|
|
6
|
+
@include media($medium) {
|
|
7
|
+
.usa-width-one-whole {
|
|
8
|
+
@include span-columns(6);
|
|
9
|
+
}
|
|
10
|
+
.usa-width-one-half {
|
|
11
|
+
@include span-columns(3);
|
|
12
|
+
}
|
|
13
|
+
.usa-width-one-third {
|
|
14
|
+
@include span-columns(2);
|
|
15
|
+
}
|
|
16
|
+
.usa-width-two-thirds {
|
|
17
|
+
@include span-columns(4);
|
|
18
|
+
}
|
|
19
|
+
.usa-width-one-fourth {
|
|
20
|
+
@include span-columns(3);
|
|
21
|
+
|
|
22
|
+
&:nth-child(2n) {
|
|
23
|
+
margin-right: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.usa-width-three-fourths {
|
|
27
|
+
@include span-columns(6);
|
|
28
|
+
}
|
|
29
|
+
.usa-width-one-sixth {
|
|
30
|
+
@include span-columns(2);
|
|
31
|
+
|
|
32
|
+
&:nth-child(3n) {
|
|
33
|
+
margin-right: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.usa-width-five-sixths {
|
|
37
|
+
@include span-columns(5);
|
|
38
|
+
}
|
|
39
|
+
.usa-width-one-twelfth {
|
|
40
|
+
@include span-columns(2);
|
|
41
|
+
|
|
42
|
+
&:nth-child(3n) {
|
|
43
|
+
margin-right: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@include media($large) {
|
|
49
|
+
.usa-width-one-whole {
|
|
50
|
+
@include span-columns(12);
|
|
51
|
+
}
|
|
52
|
+
.usa-width-one-half {
|
|
53
|
+
@include span-columns(6);
|
|
54
|
+
}
|
|
55
|
+
.usa-width-one-third {
|
|
56
|
+
@include span-columns(4);
|
|
57
|
+
}
|
|
58
|
+
.usa-width-two-thirds {
|
|
59
|
+
@include span-columns(8);
|
|
60
|
+
}
|
|
61
|
+
.usa-width-one-fourth {
|
|
62
|
+
@include span-columns(3);
|
|
63
|
+
|
|
64
|
+
&:nth-child(2n) {
|
|
65
|
+
@include span-columns(3);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:nth-child(4n) {
|
|
69
|
+
margin-right: 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
.usa-width-three-fourths {
|
|
73
|
+
@include span-columns(9);
|
|
74
|
+
}
|
|
75
|
+
.usa-width-one-sixth {
|
|
76
|
+
@include span-columns(2);
|
|
77
|
+
|
|
78
|
+
&:nth-child(3n) {
|
|
79
|
+
@include span-columns(2);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:nth-child(6n) {
|
|
83
|
+
margin-right: 0;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
.usa-width-five-sixths {
|
|
87
|
+
@include span-columns(10);
|
|
88
|
+
}
|
|
89
|
+
.usa-width-one-twelfth {
|
|
90
|
+
@include span-columns(1);
|
|
91
|
+
|
|
92
|
+
&:nth-child(3n) {
|
|
93
|
+
@include span-columns(1);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&:nth-child(12n) {
|
|
97
|
+
margin-right: 0;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Specificies end of a row.
|
|
103
|
+
// Required if grid-box contains multiple rows.
|
|
104
|
+
// Required if browser does not support :last-child
|
|
105
|
+
.usa-end-row {
|
|
106
|
+
@include omega();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.usa-grid {
|
|
111
|
+
padding: 0 $grid-margins;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.usa-grid-full {
|
|
115
|
+
padding: 0;
|
|
116
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// Mobile-first media query helper
|
|
2
|
+
@mixin media($bp) {
|
|
3
|
+
@media screen and (min-width: #{$bp}) {
|
|
4
|
+
@content;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// Clearfix helper
|
|
9
|
+
@mixin clearfix() {
|
|
10
|
+
&:after {
|
|
11
|
+
content: ".";
|
|
12
|
+
display: block;
|
|
13
|
+
height: 0;
|
|
14
|
+
clear: both;
|
|
15
|
+
visibility: hidden;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Screen reader only helper
|
|
20
|
+
.usa-sr-only {
|
|
21
|
+
position: absolute;
|
|
22
|
+
left:-999em;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin sr-only() {
|
|
26
|
+
position: absolute;
|
|
27
|
+
left:-999em;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Unstyled list helper
|
|
31
|
+
|
|
32
|
+
@mixin unstyled-list() {
|
|
33
|
+
display: block;
|
|
34
|
+
margin: 0;
|
|
35
|
+
padding: 0;
|
|
36
|
+
list-style-type: none;
|
|
37
|
+
|
|
38
|
+
li {
|
|
39
|
+
display: list-item;
|
|
40
|
+
margin: 0;
|
|
41
|
+
|
|
42
|
+
&:before {
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:after {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Content size helpers
|
|
53
|
+
@mixin allow-layout-classes {
|
|
54
|
+
|
|
55
|
+
margin: {
|
|
56
|
+
left: auto;
|
|
57
|
+
right: auto;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.width-one-half {
|
|
61
|
+
@include media($medium-screen) {
|
|
62
|
+
width: 50%;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.width-one-third {
|
|
67
|
+
@include media($medium-screen) {
|
|
68
|
+
width: 33%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.width-two-thirds {
|
|
73
|
+
@include media($medium-screen) {
|
|
74
|
+
width: 67%;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.width-one-fourth {
|
|
79
|
+
@include media($medium-screen) {
|
|
80
|
+
width: 25%;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.width-three-fourths {
|
|
85
|
+
@include media($medium-screen) {
|
|
86
|
+
width: 75%;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&.align-left {
|
|
91
|
+
@include media($medium-screen) {
|
|
92
|
+
float: left;
|
|
93
|
+
margin-top: .5em;
|
|
94
|
+
margin-right: 2em;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.align-right {
|
|
99
|
+
@include media($medium-screen) {
|
|
100
|
+
float: right;
|
|
101
|
+
margin-top: .5em;
|
|
102
|
+
margin-left: 2em;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// Typography
|
|
2
|
+
$em-base: 10px;
|
|
3
|
+
$base-font-size: rem(17px);
|
|
4
|
+
$small-font-size: rem(14px);
|
|
5
|
+
$lead-font-size: rem(20px);
|
|
6
|
+
$title-font-size: rem(52px);
|
|
7
|
+
$h1-font-size: rem(40px);
|
|
8
|
+
$h2-font-size: rem(30px);
|
|
9
|
+
$h3-font-size: rem(20px);
|
|
10
|
+
$h4-font-size: rem(17px);
|
|
11
|
+
$h5-font-size: rem(15px);
|
|
12
|
+
$h6-font-size: rem(13px);
|
|
13
|
+
$base-line-height: 1.5;
|
|
14
|
+
$heading-line-height: 1.3;
|
|
15
|
+
$lead-line-height: 1.7;
|
|
16
|
+
|
|
17
|
+
$font-sans: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
|
|
18
|
+
$font-serif: 'Merriweather', 'Georgia', 'Times New Roman', serif;
|
|
19
|
+
|
|
20
|
+
$font-normal: 400;
|
|
21
|
+
$font-bold: 700;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
// Color
|
|
25
|
+
$color-primary: #0071bc;
|
|
26
|
+
$color-primary-darker: #205493;
|
|
27
|
+
$color-primary-darkest: #112e51;
|
|
28
|
+
|
|
29
|
+
$color-primary-alt: #02bfe7;
|
|
30
|
+
$color-primary-alt-dark: #00a6d2;
|
|
31
|
+
$color-primary-alt-darkest: #046b99;
|
|
32
|
+
$color-primary-alt-light: #9bdaf1; // lighten($color-primary-alt, 60%)
|
|
33
|
+
$color-primary-alt-lightest: #e1f3f8; // lighten($color-primary-alt, 90%)
|
|
34
|
+
|
|
35
|
+
$color-secondary: #e31c3d;
|
|
36
|
+
$color-secondary-dark: #cd2026;
|
|
37
|
+
$color-secondary-darkest: #981b1e;
|
|
38
|
+
$color-secondary-light: #e59393; // lighten($color-secondary, 60%)
|
|
39
|
+
$color-secondary-lightest: #f9dede; // lighten($color-secondary, 90%)
|
|
40
|
+
|
|
41
|
+
$color-white: #ffffff;
|
|
42
|
+
$color-base: #212121;
|
|
43
|
+
|
|
44
|
+
$color-gray-dark: #323a45;
|
|
45
|
+
$color-gray: #5b616b; // lighten($color-gray-dark, 20%)
|
|
46
|
+
$color-gray-light: #aeb0b5; // lighten($color-gray-dark, 60%)
|
|
47
|
+
$color-gray-lighter: #d6d7d9; // lighten($color-gray-dark, 80%)
|
|
48
|
+
$color-gray-lightest: #f1f1f1; // lighten($color-gray-dark, 91%)
|
|
49
|
+
|
|
50
|
+
$color-gray-warm-dark: #494440;
|
|
51
|
+
$color-gray-warm-light: #e4e2e0; // lighten($color-gray-warm-dark, 90%)
|
|
52
|
+
$color-gray-cool-light: #dce4ef; // lighten($color-primary, 90%)
|
|
53
|
+
|
|
54
|
+
$color-gold: #fdb81e;
|
|
55
|
+
$color-gold-light: #f9c642; // lighten($color-gold, 20%)
|
|
56
|
+
$color-gold-lighter: #fad980; // lighten($color-gold, 60%)
|
|
57
|
+
$color-gold-lightest: #fff1d2; // lighten($color-gold, 83%)
|
|
58
|
+
|
|
59
|
+
$color-green: #2e8540;
|
|
60
|
+
$color-green-light: #4aa564; // lighten($color-green, 20%)
|
|
61
|
+
$color-green-lighter: #94bfa2; // lighten($color-green, 60%)
|
|
62
|
+
$color-green-lightest: #e7f4e4; // lighten($color-green, 60%)
|
|
63
|
+
|
|
64
|
+
$color-cool-blue: #205493;
|
|
65
|
+
$color-cool-blue-light: #4773aa; // lighten($color-cool-blue, 20%)
|
|
66
|
+
$color-cool-blue-lighter: #8ba6ca; // lighten($color-cool-blue, 60%)
|
|
67
|
+
$color-cool-blue-lightest: #dce4ef; // lighten($color-cool-blue, 90%)
|
|
68
|
+
|
|
69
|
+
$color-focus: #3e94cf;
|
|
70
|
+
$color-visited: #4c2c92;
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
// Mobile First Breakpoints
|
|
74
|
+
$small-screen: 481px;
|
|
75
|
+
$medium-screen: 600px;
|
|
76
|
+
$large-screen: 1201px;
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
// Magic Numbers
|
|
80
|
+
$text-max-width: 53rem;
|
|
81
|
+
$site-max-width: 1040px;
|
|
82
|
+
$site-margins: 3rem;
|
|
83
|
+
$article-max-width: 600px;
|
|
84
|
+
$input-max-width: 46rem;
|
|
85
|
+
$border-radius: rem(3px);
|
|
86
|
+
$box-shadow: 0 0 2px rgba(#000, .3);
|
|
87
|
+
$focus-shadow: 0 0 3px $color-focus, 0 0 7px $color-focus;
|
|
88
|
+
$grid-margins: 3rem;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
// Buttons variables
|
|
2
|
+
|
|
3
|
+
$button-stroke: inset 0 0 0 2px;
|
|
4
|
+
|
|
5
|
+
// Buttons
|
|
6
|
+
|
|
7
|
+
.usa-button,
|
|
8
|
+
.usa-button-primary,
|
|
9
|
+
.usa-button:visited,
|
|
10
|
+
.usa-button-primary:visited,
|
|
11
|
+
button,
|
|
12
|
+
[type="button"],
|
|
13
|
+
[type="submit"],
|
|
14
|
+
[type="reset"],
|
|
15
|
+
[type="image"],
|
|
16
|
+
a.usa-button {
|
|
17
|
+
appearance: none;
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
background-color: $color-primary;
|
|
20
|
+
border: 0;
|
|
21
|
+
border-radius: .2em;
|
|
22
|
+
color: $color-white;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
display: inline-block;
|
|
25
|
+
font-family: $font-sans;
|
|
26
|
+
font-size: $base-font-size;
|
|
27
|
+
font-weight: $font-bold;
|
|
28
|
+
line-height: 1;
|
|
29
|
+
margin: {
|
|
30
|
+
top: .5em;
|
|
31
|
+
bottom: .5em;
|
|
32
|
+
right: .5em;
|
|
33
|
+
}
|
|
34
|
+
outline: none;
|
|
35
|
+
padding: 1rem 2rem;
|
|
36
|
+
text-align: center;
|
|
37
|
+
text-decoration: none;
|
|
38
|
+
width: 100%;
|
|
39
|
+
-webkit-font-smoothing: antialiased;
|
|
40
|
+
|
|
41
|
+
&:hover,
|
|
42
|
+
&.usa-button-hover {
|
|
43
|
+
background-color: $color-primary-darker;
|
|
44
|
+
border-bottom: 0;
|
|
45
|
+
color: $color-white;
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:focus,
|
|
50
|
+
&.usa-button-focus {
|
|
51
|
+
box-shadow: $focus-shadow;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:active,
|
|
55
|
+
&.usa-button-active {
|
|
56
|
+
background-color: $color-primary-darkest;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (min-width: $small-screen) {
|
|
60
|
+
width: auto;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.usa-button-primary-alt {
|
|
64
|
+
background-color: $color-primary-alt;
|
|
65
|
+
color: $color-base;
|
|
66
|
+
|
|
67
|
+
&:hover,
|
|
68
|
+
&.usa-button-hover {
|
|
69
|
+
background-color: $color-primary-alt-dark;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:active,
|
|
73
|
+
&.usa-button-active {
|
|
74
|
+
background-color: $color-primary-alt-darkest;
|
|
75
|
+
color: $color-white;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.usa-button-secondary {
|
|
80
|
+
background-color: $color-secondary;
|
|
81
|
+
|
|
82
|
+
&:hover,
|
|
83
|
+
&.usa-button-hover {
|
|
84
|
+
background-color: $color-secondary-dark;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:active,
|
|
88
|
+
&.usa-button-active {
|
|
89
|
+
background-color: $color-secondary-darkest;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.usa-button-gray {
|
|
94
|
+
background-color: $color-gray;
|
|
95
|
+
|
|
96
|
+
&:hover,
|
|
97
|
+
&.usa-button-hover {
|
|
98
|
+
background-color: $color-gray-dark;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&:active,
|
|
102
|
+
&.usa-button-active {
|
|
103
|
+
background-color: $color-base;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.usa-button-outline {
|
|
108
|
+
background-color: $color-white;
|
|
109
|
+
box-shadow: $button-stroke $color-primary;
|
|
110
|
+
color: $color-primary;
|
|
111
|
+
|
|
112
|
+
&:hover,
|
|
113
|
+
&.usa-button-hover {
|
|
114
|
+
box-shadow: $button-stroke $color-primary-darker;
|
|
115
|
+
color: $color-primary-darker;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:active,
|
|
119
|
+
&.usa-button-active {
|
|
120
|
+
box-shadow: $button-stroke $color-primary-darkest;
|
|
121
|
+
color: $color-primary-darkest;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:focus,
|
|
125
|
+
&.usa-button-focus {
|
|
126
|
+
box-shadow: $button-stroke $color-primary-darkest, $focus-shadow;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&.usa-button-outline-inverse {
|
|
131
|
+
background: transparent;
|
|
132
|
+
box-shadow: $button-stroke $color-white;
|
|
133
|
+
color: $color-white;
|
|
134
|
+
|
|
135
|
+
&:hover,
|
|
136
|
+
&.usa-button-hover {
|
|
137
|
+
box-shadow: $button-stroke $color-gray-lighter;
|
|
138
|
+
color: $color-gray-lighter;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&:active,
|
|
142
|
+
&.usa-button-active {
|
|
143
|
+
box-shadow: $button-stroke $color-gray-light;
|
|
144
|
+
color: $color-gray-lighter;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&:focus,
|
|
148
|
+
&.usa-button-focus {
|
|
149
|
+
box-shadow: $button-stroke $color-gray-light, $focus-shadow;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&.usa-button-big {
|
|
154
|
+
font-size: 1.9rem;
|
|
155
|
+
padding: 1.5rem 3rem;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[type="submit"]:disabled,
|
|
160
|
+
.usa-button-disabled {
|
|
161
|
+
background-color: $color-gray-lighter;
|
|
162
|
+
color: $color-gray-dark;
|
|
163
|
+
cursor: default;
|
|
164
|
+
|
|
165
|
+
&:hover,
|
|
166
|
+
&.usa-button-hover,
|
|
167
|
+
&:active,
|
|
168
|
+
&.usa-button-active,
|
|
169
|
+
&:focus {
|
|
170
|
+
background-color: $color-gray-lighter;
|
|
171
|
+
border: 0;
|
|
172
|
+
box-shadow: none;
|
|
173
|
+
color: $color-gray-dark;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.usa-button-unstyled {
|
|
178
|
+
background: none;
|
|
179
|
+
border: 0;
|
|
180
|
+
border-radius: 0;
|
|
181
|
+
outline: 0;
|
|
182
|
+
padding: 0;
|
|
183
|
+
text-align: left;
|
|
184
|
+
|
|
185
|
+
&:focus,
|
|
186
|
+
&:hover {
|
|
187
|
+
box-shadow: initial;
|
|
188
|
+
}
|
|
189
|
+
}
|