@digigov/css 2.0.0-a402a664 → 2.0.0-a64dc016

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.
@@ -1,10 +1,10 @@
1
1
  .ds-timeline {
2
- @apply mb-4 pl-6 pb-2 border-l-4 border-secondary;
2
+ @apply mb-4 md:mb-8 pl-6 pb-2 border-l-4 border-secondary;
3
3
  &.ds-timeline--dense,
4
4
  .ds-dense & {
5
5
  @apply pb-0 border-l-3;
6
6
  .ds-timeline__item {
7
- @apply mb-4 md:mb-6;
7
+ @apply mb-3 md:mb-6;
8
8
  }
9
9
  .ds-timeline__heading {
10
10
  @apply mb-2;
@@ -20,7 +20,7 @@
20
20
  @apply mb-10 md:mb-12;
21
21
  }
22
22
  .ds-timeline__heading {
23
- @apply md:text-3xl text-2xl font-bold mx-0 md:mb-4 mb-2 relative;
23
+ @apply text-2xl md:text-3xl font-bold mx-0 mb-3 md:mb-6 relative;
24
24
  &::before {
25
25
  @apply block absolute top-4 -left-6 w-4
26
26
  border-b-4 border-secondary;
@@ -28,22 +28,22 @@
28
28
  }
29
29
  }
30
30
  .ds-timeline__heading-md {
31
- @apply md:text-2xl text-xl md:mb-4 mb-2;
31
+ @apply text-xl md:text-2xl mb-2 md:mb-4;
32
32
  &::before {
33
33
  @apply top-3 w-3;
34
34
  }
35
35
  }
36
36
  .ds-timeline__heading-sm {
37
- @apply md:text-lg text-base md:mb-3 mb-1;
37
+ @apply text-base md:text-lg mb-1 md:mb-3;
38
38
  &::before {
39
39
  @apply top-2.5 w-3;
40
40
  }
41
41
  }
42
42
  .ds-timeline__content {
43
- @apply mb-4;
43
+ @apply mb-2 md:mb-4;
44
44
  }
45
45
  .ds-timeline__actions {
46
- @apply flex flex-wrap items-center gap-4 mb-6;
46
+ @apply flex flex-wrap items-center gap-4 mb-0;
47
47
  }
48
48
 
49
49
  /* overrides */
@@ -54,6 +54,7 @@
54
54
  }
55
55
  }
56
56
  .ds-timeline__actions {
57
+ .ds-btn-group,
57
58
  .ds-btn,
58
59
  .ds-link {
59
60
  @apply mb-0;
@@ -112,7 +112,7 @@
112
112
 
113
113
  /* List */
114
114
  .util-list {
115
- @apply md:mb-8 mb-4 mt-4 text-base-content;
115
+ @apply mb-4 md:mb-8 mt-4 text-base-content;
116
116
  }
117
117
  .util-list-bullet {
118
118
  @apply pl-4;
@@ -179,11 +179,14 @@
179
179
  &.ds-link--no-underline {
180
180
  @apply no-underline hover:underline;
181
181
  }
182
- &.ds-link--disabled {
183
- @apply cursor-not-allowed !important;
184
- color: var(--color-base-content);
182
+ &.ds-link--disabled,
183
+ &[disabled] {
184
+ @apply !cursor-not-allowed text-base-600 hover:text-base-600;
185
185
  &:hover {
186
- color: var(--color-base-content);
186
+ text-decoration-thickness: inherit;
187
+ }
188
+ &.ds-link--no-underline {
189
+ @apply hover:no-underline;
187
190
  }
188
191
  }
189
192
  &.ds-link-warning {
@@ -4,7 +4,7 @@
4
4
 
5
5
  @layer utilities {
6
6
  .util-warning-text {
7
- @apply flex;
7
+ @apply flex mb-4 md:mb-8;
8
8
  }
9
9
  .util-warning-text-text {
10
10
  font-size: var(--warning-text-font-size);
@@ -5,6 +5,7 @@
5
5
  font-size: var(--warning-text-font-size);
6
6
  &.ds-warning-text--dense,
7
7
  .ds-dense & {
8
+ @apply mb-3 md:mb-6;
8
9
  .ds-warning-text__icon {
9
10
  @apply mr-4 md:mr-5;
10
11
  }