@digigov/css 0.15.0 → 0.17.1

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.
@@ -5,7 +5,7 @@
5
5
  }
6
6
  .govgr-modal__body {
7
7
  @apply w-full max-w-md md:max-w-lg lg:max-w-4xl
8
- h-fit-content md:h-auto my-auto mx-4
8
+ h-fit md:h-auto my-auto mx-4
9
9
  bg-white
10
10
  border border-solid border-base-200;
11
11
  }
@@ -22,8 +22,8 @@
22
22
  @apply text-base lg:text-xl text-lg;
23
23
  }
24
24
  .govgr-modal__action {
25
- @apply flex flex-wrap items-center gap-y-4;
26
- * {
25
+ @apply flex flex-wrap items-center gap-4;
26
+ .govgr-link, .govgr-btn {
27
27
  @apply mb-0;
28
28
  }
29
29
  }
@@ -7,7 +7,7 @@
7
7
  fill: var(--color-base-content) ;
8
8
  @apply w-8 h-8 float-right cursor-pointer transition-all z-30
9
9
  focus:bg-focus;
10
- * {
10
+ #govgr-burger-icon__line-1, #govgr-burger-icon__line-2, #govgr-burger-icon__line-3 {
11
11
  @apply transition-all;
12
12
  }
13
13
  }
@@ -64,10 +64,10 @@
64
64
  .govgr-horizontal-nav--active {
65
65
  @apply block opacity-100 right-0;
66
66
  .govgr-horizontal-nav__container {
67
- @apply mt-24 sm:mt-auto;
67
+ @apply mt-24 sm:mt-auto;
68
68
  }
69
- > * {
70
- @apply py-4 md:py-1;
69
+ .govgr-horizontal-nav__container {
70
+ @apply py-4 md:py-1;
71
71
  }
72
72
  }
73
73
  .govgr-horizontal-nav__item {
@@ -1,6 +1,6 @@
1
1
  .govgr-summary-list {
2
2
  @apply m-0 mb-6 sm:mb-8 w-full
3
- sm:table sm:w-full sm:table-fixed
3
+ sm:table sm:w-full sm:table-fixed text-lg
4
4
  ;
5
5
  }
6
6
  .govgr-summary-list__row {
@@ -1,5 +1,5 @@
1
1
  .govgr-svg-icon {
2
- @apply h-4 w-4 inline transition-all;
2
+ @apply h-4 w-4 inline transition-transform;
3
3
  fill: var(--color-base-content);
4
4
  }
5
5
  .govgr-btn-primary, .govgr-btn-warning {
@@ -33,6 +33,23 @@
33
33
  }
34
34
  }
35
35
  }
36
+ .govgr-header, .govgr-admin-header {
37
+ .govgr-link {
38
+ .govgr-svg-icon {
39
+ fill:var(--color-gray-100);
40
+ }
41
+ &:hover {
42
+ .govgr-svg-icon {
43
+ fill:var(--color-gray-100);
44
+ }
45
+ }
46
+ &:focus {
47
+ .govgr-svg-icon {
48
+ fill:var(--color-link-active);
49
+ }
50
+ }
51
+ }
52
+ }
36
53
  .govgr-svg-icon--dark {
37
54
  fill: var(--color-base-content) !important;
38
55
  }
@@ -15,6 +15,10 @@
15
15
  @apply border-l border-r border-solid border-gray-50 !important;
16
16
  }
17
17
  }
18
+ .govgr-table__body {
19
+ @apply relative;
20
+ }
21
+
18
22
  .govgr-table--with-vertical-lines.govgr-table--light {
19
23
  th, td {
20
24
  @apply px-4 !important;
@@ -96,3 +100,18 @@
96
100
  font-feature-settings: normal;
97
101
  font-variant-numeric: tabular-nums;
98
102
  }
103
+ .govgr-table__cell--no-data{
104
+ @apply border-b-0 pt-2.5;
105
+ }
106
+ .govgr-table__loading{
107
+ @apply h-full w-full absolute right-0 left-0 flex items-center justify-center
108
+ bg-white bg-opacity-50;
109
+ }
110
+
111
+ @supports ((-webkit-backdrop-filter: blur(0.6px)) or (backdrop-filter: blur(0.6px))) {
112
+ .govgr-table__loading {
113
+ @apply bg-opacity-30;
114
+ -webkit-backdrop-filter: blur(0.6px);
115
+ backdrop-filter: blur(0.6px);
116
+ }
117
+ }
@@ -48,7 +48,6 @@
48
48
  }
49
49
 
50
50
  }
51
-
52
51
  }
53
52
  .govgr-tabs__panel {
54
53
  @apply bg-white md:hidden block md:px-4 py-4 pt-8 md:border md:border-base-150 md:z-10 mb-0;
@@ -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-2;
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 cursor-pointer;
100
92
  &:hover {
101
93
  text-decoration-thickness: 2px;
102
94
  }
@@ -107,6 +99,14 @@
107
99
  outline: none;
108
100
  }
109
101
  }
102
+ .govgr-header {
103
+ .govgr-header__container > .govgr-link {
104
+ @apply text-gray-100 focus:text-link-active;
105
+ }
106
+ .govgr-header__content > .govgr-link {
107
+ @apply text-gray-100 focus:text-link-active;
108
+ }
109
+ }
110
110
  .govgr-link--no-underline {
111
111
  @apply no-underline hover:underline;
112
112
  }
@@ -146,30 +146,3 @@
146
146
  @apply text-white;
147
147
  }
148
148
  }
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
- }