@department-of-veterans-affairs/css-library 0.7.4 → 0.8.1
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/fonts/bitter-bold.ttf +0 -0
- package/dist/fonts/bitter-bold.woff2 +0 -0
- package/dist/fonts/bitter-regular.ttf +0 -0
- package/dist/fonts/bitter-regular.woff2 +0 -0
- package/dist/stylesheets/_mixins.scss +452 -0
- package/dist/stylesheets/base/fonts.css +1589 -0
- package/dist/stylesheets/base/utils.css +137 -0
- package/dist/stylesheets/base/va.css +1843 -0
- package/dist/{full.css → stylesheets/core.css} +341 -2299
- package/dist/stylesheets/formation-overrides/_variables.scss +170 -0
- package/dist/stylesheets/formation-overrides/core/base.css +64 -0
- package/dist/stylesheets/formation-overrides/core/fonts.css +46 -0
- package/dist/stylesheets/formation-overrides/elements/buttons.css +562 -0
- package/dist/stylesheets/formation-overrides/elements/inputs.css +384 -0
- package/dist/stylesheets/formation-overrides/elements/labels.css +28 -0
- package/dist/stylesheets/formation-overrides/elements/lists.css +57 -0
- package/dist/stylesheets/formation-overrides/elements/table.css +78 -0
- package/dist/stylesheets/formation-overrides/elements/typography.css +274 -0
- package/dist/stylesheets/mobile-typography.css +13 -0
- package/dist/stylesheets/modules/m-action-link.css +1443 -0
- package/dist/stylesheets/modules/m-additional-info.css +39 -0
- package/dist/stylesheets/modules/m-alert.css +254 -0
- package/dist/stylesheets/modules/m-breadcrumbs.css +96 -0
- package/dist/stylesheets/modules/m-button.css +153 -0
- package/dist/stylesheets/modules/m-dropdown.css +47 -0
- package/dist/stylesheets/modules/m-emergency-banner.css +33 -0
- package/dist/stylesheets/modules/m-external-link.css +14 -0
- package/dist/stylesheets/modules/m-form-elements.css +231 -0
- package/dist/stylesheets/modules/m-form-process.css +219 -0
- package/dist/stylesheets/modules/m-homepage-hero.css +76 -0
- package/dist/stylesheets/modules/m-hub-page-link-list.css +40 -0
- package/dist/stylesheets/modules/m-loading-indicator.css +41 -0
- package/dist/stylesheets/modules/m-maintenance-banner.css +33 -0
- package/dist/stylesheets/modules/m-megamenu.css +365 -0
- package/dist/stylesheets/modules/m-modal.css +117 -0
- package/dist/stylesheets/modules/m-nav-linklist.css +49 -0
- package/dist/stylesheets/modules/m-nav-sidebar.css +349 -0
- package/dist/stylesheets/modules/m-omb-info.css +15 -0
- package/dist/stylesheets/modules/m-overlay.css +72 -0
- package/dist/stylesheets/modules/m-print.css +27 -0
- package/dist/stylesheets/modules/m-process-list.css +162 -0
- package/dist/stylesheets/modules/va-pagination.css +90 -0
- package/dist/stylesheets/modules/va-tabs.css +53 -0
- package/dist/stylesheets/shame.css +266 -0
- package/dist/{uswds-typography.css → stylesheets/uswds-typography.css} +1 -1
- package/dist/tokens/css/variables.css +1 -1
- package/dist/tokens/scss/variables.scss +1 -1
- package/package.json +8 -6
- /package/dist/{base → stylesheets/base}/headings.css +0 -0
- /package/dist/{utilities.css → stylesheets/utilities.css} +0 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Original: @import "~uswds/src/stylesheets/elements/typography";
|
|
3
|
+
***THIS IS USWDS v1***
|
|
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
|
+
/**
|
|
16
|
+
Variables ported over from Formation so that we can keep those stylesheets
|
|
17
|
+
working while we work on deprecation.
|
|
18
|
+
**/
|
|
19
|
+
/*
|
|
20
|
+
Original: @import "~uswds/src/stylesheets/elements/typography";
|
|
21
|
+
***THIS IS USWDS v1***
|
|
22
|
+
*/
|
|
23
|
+
/*
|
|
24
|
+
Original: @import "~uswds/src/stylesheets/core/utilities";
|
|
25
|
+
***THIS IS USWDS v1***
|
|
26
|
+
*/
|
|
27
|
+
.usa-sr-only {
|
|
28
|
+
position: absolute;
|
|
29
|
+
left: -999em;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
html {
|
|
33
|
+
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
34
|
+
font-size: 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
body {
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
a {
|
|
42
|
+
color: #005ea2;
|
|
43
|
+
text-decoration: underline;
|
|
44
|
+
}
|
|
45
|
+
a:hover, a:active {
|
|
46
|
+
color: #1a4480;
|
|
47
|
+
}
|
|
48
|
+
a:focus {
|
|
49
|
+
outline: 2px dotted #aeb0b5;
|
|
50
|
+
outline-offset: 3px;
|
|
51
|
+
}
|
|
52
|
+
a:visited {
|
|
53
|
+
color: #54278f;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.usa-external_link::after {
|
|
57
|
+
background: url("/assets/img/external-link.png") no-repeat 0 0;
|
|
58
|
+
background: url("/assets/img/external-link.svg") no-repeat 0 0;
|
|
59
|
+
background-size: 100%;
|
|
60
|
+
content: "";
|
|
61
|
+
display: inline-block;
|
|
62
|
+
height: 0.65em;
|
|
63
|
+
margin-bottom: -1px;
|
|
64
|
+
margin-left: 4px;
|
|
65
|
+
width: 0.65em;
|
|
66
|
+
}
|
|
67
|
+
.usa-external_link:hover::after {
|
|
68
|
+
background-image: url("/assets/img/external-link-hover.png");
|
|
69
|
+
background-image: url("/assets/img/external-link-hover.svg");
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.usa-external_link-alt::after {
|
|
73
|
+
background: url("/assets/img/external-link-alt.png") no-repeat 0 0;
|
|
74
|
+
background: url("/assets/img/external-link-alt.svg") no-repeat 0 0;
|
|
75
|
+
background-size: 100%;
|
|
76
|
+
content: "";
|
|
77
|
+
display: inline-block;
|
|
78
|
+
height: 0.65em;
|
|
79
|
+
margin-bottom: -1px;
|
|
80
|
+
margin-left: 4px;
|
|
81
|
+
width: 0.65em;
|
|
82
|
+
}
|
|
83
|
+
.usa-external_link-alt:hover::after {
|
|
84
|
+
background-image: url("/assets/img/external-link-alt-hover.png");
|
|
85
|
+
background-image: url("/assets/img/external-link-alt-hover.svg");
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
h1,
|
|
89
|
+
h2,
|
|
90
|
+
h3,
|
|
91
|
+
h4,
|
|
92
|
+
h5,
|
|
93
|
+
h6 {
|
|
94
|
+
clear: both;
|
|
95
|
+
font-family: Bitter, Georgia, Cambria, "Times New Roman", Times, serif;
|
|
96
|
+
line-height: 1.3;
|
|
97
|
+
margin-bottom: 0.5em;
|
|
98
|
+
margin-top: 1.5em;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
h1 {
|
|
102
|
+
font-size: 2.5rem;
|
|
103
|
+
font-weight: 700;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
h2 {
|
|
107
|
+
font-size: 1.875rem;
|
|
108
|
+
font-weight: 700;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
h3 {
|
|
112
|
+
font-size: 1.25rem;
|
|
113
|
+
font-weight: 700;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
h4 {
|
|
117
|
+
font-size: 1.0625rem;
|
|
118
|
+
font-weight: 700;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
h5 {
|
|
122
|
+
font-size: 0.9375rem;
|
|
123
|
+
font-weight: 700;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
h6 {
|
|
127
|
+
font-size: 0.8125rem;
|
|
128
|
+
font-weight: 400;
|
|
129
|
+
line-height: 1.5;
|
|
130
|
+
text-transform: uppercase;
|
|
131
|
+
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
cite,
|
|
135
|
+
var,
|
|
136
|
+
address,
|
|
137
|
+
dfn {
|
|
138
|
+
font-style: normal;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.usa-content p,
|
|
142
|
+
.usa-content ul:not(.usa-accordion):not(.usa-accordion-bordered),
|
|
143
|
+
.usa-content ol:not(.usa-accordion):not(.usa-accordion-bordered) {
|
|
144
|
+
max-width: 43.75rem;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.usa-content-list {
|
|
148
|
+
max-width: 43.75rem;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.usa-sans p,
|
|
152
|
+
.usa-sans a,
|
|
153
|
+
.usa-sans li,
|
|
154
|
+
.usa-sans span {
|
|
155
|
+
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
156
|
+
}
|
|
157
|
+
.usa-sans a {
|
|
158
|
+
border-bottom: none;
|
|
159
|
+
font-weight: 700;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.usa-serif p,
|
|
163
|
+
.usa-serif a,
|
|
164
|
+
.usa-serif li,
|
|
165
|
+
.usa-serif span {
|
|
166
|
+
font-family: Bitter, Georgia, Cambria, "Times New Roman", Times, serif;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.usa-display {
|
|
170
|
+
font-size: 1.25rem;
|
|
171
|
+
font-weight: 700;
|
|
172
|
+
margin-bottom: 0;
|
|
173
|
+
}
|
|
174
|
+
@media screen and (min-width: 481px), print and (min-width: 481px) {
|
|
175
|
+
.usa-display {
|
|
176
|
+
font-size: 2.5rem;
|
|
177
|
+
font-weight: 700;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
@media screen and (min-width: 768px), print and (min-width: 768px) {
|
|
181
|
+
.usa-display {
|
|
182
|
+
font-size: 3.25rem;
|
|
183
|
+
font-weight: 700;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.usa-font-lead {
|
|
188
|
+
font-family: Bitter, Georgia, Cambria, "Times New Roman", Times, serif;
|
|
189
|
+
font-size: 1.25rem;
|
|
190
|
+
font-weight: 400;
|
|
191
|
+
line-height: 1.7;
|
|
192
|
+
max-width: 48.125rem;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.usa-background-dark {
|
|
196
|
+
background-color: #323a45;
|
|
197
|
+
}
|
|
198
|
+
.usa-background-dark p,
|
|
199
|
+
.usa-background-dark span {
|
|
200
|
+
color: #ffffff;
|
|
201
|
+
}
|
|
202
|
+
.usa-background-dark a {
|
|
203
|
+
color: #d6d7d9;
|
|
204
|
+
}
|
|
205
|
+
.usa-background-dark a:hover {
|
|
206
|
+
color: #ffffff;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.usa-text-small {
|
|
210
|
+
font-size: 0.8125rem;
|
|
211
|
+
margin-top: 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.usa-section > :first-child,
|
|
215
|
+
.usa-grid > :first-child,
|
|
216
|
+
.usa-grid-full > :first-child {
|
|
217
|
+
margin-top: 0;
|
|
218
|
+
}
|
|
219
|
+
.usa-section > :last-child,
|
|
220
|
+
.usa-grid > :last-child,
|
|
221
|
+
.usa-grid-full > :last-child {
|
|
222
|
+
margin-bottom: 0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.usa-width-one-whole:first-child > :first-child,
|
|
226
|
+
.usa-width-one-half:first-child > :first-child,
|
|
227
|
+
.usa-width-one-third:first-child > :first-child,
|
|
228
|
+
.usa-width-two-thirds:first-child > :first-child,
|
|
229
|
+
.usa-width-one-fourth:first-child > :first-child,
|
|
230
|
+
.usa-width-three-fourths:first-child > :first-child,
|
|
231
|
+
.usa-width-one-sixth:first-child > :first-child,
|
|
232
|
+
.usa-width-five-sixths:first-child > :first-child,
|
|
233
|
+
.usa-width-one-twelfth:first-child > :first-child {
|
|
234
|
+
margin-top: 0;
|
|
235
|
+
}
|
|
236
|
+
@media screen and (min-width: 768px), print and (min-width: 768px) {
|
|
237
|
+
.usa-width-one-whole > :first-child,
|
|
238
|
+
.usa-width-one-half > :first-child,
|
|
239
|
+
.usa-width-one-third > :first-child,
|
|
240
|
+
.usa-width-two-thirds > :first-child,
|
|
241
|
+
.usa-width-one-fourth > :first-child,
|
|
242
|
+
.usa-width-three-fourths > :first-child,
|
|
243
|
+
.usa-width-one-sixth > :first-child,
|
|
244
|
+
.usa-width-five-sixths > :first-child,
|
|
245
|
+
.usa-width-one-twelfth > :first-child {
|
|
246
|
+
margin-top: 0;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
.usa-width-one-whole:last-child > :last-child,
|
|
250
|
+
.usa-width-one-half:last-child > :last-child,
|
|
251
|
+
.usa-width-one-third:last-child > :last-child,
|
|
252
|
+
.usa-width-two-thirds:last-child > :last-child,
|
|
253
|
+
.usa-width-one-fourth:last-child > :last-child,
|
|
254
|
+
.usa-width-three-fourths:last-child > :last-child,
|
|
255
|
+
.usa-width-one-sixth:last-child > :last-child,
|
|
256
|
+
.usa-width-five-sixths:last-child > :last-child,
|
|
257
|
+
.usa-width-one-twelfth:last-child > :last-child {
|
|
258
|
+
margin-bottom: 0;
|
|
259
|
+
}
|
|
260
|
+
@media screen and (min-width: 768px), print and (min-width: 768px) {
|
|
261
|
+
.usa-width-one-whole > :last-child,
|
|
262
|
+
.usa-width-one-half > :last-child,
|
|
263
|
+
.usa-width-one-third > :last-child,
|
|
264
|
+
.usa-width-two-thirds > :last-child,
|
|
265
|
+
.usa-width-one-fourth > :last-child,
|
|
266
|
+
.usa-width-three-fourths > :last-child,
|
|
267
|
+
.usa-width-one-sixth > :last-child,
|
|
268
|
+
.usa-width-five-sixths > :last-child,
|
|
269
|
+
.usa-width-one-twelfth > :last-child {
|
|
270
|
+
margin-bottom: 0;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/*# sourceMappingURL=typography.css.map */
|