@digigov/css 1.0.0-8bbf3ef2 → 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.
- 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 +4 -4
- package/src/base/index.css +1 -0
- package/src/components/button.css +18 -5
- package/src/components/drawer.css +44 -4
- package/src/components/dropdown.css +87 -62
- package/src/components/index.css +0 -1
- package/src/components/layout.css +5 -4
- package/src/components/pagination.css +3 -0
- package/src/components/panel.css +1 -0
- package/src/components/tabs.css +14 -1
- package/src/components/typography.css +6 -0
- package/tailwind.config.js +0 -5
- package/src/components/accessibility-menu.css +0 -76
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/css",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-e322b0cc",
|
|
4
4
|
"description": "Digigov CSS - Tailwind CSS Components",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"tailwindcss": "3.3.5",
|
|
49
49
|
"nodemon": "2.0.7",
|
|
50
50
|
"next": "10.0.9",
|
|
51
|
-
"@digigov/postcss-banner": "1.0.0-
|
|
52
|
-
"@digigov/cli-build-tailwind": "1.0.0-
|
|
51
|
+
"@digigov/postcss-banner": "1.0.0-e322b0cc",
|
|
52
|
+
"@digigov/cli-build-tailwind": "1.0.0-e322b0cc",
|
|
53
53
|
"rimraf": "3.0.2",
|
|
54
54
|
"postcss-js": "4.0.0",
|
|
55
55
|
"postcss-load-config": "3.1.4",
|
|
56
56
|
"publint": "0.1.8",
|
|
57
|
-
"@digigov/cli": "1.0.0-
|
|
57
|
+
"@digigov/cli": "1.0.0-e322b0cc"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"preutilities": "DIGIGOV_CSS_BUILD=TRUE postcss --config src/utilities src/utilities/index.css --base src --dir dist",
|
package/src/base/index.css
CHANGED
|
@@ -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,7 +18,8 @@
|
|
|
15
18
|
&:focus-within {
|
|
16
19
|
@apply outline-none;
|
|
17
20
|
}
|
|
18
|
-
&.govgr-btn--dense,
|
|
21
|
+
&.govgr-btn--dense,
|
|
22
|
+
.govgr-dense & {
|
|
19
23
|
--btn-padding: 0.375rem 0.75rem;
|
|
20
24
|
@apply min-h-8;
|
|
21
25
|
&:focus {
|
|
@@ -26,7 +30,10 @@
|
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
|
-
.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"] {
|
|
30
37
|
-webkit-box-shadow: 0 2px 0 var(--color-base-content);
|
|
31
38
|
box-shadow: 0 2px 0 var(--color-base-content);
|
|
32
39
|
background-color: var(--btn-primary-background-color);
|
|
@@ -45,7 +52,10 @@
|
|
|
45
52
|
@apply py-4 print:pr-2;
|
|
46
53
|
font-size: var(--btn-cta-font-size);
|
|
47
54
|
}
|
|
48
|
-
.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"] {
|
|
49
59
|
-webkit-box-shadow: 0 2px 0 var(--color-base-500);
|
|
50
60
|
box-shadow: 0 2px 0 var(--color-base-500);
|
|
51
61
|
@apply hover:no-underline
|
|
@@ -60,7 +70,10 @@
|
|
|
60
70
|
background-color: var(--btn-secondary-background-color-active);
|
|
61
71
|
}
|
|
62
72
|
}
|
|
63
|
-
.govgr-btn-warning
|
|
73
|
+
.govgr-btn-warning,
|
|
74
|
+
.govgr-btn-warning[type="submit"],
|
|
75
|
+
.govgr-btn-warning[type="button"],
|
|
76
|
+
.govgr-btn-warning[type="reset"] {
|
|
64
77
|
-webkit-box-shadow: 0 2px 0 var(--color-base-content);
|
|
65
78
|
box-shadow: 0 2px 0 var(--color-base-content);
|
|
66
79
|
@apply hover:no-underline
|
|
@@ -1,17 +1,17 @@
|
|
|
1
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
7
|
.govgr-drawer--relative-sm {
|
|
8
|
-
@apply sm:
|
|
8
|
+
@apply sm:relative sm:w-full max-h-full shadow-thick sm:shadow-none !important;
|
|
9
9
|
}
|
|
10
10
|
.govgr-drawer--relative-md {
|
|
11
|
-
@apply md:
|
|
11
|
+
@apply md:relative md:w-full max-h-full shadow-thick md:shadow-none !important;
|
|
12
12
|
}
|
|
13
13
|
.govgr-drawer--relative-lg {
|
|
14
|
-
@apply 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;
|
|
@@ -19,8 +19,21 @@
|
|
|
19
19
|
.govgr-drawer--left {
|
|
20
20
|
@apply left-0;
|
|
21
21
|
}
|
|
22
|
+
.govgr-drawer--bg-secondary {
|
|
23
|
+
@apply bg-base-200 border-0;
|
|
24
|
+
@apply shadow-xl !important;
|
|
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
|
+
}
|
|
24
37
|
}
|
|
25
38
|
.govgr-drawer__heading {
|
|
26
39
|
@apply p-0 mb-4 flex justify-between align-baseline;
|
|
@@ -31,6 +44,11 @@
|
|
|
31
44
|
|
|
32
45
|
/* overrides */
|
|
33
46
|
|
|
47
|
+
.govgr-drawer {
|
|
48
|
+
> .govgr-container {
|
|
49
|
+
@apply p-0;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
34
52
|
.govgr-drawer__heading {
|
|
35
53
|
.govgr-heading-xs,
|
|
36
54
|
.govgr-heading-sm,
|
|
@@ -40,3 +58,25 @@
|
|
|
40
58
|
@apply m-0;
|
|
41
59
|
}
|
|
42
60
|
}
|
|
61
|
+
.govgr-drawer--relative-sm {
|
|
62
|
+
.govgr-drawer__heading {
|
|
63
|
+
>.govgr-close-btn {
|
|
64
|
+
@apply sm:hidden;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.govgr-drawer--relative-md {
|
|
69
|
+
.govgr-drawer__heading {
|
|
70
|
+
>.govgr-close-btn {
|
|
71
|
+
@apply md:hidden;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
.govgr-drawer--relative-lg {
|
|
76
|
+
.govgr-drawer__heading {
|
|
77
|
+
>.govgr-close-btn {
|
|
78
|
+
@apply lg:hidden;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -1,49 +1,63 @@
|
|
|
1
1
|
.govgr-dropdown {
|
|
2
2
|
@apply w-fit relative;
|
|
3
|
-
|
|
4
|
-
.govgr-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
&.govgr-dropdown--up {
|
|
4
|
+
.govgr-dropdown__content {
|
|
5
|
+
@apply mb-4 border border-b-0 bottom-full;
|
|
6
|
+
-webkit-box-box-shadow:
|
|
7
|
+
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
8
|
+
0 2px 0 var(--color-base-500);
|
|
9
|
+
box-shadow:
|
|
10
|
+
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
11
|
+
0 2px 0 var(--color-base-500);
|
|
12
|
+
}
|
|
9
13
|
}
|
|
10
|
-
|
|
11
|
-
.govgr-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
&.govgr-dropdown--right {
|
|
15
|
+
.govgr-dropdown__content {
|
|
16
|
+
@apply right-0 mr-0 ml-4;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
&.govgr-dropdown--disabled {
|
|
20
|
+
@apply cursor-not-allowed;
|
|
21
|
+
.govgr-dropdown__button {
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
user-select: none;
|
|
24
|
+
opacity: 0.5;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
&.govgr-dropdown--dense,
|
|
28
|
+
.govgr-dense & {
|
|
29
|
+
.govgr-dropdown__content {
|
|
30
|
+
@apply p-2;
|
|
31
|
+
}
|
|
14
32
|
}
|
|
15
|
-
}
|
|
16
|
-
.govgr-dropdown--disabled {
|
|
17
|
-
@apply cursor-not-allowed;
|
|
18
33
|
.govgr-dropdown__button {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
34
|
+
@apply w-fit print:text-base-content;
|
|
35
|
+
&::marker {
|
|
36
|
+
font-size: 0px;
|
|
37
|
+
}
|
|
22
38
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
@apply w-fit print:text-base-content;
|
|
26
|
-
&::marker {
|
|
27
|
-
font-size: 0px;
|
|
39
|
+
.govgr-dropdown__button.govgr-link + .govgr-dropdown__content {
|
|
40
|
+
@apply mt-4 print:text-base-content;
|
|
28
41
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
.govgr-btn-group .govgr-btn + .govgr-dropdown__content {
|
|
43
|
+
@apply mt-4;
|
|
44
|
+
}
|
|
45
|
+
.govgr-dropdown__content {
|
|
46
|
+
@apply border border-base-400 p-4 bg-base-100 border-t-0
|
|
47
|
+
max-w-xs w-max min-w-full absolute transition z-3 mr-4 -mt-4;
|
|
48
|
+
-webkit-box-box-shadow:
|
|
49
|
+
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
50
|
+
0 -2px 0 var(--color-base-500);
|
|
51
|
+
box-shadow:
|
|
52
|
+
0 2px 8px rgba(var(--color-base-900-rgb), 0.3),
|
|
53
|
+
0 -2px 0 var(--color-base-500);
|
|
54
|
+
*:last-child {
|
|
55
|
+
@apply mb-0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.govgr-dropdown__content--full-width {
|
|
59
|
+
@apply min-w-full;
|
|
43
60
|
}
|
|
44
|
-
}
|
|
45
|
-
.govgr-dropdown__content--full-width {
|
|
46
|
-
@apply min-w-full;
|
|
47
61
|
}
|
|
48
62
|
|
|
49
63
|
/* overrides */
|
|
@@ -59,7 +73,7 @@
|
|
|
59
73
|
&.govgr-btn-primary {
|
|
60
74
|
background-color: var(--btn-primary-background-color-hover);
|
|
61
75
|
color: var(--btn-primary-color-hover);
|
|
62
|
-
|
|
76
|
+
}
|
|
63
77
|
&.govgr-btn-secondary {
|
|
64
78
|
background-color: var(--btn-secondary-background-color-hover);
|
|
65
79
|
color: var(--btn-secondary-color-hover);
|
|
@@ -75,32 +89,43 @@
|
|
|
75
89
|
@apply transition duration-300;
|
|
76
90
|
}
|
|
77
91
|
}
|
|
78
|
-
|
|
79
|
-
.govgr-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
.govgr-dropdown__content {
|
|
89
|
-
.govgr-field {
|
|
90
|
-
@apply mb-4;
|
|
92
|
+
.govgr-dropdown__button {
|
|
93
|
+
.govgr-svg-icon {
|
|
94
|
+
@apply w-5 h-6 md:h-8;
|
|
95
|
+
@apply print:hidden;
|
|
96
|
+
}
|
|
97
|
+
&.govgr-link {
|
|
98
|
+
@apply inline-flex gap-1 items-center;
|
|
99
|
+
}
|
|
91
100
|
}
|
|
92
|
-
.govgr-
|
|
93
|
-
|
|
101
|
+
.govgr-dropdown__content {
|
|
102
|
+
.govgr-field {
|
|
103
|
+
@apply mb-4;
|
|
104
|
+
}
|
|
105
|
+
.govgr-section-break {
|
|
106
|
+
@apply -mx-4 w-auto;
|
|
107
|
+
}
|
|
108
|
+
> .govgr-nav__list {
|
|
109
|
+
@apply w-auto -mx-4 flex-col;
|
|
110
|
+
.govgr-nav__list-item {
|
|
111
|
+
@apply border-b border-base-300 py-2 px-4;
|
|
112
|
+
&:last-child {
|
|
113
|
+
@apply border-0;
|
|
114
|
+
}
|
|
115
|
+
&:focus {
|
|
116
|
+
@apply border-focus;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
94
120
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
.govgr-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
@apply border-0;
|
|
121
|
+
&.govgr-dropdown--dense,
|
|
122
|
+
.govgr-dense & {
|
|
123
|
+
.govgr-dropdown__content {
|
|
124
|
+
.govgr-section-break {
|
|
125
|
+
@apply -mx-2 w-auto;
|
|
101
126
|
}
|
|
102
|
-
|
|
103
|
-
@apply
|
|
127
|
+
> .govgr-nav__list {
|
|
128
|
+
@apply w-auto -mx-2 flex-col;
|
|
104
129
|
}
|
|
105
130
|
}
|
|
106
131
|
}
|
package/src/components/index.css
CHANGED
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
@apply border-t border-base-300 border-solid;
|
|
39
39
|
}
|
|
40
40
|
.govgr-section-break--md {
|
|
41
|
-
|
|
41
|
+
@apply mb-5;
|
|
42
42
|
}
|
|
43
43
|
.govgr-section-break--lg {
|
|
44
|
-
|
|
44
|
+
@apply mb-7;
|
|
45
45
|
}
|
|
46
46
|
.govgr-section-break--xl {
|
|
47
|
-
|
|
47
|
+
@apply mb-9;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/* overrides */
|
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
.govgr-btn-group {
|
|
58
|
-
.govgr-btn,
|
|
58
|
+
.govgr-btn,
|
|
59
|
+
.govgr-link {
|
|
59
60
|
@apply mb-0;
|
|
60
61
|
}
|
|
61
62
|
}
|
package/src/components/panel.css
CHANGED
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,6 +46,19 @@
|
|
|
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
|
+
}
|
|
49
62
|
}
|
|
50
63
|
|
|
51
64
|
.govgr-tabs--vertical {
|
|
@@ -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;
|
package/tailwind.config.js
CHANGED
|
@@ -166,11 +166,6 @@ module.exports = {
|
|
|
166
166
|
boxShadow: {
|
|
167
167
|
thick: "0 0 30px rgba(0, 0, 0, 0.6)",
|
|
168
168
|
},
|
|
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
169
|
},
|
|
175
170
|
},
|
|
176
171
|
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
|
-
}
|