@digigov/css 1.0.0-blabla-test → 1.0.0-e322b0cc

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 +4 -0
  13. package/src/base/postcss.config.js +23 -22
  14. package/src/base/tailwind.config.js +19 -15
  15. package/src/components/accordion.css +67 -13
  16. package/src/components/admin-header.css +27 -1
  17. package/src/components/admin-layout.css +6 -0
  18. package/src/components/autocomplete.css +12 -9
  19. package/src/components/bottom-info.css +2 -1
  20. package/src/components/button.css +99 -32
  21. package/src/components/card.css +30 -15
  22. package/src/components/checkboxes.css +56 -10
  23. package/src/components/chip.css +35 -15
  24. package/src/components/copy-to-clipboard.css +52 -30
  25. package/src/components/drawer.css +58 -27
  26. package/src/components/dropdown.css +96 -71
  27. package/src/components/filter.css +71 -63
  28. package/src/components/footer.css +29 -23
  29. package/src/components/form.css +70 -47
  30. package/src/components/header.css +86 -32
  31. package/src/components/hidden.css +3 -0
  32. package/src/components/index.css +3 -1
  33. package/src/components/kitchensink.css +2 -2
  34. package/src/components/layout.css +25 -25
  35. package/src/components/loader.css +11 -22
  36. package/src/components/masthead.css +78 -0
  37. package/src/components/misc.css +17 -41
  38. package/src/components/modal.css +10 -3
  39. package/src/components/nav.css +93 -126
  40. package/src/components/notification-banner.css +32 -10
  41. package/src/components/pagination.css +41 -24
  42. package/src/components/panel.css +5 -4
  43. package/src/components/phase-banner.css +1 -7
  44. package/src/components/postcss.config.js +15 -16
  45. package/src/components/radios.css +34 -25
  46. package/src/components/stack.css +66 -0
  47. package/src/components/stepnav.css +34 -10
  48. package/src/components/summary-list.css +22 -15
  49. package/src/components/svg-icons.css +2 -62
  50. package/src/components/table.css +43 -47
  51. package/src/components/tabs.css +33 -1
  52. package/src/components/tailwind.config.js +12 -6
  53. package/src/components/task-list.css +28 -15
  54. package/src/components/timeline.css +21 -6
  55. package/src/components/typography.css +98 -64
  56. package/src/components/warning-text.css +23 -0
  57. package/src/fonts.css +1 -1
  58. package/src/index.css +0 -2
  59. package/src/pages/admin-filtering-data.js +1 -1
  60. package/src/pages/dropdown.js +2 -2
  61. package/src/pages/form.js +1 -1
  62. package/src/pages/index.js +12 -10
  63. package/src/utilities/index.css +142 -22
  64. package/src/utilities/postcss.config.js +15 -16
  65. package/src/utilities/tailwind.config.js +10 -1
  66. package/src/utilities/utilities.css +158 -34
  67. package/tailwind.config.js +18 -30
  68. package/themes.plugin.js +95 -100
  69. package/src/components/accessibility-menu.css +0 -71
@@ -1,4 +1,7 @@
1
- .govgr-btn {
1
+ .govgr-btn,
2
+ .govgr-btn[type=submit],
3
+ .govgr-btn[type=button],
4
+ .govgr-btn[type=reset] {
2
5
  @apply no-underline font-medium cursor-pointer
3
6
  m-0 mb-8 w-max min-h-10 md:min-h-12
4
7
  flex gap-x-3 items-center;
@@ -15,30 +18,22 @@
15
18
  &:focus-within {
16
19
  @apply outline-none;
17
20
  }
18
- .govgr-svg-icon {
19
- @apply h-4 w-4 inline transition-all;
20
- }
21
- }
22
- .govgr-background-dark,
23
- .govgr-masthead--primary {
24
- .govgr-btn {
25
- @apply border-white hover:border-white border-2 shadow-none;
21
+ &.govgr-btn--dense,
22
+ .govgr-dense & {
23
+ --btn-padding: 0.375rem 0.75rem;
24
+ @apply min-h-8;
26
25
  &:focus {
27
- -webkit-box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
28
- box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
26
+ -webkit-box-shadow: 0 0 0 2px var(--color-white),
27
+ 0 0 0 5px var(--color-base-content), 0 0 0 8px var(--color-focus);
28
+ box-shadow: 0 0 0 2px var(--color-white),
29
+ 0 0 0 5px var(--color-base-content), 0 0 0 8px var(--color-focus);
29
30
  }
30
31
  }
31
- .govgr-btn-primary {
32
- @apply print:border-0 print:border-b-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
33
- }
34
- .govgr-btn-secondary {
35
- @apply print:border-0 print:border-b-2 print:border-base-500 print:text-base-content print:bg-white print:shadow-none;
36
- }
37
- .govgr-btn-warning {
38
- @apply print:border-0 print:border-b-2 print:border-error print:text-base-content print:bg-white print:shadow-none;
39
- }
40
32
  }
41
- .govgr-btn-primary {
33
+ .govgr-btn-primary,
34
+ .govgr-btn-primary[type="submit"],
35
+ .govgr-btn-primary[type="button"],
36
+ .govgr-btn-primary[type="reset"] {
42
37
  -webkit-box-shadow: 0 2px 0 var(--color-base-content);
43
38
  box-shadow: 0 2px 0 var(--color-base-content);
44
39
  background-color: var(--btn-primary-background-color);
@@ -56,16 +51,11 @@
56
51
  .govgr-btn-cta {
57
52
  @apply py-4 print:pr-2;
58
53
  font-size: var(--btn-cta-font-size);
59
- .govgr-svg-icon--arrow {
60
- @apply w-5 h-5 inline-block ml-2 mr-2 transition-all;
61
- }
62
- &:hover {
63
- .govgr-svg-icon--arrow {
64
- @apply ml-4 mr-0;
65
- }
66
- }
67
54
  }
68
- .govgr-btn-secondary {
55
+ .govgr-btn-secondary,
56
+ .govgr-btn-secondary[type="submit"],
57
+ .govgr-btn-secondary[type="button"],
58
+ .govgr-btn-secondary[type="reset"] {
69
59
  -webkit-box-shadow: 0 2px 0 var(--color-base-500);
70
60
  box-shadow: 0 2px 0 var(--color-base-500);
71
61
  @apply hover:no-underline
@@ -80,8 +70,11 @@
80
70
  background-color: var(--btn-secondary-background-color-active);
81
71
  }
82
72
  }
83
- .govgr-btn-warning {
84
- webkit-box-shadow: 0 2px 0 var(--color-base-content);
73
+ .govgr-btn-warning,
74
+ .govgr-btn-warning[type="submit"],
75
+ .govgr-btn-warning[type="button"],
76
+ .govgr-btn-warning[type="reset"] {
77
+ -webkit-box-shadow: 0 2px 0 var(--color-base-content);
85
78
  box-shadow: 0 2px 0 var(--color-base-content);
86
79
  @apply hover:no-underline
87
80
  print:border-2 print:border-error print:shadow-none;
@@ -105,3 +98,77 @@
105
98
  fill: var(--color-base-content);
106
99
  @apply w-4 h-4 inline-block;
107
100
  }
101
+ .govgr-close-btn {
102
+ @apply flex flex-nowrap text-right w-max float-right items-center;
103
+ }
104
+
105
+ /* overrides */
106
+
107
+ .govgr-btn {
108
+ .govgr-svg-icon {
109
+ @apply h-4 w-4 inline transition-all;
110
+ }
111
+ }
112
+ .govgr-btn-primary,
113
+ .govgr-btn-warning {
114
+ .govgr-svg-icon {
115
+ fill: var(--color-white);
116
+ }
117
+ .govgr-svg-icon--more-vert {
118
+ @apply h-6 w-6 md:h-8 md:w-8;
119
+ }
120
+ }
121
+ .govgr-btn-cta {
122
+ .govgr-svg-icon--arrow {
123
+ @apply w-5 h-5 inline-block ml-2 mr-2 transition-all;
124
+ }
125
+ &:hover {
126
+ .govgr-svg-icon--arrow {
127
+ @apply ml-4 mr-0;
128
+ }
129
+ }
130
+ }
131
+ .govgr-btn-secondary {
132
+ .govgr-svg-icon {
133
+ fill: var(--color-base-content);
134
+ }
135
+ .govgr-svg-icon--more-vert {
136
+ @apply h-6 w-6;
137
+ }
138
+ }
139
+ .govgr-close-btn {
140
+ .govgr-svg-icon--close {
141
+ @apply w-5 h-5 float-right;
142
+ @apply ml-1 !important;
143
+ fill: var(--color-link);
144
+ }
145
+ &:focus {
146
+ .govgr-svg-icon--close {
147
+ fill: var(--color-link-active);
148
+ }
149
+ }
150
+ &:hover {
151
+ .govgr-svg-icon--close {
152
+ fill: var(--color-link-hover);
153
+ }
154
+ }
155
+ }
156
+ @media print {
157
+ .govgr-btn {
158
+ .govgr-circular-progress--secondary {
159
+ .govgr-circular-progress__circle--1,
160
+ .govgr-circular-progress__circle--2 {
161
+ stroke: var(--color-base-content);
162
+ }
163
+ }
164
+ }
165
+ }
166
+ @media print {
167
+ .govgr-btn-primary,
168
+ .govgr-btn-warning,
169
+ .govgr-btn-secondary {
170
+ .govgr-svg-icon {
171
+ fill: var(--color-base-content);
172
+ }
173
+ }
174
+ }
@@ -1,17 +1,29 @@
1
1
  .govgr-card {
2
2
  @apply mb-7 text-base-content;
3
+ &.govgr-card--dense, .gov-dense & {
4
+ @apply mb-5;
5
+ .govgr-card__body {
6
+ @apply gap-2 md:gap-3;
7
+ }
8
+ }
3
9
  }
4
10
  .govgr-card--border {
5
11
  @apply border-2 border-base-content p-6;
6
12
  &.govgr-card--border-light {
7
13
  @apply border;
8
14
  }
15
+ &.govgr-card--dense, .govgr-dense & {
16
+ @apply p-4 pt-3;
17
+ }
9
18
  }
10
19
  .govgr-card--border-top {
11
20
  @apply border-t border-base-300 pt-4;
12
21
  &.govgr-card--border-dark {
13
22
  @apply border-t-3;
14
23
  }
24
+ &.govgr-card--dense, .govgr-dense & {
25
+ @apply p-3;
26
+ }
15
27
  }
16
28
  .govgr-card--divider {
17
29
  @apply border-b border-base-300 pb-4 mb-4;
@@ -22,7 +34,7 @@
22
34
  &:after {
23
35
  content: "";
24
36
  transition: all 0.1s ease;
25
- @apply w-5 h-5 bg-contain bg-no-repeat bg-center absolute right-2 top-2 z-/1;
37
+ @apply w-5 h-5 bg-contain bg-no-repeat bg-center absolute right-2 top-2;
26
38
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' aria-hidden='true'> <path d='M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z' /> </svg>");
27
39
  }
28
40
  &:hover {
@@ -35,14 +47,6 @@
35
47
  .govgr-card__heading {
36
48
  @apply md:text-xl text-lg tracking-wide;
37
49
  @apply leading-8 !important;
38
-
39
- .govgr-link {
40
- /* Clickable area will be at all the card with 'after' */
41
- &::after {
42
- content: "";
43
- @apply block absolute top-0 bottom-0 right-0 left-0;
44
- }
45
- }
46
50
  }
47
51
  }
48
52
  .govgr-card--border-light {
@@ -66,10 +70,6 @@
66
70
  }
67
71
  .govgr-card__action {
68
72
  @apply flex flex-wrap items-center gap-y-4 mt-auto;
69
- .govgr-link,
70
- .govgr-btn {
71
- @apply mb-0;
72
- }
73
73
  }
74
74
  @media print {
75
75
  /* When govgr-card__action is empty at print, content at :after limits its height. */
@@ -77,8 +77,23 @@
77
77
  content: "";
78
78
  }
79
79
  }
80
- .govgr-grid {
81
- .govgr-card {
80
+
81
+ /* overrides */
82
+
83
+ .govgr-card--cta {
84
+ .govgr-card__heading {
85
+ .govgr-link {
86
+ /* Clickable area will be at all the card with 'after' */
87
+ &::after {
88
+ content: "";
89
+ @apply block absolute top-0 bottom-0 right-0 left-0;
90
+ }
91
+ }
92
+ }
93
+ }
94
+ .govgr-card__action {
95
+ .govgr-link,
96
+ .govgr-btn {
82
97
  @apply mb-0;
83
98
  }
84
99
  }
@@ -1,13 +1,43 @@
1
- .govgr-checkboxes {}
2
- .govgr-checkboxes--inline {
3
- @apply inline-flex flex-wrap;
1
+ .govgr-checkboxes {
2
+ &.govgr-checkboxes--dense,
3
+ .govgr-dense & {
4
+ .govgr-checkboxes__item {
5
+ @apply mb-2 pl-10 min-h-8;
6
+ &:last-child {
7
+ @apply mb-0;
8
+ }
9
+ }
10
+ .govgr-checkboxes__input {
11
+ @apply w-8 h-8 left-0.5 md:top-0.5;
12
+ &:before {
13
+ @apply w-8 h-8;
14
+ }
15
+ &:after {
16
+ top: 10px;
17
+ left: 7px;
18
+ width: 19px;
19
+ height: 10px;
20
+ @apply border-b-4 border-l-4;
21
+ }
22
+ &:focus {
23
+ &:before {
24
+ @apply border-3;
25
+ }
26
+ }
27
+ }
28
+ .govgr-field {
29
+ @apply mb-4 md:mb-6;
30
+ }
31
+ }
32
+ }
33
+ .govgr-checkboxes--horizontal {
34
+ @apply inline-flex flex-wrap items-baseline gap-4 md:gap-6;
4
35
  }
5
36
  .govgr-checkboxes__item {
6
- @apply block relative mb-4 pl-12;
7
- min-height: 40px;
8
- &:last-child {
9
- @apply mb-0;
10
- }
37
+ @apply block relative mb-4 pl-12 min-h-10;
38
+ &:last-child {
39
+ @apply mb-0;
40
+ }
11
41
  }
12
42
  .govgr-checkboxes__label {
13
43
  @apply inline-block py-1 px-2 cursor-pointer;
@@ -47,7 +77,23 @@
47
77
  @apply border-4;
48
78
  }
49
79
  }
50
- }
80
+ }
51
81
  .govgr-checkboxes__conditional {
52
- @apply border-l-4 border-base-500 ml-4 pl-6;
82
+ @apply border-l-4 border-base-500 ml-4 pl-6;
83
+ }
84
+
85
+ /* overrides */
86
+
87
+ .govgr-checkboxes--horizontal {
88
+ .govgr-choice-divider-text {
89
+ @apply min-w-max mx-2;
90
+ }
91
+ }
92
+ .govgr-checkboxes {
93
+ &.govgr-checkboxes--dense,
94
+ .govgr-dense & {
95
+ .govgr-field {
96
+ @apply mb-4 md:mb-6;
97
+ }
98
+ }
53
99
  }
@@ -1,26 +1,20 @@
1
- .govgr-chip--heading {
2
- @apply font-bold md:text-base text-sm pb-4;
1
+ .govgr-chips {
2
+ @apply flex flex-wrap list-none gap-2;
3
+ .govgr-chip:last-child .govgr-chip__content {
4
+ @apply mr-0;
5
+ }
3
6
  }
4
7
  .govgr-chips--horizontal {
5
8
  @apply md:flex md:flex-row md:flex-wrap;
6
9
  }
7
- .govgr-chips {
8
- @apply flex flex-wrap list-none;
9
- }
10
10
  .govgr-chip {
11
11
  @apply list-none;
12
12
  .govgr-chip__content {
13
13
  @apply bg-base-100 text-base-content lg:text-base text-sm border-2 border-base-content
14
- inline-flex items-center px-2 py-1 mr-2 mb-2 rounded shadow;
15
- .govgr-svg-icon--close {
16
- @apply w-4 h-4 ml-3;
17
- }
14
+ inline-flex items-center px-2 py-1 rounded shadow;
18
15
  &[role="button"] {
19
16
  &:hover {
20
17
  @apply shadow-lg text-base-content-invert bg-base-900 border-base-900 transition;
21
- .govgr-svg-icon--close {
22
- fill: var(--color-base-content-invert);
23
- }
24
18
  }
25
19
  &:focus {
26
20
  outline: 3px solid var(--color-focus);
@@ -30,12 +24,41 @@
30
24
  }
31
25
  }
32
26
  }
27
+ &:last-child {
28
+ .govgr-chip__content {
29
+ @apply mr-0;
30
+ }
31
+ }
33
32
  }
34
33
  .govgr-chip--deletable {
35
34
  .govgr-chip__content {
36
35
  &:hover {
37
36
  @apply shadow-lg transition;
38
37
  }
38
+ }
39
+ }
40
+ .govgr-chip__key-value {
41
+ @apply font-bold mr-2;
42
+ }
43
+
44
+ /* overrides */
45
+
46
+ .govgr-chip {
47
+ .govgr-chip__content {
48
+ .govgr-svg-icon--close {
49
+ @apply w-4 h-4 ml-3;
50
+ }
51
+ &[role="button"] {
52
+ &:hover {
53
+ .govgr-svg-icon--close {
54
+ fill: var(--color-base-content-invert);
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ .govgr-chip--deletable {
61
+ .govgr-chip__content {
39
62
  .govgr-svg-icon--close {
40
63
  &:hover {
41
64
  @apply cursor-pointer;
@@ -43,6 +66,3 @@
43
66
  }
44
67
  }
45
68
  }
46
- .govgr-chip__key-value {
47
- @apply font-bold mr-2;
48
- }
@@ -1,44 +1,66 @@
1
- .govgr-copy-to-clipboard-root {
2
- @apply flex;
1
+ .govgr-copy-to-clipboard {
2
+ @apply flex w-fit;
3
3
  }
4
- .govgr-copy-to-clipboard-container {
4
+ .govgr-copy-to-clipboard__tooltip {
5
5
  @apply relative;
6
- & > button {
7
- @apply m-0;
6
+ .govgr-copy-to-clipboard__message {
7
+ @apply bg-success py-4 px-6 absolute mt-4 text-center z-50 w-fit md:w-max;
8
+ &::before {
9
+ content: "";
10
+ @apply w-4 h-4 border-t-8 border-l-8 border-success transform rotate-45
11
+ absolute -top-1;
12
+ transform: rotate(45deg);
13
+ }
8
14
  }
9
- }
10
- .govgr-copy-to-clipboard--banner {
11
- @apply bg-success bg-opacity-95 p-2 w-full fixed top-0 right-0 text-center;
12
- & > * {
13
- @apply text-white;
15
+ &.govgr-copy-to-clipboard__tooltip--dense, .govgr-dense & {
16
+ .govgr-copy-to-clipboard__message {
17
+ @apply py-2 px-4;
18
+ }
19
+ &::before {
20
+ @apply w-2 h-2;
21
+ }
14
22
  }
15
23
  }
16
- .govgr-copy-to-clipboard--tooltip {
17
- @apply bg-success p-4 absolute mt-4 text-center z-50 w-fit md:w-max;
18
- & > * {
19
- @apply text-white;
20
- }
21
- &::before {
22
- content: "";
23
- @apply w-4 h-4 border-t-8 border-l-8 border-success transform rotate-45
24
- absolute -top-1;
25
- transform: rotate(45deg);
24
+ .govgr-copy-to-clipboard__tooltip--right {
25
+ .govgr-copy-to-clipboard__message {
26
+ @apply right-0;
27
+ &::before {
28
+ content: "";
29
+ @apply right-4;
30
+ }
26
31
  }
27
32
  }
28
- .govgr-copy-to-clipboard--tooltip-right {
29
- @apply right-0;
30
- &::before {
31
- content: "";
32
- @apply right-4;
33
+ .govgr-copy-to-clipboard__tooltip--left {
34
+ .govgr-copy-to-clipboard__message {
35
+ @apply left-0;
36
+ &::before {
37
+ content: "";
38
+ @apply left-4;
39
+ }
33
40
  }
34
41
  }
35
- .govgr-copy-to-clipboard--tooltip-left {
36
- @apply left-0;
37
- &::before {
38
- content: "";
39
- @apply left-4;
42
+ .govgr-copy-to-clipboard__banner {
43
+ .govgr-copy-to-clipboard__message {
44
+ @apply bg-success bg-opacity-95 p-2 w-full fixed top-0 right-0 text-center;
40
45
  }
41
46
  }
47
+
42
48
  .govgr-copy-to-clipboard--hidden {
43
49
  @apply invisible w-0 h-0;
44
50
  }
51
+
52
+ /* overrides */
53
+
54
+ .govgr-copy-to-clipboard__tooltip {
55
+ & > .govgr-btn {
56
+ @apply m-0;
57
+ }
58
+ }
59
+ .govgr-copy-to-clipboard__tooltip,
60
+ .govgr-copy-to-clipboard__banner {
61
+ .govgr-copy-to-clipboard__message {
62
+ & > .govgr-body {
63
+ @apply text-white;
64
+ }
65
+ }
66
+ }
@@ -1,51 +1,82 @@
1
- .govgr-drawer{
1
+ .govgr-drawer {
2
2
  @apply border border-base-300 bg-base-100 p-4
3
- h-full max-h-screen min-h-screen overflow-y-scroll w-4/5 max-w-md
3
+ h-full max-h-screen min-h-screen overflow-y-scroll w-4/5 max-w-md flex flex-col
4
4
  fixed top-0 bottom-0 z-40;
5
5
  @apply shadow-thick !important;
6
6
  }
7
- .govgr-drawer--relative-sm{
8
- @apply sm:block sm:relative sm:w-full max-h-full shadow-thick sm:shadow-none !important;
7
+ .govgr-drawer--relative-sm {
8
+ @apply sm:relative sm:w-full max-h-full shadow-thick sm:shadow-none !important;
9
9
  }
10
- .govgr-drawer--relative-md{
11
- @apply md:block md:relative md:w-full max-h-full shadow-thick md:shadow-none !important;
10
+ .govgr-drawer--relative-md {
11
+ @apply md:relative md:w-full max-h-full shadow-thick md:shadow-none !important;
12
12
  }
13
- .govgr-drawer--relative-lg{
14
- @apply lg:block lg:relative lg:w-full max-h-full shadow-thick lg:shadow-none !important;
13
+ .govgr-drawer--relative-lg {
14
+ @apply lg:relative lg:w-full max-h-full shadow-thick lg:shadow-none !important;
15
15
  }
16
16
  .govgr-drawer--right {
17
17
  @apply right-0;
18
18
  }
19
19
  .govgr-drawer--left {
20
- @apply left-0 ;
20
+ @apply left-0;
21
+ }
22
+ .govgr-drawer--bg-secondary {
23
+ @apply bg-base-200 border-0;
24
+ @apply shadow-xl !important;
21
25
  }
22
26
  .govgr-drawer--closed {
23
27
  @apply hidden;
28
+ &.govgr-drawer--relative-sm {
29
+ @apply hidden sm:flex;
30
+ }
31
+ &.govgr-drawer--relative-md {
32
+ @apply hidden md:flex;
33
+ }
34
+ &.govgr-drawer--relative-lg {
35
+ @apply hidden lg:flex;
36
+ }
37
+ }
38
+ .govgr-drawer__heading {
39
+ @apply p-0 mb-4 flex justify-between align-baseline;
40
+ .govgr--drawer__close-icon {
41
+ @apply m-0;
42
+ }
24
43
  }
25
- .govgr-drawer__close-container {
26
- @apply flex-grow;
44
+
45
+ /* overrides */
46
+
47
+ .govgr-drawer {
48
+ > .govgr-container {
49
+ @apply p-0;
50
+ }
27
51
  }
28
- .govgr-drawer__close-icon {
29
- @apply flex flex-nowrap text-right w-max float-right items-center;
30
- .govgr-svg-icon--close {
31
- @apply w-5 h-5 z-30 float-right;
32
- @apply ml-1 !important;
33
- fill: var(--color-link);
52
+ .govgr-drawer__heading {
53
+ .govgr-heading-xs,
54
+ .govgr-heading-sm,
55
+ .govgr-heading-md,
56
+ .govgr-heading-lg,
57
+ .govgr-heading-xl {
58
+ @apply m-0;
34
59
  }
35
- &:focus {
36
- .govgr-svg-icon--close {
37
- fill: var(--color-link-active);
60
+ }
61
+ .govgr-drawer--relative-sm {
62
+ .govgr-drawer__heading {
63
+ >.govgr-close-btn {
64
+ @apply sm:hidden;
38
65
  }
39
66
  }
40
- &:hover {
41
- .govgr-svg-icon--close {
42
- fill: var(--color-link-hover);
67
+ }
68
+ .govgr-drawer--relative-md {
69
+ .govgr-drawer__heading {
70
+ >.govgr-close-btn {
71
+ @apply md:hidden;
43
72
  }
44
73
  }
45
74
  }
46
- .govgr-drawer__heading {
47
- @apply p-0 mb-4 flex justify-between align-baseline;
48
- .govgr--drawer__close-icon, .govgr-heading-sm, .govgr-heading-md, .govgr-heading-lg, .govgr-heading-xl {
49
- @apply m-0;
75
+ .govgr-drawer--relative-lg {
76
+ .govgr-drawer__heading {
77
+ >.govgr-close-btn {
78
+ @apply lg:hidden;
79
+ }
50
80
  }
51
81
  }
82
+