@digigov/css 0.15.0 → 0.16.0
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/CHANGELOG.json +26 -0
- package/CHANGELOG.md +11 -1
- package/dist/base/index.css +2 -2
- package/dist/base.css +2 -2
- package/dist/components.css +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -3
- package/package.json +2 -2
- package/src/components/accordion.css +1 -1
- package/src/components/drawer.css +28 -0
- package/src/components/filter.css +0 -3
- package/src/components/footer.css +2 -2
- package/src/components/full-page-background.css +1 -1
- package/src/components/header.css +2 -1
- package/src/components/index.css +1 -0
- package/src/components/layout.css +1 -10
- package/src/components/loader.css +1 -1
- package/src/components/misc.css +1 -18
- package/src/components/modal.css +1 -1
- package/src/components/svg-icons.css +18 -1
- package/src/components/tabs.css +0 -1
- package/src/components/typography.css +6 -36
- package/src/pages/index.js +245 -317
- package/src/utilities/index.css +1 -1
- package/src/utilities/utilities.css +1 -1
- package/tailwind.config.js +2 -33
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
}
|
|
25
25
|
.govgr-\!-font-size-16 {
|
|
26
26
|
@apply text-sm md:text-base !important;
|
|
27
|
-
|
|
28
27
|
}
|
|
29
28
|
.govgr-\!-font-size-19 {
|
|
30
29
|
@apply text-base md:text-lg !important;
|
|
@@ -68,7 +67,6 @@
|
|
|
68
67
|
.govgr-body-s {
|
|
69
68
|
@apply lg:text-base text-sm;
|
|
70
69
|
}
|
|
71
|
-
|
|
72
70
|
.govgr-hint-l {
|
|
73
71
|
@apply mb-4 lg:text-2xl text-lg text-base-300;
|
|
74
72
|
}
|
|
@@ -83,20 +81,14 @@
|
|
|
83
81
|
@apply opacity-70 text-white;
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
|
-
|
|
87
84
|
.govgr-\!-font-weight-regular {
|
|
88
85
|
@apply font-normal !important;
|
|
89
86
|
}
|
|
90
87
|
.govgr-\!-font-weight-bold {
|
|
91
88
|
@apply font-bold !important;
|
|
92
89
|
}
|
|
93
|
-
|
|
94
90
|
.govgr-link {
|
|
95
|
-
@apply text-link hover:text-link-hover focus:text-link-active underline items-center cursor-pointer flex gap-
|
|
96
|
-
.right-arrow::after {
|
|
97
|
-
content: "";
|
|
98
|
-
@apply w-06rem h-06rem bg-primary rounded-xl border-white block border-t-2_5 border-r-2_5 ml-3 transform rotate-45;
|
|
99
|
-
}
|
|
91
|
+
@apply text-link hover:text-link-hover focus:text-link-active underline items-center cursor-pointer inline-flex gap-1;
|
|
100
92
|
&:hover {
|
|
101
93
|
text-decoration-thickness: 2px;
|
|
102
94
|
}
|
|
@@ -107,6 +99,11 @@
|
|
|
107
99
|
outline: none;
|
|
108
100
|
}
|
|
109
101
|
}
|
|
102
|
+
.govgr-header {
|
|
103
|
+
.govgr-link {
|
|
104
|
+
@apply text-gray-100 focus:text-link-active;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
110
107
|
.govgr-link--no-underline {
|
|
111
108
|
@apply no-underline hover:underline;
|
|
112
109
|
}
|
|
@@ -146,30 +143,3 @@
|
|
|
146
143
|
@apply text-white;
|
|
147
144
|
}
|
|
148
145
|
}
|
|
149
|
-
|
|
150
|
-
.colors {
|
|
151
|
-
@apply flex flex-wrap text-center;
|
|
152
|
-
div {
|
|
153
|
-
@apply h-8 w-12 m-1 rounded;
|
|
154
|
-
}
|
|
155
|
-
.c-primary { @apply bg-primary text-content-dark hover:bg-primary-focus w-24; }
|
|
156
|
-
.c-primary-200 { @apply bg-primary-200 text-content-dark ; }
|
|
157
|
-
.c-primary-focus { @apply bg-primary-focus text-content-dark; }
|
|
158
|
-
.c-secondary-50 { @apply bg-secondary-50 text-content-dark; }
|
|
159
|
-
.c-secondary-200 { @apply bg-secondary-200 text-content-dark hover:bg-secondary-focus w-24; }
|
|
160
|
-
.c-secondary-400 { @apply bg-secondary-400 text-content-dark; }
|
|
161
|
-
.c-secondary-600 { @apply bg-secondary-600 text-content-dark; }
|
|
162
|
-
.c-secondary-800 { @apply bg-secondary-800 text-content-dark; }
|
|
163
|
-
.c-accent { @apply bg-accent text-accent-content; }
|
|
164
|
-
.c-accent-focus { @apply bg-accent-focus text-accent-content; }
|
|
165
|
-
.c-neutral { @apply bg-neutral text-neutral-content; }
|
|
166
|
-
.c-neutral-focus { @apply bg-neutral-focus text-neutral-content; }
|
|
167
|
-
.c-base-100 { @apply bg-base-100 text-base-content; }
|
|
168
|
-
.c-base-150 { @apply bg-base-150 text-base-content; }
|
|
169
|
-
.c-base-200 { @apply bg-base-200 text-base-content; }
|
|
170
|
-
.c-base-300 { @apply bg-base-300 text-base-300-content; }
|
|
171
|
-
.c-info { @apply bg-info; }
|
|
172
|
-
.c-success { @apply bg-success hover:bg-success-hover; }
|
|
173
|
-
.c-warning { @apply bg-warning ; }
|
|
174
|
-
.c-error { @apply bg-error hover:bg-error-hover; }
|
|
175
|
-
}
|