@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.
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/tokens/css/variables.css +1 -1
  47. package/dist/tokens/scss/variables.scss +1 -1
  48. package/package.json +8 -6
  49. /package/dist/{base → stylesheets/base}/headings.css +0 -0
  50. /package/dist/{utilities.css → stylesheets/utilities.css} +0 -0
@@ -0,0 +1,170 @@
1
+ /**
2
+ Variables ported over from Formation so that we can keep those stylesheets
3
+ working while we work on deprecation.
4
+ **/
5
+
6
+ @use '../override-function' as *;
7
+
8
+ $label-border-radius: 2px;
9
+ $h5-font-size: scale-rem(1.5rem);
10
+
11
+ $color-black: #000;
12
+
13
+ $color-black-light: #212121;
14
+ $color-base: $color-black-light;
15
+
16
+ $color-aqua: #02bfe7;
17
+ $color-primary-alt: $color-aqua;
18
+
19
+ $color-black-light: #212121;
20
+ $color-base: $color-black-light;
21
+
22
+ $color-aqua-dark: #00a6d2;
23
+ $color-primary-alt-dark: $color-aqua-dark;
24
+
25
+ $color-aqua-darkest: #046b99;
26
+ $color-primary-alt-darkest: $color-aqua-darkest;
27
+
28
+ $color-aqua-lightest: #e1f3f8;
29
+ $color-primary-alt-lightest: $color-aqua-lightest;
30
+
31
+ $color-gray: #5b616b;
32
+ $color-gray-dark: #323a45;
33
+
34
+ $color-red: #e31c3d;
35
+ $color-secondary: $color-red;
36
+
37
+ $color-red-dark: #cd2026;
38
+ $color-secondary-dark: $color-red-dark;
39
+
40
+ $color-red-darkest: #981b1e;
41
+ $color-secondary-darkest: $color-red-darkest;
42
+
43
+ $color-red-lightest: #f9dede;
44
+ $color-secondary-lightest: $color-red-lightest;
45
+
46
+ $color-blue-darkest: #112e51;
47
+ $color-primary-darkest: $color-blue-darkest;
48
+
49
+ $color-green: #2e8540;
50
+ $color-green-lightest:#e7f4e4;
51
+
52
+ $color-green-light: #4aa564;
53
+ $color-gray: #5b616b;
54
+ $color-gray-medium: #757575;
55
+ $color-blue:#0071bc;
56
+ $color-primary: $color-blue;
57
+ $color-gray-lighter:#d6d7d9;
58
+ $color-gray-lightest:#f1f1f1;
59
+
60
+ $color-blue: #005ea2;
61
+ $color-primary: $color-blue;
62
+ $color-primary-darker: #1a4480;
63
+
64
+ $color-cool-blue-lightest: #dce4ef;
65
+
66
+ $color-gold: #fdb81e;
67
+ $color-gold-lightest: #fff1d2;
68
+
69
+ $color-gray-light: #aeb0b5;
70
+ $color-focus: $color-gray-light;
71
+
72
+ $color-link-default: $color-primary;
73
+
74
+ $olso-gray: #8d9297;
75
+ $color-va-modal-bg: rgba($color-gray-dark, .8);
76
+
77
+
78
+ $base-font-size: 1rem;
79
+ $input-max-width: scale-rem(46rem);
80
+ $checkbox-border-radius: 2px;
81
+ $spacing-medium: scale-rem(2rem);
82
+ $h1-font-size: scale-rem(4rem);
83
+ $h2-font-size: scale-rem(3rem);
84
+ $h3-font-size: scale-rem(2rem);
85
+ $h4-font-size: scale-rem(1.7rem);
86
+ $h5-font-size: scale-rem(1.5rem);
87
+ $h6-font-size: scale-rem(1.3rem);
88
+ $base-line-height: 1.5;
89
+ $heading-line-height: 1.3;
90
+ $lead-line-height: 1.7;
91
+ $font-bold: 700;
92
+ $base-line-height: 1.5;
93
+
94
+ $spacing-small: scale-rem(1rem);
95
+ $spacing-x-small: scale-rem(0.5rem);
96
+ $spacing-md-small: scale-rem(1.5rem);
97
+ $spacing-medium: scale-rem(2rem);
98
+
99
+ $em-base: 10px;
100
+ $base-line-height: 1.5;
101
+ $heading-line-height: 1.3;
102
+ $text-max-width: scale-rem(70rem); // Note: USWDS value is 53rem;
103
+ $lead-font-size: scale-rem(2rem);
104
+ $lead-line-height: 1.7;
105
+ $title-font-size: scale-rem(5.2rem);
106
+ $lead-max-width: scale-rem(77rem);
107
+
108
+ $site-margins-mobile: scale-rem(1.5rem);
109
+ $nav-width: 951px;
110
+ $site-margins: scale-rem(3rem);
111
+ $site-max-width: 1040px;
112
+
113
+ $sidenav-current-border-width: scale-rem(0.4rem);
114
+
115
+ $top-layer: 300;
116
+
117
+ // Map for spacing tokens in Rems
118
+ $units:(
119
+ 0: 0,
120
+ 1px: .1,
121
+ .25: .2,
122
+ .5: .4,
123
+ 1: .8,
124
+ 1.5: 1.2,
125
+ 2: 1.6,
126
+ 2.5: 2,
127
+ 3: 2.4,
128
+ 4: 3.2,
129
+ 5: 4,
130
+ 6: 4.8,
131
+ 7: 5.6,
132
+ 8: 6.4,
133
+ 9: 7.2,
134
+ 10: 8,
135
+ 15: 12,
136
+ -1px: -.1,
137
+ -.25: -.2,
138
+ -.5: -.4,
139
+ -1: -.8,
140
+ -1.5: -1.2,
141
+ -2: -1.6,
142
+ -2.5: -2,
143
+ -3: -2.4,
144
+ -4: -3.2,
145
+ -5: -4,
146
+ -6: -4.8,
147
+ -7: -5.6,
148
+ -8: -6.4,
149
+ -9: -7.2,
150
+ -10: -8,
151
+ -15: -12,
152
+ );
153
+
154
+ // Variables used in vets-website
155
+ $grid-columns: 12 !default;
156
+ $button-border-radius: 5px !default;
157
+ $mm-gray: #f0f0f0; //Deprecated color, used in mega-menu
158
+ $color-transparent: rgba(#000, 0) !default;
159
+ $color-white: #ffffff !default;
160
+ $color-orange: #dd7533;
161
+
162
+
163
+ //===================================
164
+ // Z-index values
165
+ //===================================
166
+ $base-layer: 0;
167
+ $low-layer: 100;
168
+ $middle-layer: 200;
169
+ $top-layer: 300;
170
+ $modal-layer: 400;
@@ -0,0 +1,64 @@
1
+ /*
2
+ ***THIS IS USWDS v1***
3
+ Original import: @import "~uswds/src/stylesheets/core/base";
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
+ Variables ported over from Formation so that we can keep those stylesheets
11
+ working while we work on deprecation.
12
+ **/
13
+ /**
14
+ /uswds/dist/scss/lib/addons/_margin.scss
15
+ **/
16
+ /**
17
+ uswds/src/stylesheets/lib/helpers/_directional-values.scss
18
+ **/
19
+ html {
20
+ box-sizing: border-box;
21
+ }
22
+
23
+ *,
24
+ *::before,
25
+ *::after {
26
+ box-sizing: inherit;
27
+ }
28
+
29
+ body {
30
+ background-color: #ffffff;
31
+ color: #1b1b1b;
32
+ overflow-x: hidden;
33
+ }
34
+
35
+ .lt-ie9 * {
36
+ filter: none !important; /* stylelint-disable-line declaration-no-important */
37
+ }
38
+
39
+ [hidden] {
40
+ display: none !important; /* stylelint-disable-line declaration-no-important */
41
+ }
42
+
43
+ input:not([disabled]):focus,
44
+ select:not([disabled]):focus,
45
+ textarea:not([disabled]):focus,
46
+ button:not([disabled]):focus {
47
+ outline: 2px dotted #aeb0b5;
48
+ outline-offset: 3px;
49
+ }
50
+
51
+ iframe:focus,
52
+ [href]:focus,
53
+ [tabindex]:focus,
54
+ [contentEditable=true]:focus {
55
+ outline: 2px dotted #aeb0b5;
56
+ outline-offset: 3px;
57
+ }
58
+
59
+ .usa-focus {
60
+ outline: 2px dotted #aeb0b5;
61
+ outline-offset: 3px;
62
+ }
63
+
64
+ /*# sourceMappingURL=base.css.map */
@@ -0,0 +1,46 @@
1
+ /*
2
+ Original: @import "~uswds/src/stylesheets/core/fonts";
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
+ Variables ported over from Formation so that we can keep those stylesheets
11
+ working while we work on deprecation.
12
+ **/
13
+ /**
14
+ /uswds/dist/scss/lib/addons/_margin.scss
15
+ **/
16
+ /**
17
+ uswds/src/stylesheets/lib/helpers/_directional-values.scss
18
+ **/
19
+ /* stylelint-disable at-rule-empty-line-before */
20
+ @font-face {
21
+ font-family: "Merriweather";
22
+ font-style: normal;
23
+ font-weight: 300;
24
+ src: url("/assets/fonts/merriweather-light-webfont.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/merriweather-light-webfont.woff2") format("woff2"), url("/assets/fonts/merriweather-light-webfont.woff") format("woff"), url("/assets/fonts/merriweather-light-webfont.ttf") format("truetype"), url("/assets/fonts/merriweather-light-webfont.svg#Merriweather") format("svg");
25
+ }
26
+ @font-face {
27
+ font-family: "Merriweather";
28
+ font-style: normal;
29
+ font-weight: 400;
30
+ src: url("/assets/fonts/merriweather-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/merriweather-regular-webfont.woff2") format("woff2"), url("/assets/fonts/merriweather-regular-webfont.woff") format("woff"), url("/assets/fonts/merriweather-regular-webfont.ttf") format("truetype"), url("/assets/fonts/merriweather-regular-webfont.svg#Merriweather") format("svg");
31
+ }
32
+ @font-face {
33
+ font-family: "Merriweather";
34
+ font-style: italic;
35
+ font-weight: 400;
36
+ src: url("/assets/fonts/merriweather-italic-webfont.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/merriweather-italic-webfont.woff2") format("woff2"), url("/assets/fonts/merriweather-italic-webfont.woff") format("woff"), url("/assets/fonts/merriweather-italic-webfont.ttf") format("truetype"), url("/assets/fonts/merriweather-italic-webfont.svg#Merriweather") format("svg");
37
+ }
38
+ @font-face {
39
+ font-family: "Merriweather";
40
+ font-style: normal;
41
+ font-weight: 700;
42
+ src: url("/assets/fonts/merriweather-bold-webfont.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/merriweather-bold-webfont.woff2") format("woff2"), url("/assets/fonts/merriweather-bold-webfont.woff") format("woff"), url("/assets/fonts/merriweather-bold-webfont.ttf") format("truetype"), url("/assets/fonts/merriweather-bold-webfont.svg#Merriweather") format("svg");
43
+ }
44
+ /* stylelint-enable */
45
+
46
+ /*# sourceMappingURL=fonts.css.map */