@digigov/css 1.0.0-3bfc7d37 → 1.0.0-47312a12
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/defaultTheme/back-to-top.json +27 -0
- package/defaultTheme/index.js +1 -0
- package/dist/base/index.css +1 -1
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +2 -2
- package/package.json +7 -8
- package/src/base/index.css +1 -0
- package/src/components/accordion.css +1 -1
- package/src/components/back-to-top.css +29 -0
- package/src/components/button.css +29 -6
- package/src/components/checkboxes.css +49 -11
- package/src/components/copy-to-clipboard.css +13 -5
- package/src/components/drawer.css +44 -4
- package/src/components/dropdown.css +91 -66
- package/src/components/form.css +19 -1
- package/src/components/header.css +3 -5
- package/src/components/index.css +1 -1
- package/src/components/layout.css +38 -5
- package/src/components/modal.css +7 -2
- package/src/components/nav.css +37 -12
- package/src/components/notification-banner.css +14 -3
- package/src/components/pagination.css +3 -0
- package/src/components/panel.css +1 -0
- package/src/components/radios.css +20 -1
- package/src/components/stepnav.css +1 -1
- package/src/components/svg-icons.css +2 -3
- package/src/components/tabs.css +33 -1
- package/src/components/typography.css +11 -0
- package/src/components/warning-text.css +6 -2
- package/src/pages/dropdown.js +2 -2
- package/tailwind.config.js +1 -5
- package/src/components/accessibility-menu.css +0 -76
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
.govgr-layout {
|
|
2
3
|
display: flex;
|
|
3
4
|
flex-direction: column;
|
|
@@ -17,7 +18,27 @@
|
|
|
17
18
|
@apply mb-4;
|
|
18
19
|
}
|
|
19
20
|
.govgr-aside {
|
|
20
|
-
@apply flex flex-wrap flex-col md:
|
|
21
|
+
@apply flex flex-wrap flex-col md:top-8 h-fit print:order-1;
|
|
22
|
+
.govgr-back-to-top {
|
|
23
|
+
@apply flex flex-1 content-end flex-wrap;
|
|
24
|
+
.govgr-back-to-top-link {
|
|
25
|
+
@apply md:mx-6 md:my-4;
|
|
26
|
+
}
|
|
27
|
+
&.govgr-back-to-top--persistent {
|
|
28
|
+
.govgr-back-to-top-content {
|
|
29
|
+
@apply sticky bottom-0 mb-4;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.govgr-aside--sticky {
|
|
35
|
+
@apply md:sticky;
|
|
36
|
+
&.govgr-aside--full-height {
|
|
37
|
+
max-height: calc(100vh - 2rem);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.govgr-aside--full-height {
|
|
41
|
+
@apply h-full;
|
|
21
42
|
}
|
|
22
43
|
.govgr-bottom {
|
|
23
44
|
@apply w-full flex flex-wrap box-border;
|
|
@@ -38,24 +59,36 @@
|
|
|
38
59
|
@apply border-t border-base-300 border-solid;
|
|
39
60
|
}
|
|
40
61
|
.govgr-section-break--md {
|
|
41
|
-
|
|
62
|
+
@apply mb-5;
|
|
42
63
|
}
|
|
43
64
|
.govgr-section-break--lg {
|
|
44
|
-
|
|
65
|
+
@apply mb-7;
|
|
45
66
|
}
|
|
46
67
|
.govgr-section-break--xl {
|
|
47
|
-
|
|
68
|
+
@apply mb-9;
|
|
48
69
|
}
|
|
49
70
|
|
|
50
71
|
/* overrides */
|
|
51
72
|
|
|
73
|
+
.govgr-main {
|
|
74
|
+
>.govgr-back-to-top--persistent {
|
|
75
|
+
@apply fixed bottom-0 right-0 bg-base-200 w-full z-5;
|
|
76
|
+
.govgr-back-to-top-link {
|
|
77
|
+
@apply mx-6 my-4;
|
|
78
|
+
}
|
|
79
|
+
.govgr-back-to-top-content {
|
|
80
|
+
@apply max-w-5xl mx-auto my-0;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
52
84
|
.govgr-container {
|
|
53
85
|
&.govgr-grid {
|
|
54
86
|
@apply py-4 print:gap-4 print:grid-cols-1;
|
|
55
87
|
}
|
|
56
88
|
}
|
|
57
89
|
.govgr-btn-group {
|
|
58
|
-
.govgr-btn,
|
|
90
|
+
.govgr-btn,
|
|
91
|
+
.govgr-link {
|
|
59
92
|
@apply mb-0;
|
|
60
93
|
}
|
|
61
94
|
}
|
package/src/components/modal.css
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
mb-7 text-base-content bg-opacity-50 bg-base-700
|
|
4
4
|
fixed z-50 left-0 top-0 w-full h-full overflow-auto;
|
|
5
5
|
}
|
|
6
|
+
|
|
6
7
|
.govgr-modal--open {
|
|
7
8
|
@apply flex;
|
|
8
9
|
}
|
|
@@ -23,11 +24,15 @@
|
|
|
23
24
|
@apply flex flex-wrap items-center gap-4;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
/* overrides */
|
|
27
|
-
|
|
28
27
|
.govgr-modal__action {
|
|
29
28
|
.govgr-link,
|
|
30
29
|
.govgr-btn {
|
|
31
30
|
@apply mb-0;
|
|
32
31
|
}
|
|
33
32
|
}
|
|
33
|
+
|
|
34
|
+
.govgr-modal--dense, .govgr-dense & {
|
|
35
|
+
.govgr-modal__container {
|
|
36
|
+
@apply px-4 py-0 gap-4;
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/components/nav.css
CHANGED
|
@@ -1,23 +1,47 @@
|
|
|
1
1
|
.govgr-nav {
|
|
2
2
|
@apply relative block w-full h-auto bg-base-100 text-base-content;
|
|
3
|
-
.govgr-nav__list {
|
|
3
|
+
/* .govgr-nav__list {
|
|
4
4
|
@apply px-3;
|
|
5
|
-
}
|
|
5
|
+
} */
|
|
6
6
|
.govgr-nav__list-item-link,
|
|
7
7
|
.govgr-nav__list-item-btn {
|
|
8
8
|
@apply md:no-underline !important;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
.govgr-nav--
|
|
12
|
-
@apply
|
|
13
|
-
|
|
11
|
+
.govgr-nav--hidden {
|
|
12
|
+
@apply hidden;
|
|
13
|
+
}
|
|
14
|
+
.govgr-nav--drawer {
|
|
15
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4;
|
|
16
|
+
@apply shadow-thick !important;
|
|
17
|
+
.govgr-nav__list--horizontal {
|
|
18
|
+
@apply px-0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.govgr-nav--drawer-smDown {
|
|
22
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
23
|
+
sm:relative sm:block sm:w-full sm:h-auto sm:z-auto sm:top-auto sm:overflow-visible sm:p-0;
|
|
14
24
|
@apply shadow-thick sm:shadow-none !important;
|
|
15
|
-
.govgr-nav__list {
|
|
16
|
-
@apply
|
|
25
|
+
.govgr-nav__list--horizontal {
|
|
26
|
+
@apply px-0 sm:px-4;
|
|
17
27
|
}
|
|
18
28
|
}
|
|
19
|
-
.govgr-nav--
|
|
20
|
-
@apply
|
|
29
|
+
.govgr-nav--drawer-mdDown {
|
|
30
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
31
|
+
md:relative md:block md:w-full md:h-auto md:z-auto md:top-auto md:overflow-visible md:p-0;
|
|
32
|
+
@apply shadow-thick md:shadow-none !important;
|
|
33
|
+
.govgr-nav__list--horizontal {
|
|
34
|
+
@apply px-0 md:px-4;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.govgr-nav--drawer-lgDown {
|
|
39
|
+
@apply fixed w-4/5 h-full z-30 right-0 top-0 overflow-x-auto p-4
|
|
40
|
+
lg:relative lg:block lg:w-full lg:h-auto lg:z-auto lg:top-auto lg:overflow-visible lg:p-0;
|
|
41
|
+
@apply shadow-thick lg:shadow-none !important;
|
|
42
|
+
.govgr-nav__list--horizontal {
|
|
43
|
+
@apply px-0 lg:px-4;
|
|
44
|
+
}
|
|
21
45
|
}
|
|
22
46
|
.govgr-nav--border {
|
|
23
47
|
@apply sm:border-b sm:border-base-400;
|
|
@@ -26,7 +50,7 @@
|
|
|
26
50
|
@apply w-full m-0 max-w-5xl static flex flex-wrap flex-col;
|
|
27
51
|
}
|
|
28
52
|
.govgr-nav__list--horizontal {
|
|
29
|
-
@apply sm:mx-auto sm:gap-x-6 sm:py-1 px-
|
|
53
|
+
@apply sm:mx-auto sm:gap-x-6 sm:py-1 px-4 sm:flex-row;
|
|
30
54
|
.govgr-nav__list-item {
|
|
31
55
|
@apply sm:gap-x-6;
|
|
32
56
|
}
|
|
@@ -39,6 +63,7 @@
|
|
|
39
63
|
}
|
|
40
64
|
.govgr-nav__list-item-link,
|
|
41
65
|
.govgr-nav__list-item-btn {
|
|
66
|
+
@apply text-left;
|
|
42
67
|
&:focus {
|
|
43
68
|
@apply bg-focus text-base-content outline-none;
|
|
44
69
|
box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-base-content);
|
|
@@ -90,7 +115,7 @@
|
|
|
90
115
|
|
|
91
116
|
.govgr-nav {
|
|
92
117
|
.govgr-close-btn {
|
|
93
|
-
@apply
|
|
118
|
+
@apply mb-4;
|
|
94
119
|
}
|
|
95
120
|
.govgr-heading-md {
|
|
96
121
|
@apply mb-2 md:mb-0;
|
|
@@ -105,7 +130,7 @@
|
|
|
105
130
|
.govgr-nav__list-item-link,
|
|
106
131
|
.govgr-nav__list-item-btn {
|
|
107
132
|
> .govgr-svg-icon {
|
|
108
|
-
@apply ml-
|
|
133
|
+
@apply ml-1;
|
|
109
134
|
}
|
|
110
135
|
}
|
|
111
136
|
.govgr-nav__list-item-link--active,
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
.govgr-notification-banner {
|
|
2
2
|
@apply border-5 mb-6 md:mb-8 font-normal print:bg-white;
|
|
3
|
+
&.govgr-notification-banner--dense, .govgr-dense & {
|
|
4
|
+
@apply border-4 mb-4 md:mb-5;
|
|
5
|
+
.govgr-notification-banner__title {
|
|
6
|
+
@apply px-2 sm:px-3 pb-1;
|
|
7
|
+
}
|
|
8
|
+
.govgr-notification-banner__content {
|
|
9
|
+
@apply p-3 md:p-4;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
3
12
|
}
|
|
4
13
|
.govgr-notification-banner--info {
|
|
5
14
|
@apply bg-info border-info;
|
|
@@ -9,7 +18,7 @@
|
|
|
9
18
|
.govgr-notification-banner__link {
|
|
10
19
|
&:link:not(:focus) {
|
|
11
20
|
@apply text-success;
|
|
12
|
-
}
|
|
21
|
+
}
|
|
13
22
|
}
|
|
14
23
|
}
|
|
15
24
|
.govgr-notification-banner--error {
|
|
@@ -46,7 +55,9 @@
|
|
|
46
55
|
}
|
|
47
56
|
&:focus {
|
|
48
57
|
background-color: var(--color-focus);
|
|
49
|
-
box-shadow:
|
|
58
|
+
box-shadow:
|
|
59
|
+
0 -2px var(--color-focus),
|
|
60
|
+
0 4px var(--color-base-content);
|
|
50
61
|
text-decoration: none;
|
|
51
62
|
outline: none;
|
|
52
63
|
}
|
|
@@ -55,4 +66,4 @@
|
|
|
55
66
|
.govgr-notification-banner__link {
|
|
56
67
|
font-size: inherit;
|
|
57
68
|
}
|
|
58
|
-
}
|
|
69
|
+
}
|
package/src/components/panel.css
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
.govgr-radios {
|
|
1
|
+
.govgr-radios {
|
|
2
|
+
&.govgr-radios--dense, govgr-dense & {
|
|
3
|
+
.govgr-radios__item {
|
|
4
|
+
@apply mb-2 pl-9 min-h-8;
|
|
5
|
+
}
|
|
6
|
+
.govgr-radios__input {
|
|
7
|
+
@apply left-0.5 top-0 w-8 h-8;
|
|
8
|
+
&:focus {
|
|
9
|
+
border-width: 3px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
2
14
|
.govgr-radios__item {
|
|
3
15
|
@apply block relative mb-4 pl-12;
|
|
4
16
|
min-height: 40px;
|
|
@@ -47,3 +59,10 @@
|
|
|
47
59
|
@apply min-w-max mx-2;
|
|
48
60
|
}
|
|
49
61
|
}
|
|
62
|
+
.govgr-radios {
|
|
63
|
+
&.govgr-radios--dense, .govgr-dense & {
|
|
64
|
+
.govgr-field {
|
|
65
|
+
@apply mb-4 md:mb-6;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
height: calc(100% - 2rem);
|
|
25
25
|
}
|
|
26
26
|
&:after {
|
|
27
|
-
@apply absolute z
|
|
27
|
+
@apply absolute z-0 w-0 h-full bg-base-100 left-0 top-8 border-2 border-base-400 border-r-0 border-t-0 border-b-0 md:border-l-3;
|
|
28
28
|
content: "";
|
|
29
29
|
margin-left: calc(0.75rem + 1px);
|
|
30
30
|
}
|
|
@@ -46,13 +46,12 @@
|
|
|
46
46
|
}
|
|
47
47
|
.govgr-svg-icon--burger {
|
|
48
48
|
fill: var(--color-base-content);
|
|
49
|
-
|
|
50
|
-
@apply transition-all focus:bg-focus;
|
|
49
|
+
@apply transition-transform focus:bg-focus;
|
|
51
50
|
@apply cursor-pointer;
|
|
52
51
|
#govgr-svg-icon--burger__line-1,
|
|
53
52
|
#govgr-svg-icon--burger__line-2,
|
|
54
53
|
#govgr-svg-icon--burger__line-3 {
|
|
55
|
-
@apply transition-
|
|
54
|
+
@apply transition-transform;
|
|
56
55
|
}
|
|
57
56
|
#govgr-svg-icon--burger__line-1 {
|
|
58
57
|
x: 2px;
|
package/src/components/tabs.css
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
@apply md:float-left md:border md:border-base-300 md:bg-base-300 md:rounded-t-sm md:mr-2;
|
|
16
16
|
@apply print:hidden;
|
|
17
17
|
&.govgr-tabs__list-item-selected {
|
|
18
|
-
@apply no-underline md:border-base-400 md:border bg-base-100 md:border-b-0 md:px-5 md:
|
|
18
|
+
@apply no-underline md:border-base-400 md:border bg-base-100 md:border-b-0 md:px-5 md:py-4 md:-mt-1;
|
|
19
19
|
margin-bottom: -1px;
|
|
20
20
|
&:hover {
|
|
21
21
|
text-decoration-thickness: 2px;
|
|
@@ -46,4 +46,36 @@
|
|
|
46
46
|
@apply block;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
+
&.govgr-tabs--dense, .govgr-dense & {
|
|
50
|
+
.govgr-tabs__list {
|
|
51
|
+
.govgr-tabs__list-item {
|
|
52
|
+
@apply px-3 py-1;
|
|
53
|
+
&.govgr-tabs__list-item-selected {
|
|
54
|
+
@apply md:px-4 md:pb-3 md:pt-2;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.govgr-tabs__panel {
|
|
59
|
+
@apply pb-2 pt-3;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.govgr-tabs--vertical {
|
|
65
|
+
.govgr-tabs__panel {
|
|
66
|
+
@apply min-h-full pt-4 pl-6;
|
|
67
|
+
}
|
|
68
|
+
.govgr-tabs__list {
|
|
69
|
+
.govgr-tabs__list-item {
|
|
70
|
+
@apply w-full rounded-none mb-1 md:bg-base-200 border-base-200;
|
|
71
|
+
width: calc(100% - 0.25rem);
|
|
72
|
+
&.govgr-tabs__list-item-selected {
|
|
73
|
+
@apply md:border-b md:border-r-0 mb-1 mt-0 px-4 py-2;
|
|
74
|
+
/* margin-right: -1px; */
|
|
75
|
+
width: calc(100% + 1px);
|
|
76
|
+
/* margin-top: 0px; */
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
49
81
|
}
|
|
@@ -38,6 +38,9 @@
|
|
|
38
38
|
font-weight: var(--heading-xs-font-weight);
|
|
39
39
|
letter-spacing: var(--heading-xs-letter-spacing);
|
|
40
40
|
}
|
|
41
|
+
.govgr-heading--break-words {
|
|
42
|
+
@apply break-words;
|
|
43
|
+
}
|
|
41
44
|
.govgr-caption-xl {
|
|
42
45
|
@apply block mx-0 font-normal;
|
|
43
46
|
color: var(--caption-xl-color);
|
|
@@ -180,6 +183,9 @@
|
|
|
180
183
|
color: var(--hint-color);
|
|
181
184
|
letter-spacing: var(--hint-letter-spacing);
|
|
182
185
|
}
|
|
186
|
+
.govgr-hint--break-words {
|
|
187
|
+
@apply break-words;
|
|
188
|
+
}
|
|
183
189
|
|
|
184
190
|
.govgr-\!-font-weight-regular {
|
|
185
191
|
@apply font-normal !important;
|
|
@@ -290,6 +296,11 @@
|
|
|
290
296
|
}
|
|
291
297
|
}
|
|
292
298
|
}
|
|
299
|
+
button.govgr-link {
|
|
300
|
+
.govgr-svg-icon {
|
|
301
|
+
@apply ml-1;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
293
304
|
.govgr-back-link {
|
|
294
305
|
.govgr-svg-icon--caret {
|
|
295
306
|
fill: var(--color-base-content);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.govgr-warning-text {
|
|
2
2
|
font-size: var(--warning-text-font-size);
|
|
3
|
-
@apply
|
|
4
|
-
@apply flex pt-4 pb-4 pl-0 pr-0;
|
|
3
|
+
@apply flex py-4 px-0;
|
|
5
4
|
.govgr-warning-text__icon {
|
|
6
5
|
@apply text-base-content-invert font-bold bg-base-content text-3xl leading-10 text-center
|
|
7
6
|
rounded-3xl md:min-h-10 min-w-10 h-fit mr-6 mt-1
|
|
@@ -16,4 +15,9 @@
|
|
|
16
15
|
-webkit-clip-path: inset(50%) !important;
|
|
17
16
|
clip-path: inset(50%) !important;
|
|
18
17
|
}
|
|
18
|
+
&.govgr-warning-text--dense, .govgr-dense & {
|
|
19
|
+
.govgr-warning-text__icon {
|
|
20
|
+
@apply mr-4 md:mr-5;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
19
23
|
}
|
package/src/pages/dropdown.js
CHANGED
|
@@ -75,7 +75,7 @@ export default function Dropdown() {
|
|
|
75
75
|
</p>
|
|
76
76
|
|
|
77
77
|
<details className="govgr-dropdown">
|
|
78
|
-
<summary className="govgr-dropdown__button govgr-btn govgr-btn-secondary govgr-dropdown__button--
|
|
78
|
+
<summary className="govgr-dropdown__button govgr-btn govgr-btn-secondary govgr-dropdown__button--chevron">
|
|
79
79
|
Ενέργειες
|
|
80
80
|
<svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
81
81
|
<path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
|
|
@@ -143,7 +143,7 @@ export default function Dropdown() {
|
|
|
143
143
|
</details>
|
|
144
144
|
|
|
145
145
|
<details className="govgr-dropdown govgr-dropdown--left govgr-dropdown--up">
|
|
146
|
-
<summary className="govgr-dropdown__button govgr-link govgr-dropdown__button--
|
|
146
|
+
<summary className="govgr-dropdown__button govgr-link govgr-dropdown__button--chevron">
|
|
147
147
|
Ενέργειες
|
|
148
148
|
<svg aria-hidden="true" className="govgr-svg-icon govgr-svg-icon--arrow--down" focusable="false" viewBox="0 0 24 24">
|
|
149
149
|
<path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
|
package/tailwind.config.js
CHANGED
|
@@ -156,6 +156,7 @@ module.exports = {
|
|
|
156
156
|
1: 1,
|
|
157
157
|
2: 2,
|
|
158
158
|
3: 3,
|
|
159
|
+
5: 5,
|
|
159
160
|
},
|
|
160
161
|
opacity: {
|
|
161
162
|
85: "0.85",
|
|
@@ -166,11 +167,6 @@ module.exports = {
|
|
|
166
167
|
boxShadow: {
|
|
167
168
|
thick: "0 0 30px rgba(0, 0, 0, 0.6)",
|
|
168
169
|
},
|
|
169
|
-
borderColor: {
|
|
170
|
-
// TODO: fix this invalid value in the future
|
|
171
|
-
// Read more: https://gitlab.grnet.gr/devs/digigov/digigov-sdk/-/merge_requests/818
|
|
172
|
-
DEFAULT: "reset",
|
|
173
|
-
},
|
|
174
170
|
},
|
|
175
171
|
},
|
|
176
172
|
plugins: [plugin(themesPlugin)],
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
.govgr-accessibility-menu {}
|
|
2
|
-
.govgr-accessibility-menu--left {
|
|
3
|
-
.govgr-accessibility-menu__btn {
|
|
4
|
-
@apply left-4;
|
|
5
|
-
}
|
|
6
|
-
.govgr-accessibility-menu__content {
|
|
7
|
-
@apply left-0;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
.govgr-accessibility-menu--right {
|
|
11
|
-
.govgr-accessibility-menu__btn {
|
|
12
|
-
@apply right-4;
|
|
13
|
-
}
|
|
14
|
-
.govgr-accessibility-menu__content {
|
|
15
|
-
@apply right-0;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
.govgr-accessibility-menu__btn {
|
|
19
|
-
@apply absolute bottom-4 bg-base-300;
|
|
20
|
-
@apply p-4 rounded-full !important;
|
|
21
|
-
box-shadow: 0px 2px 5px rgba(var(--color-base-900-rgb), 0.3);
|
|
22
|
-
&:hover {
|
|
23
|
-
@apply bg-base-400;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
.govgr-accessibility-menu__content {
|
|
27
|
-
@apply bg-base-200 absolute top-0 bottom-0 p-4 flex flex-col max-w-md;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.govgr-accessibility-menu__header {
|
|
31
|
-
@apply inline-flex justify-between items-center mb-6 gap-2;
|
|
32
|
-
}
|
|
33
|
-
.govgr-accessibility-menu__header-btn {
|
|
34
|
-
@apply flex flex-nowrap;
|
|
35
|
-
}
|
|
36
|
-
.govgr-accessibility-menu__body {
|
|
37
|
-
@apply overflow-y-scroll p-3 flex-grow;
|
|
38
|
-
}
|
|
39
|
-
.govgr-accessibility-menu__list {
|
|
40
|
-
@apply grid grid-cols-1 sm:grid-cols-2 gap-5;
|
|
41
|
-
}
|
|
42
|
-
.govgr-accessibility-menu__list-item {
|
|
43
|
-
@apply col-span-1;
|
|
44
|
-
}
|
|
45
|
-
.govgr-accessibility-menu__option-btn {
|
|
46
|
-
@apply flex flex-col gap-2;
|
|
47
|
-
@apply bg-base-100 border-base-100 border-2;
|
|
48
|
-
@apply w-full sm:w-fit leading-tight m-0 !important;
|
|
49
|
-
padding: calc(1rem + 2px) !important;
|
|
50
|
-
&:hover {
|
|
51
|
-
@apply border-base-content;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
.govgr-accessibility-menu__option-btn--selected {
|
|
55
|
-
@apply border-success border-4 text-success p-4 !important;
|
|
56
|
-
.govgr-accessibility-menu__steps {
|
|
57
|
-
@apply opacity-100;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.govgr-accessibility-menu__steps {
|
|
61
|
-
@apply flex flex-nowrap w-full gap-2 h-1 mt-2 opacity-0;
|
|
62
|
-
}
|
|
63
|
-
.govgr-accessibility-menu__step {
|
|
64
|
-
@apply bg-base-300 w-full;
|
|
65
|
-
}
|
|
66
|
-
.govgr-accessibility-menu__step--active {
|
|
67
|
-
@apply bg-success;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/* overrides */
|
|
71
|
-
|
|
72
|
-
.govgr-accessibility-menu__option-btn--selected {
|
|
73
|
-
.govgr-svg-icon {
|
|
74
|
-
fill: var(--color-success) !important;
|
|
75
|
-
}
|
|
76
|
-
}
|