@department-of-veterans-affairs/css-library 0.14.0 → 0.15.0-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.
@@ -108,7 +108,7 @@ $lead-max-width: scale-rem(77rem);
108
108
  $site-margins-mobile: scale-rem(1.5rem);
109
109
  $nav-width: 951px;
110
110
  $site-margins: scale-rem(3rem);
111
- $site-max-width: 1040px;
111
+ $site-max-width: 1000px;
112
112
 
113
113
  $sidenav-current-border-width: scale-rem(0.4rem);
114
114
 
@@ -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 dotted #aeb0b5;
48
- outline-offset: 3px;
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 dotted #aeb0b5;
56
- outline-offset: 3px;
55
+ outline: 2px solid #face00;
56
+ outline-offset: 2px;
57
57
  }
58
58
 
59
59
  .usa-focus {
60
- outline: 2px dotted #aeb0b5;
61
- outline-offset: 3px;
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 dotted #aeb0b5;
237
- outline-offset: 6px;
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 dotted #aeb0b5;
246
- outline-offset: 3px;
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 dotted #aeb0b5;
56
- outline-offset: 3px;
55
+ outline: 2px solid #face00;
56
+ outline-offset: 2px;
57
57
  }
58
58
  a:visited {
59
59
  color: #54278f;
@@ -176,6 +176,10 @@ dfn {
176
176
  font-style: normal;
177
177
  }
178
178
 
179
+ .usa-content {
180
+ max-width: 43.75rem;
181
+ }
182
+
179
183
  .usa-content p,
180
184
  .usa-content ul:not(.usa-accordion):not(.usa-accordion-bordered),
181
185
  .usa-content ol:not(.usa-accordion):not(.usa-accordion-bordered) {
@@ -190,7 +194,7 @@ dfn {
190
194
  .usa-sans a,
191
195
  .usa-sans li,
192
196
  .usa-sans span {
193
- font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
197
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
194
198
  }
195
199
  .usa-sans a {
196
200
  border-bottom: none;
@@ -6,6 +6,10 @@
6
6
  Variables ported over from Formation so that we can keep those stylesheets
7
7
  working while we work on deprecation.
8
8
  **/
9
+ /**
10
+ Variables ported over from Formation so that we can keep those stylesheets
11
+ working while we work on deprecation.
12
+ **/
9
13
  /**
10
14
  /uswds/dist/scss/lib/addons/_margin.scss
11
15
  **/
@@ -18,7 +22,7 @@
18
22
  border-left-style: solid;
19
23
  border-left-width: 10px;
20
24
  display: table;
21
- padding: units(4) units(8) units(4) units(3);
25
+ padding: 2rem 4rem 2rem 1.5rem;
22
26
  width: 100%;
23
27
  }
24
28
  .usa-alert::before {
@@ -53,7 +57,7 @@
53
57
  padding-top: 0;
54
58
  }
55
59
  .usa-alert-text {
56
- margin-top: units(2.5);
60
+ margin-top: 1.25rem;
57
61
  }
58
62
  .usa-alert-text:only-child {
59
63
  margin: 0;
@@ -66,10 +70,10 @@
66
70
  margin-bottom: 0;
67
71
  }
68
72
  .usa-alert-text .usa-alert-heading + p:only-of-type {
69
- margin-top: units(2.5);
73
+ margin-top: 1.25rem;
70
74
  }
71
75
  .usa-alert-text ul {
72
- padding-left: units(2.5);
76
+ padding-left: 1.25rem;
73
77
  }
74
78
  .usa-alert-info {
75
79
  border-left-color: #00a6d2;
@@ -124,7 +128,7 @@
124
128
  font-size: 1.40625rem;
125
129
  padding: 0;
126
130
  position: absolute;
127
- margin: units(2);
131
+ margin: 1rem;
128
132
  right: 0;
129
133
  top: 0;
130
134
  width: auto;
@@ -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;
@@ -207,7 +207,7 @@
207
207
  }
208
208
 
209
209
  .schemaform-array-row-title:focus {
210
- outline: 2px dotted #aeb0b5;
210
+ outline: 2px solid #face00;
211
211
  outline-offset: 2px;
212
212
  display: inline-block;
213
213
  }
@@ -2,19 +2,23 @@
2
2
  Variables ported over from Formation so that we can keep those stylesheets
3
3
  working while we work on deprecation.
4
4
  **/
5
+ /**
6
+ Variables ported over from Formation so that we can keep those stylesheets
7
+ working while we work on deprecation.
8
+ **/
5
9
  .loading-indicator-container {
6
10
  text-align: center;
7
11
  }
8
12
  .loading-indicator-container .loading-indicator {
9
13
  display: block;
10
- height: units(8);
11
- margin-top: units(2);
14
+ height: 4rem;
15
+ margin-top: 1rem;
12
16
  }
13
17
  .loading-indicator-container .loading-indicator:after {
14
18
  content: " ";
15
19
  display: inline-block;
16
- width: units(7);
17
- height: units(7);
20
+ width: 3.5rem;
21
+ height: 3.5rem;
18
22
  margin: 1px;
19
23
  border-radius: 50%;
20
24
  border: 8px solid #005ea2;
@@ -26,7 +30,7 @@
26
30
  }
27
31
 
28
32
  .async-loader {
29
- padding-bottom: units(1);
33
+ padding-bottom: 0.5rem;
30
34
  }
31
35
 
32
36
  @keyframes spin {
@@ -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 serif;
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 serif;
266
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
267
267
  font-size: 16px;
268
268
  }
269
269
  }
@@ -6,6 +6,10 @@
6
6
  Variables ported over from Formation so that we can keep those stylesheets
7
7
  working while we work on deprecation.
8
8
  **/
9
+ /**
10
+ Variables ported over from Formation so that we can keep those stylesheets
11
+ working while we work on deprecation.
12
+ **/
9
13
  /**
10
14
  /uswds/dist/scss/lib/addons/_margin.scss
11
15
  **/
@@ -33,14 +37,14 @@
33
37
  }
34
38
  }
35
39
  .va-modal .va-modal-body {
36
- margin-right: units(2.5);
40
+ margin-right: 1.25rem;
37
41
  }
38
42
  .va-modal .va-modal-body p:first-of-type {
39
43
  margin-top: 0;
40
44
  }
41
45
  .va-modal-title {
42
46
  margin: 0;
43
- margin-bottom: units(2);
47
+ margin-bottom: 1rem;
44
48
  }
45
49
  .va-modal-inner {
46
50
  background: #ffffff;
@@ -62,17 +66,17 @@
62
66
  max-width: 37.5rem;
63
67
  }
64
68
  .va-modal-alert .alert-actions {
65
- margin-top: units(3);
69
+ margin-top: 1.5rem;
66
70
  }
67
71
  .va-modal-alert .alert-actions button {
68
72
  margin: 0;
69
73
  }
70
74
  .va-modal-alert .alert-actions button + button {
71
- margin-left: units(2.5);
75
+ margin-left: 1.25rem;
72
76
  }
73
77
  .va-modal-body {
74
78
  overflow-wrap: break-word;
75
- padding: units(2.5);
79
+ padding: 1.25rem;
76
80
  word-break: break-word;
77
81
  word-wrap: break-word;
78
82
  }
@@ -99,7 +103,7 @@ button.va-modal-close {
99
103
  font-size: 1.40625rem;
100
104
  padding: 0;
101
105
  position: absolute;
102
- margin: units(2);
106
+ margin: 1rem;
103
107
  right: 0;
104
108
  top: 0;
105
109
  width: auto;
@@ -7,6 +7,10 @@
7
7
  Variables ported over from Formation so that we can keep those stylesheets
8
8
  working while we work on deprecation.
9
9
  **/
10
+ /**
11
+ Variables ported over from Formation so that we can keep those stylesheets
12
+ working while we work on deprecation.
13
+ **/
10
14
  /**
11
15
  /uswds/dist/scss/lib/addons/_margin.scss
12
16
  **/
@@ -233,7 +237,7 @@
233
237
  font-size: 15px;
234
238
  }
235
239
  .va-sidebarnav .usa-sidenav-sub_list a:focus {
236
- outline: 2px dotted #aeb0b5;
240
+ outline: 2px solid #face00;
237
241
  outline-offset: 0px;
238
242
  }
239
243
  .va-sidebarnav .usa-sidenav-sub_list a:hover, .va-sidebarnav .usa-sidenav-sub_list a:focus {
@@ -305,13 +309,13 @@
305
309
  .va-btn-sidebarnav-trigger .button-wrapper {
306
310
  position: absolute;
307
311
  width: 100%;
308
- padding: units(1) units(1) units(2);
312
+ padding: 0.5rem 0.5rem 1rem;
309
313
  }
310
314
  .va-btn-sidebarnav-trigger button {
311
315
  background-color: #ffffff;
312
316
  color: #005ea2;
313
317
  margin: 0;
314
- padding: units(1.5);
318
+ padding: 0.75rem;
315
319
  border: 1px solid #005ea2;
316
320
  border-radius: 4px;
317
321
  width: 100%;
@@ -320,7 +324,7 @@
320
324
  justify-content: space-between;
321
325
  }
322
326
  .va-btn-sidebarnav-trigger button strong {
323
- line-height: units(2.5);
327
+ line-height: 1.25rem;
324
328
  }
325
329
  .va-btn-sidebarnav-trigger button svg {
326
330
  fill: #005ea2;
@@ -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(3rem - 0.2em);
21
+ margin-top: calc(1.875rem - 0.2em);
22
22
  }
23
23
  }
24
24
 
@@ -30,7 +30,7 @@ fieldset {
30
30
 
31
31
  @media screen and (min-width: 768px), print and (min-width: 768px) {
32
32
  .usa-form {
33
- max-width: 20rem;
33
+ max-width: 32rem;
34
34
  }
35
35
  }
36
36
 
@@ -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;
@@ -161,7 +162,7 @@ body .row-padded {
161
162
 
162
163
  @media screen and (min-width: 768px), print and (min-width: 768px) {
163
164
  .form-panel {
164
- max-width: 20rem;
165
+ max-width: 32rem;
165
166
  }
166
167
  }
167
168
 
@@ -5796,13 +5796,17 @@ through all possible variants
5796
5796
  }
5797
5797
 
5798
5798
  .vads-u-font-family--sans {
5799
- font-family: Source Sans Pro, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
5799
+ font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
5800
5800
  }
5801
5801
 
5802
5802
  .vads-u-font-family--serif {
5803
5803
  font-family: Bitter, Georgia, Cambria, Times New Roman, Times, serif !important;
5804
5804
  }
5805
5805
 
5806
+ .vads-u-font-size--source-sans-normalized {
5807
+ font-size: 1.063rem !important;
5808
+ }
5809
+
5806
5810
  .vads-u-font-size--sm {
5807
5811
  font-size: 0.938rem !important;
5808
5812
  }
@@ -7561,6 +7565,9 @@ through all possible variants
7561
7565
  .mobile\:vads-u-order--initial {
7562
7566
  order: 0 !important;
7563
7567
  }
7568
+ .mobile\:vads-u-font-size--source-sans-normalized {
7569
+ font-size: 1.063rem !important;
7570
+ }
7564
7571
  .mobile\:vads-u-font-size--sm {
7565
7572
  font-size: 0.938rem !important;
7566
7573
  }
@@ -8948,6 +8955,9 @@ through all possible variants
8948
8955
  .mobile-lg\:vads-u-order--initial {
8949
8956
  order: 0 !important;
8950
8957
  }
8958
+ .mobile-lg\:vads-u-font-size--source-sans-normalized {
8959
+ font-size: 1.063rem !important;
8960
+ }
8951
8961
  .mobile-lg\:vads-u-font-size--sm {
8952
8962
  font-size: 0.938rem !important;
8953
8963
  }
@@ -10335,6 +10345,9 @@ through all possible variants
10335
10345
  .tablet\:vads-u-order--initial {
10336
10346
  order: 0 !important;
10337
10347
  }
10348
+ .tablet\:vads-u-font-size--source-sans-normalized {
10349
+ font-size: 1.063rem !important;
10350
+ }
10338
10351
  .tablet\:vads-u-font-size--sm {
10339
10352
  font-size: 0.938rem !important;
10340
10353
  }
@@ -11722,6 +11735,9 @@ through all possible variants
11722
11735
  .desktop\:vads-u-order--initial {
11723
11736
  order: 0 !important;
11724
11737
  }
11738
+ .desktop\:vads-u-font-size--source-sans-normalized {
11739
+ font-size: 1.063rem !important;
11740
+ }
11725
11741
  .desktop\:vads-u-font-size--sm {
11726
11742
  font-size: 0.938rem !important;
11727
11743
  }
@@ -13109,6 +13125,9 @@ through all possible variants
13109
13125
  .desktop-lg\:vads-u-order--initial {
13110
13126
  order: 0 !important;
13111
13127
  }
13128
+ .desktop-lg\:vads-u-font-size--source-sans-normalized {
13129
+ font-size: 1.063rem !important;
13130
+ }
13112
13131
  .desktop-lg\:vads-u-font-size--sm {
13113
13132
  font-size: 0.938rem !important;
13114
13133
  }
@@ -14496,6 +14515,9 @@ through all possible variants
14496
14515
  .medium-screen\:vads-u-order--initial {
14497
14516
  order: 0 !important;
14498
14517
  }
14518
+ .medium-screen\:vads-u-font-size--source-sans-normalized {
14519
+ font-size: 1.063rem !important;
14520
+ }
14499
14521
  .medium-screen\:vads-u-font-size--sm {
14500
14522
  font-size: 0.938rem !important;
14501
14523
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 07 Nov 2024 18:04:41 GMT
3
+ * Generated on Wed, 27 Nov 2024 17:13:08 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -103,6 +103,10 @@
103
103
  --vads-color-action-surface-destructive-on-dark: #fb5a47;
104
104
  --vads-color-action-border-base-active-on-light: #2e2e2e;
105
105
  --vads-color-action-border-base-active-on-dark: #adadad;
106
+ --vads-color-feedback-foreground-success-on-dark: #21c834;
107
+ --vads-color-feedback-foreground-success-on-light: #008817;
108
+ --vads-color-feedback-foreground-warning-on-dark: #e5a000;
109
+ --vads-color-feedback-foreground-warning-on-light: #c2850c;
106
110
  --vads-color-feedback-surface-info-on-dark: #112f4e;
107
111
  --vads-color-feedback-surface-success-on-dark: #19311e;
108
112
  --vads-color-feedback-surface-warning-on-dark: #422d19;
@@ -111,16 +115,16 @@
111
115
  --vads-color-background-default-on-dark: #171716;
112
116
  --vads-color-forms-surface-active-on-light: #ecf1f7;
113
117
  --vads-color-forms-surface-active-on-dark: #252f3e;
114
- --font-family-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
118
+ --font-family-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
115
119
  --font-family-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
116
120
  --font-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
117
- --font-source-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
121
+ --font-source-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
118
122
  --font-weight-normal: 400;
119
123
  --font-weight-bold: 700;
120
124
  --font-style-normal: normal;
121
125
  --font-style-italic: italic;
122
126
  --font-size-sm: 0.938rem;
123
- --font-size-base: 1rem;
127
+ --font-size-root: 1rem;
124
128
  --font-size-md: 1.063rem;
125
129
  --font-size-lg: 1.25rem;
126
130
  --font-size-xl: 1.875rem;
@@ -135,6 +139,8 @@
135
139
  --vads-font-line-height-body-lead: 1.75;
136
140
  --vads-font-line-height-default: 1.5;
137
141
  --vads-font-line-height-heading: 1.2;
142
+ --vads-font-size-source-sans-normalized: 1.06rem;
143
+ --vads-font-size-root: 1rem;
138
144
  --vads-font-size-body-large: 20px;
139
145
  --vads-font-size-body-lead: 20px;
140
146
  --vads-font-size-body-medium: 17px;
@@ -224,6 +230,7 @@
224
230
  --uswds-system-color-gold-vivid-10: #ffe396;
225
231
  --uswds-system-color-gold-vivid-20: #ffbe2e;
226
232
  --uswds-system-color-gold-vivid-30: #e5a000;
233
+ --uswds-system-color-gold-vivid-40: #c2850c;
227
234
  --uswds-system-color-gold-vivid-50: #936f38;
228
235
  --uswds-system-color-gray-1: #fcfcfc;
229
236
  --uswds-system-color-gray-2: #f9f9f9;
@@ -263,6 +270,7 @@
263
270
  --uswds-system-color-green-cool-40: #5e9f69;
264
271
  --uswds-system-color-green-cool-50: #4d8055;
265
272
  --uswds-system-color-green-cool-vivid-20: #70e17b;
273
+ --uswds-system-color-green-cool-vivid-30: #21c834;
266
274
  --uswds-system-color-green-cool-vivid-40: #00a91c;
267
275
  --uswds-system-color-green-cool-vivid-50: #008817;
268
276
  --uswds-system-color-green-cool-vivid-60: #216e1f;