@department-of-veterans-affairs/css-library 0.7.3 → 0.8.0

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.
Files changed (50) hide show
  1. package/dist/fonts/bitter-bold.ttf +0 -0
  2. package/dist/fonts/bitter-bold.woff2 +0 -0
  3. package/dist/fonts/bitter-regular.ttf +0 -0
  4. package/dist/fonts/bitter-regular.woff2 +0 -0
  5. package/dist/stylesheets/_mixins.scss +452 -0
  6. package/dist/stylesheets/base/fonts.css +1589 -0
  7. package/dist/stylesheets/base/utils.css +137 -0
  8. package/dist/stylesheets/base/va.css +1843 -0
  9. package/dist/{full.css → stylesheets/core.css} +341 -2299
  10. package/dist/stylesheets/formation-overrides/_variables.scss +170 -0
  11. package/dist/stylesheets/formation-overrides/core/base.css +64 -0
  12. package/dist/stylesheets/formation-overrides/core/fonts.css +46 -0
  13. package/dist/stylesheets/formation-overrides/elements/buttons.css +562 -0
  14. package/dist/stylesheets/formation-overrides/elements/inputs.css +384 -0
  15. package/dist/stylesheets/formation-overrides/elements/labels.css +28 -0
  16. package/dist/stylesheets/formation-overrides/elements/lists.css +57 -0
  17. package/dist/stylesheets/formation-overrides/elements/table.css +78 -0
  18. package/dist/stylesheets/formation-overrides/elements/typography.css +274 -0
  19. package/dist/stylesheets/mobile-typography.css +13 -0
  20. package/dist/stylesheets/modules/m-action-link.css +1443 -0
  21. package/dist/stylesheets/modules/m-additional-info.css +39 -0
  22. package/dist/stylesheets/modules/m-alert.css +254 -0
  23. package/dist/stylesheets/modules/m-breadcrumbs.css +96 -0
  24. package/dist/stylesheets/modules/m-button.css +153 -0
  25. package/dist/stylesheets/modules/m-dropdown.css +47 -0
  26. package/dist/stylesheets/modules/m-emergency-banner.css +33 -0
  27. package/dist/stylesheets/modules/m-external-link.css +14 -0
  28. package/dist/stylesheets/modules/m-form-elements.css +231 -0
  29. package/dist/stylesheets/modules/m-form-process.css +219 -0
  30. package/dist/stylesheets/modules/m-homepage-hero.css +76 -0
  31. package/dist/stylesheets/modules/m-hub-page-link-list.css +40 -0
  32. package/dist/stylesheets/modules/m-loading-indicator.css +41 -0
  33. package/dist/stylesheets/modules/m-maintenance-banner.css +33 -0
  34. package/dist/stylesheets/modules/m-megamenu.css +365 -0
  35. package/dist/stylesheets/modules/m-modal.css +117 -0
  36. package/dist/stylesheets/modules/m-nav-linklist.css +49 -0
  37. package/dist/stylesheets/modules/m-nav-sidebar.css +349 -0
  38. package/dist/stylesheets/modules/m-omb-info.css +15 -0
  39. package/dist/stylesheets/modules/m-overlay.css +72 -0
  40. package/dist/stylesheets/modules/m-print.css +27 -0
  41. package/dist/stylesheets/modules/m-process-list.css +162 -0
  42. package/dist/stylesheets/modules/va-pagination.css +90 -0
  43. package/dist/stylesheets/modules/va-tabs.css +53 -0
  44. package/dist/stylesheets/shame.css +266 -0
  45. package/dist/{uswds-typography.css → stylesheets/uswds-typography.css} +1 -1
  46. package/dist/{utilities.css → stylesheets/utilities.css} +1978 -1978
  47. package/dist/tokens/css/variables.css +1 -1
  48. package/dist/tokens/scss/variables.scss +1 -1
  49. package/package.json +10 -8
  50. /package/dist/{base → stylesheets/base}/headings.css +0 -0
@@ -0,0 +1,365 @@
1
+ /**
2
+ Variables ported over from Formation so that we can keep those stylesheets
3
+ working while we work on deprecation.
4
+ **/
5
+ /**
6
+ Variables ported over from Formation so that we can keep those stylesheets
7
+ working while we work on deprecation.
8
+ **/
9
+ /**
10
+ /uswds/dist/scss/lib/addons/_margin.scss
11
+ **/
12
+ /**
13
+ uswds/src/stylesheets/lib/helpers/_directional-values.scss
14
+ **/
15
+ #mega-menu,
16
+ .mega-menu {
17
+ flex: 1 0 100%;
18
+ color: #005ea2;
19
+ width: 100%;
20
+ z-index: 2;
21
+ }
22
+ #mega-menu .panel-bottom-link,
23
+ .mega-menu .panel-bottom-link {
24
+ position: unset;
25
+ height: 25px;
26
+ margin-left: 10px;
27
+ margin-right: 10px;
28
+ margin-bottom: 3px;
29
+ border: none;
30
+ }
31
+ #mega-menu .panel-bottom-link a,
32
+ .mega-menu .panel-bottom-link a {
33
+ padding: 20px 25px 20px 7px;
34
+ font-weight: bold;
35
+ }
36
+ #mega-menu .panel-bottom-link a svg,
37
+ .mega-menu .panel-bottom-link a svg {
38
+ width: 15px;
39
+ }
40
+ #mega-menu .column-three,
41
+ .mega-menu .column-three {
42
+ display: none;
43
+ }
44
+ #mega-menu .vetnav-level2,
45
+ .mega-menu .vetnav-level2 {
46
+ width: 100%;
47
+ }
48
+ #mega-menu .panel-top-link:nth-of-type(1),
49
+ .mega-menu .panel-top-link:nth-of-type(1) {
50
+ display: block;
51
+ font-weight: bold;
52
+ padding-top: 15px;
53
+ }
54
+ #mega-menu .vetnav-panel--submenu:not([hidden]),
55
+ .mega-menu .vetnav-panel--submenu:not([hidden]) {
56
+ position: static;
57
+ }
58
+ #mega-menu .vetnav-panel--submenu:not([hidden]) h3,
59
+ .mega-menu .vetnav-panel--submenu:not([hidden]) h3 {
60
+ display: none;
61
+ }
62
+ #mega-menu .back-button,
63
+ .mega-menu .back-button {
64
+ display: block;
65
+ }
66
+ #mega-menu .vetnav-panel,
67
+ .mega-menu .vetnav-panel {
68
+ height: auto;
69
+ }
70
+ #mega-menu .mm-link-container-small,
71
+ .mega-menu .mm-link-container-small {
72
+ background: #112e51;
73
+ height: 100%;
74
+ position: absolute;
75
+ width: 100%;
76
+ top: 0;
77
+ z-index: 200;
78
+ }
79
+ #mega-menu .all-link-arrow,
80
+ .mega-menu .all-link-arrow {
81
+ display: none;
82
+ }
83
+ #mega-menu .vetnav-level1:active, #mega-menu .vetnav-level1:visited, #mega-menu .vetnav-level1:focus, #mega-menu .vetnav-level1:hover,
84
+ .mega-menu .vetnav-level1:active,
85
+ .mega-menu .vetnav-level1:visited,
86
+ .mega-menu .vetnav-level1:focus,
87
+ .mega-menu .vetnav-level1:hover {
88
+ color: #ffffff;
89
+ }
90
+ #mega-menu .mm-links,
91
+ .mega-menu .mm-links {
92
+ white-space: pre-wrap;
93
+ }
94
+ @media screen and (min-width: 768px), print and (min-width: 768px) {
95
+ #mega-menu,
96
+ .mega-menu {
97
+ min-height: 51px;
98
+ }
99
+ #mega-menu .vetnav-panel--submenu:not([hidden]),
100
+ .mega-menu .vetnav-panel--submenu:not([hidden]) {
101
+ position: absolute;
102
+ box-shadow: none;
103
+ width: 260px;
104
+ padding: 72px 0px 0px 28px;
105
+ white-space: normal;
106
+ }
107
+ #mega-menu .vetnav-panel--submenu:not([hidden]) h3,
108
+ .mega-menu .vetnav-panel--submenu:not([hidden]) h3 {
109
+ display: block;
110
+ color: #000000;
111
+ font-family: Source Sans Pro, sans serif;
112
+ font-size: 16px;
113
+ font-weight: bold;
114
+ margin-top: 4px;
115
+ padding: 0;
116
+ }
117
+ #mega-menu .vetnav-panel--submenu:not([hidden]).panel-white,
118
+ .mega-menu .vetnav-panel--submenu:not([hidden]).panel-white {
119
+ padding-top: 22px;
120
+ }
121
+ #mega-menu .vetnav-level1[aria-expanded=true],
122
+ .mega-menu .vetnav-level1[aria-expanded=true] {
123
+ border-top-color: #8a7237;
124
+ }
125
+ #mega-menu .vetnav-level1[aria-expanded=true]:active, #mega-menu .vetnav-level1[aria-expanded=true]:visited, #mega-menu .vetnav-level1[aria-expanded=true]:focus, #mega-menu .vetnav-level1[aria-expanded=true]:hover,
126
+ .mega-menu .vetnav-level1[aria-expanded=true]:active,
127
+ .mega-menu .vetnav-level1[aria-expanded=true]:visited,
128
+ .mega-menu .vetnav-level1[aria-expanded=true]:focus,
129
+ .mega-menu .vetnav-level1[aria-expanded=true]:hover {
130
+ color: #212121;
131
+ }
132
+ #mega-menu .vetnav-level2[aria-expanded=true],
133
+ .mega-menu .vetnav-level2[aria-expanded=true] {
134
+ box-shadow: -3px 0 #8a7237;
135
+ }
136
+ #mega-menu .vetnav-panel,
137
+ .mega-menu .vetnav-panel {
138
+ box-shadow: 0 7px 25px -11px #000000;
139
+ height: 490px;
140
+ width: 1008px;
141
+ left: 0;
142
+ }
143
+ #mega-menu .vetnav-panel .mm-links,
144
+ .mega-menu .vetnav-panel .mm-links {
145
+ padding: 5px 0px;
146
+ }
147
+ #mega-menu .vetnav-panel .mm-link-container,
148
+ .mega-menu .vetnav-panel .mm-link-container {
149
+ width: 225px;
150
+ margin-bottom: 0;
151
+ }
152
+ #mega-menu .column-one,
153
+ .mega-menu .column-one {
154
+ left: 20px;
155
+ }
156
+ #mega-menu .column-one.panel-white,
157
+ .mega-menu .column-one.panel-white {
158
+ background-color: #ffffff;
159
+ border-left: none;
160
+ }
161
+ #mega-menu .column-two,
162
+ .mega-menu .column-two {
163
+ border-left: none;
164
+ left: 280px;
165
+ }
166
+ #mega-menu .column-two.panel-white,
167
+ .mega-menu .column-two.panel-white {
168
+ background-color: #ffffff;
169
+ border-left: none;
170
+ }
171
+ #mega-menu .column-three,
172
+ .mega-menu .column-three {
173
+ border-left: none;
174
+ color: #000000;
175
+ left: 540px;
176
+ white-space: normal;
177
+ }
178
+ #mega-menu .column-three.vetnav-panel--submenu:not([hidden]),
179
+ .mega-menu .column-three.vetnav-panel--submenu:not([hidden]) {
180
+ padding: 86px 20px 20px 14px;
181
+ width: 240px;
182
+ }
183
+ #mega-menu .column-three.vetnav-panel--submenu:not([hidden]).panel-white,
184
+ .mega-menu .column-three.vetnav-panel--submenu:not([hidden]).panel-white {
185
+ padding-top: 30px;
186
+ background-color: #ffffff;
187
+ border-left: none;
188
+ }
189
+ #mega-menu .column-three a,
190
+ .mega-menu .column-three a {
191
+ font-weight: bold;
192
+ padding: 14px 0px 0px 0px;
193
+ }
194
+ #mega-menu .panel-bottom-link,
195
+ .mega-menu .panel-bottom-link {
196
+ margin: 0;
197
+ }
198
+ #mega-menu .all-link-arrow,
199
+ .mega-menu .all-link-arrow {
200
+ display: initial;
201
+ }
202
+ #mega-menu .panel-top-link,
203
+ .mega-menu .panel-top-link {
204
+ display: none !important;
205
+ }
206
+ #mega-menu .vetnav-level2,
207
+ .mega-menu .vetnav-level2 {
208
+ width: 15.1875rem;
209
+ }
210
+ }
211
+ #mega-menu .panel-title,
212
+ .mega-menu .panel-title {
213
+ font-weight: bold;
214
+ color: #000000;
215
+ }
216
+ #mega-menu a.vetnav-level1,
217
+ .mega-menu a.vetnav-level1 {
218
+ color: #ffffff;
219
+ }
220
+ #mega-menu .main-column,
221
+ .mega-menu .main-column {
222
+ left: -230px;
223
+ }
224
+ #mega-menu .main-column.panel-white,
225
+ .mega-menu .main-column.panel-white {
226
+ background-color: #ffffff;
227
+ }
228
+ #mega-menu .mm-marketing-container,
229
+ .mega-menu .mm-marketing-container {
230
+ background-color: #ffffff;
231
+ height: 380px;
232
+ overflow: hidden;
233
+ }
234
+ #mega-menu .mm-marketing-container.mm-marketing-gray,
235
+ .mega-menu .mm-marketing-container.mm-marketing-gray {
236
+ background-color: #f0f0f0;
237
+ }
238
+ #mega-menu .mm-marketing-container .mm-marketing-text,
239
+ .mega-menu .mm-marketing-container .mm-marketing-text {
240
+ padding: 20px;
241
+ }
242
+ #mega-menu .mm-marketing-container p,
243
+ .mega-menu .mm-marketing-container p {
244
+ margin-top: 5px;
245
+ }
246
+ #mega-menu #vetnav-column-one-col .panel-bottom-link,
247
+ .mega-menu #vetnav-column-one-col .panel-bottom-link {
248
+ width: 200%;
249
+ }
250
+ @media screen and (min-width: 768px), print and (min-width: 768px) {
251
+ #mega-menu .panel-top-link,
252
+ .mega-menu .panel-top-link {
253
+ display: none;
254
+ }
255
+ #mega-menu .back-button,
256
+ .mega-menu .back-button {
257
+ display: none;
258
+ }
259
+ #mega-menu .vetnav-panel--submenu:not([hidden]) h3,
260
+ .mega-menu .vetnav-panel--submenu:not([hidden]) h3 {
261
+ font-family: Source Sans Pro, sans serif;
262
+ font-size: 16px;
263
+ }
264
+ }
265
+ #mega-menu #vetnav-menu,
266
+ #mega-menu #vetnav,
267
+ .mega-menu #vetnav-menu,
268
+ .mega-menu #vetnav {
269
+ margin-top: 0;
270
+ }
271
+ #mega-menu .my-va-top-nav,
272
+ .mega-menu .my-va-top-nav {
273
+ margin-left: auto;
274
+ }
275
+ #mega-menu .my-va-top-nav.current-page,
276
+ .mega-menu .my-va-top-nav.current-page {
277
+ margin-left: auto;
278
+ }
279
+ #mega-menu .mm-marketing-container,
280
+ .mega-menu .mm-marketing-container {
281
+ height: 380px;
282
+ }
283
+ #mega-menu .mm-marketing-container p,
284
+ .mega-menu .mm-marketing-container p {
285
+ margin-top: 5px;
286
+ }
287
+ @media screen and (min-width: 768px), print and (min-width: 768px) {
288
+ #mega-menu .current-page,
289
+ .mega-menu .current-page {
290
+ box-shadow: inset 0 -5px 0 #005ea2;
291
+ margin-left: 1rem;
292
+ margin-right: 1rem;
293
+ }
294
+ #mega-menu .current-page a,
295
+ .mega-menu .current-page a {
296
+ padding: 1rem 0;
297
+ }
298
+ #mega-menu .vetnav-panel,
299
+ .mega-menu .vetnav-panel {
300
+ width: 768px;
301
+ height: 380px;
302
+ }
303
+ #mega-menu .column-one,
304
+ .mega-menu .column-one {
305
+ width: 24.375rem;
306
+ }
307
+ #mega-menu .column-two,
308
+ .mega-menu .column-two {
309
+ width: 24.375rem;
310
+ }
311
+ #mega-menu .column-three,
312
+ .mega-menu .column-three {
313
+ display: none;
314
+ }
315
+ #mega-menu .panel-bottom-link,
316
+ .mega-menu .panel-bottom-link {
317
+ position: absolute;
318
+ height: 60px;
319
+ width: 471px;
320
+ left: 280px;
321
+ border-bottom: 1px solid #d0d0d0;
322
+ z-index: 3;
323
+ top: 0;
324
+ }
325
+ #mega-menu .panel-bottom-link a,
326
+ .mega-menu .panel-bottom-link a {
327
+ background-size: 13px;
328
+ padding: 20px 0px;
329
+ display: inline-block;
330
+ padding-right: 25px;
331
+ }
332
+ #mega-menu .panel-bottom-link a svg,
333
+ .mega-menu .panel-bottom-link a svg {
334
+ height: 11px;
335
+ width: 11px;
336
+ margin-left: 5px;
337
+ vertical-align: middle;
338
+ }
339
+ }
340
+ @media screen and (min-width: 1008px), print and (min-width: 1008px) {
341
+ #mega-menu .vetnav-panel,
342
+ .mega-menu .vetnav-panel {
343
+ width: 1008px;
344
+ height: 490px;
345
+ }
346
+ #mega-menu .panel-bottom-link,
347
+ .mega-menu .panel-bottom-link {
348
+ position: absolute;
349
+ width: 711px;
350
+ }
351
+ #mega-menu .column-one,
352
+ .mega-menu .column-one {
353
+ width: 260px;
354
+ }
355
+ #mega-menu .column-two,
356
+ .mega-menu .column-two {
357
+ width: 260px;
358
+ }
359
+ #mega-menu .column-three,
360
+ .mega-menu .column-three {
361
+ display: block;
362
+ }
363
+ }
364
+
365
+ /*# sourceMappingURL=m-megamenu.css.map */
@@ -0,0 +1,117 @@
1
+ /**
2
+ Variables ported over from Formation so that we can keep those stylesheets
3
+ working while we work on deprecation.
4
+ **/
5
+ /**
6
+ Variables ported over from Formation so that we can keep those stylesheets
7
+ working while we work on deprecation.
8
+ **/
9
+ /**
10
+ /uswds/dist/scss/lib/addons/_margin.scss
11
+ **/
12
+ /**
13
+ uswds/src/stylesheets/lib/helpers/_directional-values.scss
14
+ **/
15
+ #va-modal {
16
+ display: none;
17
+ }
18
+
19
+ .va-modal {
20
+ background: rgba(50, 58, 69, 0.8);
21
+ content: " ";
22
+ display: block;
23
+ height: 100%;
24
+ left: 0;
25
+ position: fixed;
26
+ top: 0;
27
+ width: 100%;
28
+ z-index: 6;
29
+ }
30
+ @media screen and (max-width: 481px) {
31
+ .va-modal {
32
+ overflow-y: scroll;
33
+ }
34
+ }
35
+ .va-modal .va-modal-body {
36
+ margin-right: units(2.5);
37
+ }
38
+ .va-modal .va-modal-body p:first-of-type {
39
+ margin-top: 0;
40
+ }
41
+ .va-modal-title {
42
+ margin: 0;
43
+ margin-bottom: units(2);
44
+ }
45
+ .va-modal-inner {
46
+ background: #ffffff;
47
+ margin: auto;
48
+ max-width: 25rem;
49
+ position: relative;
50
+ top: 50%;
51
+ transform: translateY(-50%);
52
+ width: 100%;
53
+ cursor: auto;
54
+ }
55
+ @media screen and (max-width: 481px) {
56
+ .va-modal-inner {
57
+ transform: none;
58
+ top: 0;
59
+ }
60
+ }
61
+ .va-modal-alert {
62
+ max-width: 37.5rem;
63
+ }
64
+ .va-modal-alert .alert-actions {
65
+ margin-top: units(3);
66
+ }
67
+ .va-modal-alert .alert-actions button {
68
+ margin: 0;
69
+ }
70
+ .va-modal-alert .alert-actions button + button {
71
+ margin-left: units(2.5);
72
+ }
73
+ .va-modal-body {
74
+ overflow-wrap: break-word;
75
+ padding: units(2.5);
76
+ word-break: break-word;
77
+ word-wrap: break-word;
78
+ }
79
+ .va-modal-large .va-modal-inner {
80
+ max-width: 46.875rem;
81
+ width: 75vw;
82
+ }
83
+ .va-modal-large .va-modal-inner .va-modal-body {
84
+ max-height: 95vh;
85
+ overflow-y: auto;
86
+ }
87
+
88
+ .va-modal-body h3 {
89
+ margin-top: 0;
90
+ }
91
+
92
+ .va-modal button {
93
+ white-space: nowrap;
94
+ }
95
+
96
+ button.va-modal-close {
97
+ background-color: transparent;
98
+ color: #005ea2;
99
+ font-size: 1.40625rem;
100
+ padding: 0;
101
+ position: absolute;
102
+ margin: units(2);
103
+ right: 0;
104
+ top: 0;
105
+ width: auto;
106
+ z-index: 9;
107
+ }
108
+ button.va-modal-close:hover {
109
+ background-color: transparent;
110
+ color: #1a4480;
111
+ }
112
+ button.va-modal-close:active {
113
+ background-color: transparent;
114
+ color: #112e51;
115
+ }
116
+
117
+ /*# sourceMappingURL=m-modal.css.map */
@@ -0,0 +1,49 @@
1
+ /**
2
+ Variables ported over from Formation so that we can keep those stylesheets
3
+ working while we work on deprecation.
4
+ **/
5
+ .va-nav-linkslist {
6
+ margin: 0.625rem 0 0;
7
+ padding: 0 0 0.625rem 0;
8
+ }
9
+ .va-nav-linkslist--related {
10
+ background: #f1f1f1;
11
+ padding: 0.0625rem 1rem;
12
+ margin: 1.625rem 0 2.5rem;
13
+ }
14
+ .va-nav-linkslist-heading {
15
+ border-bottom: 1px solid #aeb0b5;
16
+ margin: 0;
17
+ padding: 1rem 0 0.25rem;
18
+ font-size: 1.5em;
19
+ }
20
+ .va-nav-linkslist-list {
21
+ list-style: none;
22
+ margin: 0;
23
+ padding-left: 0;
24
+ }
25
+ .va-nav-linkslist-list a {
26
+ background: transparent;
27
+ display: block;
28
+ padding: 0;
29
+ text-decoration: none;
30
+ }
31
+ .va-nav-linkslist-list li {
32
+ margin: 1rem 0;
33
+ }
34
+ .va-nav-linkslist-title {
35
+ color: #005ea2;
36
+ padding: 0;
37
+ }
38
+ a:hover .va-nav-linkslist-title {
39
+ text-decoration: underline;
40
+ }
41
+ .va-nav-linkslist-description {
42
+ color: #212121;
43
+ margin: 0;
44
+ }
45
+ .va-nav-linkslist-link {
46
+ cursor: default;
47
+ }
48
+
49
+ /*# sourceMappingURL=m-nav-linklist.css.map */