@digigov/css 1.0.0-rc → 1.0.0-rc.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 (69) hide show
  1. package/defaultTheme/footer.json +5 -5
  2. package/defaultTheme/typography.json +22 -2
  3. package/dist/base/index.css +1 -3
  4. package/dist/base.js +1 -1
  5. package/dist/components.js +1 -1
  6. package/dist/digigov.css +3 -5
  7. package/dist/utilities/index.css +1 -1
  8. package/dist/utilities.js +1 -1
  9. package/index.js +1 -1
  10. package/package.json +6 -7
  11. package/postcss.config.js +15 -14
  12. package/src/base/index.css +3 -0
  13. package/src/base/postcss.config.js +23 -22
  14. package/src/base/tailwind.config.js +19 -15
  15. package/src/components/accessibility-menu.css +8 -3
  16. package/src/components/accordion.css +67 -13
  17. package/src/components/admin-header.css +27 -1
  18. package/src/components/admin-layout.css +6 -0
  19. package/src/components/autocomplete.css +12 -9
  20. package/src/components/bottom-info.css +2 -1
  21. package/src/components/button.css +86 -27
  22. package/src/components/card.css +30 -15
  23. package/src/components/checkboxes.css +56 -10
  24. package/src/components/chip.css +35 -15
  25. package/src/components/copy-to-clipboard.css +52 -30
  26. package/src/components/drawer.css +17 -26
  27. package/src/components/dropdown.css +52 -52
  28. package/src/components/filter.css +71 -63
  29. package/src/components/footer.css +29 -23
  30. package/src/components/form.css +70 -47
  31. package/src/components/header.css +86 -32
  32. package/src/components/hidden.css +3 -0
  33. package/src/components/index.css +3 -0
  34. package/src/components/kitchensink.css +2 -2
  35. package/src/components/layout.css +21 -22
  36. package/src/components/loader.css +11 -22
  37. package/src/components/masthead.css +78 -0
  38. package/src/components/misc.css +17 -41
  39. package/src/components/modal.css +10 -3
  40. package/src/components/nav.css +93 -126
  41. package/src/components/notification-banner.css +32 -10
  42. package/src/components/pagination.css +38 -24
  43. package/src/components/panel.css +4 -4
  44. package/src/components/phase-banner.css +1 -7
  45. package/src/components/postcss.config.js +15 -16
  46. package/src/components/radios.css +34 -25
  47. package/src/components/stack.css +66 -0
  48. package/src/components/stepnav.css +34 -10
  49. package/src/components/summary-list.css +22 -15
  50. package/src/components/svg-icons.css +2 -62
  51. package/src/components/table.css +75 -56
  52. package/src/components/tabs.css +19 -0
  53. package/src/components/tailwind.config.js +12 -6
  54. package/src/components/task-list.css +28 -15
  55. package/src/components/timeline.css +21 -6
  56. package/src/components/typography.css +104 -63
  57. package/src/components/warning-text.css +23 -0
  58. package/src/fonts.css +1 -1
  59. package/src/index.css +0 -2
  60. package/src/pages/admin-filtering-data.js +1 -1
  61. package/src/pages/dropdown.js +2 -2
  62. package/src/pages/form.js +1 -1
  63. package/src/pages/index.js +12 -10
  64. package/src/utilities/index.css +142 -22
  65. package/src/utilities/postcss.config.js +15 -16
  66. package/src/utilities/tailwind.config.js +10 -1
  67. package/src/utilities/utilities.css +158 -34
  68. package/tailwind.config.js +20 -27
  69. package/themes.plugin.js +95 -100
@@ -1,32 +1,29 @@
1
1
  .govgr-filter {
2
2
  @apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
3
3
  box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
4
- .govgr-select {
5
- @apply w-full;
6
- }
7
4
  }
8
5
  .govgr-filter {
9
6
  &.govgr-filter--position-relative-always {
10
- @apply block relative overflow-visible w-full shadow-none z-0 !important;
11
- &.govgr-filter--closed {
7
+ @apply block relative overflow-visible w-full shadow-none z-2 !important;
8
+ &.govgr-filter--closed {
12
9
  @apply block !important;
13
10
  }
14
11
  }
15
12
  &.govgr-filter--position-relative-sm {
16
- @apply sm:block sm:relative sm:overflow-visible sm:w-full sm:shadow-none sm:z-0 ;
17
- &.govgr-filter--closed {
13
+ @apply sm:block sm:relative sm:overflow-visible sm:w-full sm:shadow-none sm:z-2;
14
+ &.govgr-filter--closed {
18
15
  @apply sm:block;
19
16
  }
20
17
  }
21
18
  &.govgr-filter--position-relative-md {
22
- @apply md:block md:relative md:overflow-visible md:w-full md:shadow-none md:z-0 ;
23
- &.govgr-filter--closed {
19
+ @apply md:block md:relative md:overflow-visible md:w-full md:shadow-none md:z-2;
20
+ &.govgr-filter--closed {
24
21
  @apply md:block;
25
22
  }
26
23
  }
27
24
  &.govgr-filter--position-relative-lg {
28
- @apply lg:block lg:relative lg:overflow-visible lg:w-full lg:shadow-none lg:z-0 ;
29
- &.govgr-filter--closed {
25
+ @apply lg:block lg:relative lg:overflow-visible lg:w-full lg:shadow-none lg:z-2;
26
+ &.govgr-filter--closed {
30
27
  @apply lg:block;
31
28
  }
32
29
  }
@@ -44,87 +41,98 @@
44
41
  @apply flex gap-4 flex-col;
45
42
  align-items: stretch;
46
43
  @apply md:flex-row md:flex-wrap;
47
- .govgr-field {
48
- @apply mb-0;
49
- }
50
- .govgr-label, .govgr-btn {
51
- @apply mb-0;
52
- }
53
44
  }
54
45
  @media (min-width: 768px) {
55
46
  .govgr-filter__options--horizontal {
56
47
  align-items: flex-end;
57
48
  }
58
49
  }
59
- .govgr-filter__close-btn {
60
- @apply flex flex-nowrap md:hidden text-right w-max float-right;
61
- .govgr-svg-icon--close {
62
- @apply w-5 h-5 float-right;
63
- @apply ml-1 !important;
64
- fill: var(--color-link);
65
- }
66
- &:focus {
67
- .govgr-svg-icon--close {
68
- fill: var(--color-link-active);
69
- }
70
- }
71
- &:hover {
72
- .govgr-svg-icon--close {
73
- fill: var(--color-link-hover);
74
- }
75
- }
50
+ .govgr-filter__heading,
51
+ .govgr-filter__selected,
52
+ .govgr-filter__options {
53
+ @apply p-0;
76
54
  }
77
- .govgr-filter__heading, .govgr-filter__selected, .govgr-filter__options {
78
- @apply p-0;
79
- }
80
55
  .govgr-filter__heading {
81
56
  @apply mb-4;
82
- .govgr-filter__close-btn, .govgr-heading-sm, .govgr-heading-md, .govgr-heading-lg, .govgr-heading-xl {
83
- @apply m-0;
84
- }
85
57
  }
86
58
  .govgr-filter__selected {
87
59
  @apply bg-base-200 p-4 m-0 rounded;
88
60
  }
89
- .govgr-filter__selected--indicator {
90
- @apply md:hidden;
91
- }
92
61
  .govgr-filter__selected-heading {
93
62
  @apply flex flex-wrap sm:flex-nowrap mb-4 md:mb-6 justify-between gap-x-2;
94
- .govgr-link, .govgr-heading-sm, .govgr-heading-md, .govgr-heading-lg, .govgr-heading-xl {
95
- @apply m-0 h-full;
96
- }
97
63
  }
98
64
  .govgr-input__search-btn {
99
65
  @apply shadow-none !important;
100
- @apply
101
- border-b-2 border-base-content rounded-none
66
+ @apply border-b-2 border-base-content rounded-none
102
67
  px-4 py-2 w-min m-0 ml-3
103
68
  flex gap-2
104
69
  hover:bg-success-hover active:bg-success-hover hover:no-underline;
105
- .govgr-svg-icon--search {
106
- fill: var(--color-white);
107
- @apply w-7 h-7;
108
- }
109
70
  }
110
71
  .govgr-search {
111
72
  @apply flex w-full max-w-3xl;
112
73
  }
113
- .govgr-results-action-bar {
114
- @apply py-2 mb-8 flex flex-wrap justify-start gap-4 items-baseline;
115
- > * {
116
- @apply mb-0;
117
- }
118
- .govgr-field {
119
- @apply flex items-baseline gap-2;
120
- }
74
+ .govgr-results__action-bar {
75
+ @apply py-2 mb-8 flex flex-wrap justify-start gap-4 items-baseline;
76
+ > * {
77
+ @apply mb-0;
78
+ }
121
79
  }
122
- .govgr-results-heading {
80
+ .govgr-results__heading {
123
81
  @apply flex flex-wrap justify-between items-baseline gap-x-2;
124
82
  }
125
- .govgr-results-heading__actions {
83
+ .govgr-results__actions {
126
84
  @apply flex flex-wrap gap-4 justify-start min-w-min mb-4;
127
85
  }
128
86
  .govgr-link-filters {
129
87
  @apply block md:hidden;
130
- }
88
+ }
89
+
90
+ /* overrides */
91
+
92
+ .govgr-filter {
93
+ @apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
94
+ box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
95
+ .govgr-select {
96
+ @apply w-full;
97
+ }
98
+ }
99
+ .govgr-filter__options--horizontal {
100
+ .govgr-field {
101
+ @apply mb-0;
102
+ }
103
+ .govgr-label,
104
+ .govgr-btn {
105
+ @apply mb-0;
106
+ }
107
+ }
108
+ .govgr-filter__heading {
109
+ .govgr-close-btn,
110
+ .govgr-heading-xs,
111
+ .govgr-heading-sm,
112
+ .govgr-heading-md,
113
+ .govgr-heading-lg,
114
+ .govgr-heading-xl {
115
+ @apply m-0;
116
+ }
117
+ }
118
+ .govgr-filter__selected-heading {
119
+ .govgr-link,
120
+ .govgr-heading-xs,
121
+ .govgr-heading-sm,
122
+ .govgr-heading-md,
123
+ .govgr-heading-lg,
124
+ .govgr-heading-xl {
125
+ @apply m-0 h-full;
126
+ }
127
+ }
128
+ .govgr-input__search-btn {
129
+ .govgr-svg-icon--search {
130
+ fill: var(--color-white);
131
+ @apply w-7 h-7;
132
+ }
133
+ }
134
+ .govgr-results__action-bar {
135
+ .govgr-field {
136
+ @apply flex items-baseline gap-2;
137
+ }
138
+ }
@@ -2,20 +2,14 @@
2
2
  @apply border-0 border-solid font-normal text-base py-4 md:py-8
3
3
  border-t-4 border-tertiary text-base-800 bg-base-200 w-full
4
4
  print:py-2 print:bg-white print:border-t-2;
5
- .govgr-section-break {
6
- @apply print:hidden;
7
- }
8
- .govgr-link {
9
- @apply print:text-base-content;
10
- }
11
5
  }
12
- .govgr-footer__meta {
6
+ .govgr-footer__info {
13
7
  @apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-between box-border;
14
8
  }
15
- .govgr-footer__meta-item {
9
+ .govgr-footer__info-section {
16
10
  @apply mx-2 md:mx-4 mb-6 print:mb-4;
17
11
  }
18
- .govgr-footer__meta-item--grow {
12
+ .govgr-footer__info-section--grow {
19
13
  @apply flex flex-grow;
20
14
  }
21
15
  .govgr-footer__content {
@@ -38,23 +32,18 @@
38
32
  .govgr-footer__logo, .govgr-footer__government-logo {
39
33
  @apply max-w-full h-auto w-52 min-w-52 block;
40
34
  }
41
- .govgr-footer__licence-description {
35
+ .govgr-footer__copyright {
42
36
  @apply mt-6 print:mt-4;
43
- font-size: var(--footer__licence-description-font-size);
37
+ font-size: var(--footer__copyright-font-size);
44
38
  .govgr-link {
45
39
  font-size: inherit;
46
40
  }
47
41
  }
48
- .govgr-footer__inline-list {
49
- @apply mt-0 mb-4 p-0 print:hidden;
50
- }
51
- .govgr-footer__inline-list-item {
52
- @apply inline-block mr-4 mb-2;
53
- }
54
42
  .govgr-footer__link {
55
43
  @apply underline ;
56
44
  &:hover {
57
45
  text-decoration-thickness: 2px;
46
+ color: var(--color-base-800);
58
47
  }
59
48
  &:focus {
60
49
  background-color: var(--color-focus) !important;
@@ -66,20 +55,26 @@
66
55
  .govgr-footer__navigation {
67
56
  @apply flex flex-wrap print:hidden;
68
57
  }
69
- .govgr-footer__section {
58
+ .govgr-footer__navigation-section {
70
59
  @apply inline-block mx-4 mb-8 align-top flex-grow flex-shrink
71
60
  print:hidden;
72
61
  }
73
- @media (min-width: 48em) {
74
- .govgr-footer__section:first-child:nth-last-child(2) {
62
+ @media (min-width: 768px) {
63
+ .govgr-footer__navigation-section:first-child:nth-last-child(2) {
75
64
  @apply flex-grow-2;
76
65
  }
77
66
  }
78
67
  .govgr-footer__list {
79
- @apply m-0 p-0 list-none gap-x-6
68
+ @apply m-0 p-0 list-none gap-x-6 text-sm md:text-base
80
69
  print:hidden;
81
70
  }
82
- @media (min-width: 48em) {
71
+ .govgr-footer__list--horizontal {
72
+ @apply mb-4;
73
+ .govgr-footer__list-item {
74
+ @apply inline-block mr-4 mb-2;
75
+ }
76
+ }
77
+ @media (min-width: 768px) {
83
78
  .govgr-footer__list--columns-2 {
84
79
  column-count: 2;
85
80
  }
@@ -87,4 +82,15 @@
87
82
  .govgr-footer__list-item {}
88
83
  .govgr-footer__heading {
89
84
  @apply mb-4 pb-4 border-b border-base-300;
90
- }
85
+ }
86
+
87
+ /* overrides */
88
+
89
+ .govgr-footer {
90
+ .govgr-section-break {
91
+ @apply print:hidden;
92
+ }
93
+ .govgr-link {
94
+ @apply print:text-base-content;
95
+ }
96
+ }
@@ -1,20 +1,4 @@
1
- .govgr-form {
2
- .govgr-body {
3
- @apply mb-4;
4
- }
5
- &.govgr-grid {
6
- @apply grid gap-4;
7
- .govgr-fieldset {
8
- @apply grid gap-4;
9
- :not(.govgr-field) {
10
- @apply col-span-12;
11
- }
12
- }
13
- :not(.govgr-field) {
14
- @apply col-span-12;
15
- }
16
- }
17
- }
1
+ .govgr-form {}
18
2
  .govgr-field {
19
3
  @apply mb-8 md:mb-10;
20
4
  .govgr-fieldset {
@@ -40,14 +24,6 @@
40
24
  font-size: var(--label-font-size);
41
25
  line-height: var(--label-line-height);
42
26
  letter-spacing: var(--label-letter-spacing);
43
- .govgr-heading-sm,
44
- .govgr-heading-md,
45
- .govgr-heading-lg,
46
- .govgr-heading-xl,
47
- .govgr-hint,
48
- .govgr-error-message {
49
- @apply mb-0;
50
- }
51
27
  }
52
28
  .govgr-input,
53
29
  .govgr-select,
@@ -61,6 +37,17 @@
61
37
  box-shadow: inset 0 0 0 2px;
62
38
  }
63
39
  }
40
+ .govgr-input--dense,.govgr-dense .govgr-input ,
41
+ .govgr-textarea--dense, .govgr-dense .govgr-textarea ,
42
+ .govgr-select--dense, .govgr-dense .govgr-select,
43
+ .govgr-date-input--dense .govgr-input, .govgr-dense .govgr-date-input .govgr-input
44
+ {
45
+ @apply p-1;
46
+ &:focus {
47
+ -webkit-box-shadow: inset 0 0 0 1px;
48
+ box-shadow: inset 0 0 0 1px;
49
+ }
50
+ }
64
51
  .govgr-label-file {
65
52
  @apply mb-0;
66
53
  }
@@ -69,41 +56,45 @@
69
56
  }
70
57
  .govgr-uploaded-file {
71
58
  @apply flex flex-wrap gap-x-4 mb-0;
72
- .govgr-link {
73
- @apply h-fit text-lg;
59
+ }
60
+ .govgr-date-input {
61
+ @apply flex flex-wrap gap-y-2;
62
+ &.govgr-date-input--dense, .govgr-dense & {
63
+ .govgr-date-input__item {
64
+ @apply mr-2;
65
+ }
74
66
  }
75
67
  }
76
- .govgr-date-input,
77
- .govgr-single-character-input--container {
78
- @apply flex;
68
+ .govgr-single-character-input {
69
+ @apply flex flex-wrap gap-y-2;
79
70
  }
80
71
  .govgr-select {
81
72
  @apply w-auto max-w-full;
82
73
  }
83
- .govgr-input--width-20 {
74
+ .govgr-select__option {}
75
+ .govgr-input--width-20-char {
84
76
  max-width: 41ex;
85
77
  }
86
- .govgr-input--width-10 {
78
+ .govgr-input--width-10-char {
87
79
  max-width: 23ex;
88
80
  }
89
- .govgr-input--width-5 {
81
+ .govgr-input--width-5-char {
90
82
  max-width: 10.8ex;
91
83
  }
92
- .govgr-input--width-4 {
84
+ .govgr-input--width-4-char {
93
85
  max-width: 9ex;
94
86
  }
95
- .govgr-input--width-3 {
87
+ .govgr-input--width-3-char {
96
88
  max-width: 7.2ex;
97
89
  }
98
- .govgr-input--width-2 {
90
+ .govgr-input--width-2-char {
99
91
  max-width: 5.4ex;
100
92
  }
101
- .govgr-otp-input--width {
102
- max-width: 3.1ex;
103
- @apply text-center pl-0 pr-0;
93
+ .govgr-single-character-input__item {
94
+ max-width: 4.4ex;
95
+ @apply text-center px-0 mr-3;
104
96
  }
105
- .govgr-date-input__item,
106
- .govgr-otp-input__item {
97
+ .govgr-date-input__item {
107
98
  @apply mr-4;
108
99
  }
109
100
  .govgr-\!-width-one-quarter,
@@ -137,9 +128,6 @@
137
128
 
138
129
  /* error handling */
139
130
 
140
- .govgr-error-summary {
141
- @apply border-5 border-error mb-6 md:mb-8 p-4 md:p-5;
142
- }
143
131
  .govgr-field--error {
144
132
  @apply border-l-5 border-error px-0 pl-4;
145
133
  }
@@ -179,11 +167,46 @@
179
167
  .govgr-radios__input:disabled:checked:after {
180
168
  @apply opacity-40;
181
169
  }
182
-
183
170
  .govgr-radios__label--disabled,
184
171
  .govgr-checkboxes__label--disabled {
185
172
  @apply opacity-40;
186
173
  }
187
- .govgr-choice-divider {
188
- @apply text-lg text-center w-10 mb-4;
174
+ .govgr-choice-divider-text {
175
+ @apply text-lg text-center min-w-10 w-max mb-4;
176
+ }
177
+
178
+ /* overrides */
179
+
180
+ .govgr-form {
181
+ .govgr-body {
182
+ @apply mb-4;
183
+ }
184
+ &.govgr-grid {
185
+ @apply grid gap-4;
186
+ .govgr-fieldset {
187
+ @apply grid gap-4;
188
+ :not(.govgr-field) {
189
+ @apply col-span-12;
190
+ }
191
+ }
192
+ :not(.govgr-field) {
193
+ @apply col-span-12;
194
+ }
195
+ }
196
+ }
197
+ .govgr-label {
198
+ .govgr-heading-xs,
199
+ .govgr-heading-sm,
200
+ .govgr-heading-md,
201
+ .govgr-heading-lg,
202
+ .govgr-heading-xl,
203
+ .govgr-hint,
204
+ .govgr-error-message {
205
+ @apply mb-0;
206
+ }
207
+ }
208
+ .govgr-uploaded-file {
209
+ .govgr-link {
210
+ @apply h-fit text-lg;
211
+ }
189
212
  }
@@ -1,23 +1,19 @@
1
1
  .govgr-header {
2
- @apply bg-primary border-b-8 print:border-b-2 border-tertiary;
3
- @apply print:bg-white;
2
+ @apply relative bg-primary border-b-8 print:border-b-2 border-tertiary print:bg-white;
4
3
  border-bottom-style: solid;
5
- .govgr-svg-icon--burger {
6
- fill: var(--color-base-content);
7
- @apply float-right cursor-pointer;
8
- }
9
4
  }
10
- .govgr-header__container {
5
+ .govgr-header__content {
11
6
  @apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
12
7
  print:px-0 gap-3;
13
8
  }
14
- .govgr-header__content {
9
+ .govgr-header__section {
15
10
  @apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2
16
11
  print:gap-1;
17
12
  }
18
13
  .govgr-header__logo {
14
+ print-color-adjust: exact !important;
19
15
  -webkit-print-color-adjust: exact !important;
20
- @apply h-12 print:hidden;
16
+ @apply max-h-12 print:hidden;
21
17
  }
22
18
  .govgr-header__logo-inverted {
23
19
  @apply h-12 hidden print:block;
@@ -48,34 +44,92 @@
48
44
  .govgr-header-nav-menu__content {
49
45
  @apply flex justify-start items-center gap-x-4 gap-y-2 print:gap-1;
50
46
  }
51
- .govgr-masthead {
52
- @apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
53
- .govgr-grid-column-two-thirds > *:last-child {
54
- @apply mb-0;
47
+
48
+ /* overrides */
49
+
50
+ .govgr-header {
51
+ .govgr-header__content,
52
+ .govgr-header__section {
53
+ > .govgr-link,
54
+ > .govgr-dropdown .govgr-dropdown__button.govgr-link {
55
+ @apply text-white focus:text-link-active print:text-base-content;
56
+ }
55
57
  }
56
- .govgr-header__container {
57
- @apply flex-wrap;
58
+ .govgr-dropdown {
59
+ @apply print:hidden;
58
60
  }
59
- }
60
- .govgr-masthead--primary {
61
- @apply bg-tertiary text-white;
62
- .govgr-masthead__body {
63
- @apply text-white;
61
+ .govgr-dropdown__button {
62
+ @apply sm:w-max;
64
63
  }
65
- .govgr-body {
66
- @apply text-white;
64
+ .govgr-link {
65
+ .govgr-svg-icon {
66
+ fill: var(--color-white);
67
+ }
68
+ &:hover {
69
+ .govgr-svg-icon {
70
+ fill: var(--color-white);
71
+ }
72
+ }
73
+ &:focus {
74
+ .govgr-svg-icon {
75
+ fill: var(--color-link-active);
76
+ }
77
+ }
67
78
  }
68
- }
69
- .govgr-masthead--secondary {
70
- @apply border-b border-base-400 !important;
71
- @apply bg-base-200;
72
- .govgr-masthead__body {
73
- @apply text-base-content;
79
+ .govgr-phase-banner__text {
80
+ @apply text-white print:text-base-content;
81
+ }
82
+ .govgr-link {
83
+ .govgr-svg-icon {
84
+ fill: var(--color-white);
85
+ }
86
+ &:hover {
87
+ .govgr-svg-icon {
88
+ fill: var(--color-white);
89
+ }
90
+ }
91
+ &:focus {
92
+ .govgr-svg-icon {
93
+ fill: var(--color-link-active);
94
+ }
95
+ }
74
96
  }
75
97
  }
76
- .govgr-masthead__body {
77
- @apply md:mb-10 mb-6 md:text-lg text-base leading-7 print:text-base-content;
98
+ .govgr-header__section {
99
+ .govgr-phase-banner {
100
+ @apply mb-0;
101
+ }
78
102
  }
79
- .govgr-masthead__logo {
80
- @apply md:mb-6 mb-4 h-10;
103
+ .govgr-header-nav-menu__content,
104
+ .govgr-header__content,
105
+ .govgr-header__section {
106
+ > .govgr-svg-icon--burger {
107
+ fill: var(--color-white);
108
+ @apply float-right focus:bg-focus;
109
+ }
110
+ > .govgr-close-btn {
111
+ @apply sm:hidden;
112
+ .govgr-svg-icon--close {
113
+ fill: var(--color-link) !important;
114
+ }
115
+ }
116
+ > .govgr-nav__list {
117
+ > .govgr-nav__list-item {
118
+ > .govgr-nav__list-item-link,
119
+ > .govgr-nav__list-item-btn {
120
+ &:not(:focus) {
121
+ @apply text-white;
122
+ }
123
+ }
124
+ > .govgr-nav__list-item-link--active,
125
+ > .govgr-nav__list-item-btn--active {
126
+ &:not(:focus) {
127
+ @apply text-white !important;
128
+ }
129
+ .govgr-svg-icon {
130
+ fill: var(--color-white);
131
+ }
132
+ }
133
+ }
134
+ }
81
135
  }
@@ -1,3 +1,6 @@
1
+ .govgr-hidden {
2
+ @apply hidden;
3
+ }
1
4
  .govgr-hidden-xs--up {
2
5
  @apply xs:hidden;
3
6
  }
@@ -22,9 +22,11 @@
22
22
  @import "./card.css";
23
23
  @import "./details.css";
24
24
  @import "./notification-banner.css";
25
+ @import "./masthead.css";
25
26
  @import "./panel.css";
26
27
  @import "./phase-banner.css";
27
28
  @import "./summary-list.css";
29
+ @import "./stack.css";
28
30
  @import "./tabs.css";
29
31
  @import "./misc.css";
30
32
  @import "./modal.css";
@@ -42,3 +44,4 @@
42
44
  @import "./dev-theme.css";
43
45
  @import "./kitchensink.css";
44
46
  @import "./hidden.css";
47
+ @import "./warning-text.css";
@@ -46,7 +46,7 @@
46
46
  .govgr-kitchensink-card .govgr-table__cell .govgr-dropdown {
47
47
  margin: 0 !important;
48
48
  }
49
- .govgr-kitchensink-card .govgr-layout-wrapper__full-height {
49
+ .govgr-kitchensink-card .govgr-layout--full-height {
50
50
  min-height: inherit;
51
51
  }
52
52
  @container (min-width: 400px) {
@@ -58,7 +58,7 @@
58
58
  .govgr-kitchensink-card .govgr-drawer--closed {
59
59
  @apply hidden;
60
60
  }
61
- .govgr-kitchensink-card .govgr-drawer__close-icon {
61
+ .govgr-kitchensink-card .govgr-close-btn {
62
62
  @apply block;
63
63
  }
64
64
  }