@digigov/css 1.0.0-7c9716da → 1.0.0-871b6be5

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 (48) hide show
  1. package/defaultTheme/footer.json +5 -5
  2. package/defaultTheme/typography.json +22 -2
  3. package/dist/base/index.css +1 -1
  4. package/dist/base.js +1 -1
  5. package/dist/components.js +1 -1
  6. package/dist/digigov.css +3 -3
  7. package/dist/utilities/index.css +1 -1
  8. package/dist/utilities.js +1 -1
  9. package/package.json +4 -4
  10. package/src/base/index.css +3 -0
  11. package/src/components/accordion.css +50 -3
  12. package/src/components/admin-header.css +1 -1
  13. package/src/components/admin-layout.css +6 -0
  14. package/src/components/button.css +19 -1
  15. package/src/components/checkboxes.css +5 -2
  16. package/src/components/chip.css +11 -6
  17. package/src/components/copy-to-clipboard.css +36 -29
  18. package/src/components/drawer.css +0 -21
  19. package/src/components/dropdown.css +10 -11
  20. package/src/components/filter.css +10 -31
  21. package/src/components/footer.css +16 -16
  22. package/src/components/form.css +14 -18
  23. package/src/components/header.css +43 -7
  24. package/src/components/hidden.css +3 -0
  25. package/src/components/index.css +1 -0
  26. package/src/components/kitchensink.css +2 -2
  27. package/src/components/layout.css +7 -8
  28. package/src/components/loader.css +7 -7
  29. package/src/components/modal.css +0 -3
  30. package/src/components/nav.css +63 -123
  31. package/src/components/notification-banner.css +20 -9
  32. package/src/components/pagination.css +1 -1
  33. package/src/components/panel.css +4 -4
  34. package/src/components/phase-banner.css +6 -1
  35. package/src/components/radios.css +4 -8
  36. package/src/components/stack.css +66 -0
  37. package/src/components/stepnav.css +10 -4
  38. package/src/components/table.css +13 -14
  39. package/src/components/task-list.css +3 -4
  40. package/src/components/typography.css +18 -2
  41. package/src/pages/admin-filtering-data.js +1 -1
  42. package/src/pages/dropdown.js +2 -2
  43. package/src/pages/form.js +1 -1
  44. package/src/pages/index.js +12 -10
  45. package/src/utilities/index.css +21 -21
  46. package/src/utilities/utilities.css +23 -22
  47. package/tailwind.config.js +2 -0
  48. package/themes.plugin.js +17 -17
@@ -9,13 +9,13 @@
9
9
  @apply print:text-base-content;
10
10
  }
11
11
  }
12
- .govgr-footer__meta {
12
+ .govgr-footer__info {
13
13
  @apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-between box-border;
14
14
  }
15
- .govgr-footer__meta-item {
15
+ .govgr-footer__info-section {
16
16
  @apply mx-2 md:mx-4 mb-6 print:mb-4;
17
17
  }
18
- .govgr-footer__meta-item--grow {
18
+ .govgr-footer__info-section--grow {
19
19
  @apply flex flex-grow;
20
20
  }
21
21
  .govgr-footer__content {
@@ -38,19 +38,13 @@
38
38
  .govgr-footer__logo, .govgr-footer__government-logo {
39
39
  @apply max-w-full h-auto w-52 min-w-52 block;
40
40
  }
41
- .govgr-footer__licence-description {
41
+ .govgr-footer__copyright {
42
42
  @apply mt-6 print:mt-4;
43
- font-size: var(--footer__licence-description-font-size);
43
+ font-size: var(--footer__copyright-font-size);
44
44
  .govgr-link {
45
45
  font-size: inherit;
46
46
  }
47
47
  }
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
48
  .govgr-footer__link {
55
49
  @apply underline ;
56
50
  &:hover {
@@ -66,20 +60,26 @@
66
60
  .govgr-footer__navigation {
67
61
  @apply flex flex-wrap print:hidden;
68
62
  }
69
- .govgr-footer__section {
63
+ .govgr-footer__navigation-section {
70
64
  @apply inline-block mx-4 mb-8 align-top flex-grow flex-shrink
71
65
  print:hidden;
72
66
  }
73
- @media (min-width: 48em) {
74
- .govgr-footer__section:first-child:nth-last-child(2) {
67
+ @media (min-width: 768px) {
68
+ .govgr-footer__navigation-section:first-child:nth-last-child(2) {
75
69
  @apply flex-grow-2;
76
70
  }
77
71
  }
78
72
  .govgr-footer__list {
79
- @apply m-0 p-0 list-none gap-x-6
73
+ @apply m-0 p-0 list-none gap-x-6 text-sm md:text-base
80
74
  print:hidden;
81
75
  }
82
- @media (min-width: 48em) {
76
+ .govgr-footer__list--horizontal {
77
+ @apply mb-4;
78
+ .govgr-footer__list-item {
79
+ @apply inline-block mr-4 mb-2;
80
+ }
81
+ }
82
+ @media (min-width: 768px) {
83
83
  .govgr-footer__list--columns-2 {
84
84
  column-count: 2;
85
85
  }
@@ -74,36 +74,35 @@
74
74
  }
75
75
  }
76
76
  .govgr-date-input,
77
- .govgr-single-character-input--container {
78
- @apply flex;
77
+ .govgr-single-character-input {
78
+ @apply flex flex-wrap gap-y-2;
79
79
  }
80
80
  .govgr-select {
81
81
  @apply w-auto max-w-full;
82
82
  }
83
- .govgr-input--width-20 {
83
+ .govgr-input--width-20-char {
84
84
  max-width: 41ex;
85
85
  }
86
- .govgr-input--width-10 {
86
+ .govgr-input--width-10-char {
87
87
  max-width: 23ex;
88
88
  }
89
- .govgr-input--width-5 {
89
+ .govgr-input--width-5-char {
90
90
  max-width: 10.8ex;
91
91
  }
92
- .govgr-input--width-4 {
92
+ .govgr-input--width-4-char {
93
93
  max-width: 9ex;
94
94
  }
95
- .govgr-input--width-3 {
95
+ .govgr-input--width-3-char {
96
96
  max-width: 7.2ex;
97
97
  }
98
- .govgr-input--width-2 {
98
+ .govgr-input--width-2-char {
99
99
  max-width: 5.4ex;
100
100
  }
101
- .govgr-otp-input--width {
102
- max-width: 3.1ex;
103
- @apply text-center pl-0 pr-0;
101
+ .govgr-single-character-input__item {
102
+ max-width: 4.4ex;
103
+ @apply text-center px-0 mr-3;
104
104
  }
105
- .govgr-date-input__item,
106
- .govgr-otp-input__item {
105
+ .govgr-date-input__item {
107
106
  @apply mr-4;
108
107
  }
109
108
  .govgr-\!-width-one-quarter,
@@ -137,9 +136,6 @@
137
136
 
138
137
  /* error handling */
139
138
 
140
- .govgr-error-summary {
141
- @apply border-5 border-error mb-6 md:mb-8 p-4 md:p-5;
142
- }
143
139
  .govgr-field--error {
144
140
  @apply border-l-5 border-error px-0 pl-4;
145
141
  }
@@ -184,6 +180,6 @@
184
180
  .govgr-checkboxes__label--disabled {
185
181
  @apply opacity-40;
186
182
  }
187
- .govgr-choice-divider {
188
- @apply text-lg text-center w-10 mb-4;
183
+ .govgr-choice-divider-text {
184
+ @apply text-lg text-center min-w-10 w-max mb-4;
189
185
  }
@@ -2,16 +2,12 @@
2
2
  @apply bg-primary border-b-8 print:border-b-2 border-tertiary;
3
3
  @apply print:bg-white;
4
4
  border-bottom-style: solid;
5
- .govgr-svg-icon--burger {
6
- fill: var(--color-base-content);
7
- @apply float-right cursor-pointer;
8
- }
9
5
  }
10
- .govgr-header__container {
6
+ .govgr-header__content {
11
7
  @apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
12
8
  print:px-0 gap-3;
13
9
  }
14
- .govgr-header__content {
10
+ .govgr-header__section {
15
11
  @apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2
16
12
  print:gap-1;
17
13
  }
@@ -53,7 +49,7 @@
53
49
  .govgr-grid-column-two-thirds > *:last-child {
54
50
  @apply mb-0;
55
51
  }
56
- .govgr-header__container {
52
+ .govgr-header__content {
57
53
  @apply flex-wrap;
58
54
  }
59
55
  }
@@ -79,3 +75,43 @@
79
75
  .govgr-masthead__logo {
80
76
  @apply md:mb-6 mb-4 h-10;
81
77
  }
78
+
79
+ /* overrides */
80
+
81
+ .govgr-header {
82
+ @apply relative;
83
+ .govgr-dropdown__button {
84
+ @apply sm:w-max;
85
+ }
86
+ }
87
+ .govgr-header-nav-menu__content, .govgr-header__content, .govgr-header__section {
88
+ >.govgr-svg-icon--burger {
89
+ fill: var(--color-white);
90
+ @apply float-right focus:bg-focus;
91
+ }
92
+ >.govgr-close-btn {
93
+ @apply sm:hidden;
94
+ .govgr-svg-icon--close {
95
+ fill: var(--color-link) !important;
96
+ }
97
+ }
98
+ > .govgr-nav__list {
99
+ > .govgr-nav__list-item {
100
+ > .govgr-nav__list-item-link,
101
+ > .govgr-nav__list-item-btn {
102
+ &:not(:focus) {
103
+ @apply text-white;
104
+ }
105
+ }
106
+ > .govgr-nav__list-item-link--active,
107
+ > .govgr-nav__list-item-btn--active {
108
+ &:not(:focus) {
109
+ @apply text-white !important;
110
+ }
111
+ .govgr-svg-icon {
112
+ fill: var(--color-white);
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
@@ -1,3 +1,6 @@
1
+ .govgr-hidden {
2
+ @apply hidden;
3
+ }
1
4
  .govgr-hidden-xs--up {
2
5
  @apply xs:hidden;
3
6
  }
@@ -25,6 +25,7 @@
25
25
  @import "./panel.css";
26
26
  @import "./phase-banner.css";
27
27
  @import "./summary-list.css";
28
+ @import "./stack.css";
28
29
  @import "./tabs.css";
29
30
  @import "./misc.css";
30
31
  @import "./modal.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
  }
@@ -1,18 +1,17 @@
1
- .govgr-layout-wrapper {
1
+ .govgr-layout {
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  flex-wrap: wrap;
5
5
  }
6
- .govgr-layout-wrapper__full-height {
6
+ .govgr-layout--full-height {
7
7
  min-height: 100vh;
8
8
  }
9
- .govgr-width-container {
10
- @apply max-w-5xl box-border mx-auto px-3 md:px-6 w-full;
9
+ .govgr-container {
10
+ @apply max-w-5xl box-border mx-auto px-3 md:px-6 w-full;
11
11
  flex: 1 1 0%;
12
12
  }
13
- .govgr-full-width-container {
14
- @apply max-w-full box-border mx-auto px-3 md:px-6 w-full;
15
- flex: 1 1 0%;
13
+ .govgr-container--full-width {
14
+ @apply max-w-full;
16
15
  }
17
16
  .govgr-main-wrapper {
18
17
  @apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16
@@ -49,7 +48,7 @@
49
48
  @apply m-auto px-4 py-2 border-0 w-full bg-transparent;
50
49
  }
51
50
  .govgr-section-break--visible {
52
- @apply border-t border-base-300 border-solid ;
51
+ @apply border-t border-base-300 border-solid;
53
52
  }
54
53
  .govgr-section-break--md {
55
54
  @apply mb-5;
@@ -1,7 +1,7 @@
1
- .govgr-loader__container {
1
+ .govgr-loader {
2
2
  @apply h-fit w-fit m-auto overflow-hidden print:hidden;
3
3
  }
4
- .govgr-loader {
4
+ .govgr-circular-progress {
5
5
  animation: rotate 10s linear infinite;
6
6
  @apply w-fit h-10;
7
7
  }
@@ -20,7 +20,7 @@
20
20
  stroke-dashoffset: 0;
21
21
  animation: dash 4s ease-in-out 0s forwards infinite;
22
22
  }
23
- .govgr-loader--inverse {
23
+ .govgr-circular-progress--secondary {
24
24
  .govgr-loader__circle--1 {
25
25
  @apply opacity-40;
26
26
  stroke: var(--color-white);
@@ -32,7 +32,7 @@
32
32
  }
33
33
  @media print {
34
34
  .govgr-btn {
35
- .govgr-loader--inverse {
35
+ .govgr-circular-progress--secondary {
36
36
  .govgr-loader__circle--1,
37
37
  .govgr-loader__circle--2 {
38
38
  stroke: var(--color-base-content);
@@ -41,13 +41,13 @@
41
41
  }
42
42
  }
43
43
 
44
- .govgr-loader--sm {
44
+ .govgr-circular-progress--sm {
45
45
  @apply h-5 w-5;
46
46
  }
47
- .govgr-loader--md {
47
+ .govgr-circular-progress--md {
48
48
  @apply h-10 w-10;
49
49
  }
50
- .govgr-loader--lg {
50
+ .govgr-circular-progress--lg {
51
51
  @apply h-12 w-12;
52
52
  }
53
53
  @keyframes dash {
@@ -16,9 +16,6 @@
16
16
  .govgr-modal__container {
17
17
  @apply grid p-10 gap-6 px-6 py-2;
18
18
  }
19
- .govgr-modal__heading {
20
- @apply md:text-2xl text-xl font-bold;
21
- }
22
19
  .govgr-modal__content {
23
20
  @apply text-base lg:text-xl text-lg;
24
21
  }
@@ -1,123 +1,44 @@
1
- .govgr-header {
2
- @apply relative;
3
- .govgr-svg-icon--burger {
4
- fill: var(--color-white);
5
- @apply float-right focus:bg-focus;
6
- }
7
- .govgr-drawer__close-icon {
8
- @apply sm:hidden;
9
- .govgr-svg-icon--close {
10
- fill: var(--color-link) !important;
11
- }
12
- }
13
- .govgr-nav {
14
- @apply fixed;
15
- }
1
+ .govgr-nav {
2
+ @apply relative block w-full h-auto bg-base-100 text-base-content;
16
3
  .govgr-nav__list {
17
- @apply sm:flex !important;
18
- @apply sm:w-min xs:hidden m-0 max-w-5xl sm:mx-auto sm:gap-x-6 static sm:py-1 xs:px-3 sm:px-0
19
- flex flex-wrap flex-col sm:flex-row;
20
- }
21
- .govgr-nav__list-item {
22
- @apply text-base-content sm:mr-auto sm:ml-auto sm:text-center sm:underline mr-0 xs:px-2 xs:py-1 sm:gap-x-6;
23
- .govgr-svg-icon {
24
- fill: var(--color-white) !important;
25
- }
4
+ @apply px-3;
26
5
  }
27
6
  .govgr-nav__list-item-link,
28
7
  .govgr-nav__list-item-btn {
29
- @apply underline xs:text-white text-lg sm:flex !important;
30
- @apply xs:hidden items-center xs:gap-1;
31
- &:focus {
32
- @apply sm:bg-focus sm:text-link-active !important;
33
- .govgr-svg-icon {
34
- fill: var(--color-link-active) !important;
35
- }
36
- }
37
- }
38
- .govgr-nav__list--active {
39
- @apply sm:bg-tertiary !important;
8
+ @apply md:no-underline !important;
40
9
  }
41
10
  }
42
- /* --- NAV --- */
43
- .govgr-nav {
44
- @apply sm:block !important;
45
- @apply xs:hidden w-3/4 sm:w-full h-full bg-base-100
46
- sm:h-auto sm:bg-base-100 xs:text-base-content
47
- z-30 sm:z-auto
48
- opacity-100 right-0 top-0 sm:top-auto overflow-x-scroll sm:overflow-visible;
49
- }
50
11
  .govgr-nav--fixed {
51
- @apply fixed sm:relative;
12
+ @apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto
13
+ sm:relative sm:block sm:w-full sm:h-auto sm:z-auto sm:top-auto sm:overflow-visible;
14
+ @apply shadow-thick sm:shadow-none !important;
15
+ .govgr-nav__list {
16
+ @apply p-4;
17
+ }
18
+ }
19
+ .govgr-nav--open {
20
+ @apply block;
52
21
  }
53
22
  .govgr-nav--border {
54
23
  @apply sm:border-b sm:border-base-400;
55
24
  }
56
- .govgr-nav--open {
57
- @apply xs:block;
58
- }
59
- .govgr-nav--hidden {
60
- @apply hidden !important;
25
+ .govgr-nav__list {
26
+ @apply w-full m-0 max-w-5xl static flex flex-wrap flex-col;
61
27
  }
62
- .govgr-nav__list-item {
63
- @apply text-base-content
64
- xs:py-1;
65
- }
66
- .govgr-nav--horizontal {
67
- .govgr-nav--horizontal {
68
- @apply sm:mt-2 sm:border-b-0 static w-full z-1 sm:order-1;
69
- @apply block overflow-x-visible;
70
- .govgr-nav__list {
71
- @apply sm:px-0 sm:pb-0 sm:ml-6 !important;
72
- }
73
- }
74
- .govgr-nav__list {
75
- @apply w-full m-0 max-w-5xl sm:mx-auto sm:gap-x-6 static sm:py-1 xs:px-3 sm:px-0
76
- flex flex-wrap flex-col sm:flex-row;
77
- .govgr-section-break {
78
- margin-top: 41px !important;
79
- @apply sm:flex !important;
80
- @apply xs:hidden sm:p-0 absolute left-0 right-0;
81
- }
82
- }
28
+ .govgr-nav__list--horizontal {
29
+ @apply sm:mx-auto sm:gap-x-6 sm:py-1 px-3 sm:px-0 sm:flex-row;
83
30
  .govgr-nav__list-item {
84
31
  @apply sm:gap-x-6;
85
32
  }
86
- .govgr-drawer__close-icon {
87
- @apply sm:hidden mt-3;
88
- }
89
- .govgr-heading-md {
90
- @apply mb-0;
91
- }
92
33
  }
93
- .govgr-nav--vertical {
94
- .govgr-nav--vertical {
95
- @apply sm:mt-2 sm:border-b-0 static w-full z-1;
96
- @apply block overflow-x-visible;
97
- }
98
- .govgr-nav__list {
99
- @apply w-full m-0 max-w-5xl static xs:px-3
100
- flex flex-wrap flex-col;
101
- }
102
- .govgr-drawer__close-icon {
103
- @apply sm:hidden mt-3;
104
- }
105
- .govgr-heading-md {
106
- @apply mb-0;
107
- }
34
+ .govgr-nav__list--full-width {
35
+ @apply max-w-none;
108
36
  }
109
- .govgr-nav__list,
110
- .govgr-main-wrapper {
111
- .govgr-drawer__heading {
112
- @apply flex-row-reverse;
113
- }
37
+ .govgr-nav__list-item {
38
+ @apply text-base-content py-1;
114
39
  }
115
40
  .govgr-nav__list-item-link,
116
41
  .govgr-nav__list-item-btn {
117
- @apply md:no-underline !important;
118
- .govgr-svg-icon {
119
- @apply ml-0.5;
120
- }
121
42
  &:focus {
122
43
  @apply bg-focus text-base-content outline-none;
123
44
  box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
@@ -130,14 +51,10 @@
130
51
  .govgr-nav__list-item-btn--active {
131
52
  @apply text-base-content !important;
132
53
  @apply font-semibold;
133
- > .govgr-svg-icon {
134
- fill: var(--color-base-content) !important;
135
- }
136
54
  }
137
55
 
138
- /* --- NAV-MENU --- */
139
56
  .govgr-nav-menu {
140
- @apply flex z-1 w-full;
57
+ @apply flex w-full;
141
58
  }
142
59
  .govgr-nav-menu--hidden {
143
60
  @apply hidden;
@@ -145,35 +62,58 @@
145
62
  .govgr-nav-menu--horizontal {
146
63
  @apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
147
64
  .govgr-main-wrapper {
148
- @apply xs:gap-y-2;
65
+ @apply gap-y-2;
149
66
  }
150
67
  .govgr-nav-menu__content-list {
151
- @apply sm:grid-cols-2 sm:grid-rows-1 !important;
152
- @apply p-0 sm:grid grid-flow-row xs:grid-cols-1 xs:grid-rows-6;
68
+ @apply sm:grid-rows-1 sm:grid-cols-3;
69
+ }
70
+ .govgr-nav-menu__title {
71
+ @apply hidden sm:block;
72
+ + .govgr-nav-menu__content > .govgr-nav-menu__content-list {
73
+ @apply sm:grid-cols-2;
74
+ }
153
75
  }
154
76
  }
155
77
  .govgr-nav-menu--vertical {
156
- .govgr-nav-menu__content-list {
157
- @apply p-0 grid-flow-row xs:grid-cols-1 xs:grid-rows-6;
158
- }
159
- .govgr-nav-menu__container-title {
160
- @apply mt-3;
161
- }
162
- .govgr-nav-menu__container-title-heading {
78
+ .govgr-nav-menu__title {
163
79
  @apply hidden;
164
80
  }
81
+ .govgr-nav-menu__content-list {
82
+ @apply py-2 sm:py-4;
83
+ }
84
+ }
85
+ .govgr-nav-menu__content-list {
86
+ @apply p-0 grid grid-flow-row grid-cols-1;
165
87
  }
166
88
  .govgr-nav-menu__content-list-item {
167
- @apply relative pt-0 pb-5 pr-3 pl-0 box-border;
89
+ @apply relative pt-0 pb-5 pr-3 pl-0 box-border;
168
90
  }
169
91
 
170
- /* --- VERTICAL LIST --- */
171
- .govgr-vertical-nav {
172
- @apply flex flex-wrap;
92
+ /* overrides */
93
+
94
+ .govgr-nav {
95
+ .govgr-close-btn {
96
+ @apply sm:hidden mt-3;
97
+ }
98
+ .govgr-heading-md {
99
+ @apply mb-2 md:mb-0;
100
+ }
173
101
  }
174
- .govgr-vertical-nav__item {
175
- @apply w-full p-2 !important;
102
+ .govgr-nav__list,
103
+ .govgr-main-wrapper {
104
+ .govgr-drawer__heading {
105
+ @apply flex-row-reverse;
106
+ }
107
+ }
108
+ .govgr-nav__list-item-link,
109
+ .govgr-nav__list-item-btn {
110
+ > .govgr-svg-icon {
111
+ @apply ml-0.5;
112
+ }
176
113
  }
177
- .govgr-vertical-nav__item--active {
178
- @apply font-semibold !important;
114
+ .govgr-nav__list-item-link--active,
115
+ .govgr-nav__list-item-btn--active {
116
+ > .govgr-svg-icon {
117
+ fill: var(--color-base-content) !important;
118
+ }
179
119
  }
@@ -1,13 +1,22 @@
1
1
  .govgr-notification-banner {
2
- @apply bg-info border-5 border-info mb-6 md:mb-8 font-normal
3
- print:bg-base-100;
2
+ @apply border-5 mb-6 md:mb-8 font-normal print:bg-white;
3
+ }
4
+ .govgr-notification-banner--info {
5
+ @apply bg-info border-info;
4
6
  }
5
7
  .govgr-notification-banner--success {
6
- @apply bg-success border-success
7
- print:bg-white;
8
+ @apply bg-success border-success;
8
9
  .govgr-notification-banner__link {
9
- &:link {
10
+ &:link:not(:focus) {
10
11
  @apply text-success;
12
+ }
13
+ }
14
+ }
15
+ .govgr-notification-banner--error {
16
+ @apply bg-error border-error;
17
+ .govgr-notification-banner__link {
18
+ &:link:not(:focus) {
19
+ @apply text-error;
11
20
  }
12
21
  }
13
22
  }
@@ -27,11 +36,8 @@
27
36
  @apply mb-0;
28
37
  }
29
38
  }
30
- .govgr-notification-banner__heading {
31
- @apply p-0 m-0 mb-4 text-lg md:text-2xl font-bold;
32
- }
33
39
  .govgr-notification-banner__link {
34
- @apply underline;
40
+ @apply underline text-base md:text-lg;
35
41
  &:link {
36
42
  @apply text-link;
37
43
  }
@@ -45,3 +51,8 @@
45
51
  outline: none;
46
52
  }
47
53
  }
54
+ .govgr-notification-banner__heading {
55
+ .govgr-notification-banner__link {
56
+ font-size: inherit;
57
+ }
58
+ }
@@ -18,7 +18,7 @@
18
18
  }
19
19
  }
20
20
  }
21
- .govgr-pagination--size-sm {
21
+ .govgr-pagination--sm {
22
22
  .govgr-pagination__label, .govgr-label, .govgr-select, .govgr-pagination__item--current {
23
23
  @apply md:text-base text-sm;
24
24
  }
@@ -1,10 +1,10 @@
1
1
  .govgr-panel {
2
2
  @apply box-border mb-4 p-8 border-5 border-transparent text-center
3
- print:p-4;
3
+ print:p-4 text-white
4
+ print:border-4 print:text-base-content print:bg-white;
4
5
  }
5
- .govgr-panel--confirmation {
6
- @apply bg-success text-white
7
- print:border-4 print:border-success print:text-base-content print:bg-white;
6
+ .govgr-panel--success {
7
+ @apply bg-success print:border-success;
8
8
  }
9
9
  .govgr-panel__title {
10
10
  @apply mx-auto mt-0;
@@ -1,4 +1,4 @@
1
- .govgr-phase-banner_header {
1
+ .govgr-phase-banner__header {
2
2
  @apply bg-focus top-0 z-30
3
3
  print:bg-white print:border-focus print:border-2 print:px-4;
4
4
  .govgr-phase-banner {
@@ -8,6 +8,11 @@
8
8
  .govgr-phase-banner {
9
9
  @apply py-2 mb-4;
10
10
  }
11
+ .govgr-header__section {
12
+ .govgr-phase-banner {
13
+ @apply mb-0;
14
+ }
15
+ }
11
16
  .govgr-phase-banner--underline {
12
17
  @apply border-base-500 border-b;
13
18
  }
@@ -3,14 +3,10 @@
3
3
  @apply block relative mb-4 pl-12;
4
4
  min-height: 40px;
5
5
  }
6
- .govgr-radios--inline {
7
- .govgr-radios__item {
8
- @apply sm:mr-6 sm:float-left sm:clear-none;
9
- }
10
- &::after {
11
- content: "";
12
- display: block;
13
- clear: both;
6
+ .govgr-radios--horizontal {
7
+ @apply inline-flex flex-wrap items-baseline gap-4 md:gap-6;
8
+ .govgr-choice-divider-text {
9
+ @apply min-w-max mx-2;
14
10
  }
15
11
  }
16
12
  .govgr-radios__item {