uswds-jekyll 4.0.0 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +359 -311
- data/_includes/analytics.html +7 -10
- data/_includes/components/banner.html +38 -13
- data/_includes/components/footer--big.html +142 -0
- data/_includes/components/footer--default.html +104 -0
- data/_includes/components/footer--slim.html +93 -0
- data/_includes/components/github-edit.html +3 -0
- data/_includes/components/graphic-list.html +13 -11
- data/_includes/components/header.html +161 -0
- data/_includes/components/hero.html +6 -13
- data/_includes/components/search.html +31 -0
- data/_includes/footer.html +7 -1
- data/_includes/header.html +1 -5
- data/_includes/meta.html +7 -1
- data/_includes/project-list.html +14 -0
- data/_includes/scripts.html +7 -5
- data/_includes/sidenav.html +23 -21
- data/_includes/styles.html +1 -1
- data/_includes/team-list.html +13 -0
- data/_layouts/default.html +39 -3
- data/_layouts/home.html +5 -26
- data/_layouts/page.html +19 -13
- data/_layouts/project.html +23 -0
- data/_layouts/team-member.html +34 -0
- data/_sass/_uswds-theme-custom-styles.scss +0 -0
- data/_sass/_uswds-theme-override-settings.scss +2 -0
- data/_sass/_uswds-theme-packages.scss +1 -0
- data/_sass/_uswds-theme-settings.scss +0 -0
- data/_sass/uswds/components/_all.scss +8 -0
- data/_sass/{components → uswds/components}/_alt-color-section.scss +6 -7
- data/_sass/uswds/components/_card.scss +63 -0
- data/_sass/uswds/components/_footer.scss +16 -502
- data/_sass/uswds/components/_header.scss +30 -198
- data/_sass/uswds/components/_hero.scss +37 -29
- data/_sass/{components → uswds/components}/_nav-buttons.scss +6 -6
- data/_sass/uswds/components/_side-nav.scss +48 -0
- data/_sass/uswds/components/_site-width.scss +6 -0
- data/_sass/uswds/components/_top-nav.scss +84 -0
- data/_sass/uswds/components/_usa-banner.scss +30 -0
- data/_sass/uswds/custom/_uswds-theme-custom-styles.scss +47 -0
- data/_sass/uswds/settings/_uswds-conversion-variables.scss +0 -0
- data/_sass/uswds/src/base/_accessibility.scss +3 -0
- data/_sass/uswds/src/base/_body.scss +5 -0
- data/_sass/uswds/src/components/_accordions.scss +116 -0
- data/_sass/uswds/src/components/_alerts.scss +143 -0
- data/_sass/uswds/src/components/_banner.scss +297 -0
- data/_sass/uswds/src/components/_breadcrumb.scss +168 -0
- data/_sass/uswds/src/components/_button-groups.scss +134 -0
- data/_sass/uswds/src/components/_card.scss +346 -0
- data/_sass/uswds/src/components/_checklist.scss +17 -0
- data/_sass/uswds/src/components/_footer.scss +359 -0
- data/_sass/uswds/src/components/_forms.scss +54 -0
- data/_sass/uswds/src/components/_graphic-list.scss +42 -0
- data/_sass/uswds/src/components/_header.scss +287 -0
- data/_sass/uswds/src/components/_hero.scss +32 -0
- data/_sass/uswds/src/components/_identifier.scss +146 -0
- data/_sass/uswds/src/components/_layout.scss +15 -0
- data/_sass/uswds/src/components/_media-block.scss +12 -0
- data/_sass/uswds/src/components/_megamenu.scss +45 -0
- data/_sass/uswds/src/components/_nav-container.scss +7 -0
- data/_sass/uswds/src/components/_navbar.scss +16 -0
- data/_sass/uswds/src/components/_navigation.scss +348 -0
- data/_sass/uswds/src/components/_search.scss +98 -0
- data/_sass/uswds/src/components/_section.scss +42 -0
- data/_sass/uswds/src/components/_sidenav.scss +19 -0
- data/_sass/uswds/src/components/_skipnav.scss +20 -0
- data/_sass/uswds/src/components/_step-indicator.scss +444 -0
- data/_sass/uswds/src/components/_tooltip.scss +114 -0
- data/_sass/uswds/{core → src/core}/_defaults.scss +1 -1
- data/_sass/uswds/src/core/_deprecated.scss +33 -0
- data/_sass/uswds/src/core/_functions.scss +1954 -0
- data/_sass/uswds/src/core/_notifications.scss +100 -0
- data/_sass/uswds/src/core/_properties.scss +699 -0
- data/_sass/uswds/src/core/_system-tokens.scss +1658 -0
- data/_sass/uswds/src/core/_variables.scss +636 -0
- data/_sass/uswds/src/core/mixins/_add-aspect.scss +17 -0
- data/_sass/uswds/src/core/mixins/_add-background-svg.scss +9 -0
- data/_sass/uswds/src/core/mixins/_add-bar.scss +43 -0
- data/_sass/uswds/src/core/mixins/_add-checkbox-placeholder.scss +15 -0
- data/_sass/uswds/src/core/mixins/_add-kerning.scss +4 -0
- data/_sass/uswds/src/core/mixins/_add-knockout-font-smoothing.scss +9 -0
- data/_sass/uswds/src/core/mixins/_add-link-styles.scss +20 -0
- data/_sass/uswds/src/core/mixins/_add-list-reset.scss +15 -0
- data/_sass/uswds/src/core/mixins/_add-responsive-site-margins.scss +6 -0
- data/_sass/uswds/src/core/mixins/_add-success-mark.scss +7 -0
- data/_sass/uswds/src/core/mixins/_all.scss +90 -0
- data/_sass/uswds/src/core/mixins/_at-media.scss +36 -0
- data/_sass/uswds/src/core/mixins/_border-box-sizing.scss +19 -0
- data/_sass/uswds/src/core/mixins/_button-disabled.scss +17 -0
- data/_sass/uswds/src/core/mixins/_button-unstyled.scss +20 -0
- data/_sass/uswds/src/core/mixins/_clearfix.scss +7 -0
- data/_sass/uswds/src/core/mixins/_embed-container.scss +3 -0
- data/_sass/uswds/src/core/mixins/_external-link.scss +21 -0
- data/_sass/uswds/src/core/mixins/_focus.scss +14 -0
- data/_sass/uswds/src/core/mixins/_font-face.scss +103 -0
- data/_sass/uswds/src/core/mixins/_icon.scss +183 -0
- data/_sass/uswds/src/core/mixins/_layout-grid.scss +128 -0
- data/_sass/uswds/src/core/mixins/_media-block-img.scss +4 -0
- data/_sass/uswds/{elements/_figure.scss → src/core/mixins/_media-link.scss} +0 -8
- data/_sass/uswds/src/core/mixins/_nav-list.scss +95 -0
- data/_sass/uswds/src/core/mixins/_override-prose.scss +6 -0
- data/_sass/uswds/src/core/mixins/_screen-reader.scss +23 -0
- data/_sass/uswds/src/core/mixins/_set-link-from-bg.scss +30 -0
- data/_sass/uswds/src/core/mixins/_set-text-from-bg.scss +28 -0
- data/_sass/uswds/src/core/mixins/_typography.scss +161 -0
- data/_sass/uswds/src/core/mixins/_unstyled-list.scss +11 -0
- data/_sass/uswds/src/core/mixins/_usa-list-styles.scss +10 -0
- data/_sass/uswds/src/core/mixins/_usa-table-styles.scss +8 -0
- data/_sass/uswds/src/core/mixins/_usa-typography.scss +54 -0
- data/_sass/uswds/src/core/mixins/_utility-builder.scss +369 -0
- data/_sass/uswds/src/core/mixins/layout-grid/_grid-container.scss +14 -0
- data/_sass/uswds/src/core/mixins/layout-grid/_grid-row.scss +7 -0
- data/_sass/uswds/src/core/mixins/utilities/_align-items.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_align-self.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_background-color.scss +9 -0
- data/_sass/uswds/src/core/mixins/utilities/_border-color.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_border-radius.scss +55 -0
- data/_sass/uswds/src/core/mixins/utilities/_border-width.scss +32 -0
- data/_sass/uswds/src/core/mixins/utilities/_border.scss +142 -0
- data/_sass/uswds/src/core/mixins/utilities/_bottom.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_circle.scss +9 -0
- data/_sass/uswds/src/core/mixins/utilities/_color.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_cursor.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_display.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_flex-direction.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_flex.scss +55 -0
- data/_sass/uswds/src/core/mixins/utilities/_float.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_font-weight.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_font.scss +42 -0
- data/_sass/uswds/src/core/mixins/utilities/_height.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_justify-content.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_left.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_line-height.scss +13 -0
- data/_sass/uswds/src/core/mixins/utilities/_margin.scss +85 -0
- data/_sass/uswds/src/core/mixins/utilities/_max-height.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_max-width.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_measure.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_min-height.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_min-width.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_order.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_outline-color.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_outline.scss +35 -0
- data/_sass/uswds/src/core/mixins/utilities/_overflow.scss +28 -0
- data/_sass/uswds/src/core/mixins/utilities/_padding.scss +49 -0
- data/_sass/uswds/src/core/mixins/utilities/_pin.scss +82 -0
- data/_sass/uswds/src/core/mixins/utilities/_position.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_right.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_shadow.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_square.scss +7 -0
- data/_sass/uswds/src/core/mixins/utilities/_text-align.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_text-decoration-color.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_text-decoration.scss +17 -0
- data/_sass/uswds/src/core/mixins/utilities/_text-indent.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_text.scss +77 -0
- data/_sass/uswds/src/core/mixins/utilities/_top.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_vertical-align.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_white-space.scss +10 -0
- data/_sass/uswds/src/core/mixins/utilities/_width.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_z-index.scss +10 -0
- data/_sass/uswds/src/core/placeholders/_all.scss +2 -0
- data/_sass/uswds/src/core/placeholders/_list.scss +23 -0
- data/_sass/uswds/src/core/placeholders/_table.scss +58 -0
- data/_sass/uswds/src/core/system-tokens/_blue-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_blue-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_blue.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_cyan.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_gold.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_gray-cool.scss +18 -0
- data/_sass/uswds/src/core/system-tokens/_gray-warm.scss +18 -0
- data/_sass/uswds/src/core/system-tokens/_gray.scss +19 -0
- data/_sass/uswds/src/core/system-tokens/_green-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_green-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_green.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_indigo-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_indigo-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_indigo.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_magenta.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_mint-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_mint.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_orange-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_orange.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_red-cool.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_red-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_red.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_violet-warm.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_violet.scss +26 -0
- data/_sass/uswds/src/core/system-tokens/_yellow.scss +26 -0
- data/_sass/uswds/src/elements/_buttons.scss +224 -0
- data/_sass/uswds/{elements → src/elements}/_embed.scss +0 -4
- data/_sass/uswds/src/elements/_figure.scss +7 -0
- data/_sass/uswds/src/elements/_layout-grid.scss +159 -0
- data/_sass/uswds/src/elements/_table.scss +7 -0
- data/_sass/uswds/src/elements/_tags.scss +18 -0
- data/_sass/uswds/src/elements/form-controls/_all.scss +11 -0
- data/_sass/uswds/src/elements/form-controls/_character-count.scss +9 -0
- data/_sass/uswds/src/elements/form-controls/_checkbox-and-radio.scss +117 -0
- data/_sass/uswds/src/elements/form-controls/_combo-box.scss +126 -0
- data/_sass/uswds/src/elements/form-controls/_date-input.scss +31 -0
- data/_sass/uswds/src/elements/form-controls/_date-picker.scss +325 -0
- data/_sass/uswds/src/elements/form-controls/_dropdown.scss +25 -0
- data/_sass/uswds/src/elements/form-controls/_file-input.scss +199 -0
- data/_sass/uswds/src/elements/form-controls/_global.scss +91 -0
- data/_sass/uswds/src/elements/form-controls/_range-input.scss +89 -0
- data/_sass/uswds/src/elements/form-controls/_text-input.scss +13 -0
- data/_sass/uswds/src/elements/form-controls/_time-picker.scss +3 -0
- data/_sass/uswds/src/elements/typography/_content.scss +62 -0
- data/_sass/uswds/src/elements/typography/_links.scss +15 -0
- data/_sass/uswds/src/elements/typography/_list.scss +14 -0
- data/_sass/uswds/src/elements/typography/_prose.scss +6 -0
- data/_sass/uswds/src/global/_focus.scss +24 -0
- data/_sass/uswds/src/global/_font-face.scss +11 -0
- data/_sass/uswds/src/global/_sizing.scss +14 -0
- data/_sass/uswds/src/global/_typography.scss +32 -0
- data/_sass/uswds/src/lib/_normalize.scss +349 -0
- data/_sass/uswds/src/packages/_form-controls.scss +4 -0
- data/_sass/uswds/src/packages/_form-templates.scss +8 -0
- data/_sass/uswds/src/packages/_global.scss +7 -0
- data/_sass/uswds/src/packages/_layout-grid.scss +4 -0
- data/_sass/uswds/src/packages/_required.scss +21 -0
- data/_sass/uswds/src/packages/_typography.scss +7 -0
- data/_sass/uswds/src/packages/_usa-accordion.scss +4 -0
- data/_sass/uswds/src/packages/_usa-alert.scss +4 -0
- data/_sass/uswds/src/packages/_usa-banner.scss +7 -0
- data/_sass/uswds/src/packages/_usa-breadcrumb.scss +4 -0
- data/_sass/uswds/src/packages/_usa-button-group.scss +2 -0
- data/_sass/uswds/src/packages/_usa-button.scss +4 -0
- data/_sass/uswds/src/packages/_usa-card.scss +4 -0
- data/_sass/uswds/src/packages/_usa-checklist.scss +4 -0
- data/_sass/uswds/src/packages/_usa-footer.scss +10 -0
- data/_sass/uswds/src/packages/_usa-header.scss +13 -0
- data/_sass/uswds/src/packages/_usa-hero.scss +6 -0
- data/_sass/uswds/src/packages/_usa-identifier.scss +1 -0
- data/_sass/uswds/src/packages/_usa-media-block.scss +5 -0
- data/_sass/uswds/src/packages/_usa-megamenu.scss +4 -0
- data/_sass/uswds/src/packages/_usa-nav-container.scss +4 -0
- data/_sass/uswds/src/packages/_usa-nav.scss +5 -0
- data/_sass/uswds/src/packages/_usa-navbar.scss +4 -0
- data/_sass/uswds/src/packages/_usa-search.scss +8 -0
- data/_sass/uswds/src/packages/_usa-sidenav.scss +4 -0
- data/_sass/uswds/src/packages/_usa-skipnav.scss +4 -0
- data/_sass/uswds/src/packages/_usa-step-indicator.scss +2 -0
- data/_sass/uswds/src/packages/_usa-table.scss +4 -0
- data/_sass/uswds/src/packages/_usa-tag.scss +4 -0
- data/_sass/uswds/src/packages/_usa-tooltip.scss +2 -0
- data/_sass/uswds/src/packages/_uswds-components.scss +48 -0
- data/_sass/uswds/src/packages/_uswds-fonts.scss +2 -0
- data/_sass/uswds/src/packages/_uswds-utilities.scss +6 -0
- data/_sass/uswds/src/packages/_validation.scss +8 -0
- data/_sass/uswds/src/settings/_settings-color.scss +138 -0
- data/_sass/uswds/src/settings/_settings-components.scss +129 -0
- data/_sass/uswds/src/settings/_settings-general.scss +101 -0
- data/_sass/uswds/src/settings/_settings-spacing.scss +93 -0
- data/_sass/uswds/src/settings/_settings-typography.scss +422 -0
- data/_sass/uswds/src/settings/_settings-utilities.scss +867 -0
- data/_sass/uswds/src/theme/_uswds-theme-color.scss +136 -0
- data/_sass/uswds/src/theme/_uswds-theme-components.scss +129 -0
- data/_sass/uswds/src/theme/_uswds-theme-custom-styles.scss +21 -0
- data/_sass/uswds/src/theme/_uswds-theme-general.scss +101 -0
- data/_sass/uswds/src/theme/_uswds-theme-spacing.scss +93 -0
- data/_sass/uswds/src/theme/_uswds-theme-typography.scss +422 -0
- data/_sass/uswds/src/theme/_uswds-theme-utilities.scss +867 -0
- data/_sass/uswds/src/theme/styles.scss +76 -0
- data/_sass/uswds/src/uswds.scss +17 -0
- data/_sass/uswds/src/utilities/palettes/_all.scss +41 -0
- data/_sass/uswds/src/utilities/palettes/_default-palettes.scss +73 -0
- data/_sass/uswds/src/utilities/palettes/_font-palettes.scss +2762 -0
- data/_sass/uswds/src/utilities/palettes/_palette-registry.scss +46 -0
- data/_sass/uswds/src/utilities/palettes/_spacing-palettes.scss +135 -0
- data/_sass/uswds/src/utilities/palettes/colors/_all-colors-palettes.scss +56 -0
- data/_sass/uswds/src/utilities/palettes/colors/_black-transparent-palettes.scss +16 -0
- data/_sass/uswds/src/utilities/palettes/colors/_blue-cool-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_blue-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_blue-warm-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_cyan-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_gold-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_gray-cool-palettes.scss +40 -0
- data/_sass/uswds/src/utilities/palettes/colors/_gray-palettes.scss +40 -0
- data/_sass/uswds/src/utilities/palettes/colors/_gray-warm-palettes.scss +40 -0
- data/_sass/uswds/src/utilities/palettes/colors/_green-cool-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_green-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_green-warm-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_indigo-cool-palettes.scss +70 -0
- data/_sass/uswds/src/utilities/palettes/colors/_indigo-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_indigo-warm-palettes.scss +70 -0
- data/_sass/uswds/src/utilities/palettes/colors/_magenta-palettes.scss +67 -0
- data/_sass/uswds/src/utilities/palettes/colors/_mint-cool-palettes.scss +69 -0
- data/_sass/uswds/src/utilities/palettes/colors/_mint-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_orange-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_orange-warm-palettes.scss +70 -0
- data/_sass/uswds/src/utilities/palettes/colors/_red-cool-palettes.scss +68 -0
- data/_sass/uswds/src/utilities/palettes/colors/_red-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_red-warm-palettes.scss +68 -0
- data/_sass/uswds/src/utilities/palettes/colors/_violet-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/palettes/colors/_violet-warm-palettes.scss +70 -0
- data/_sass/uswds/src/utilities/palettes/colors/_white-transparent-palettes.scss +16 -0
- data/_sass/uswds/src/utilities/palettes/colors/_yellow-palettes.scss +66 -0
- data/_sass/uswds/src/utilities/rules/_all.scss +57 -0
- data/_sass/uswds/src/utilities/rules/_package.scss +62 -0
- data/_sass/uswds/src/utilities/rules/add-aspect.scss +84 -0
- data/_sass/uswds/src/utilities/rules/add-list-reset.scss +39 -0
- data/_sass/uswds/src/utilities/rules/align-items.scss +30 -0
- data/_sass/uswds/src/utilities/rules/align-self.scss +27 -0
- data/_sass/uswds/src/utilities/rules/background-color.scss +32 -0
- data/_sass/uswds/src/utilities/rules/border-color.scss +32 -0
- data/_sass/uswds/src/utilities/rules/border-radius.scss +51 -0
- data/_sass/uswds/src/utilities/rules/border-style.scss +30 -0
- data/_sass/uswds/src/utilities/rules/border-width.scss +44 -0
- data/_sass/uswds/src/utilities/rules/border.scss +47 -0
- data/_sass/uswds/src/utilities/rules/bottom.scss +28 -0
- data/_sass/uswds/src/utilities/rules/box-shadow.scss +27 -0
- data/_sass/uswds/src/utilities/rules/circle.scss +35 -0
- data/_sass/uswds/src/utilities/rules/clearfix.scss +35 -0
- data/_sass/uswds/src/utilities/rules/color.scss +32 -0
- data/_sass/uswds/src/utilities/rules/cursor.scss +26 -0
- data/_sass/uswds/src/utilities/rules/display.scss +26 -0
- data/_sass/uswds/src/utilities/rules/flex-direction.scss +30 -0
- data/_sass/uswds/src/utilities/rules/flex-wrap.scss +27 -0
- data/_sass/uswds/src/utilities/rules/flex.scss +32 -0
- data/_sass/uswds/src/utilities/rules/float.scss +26 -0
- data/_sass/uswds/src/utilities/rules/font-family.scss +38 -0
- data/_sass/uswds/src/utilities/rules/font-feature.scss +31 -0
- data/_sass/uswds/src/utilities/rules/font-style.scss +29 -0
- data/_sass/uswds/src/utilities/rules/font-weight.scss +30 -0
- data/_sass/uswds/src/utilities/rules/font.scss +38 -0
- data/_sass/uswds/src/utilities/rules/height.scss +26 -0
- data/_sass/uswds/src/utilities/rules/justify-content.scss +32 -0
- data/_sass/uswds/src/utilities/rules/left.scss +28 -0
- data/_sass/uswds/src/utilities/rules/letter-spacing.scss +30 -0
- data/_sass/uswds/src/utilities/rules/line-height.scss +30 -0
- data/_sass/uswds/src/utilities/rules/margin.scss +70 -0
- data/_sass/uswds/src/utilities/rules/max-height.scss +27 -0
- data/_sass/uswds/src/utilities/rules/max-width.scss +27 -0
- data/_sass/uswds/src/utilities/rules/measure.scss +28 -0
- data/_sass/uswds/src/utilities/rules/min-height.scss +27 -0
- data/_sass/uswds/src/utilities/rules/min-width.scss +27 -0
- data/_sass/uswds/src/utilities/rules/opacity.scss +26 -0
- data/_sass/uswds/src/utilities/rules/order.scss +29 -0
- data/_sass/uswds/src/utilities/rules/outline-color.scss +33 -0
- data/_sass/uswds/src/utilities/rules/outline.scss +30 -0
- data/_sass/uswds/src/utilities/rules/overflow.scss +31 -0
- data/_sass/uswds/src/utilities/rules/padding.scss +43 -0
- data/_sass/uswds/src/utilities/rules/pin.scss +101 -0
- data/_sass/uswds/src/utilities/rules/position.scss +27 -0
- data/_sass/uswds/src/utilities/rules/right.scss +28 -0
- data/_sass/uswds/src/utilities/rules/square.scss +33 -0
- data/_sass/uswds/src/utilities/rules/text-align.scss +27 -0
- data/_sass/uswds/src/utilities/rules/text-decoration-color.scss +31 -0
- data/_sass/uswds/src/utilities/rules/text-decoration.scss +30 -0
- data/_sass/uswds/src/utilities/rules/text-indent.scss +30 -0
- data/_sass/uswds/src/utilities/rules/text-transform.scss +30 -0
- data/_sass/uswds/src/utilities/rules/top.scss +28 -0
- data/_sass/uswds/src/utilities/rules/vertical-align.scss +30 -0
- data/_sass/uswds/src/utilities/rules/whitespace.scss +27 -0
- data/_sass/uswds/src/utilities/rules/width.scss +26 -0
- data/_sass/uswds/src/utilities/rules/z-index.scss +28 -0
- data/_sass/uswds/src/utilities/utility-fonts.scss +20 -0
- data/assets/css/uswds-theme.scss +187 -0
- data/assets/img/project-images/project-placeholder.png +0 -0
- data/assets/img/team-images/team-placeholder.png +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Black.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BlackItalic.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-BoldItalic.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Light.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-LightItalic.woff2 +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.ttf +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff +0 -0
- data/assets/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Black.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Black.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Black.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BlackItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Bold.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Bold.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-BoldItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBold.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraBoldItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLight.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ExtraLightItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Italic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Italic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Light.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Light.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Light.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-LightItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Medium.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Medium.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-MediumItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Regular.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Regular.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBold.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-SemiBoldItalic.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Thin.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-Thin.woff2 +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.ttf +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff +0 -0
- data/assets/uswds/fonts/public-sans/PublicSans-ThinItalic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-100italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-300italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-500italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-700italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-italic.woff2 +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.ttf +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff +0 -0
- data/assets/uswds/fonts/roboto-mono/roboto-mono-v5-latin-regular.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-black-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-blackitalic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralight-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-extralightitalic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibold-webfont.woff2 +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.ttf +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff +0 -0
- data/assets/uswds/fonts/source-sans-pro/sourcesanspro-semibolditalic-webfont.woff2 +0 -0
- data/assets/uswds/img/alerts/error.svg +4 -17
- data/assets/uswds/img/alerts/info.svg +4 -18
- data/assets/uswds/img/alerts/success.svg +1 -12
- data/assets/uswds/img/alerts/warning.svg +4 -16
- data/assets/uswds/img/angle-arrow-down-gray-90.svg +1 -0
- data/assets/uswds/img/angle-arrow-down-hover.svg +1 -1
- data/assets/uswds/img/angle-arrow-down-primary-hover.svg +1 -1
- data/assets/uswds/img/angle-arrow-down-primary.svg +1 -1
- data/assets/uswds/img/angle-arrow-down-white.svg +1 -0
- data/assets/uswds/img/angle-arrow-down.svg +1 -1
- data/assets/uswds/img/angle-arrow-right-white.svg +1 -0
- data/assets/uswds/img/angle-arrow-right.svg +1 -0
- data/assets/uswds/img/angle-arrow-up-primary-hover.svg +1 -1
- data/assets/uswds/img/angle-arrow-up-primary.svg +1 -1
- data/assets/uswds/img/angle-arrow-up-white.svg +1 -0
- data/assets/uswds/img/angle-double-left-solid.svg +1 -0
- data/assets/uswds/img/angle-double-right-solid.svg +1 -0
- data/assets/uswds/img/angle-left-solid.svg +1 -0
- data/assets/uswds/img/angle-right-solid.svg +1 -0
- data/assets/uswds/img/arrow-both.svg +1 -1
- data/assets/uswds/img/arrow-down-gray-60.svg +1 -0
- data/assets/uswds/img/arrow-down.svg +1 -1
- data/assets/uswds/img/arrow-left-indigo-cool-50v.svg +1 -0
- data/assets/uswds/img/arrow-left-white.svg +1 -0
- data/assets/uswds/img/arrow-left.svg +1 -0
- data/assets/uswds/img/arrow-right.svg +1 -1
- data/assets/uswds/img/calendar-alt-solid.svg +1 -0
- data/assets/uswds/img/checkbox-check-print.svg +1 -0
- data/assets/uswds/img/chevron-right-white.svg +1 -0
- data/assets/uswds/img/chevron-right.svg +1 -0
- data/assets/uswds/img/chevron-white.svg +1 -0
- data/assets/uswds/img/chevron.svg +1 -0
- data/assets/uswds/img/circle-124.png +0 -0
- data/assets/uswds/img/circle-gray-20.svg +1 -0
- data/assets/uswds/img/close-alt-blue-60v.svg +3 -0
- data/assets/uswds/img/close-alt.svg +3 -0
- data/assets/uswds/img/close-blue-30-alt.svg +3 -0
- data/assets/uswds/img/close-blue-40v-alt.svg +3 -0
- data/assets/uswds/img/close-blue-50-alt.svg +3 -0
- data/assets/uswds/img/close-blue-50v-alt.svg +3 -0
- data/assets/uswds/img/close-blue-60-alt.svg +3 -0
- data/assets/uswds/img/close-blue-60v-alt.svg +3 -0
- data/assets/uswds/img/close-gray-60.svg +1 -0
- data/assets/uswds/img/close-gray-90-alt.svg +3 -0
- data/assets/uswds/img/close-primary.svg +1 -16
- data/assets/uswds/img/close-white-alt.svg +3 -0
- data/assets/uswds/img/close-white.svg +3 -0
- data/assets/uswds/img/close.svg +1 -12
- data/assets/uswds/img/correct8-alt.png +0 -0
- data/assets/uswds/img/correct8-alt.svg +1 -0
- data/assets/uswds/img/correct8.svg +1 -1
- data/assets/uswds/img/correct9.svg +1 -1
- data/assets/uswds/img/external-link-alt-hover.svg +1 -1
- data/assets/uswds/img/external-link-alt.svg +1 -1
- data/assets/uswds/img/external-link-hover.svg +1 -1
- data/assets/uswds/img/external-link.svg +1 -1
- data/assets/uswds/img/favicons/favicon-114.png +0 -0
- data/assets/uswds/img/favicons/favicon-144.png +0 -0
- data/assets/uswds/img/favicons/favicon-16.png +0 -0
- data/assets/uswds/img/favicons/favicon-192.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/favicons/favicon-72.png +0 -0
- data/assets/uswds/img/favicons/favicon.ico +0 -0
- data/assets/uswds/img/favicons/favicon.png +0 -0
- data/assets/uswds/img/file-excel.svg +1 -0
- data/assets/uswds/img/file-pdf.svg +1 -0
- data/assets/uswds/img/file-video.svg +1 -0
- data/assets/uswds/img/file-word.svg +1 -0
- data/assets/uswds/img/file.svg +1 -0
- data/assets/uswds/img/hero.png +0 -0
- data/assets/uswds/img/icon-dot-gov.svg +1 -1
- data/assets/uswds/img/icon-https.svg +1 -1
- data/assets/uswds/img/loader.gif +0 -0
- data/assets/uswds/img/loader.svg +1 -0
- data/assets/uswds/img/lock.svg +1 -0
- data/assets/uswds/img/minus-alt.svg +1 -1
- data/assets/uswds/img/minus.svg +1 -1
- data/assets/uswds/img/plus-alt.svg +1 -1
- data/assets/uswds/img/plus.svg +1 -1
- data/assets/uswds/img/search-alt.svg +1 -1
- data/assets/uswds/img/search-primary.svg +1 -12
- data/assets/uswds/img/search.svg +1 -1
- data/assets/uswds/img/social-icons/facebook25.png +0 -0
- data/assets/uswds/img/social-icons/{svg/facebook25.svg → facebook25.svg} +1 -1
- data/assets/uswds/img/social-icons/rss25.png +0 -0
- data/assets/uswds/img/social-icons/{svg/rss25.svg → rss25.svg} +1 -1
- data/assets/uswds/img/social-icons/twitter16.png +0 -0
- data/assets/uswds/img/social-icons/{svg/twitter16.svg → twitter16.svg} +1 -1
- data/assets/uswds/img/social-icons/youtube15.png +0 -0
- data/assets/uswds/img/social-icons/{svg/youtube15.svg → youtube15.svg} +1 -1
- data/assets/uswds/js/uswds.js +5128 -902
- data/assets/uswds/js/uswds.min.js +1 -1
- data/assets/uswds/js/uswds.min.js.map +1 -1
- metadata +570 -226
- data/_includes/components/footer--medium.html +0 -100
- data/_includes/components/header--basic.html +0 -74
- data/_includes/components/header--extended.html +0 -92
- data/_sass/components/_all.scss +0 -7
- data/_sass/components/_footer.scss +0 -26
- data/_sass/components/_header.scss +0 -27
- data/_sass/components/_hero.scss +0 -45
- data/_sass/components/_side-nav.scss +0 -56
- data/_sass/components/_site-width.scss +0 -12
- data/_sass/components/_top-nav.scss +0 -73
- data/_sass/components/_usa-banner.scss +0 -29
- data/_sass/uswds/_all.scss +0 -1
- data/_sass/uswds/components/_accordions.scss +0 -150
- data/_sass/uswds/components/_alerts.scss +0 -125
- data/_sass/uswds/components/_banner.scss +0 -204
- data/_sass/uswds/components/_forms.scss +0 -164
- data/_sass/uswds/components/_graphic-list.scss +0 -35
- data/_sass/uswds/components/_layout.scss +0 -36
- data/_sass/uswds/components/_media-block.scss +0 -12
- data/_sass/uswds/components/_navigation.scss +0 -549
- data/_sass/uswds/components/_search.scss +0 -111
- data/_sass/uswds/components/_section.scss +0 -37
- data/_sass/uswds/components/_sidenav.scss +0 -8
- data/_sass/uswds/components/_skipnav.scss +0 -19
- data/_sass/uswds/core/_base.scss +0 -35
- data/_sass/uswds/core/_fonts.scss +0 -65
- data/_sass/uswds/core/_grid-settings.scss +0 -3
- data/_sass/uswds/core/_grid.scss +0 -199
- data/_sass/uswds/core/_utilities.scss +0 -252
- data/_sass/uswds/core/_variables.scss +0 -155
- data/_sass/uswds/elements/_buttons.scss +0 -217
- data/_sass/uswds/elements/_inputs.scss +0 -351
- data/_sass/uswds/elements/_labels.scss +0 -20
- data/_sass/uswds/elements/_list.scss +0 -32
- data/_sass/uswds/elements/_table.scss +0 -55
- data/_sass/uswds/elements/_typography.scss +0 -260
- data/_sass/uswds/lib/_bourbon-deprecated-upcoming.scss +0 -411
- data/_sass/uswds/lib/_bourbon.scss +0 -87
- data/_sass/uswds/lib/_neat-helpers.scss +0 -11
- data/_sass/uswds/lib/_neat.scss +0 -23
- data/_sass/uswds/lib/_normalize.scss +0 -424
- data/_sass/uswds/lib/addons/_border-color.scss +0 -26
- data/_sass/uswds/lib/addons/_border-radius.scss +0 -48
- data/_sass/uswds/lib/addons/_border-style.scss +0 -25
- data/_sass/uswds/lib/addons/_border-width.scss +0 -25
- data/_sass/uswds/lib/addons/_buttons.scss +0 -64
- data/_sass/uswds/lib/addons/_clearfix.scss +0 -25
- data/_sass/uswds/lib/addons/_ellipsis.scss +0 -30
- data/_sass/uswds/lib/addons/_font-stacks.scss +0 -31
- data/_sass/uswds/lib/addons/_hide-text.scss +0 -27
- data/_sass/uswds/lib/addons/_margin.scss +0 -26
- data/_sass/uswds/lib/addons/_padding.scss +0 -26
- data/_sass/uswds/lib/addons/_position.scss +0 -48
- data/_sass/uswds/lib/addons/_prefixer.scss +0 -66
- data/_sass/uswds/lib/addons/_retina-image.scss +0 -25
- data/_sass/uswds/lib/addons/_size.scss +0 -51
- data/_sass/uswds/lib/addons/_text-inputs.scss +0 -113
- data/_sass/uswds/lib/addons/_timing-functions.scss +0 -34
- data/_sass/uswds/lib/addons/_triangle.scss +0 -63
- data/_sass/uswds/lib/addons/_word-wrap.scss +0 -29
- data/_sass/uswds/lib/css3/_animation.scss +0 -43
- data/_sass/uswds/lib/css3/_appearance.scss +0 -3
- data/_sass/uswds/lib/css3/_backface-visibility.scss +0 -3
- data/_sass/uswds/lib/css3/_background-image.scss +0 -42
- data/_sass/uswds/lib/css3/_background.scss +0 -55
- data/_sass/uswds/lib/css3/_border-image.scss +0 -59
- data/_sass/uswds/lib/css3/_calc.scss +0 -4
- data/_sass/uswds/lib/css3/_columns.scss +0 -47
- data/_sass/uswds/lib/css3/_filter.scss +0 -4
- data/_sass/uswds/lib/css3/_flex-box.scss +0 -287
- data/_sass/uswds/lib/css3/_font-face.scss +0 -24
- data/_sass/uswds/lib/css3/_font-feature-settings.scss +0 -4
- data/_sass/uswds/lib/css3/_hidpi-media-query.scss +0 -10
- data/_sass/uswds/lib/css3/_hyphens.scss +0 -4
- data/_sass/uswds/lib/css3/_image-rendering.scss +0 -14
- data/_sass/uswds/lib/css3/_keyframes.scss +0 -36
- data/_sass/uswds/lib/css3/_linear-gradient.scss +0 -38
- data/_sass/uswds/lib/css3/_perspective.scss +0 -8
- data/_sass/uswds/lib/css3/_placeholder.scss +0 -8
- data/_sass/uswds/lib/css3/_radial-gradient.scss +0 -39
- data/_sass/uswds/lib/css3/_selection.scss +0 -42
- data/_sass/uswds/lib/css3/_text-decoration.scss +0 -19
- data/_sass/uswds/lib/css3/_transform.scss +0 -15
- data/_sass/uswds/lib/css3/_transition.scss +0 -71
- data/_sass/uswds/lib/css3/_user-select.scss +0 -3
- data/_sass/uswds/lib/functions/_assign-inputs.scss +0 -11
- data/_sass/uswds/lib/functions/_contains-falsy.scss +0 -20
- data/_sass/uswds/lib/functions/_contains.scss +0 -26
- data/_sass/uswds/lib/functions/_is-length.scss +0 -11
- data/_sass/uswds/lib/functions/_is-light.scss +0 -21
- data/_sass/uswds/lib/functions/_is-number.scss +0 -11
- data/_sass/uswds/lib/functions/_is-size.scss +0 -13
- data/_sass/uswds/lib/functions/_modular-scale.scss +0 -69
- data/_sass/uswds/lib/functions/_new-breakpoint.scss +0 -49
- data/_sass/uswds/lib/functions/_private.scss +0 -114
- data/_sass/uswds/lib/functions/_px-to-em.scss +0 -13
- data/_sass/uswds/lib/functions/_px-to-rem.scss +0 -15
- data/_sass/uswds/lib/functions/_shade.scss +0 -24
- data/_sass/uswds/lib/functions/_strip-units.scss +0 -17
- data/_sass/uswds/lib/functions/_tint.scss +0 -24
- data/_sass/uswds/lib/functions/_transition-property-name.scss +0 -22
- data/_sass/uswds/lib/functions/_unpack.scss +0 -27
- data/_sass/uswds/lib/grid/_box-sizing.scss +0 -15
- data/_sass/uswds/lib/grid/_direction-context.scss +0 -33
- data/_sass/uswds/lib/grid/_display-context.scss +0 -28
- data/_sass/uswds/lib/grid/_fill-parent.scss +0 -22
- data/_sass/uswds/lib/grid/_media.scss +0 -92
- data/_sass/uswds/lib/grid/_omega.scss +0 -87
- data/_sass/uswds/lib/grid/_outer-container.scss +0 -34
- data/_sass/uswds/lib/grid/_pad.scss +0 -25
- data/_sass/uswds/lib/grid/_private.scss +0 -35
- data/_sass/uswds/lib/grid/_row.scss +0 -52
- data/_sass/uswds/lib/grid/_shift.scss +0 -50
- data/_sass/uswds/lib/grid/_span-columns.scss +0 -94
- data/_sass/uswds/lib/grid/_to-deprecate.scss +0 -97
- data/_sass/uswds/lib/grid/_visual-grid.scss +0 -42
- data/_sass/uswds/lib/helpers/_convert-units.scss +0 -21
- data/_sass/uswds/lib/helpers/_directional-values.scss +0 -96
- data/_sass/uswds/lib/helpers/_font-source-declaration.scss +0 -43
- data/_sass/uswds/lib/helpers/_gradient-positions-parser.scss +0 -13
- data/_sass/uswds/lib/helpers/_linear-angle-parser.scss +0 -25
- data/_sass/uswds/lib/helpers/_linear-gradient-parser.scss +0 -41
- data/_sass/uswds/lib/helpers/_linear-positions-parser.scss +0 -61
- data/_sass/uswds/lib/helpers/_linear-side-corner-parser.scss +0 -31
- data/_sass/uswds/lib/helpers/_radial-arg-parser.scss +0 -69
- data/_sass/uswds/lib/helpers/_radial-gradient-parser.scss +0 -50
- data/_sass/uswds/lib/helpers/_radial-positions-parser.scss +0 -18
- data/_sass/uswds/lib/helpers/_render-gradients.scss +0 -26
- data/_sass/uswds/lib/helpers/_shape-size-stripper.scss +0 -10
- data/_sass/uswds/lib/helpers/_str-to-num.scss +0 -50
- data/_sass/uswds/lib/mixins/_clearfix.scss +0 -25
- data/_sass/uswds/lib/settings/_asset-pipeline.scss +0 -7
- data/_sass/uswds/lib/settings/_disable-warnings.scss +0 -13
- data/_sass/uswds/lib/settings/_grid.scss +0 -51
- data/_sass/uswds/lib/settings/_prefixer.scss +0 -9
- data/_sass/uswds/lib/settings/_px-to-em.scss +0 -1
- data/_sass/uswds/lib/settings/_visual-grid.scss +0 -27
- data/_sass/uswds/uswds.scss +0 -41
- data/assets/css/main.scss +0 -93
- data/assets/uswds/fonts/merriweather-bold-webfont.eot +0 -0
- data/assets/uswds/fonts/merriweather-bold-webfont.ttf +0 -0
- data/assets/uswds/fonts/merriweather-bold-webfont.woff +0 -0
- data/assets/uswds/fonts/merriweather-bold-webfont.woff2 +0 -0
- data/assets/uswds/fonts/merriweather-italic-webfont.eot +0 -0
- data/assets/uswds/fonts/merriweather-italic-webfont.ttf +0 -0
- data/assets/uswds/fonts/merriweather-italic-webfont.woff +0 -0
- data/assets/uswds/fonts/merriweather-italic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/merriweather-light-webfont.eot +0 -0
- data/assets/uswds/fonts/merriweather-light-webfont.ttf +0 -0
- data/assets/uswds/fonts/merriweather-light-webfont.woff +0 -0
- data/assets/uswds/fonts/merriweather-light-webfont.woff2 +0 -0
- data/assets/uswds/fonts/merriweather-regular-webfont.eot +0 -0
- data/assets/uswds/fonts/merriweather-regular-webfont.ttf +0 -0
- data/assets/uswds/fonts/merriweather-regular-webfont.woff +0 -0
- data/assets/uswds/fonts/merriweather-regular-webfont.woff2 +0 -0
- data/assets/uswds/fonts/sourcesanspro-bold-webfont.eot +0 -0
- data/assets/uswds/fonts/sourcesanspro-bold-webfont.ttf +0 -0
- data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff +0 -0
- data/assets/uswds/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
- data/assets/uswds/fonts/sourcesanspro-italic-webfont.eot +0 -0
- data/assets/uswds/fonts/sourcesanspro-italic-webfont.ttf +0 -0
- data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff +0 -0
- data/assets/uswds/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
- data/assets/uswds/fonts/sourcesanspro-light-webfont.eot +0 -0
- data/assets/uswds/fonts/sourcesanspro-light-webfont.ttf +0 -0
- data/assets/uswds/fonts/sourcesanspro-light-webfont.woff +0 -0
- data/assets/uswds/fonts/sourcesanspro-light-webfont.woff2 +0 -0
- data/assets/uswds/fonts/sourcesanspro-regular-webfont.eot +0 -0
- data/assets/uswds/fonts/sourcesanspro-regular-webfont.ttf +0 -0
- data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff +0 -0
- data/assets/uswds/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
- data/assets/uswds/img/alerts/error.png +0 -0
- data/assets/uswds/img/alerts/info.png +0 -0
- data/assets/uswds/img/alerts/success.png +0 -0
- data/assets/uswds/img/alerts/warning.png +0 -0
- 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/arrow-down.png +0 -0
- data/assets/uswds/img/arrow-right.png +0 -0
- data/assets/uswds/img/close-primary.png +0 -0
- data/assets/uswds/img/close.png +0 -0
- data/assets/uswds/img/correct8.png +0 -0
- data/assets/uswds/img/correct9.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/minus-alt.png +0 -0
- data/assets/uswds/img/minus.png +0 -0
- data/assets/uswds/img/plus-alt.png +0 -0
- data/assets/uswds/img/plus.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/search.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
@@ -0,0 +1,30 @@
|
|
1
|
+
@mixin set-link-from-bg(
|
2
|
+
$bg-color,
|
3
|
+
$preferred-link-color: $theme-link-color,
|
4
|
+
$fallback-link-color: $theme-link-reverse-color,
|
5
|
+
$wcag-target: "AA"
|
6
|
+
) {
|
7
|
+
$link-tokens: get-link-tokens-from-bg(
|
8
|
+
$bg-color,
|
9
|
+
$preferred-link-color,
|
10
|
+
$fallback-link-color,
|
11
|
+
$wcag-target
|
12
|
+
);
|
13
|
+
|
14
|
+
$link-token: nth($link-tokens, 1);
|
15
|
+
$hover-token: nth($link-tokens, 2);
|
16
|
+
$visited-token: if(
|
17
|
+
abs(get-color-grade($theme-link-visited-color) - get-color-grade($bg-color))
|
18
|
+
< 50,
|
19
|
+
$link-token,
|
20
|
+
$theme-link-visited-color
|
21
|
+
);
|
22
|
+
color: color($link-token);
|
23
|
+
&:visited {
|
24
|
+
color: color($visited-token);
|
25
|
+
}
|
26
|
+
&:hover,
|
27
|
+
&:active {
|
28
|
+
color: color($hover-token);
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
@mixin set-text-from-bg(
|
2
|
+
$bg-color,
|
3
|
+
$preferred-text-color: "white",
|
4
|
+
$fallback-text-color: "ink",
|
5
|
+
$wcag-target: "AA"
|
6
|
+
) {
|
7
|
+
color: get-color-from-bg(
|
8
|
+
$bg-color,
|
9
|
+
$preferred-text-color,
|
10
|
+
$fallback-text-color,
|
11
|
+
$wcag-target
|
12
|
+
);
|
13
|
+
}
|
14
|
+
|
15
|
+
@mixin set-text-and-bg(
|
16
|
+
$bg-color,
|
17
|
+
$preferred-text-color: "white",
|
18
|
+
$fallback-text-color: "ink",
|
19
|
+
$wcag-target: "AA"
|
20
|
+
) {
|
21
|
+
@include set-text-from-bg(
|
22
|
+
$bg-color,
|
23
|
+
$preferred-text-color,
|
24
|
+
$fallback-text-color,
|
25
|
+
$wcag-target
|
26
|
+
);
|
27
|
+
background-color: color($bg-color);
|
28
|
+
}
|
@@ -0,0 +1,161 @@
|
|
1
|
+
/*
|
2
|
+
----------------------------------------
|
3
|
+
typeset()
|
4
|
+
----------------------------------------
|
5
|
+
Sets:
|
6
|
+
- family
|
7
|
+
- size
|
8
|
+
- line-height
|
9
|
+
----------------------------------------
|
10
|
+
*/
|
11
|
+
|
12
|
+
@mixin typeset(
|
13
|
+
$family: $theme-body-font-family,
|
14
|
+
$scale: $theme-body-font-size,
|
15
|
+
$line-height: $theme-body-line-height
|
16
|
+
) {
|
17
|
+
@if type-of($family) == "list" {
|
18
|
+
$list: $family;
|
19
|
+
$family: if(nth($list, 1), nth($list, 1), null);
|
20
|
+
$scale: if(nth($list, 2), nth($list, 2), null);
|
21
|
+
$line-height: if(nth($list, 3), nth($list, 3), null);
|
22
|
+
}
|
23
|
+
$family: if($family == null, $theme-body-font-family, $family);
|
24
|
+
$scale: if($scale == null, $theme-body-font-size, $scale);
|
25
|
+
$line-height: if($line-height == null, $theme-body-line-height, $line-height);
|
26
|
+
@include u-font($family, $scale);
|
27
|
+
@include u-line-height($family, $line-height);
|
28
|
+
}
|
29
|
+
|
30
|
+
@mixin typeset-heading {
|
31
|
+
@include u-margin-y(0);
|
32
|
+
clear: both;
|
33
|
+
|
34
|
+
* + & {
|
35
|
+
margin-top: 1.5em; // TODO: add as var to settings?
|
36
|
+
}
|
37
|
+
|
38
|
+
+ * {
|
39
|
+
margin-top: 1em;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
// typeset element mixins
|
44
|
+
@mixin typeset-p {
|
45
|
+
line-height: line-height($theme-body-font-family, $theme-body-line-height);
|
46
|
+
margin-bottom: 0;
|
47
|
+
margin-top: 0;
|
48
|
+
max-width: measure($theme-text-measure);
|
49
|
+
|
50
|
+
* + & {
|
51
|
+
margin-top: 1em; // TODO: add as var to settings?
|
52
|
+
}
|
53
|
+
|
54
|
+
+ * {
|
55
|
+
margin-top: 1em;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
@mixin typeset-link {
|
60
|
+
color: color($theme-link-color);
|
61
|
+
text-decoration: underline;
|
62
|
+
|
63
|
+
&:hover {
|
64
|
+
color: color($theme-link-hover-color);
|
65
|
+
}
|
66
|
+
|
67
|
+
&:active {
|
68
|
+
color: color($theme-link-active-color);
|
69
|
+
}
|
70
|
+
|
71
|
+
&:focus {
|
72
|
+
@include focus-outline;
|
73
|
+
}
|
74
|
+
|
75
|
+
&:visited {
|
76
|
+
color: color($theme-link-visited-color);
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
@mixin display {
|
81
|
+
@include typeset(
|
82
|
+
"heading",
|
83
|
+
$theme-display-font-size,
|
84
|
+
$theme-heading-line-height
|
85
|
+
);
|
86
|
+
|
87
|
+
font-weight: fw("bold");
|
88
|
+
}
|
89
|
+
|
90
|
+
@mixin typeset-display {
|
91
|
+
@include typeset-heading;
|
92
|
+
@include display;
|
93
|
+
}
|
94
|
+
|
95
|
+
@mixin h1 {
|
96
|
+
@include typeset("heading", $theme-h1-font-size, $theme-heading-line-height);
|
97
|
+
|
98
|
+
font-weight: fw("bold");
|
99
|
+
}
|
100
|
+
|
101
|
+
@mixin typeset-h1 {
|
102
|
+
@include typeset-heading;
|
103
|
+
@include h1;
|
104
|
+
}
|
105
|
+
|
106
|
+
@mixin h2 {
|
107
|
+
@include typeset("heading", $theme-h2-font-size, $theme-heading-line-height);
|
108
|
+
|
109
|
+
font-weight: fw("bold");
|
110
|
+
}
|
111
|
+
|
112
|
+
@mixin typeset-h2 {
|
113
|
+
@include typeset-heading;
|
114
|
+
@include h2;
|
115
|
+
}
|
116
|
+
|
117
|
+
@mixin h3 {
|
118
|
+
@include typeset("heading", $theme-h3-font-size, $theme-heading-line-height);
|
119
|
+
|
120
|
+
font-weight: fw("bold");
|
121
|
+
}
|
122
|
+
|
123
|
+
@mixin typeset-h3 {
|
124
|
+
@include typeset-heading;
|
125
|
+
@include h3;
|
126
|
+
}
|
127
|
+
|
128
|
+
@mixin h4 {
|
129
|
+
@include typeset("heading", $theme-h4-font-size, $theme-heading-line-height);
|
130
|
+
|
131
|
+
font-weight: fw("bold");
|
132
|
+
}
|
133
|
+
|
134
|
+
@mixin typeset-h4 {
|
135
|
+
@include typeset-heading;
|
136
|
+
@include h4;
|
137
|
+
}
|
138
|
+
|
139
|
+
@mixin h5 {
|
140
|
+
@include typeset("heading", $theme-h5-font-size, $theme-heading-line-height);
|
141
|
+
|
142
|
+
font-weight: fw("bold");
|
143
|
+
}
|
144
|
+
|
145
|
+
@mixin typeset-h5 {
|
146
|
+
@include typeset-heading;
|
147
|
+
@include h5;
|
148
|
+
}
|
149
|
+
|
150
|
+
@mixin h6 {
|
151
|
+
@include typeset("body", $theme-h6-font-size, $theme-heading-line-height);
|
152
|
+
|
153
|
+
font-weight: fw("normal");
|
154
|
+
letter-spacing: ls("ls-1");
|
155
|
+
text-transform: uppercase;
|
156
|
+
}
|
157
|
+
|
158
|
+
@mixin typeset-h6 {
|
159
|
+
@include typeset-heading;
|
160
|
+
@include h6;
|
161
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
@mixin usa-paragraph-style {
|
2
|
+
p {
|
3
|
+
@extend %usa-paragraph;
|
4
|
+
}
|
5
|
+
}
|
6
|
+
|
7
|
+
@mixin usa-link-style {
|
8
|
+
a {
|
9
|
+
@include typeset-link;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
@mixin usa-headings-styles {
|
14
|
+
h1,
|
15
|
+
h2,
|
16
|
+
h3,
|
17
|
+
h4,
|
18
|
+
h5,
|
19
|
+
h6 {
|
20
|
+
@extend %usa-heading;
|
21
|
+
}
|
22
|
+
|
23
|
+
h1 {
|
24
|
+
@include h1;
|
25
|
+
}
|
26
|
+
|
27
|
+
h2 {
|
28
|
+
@include h2;
|
29
|
+
}
|
30
|
+
|
31
|
+
h3 {
|
32
|
+
@include h3;
|
33
|
+
}
|
34
|
+
|
35
|
+
h4 {
|
36
|
+
@include h4;
|
37
|
+
}
|
38
|
+
|
39
|
+
h5 {
|
40
|
+
@include h5;
|
41
|
+
}
|
42
|
+
|
43
|
+
h6 {
|
44
|
+
@include h6;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
@mixin usa-content-styles {
|
49
|
+
@include usa-paragraph-style;
|
50
|
+
@include usa-link-style;
|
51
|
+
@include usa-headings-styles;
|
52
|
+
@include usa-list-styles;
|
53
|
+
@include usa-table-styles;
|
54
|
+
}
|
@@ -0,0 +1,369 @@
|
|
1
|
+
/* stylelint-disable max-nesting-depth */
|
2
|
+
|
3
|
+
/*
|
4
|
+
----------------------------------------
|
5
|
+
@render-pseudoclass
|
6
|
+
----------------------------------------
|
7
|
+
Build a pseucoclass utiliy from values
|
8
|
+
calculated in the @render-utilities-in
|
9
|
+
loop
|
10
|
+
----------------------------------------
|
11
|
+
*/
|
12
|
+
|
13
|
+
@mixin render-pseudoclass(
|
14
|
+
$utility,
|
15
|
+
$pseudoclass,
|
16
|
+
$selector,
|
17
|
+
$property,
|
18
|
+
$value,
|
19
|
+
$media-prefix
|
20
|
+
) {
|
21
|
+
$important: if($utilities-use-important, " !important", null);
|
22
|
+
$this-mq: null;
|
23
|
+
|
24
|
+
.#{$media-prefix}#{$pseudoclass}\:#{ns("utility")}#{$selector}:#{$pseudoclass} {
|
25
|
+
@each $this-property in $property {
|
26
|
+
#{$this-property}: unquote("#{$value}#{$important}");
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
// utility-feature? utility-property
|
32
|
+
@mixin add-utility-declaration($declaration, $utility-type, $important) {
|
33
|
+
@each $ext-prop, $ext-value in map-get($declaration, $utility-type) {
|
34
|
+
#{strunquote($ext-prop)}: unquote("#{strunquote($ext-value)}#{$important}");
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
/*
|
39
|
+
----------------------------------------
|
40
|
+
@render-utility
|
41
|
+
----------------------------------------
|
42
|
+
Build a utility from values calculated
|
43
|
+
in the @render-utilities-in loop
|
44
|
+
----------------------------------------
|
45
|
+
TODO: Determine the proper use of
|
46
|
+
unquote() in the following. Changed to
|
47
|
+
account for a 'interpolation near
|
48
|
+
operators will be simplified in a
|
49
|
+
future version of Sass' warning.
|
50
|
+
----------------------------------------
|
51
|
+
*/
|
52
|
+
|
53
|
+
@mixin render-utility(
|
54
|
+
$utility,
|
55
|
+
$selector,
|
56
|
+
$property,
|
57
|
+
$value,
|
58
|
+
$val-props,
|
59
|
+
$media-key
|
60
|
+
) {
|
61
|
+
$important: if($utilities-use-important, " !important", null);
|
62
|
+
$media-prefix: null;
|
63
|
+
$value-is-map: if(type-of($val-props) == "map", true, false);
|
64
|
+
|
65
|
+
@if $media-key {
|
66
|
+
$media-prefix: #{$media-key}\: ;
|
67
|
+
}
|
68
|
+
|
69
|
+
.#{$media-prefix}#{ns("utility")}#{$selector} {
|
70
|
+
@if $value-is-map and map-has-key($val-props, extend) {
|
71
|
+
@include add-utility-declaration($val-props, extend, $important);
|
72
|
+
}
|
73
|
+
|
74
|
+
@if $value-is-map and map-has-key($val-props, extends) {
|
75
|
+
@extend %#{map-get($val-props, extends)};
|
76
|
+
}
|
77
|
+
|
78
|
+
@each $this-property in $property {
|
79
|
+
#{$this-property}: unquote("#{$value}#{$important}");
|
80
|
+
}
|
81
|
+
|
82
|
+
@if map-has-key($utility, extend) {
|
83
|
+
@include add-utility-declaration($utility, extend, $important);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
// Add the pseudoclass variants, if applicable
|
88
|
+
|
89
|
+
@if map-deep-get($utility, settings, hover) {
|
90
|
+
@include render-pseudoclass(
|
91
|
+
$utility,
|
92
|
+
hover,
|
93
|
+
$selector,
|
94
|
+
$property,
|
95
|
+
$value,
|
96
|
+
$media-prefix
|
97
|
+
);
|
98
|
+
}
|
99
|
+
|
100
|
+
@if map-deep-get($utility, settings, active) {
|
101
|
+
@include render-pseudoclass(
|
102
|
+
$utility,
|
103
|
+
active,
|
104
|
+
$selector,
|
105
|
+
$property,
|
106
|
+
$value,
|
107
|
+
$media-prefix
|
108
|
+
);
|
109
|
+
}
|
110
|
+
|
111
|
+
@if map-deep-get($utility, settings, visited) {
|
112
|
+
@include render-pseudoclass(
|
113
|
+
$utility,
|
114
|
+
visited,
|
115
|
+
$selector,
|
116
|
+
$property,
|
117
|
+
$value,
|
118
|
+
$media-prefix
|
119
|
+
);
|
120
|
+
}
|
121
|
+
|
122
|
+
@if map-deep-get($utility, settings, focus) {
|
123
|
+
@include render-pseudoclass(
|
124
|
+
$utility,
|
125
|
+
focus,
|
126
|
+
$selector,
|
127
|
+
$property,
|
128
|
+
$value,
|
129
|
+
$media-prefix
|
130
|
+
);
|
131
|
+
}
|
132
|
+
|
133
|
+
// And add the responsive prefixes, if applicable
|
134
|
+
|
135
|
+
/*
|
136
|
+
@if map-deep-get($utility, settings, responsive) {
|
137
|
+
@include render-media-queries(
|
138
|
+
$utility,
|
139
|
+
$selector,
|
140
|
+
$property,
|
141
|
+
$value,
|
142
|
+
$val-props
|
143
|
+
);
|
144
|
+
}
|
145
|
+
*/
|
146
|
+
}
|
147
|
+
|
148
|
+
/*
|
149
|
+
----------------------------------------
|
150
|
+
@render-utilities-in
|
151
|
+
----------------------------------------
|
152
|
+
The master loop that sets the building
|
153
|
+
blocks of utilities from the values
|
154
|
+
in individual rule settings and loops
|
155
|
+
through all possible variants
|
156
|
+
----------------------------------------
|
157
|
+
*/
|
158
|
+
|
159
|
+
@mixin these-utilities($utilities, $media-key: false) {
|
160
|
+
// loop through the $utilities
|
161
|
+
@each $utility-name, $utility in $utilities {
|
162
|
+
// Only do this if the the utility is meant to output
|
163
|
+
|
164
|
+
@if not($media-key) or
|
165
|
+
($media-key and map-deep-get($utility, settings, responsive))
|
166
|
+
{
|
167
|
+
@if map-deep-get($utility, settings, output) or $output-all-utilities {
|
168
|
+
// set intital variants
|
169
|
+
// $property-default is a single value for all these utilities
|
170
|
+
|
171
|
+
$base-props: null;
|
172
|
+
$modifier: null;
|
173
|
+
$selector: null;
|
174
|
+
$property-default: map-get($utility, property);
|
175
|
+
$property: null;
|
176
|
+
$value: null;
|
177
|
+
$our-modifiers: ();
|
178
|
+
$b: null;
|
179
|
+
$v: null;
|
180
|
+
$mv: null;
|
181
|
+
$val-props: ();
|
182
|
+
$no-value: false;
|
183
|
+
|
184
|
+
$b: map-get($utility, base);
|
185
|
+
|
186
|
+
// Each utility rule takes a value, so let's start here
|
187
|
+
// and begin building.
|
188
|
+
|
189
|
+
// -------- For each value in utility.values ----------
|
190
|
+
|
191
|
+
@each $val-key, $val-value in map-get($utility, values) {
|
192
|
+
// If $val-value == null, or if $val-value is a map and
|
193
|
+
// the content key or the dependency key has a null value
|
194
|
+
// set $val-value to `false`...
|
195
|
+
|
196
|
+
@if type-of($val-value) == "map" {
|
197
|
+
@if not map-get($val-value, content) {
|
198
|
+
$val-value: false;
|
199
|
+
} @else if
|
200
|
+
map-has-key($val-value, dependency) and not
|
201
|
+
map-get($val-value, dependency)
|
202
|
+
{
|
203
|
+
$val-value: false;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
// ...so we can skip building this rule altogether.
|
208
|
+
// So, if $val-value is _not_ false...
|
209
|
+
|
210
|
+
@if $val-value {
|
211
|
+
// Set the value of our rule.
|
212
|
+
// If its a map, use val-value.content.
|
213
|
+
|
214
|
+
$val-slug: if(
|
215
|
+
type-of($val-value) == "map",
|
216
|
+
map-get($val-value, "slug"),
|
217
|
+
$val-key
|
218
|
+
);
|
219
|
+
|
220
|
+
$value: if(
|
221
|
+
type-of($val-value) == "map",
|
222
|
+
map-get($val-value, "content"),
|
223
|
+
$val-value
|
224
|
+
);
|
225
|
+
|
226
|
+
@if $val-slug == "" or smart-quote($val-slug) == "noValue" {
|
227
|
+
$no-value: true;
|
228
|
+
}
|
229
|
+
|
230
|
+
// Add any appended values...
|
231
|
+
|
232
|
+
@if map-get($utility, valueAppend) {
|
233
|
+
$value: $value + map-get($utility, valueAppend);
|
234
|
+
}
|
235
|
+
|
236
|
+
// ...or prepended values.
|
237
|
+
|
238
|
+
@if map-get($utility, valuePrepend) {
|
239
|
+
$value: map-get($utility, valuePrepend) + $value;
|
240
|
+
}
|
241
|
+
|
242
|
+
// Then unquote the entire value string.
|
243
|
+
|
244
|
+
$value: strunquote($value);
|
245
|
+
|
246
|
+
// And we'll set the $v as $val-slug for use in
|
247
|
+
// constructing the selector (.$b-$m-$v).
|
248
|
+
|
249
|
+
$v: $val-slug;
|
250
|
+
|
251
|
+
// -------- Start of Modifiers ----------
|
252
|
+
|
253
|
+
// Now we'll check for modifiers and loop through them
|
254
|
+
// to get the props we need to build our rule.
|
255
|
+
|
256
|
+
// Modifiers are held in a MAP,
|
257
|
+
// where each individual modifer has the keypair
|
258
|
+
// [slug]:[value]
|
259
|
+
|
260
|
+
// So, check for modifiers.
|
261
|
+
|
262
|
+
@if map-get($utility, modifiers) != null {
|
263
|
+
// If there are modifiers, capture them as $our-modifiers.
|
264
|
+
|
265
|
+
$our-modifiers: map-get($utility, modifiers);
|
266
|
+
} @else {
|
267
|
+
// If there aren't, build a dummy so we can keep
|
268
|
+
// all our build in the same loop.
|
269
|
+
|
270
|
+
$our-modifiers: (
|
271
|
+
"slug": null
|
272
|
+
);
|
273
|
+
}
|
274
|
+
|
275
|
+
// OK! C'mon, let's loop!
|
276
|
+
// https://www.youtube.com/watch?v=X9i2i07wPUw
|
277
|
+
|
278
|
+
// -------- For each modifier in $our-modifiers ----------
|
279
|
+
|
280
|
+
@each $mod-key, $mod-val in $our-modifiers {
|
281
|
+
$property: if(
|
282
|
+
$mod-val == null or $mod-val == "",
|
283
|
+
$property-default,
|
284
|
+
multi-cat($property-default, $mod-val)
|
285
|
+
);
|
286
|
+
|
287
|
+
// Now we go through to set the $selector.
|
288
|
+
|
289
|
+
// If mod-props.slug is noModifier...
|
290
|
+
|
291
|
+
@if $mod-key ==
|
292
|
+
"" or
|
293
|
+
$mod-key ==
|
294
|
+
slug or
|
295
|
+
smart-quote($mod-key) ==
|
296
|
+
"noModifier"
|
297
|
+
{
|
298
|
+
// First, we can test to see if the base $b is null
|
299
|
+
|
300
|
+
@if $b == null {
|
301
|
+
// If it _is_ null, the rule's selector is $v.
|
302
|
+
|
303
|
+
$selector: $v;
|
304
|
+
|
305
|
+
// if the value is noValue ('')
|
306
|
+
} @else if $no-value {
|
307
|
+
// selector is the base only
|
308
|
+
|
309
|
+
$selector: $b;
|
310
|
+
} @else {
|
311
|
+
// otherwise, selctor is joined with a hyphen.
|
312
|
+
|
313
|
+
$selector: $b + "-" + $v;
|
314
|
+
|
315
|
+
// Nice! We just took care of the non-modifier cases!
|
316
|
+
}
|
317
|
+
}
|
318
|
+
|
319
|
+
// If there _is_ a modifier...
|
320
|
+
|
321
|
+
@else {
|
322
|
+
$mv: if($no-value, $mod-key, $mod-key + "-" + $v);
|
323
|
+
|
324
|
+
// Once we have $mv, test for $b
|
325
|
+
// and build the selector as before.
|
326
|
+
|
327
|
+
$selector: if($b == null, $mv, $b + "-" + $mv);
|
328
|
+
}
|
329
|
+
|
330
|
+
// finished setting modifier vars
|
331
|
+
|
332
|
+
// Hey. Did we just finish $selector?
|
333
|
+
// And do we also have $property and $value?
|
334
|
+
// We do?!?!?! We do!
|
335
|
+
|
336
|
+
// FINALLY, 'BUILD THE RULE, MAX!'
|
337
|
+
// https://www.youtube.com/watch?v=R3Igz5SfBCE
|
338
|
+
|
339
|
+
@include render-utility(
|
340
|
+
$utility,
|
341
|
+
$selector,
|
342
|
+
$property,
|
343
|
+
$value,
|
344
|
+
$val-value,
|
345
|
+
$media-key
|
346
|
+
);
|
347
|
+
} // end the modifier loop
|
348
|
+
} // end the null value conditional
|
349
|
+
} // end the value loop
|
350
|
+
} // end the output conditional
|
351
|
+
}
|
352
|
+
} // end the utility loop
|
353
|
+
// (ノ◕ヮ◕)ノ*:・゚✧
|
354
|
+
}
|
355
|
+
|
356
|
+
@mixin render-utilities-in($utilities) {
|
357
|
+
@include these-utilities($utilities);
|
358
|
+
|
359
|
+
$our-breakpoints: map-deep-get($system-properties, breakpoints, standard);
|
360
|
+
@each $media-key, $media-value in $our-breakpoints {
|
361
|
+
@if map-get($theme-utility-breakpoints, $media-key) {
|
362
|
+
@include at-media($media-key) {
|
363
|
+
@include these-utilities($utilities, $media-key);
|
364
|
+
}
|
365
|
+
}
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
/* stylelint-enable */
|