@digigov/css 1.3.0-dcbd7ded → 2.0.0-7d9a8d86

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.
Files changed (73) hide show
  1. package/defaultTheme/accordion.json +8 -0
  2. package/defaultTheme/brandConfig.json +10 -0
  3. package/defaultTheme/button.json +9 -0
  4. package/defaultTheme/card.json +11 -0
  5. package/defaultTheme/form.json +15 -0
  6. package/defaultTheme/globals.json +11 -1
  7. package/defaultTheme/index.js +1 -1
  8. package/defaultTheme/layout.json +55 -0
  9. package/defaultTheme/misc.json +20 -0
  10. package/defaultTheme/panel.json +5 -0
  11. package/defaultTheme/typography.json +8 -8
  12. package/dist/base/index.css +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/components.js +1 -1
  15. package/dist/digigov.css +3 -3
  16. package/dist/utilities/index.css +1 -1
  17. package/dist/utilities.js +1 -1
  18. package/package.json +7 -3
  19. package/src/base/base.css +1 -1
  20. package/src/base/index.css +5 -5
  21. package/src/components/accordion.css +56 -53
  22. package/src/components/admin-header.css +3 -3
  23. package/src/components/admin-layout.css +8 -8
  24. package/src/components/autocomplete.css +89 -46
  25. package/src/components/back-to-top.css +3 -4
  26. package/src/components/bottom-info.css +2 -1
  27. package/src/components/breadcrumbs.css +8 -6
  28. package/src/components/button.css +49 -48
  29. package/src/components/card.css +55 -47
  30. package/src/components/checkboxes.css +20 -23
  31. package/src/components/chip.css +28 -29
  32. package/src/components/components.css +2 -2
  33. package/src/components/copy-to-clipboard.css +27 -26
  34. package/src/components/details.css +11 -9
  35. package/src/components/dev-theme.css +2 -3
  36. package/src/components/drawer.css +46 -47
  37. package/src/components/dropdown.css +29 -26
  38. package/src/components/experimental.css +12 -12
  39. package/src/components/fillable.css +4 -4
  40. package/src/components/filter.css +9 -14
  41. package/src/components/footer.css +35 -21
  42. package/src/components/form.css +34 -24
  43. package/src/components/full-page-background.css +1 -1
  44. package/src/components/header.css +24 -32
  45. package/src/components/hidden.css +6 -6
  46. package/src/components/index.css +46 -47
  47. package/src/components/kitchensink.css +33 -33
  48. package/src/components/layout.css +34 -36
  49. package/src/components/loader.css +28 -28
  50. package/src/components/masthead.css +56 -55
  51. package/src/components/misc.css +13 -15
  52. package/src/components/modal.css +10 -12
  53. package/src/components/nav.css +69 -65
  54. package/src/components/notification-banner.css +18 -16
  55. package/src/components/pagination.css +29 -30
  56. package/src/components/panel.css +9 -8
  57. package/src/components/phase-banner.css +5 -5
  58. package/src/components/radios.css +24 -21
  59. package/src/components/skiplink.css +2 -2
  60. package/src/components/stack.css +63 -63
  61. package/src/components/stepnav.css +33 -29
  62. package/src/components/summary-list.css +16 -16
  63. package/src/components/svg-icons.css +78 -74
  64. package/src/components/table.css +154 -175
  65. package/src/components/tabs.css +40 -38
  66. package/src/components/task-list.css +18 -18
  67. package/src/components/timeline.css +4 -3
  68. package/src/components/typography.css +93 -103
  69. package/src/components/warning-text.css +7 -7
  70. package/src/pages/index.js +1 -1
  71. package/src/utilities/index.css +1234 -164
  72. package/src/utilities/utilities.css +451 -42
  73. package/defaultTheme/footer.json +0 -8
@@ -1,6 +1,11 @@
1
- .ds-form {}
1
+ .ds-form {
2
+ }
2
3
  .ds-field {
3
4
  @apply mb-8 md:mb-10;
5
+
6
+ &.ds-field--error {
7
+ @apply border-l-5 border-error px-0 pl-4;
8
+ }
4
9
  .ds-fieldset {
5
10
  > .ds-field:last-child,
6
11
  > .ds-btn:last-child {
@@ -25,6 +30,12 @@
25
30
  line-height: var(--label-line-height);
26
31
  letter-spacing: var(--label-letter-spacing);
27
32
  }
33
+ .ds-input {
34
+ border-radius: var(--input-border-radius);
35
+ }
36
+ .ds-textarea {
37
+ border-radius: var(--textarea-border-radius);
38
+ }
28
39
  .ds-input,
29
40
  .ds-select,
30
41
  .ds-textarea {
@@ -33,18 +44,19 @@
33
44
  &:focus {
34
45
  outline: 4px solid var(--color-focus);
35
46
  outline-offset: 0;
36
- -webkit-box-shadow: inset 0 0 0 2px;
37
47
  box-shadow: inset 0 0 0 2px;
38
48
  }
39
49
  }
40
- .ds-input--dense,.ds-dense .ds-input ,
41
- .ds-textarea--dense, .ds-dense .ds-textarea ,
42
- .ds-select--dense, .ds-dense .ds-select,
43
- .ds-date-input--dense .ds-input, .ds-dense .ds-date-input .ds-input
44
- {
50
+ .ds-input--dense,
51
+ .ds-dense .ds-input,
52
+ .ds-textarea--dense,
53
+ .ds-dense .ds-textarea,
54
+ .ds-select--dense,
55
+ .ds-dense .ds-select,
56
+ .ds-date-input--dense .ds-input,
57
+ .ds-dense .ds-date-input .ds-input {
45
58
  @apply p-1;
46
59
  &:focus {
47
- -webkit-box-shadow: inset 0 0 0 1px;
48
60
  box-shadow: inset 0 0 0 1px;
49
61
  }
50
62
  }
@@ -59,7 +71,8 @@
59
71
  }
60
72
  .ds-date-input {
61
73
  @apply flex flex-wrap gap-y-2;
62
- &.ds-date-input--dense, .ds-dense & {
74
+ &.ds-date-input--dense,
75
+ .ds-dense & {
63
76
  .ds-date-input__item {
64
77
  @apply mr-2;
65
78
  }
@@ -69,9 +82,11 @@
69
82
  @apply flex flex-wrap gap-y-2;
70
83
  }
71
84
  .ds-select {
85
+ border-radius: var(--select-border-radius);
72
86
  @apply w-auto max-w-full;
73
87
  }
74
- .ds-select__option {}
88
+ .ds-select__option {
89
+ }
75
90
  .ds-input--width-20-char {
76
91
  max-width: 41ex;
77
92
  }
@@ -91,8 +106,8 @@
91
106
  max-width: 5.4ex;
92
107
  }
93
108
  .ds-single-character-input__item {
94
- max-width: 4.4ex;
95
109
  @apply text-center px-0 mr-3;
110
+ max-width: 4.4ex;
96
111
  }
97
112
  .ds-date-input__item {
98
113
  @apply mr-4;
@@ -127,10 +142,6 @@
127
142
  }
128
143
 
129
144
  /* error handling */
130
-
131
- .ds-field--error {
132
- @apply border-l-5 border-error px-0 pl-4;
133
- }
134
145
  .ds-error-message {
135
146
  @apply md:text-lg text-base block mb-4 text-error font-semibold;
136
147
  }
@@ -139,7 +150,6 @@
139
150
  &:focus {
140
151
  outline: 4px solid var(--color-focus);
141
152
  outline-offset: 0;
142
- -webkit-box-shadow: inset 0 0 0 1px var(--color-error);
143
153
  box-shadow: inset 0 0 0 1px var(--color-error);
144
154
  }
145
155
  }
@@ -151,20 +161,20 @@
151
161
  .ds-select:disabled,
152
162
  .ds-checkboxes__input:disabled,
153
163
  .ds-checkboxes__input:disabled::before,
154
- .ds-checkboxes__input:disabled:checked:before,
164
+ .ds-checkboxes__input:disabled:checked::before,
155
165
  .ds-radios__input:disabled,
156
166
  .ds-radios__input:disabled::before,
157
- .ds-radios__input:disabled:checked:before {
167
+ .ds-radios__input:disabled:checked::before {
158
168
  @apply bg-base-300 cursor-not-allowed;
159
169
  }
160
170
  .ds-input:disabled,
161
171
  .ds-textarea:disabled,
162
172
  .ds-checkboxes__input:disabled::before,
163
173
  .ds-radios__input:disabled::before {
164
- @apply border-base-700 text-base-800;
174
+ @apply border-base-content text-base-content;
165
175
  }
166
- .ds-checkboxes__input:disabled:checked:after,
167
- .ds-radios__input:disabled:checked:after {
176
+ .ds-checkboxes__input:disabled:checked::after,
177
+ .ds-radios__input:disabled:checked::after {
168
178
  @apply opacity-40;
169
179
  }
170
180
  .ds-radios__label--disabled,
@@ -178,9 +188,6 @@
178
188
  /* overrides */
179
189
 
180
190
  .ds-form {
181
- .ds-body {
182
- @apply mb-4;
183
- }
184
191
  &.ds-grid {
185
192
  @apply grid gap-4;
186
193
  .ds-fieldset {
@@ -193,6 +200,9 @@
193
200
  @apply col-span-12;
194
201
  }
195
202
  }
203
+ .ds-body {
204
+ @apply mb-4;
205
+ }
196
206
  }
197
207
  .ds-label {
198
208
  .ds-heading-xs,
@@ -1,4 +1,4 @@
1
1
  .ds-full-page-background {
2
2
  @apply flex justify-center items-center content-center bg-opacity-50 bg-base-1000
3
3
  fixed z-10 left-0 top-0 w-full h-full;
4
- }
4
+ }
@@ -1,6 +1,8 @@
1
1
  .ds-header {
2
- @apply relative bg-primary border-b-8 print:border-b-2 border-tertiary print:bg-white;
3
- border-bottom-style: solid;
2
+ @apply relative border-b-8 print:border-b-2 border-tertiary print:bg-white;
3
+ background: var(--header-background);
4
+ border: var(--header-border);
5
+ border-width: var(--header-border-width);
4
6
  }
5
7
  .ds-header__content {
6
8
  @apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
@@ -11,9 +13,9 @@
11
13
  print:gap-1;
12
14
  }
13
15
  .ds-header__logo {
16
+ @apply h-12 print:hidden;
14
17
  print-color-adjust: exact !important;
15
18
  -webkit-print-color-adjust: exact !important;
16
- @apply h-12 print:hidden;
17
19
  }
18
20
  .ds-header__logo-inverted {
19
21
  @apply h-12 hidden print:block;
@@ -22,18 +24,18 @@
22
24
  @apply h-10 print:hidden;
23
25
  }
24
26
  .ds-header__link:focus {
25
- box-shadow: 0px 0px 0px 4px var(--color-focus);
26
- -webkit-box-shadow: 0px 0px 0px 4px var(--color-focus);
27
- -moz-box-shadow: 0px 0px 0px 4px var(--color-focus);
27
+ box-shadow: 0 0 0 4px var(--color-focus);
28
28
  outline: none;
29
29
  text-decoration: none;
30
30
  }
31
31
  .ds-header__title {
32
- @apply text-white font-bold text-2xl leading-10 tracking-wide no-underline
32
+ color: var(--header__title-color);
33
+ @apply font-bold text-2xl leading-10 tracking-wide no-underline
33
34
  w-auto align-middle hover:no-underline
34
35
  print:text-base-content;
35
36
  &:hover {
36
- @apply text-white;
37
+ /* @apply text-white; */
38
+ color: var(--header__title-color-hover);
37
39
  }
38
40
  &:focus {
39
41
  text-decoration: none;
@@ -51,8 +53,9 @@
51
53
  .ds-header__content,
52
54
  .ds-header__section {
53
55
  > .ds-link,
54
- > .ds-dropdown .ds-dropdown__button.ds-link {
55
- @apply text-white focus:text-link-active print:text-base-content;
56
+ > .ds-dropdown .ds-dropdown__button.ds-link {
57
+ color: var(--color-header-text);
58
+ @apply focus:text-link-active print:text-base-content;
56
59
  }
57
60
  }
58
61
  .ds-dropdown {
@@ -63,11 +66,11 @@
63
66
  }
64
67
  .ds-link {
65
68
  .ds-svg-icon {
66
- fill: var(--color-white);
69
+ fill: var(--color-header-text);
67
70
  }
68
71
  &:hover {
69
72
  .ds-svg-icon {
70
- fill: var(--color-white);
73
+ fill: var(--color-header-text-hover);
71
74
  }
72
75
  }
73
76
  &:focus {
@@ -75,24 +78,13 @@
75
78
  fill: var(--color-link-active);
76
79
  }
77
80
  }
78
- }
79
- .ds-phase-banner__text {
80
- @apply text-white print:text-base-content;
81
- }
82
- .ds-link {
83
81
  .ds-svg-icon {
84
82
  fill: var(--color-white);
85
83
  }
86
- &:hover {
87
- .ds-svg-icon {
88
- fill: var(--color-white);
89
- }
90
- }
91
- &:focus {
92
- .ds-svg-icon {
93
- fill: var(--color-link-active);
94
- }
95
- }
84
+ }
85
+ .ds-phase-banner__text {
86
+ color: var(--color-header-text);
87
+ @apply print:text-base-content;
96
88
  }
97
89
  }
98
90
  .ds-header__section {
@@ -104,13 +96,13 @@
104
96
  .ds-header__content,
105
97
  .ds-header__section {
106
98
  > .ds-svg-icon--burger {
107
- fill: var(--color-white);
108
99
  @apply float-right focus:bg-focus;
100
+ fill: var(--color-header-text);
109
101
  }
110
102
  > .ds-close-btn {
111
103
  @apply sm:hidden;
112
104
  .ds-svg-icon--close {
113
- fill: var(--color-link) !important;
105
+ fill: var(--color-header-text) !important;
114
106
  }
115
107
  }
116
108
  > .ds-nav__list {
@@ -118,16 +110,16 @@
118
110
  > .ds-nav__list-item-link,
119
111
  > .ds-nav__list-item-btn {
120
112
  &:not(:focus) {
121
- @apply text-white;
113
+ color: var(--color-header-text);
122
114
  }
123
115
  }
124
116
  > .ds-nav__list-item-link--active,
125
117
  > .ds-nav__list-item-btn--active {
126
118
  &:not(:focus) {
127
- @apply text-white !important;
119
+ color: var(--color-header-text) !important;
128
120
  }
129
121
  .ds-svg-icon {
130
- fill: var(--color-white);
122
+ fill: var(--color-header-text);
131
123
  }
132
124
  }
133
125
  }
@@ -1,19 +1,19 @@
1
1
  .ds-hidden {
2
2
  @apply hidden;
3
3
  }
4
- .ds-hidden-xs--up {
4
+ .ds-hidden-xs-up {
5
5
  @apply xs:hidden;
6
6
  }
7
- .ds-hidden-sm--up {
7
+ .ds-hidden-sm-up {
8
8
  @apply sm:hidden;
9
9
  }
10
- .ds-hidden-md--up {
10
+ .ds-hidden-md-up {
11
11
  @apply md:hidden;
12
12
  }
13
- .ds-hidden-lg--up {
13
+ .ds-hidden-lg-up {
14
14
  @apply lg:hidden;
15
15
  }
16
- .ds-hidden-xl--up {
16
+ .ds-hidden-xl-up {
17
17
  @apply xl:hidden;
18
18
  }
19
19
  .ds-hidden-xs {
@@ -30,4 +30,4 @@
30
30
  }
31
31
  .ds-hidden-xl {
32
32
  @apply xlOnly:hidden;
33
- }
33
+ }
@@ -1,47 +1,46 @@
1
- @import "./accordion.css";
2
- @import "./autocomplete.css";
3
- @import "./button.css";
4
- @import "./bottom-info.css";
5
- @import "./chip.css";
6
- @import "./form.css";
7
- @import "./checkboxes.css";
8
- @import "./chip.css";
9
- @import "./dropdown.css";
10
- @import "./radios.css";
11
- @import "./header.css";
12
- @import "./footer.css";
13
- @import "./layout.css";
14
- @import "./nav.css";
15
- @import "./typography.css";
16
- @import "./back-to-top.css";
17
- @import "./table.css";
18
- @import "./filter.css";
19
- @import "./admin-layout.css";
20
- @import "./admin-header.css";
21
- @import "./breadcrumbs.css";
22
- @import "./card.css";
23
- @import "./details.css";
24
- @import "./notification-banner.css";
25
- @import "./masthead.css";
26
- @import "./panel.css";
27
- @import "./phase-banner.css";
28
- @import "./summary-list.css";
29
- @import "./stack.css";
30
- @import "./tabs.css";
31
- @import "./misc.css";
32
- @import "./modal.css";
33
- @import "./svg-icons.css";
34
- @import "./pagination.css";
35
- @import "./loader.css";
36
- @import "./full-page-background.css";
37
- @import "./drawer.css";
38
- @import "./copy-to-clipboard.css";
39
- @import "./fillable.css";
40
- @import "./skiplink.css";
41
- @import "./timeline.css";
42
- @import "./task-list.css";
43
- @import "./stepnav.css";
44
- @import "./dev-theme.css";
45
- @import "./kitchensink.css";
46
- @import "./hidden.css";
47
- @import "./warning-text.css";
1
+ @import './accordion.css';
2
+ @import './autocomplete.css';
3
+ @import './button.css';
4
+ @import './bottom-info.css';
5
+ @import './chip.css';
6
+ @import './form.css';
7
+ @import './checkboxes.css';
8
+ @import './dropdown.css';
9
+ @import './radios.css';
10
+ @import './header.css';
11
+ @import './footer.css';
12
+ @import './layout.css';
13
+ @import './nav.css';
14
+ @import './typography.css';
15
+ @import './back-to-top.css';
16
+ @import './table.css';
17
+ @import './filter.css';
18
+ @import './admin-layout.css';
19
+ @import './admin-header.css';
20
+ @import './breadcrumbs.css';
21
+ @import './card.css';
22
+ @import './details.css';
23
+ @import './notification-banner.css';
24
+ @import './masthead.css';
25
+ @import './panel.css';
26
+ @import './phase-banner.css';
27
+ @import './summary-list.css';
28
+ @import './stack.css';
29
+ @import './tabs.css';
30
+ @import './misc.css';
31
+ @import './modal.css';
32
+ @import './svg-icons.css';
33
+ @import './pagination.css';
34
+ @import './loader.css';
35
+ @import './full-page-background.css';
36
+ @import './drawer.css';
37
+ @import './copy-to-clipboard.css';
38
+ @import './fillable.css';
39
+ @import './skiplink.css';
40
+ @import './timeline.css';
41
+ @import './task-list.css';
42
+ @import './stepnav.css';
43
+ @import './dev-theme.css';
44
+ @import './kitchensink.css';
45
+ @import './hidden.css';
46
+ @import './warning-text.css';
@@ -12,9 +12,9 @@
12
12
  }
13
13
  .ds-kitchensink-content {
14
14
  @apply max-w-2xl w-2xl;
15
- }
16
- .ds-kitchensink-content--wide {
17
- @apply max-w-4xl w-4xl;
15
+ &.ds-kitchensink-content--wide {
16
+ @apply max-w-4xl w-4xl;
17
+ }
18
18
  }
19
19
  .ds-kitchensink-content__info {
20
20
  @apply max-w-2xl;
@@ -22,43 +22,43 @@
22
22
  .ds-kitchensink-content__tags {
23
23
  @apply flex flex-nowrap gap-2 h-16;
24
24
  }
25
- .ds-kitchensink-card {
26
- border-style: dashed;
27
- container-type: inline-size;
28
-
29
- }
30
25
 
31
26
  /* COMPONENTS */
32
- .ds-kitchensink-card .ds-modal {
33
- position: inherit;
34
- }
35
- .ds-kitchensink-card .ds-modal__body {
36
- margin: 1rem;
37
- }
38
-
39
- .ds-kitchensink-card .ds-dropdown {
40
- margin-bottom: 20rem;
41
- }
42
- .ds-kitchensink-card .ds-dropdown.ds-dropdown--up {
43
- margin-top: 20rem;
44
- margin-bottom: 0rem;
45
- }
46
27
  .ds-kitchensink-card .ds-table__cell .ds-dropdown {
47
28
  margin: 0 !important;
48
29
  }
49
- .ds-kitchensink-card .ds-layout--full-height {
50
- min-height: inherit;
51
- }
52
- @container (min-width: 400px) {
53
- .ds-kitchensink-card .ds-drawer {
30
+ .ds-kitchensink-card {
31
+ border-style: dashed;
32
+ container-type: inline-size;
33
+ .ds-layout--full-height {
54
34
  min-height: inherit;
55
- width: 80%;
56
- box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
57
35
  }
58
- .ds-kitchensink-card .ds-drawer--closed {
59
- @apply hidden;
36
+ .ds-dropdown.ds-dropdown--up {
37
+ margin-top: 20rem;
38
+ margin-bottom: 0;
60
39
  }
61
- .ds-kitchensink-card .ds-close-btn {
62
- @apply block;
40
+ .ds-dropdown {
41
+ margin-bottom: 20rem;
42
+ }
43
+ .ds-modal__body {
44
+ margin: 1rem;
45
+ }
46
+ .ds-modal {
47
+ position: inherit;
48
+ }
49
+ }
50
+ @container (min-width: 400px) {
51
+ .ds-kitchensink-card {
52
+ .ds-close-btn {
53
+ @apply block;
54
+ }
55
+ .ds-drawer {
56
+ min-height: inherit;
57
+ width: 80%;
58
+ box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
59
+ &.ds-drawer--closed {
60
+ @apply hidden;
61
+ }
62
+ }
63
63
  }
64
64
  }
@@ -1,45 +1,43 @@
1
-
2
1
  .ds-layout {
3
2
  display: flex;
4
- flex-direction: column;
5
- flex-wrap: wrap;
6
- }
7
- .ds-layout--full-height {
8
- min-height: 100vh;
3
+ flex-flow: column wrap;
4
+ &.ds-layout--full-height {
5
+ min-height: 100vh;
6
+ }
9
7
  }
10
8
  .ds-container {
11
9
  @apply max-w-5xl box-border mx-auto px-3 md:px-6 w-full;
12
10
  flex: 1 1 0%;
13
- }
14
- .ds-container--full-width {
15
- @apply max-w-full;
11
+ &.ds-container--full-width {
12
+ @apply max-w-full;
13
+ }
16
14
  }
17
15
  .ds-top {
18
16
  @apply mb-4;
19
17
  }
20
18
  .ds-aside {
21
19
  @apply flex flex-wrap flex-col md:top-8 h-fit print:order-1;
20
+ &.ds-aside--sticky {
21
+ @apply md:sticky;
22
+ &.ds-aside--full-height {
23
+ max-height: calc(100vh - 2rem);
24
+ }
25
+ }
26
+ &.ds-aside--full-height {
27
+ @apply h-full;
28
+ }
22
29
  .ds-back-to-top {
23
30
  @apply flex flex-1 content-end flex-wrap;
24
- .ds-back-to-top-link {
25
- @apply md:mx-6 md:my-4;
26
- }
27
31
  &.ds-back-to-top--persistent {
28
32
  .ds-back-to-top-content {
29
33
  @apply sticky bottom-0 mb-4;
30
34
  }
31
35
  }
36
+ .ds-back-to-top-link {
37
+ @apply md:mx-6 md:my-4;
38
+ }
32
39
  }
33
40
  }
34
- .ds-aside--sticky {
35
- @apply md:sticky;
36
- &.ds-aside--full-height {
37
- max-height: calc(100vh - 2rem);
38
- }
39
- }
40
- .ds-aside--full-height {
41
- @apply h-full;
42
- }
43
41
  .ds-bottom {
44
42
  @apply w-full flex flex-wrap box-border;
45
43
  }
@@ -48,30 +46,30 @@
48
46
  }
49
47
  @media print {
50
48
  /* When ds-btn-group is empty at print, content at :after limits its height. */
51
- .ds-btn-group:after {
52
- content: "";
49
+ .ds-btn-group::after {
50
+ content: '';
53
51
  }
54
52
  }
55
53
  .ds-section-break {
56
54
  @apply m-auto px-4 py-2 border-0 w-full bg-transparent;
57
- }
58
- .ds-section-break--visible {
59
- @apply border-t border-base-300 border-solid;
60
- }
61
- .ds-section-break--md {
62
- @apply mb-3 md:mb-5;
63
- }
64
- .ds-section-break--lg {
65
- @apply mb-5 md:mb-7;
66
- }
67
- .ds-section-break--xl {
68
- @apply mb-7 md:mb-9;
55
+ &.ds-section-break--visible {
56
+ @apply border-t border-base-300 border-solid;
57
+ }
58
+ &.ds-section-break--md {
59
+ @apply mb-3 md:mb-5;
60
+ }
61
+ &.ds-section-break--lg {
62
+ @apply mb-5 md:mb-7;
63
+ }
64
+ &.ds-section-break--xl {
65
+ @apply mb-7 md:mb-9;
66
+ }
69
67
  }
70
68
 
71
69
  /* overrides */
72
70
 
73
71
  .ds-main {
74
- >.ds-back-to-top--persistent {
72
+ > .ds-back-to-top--persistent {
75
73
  @apply fixed bottom-0 right-0 bg-base-200 w-full z-5;
76
74
  .ds-back-to-top-link {
77
75
  @apply mx-6 my-4;
@@ -2,43 +2,43 @@
2
2
  @apply h-fit w-fit m-auto overflow-hidden print:hidden;
3
3
  }
4
4
  .ds-circular-progress {
5
- animation: rotate 10s linear infinite;
6
5
  @apply w-fit h-10;
6
+ animation: rotate 10s linear infinite;
7
+ &.ds-circular-progress--secondary {
8
+ .ds-circular_progress__circle--1 {
9
+ @apply opacity-40;
10
+ stroke: var(--color-white);
11
+ }
12
+
13
+ .ds-circular-progress__circle--2 {
14
+ stroke: var(--color-white);
15
+ }
16
+ }
17
+ &.ds-circular-progress--sm {
18
+ @apply h-5 w-5;
19
+ }
20
+ &.ds-circular-progress--md {
21
+ @apply h-10 w-10;
22
+ }
23
+ &.ds-circular-progress--lg {
24
+ @apply h-12 w-12;
25
+ }
7
26
  }
8
27
  .ds-circular-progress__circle {
9
28
  fill: none;
10
29
  stroke-miterlimit: 10;
11
30
  stroke-width: 42px;
12
- }
13
- .ds-circular-progress__circle--1 {
14
- stroke: var(--color-secondary);
15
- }
16
- .ds-circular-progress__circle--2 {
17
- --full-length: 470;
18
- stroke: var(--color-primary);
19
- stroke-dasharray: var(--full-length);
20
- stroke-dashoffset: 0;
21
- animation: dash 4s ease-in-out 0s forwards infinite;
22
- }
23
- .ds-circular-progress--secondary {
24
- .ds-circular_progress__circle--1 {
25
- @apply opacity-40;
26
- stroke: var(--color-white);
31
+ &.ds-circular-progress__circle--1 {
32
+ stroke: var(--circular-progress__circle--1-stroke);
27
33
  }
28
-
29
- .ds-circular-progress__circle--2 {
30
- stroke: var(--color-white);
34
+ &.ds-circular-progress__circle--2 {
35
+ --full-length: 470;
36
+ stroke: var(--circular-progress__circle--2-stroke);
37
+ stroke-dasharray: var(--full-length);
38
+ stroke-dashoffset: 0;
39
+ animation: dash 4s ease-in-out 0s forwards infinite;
31
40
  }
32
41
  }
33
- .ds-circular-progress--sm {
34
- @apply h-5 w-5;
35
- }
36
- .ds-circular-progress--md {
37
- @apply h-10 w-10;
38
- }
39
- .ds-circular-progress--lg {
40
- @apply h-12 w-12;
41
- }
42
42
  @keyframes dash {
43
43
  0% {
44
44
  stroke-dashoffset: 0;