@digigov/css 1.1.1 → 1.2.0-mobile

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 (124) hide show
  1. package/defaultTheme/accordion.json +8 -0
  2. package/defaultTheme/brandConfig.json +14 -2
  3. package/defaultTheme/button.json +16 -3
  4. package/defaultTheme/card.json +16 -5
  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 +26 -6
  12. package/dist/base/index.css +3 -3
  13. package/dist/base.js +1 -1
  14. package/dist/components.js +1 -1
  15. package/dist/digigov.css +5 -5
  16. package/dist/utilities/index.css +1 -1
  17. package/dist/utilities.js +1 -1
  18. package/package.json +19 -14
  19. package/postcss.config.js +1 -0
  20. package/src/base/base.css +1 -1
  21. package/src/base/index.css +5 -5
  22. package/src/components/accordion.css +76 -73
  23. package/src/components/admin-header.css +7 -24
  24. package/src/components/admin-layout.css +13 -22
  25. package/src/components/autocomplete.css +106 -64
  26. package/src/components/back-to-top.css +7 -8
  27. package/src/components/blockquote.common.css +14 -0
  28. package/src/components/blockquote.css +9 -0
  29. package/src/components/blockquote.native.css +11 -0
  30. package/src/components/bottom-info.css +3 -2
  31. package/src/components/breadcrumbs.css +21 -12
  32. package/src/components/button.common.css +64 -0
  33. package/src/components/button.css +81 -94
  34. package/src/components/button.native.css +42 -0
  35. package/src/components/card.common.css +33 -0
  36. package/src/components/card.css +77 -64
  37. package/src/components/card.native.css +29 -0
  38. package/src/components/checkboxes.css +34 -37
  39. package/src/components/chip.css +36 -37
  40. package/src/components/components.css +2 -2
  41. package/src/components/copy-to-clipboard.css +39 -38
  42. package/src/components/details.common.css +26 -0
  43. package/src/components/details.css +17 -18
  44. package/src/components/details.native.css +26 -0
  45. package/src/components/dev-theme.css +3 -4
  46. package/src/components/drawer.css +58 -59
  47. package/src/components/dropdown.common.css +58 -0
  48. package/src/components/dropdown.css +81 -68
  49. package/src/components/dropdown.native.css +58 -0
  50. package/src/components/experimental.css +18 -18
  51. package/src/components/fillable.css +6 -6
  52. package/src/components/filter.css +58 -63
  53. package/src/components/footer.css +53 -39
  54. package/src/components/form.common.css +49 -0
  55. package/src/components/form.css +125 -113
  56. package/src/components/form.native.css +58 -0
  57. package/src/components/full-page-background.css +2 -2
  58. package/src/components/header.common.css +36 -0
  59. package/src/components/header.css +78 -77
  60. package/src/components/header.native.css +34 -0
  61. package/src/components/hidden.css +23 -23
  62. package/src/components/index.css +48 -47
  63. package/src/components/kitchensink.css +41 -41
  64. package/src/components/layout.common.css +8 -0
  65. package/src/components/layout.css +56 -56
  66. package/src/components/layout.native.css +5 -0
  67. package/src/components/loader.css +31 -31
  68. package/src/components/masthead.css +60 -59
  69. package/src/components/misc.css +43 -21
  70. package/src/components/modal.css +28 -21
  71. package/src/components/nav.common.css +25 -0
  72. package/src/components/nav.css +96 -89
  73. package/src/components/nav.native.css +38 -0
  74. package/src/components/notification-banner.common.css +46 -0
  75. package/src/components/notification-banner.css +32 -28
  76. package/src/components/notification-banner.native.css +42 -0
  77. package/src/components/pagination.css +40 -41
  78. package/src/components/panel.common.css +30 -0
  79. package/src/components/panel.css +12 -20
  80. package/src/components/panel.native.css +20 -0
  81. package/src/components/phase-banner.common.css +23 -0
  82. package/src/components/phase-banner.css +15 -14
  83. package/src/components/phase-banner.native.css +31 -0
  84. package/src/components/radios.css +33 -30
  85. package/src/components/skeleton.css +85 -0
  86. package/src/components/skiplink.css +3 -3
  87. package/src/components/stack.css +64 -64
  88. package/src/components/stepnav.css +68 -64
  89. package/src/components/summary-list.common.css +25 -0
  90. package/src/components/summary-list.css +59 -47
  91. package/src/components/summary-list.native.css +27 -0
  92. package/src/components/svg-icons.common.css +56 -0
  93. package/src/components/svg-icons.css +79 -75
  94. package/src/components/svg-icons.native.css +55 -0
  95. package/src/components/table.css +189 -208
  96. package/src/components/tabs.css +52 -68
  97. package/src/components/task-list.css +31 -31
  98. package/src/components/test.css +7 -0
  99. package/src/components/timeline.css +19 -18
  100. package/src/components/typography.common.css +137 -0
  101. package/src/components/typography.css +159 -218
  102. package/src/components/typography.native.css +93 -0
  103. package/src/components/warning-text.common.css +23 -0
  104. package/src/components/warning-text.css +11 -11
  105. package/src/components/warning-text.native.css +22 -0
  106. package/src/index.native.css +17 -0
  107. package/src/pages/headings/service-heading.js +9 -9
  108. package/src/pages/index.js +201 -201
  109. package/src/utilities/grid.css +221 -0
  110. package/src/utilities/grid.native.css +274 -0
  111. package/src/utilities/index.css +3 -585
  112. package/src/utilities/index.native.css +2 -0
  113. package/src/utilities/print.css +11 -0
  114. package/src/utilities/spacing.css +2133 -0
  115. package/src/utilities/utilities.css +1647 -531
  116. package/tailwind.config.js +2 -2
  117. package/themes.plugin.js +1 -1
  118. package/defaultTheme/footer.json +0 -8
  119. package/src/pages/admin-filtering-data.js +0 -160
  120. package/src/pages/admin.js +0 -61
  121. package/src/pages/dropdown.js +0 -249
  122. package/src/pages/form.js +0 -400
  123. package/src/pages/pagination.js +0 -124
  124. package/src/pages/table.js +0 -308
@@ -1,33 +1,33 @@
1
- .govgr-hidden {
2
- @apply hidden;
1
+ .ds-hidden {
2
+ @apply hidden !important;
3
3
  }
4
- .govgr-hidden-xs--up {
5
- @apply xs:hidden;
4
+ .ds-hidden-xs-up {
5
+ @apply xs:hidden !important;
6
6
  }
7
- .govgr-hidden-sm--up {
8
- @apply sm:hidden;
7
+ .ds-hidden-sm-up {
8
+ @apply sm:hidden !important;
9
9
  }
10
- .govgr-hidden-md--up {
11
- @apply md:hidden;
10
+ .ds-hidden-md-up {
11
+ @apply md:hidden !important;
12
12
  }
13
- .govgr-hidden-lg--up {
14
- @apply lg:hidden;
13
+ .ds-hidden-lg-up {
14
+ @apply lg:hidden !important;
15
15
  }
16
- .govgr-hidden-xl--up {
17
- @apply xl:hidden;
16
+ .ds-hidden-xl-up {
17
+ @apply xl:hidden !important;
18
18
  }
19
- .govgr-hidden-xs {
20
- @apply xsOnly:hidden;
19
+ .ds-hidden-xs {
20
+ @apply xsOnly:hidden !important;
21
21
  }
22
- .govgr-hidden-sm {
23
- @apply smOnly:hidden;
22
+ .ds-hidden-sm {
23
+ @apply smOnly:hidden !important;
24
24
  }
25
- .govgr-hidden-md {
26
- @apply mdOnly:hidden;
25
+ .ds-hidden-md {
26
+ @apply mdOnly:hidden !important;
27
27
  }
28
- .govgr-hidden-lg {
29
- @apply lgOnly:hidden;
28
+ .ds-hidden-lg {
29
+ @apply lgOnly:hidden !important;
30
+ }
31
+ .ds-hidden-xl {
32
+ @apply xlOnly:hidden !important;
30
33
  }
31
- .govgr-hidden-xl {
32
- @apply xlOnly:hidden;
33
- }
@@ -1,47 +1,48 @@
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 './admin-header.css';
3
+ @import './admin-layout.css';
4
+ @import './autocomplete.css';
5
+ @import './back-to-top.css';
6
+ @import './bottom-info.css';
7
+ @import './breadcrumbs.css';
8
+ @import './button.css';
9
+ @import './card.css';
10
+ @import './form.css';
11
+ @import './checkboxes.css';
12
+ @import './chip.css';
13
+ @import './copy-to-clipboard.css';
14
+ @import './details.css';
15
+ @import './dev-theme.css';
16
+ @import './drawer.css';
17
+ @import './dropdown.css';
18
+ @import './fillable.css';
19
+ @import './filter.css';
20
+ @import './footer.css';
21
+ @import './full-page-background.css';
22
+ @import './header.css';
23
+ @import './hidden.css';
24
+ @import './layout.css';
25
+ @import './loader.css';
26
+ @import './masthead.css';
27
+ @import './misc.css';
28
+ @import './modal.css';
29
+ @import './nav.css';
30
+ @import './pagination.css';
31
+ @import './panel.css';
32
+ @import './phase-banner.css';
33
+ @import './radios.css';
34
+ @import './skeleton.css';
35
+ @import './skiplink.css';
36
+ @import './stack.css';
37
+ @import './stepnav.css';
38
+ @import './summary-list.css';
39
+ @import './svg-icons.css';
40
+ @import './table.css';
41
+ @import './tabs.css';
42
+ @import './task-list.css';
43
+ @import './timeline.css';
44
+ @import './typography.css';
45
+ @import './blockquote.css';
46
+ @import './notification-banner.css';
47
+ @import './warning-text.css';
48
+ @import './kitchensink.css';
@@ -1,64 +1,64 @@
1
- .govgr-kitchensink-all-components {
1
+ .ds-kitchensink-all-components {
2
2
  @apply flex flex-col flex-nowrap m-16;
3
3
  }
4
- .govgr-kitchensink-category {
4
+ .ds-kitchensink-category {
5
5
  @apply flex flex-nowrap gap-32 mb-16;
6
6
  }
7
- .govgr-kitchensink-category__heading {
7
+ .ds-kitchensink-category__heading {
8
8
  @apply uppercase text-base-500;
9
9
  }
10
- .govgr-kitchensink-letter-content {
10
+ .ds-kitchensink-letter-content {
11
11
  @apply flex flex-nowrap gap-16;
12
12
  }
13
- .govgr-kitchensink-content {
13
+ .ds-kitchensink-content {
14
14
  @apply max-w-2xl w-2xl;
15
+ &.ds-kitchensink-content--wide {
16
+ @apply max-w-4xl w-4xl;
17
+ }
15
18
  }
16
- .govgr-kitchensink-content--wide {
17
- @apply max-w-4xl w-4xl;
18
- }
19
- .govgr-kitchensink-content__info {
19
+ .ds-kitchensink-content__info {
20
20
  @apply max-w-2xl;
21
21
  }
22
- .govgr-kitchensink-content__tags {
22
+ .ds-kitchensink-content__tags {
23
23
  @apply flex flex-nowrap gap-2 h-16;
24
24
  }
25
- .govgr-kitchensink-card {
26
- border-style: dashed;
27
- container-type: inline-size;
28
-
29
- }
30
25
 
31
26
  /* COMPONENTS */
32
- .govgr-kitchensink-card .govgr-modal {
33
- position: inherit;
34
- }
35
- .govgr-kitchensink-card .govgr-modal__body {
36
- margin: 1rem;
37
- }
38
-
39
- .govgr-kitchensink-card .govgr-dropdown {
40
- margin-bottom: 20rem;
41
- }
42
- .govgr-kitchensink-card .govgr-dropdown.govgr-dropdown--up {
43
- margin-top: 20rem;
44
- margin-bottom: 0rem;
45
- }
46
- .govgr-kitchensink-card .govgr-table__cell .govgr-dropdown {
27
+ .ds-kitchensink-card .ds-table__cell .ds-dropdown {
47
28
  margin: 0 !important;
48
29
  }
49
- .govgr-kitchensink-card .govgr-layout--full-height {
50
- min-height: inherit;
51
- }
52
- @container (min-width: 400px) {
53
- .govgr-kitchensink-card .govgr-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
- .govgr-kitchensink-card .govgr-drawer--closed {
59
- @apply hidden;
36
+ .ds-dropdown.ds-dropdown--up {
37
+ margin-top: 20rem;
38
+ margin-bottom: 0;
60
39
  }
61
- .govgr-kitchensink-card .govgr-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
  }
@@ -0,0 +1,8 @@
1
+ /* stylelint-disable digigov/enforce-class-selector-namespace */
2
+ @tailwind utilities;
3
+
4
+ @layer utilities {
5
+ .util-btn-group {
6
+ @apply flex flex-row flex-wrap gap-x-4 items-center print:items-baseline;
7
+ }
8
+ }
@@ -1,94 +1,94 @@
1
+ @import './layout.common.css';
1
2
 
2
- .govgr-layout {
3
+ .ds-layout {
3
4
  display: flex;
4
- flex-direction: column;
5
- flex-wrap: wrap;
6
- }
7
- .govgr-layout--full-height {
8
- min-height: 100vh;
5
+ flex-flow: column wrap;
6
+ &.ds-layout--full-height {
7
+ min-height: 100vh;
8
+ }
9
9
  }
10
- .govgr-container {
10
+ .ds-container {
11
11
  @apply max-w-5xl box-border mx-auto px-3 md:px-6 w-full;
12
12
  flex: 1 1 0%;
13
+ &.ds-container--full-width {
14
+ @apply max-w-full;
15
+ }
13
16
  }
14
- .govgr-container--full-width {
15
- @apply max-w-full;
16
- }
17
- .govgr-top {
17
+ .ds-top {
18
18
  @apply mb-4;
19
19
  }
20
- .govgr-aside {
20
+ .ds-aside {
21
21
  @apply flex flex-wrap flex-col md:top-8 h-fit print:order-1;
22
- .govgr-back-to-top {
23
- @apply flex flex-1 content-end flex-wrap;
24
- .govgr-back-to-top-link {
25
- @apply md:mx-6 md:my-4;
22
+ &.ds-aside--sticky {
23
+ @apply md:sticky;
24
+ &.ds-aside--full-height {
25
+ max-height: calc(100vh - 2rem);
26
26
  }
27
- &.govgr-back-to-top--persistent {
28
- .govgr-back-to-top-content {
27
+ }
28
+ &.ds-aside--full-height {
29
+ @apply h-full;
30
+ }
31
+ .ds-back-to-top {
32
+ @apply flex flex-1 content-end flex-wrap;
33
+ &.ds-back-to-top--persistent {
34
+ .ds-back-to-top-content {
29
35
  @apply sticky bottom-0 mb-4;
30
36
  }
31
37
  }
38
+ .ds-back-to-top-link {
39
+ @apply md:mx-6 md:my-4;
40
+ }
32
41
  }
33
42
  }
34
- .govgr-aside--sticky {
35
- @apply md:sticky;
36
- &.govgr-aside--full-height {
37
- max-height: calc(100vh - 2rem);
38
- }
39
- }
40
- .govgr-aside--full-height {
41
- @apply h-full;
42
- }
43
- .govgr-bottom {
44
- @apply w-full flex flex-wrap box-border;
43
+ .ds-bottom {
44
+ @apply w-full flex flex-wrap box-border;
45
45
  }
46
- .govgr-btn-group {
47
- @apply flex flex-wrap items-center gap-4 mb-6 print:items-baseline;
46
+ .ds-btn-group {
47
+ @apply util-btn-group gap-y-4 mb-6;
48
48
  }
49
49
  @media print {
50
- /* When govgr-btn-group is empty at print, content at :after limits its height. */
51
- .govgr-btn-group:after {
52
- content: "";
50
+ /* When ds-btn-group is empty at print, content at :after limits its height. */
51
+ .ds-btn-group::after {
52
+ content: '';
53
53
  }
54
54
  }
55
- .govgr-section-break {
55
+ .ds-section-break {
56
56
  @apply m-auto px-4 py-2 border-0 w-full bg-transparent;
57
- }
58
- .govgr-section-break--visible {
59
- @apply border-t border-base-300 border-solid;
60
- }
61
- .govgr-section-break--md {
62
- @apply mb-5;
63
- }
64
- .govgr-section-break--lg {
65
- @apply mb-7;
66
- }
67
- .govgr-section-break--xl {
68
- @apply mb-9;
57
+ &.ds-section-break--visible {
58
+ @apply border-t border-base-300 border-solid;
59
+ }
60
+ &.ds-section-break--md {
61
+ @apply mb-3 md:mb-5;
62
+ }
63
+ &.ds-section-break--lg {
64
+ @apply mb-5 md:mb-7;
65
+ }
66
+ &.ds-section-break--xl {
67
+ @apply mb-7 md:mb-9;
68
+ }
69
69
  }
70
70
 
71
71
  /* overrides */
72
72
 
73
- .govgr-main {
74
- >.govgr-back-to-top--persistent {
73
+ .ds-main {
74
+ > .ds-back-to-top--persistent {
75
75
  @apply fixed bottom-0 right-0 bg-base-200 w-full z-5;
76
- .govgr-back-to-top-link {
76
+ .ds-back-to-top-link {
77
77
  @apply mx-6 my-4;
78
78
  }
79
- .govgr-back-to-top-content {
79
+ .ds-back-to-top-content {
80
80
  @apply max-w-5xl mx-auto my-0;
81
81
  }
82
82
  }
83
83
  }
84
- .govgr-container {
85
- &.govgr-grid {
84
+ .ds-container {
85
+ &.ds-grid {
86
86
  @apply py-4 print:gap-4 print:grid-cols-1;
87
87
  }
88
88
  }
89
- .govgr-btn-group {
90
- .govgr-btn,
91
- .govgr-link {
89
+ .ds-btn-group {
90
+ .ds-btn,
91
+ .ds-link {
92
92
  @apply mb-0;
93
93
  }
94
94
  }
@@ -0,0 +1,5 @@
1
+ @import './layout.common.css';
2
+
3
+ .ds-btn-group {
4
+ @apply util-btn-group;
5
+ }
@@ -1,44 +1,44 @@
1
- .govgr-loader {
1
+ .ds-loader {
2
2
  @apply h-fit w-fit m-auto overflow-hidden print:hidden;
3
3
  }
4
- .govgr-circular-progress {
5
- animation: rotate 10s linear infinite;
4
+ .ds-circular-progress {
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
- .govgr-circular-progress__circle {
27
+ .ds-circular-progress__circle {
9
28
  fill: none;
10
29
  stroke-miterlimit: 10;
11
30
  stroke-width: 42px;
12
- }
13
- .govgr-circular-progress__circle--1 {
14
- stroke: var(--color-secondary);
15
- }
16
- .govgr-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
- .govgr-circular-progress--secondary {
24
- .govgr-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
- .govgr-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
- .govgr-circular-progress--sm {
34
- @apply h-5 w-5;
35
- }
36
- .govgr-circular-progress--md {
37
- @apply h-10 w-10;
38
- }
39
- .govgr-circular-progress--lg {
40
- @apply h-12 w-12;
41
- }
42
42
  @keyframes dash {
43
43
  0% {
44
44
  stroke-dashoffset: 0;
@@ -1,78 +1,79 @@
1
- .govgr-masthead {
1
+ .ds-masthead {
2
2
  @apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
3
- }
4
- .govgr-masthead--primary {
5
- @apply bg-tertiary text-white;
6
- .govgr-masthead__body {
7
- @apply text-white;
3
+ &.ds-masthead--primary {
4
+ @apply bg-tertiary text-white;
5
+ .ds-masthead__body {
6
+ @apply text-white;
7
+ }
8
8
  }
9
- }
10
- .govgr-masthead--secondary {
11
- @apply border-b border-base-400 !important;
12
- @apply bg-base-200;
13
- .govgr-masthead__body {
14
- @apply text-base-content;
9
+ &.ds-masthead--secondary {
10
+ @apply border-b border-base-400 !important;
11
+ @apply bg-base-200;
12
+ .ds-masthead__body {
13
+ @apply text-base-content;
14
+ }
15
15
  }
16
16
  }
17
- .govgr-masthead__body {
17
+ .ds-masthead__body {
18
18
  @apply md:mb-10 mb-6 md:text-lg text-base leading-7 print:text-base-content;
19
19
  }
20
- .govgr-masthead__logo {
20
+ .ds-masthead__logo {
21
21
  @apply md:mb-6 mb-4 h-10;
22
22
  }
23
23
 
24
24
  /* overrides */
25
25
 
26
- .govgr-masthead {
27
- .govgr-main > *:last-child {
28
- @apply mb-0;
29
- }
30
- .govgr-header__content {
31
- @apply flex-wrap;
32
- }
33
- }
34
- .govgr-masthead--primary {
35
- .govgr-body {
36
- @apply text-white;
37
- }
38
- .govgr-link {
39
- @apply text-white hover:text-white focus:text-base-content print:text-base-content;
40
- &:hover {
41
- text-decoration-thickness: 2px;
26
+ .ds-masthead {
27
+ &.ds-masthead--primary {
28
+ .ds-body {
29
+ @apply text-white;
42
30
  }
43
- }
44
- .govgr-link--no-underline {
45
- @apply no-underline hover:underline;
46
- &:hover {
47
- text-decoration-thickness: 2px;
31
+ .ds-link {
32
+ @apply text-white hover:text-white focus:text-base-content print:text-base-content;
33
+ &:hover {
34
+ text-decoration-thickness: 2px;
35
+ }
36
+ &.ds-link--no-underline {
37
+ @apply no-underline hover:underline;
38
+ &:hover {
39
+ text-decoration-thickness: 2px;
40
+ }
41
+ }
48
42
  }
49
- }
50
- .govgr-back-link {
51
- @apply text-white print:text-base-content;
52
- }
53
- .govgr-phase-banner__text {
54
- @apply text-white print:text-base-content;
55
- }
56
- }
57
- .govgr-masthead--primary,
58
- .govgr-background-dark {
59
- .govgr-btn {
60
- @apply border-white hover:border-white border-2 shadow-none;
61
- &:focus {
62
- -webkit-box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
63
- box-shadow: 0 0 0 4px var(--color-base-content), 0 0 0 8px var(--color-focus);
43
+ .ds-back-link {
44
+ @apply text-white print:text-base-content;
45
+ }
46
+ .ds-phase-banner__text {
47
+ @apply text-white print:text-base-content;
64
48
  }
65
49
  }
66
- .govgr-btn-primary {
67
- @apply print:border-0 print:border-b-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
68
- }
69
- .govgr-btn-secondary {
70
- @apply print:border-0 print:border-b-2 print:border-base-500 print:text-base-content print:bg-white print:shadow-none;
50
+ &.ds-masthead--primary,
51
+ &.ds-background-dark {
52
+ .ds-btn {
53
+ @apply border-white hover:border-white border-2 shadow-none;
54
+ &:focus {
55
+ box-shadow:
56
+ 0 0 0 4px var(--color-base-content),
57
+ 0 0 0 8px var(--color-focus);
58
+ }
59
+ }
60
+ .ds-btn-primary {
61
+ @apply print:border-0 print:border-b-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
62
+ }
63
+ .ds-btn-secondary {
64
+ @apply print:border-0 print:border-b-2 print:border-base-500 print:text-base-content print:bg-white print:shadow-none;
65
+ }
66
+ .ds-btn-warning {
67
+ @apply print:border-0 print:border-b-2 print:border-error print:text-base-content print:bg-white print:shadow-none;
68
+ }
69
+ .ds-hint {
70
+ @apply opacity-70 text-white print:text-base-content;
71
+ }
71
72
  }
72
- .govgr-btn-warning {
73
- @apply print:border-0 print:border-b-2 print:border-error print:text-base-content print:bg-white print:shadow-none;
73
+ .ds-main > *:last-child {
74
+ @apply mb-0;
74
75
  }
75
- .govgr-hint {
76
- @apply opacity-70 text-white print:text-base-content;
76
+ .ds-header__content {
77
+ @apply flex-wrap;
77
78
  }
78
79
  }