@department-of-veterans-affairs/css-library 0.13.0 → 0.13.1-rc1
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.
- package/dist/stylesheets/_mixins.scss +2 -3
- package/dist/stylesheets/base/headings.css +1 -1
- package/dist/stylesheets/base/utils.css +2 -2
- package/dist/stylesheets/base/va.css +72 -1523
- package/dist/stylesheets/core.css +4077 -3669
- package/dist/stylesheets/formation-overrides/core/base.css +6 -6
- package/dist/stylesheets/formation-overrides/elements/buttons.css +1 -1
- package/dist/stylesheets/formation-overrides/elements/inputs.css +5 -5
- package/dist/stylesheets/formation-overrides/elements/typography.css +4 -4
- package/dist/stylesheets/modules/m-action-link.css +2 -2
- package/dist/stylesheets/modules/m-alert.css +9 -5
- package/dist/stylesheets/modules/m-emergency-banner.css +1 -1
- package/dist/stylesheets/modules/m-form-process.css +1 -1
- package/dist/stylesheets/modules/m-maintenance-banner.css +1 -1
- package/dist/stylesheets/modules/m-megamenu.css +2 -2
- package/dist/stylesheets/modules/m-nav-sidebar.css +1 -1
- package/dist/stylesheets/shame.css +3 -2
- package/dist/stylesheets/utilities.css +2 -2
- package/dist/tokens/css/variables.css +3 -3
- package/dist/tokens/json/variables.json +4 -4
- package/dist/tokens/scss/variables.scss +3 -3
- package/package.json +2 -2
|
@@ -44,21 +44,21 @@ input:not([disabled]):focus,
|
|
|
44
44
|
select:not([disabled]):focus,
|
|
45
45
|
textarea:not([disabled]):focus,
|
|
46
46
|
button:not([disabled]):focus {
|
|
47
|
-
outline: 2px
|
|
48
|
-
outline-offset:
|
|
47
|
+
outline: 2px solid #face00;
|
|
48
|
+
outline-offset: 2px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
iframe:focus,
|
|
52
52
|
[href]:focus,
|
|
53
53
|
[tabindex]:focus,
|
|
54
54
|
[contentEditable=true]:focus {
|
|
55
|
-
outline: 2px
|
|
56
|
-
outline-offset:
|
|
55
|
+
outline: 2px solid #face00;
|
|
56
|
+
outline-offset: 2px;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.usa-focus {
|
|
60
|
-
outline: 2px
|
|
61
|
-
outline-offset:
|
|
60
|
+
outline: 2px solid #face00;
|
|
61
|
+
outline-offset: 2px;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/*# sourceMappingURL=base.css.map */
|
|
@@ -47,7 +47,7 @@ button,
|
|
|
47
47
|
color: #ffffff;
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
display: inline-block;
|
|
50
|
-
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
50
|
+
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
51
51
|
font-size: 16px;
|
|
52
52
|
font-weight: 700;
|
|
53
53
|
line-height: 1;
|
|
@@ -160,7 +160,7 @@ legend {
|
|
|
160
160
|
|
|
161
161
|
.usa-form-hint {
|
|
162
162
|
color: #757575;
|
|
163
|
-
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
163
|
+
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
164
164
|
margin-bottom: 0;
|
|
165
165
|
}
|
|
166
166
|
|
|
@@ -233,8 +233,8 @@ legend {
|
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
[type=radio]:focus + label::before {
|
|
236
|
-
outline: 2px
|
|
237
|
-
outline-offset:
|
|
236
|
+
outline: 2px solid #face00;
|
|
237
|
+
outline-offset: 4px;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
[type=checkbox]:disabled + label {
|
|
@@ -242,8 +242,8 @@ legend {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
[type=checkbox]:focus + label::before {
|
|
245
|
-
outline: 2px
|
|
246
|
-
outline-offset:
|
|
245
|
+
outline: 2px solid #face00;
|
|
246
|
+
outline-offset: 2px;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
[type=checkbox]:disabled + label::before,
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
html {
|
|
33
|
-
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
33
|
+
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
34
34
|
font-size: 16px;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -52,8 +52,8 @@ a:hover, a:active {
|
|
|
52
52
|
color: #1a4480;
|
|
53
53
|
}
|
|
54
54
|
a:focus {
|
|
55
|
-
outline: 2px
|
|
56
|
-
outline-offset:
|
|
55
|
+
outline: 2px solid #face00;
|
|
56
|
+
outline-offset: 2px;
|
|
57
57
|
}
|
|
58
58
|
a:visited {
|
|
59
59
|
color: #54278f;
|
|
@@ -190,7 +190,7 @@ dfn {
|
|
|
190
190
|
.usa-sans a,
|
|
191
191
|
.usa-sans li,
|
|
192
192
|
.usa-sans span {
|
|
193
|
-
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
193
|
+
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
194
194
|
}
|
|
195
195
|
.usa-sans a {
|
|
196
196
|
border-bottom: none;
|
|
@@ -1398,7 +1398,7 @@ a.vads-c-action-link--blue, a.vads-c-action-link--green, a.vads-c-action-link--w
|
|
|
1398
1398
|
display: inline-block;
|
|
1399
1399
|
}
|
|
1400
1400
|
a.vads-c-action-link--blue:before, a.vads-c-action-link--green:before, a.vads-c-action-link--white:before {
|
|
1401
|
-
background-image: url("
|
|
1401
|
+
background-image: url("/img/arrow-right-white.svg");
|
|
1402
1402
|
background-size: 18px 18px;
|
|
1403
1403
|
background-repeat: no-repeat;
|
|
1404
1404
|
background-position: center;
|
|
@@ -1426,7 +1426,7 @@ a.vads-c-action-link--white {
|
|
|
1426
1426
|
color: #ffffff;
|
|
1427
1427
|
}
|
|
1428
1428
|
a.vads-c-action-link--white:before {
|
|
1429
|
-
background-image: url("
|
|
1429
|
+
background-image: url("/img/arrow-right.svg");
|
|
1430
1430
|
background-color: #ffffff;
|
|
1431
1431
|
-webkit-transition-duration: 0.3s;
|
|
1432
1432
|
transition-duration: 0.3s;
|
|
@@ -22,10 +22,11 @@
|
|
|
22
22
|
width: 100%;
|
|
23
23
|
}
|
|
24
24
|
.usa-alert::before {
|
|
25
|
-
background-image: url("
|
|
25
|
+
background-image: url("/img/info.svg");
|
|
26
26
|
background-size: 35px 35px;
|
|
27
27
|
background-repeat: no-repeat;
|
|
28
28
|
background-position: center;
|
|
29
|
+
background-color: unset;
|
|
29
30
|
border-radius: 50%;
|
|
30
31
|
content: "";
|
|
31
32
|
height: 31px;
|
|
@@ -35,6 +36,9 @@
|
|
|
35
36
|
font-family: unset;
|
|
36
37
|
font-weight: unset;
|
|
37
38
|
font-size: unset;
|
|
39
|
+
margin-right: 1rem;
|
|
40
|
+
position: static;
|
|
41
|
+
display: block;
|
|
38
42
|
}
|
|
39
43
|
.usa-alert .usa-alert-body {
|
|
40
44
|
display: table-cell;
|
|
@@ -71,7 +75,7 @@
|
|
|
71
75
|
border-left-color: #00a6d2;
|
|
72
76
|
}
|
|
73
77
|
.usa-alert-info::before {
|
|
74
|
-
background-image: url("
|
|
78
|
+
background-image: url("/img/info.svg");
|
|
75
79
|
}
|
|
76
80
|
.usa-alert-info.background-color-only {
|
|
77
81
|
background-color: #e1f3f8;
|
|
@@ -80,7 +84,7 @@
|
|
|
80
84
|
border-left-color: #cd2026;
|
|
81
85
|
}
|
|
82
86
|
.usa-alert-error::before {
|
|
83
|
-
background-image: url("
|
|
87
|
+
background-image: url("/img/error.svg");
|
|
84
88
|
}
|
|
85
89
|
.usa-alert-error.background-color-only {
|
|
86
90
|
background-color: #f9dede;
|
|
@@ -89,7 +93,7 @@
|
|
|
89
93
|
border-left-color: #008817;
|
|
90
94
|
}
|
|
91
95
|
.usa-alert-success::before {
|
|
92
|
-
background-image: url("
|
|
96
|
+
background-image: url("/img/success.svg");
|
|
93
97
|
}
|
|
94
98
|
.usa-alert-success.background-color-only {
|
|
95
99
|
background-color: #e7f4e4;
|
|
@@ -98,7 +102,7 @@
|
|
|
98
102
|
border-left-color: #fdb81e;
|
|
99
103
|
}
|
|
100
104
|
.usa-alert-warning::before {
|
|
101
|
-
background-image: url("
|
|
105
|
+
background-image: url("/img/warning.svg");
|
|
102
106
|
}
|
|
103
107
|
.usa-alert-warning.background-color-only {
|
|
104
108
|
background-color: #fff1d2;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
margin-right: -22.5px;
|
|
15
15
|
}
|
|
16
16
|
.vads-c-emergency-banner .usa-alert .usa-alert-heading {
|
|
17
|
-
font-family: "Source Sans Pro";
|
|
17
|
+
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
18
18
|
font-size: 1rem;
|
|
19
19
|
margin-top: 4px;
|
|
20
20
|
margin-left: 30.5px;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
margin-right: -22.5px;
|
|
15
15
|
}
|
|
16
16
|
.vads-c-maintenance-banner .usa-alert .usa-alert-heading {
|
|
17
|
-
font-family: "Source Sans Pro";
|
|
17
|
+
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
18
18
|
font-size: 1rem;
|
|
19
19
|
margin-top: 4px;
|
|
20
20
|
margin-left: 30.5px;
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
.mega-menu .vetnav-panel--submenu:not([hidden]) h3 {
|
|
109
109
|
display: block;
|
|
110
110
|
color: #000000;
|
|
111
|
-
font-family: Source Sans Pro, sans
|
|
111
|
+
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
112
112
|
font-size: 16px;
|
|
113
113
|
font-weight: bold;
|
|
114
114
|
margin-top: 4px;
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
}
|
|
264
264
|
#mega-menu .vetnav-panel--submenu:not([hidden]) h3,
|
|
265
265
|
.mega-menu .vetnav-panel--submenu:not([hidden]) h3 {
|
|
266
|
-
font-family: Source Sans Pro, sans
|
|
266
|
+
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
267
267
|
font-size: 16px;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
font-size: 15px;
|
|
234
234
|
}
|
|
235
235
|
.va-sidebarnav .usa-sidenav-sub_list a:focus {
|
|
236
|
-
outline: 2px
|
|
236
|
+
outline: 2px solid #face00;
|
|
237
237
|
outline-offset: 0px;
|
|
238
238
|
}
|
|
239
239
|
.va-sidebarnav .usa-sidenav-sub_list a:hover, .va-sidebarnav .usa-sidenav-sub_list a:focus {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
**/
|
|
19
19
|
@media screen and (min-width: 768px), print and (min-width: 768px) {
|
|
20
20
|
[type=submit] {
|
|
21
|
-
margin-top: calc(
|
|
21
|
+
margin-top: calc(1.875rem - 0.2em);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -48,7 +48,7 @@ fieldset {
|
|
|
48
48
|
|
|
49
49
|
.usa-form-note {
|
|
50
50
|
float: right;
|
|
51
|
-
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
51
|
+
font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
52
52
|
font-size: 0.9375rem;
|
|
53
53
|
margin: 0 0 scale(1.5rem);
|
|
54
54
|
}
|
|
@@ -152,6 +152,7 @@ fieldset {
|
|
|
152
152
|
**/
|
|
153
153
|
body .row {
|
|
154
154
|
max-width: 62.5em;
|
|
155
|
+
margin: 0 auto;
|
|
155
156
|
}
|
|
156
157
|
body .row-padded {
|
|
157
158
|
max-width: 62.5rem;
|
|
@@ -5305,7 +5305,7 @@ through all possible variants
|
|
|
5305
5305
|
}
|
|
5306
5306
|
|
|
5307
5307
|
.vads-u-font-family--sans {
|
|
5308
|
-
font-family: Source Sans Pro, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
|
|
5308
|
+
font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
|
|
5309
5309
|
}
|
|
5310
5310
|
|
|
5311
5311
|
.vads-u-font-family--serif {
|
|
@@ -14342,7 +14342,7 @@ through all possible variants
|
|
|
14342
14342
|
order: 0 !important;
|
|
14343
14343
|
}
|
|
14344
14344
|
.medium-screen\:vads-u-font-family--sans {
|
|
14345
|
-
font-family: Source Sans Pro, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
|
|
14345
|
+
font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
|
|
14346
14346
|
}
|
|
14347
14347
|
.medium-screen\:vads-u-font-family--serif {
|
|
14348
14348
|
font-family: Bitter, Georgia, Cambria, Times New Roman, Times, serif !important;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 01 Nov 2024 16:45:08 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -111,10 +111,10 @@
|
|
|
111
111
|
--vads-color-background-default-on-dark: #171716;
|
|
112
112
|
--vads-color-forms-surface-active-on-light: #ecf1f7;
|
|
113
113
|
--vads-color-forms-surface-active-on-dark: #252f3e;
|
|
114
|
-
--font-family-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
|
|
114
|
+
--font-family-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
|
|
115
115
|
--font-family-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
116
116
|
--font-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
117
|
-
--font-source-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
|
|
117
|
+
--font-source-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
|
|
118
118
|
--font-weight-normal: 400;
|
|
119
119
|
--font-weight-bold: 700;
|
|
120
120
|
--font-style-normal: normal;
|
|
@@ -1993,11 +1993,11 @@
|
|
|
1993
1993
|
"font": {
|
|
1994
1994
|
"family": {
|
|
1995
1995
|
"sans": {
|
|
1996
|
-
"value": "'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",
|
|
1996
|
+
"value": "'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",
|
|
1997
1997
|
"filePath": "tokens/fonts.json",
|
|
1998
1998
|
"isSource": true,
|
|
1999
1999
|
"original": {
|
|
2000
|
-
"value": "'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"
|
|
2000
|
+
"value": "'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"
|
|
2001
2001
|
},
|
|
2002
2002
|
"name": "font-family-sans",
|
|
2003
2003
|
"attributes": {
|
|
@@ -2050,11 +2050,11 @@
|
|
|
2050
2050
|
},
|
|
2051
2051
|
"source": {
|
|
2052
2052
|
"sans": {
|
|
2053
|
-
"value": "'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",
|
|
2053
|
+
"value": "'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",
|
|
2054
2054
|
"filePath": "tokens/fonts.json",
|
|
2055
2055
|
"isSource": true,
|
|
2056
2056
|
"original": {
|
|
2057
|
-
"value": "'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"
|
|
2057
|
+
"value": "'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"
|
|
2058
2058
|
},
|
|
2059
2059
|
"name": "font-source-sans",
|
|
2060
2060
|
"attributes": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Fri, 01 Nov 2024 16:45:08 GMT
|
|
4
4
|
|
|
5
5
|
$xsmall-screen: 320px;
|
|
6
6
|
$small-screen: 481px;
|
|
@@ -109,10 +109,10 @@ $vads-color-feedback-border-warning-on-dark: #face00;
|
|
|
109
109
|
$vads-color-background-default-on-dark: #171716;
|
|
110
110
|
$vads-color-forms-surface-active-on-light: #ecf1f7;
|
|
111
111
|
$vads-color-forms-surface-active-on-dark: #252f3e;
|
|
112
|
-
$font-family-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
|
|
112
|
+
$font-family-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
|
|
113
113
|
$font-family-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
114
114
|
$font-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
115
|
-
$font-source-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
|
|
115
|
+
$font-source-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
|
|
116
116
|
$font-weight-normal: 400;
|
|
117
117
|
$font-weight-bold: 700;
|
|
118
118
|
$font-style-normal: normal;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@department-of-veterans-affairs/css-library",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1-rc1",
|
|
4
4
|
"description": "Department of Veterans Affairs stylesheets, tokens, and utilities",
|
|
5
5
|
"packageManager": "yarn@3.2.0",
|
|
6
6
|
"files": [
|
|
@@ -29,4 +29,4 @@
|
|
|
29
29
|
"@uswds/uswds": "^3.8.1",
|
|
30
30
|
"rimraf": "^5.0.5"
|
|
31
31
|
}
|
|
32
|
-
}
|
|
32
|
+
}
|