uswds-jekyll 5.0.1 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +52 -93
- data/_includes/components/banner.html +11 -9
- data/_sass/uswds/components/_header.scss +1 -1
- data/_sass/uswds/components/_nav-buttons.scss +4 -4
- data/_sass/uswds/src/components/_alerts.scss +8 -9
- data/_sass/uswds/src/components/_banner.scss +102 -31
- data/_sass/uswds/src/components/_breadcrumb.scss +168 -0
- data/_sass/uswds/src/components/_footer.scss +14 -4
- data/_sass/uswds/src/components/_header.scss +1 -1
- data/_sass/uswds/src/components/_identifier.scss +146 -0
- data/_sass/uswds/src/components/_media-block.scss +6 -1
- data/_sass/uswds/src/components/_megamenu.scss +4 -1
- data/_sass/uswds/src/components/_section.scss +6 -2
- data/_sass/uswds/src/components/_skipnav.scss +2 -2
- data/_sass/uswds/src/components/_step-indicator.scss +444 -0
- data/_sass/uswds/src/components/_tooltip.scss +114 -0
- data/_sass/uswds/src/core/_functions.scss +631 -0
- data/_sass/uswds/src/core/_notifications.scss +14 -0
- data/_sass/uswds/src/core/_properties.scss +120 -108
- data/_sass/uswds/src/core/_system-tokens.scss +140 -155
- data/_sass/uswds/src/core/_variables.scss +134 -32
- data/_sass/uswds/src/core/mixins/_add-link-styles.scss +20 -0
- data/_sass/uswds/src/core/mixins/_all.scss +4 -0
- data/_sass/uswds/src/core/mixins/_font-face.scss +1 -1
- data/_sass/uswds/src/core/mixins/_icon.scss +119 -0
- data/_sass/uswds/src/core/mixins/_media-block-img.scss +1 -1
- 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/utilities/_align-self.scss +11 -0
- data/_sass/uswds/src/core/mixins/utilities/_border.scss +1 -1
- data/_sass/uswds/src/core/mixins/utilities/_flex.scss +6 -1
- data/_sass/uswds/src/core/mixins/utilities/_text.scss +6 -1
- data/_sass/uswds/src/core/placeholders/_list.scss +5 -0
- data/_sass/uswds/src/core/system-tokens/_blue-cool.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_blue-warm.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_blue.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_cyan.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_gold.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_gray-cool.scss +2 -2
- data/_sass/uswds/src/core/system-tokens/_gray-warm.scss +2 -2
- data/_sass/uswds/src/core/system-tokens/_gray.scss +2 -2
- data/_sass/uswds/src/core/system-tokens/_green-cool.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_green-warm.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_green.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_indigo-cool.scss +6 -6
- data/_sass/uswds/src/core/system-tokens/_indigo-warm.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_indigo.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_magenta.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_mint-cool.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_mint.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_orange-warm.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_orange.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_red-cool.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_red-warm.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_red.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_violet-warm.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_violet.scss +3 -3
- data/_sass/uswds/src/core/system-tokens/_yellow.scss +3 -3
- data/_sass/uswds/src/elements/_buttons.scss +31 -24
- data/_sass/uswds/src/elements/form-controls/_all.scss +2 -0
- data/_sass/uswds/src/elements/form-controls/_checkbox-and-radio.scss +4 -2
- data/_sass/uswds/src/elements/form-controls/_combo-box.scss +80 -9
- data/_sass/uswds/src/elements/form-controls/_date-picker.scss +325 -0
- data/_sass/uswds/src/elements/form-controls/_file-input.scss +195 -0
- data/_sass/uswds/src/elements/form-controls/_global.scss +10 -3
- data/_sass/uswds/src/elements/form-controls/_time-picker.scss +3 -0
- data/_sass/uswds/src/packages/_usa-breadcrumb.scss +4 -0
- data/_sass/uswds/src/packages/_usa-identifier.scss +1 -0
- data/_sass/uswds/src/packages/_usa-step-indicator.scss +2 -0
- data/_sass/uswds/src/packages/_usa-tooltip.scss +2 -0
- data/_sass/uswds/src/packages/_uswds-components.scss +4 -0
- data/_sass/uswds/src/settings/_settings-color.scss +6 -1
- data/_sass/uswds/src/settings/_settings-components.scss +45 -1
- data/_sass/uswds/src/settings/_settings-general.scss +4 -4
- data/_sass/uswds/src/settings/_settings-typography.scss +5 -5
- data/_sass/uswds/src/settings/_settings-utilities.scss +89 -75
- data/_sass/uswds/src/theme/_uswds-theme-color.scss +4 -1
- data/_sass/uswds/src/theme/_uswds-theme-components.scss +45 -1
- data/_sass/uswds/src/theme/_uswds-theme-general.scss +4 -4
- data/_sass/uswds/src/theme/_uswds-theme-typography.scss +5 -5
- data/_sass/uswds/src/theme/_uswds-theme-utilities.scss +90 -77
- data/_sass/uswds/src/theme/styles.scss +5 -1
- data/_sass/uswds/src/utilities/palettes/_default-palettes.scss +2 -1
- data/_sass/uswds/src/utilities/palettes/_font-palettes.scss +478 -478
- data/_sass/uswds/src/utilities/palettes/_spacing-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_all-colors-palettes.scss +2 -2
- data/_sass/uswds/src/utilities/palettes/colors/_black-transparent-palettes.scss +2 -2
- data/_sass/uswds/src/utilities/palettes/colors/_blue-cool-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_blue-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_blue-warm-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_cyan-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_gold-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_gray-cool-palettes.scss +5 -5
- data/_sass/uswds/src/utilities/palettes/colors/_gray-palettes.scss +5 -5
- data/_sass/uswds/src/utilities/palettes/colors/_gray-warm-palettes.scss +5 -5
- data/_sass/uswds/src/utilities/palettes/colors/_green-cool-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_green-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_green-warm-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_indigo-cool-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_indigo-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_indigo-warm-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_magenta-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_mint-cool-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_mint-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_orange-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_orange-warm-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_red-cool-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_red-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_red-warm-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_violet-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_violet-warm-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/palettes/colors/_white-transparent-palettes.scss +2 -2
- data/_sass/uswds/src/utilities/palettes/colors/_yellow-palettes.scss +7 -7
- data/_sass/uswds/src/utilities/rules/_all.scss +1 -0
- data/_sass/uswds/src/utilities/rules/_package.scss +1 -0
- data/_sass/uswds/src/utilities/rules/add-aspect.scss +13 -13
- data/_sass/uswds/src/utilities/rules/add-list-reset.scss +5 -5
- data/_sass/uswds/src/utilities/rules/align-items.scss +2 -2
- data/_sass/uswds/src/utilities/rules/align-self.scss +27 -0
- data/_sass/uswds/src/utilities/rules/background-color.scss +2 -2
- data/_sass/uswds/src/utilities/rules/border-color.scss +2 -2
- data/_sass/uswds/src/utilities/rules/border-radius.scss +7 -7
- data/_sass/uswds/src/utilities/rules/border-style.scss +2 -2
- data/_sass/uswds/src/utilities/rules/border-width.scss +5 -5
- data/_sass/uswds/src/utilities/rules/border.scss +5 -5
- data/_sass/uswds/src/utilities/rules/bottom.scss +2 -2
- data/_sass/uswds/src/utilities/rules/box-shadow.scss +2 -2
- data/_sass/uswds/src/utilities/rules/circle.scss +4 -4
- data/_sass/uswds/src/utilities/rules/clearfix.scss +5 -5
- data/_sass/uswds/src/utilities/rules/color.scss +2 -2
- data/_sass/uswds/src/utilities/rules/cursor.scss +2 -2
- data/_sass/uswds/src/utilities/rules/display.scss +2 -2
- data/_sass/uswds/src/utilities/rules/flex-direction.scss +2 -2
- data/_sass/uswds/src/utilities/rules/flex-wrap.scss +2 -2
- data/_sass/uswds/src/utilities/rules/flex.scss +2 -2
- data/_sass/uswds/src/utilities/rules/float.scss +2 -2
- data/_sass/uswds/src/utilities/rules/font-family.scss +2 -2
- data/_sass/uswds/src/utilities/rules/font-feature.scss +2 -2
- data/_sass/uswds/src/utilities/rules/font-style.scss +2 -2
- data/_sass/uswds/src/utilities/rules/font-weight.scss +2 -2
- data/_sass/uswds/src/utilities/rules/font.scss +2 -2
- data/_sass/uswds/src/utilities/rules/height.scss +2 -2
- data/_sass/uswds/src/utilities/rules/justify-content.scss +2 -2
- data/_sass/uswds/src/utilities/rules/left.scss +2 -2
- data/_sass/uswds/src/utilities/rules/letter-spacing.scss +2 -2
- data/_sass/uswds/src/utilities/rules/line-height.scss +2 -2
- data/_sass/uswds/src/utilities/rules/margin.scss +9 -9
- data/_sass/uswds/src/utilities/rules/max-height.scss +2 -2
- data/_sass/uswds/src/utilities/rules/max-width.scss +2 -2
- data/_sass/uswds/src/utilities/rules/measure.scss +2 -2
- data/_sass/uswds/src/utilities/rules/min-height.scss +2 -2
- data/_sass/uswds/src/utilities/rules/min-width.scss +2 -2
- data/_sass/uswds/src/utilities/rules/opacity.scss +3 -5
- data/_sass/uswds/src/utilities/rules/order.scss +2 -2
- data/_sass/uswds/src/utilities/rules/outline-color.scss +2 -2
- data/_sass/uswds/src/utilities/rules/outline.scss +2 -2
- data/_sass/uswds/src/utilities/rules/overflow.scss +3 -3
- data/_sass/uswds/src/utilities/rules/padding.scss +5 -5
- data/_sass/uswds/src/utilities/rules/pin.scss +19 -19
- data/_sass/uswds/src/utilities/rules/position.scss +2 -2
- data/_sass/uswds/src/utilities/rules/right.scss +2 -2
- data/_sass/uswds/src/utilities/rules/square.scss +4 -4
- data/_sass/uswds/src/utilities/rules/text-align.scss +2 -2
- data/_sass/uswds/src/utilities/rules/text-decoration-color.scss +2 -2
- data/_sass/uswds/src/utilities/rules/text-decoration.scss +2 -2
- data/_sass/uswds/src/utilities/rules/text-indent.scss +2 -2
- data/_sass/uswds/src/utilities/rules/text-transform.scss +2 -2
- data/_sass/uswds/src/utilities/rules/top.scss +2 -2
- data/_sass/uswds/src/utilities/rules/vertical-align.scss +2 -2
- data/_sass/uswds/src/utilities/rules/whitespace.scss +2 -2
- data/_sass/uswds/src/utilities/rules/width.scss +2 -2
- data/_sass/uswds/src/utilities/rules/z-index.scss +2 -2
- data/assets/uswds/img/angle-arrow-down-gray-90.svg +1 -0
- 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-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-down-gray-60.svg +1 -0
- 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/calendar-alt-solid.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-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-gray-60.svg +1 -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/loader.gif +0 -0
- data/assets/uswds/img/loader.svg +1 -0
- data/assets/uswds/img/lock.svg +1 -0
- data/assets/uswds/js/uswds.js +3570 -216
- data/assets/uswds/js/uswds.min.js +1 -1
- data/assets/uswds/js/uswds.min.js.map +1 -1
- metadata +59 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-mint-cool: (
|
2
|
-
|
2
|
+
"mint-cool": (
|
3
3
|
5: #e0f7f6,
|
4
4
|
10: #c4eeeb,
|
5
5
|
20: #9bd4cf,
|
@@ -10,7 +10,7 @@ $system-color-mint-cool: (
|
|
10
10
|
70: #2a4b45,
|
11
11
|
80: #203131,
|
12
12
|
90: #111818,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #d5fbf3,
|
15
15
|
10: #7efbe1,
|
16
16
|
20: #29e1cb,
|
@@ -23,4 +23,4 @@ $system-color-mint-cool: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-mint: (
|
2
|
-
|
2
|
+
"mint": (
|
3
3
|
5: #dbf6ed,
|
4
4
|
10: #c7efe2,
|
5
5
|
20: #92d9bb,
|
@@ -10,7 +10,7 @@ $system-color-mint: (
|
|
10
10
|
70: #204e34,
|
11
11
|
80: #193324,
|
12
12
|
90: #0d1a12,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #c9fbeb,
|
15
15
|
10: #83fcd4,
|
16
16
|
20: #0ceda6,
|
@@ -23,4 +23,4 @@ $system-color-mint: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-orange-warm: (
|
2
|
-
|
2
|
+
"orange-warm": (
|
3
3
|
5: #faeee5,
|
4
4
|
10: #fbe0d0,
|
5
5
|
20: #f7bca2,
|
@@ -10,7 +10,7 @@ $system-color-orange-warm: (
|
|
10
10
|
70: #633a32,
|
11
11
|
80: #3d2925,
|
12
12
|
90: #1c1615,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #fff3ea,
|
15
15
|
10: #ffe2d1,
|
16
16
|
20: #fbbaa7,
|
@@ -23,4 +23,4 @@ $system-color-orange-warm: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-orange: (
|
2
|
-
|
2
|
+
"orange": (
|
3
3
|
5: #f6efe9,
|
4
4
|
10: #f2e4d4,
|
5
5
|
20: #f3bf90,
|
@@ -10,7 +10,7 @@ $system-color-orange: (
|
|
10
10
|
70: #524236,
|
11
11
|
80: #332d27,
|
12
12
|
90: #1b1614,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #fef2e4,
|
15
15
|
10: #fce2c5,
|
16
16
|
20: #ffbc78,
|
@@ -23,4 +23,4 @@ $system-color-orange: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-red-cool: (
|
2
|
-
|
2
|
+
"red-cool": (
|
3
3
|
5: #f8eff1,
|
4
4
|
10: #f3e1e4,
|
5
5
|
20: #ecbec6,
|
@@ -10,7 +10,7 @@ $system-color-red-cool: (
|
|
10
10
|
70: #68363f,
|
11
11
|
80: #40282c,
|
12
12
|
90: #1e1517,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #fff2f5,
|
15
15
|
10: #f8dfe2,
|
16
16
|
20: #f8b9c5,
|
@@ -23,4 +23,4 @@ $system-color-red-cool: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-red-warm: (
|
2
|
-
|
2
|
+
"red-warm": (
|
3
3
|
5: #f6efea,
|
4
4
|
10: #f4e3db,
|
5
5
|
20: #ecc0a7,
|
@@ -10,7 +10,7 @@ $system-color-red-warm: (
|
|
10
10
|
70: #524236,
|
11
11
|
80: #332d29,
|
12
12
|
90: #1f1c18,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #fff5ee,
|
15
15
|
10: #fce1d4,
|
16
16
|
20: #f6bd9c,
|
@@ -23,4 +23,4 @@ $system-color-red-warm: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-red: (
|
2
|
-
|
2
|
+
"red": (
|
3
3
|
5: #f9eeee,
|
4
4
|
10: #f8e1de,
|
5
5
|
20: #f7bbb1,
|
@@ -10,7 +10,7 @@ $system-color-red: (
|
|
10
10
|
70: #6f3331,
|
11
11
|
80: #3e2927,
|
12
12
|
90: #1b1616,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #fff3f2,
|
15
15
|
10: #fde0db,
|
16
16
|
20: #fdb8ae,
|
@@ -23,4 +23,4 @@ $system-color-red: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-violet-warm: (
|
2
|
-
|
2
|
+
"violet-warm": (
|
3
3
|
5: #f8f0f9,
|
4
4
|
10: #f6dff8,
|
5
5
|
20: #e2bee4,
|
@@ -10,7 +10,7 @@ $system-color-violet-warm: (
|
|
10
10
|
70: #5c395a,
|
11
11
|
80: #382936,
|
12
12
|
90: #1b151b,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #fef2ff,
|
15
15
|
10: #fbdcff,
|
16
16
|
20: #f4b2ff,
|
@@ -23,4 +23,4 @@ $system-color-violet-warm: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-violet: (
|
2
|
-
|
2
|
+
"violet": (
|
3
3
|
5: #f4f1f9,
|
4
4
|
10: #ebe3f9,
|
5
5
|
20: #d0c3e9,
|
@@ -10,7 +10,7 @@ $system-color-violet: (
|
|
10
10
|
70: #4c3d69,
|
11
11
|
80: #312b3f,
|
12
12
|
90: #18161d,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #f7f2ff,
|
15
15
|
10: #ede3ff,
|
16
16
|
20: #d5bfff,
|
@@ -23,4 +23,4 @@ $system-color-violet: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$system-color-yellow: (
|
2
|
-
|
2
|
+
"yellow": (
|
3
3
|
5: #faf3d1,
|
4
4
|
10: #f5e6af,
|
5
5
|
20: #e6c74c,
|
@@ -10,7 +10,7 @@ $system-color-yellow: (
|
|
10
10
|
70: #504332,
|
11
11
|
80: #332d27,
|
12
12
|
90: #1a1614,
|
13
|
-
|
13
|
+
"vivid": (
|
14
14
|
5: #fff5c2,
|
15
15
|
10: #fee685,
|
16
16
|
20: #face00,
|
@@ -23,4 +23,4 @@ $system-color-yellow: (
|
|
23
23
|
90: false,
|
24
24
|
),
|
25
25
|
),
|
26
|
-
);
|
26
|
+
);
|
@@ -7,12 +7,10 @@ $button-stroke: inset 0 0 0 units($theme-button-stroke-width);
|
|
7
7
|
.usa-button {
|
8
8
|
@include border-box-sizing;
|
9
9
|
@include typeset($theme-button-font-family, null, 1);
|
10
|
-
@include
|
10
|
+
@include set-text-and-bg("primary");
|
11
11
|
appearance: none;
|
12
|
-
background-color: color("primary");
|
13
12
|
border: 0;
|
14
13
|
border-radius: radius($theme-button-border-radius);
|
15
|
-
color: color("white");
|
16
14
|
cursor: pointer;
|
17
15
|
display: inline-block;
|
18
16
|
font-weight: font-weight("bold");
|
@@ -32,16 +30,14 @@ $button-stroke: inset 0 0 0 units($theme-button-stroke-width);
|
|
32
30
|
|
33
31
|
&:hover,
|
34
32
|
&.usa-button--hover {
|
35
|
-
|
33
|
+
@include set-text-and-bg("primary-dark");
|
36
34
|
border-bottom: 0;
|
37
|
-
color: color("white");
|
38
35
|
text-decoration: none;
|
39
36
|
}
|
40
37
|
|
41
38
|
&:active,
|
42
39
|
&.usa-button--active {
|
43
|
-
|
44
|
-
color: color("white");
|
40
|
+
@include set-text-and-bg("primary-darker");
|
45
41
|
}
|
46
42
|
|
47
43
|
&:not([disabled]):focus,
|
@@ -55,31 +51,42 @@ $button-stroke: inset 0 0 0 units($theme-button-stroke-width);
|
|
55
51
|
}
|
56
52
|
|
57
53
|
.usa-button--accent-cool {
|
58
|
-
@include
|
59
|
-
background-color: color("accent-cool");
|
60
|
-
color: color("ink");
|
54
|
+
@include set-text-and-bg("accent-cool");
|
61
55
|
|
62
56
|
&:visited {
|
63
|
-
|
57
|
+
@include set-text-and-bg("accent-cool");
|
64
58
|
}
|
65
59
|
|
66
60
|
&:hover,
|
67
61
|
&.usa-button--hover {
|
68
|
-
@include
|
69
|
-
background-color: color("accent-cool-dark");
|
70
|
-
color: color("white");
|
62
|
+
@include set-text-and-bg("accent-cool-dark");
|
71
63
|
}
|
72
64
|
|
73
65
|
&:active,
|
74
66
|
&.usa-button--active {
|
75
|
-
@include
|
76
|
-
|
77
|
-
|
67
|
+
@include set-text-and-bg("accent-cool-darker");
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
.usa-button--accent-warm {
|
72
|
+
@include set-text-and-bg("accent-warm");
|
73
|
+
|
74
|
+
&:visited {
|
75
|
+
@include set-text-and-bg("accent-warm");
|
76
|
+
}
|
77
|
+
|
78
|
+
&:hover,
|
79
|
+
&.usa-button--hover {
|
80
|
+
@include set-text-and-bg("accent-warm-dark");
|
81
|
+
}
|
82
|
+
|
83
|
+
&:active,
|
84
|
+
&.usa-button--active {
|
85
|
+
@include set-text-and-bg("accent-warm-darker");
|
78
86
|
}
|
79
87
|
}
|
80
88
|
|
81
89
|
.usa-button--outline {
|
82
|
-
@include no-knockout-font-smoothing;
|
83
90
|
background-color: color("transparent");
|
84
91
|
box-shadow: $button-stroke color("primary");
|
85
92
|
color: color("primary");
|
@@ -145,30 +152,30 @@ $button-stroke: inset 0 0 0 units($theme-button-stroke-width);
|
|
145
152
|
}
|
146
153
|
|
147
154
|
.usa-button--base {
|
148
|
-
|
155
|
+
@include set-text-and-bg("base");
|
149
156
|
|
150
157
|
&:hover,
|
151
158
|
&.usa-button--hover {
|
152
|
-
|
159
|
+
@include set-text-and-bg("base-dark");
|
153
160
|
}
|
154
161
|
|
155
162
|
&:active,
|
156
163
|
&.usa-button--active {
|
157
|
-
|
164
|
+
@include set-text-and-bg("base-darker");
|
158
165
|
}
|
159
166
|
}
|
160
167
|
|
161
168
|
.usa-button--secondary {
|
162
|
-
|
169
|
+
@include set-text-and-bg("secondary");
|
163
170
|
|
164
171
|
&:hover,
|
165
172
|
&.usa-button--hover {
|
166
|
-
|
173
|
+
@include set-text-and-bg("secondary-dark");
|
167
174
|
}
|
168
175
|
|
169
176
|
&:active,
|
170
177
|
&.usa-button--active {
|
171
|
-
|
178
|
+
@include set-text-and-bg("secondary-darker");
|
172
179
|
}
|
173
180
|
}
|
174
181
|
|
@@ -31,7 +31,7 @@
|
|
31
31
|
cursor: pointer;
|
32
32
|
display: inherit;
|
33
33
|
font-weight: font-weight("normal");
|
34
|
-
margin-
|
34
|
+
margin-top: units(1.5);
|
35
35
|
padding-left: units($input-select-margin-right + $theme-input-select-size);
|
36
36
|
position: relative;
|
37
37
|
text-indent: units(-$input-select-margin-right - $theme-input-select-size);
|
@@ -99,8 +99,10 @@
|
|
99
99
|
@include focus-outline(null, null, null, 0.5);
|
100
100
|
}
|
101
101
|
|
102
|
-
.usa-checkbox__input:disabled + .usa-checkbox__label
|
102
|
+
.usa-checkbox__input:disabled + .usa-checkbox__label,
|
103
|
+
.usa-radio__input:disabled + .usa-radio__label {
|
103
104
|
color: color("disabled");
|
105
|
+
cursor: not-allowed;
|
104
106
|
}
|
105
107
|
|
106
108
|
.usa-checkbox__input:focus + .usa-checkbox__label::before {
|
@@ -1,17 +1,79 @@
|
|
1
1
|
.usa-combo-box {
|
2
|
+
max-width: units($theme-input-max-width);
|
2
3
|
position: relative;
|
3
4
|
}
|
4
5
|
|
6
|
+
.usa-combo-box--pristine {
|
7
|
+
.usa-combo-box__input {
|
8
|
+
padding-right: calc(5em + 4px);
|
9
|
+
|
10
|
+
&::-ms-clear {
|
11
|
+
display: none;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.usa-combo-box__clear-input {
|
16
|
+
display: block;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
5
20
|
.usa-combo-box__input {
|
6
21
|
@extend %block-input-general;
|
7
22
|
@extend %block-input-styles;
|
8
|
-
@include add-background-svg("arrow-down");
|
9
23
|
appearance: none;
|
10
|
-
|
11
|
-
|
12
|
-
|
24
|
+
margin-bottom: 0;
|
25
|
+
max-width: none;
|
26
|
+
padding-right: calc(2.5em + 3px);
|
27
|
+
}
|
28
|
+
|
29
|
+
button.usa-combo-box__toggle-list,
|
30
|
+
button.usa-combo-box__clear-input {
|
31
|
+
&:focus {
|
32
|
+
outline-offset: -4px;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.usa-combo-box__toggle-list__wrapper:focus,
|
37
|
+
.usa-combo-box__clear-input__wrapper:focus {
|
38
|
+
outline: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
.usa-combo-box__toggle-list,
|
42
|
+
.usa-combo-box__clear-input {
|
43
|
+
background-color: transparent;
|
44
|
+
background-position: center;
|
45
|
+
background-size: auto units(1.5);
|
46
|
+
border: 0;
|
47
|
+
cursor: pointer;
|
13
48
|
margin-bottom: 0;
|
14
49
|
padding-right: units(4);
|
50
|
+
position: absolute;
|
51
|
+
top: 1px;
|
52
|
+
height: 2.25em;
|
53
|
+
z-index: z-index(100);
|
54
|
+
}
|
55
|
+
.usa-combo-box__clear-input {
|
56
|
+
@include add-background-svg("close-gray-60");
|
57
|
+
|
58
|
+
display: none;
|
59
|
+
right: calc(2.5em + 3px);
|
60
|
+
}
|
61
|
+
|
62
|
+
.usa-combo-box__toggle-list {
|
63
|
+
@include add-background-svg("arrow-down-gray-60");
|
64
|
+
right: 1px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.usa-combo-box__input-button-separator {
|
68
|
+
background-color: color("gray-cool-20");
|
69
|
+
position: absolute;
|
70
|
+
top: 1px;
|
71
|
+
margin-bottom: 8px;
|
72
|
+
margin-top: 8px;
|
73
|
+
width: 1px;
|
74
|
+
right: calc(2.5em + 2px);
|
75
|
+
box-sizing: border-box;
|
76
|
+
z-index: z-index(200);
|
15
77
|
}
|
16
78
|
|
17
79
|
.usa-combo-box__list {
|
@@ -27,7 +89,11 @@
|
|
27
89
|
padding: 0;
|
28
90
|
position: absolute;
|
29
91
|
width: 100%;
|
30
|
-
z-index: z-index(
|
92
|
+
z-index: z-index(300);
|
93
|
+
|
94
|
+
&:focus {
|
95
|
+
outline: 0;
|
96
|
+
}
|
31
97
|
}
|
32
98
|
|
33
99
|
.usa-combo-box__list-option {
|
@@ -36,12 +102,17 @@
|
|
36
102
|
display: block;
|
37
103
|
padding: units(1);
|
38
104
|
|
39
|
-
&--focused
|
40
|
-
outline
|
105
|
+
&--focused {
|
106
|
+
@include focus-outline($width: 2px, $offset: -2px, $color: "blue-warm-80v");
|
107
|
+
position: relative;
|
108
|
+
z-index: z-index(100);
|
109
|
+
|
110
|
+
&:focus {
|
111
|
+
outline-offset: -4px;
|
112
|
+
}
|
41
113
|
}
|
42
114
|
|
43
|
-
|
44
|
-
&--focused {
|
115
|
+
&--selected {
|
45
116
|
background-color: color("primary");
|
46
117
|
border-color: color("primary");
|
47
118
|
color: color("white");
|