@department-of-veterans-affairs/css-library 0.13.1 → 0.14.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.
@@ -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;
@@ -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;
@@ -572,6 +572,15 @@ https://designsystem.digital.gov/utilities
572
572
  */
573
573
  /*
574
574
  ----------------------------------------
575
+ map-collect()
576
+ ----------------------------------------
577
+ Collect multiple maps into a single
578
+ large map
579
+ source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
580
+ ----------------------------------------
581
+ */
582
+ /*
583
+ ----------------------------------------
575
584
  Utility breakpoints
576
585
  ----------------------------------------
577
586
  Which breakpoints does your project
@@ -610,15 +619,6 @@ being passed in a mixin's props
610
619
  */
611
620
  /*
612
621
  ----------------------------------------
613
- map-collect()
614
- ----------------------------------------
615
- Collect multiple maps into a single
616
- large map
617
- source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
618
- ----------------------------------------
619
- */
620
- /*
621
- ----------------------------------------
622
622
  map-deep-get()
623
623
  ----------------------------------------
624
624
  @author Hugo Giraudel
@@ -1160,18 +1160,25 @@ Converts a value in px to a value in rem
1160
1160
  */
1161
1161
  /*
1162
1162
  ----------------------------------------
1163
- rem-to-px()
1163
+ rem-to-user-em()
1164
1164
  ----------------------------------------
1165
- Converts a value in rem to a value in px
1165
+ Converts a value in rem to a value in
1166
+ [user-settings] em for use in media
1167
+ queries
1166
1168
  ----------------------------------------
1167
1169
  */
1168
1170
  /*
1169
1171
  ----------------------------------------
1170
- rem-to-user-em()
1172
+ px-to-user-em()
1171
1173
  ----------------------------------------
1172
- Converts a value in rem to a value in
1173
- [user-settings] em for use in media
1174
- queries
1174
+ Converts a value in px to a value in em
1175
+ ----------------------------------------
1176
+ */
1177
+ /*
1178
+ ----------------------------------------
1179
+ rem-to-px()
1180
+ ----------------------------------------
1181
+ Converts a value in rem to a value in px
1175
1182
  ----------------------------------------
1176
1183
  */
1177
1184
  /*
@@ -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
 
@@ -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;
@@ -499,6 +499,15 @@ https://designsystem.digital.gov/utilities
499
499
  */
500
500
  /*
501
501
  ----------------------------------------
502
+ map-collect()
503
+ ----------------------------------------
504
+ Collect multiple maps into a single
505
+ large map
506
+ source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
507
+ ----------------------------------------
508
+ */
509
+ /*
510
+ ----------------------------------------
502
511
  Utility breakpoints
503
512
  ----------------------------------------
504
513
  Which breakpoints does your project
@@ -595,15 +604,6 @@ being passed in a mixin's props
595
604
  */
596
605
  /*
597
606
  ----------------------------------------
598
- map-collect()
599
- ----------------------------------------
600
- Collect multiple maps into a single
601
- large map
602
- source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
603
- ----------------------------------------
604
- */
605
- /*
606
- ----------------------------------------
607
607
  map-deep-get()
608
608
  ----------------------------------------
609
609
  @author Hugo Giraudel
@@ -756,18 +756,25 @@ Converts a value in px to a value in rem
756
756
  */
757
757
  /*
758
758
  ----------------------------------------
759
- rem-to-px()
759
+ rem-to-user-em()
760
760
  ----------------------------------------
761
- Converts a value in rem to a value in px
761
+ Converts a value in rem to a value in
762
+ [user-settings] em for use in media
763
+ queries
762
764
  ----------------------------------------
763
765
  */
764
766
  /*
765
767
  ----------------------------------------
766
- rem-to-user-em()
768
+ px-to-user-em()
767
769
  ----------------------------------------
768
- Converts a value in rem to a value in
769
- [user-settings] em for use in media
770
- queries
770
+ Converts a value in px to a value in em
771
+ ----------------------------------------
772
+ */
773
+ /*
774
+ ----------------------------------------
775
+ rem-to-px()
776
+ ----------------------------------------
777
+ Converts a value in rem to a value in px
771
778
  ----------------------------------------
772
779
  */
773
780
  /*
@@ -1936,6 +1943,15 @@ https://designsystem.digital.gov/utilities
1936
1943
  */
1937
1944
  /*
1938
1945
  ----------------------------------------
1946
+ map-collect()
1947
+ ----------------------------------------
1948
+ Collect multiple maps into a single
1949
+ large map
1950
+ source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
1951
+ ----------------------------------------
1952
+ */
1953
+ /*
1954
+ ----------------------------------------
1939
1955
  Utility breakpoints
1940
1956
  ----------------------------------------
1941
1957
  Which breakpoints does your project
@@ -2025,15 +2041,6 @@ being passed in a mixin's props
2025
2041
  */
2026
2042
  /*
2027
2043
  ----------------------------------------
2028
- map-collect()
2029
- ----------------------------------------
2030
- Collect multiple maps into a single
2031
- large map
2032
- source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
2033
- ----------------------------------------
2034
- */
2035
- /*
2036
- ----------------------------------------
2037
2044
  map-deep-get()
2038
2045
  ----------------------------------------
2039
2046
  @author Hugo Giraudel
@@ -2563,18 +2570,25 @@ Converts a value in px to a value in rem
2563
2570
  */
2564
2571
  /*
2565
2572
  ----------------------------------------
2566
- rem-to-px()
2573
+ rem-to-user-em()
2567
2574
  ----------------------------------------
2568
- Converts a value in rem to a value in px
2575
+ Converts a value in rem to a value in
2576
+ [user-settings] em for use in media
2577
+ queries
2569
2578
  ----------------------------------------
2570
2579
  */
2571
2580
  /*
2572
2581
  ----------------------------------------
2573
- rem-to-user-em()
2582
+ px-to-user-em()
2574
2583
  ----------------------------------------
2575
- Converts a value in rem to a value in
2576
- [user-settings] em for use in media
2577
- queries
2584
+ Converts a value in px to a value in em
2585
+ ----------------------------------------
2586
+ */
2587
+ /*
2588
+ ----------------------------------------
2589
+ rem-to-px()
2590
+ ----------------------------------------
2591
+ Converts a value in rem to a value in px
2578
2592
  ----------------------------------------
2579
2593
  */
2580
2594
  /*
@@ -3359,6 +3373,15 @@ https://designsystem.digital.gov/utilities
3359
3373
  */
3360
3374
  /*
3361
3375
  ----------------------------------------
3376
+ map-collect()
3377
+ ----------------------------------------
3378
+ Collect multiple maps into a single
3379
+ large map
3380
+ source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
3381
+ ----------------------------------------
3382
+ */
3383
+ /*
3384
+ ----------------------------------------
3362
3385
  Utility breakpoints
3363
3386
  ----------------------------------------
3364
3387
  Which breakpoints does your project
@@ -3397,15 +3420,6 @@ being passed in a mixin's props
3397
3420
  */
3398
3421
  /*
3399
3422
  ----------------------------------------
3400
- map-collect()
3401
- ----------------------------------------
3402
- Collect multiple maps into a single
3403
- large map
3404
- source: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe
3405
- ----------------------------------------
3406
- */
3407
- /*
3408
- ----------------------------------------
3409
3423
  map-deep-get()
3410
3424
  ----------------------------------------
3411
3425
  @author Hugo Giraudel
@@ -3935,18 +3949,25 @@ Converts a value in px to a value in rem
3935
3949
  */
3936
3950
  /*
3937
3951
  ----------------------------------------
3938
- rem-to-px()
3952
+ rem-to-user-em()
3939
3953
  ----------------------------------------
3940
- Converts a value in rem to a value in px
3954
+ Converts a value in rem to a value in
3955
+ [user-settings] em for use in media
3956
+ queries
3941
3957
  ----------------------------------------
3942
3958
  */
3943
3959
  /*
3944
3960
  ----------------------------------------
3945
- rem-to-user-em()
3961
+ px-to-user-em()
3946
3962
  ----------------------------------------
3947
- Converts a value in rem to a value in
3948
- [user-settings] em for use in media
3949
- queries
3963
+ Converts a value in px to a value in em
3964
+ ----------------------------------------
3965
+ */
3966
+ /*
3967
+ ----------------------------------------
3968
+ rem-to-px()
3969
+ ----------------------------------------
3970
+ Converts a value in rem to a value in px
3950
3971
  ----------------------------------------
3951
3972
  */
3952
3973
  /*