dso-toolkit 64.0.0 → 65.0.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.md +22 -0
- package/dist/dso.css +431 -214
- package/dist/dso.css.map +1 -1
- package/dist/dso.min.css +1 -1
- package/dist/dso.min.css.map +1 -1
- package/dist/index.js +3 -1
- package/package.json +2 -2
- package/src/components/accordion/accordion-theme-compact.scss +8 -2
- package/src/components/action-list/action-list.scss +2 -2
- package/src/components/alert/alert.scss +5 -1
- package/src/components/attachments-counter/attachments-counter.scss +5 -2
- package/src/components/breadcrumbs/breadcrumbs.mixins.scss +7 -5
- package/src/components/button/button.mixins.scss +20 -13
- package/src/components/context/context.scss +10 -7
- package/src/components/definition-list/definition-list.scss +39 -10
- package/src/components/delete/delete.mixins.scss +3 -1
- package/src/components/description/description.scss +4 -2
- package/src/components/document-header/document-header.scss +15 -7
- package/src/components/dropdown-menu/dropdown-menu.mixins.scss +12 -9
- package/src/components/dropdown-menu/dropdown-menu.scss +26 -14
- package/src/components/footer/footer.scss +8 -5
- package/src/components/form/form-buttons/form-buttons.scss +4 -1
- package/src/components/form/form-group-collection.scss +6 -4
- package/src/components/form/form-group.scss +9 -6
- package/src/components/form/form-groups/select/form-group-select.scss +9 -6
- package/src/components/form-control/form-control.mixins.scss +17 -15
- package/src/components/grid/grid.scss +10 -4
- package/src/components/heading/_index.scss +1 -0
- package/src/components/{headings/headings.scss → heading/heading.scss} +9 -9
- package/src/components/highlight-box/highlight-box.scss +6 -3
- package/src/components/info/info.scss +5 -2
- package/src/components/info-button/info-button.mixins.scss +7 -5
- package/src/components/insert/insert.mixins.scss +3 -1
- package/src/components/label/label.mixins.scss +6 -2
- package/src/components/link-list/link-list.mixins.scss +4 -1
- package/src/components/link-list/link-list.scss +6 -3
- package/src/components/list-button/list-button.mixins.scss +42 -26
- package/src/components/mark/mark.scss +4 -3
- package/src/components/modal/modal.mixins.scss +21 -12
- package/src/components/modal/modal.scss +6 -3
- package/src/components/navbar/navbar.mixins.scss +15 -9
- package/src/components/pagination/pagination.mixins.scss +53 -51
- package/src/components/pagination/pagination.scss +6 -1
- package/src/components/search-bar/search-bar.scss +31 -23
- package/src/components/shopping-cart/shopping-cart.scss +26 -16
- package/src/components/tabs/tabs.scss +19 -13
- package/src/components/viewer-grid/viewer-grid.scss +4 -1
- package/src/di.scss +11 -7
- package/src/dso.scss +1 -1
- package/src/global/mixins/set-colors.mixin.scss +32 -31
- package/src/global/spacing.scss +4 -0
- package/src/components/headings/_index.scss +0 -1
- /package/src/components/{headings/headings.mixins.scss → heading/heading.mixins.scss} +0 -0
|
@@ -69,9 +69,6 @@ form {
|
|
|
69
69
|
--highlight-box-nocounter-block-size: calc(100% - #{units.$u2});
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-wrap: wrap;
|
|
74
|
-
|
|
75
72
|
> [class*="col-"] {
|
|
76
73
|
display: flex;
|
|
77
74
|
flex-direction: column;
|
|
@@ -85,6 +82,12 @@ form {
|
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
84
|
}
|
|
85
|
+
|
|
86
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
87
|
+
& {
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-wrap: wrap;
|
|
90
|
+
}
|
|
88
91
|
}
|
|
89
92
|
|
|
90
93
|
&.dso-banner {
|
|
@@ -101,7 +104,10 @@ form {
|
|
|
101
104
|
padding-block-start: units.$u3;
|
|
102
105
|
}
|
|
103
106
|
|
|
104
|
-
|
|
107
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
108
|
+
& {
|
|
109
|
+
background-size: 0; // background image killed off here, to be shown in the ::before
|
|
110
|
+
}
|
|
105
111
|
|
|
106
112
|
&.no-button-banner {
|
|
107
113
|
min-block-size: 296px;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "heading.mixins";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "../../variables/colors";
|
|
2
2
|
@use "../../variables/typography";
|
|
3
3
|
@use "../../variables/units";
|
|
4
|
-
@use "
|
|
4
|
+
@use "./heading.mixins" as heading-mixins;
|
|
5
5
|
|
|
6
6
|
h1,
|
|
7
7
|
.h1,
|
|
@@ -15,7 +15,7 @@ h5,
|
|
|
15
15
|
.h5,
|
|
16
16
|
h6,
|
|
17
17
|
.h6 {
|
|
18
|
-
@include
|
|
18
|
+
@include heading-mixins.base();
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
h1,
|
|
@@ -24,7 +24,7 @@ h2,
|
|
|
24
24
|
.h2,
|
|
25
25
|
h3,
|
|
26
26
|
.h3 {
|
|
27
|
-
@include
|
|
27
|
+
@include heading-mixins.margin-large();
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
h1,
|
|
@@ -33,7 +33,7 @@ h1,
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
h1 {
|
|
36
|
-
@include
|
|
36
|
+
@include heading-mixins.h1();
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
h2,
|
|
@@ -42,7 +42,7 @@ h2,
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
h2 {
|
|
45
|
-
@include
|
|
45
|
+
@include heading-mixins.h2();
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
h3,
|
|
@@ -51,7 +51,7 @@ h3,
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
h3 {
|
|
54
|
-
@include
|
|
54
|
+
@include heading-mixins.h3();
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
h4,
|
|
@@ -60,7 +60,7 @@ h5,
|
|
|
60
60
|
.h5,
|
|
61
61
|
h6,
|
|
62
62
|
.h6 {
|
|
63
|
-
@include
|
|
63
|
+
@include heading-mixins.margin-small();
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
h4,
|
|
@@ -69,7 +69,7 @@ h4,
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
h4 {
|
|
72
|
-
@include
|
|
72
|
+
@include heading-mixins.h4();
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
h5,
|
|
@@ -78,7 +78,7 @@ h5,
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
h5 {
|
|
81
|
-
@include
|
|
81
|
+
@include heading-mixins.h5();
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
h6,
|
|
@@ -19,9 +19,12 @@
|
|
|
19
19
|
|
|
20
20
|
@include step-counter.step-counter();
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
23
|
+
& {
|
|
24
|
+
container-type: inline-size;
|
|
25
|
+
position: relative;
|
|
26
|
+
z-index: 1;
|
|
27
|
+
}
|
|
25
28
|
|
|
26
29
|
&.dso-yellow,
|
|
27
30
|
&:not(.dso-border):not(.dso-white) {
|
|
@@ -11,8 +11,11 @@
|
|
|
11
11
|
&::before {
|
|
12
12
|
@include di.base("times-zwart");
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
15
|
+
& {
|
|
16
|
+
content: "";
|
|
17
|
+
display: inline-block;
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
}
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
@use "../../variables/media-query-breakpoints";
|
|
4
4
|
|
|
5
5
|
@mixin root() {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
& {
|
|
7
|
+
background-color: transparent;
|
|
8
|
+
color: colors.$grasgroen;
|
|
9
|
+
border: 0;
|
|
10
|
+
margin-inline-start: units.$u1;
|
|
11
|
+
padding: 0;
|
|
12
|
+
}
|
|
11
13
|
|
|
12
14
|
&.dso-info-secondary {
|
|
13
15
|
color: colors.$grijs-60;
|
|
@@ -70,8 +70,12 @@
|
|
|
70
70
|
|
|
71
71
|
&.dso-label-bright {
|
|
72
72
|
@include set-colors.apply(label-variables.$bright-bg-color, $icons: false, $links: false);
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
|
|
74
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
75
|
+
& {
|
|
76
|
+
outline: 1px solid label-variables.$bright-border-color;
|
|
77
|
+
outline-offset: -1px;
|
|
78
|
+
}
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
&.dso-label-attention {
|
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
&::before {
|
|
11
11
|
@include di.base("chevron-right");
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
14
|
+
& {
|
|
15
|
+
content: "";
|
|
16
|
+
display: inline-block;
|
|
17
|
+
margin-inline-start: units.$u1 * -1;
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
&:active,
|
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
@use "list-button.variables" as list-button-variables;
|
|
7
7
|
|
|
8
8
|
@mixin _state-styling($background-color: inherit, $border-color: inherit, $color: inherit) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
& {
|
|
10
|
+
background-color: $background-color;
|
|
11
|
+
border-color: $border-color;
|
|
12
|
+
color: $color;
|
|
13
|
+
}
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
@mixin button-group($input-number-selector, $list-button-selector) {
|
|
@@ -19,7 +21,10 @@
|
|
|
19
21
|
> * {
|
|
20
22
|
@include _state-styling(colors.$wit, colors.$grijs-10, colors.$grijs-60);
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
25
|
+
& {
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
23
28
|
}
|
|
24
29
|
}
|
|
25
30
|
|
|
@@ -46,11 +51,13 @@
|
|
|
46
51
|
> #{$input-number-selector} {
|
|
47
52
|
@include _state-styling(colors.$wit, colors.$grijs-20, colors.$grijs-90);
|
|
48
53
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
& {
|
|
55
|
+
border-style: solid;
|
|
56
|
+
border-width: 1px;
|
|
57
|
+
flex-wrap: nowrap;
|
|
58
|
+
padding-block: 0;
|
|
59
|
+
padding-inline: units.$u2;
|
|
60
|
+
}
|
|
54
61
|
|
|
55
62
|
@media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
|
|
56
63
|
justify-content: center;
|
|
@@ -65,10 +72,12 @@
|
|
|
65
72
|
> *.dso-selected + #{$input-number-selector} {
|
|
66
73
|
@include _state-styling(colors.$wit, button.$secondary-border-color, colors.$grijs-90);
|
|
67
74
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
75
|
+
& {
|
|
76
|
+
box-shadow:
|
|
77
|
+
inset 0 -1px 0 0 button.$secondary-border-color,
|
|
78
|
+
inset 0 1px 0 0 button.$secondary-border-color,
|
|
79
|
+
inset -1px 0 0 0 button.$secondary-border-color;
|
|
80
|
+
}
|
|
72
81
|
}
|
|
73
82
|
|
|
74
83
|
> *:active + #{$input-number-selector},
|
|
@@ -85,7 +94,9 @@
|
|
|
85
94
|
&:hover {
|
|
86
95
|
@include _state-styling(colors.$wit, colors.$grijs-20, colors.$grijs-60);
|
|
87
96
|
|
|
88
|
-
|
|
97
|
+
& {
|
|
98
|
+
opacity: 1;
|
|
99
|
+
}
|
|
89
100
|
}
|
|
90
101
|
}
|
|
91
102
|
|
|
@@ -97,17 +108,19 @@
|
|
|
97
108
|
@mixin root() {
|
|
98
109
|
@include _state-styling(colors.$wit, colors.$grijs-20, colors.$grijs-90);
|
|
99
110
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
+
& {
|
|
112
|
+
border-radius: button.$border-radius;
|
|
113
|
+
border-width: 1px;
|
|
114
|
+
border-style: solid;
|
|
115
|
+
font-weight: 600;
|
|
116
|
+
padding-block: #{units.$u2 - 1};
|
|
117
|
+
padding-inline: #{units.$u2 - 1} #{units.$u6 - 1};
|
|
118
|
+
position: relative;
|
|
119
|
+
text-align: start;
|
|
120
|
+
white-space: normal;
|
|
121
|
+
inline-size: 100%;
|
|
122
|
+
cursor: pointer;
|
|
123
|
+
}
|
|
111
124
|
|
|
112
125
|
&:hover,
|
|
113
126
|
&:focus {
|
|
@@ -128,7 +141,10 @@
|
|
|
128
141
|
&:hover {
|
|
129
142
|
@include _state-styling(colors.$wit, colors.$grijs-20, colors.$grijs-60);
|
|
130
143
|
|
|
131
|
-
|
|
144
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
145
|
+
& {
|
|
146
|
+
opacity: 1;
|
|
147
|
+
}
|
|
132
148
|
}
|
|
133
149
|
}
|
|
134
150
|
|
|
@@ -4,9 +4,10 @@ $mark-color: #f8f5ce;
|
|
|
4
4
|
$highlight-color: #dbd136;
|
|
5
5
|
|
|
6
6
|
mark {
|
|
7
|
-
background-color: $mark-color;
|
|
8
|
-
color: colors.$zwart;
|
|
9
|
-
padding-block: 0.2rem;
|
|
7
|
+
background-color: var(--_dt-mark-bg-color, $mark-color);
|
|
8
|
+
color: var(--_dt-mark-color, colors.$zwart);
|
|
9
|
+
padding-block: var(--_dt-mark-padding-block, 0.2rem);
|
|
10
|
+
font-weight: var(--_dt-mark-font-weight, normal);
|
|
10
11
|
|
|
11
12
|
&.dso-highlight {
|
|
12
13
|
background-color: $highlight-color;
|
|
@@ -75,22 +75,25 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
> .dso-dialog > .dso-body {
|
|
78
|
-
|
|
78
|
+
// stylelint-disable-next-line scss/operator-no-newline-after -- disabled because of prettier newline
|
|
79
79
|
$dso-body-unavailable-height: (2 * modal-variables.$header-padding) +
|
|
80
80
|
(modal-variables.$footer-button-block-size + modal-variables.$footer-padding);
|
|
81
81
|
|
|
82
82
|
@include rich-content.children();
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
85
|
+
& {
|
|
86
|
+
block-size: calc(100% - #{modal-variables.$body-padding * 2 + units.$u4} - 1.5rem);
|
|
87
|
+
max-block-size: calc(#{modal-variables.$max-block-size} - #{$dso-body-unavailable-height + units.$u4} - 1.5em);
|
|
88
|
+
min-block-size: 1.5rem;
|
|
89
|
+
overflow-x: auto;
|
|
88
90
|
|
|
89
|
-
|
|
91
|
+
padding: modal-variables.$body-padding;
|
|
92
|
+
}
|
|
90
93
|
}
|
|
91
94
|
|
|
92
95
|
> .dso-dialog > dso-scrollable {
|
|
93
|
-
|
|
96
|
+
// stylelint-disable-next-line scss/operator-no-newline-after -- disabled because of prettier newline
|
|
94
97
|
$dso-body-unavailable-height: (2 * modal-variables.$header-padding) +
|
|
95
98
|
(modal-variables.$footer-button-block-size + modal-variables.$footer-padding);
|
|
96
99
|
|
|
@@ -101,7 +104,10 @@
|
|
|
101
104
|
.dso-body {
|
|
102
105
|
@include rich-content.children();
|
|
103
106
|
|
|
104
|
-
|
|
107
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
108
|
+
& {
|
|
109
|
+
padding: modal-variables.$body-padding;
|
|
110
|
+
}
|
|
105
111
|
}
|
|
106
112
|
}
|
|
107
113
|
|
|
@@ -114,12 +120,15 @@
|
|
|
114
120
|
.dso-footer {
|
|
115
121
|
@include modal-wide-buttons();
|
|
116
122
|
|
|
117
|
-
|
|
123
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
124
|
+
& {
|
|
125
|
+
min-block-size: modal-variables.$footer-button-block-size + modal-variables.$footer-padding;
|
|
118
126
|
|
|
119
|
-
|
|
120
|
-
|
|
127
|
+
padding-block: calc(modal-variables.$footer-padding / 2);
|
|
128
|
+
padding-inline: modal-variables.$footer-padding;
|
|
121
129
|
|
|
122
|
-
|
|
130
|
+
text-align: end;
|
|
131
|
+
}
|
|
123
132
|
}
|
|
124
133
|
|
|
125
134
|
@media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
@@ -23,9 +23,12 @@ body:has(dso-modal.hydrated) {
|
|
|
23
23
|
&::before {
|
|
24
24
|
@include di.base("times");
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
27
|
+
& {
|
|
28
|
+
content: "";
|
|
29
|
+
display: inline-block;
|
|
30
|
+
vertical-align: middle;
|
|
31
|
+
}
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -81,11 +81,14 @@
|
|
|
81
81
|
> button {
|
|
82
82
|
@include anchor.reverse();
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
85
|
+
& {
|
|
86
|
+
font-size: 1.25em;
|
|
87
|
+
line-height: 1;
|
|
88
|
+
margin-block-start: units.$u1;
|
|
89
|
+
padding-block: units.$u1 #{units.$u1 - 1px};
|
|
90
|
+
padding-inline: units.$u2;
|
|
91
|
+
}
|
|
89
92
|
}
|
|
90
93
|
}
|
|
91
94
|
}
|
|
@@ -98,10 +101,13 @@
|
|
|
98
101
|
> button {
|
|
99
102
|
@include anchor.reverse();
|
|
100
103
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
// stylelint-disable-next-line no-duplicate-selectors -- needed to fix sass deprecation warnings: #2724
|
|
105
|
+
& {
|
|
106
|
+
font-size: typography.$root-font-size-base;
|
|
107
|
+
margin-block-start: (units.$u1 * 0.5);
|
|
108
|
+
padding-block: (units.$u1 * 0.5) #{units.$u1 * 0.5 - 1px};
|
|
109
|
+
padding-inline: units.$u1;
|
|
110
|
+
}
|
|
105
111
|
}
|
|
106
112
|
}
|
|
107
113
|
}
|
|
@@ -4,72 +4,74 @@
|
|
|
4
4
|
@use "pagination.variables" as pagination-variables;
|
|
5
5
|
|
|
6
6
|
@mixin root() {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
> li {
|
|
11
|
-
display: inline-block;
|
|
12
|
-
font-weight: bold;
|
|
13
|
-
line-height: calc(pagination-variables.$item-size - pagination-variables.$border-size * 2);
|
|
7
|
+
ul {
|
|
8
|
+
padding-inline-start: initial;
|
|
14
9
|
text-align: center;
|
|
15
|
-
vertical-align: middle;
|
|
16
10
|
|
|
17
|
-
>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
justify-content: center;
|
|
24
|
-
position: relative;
|
|
25
|
-
min-inline-size: pagination-variables.$item-size;
|
|
26
|
-
padding: #{units.$u1 * 0.25};
|
|
27
|
-
padding-block: units.$u1 * 0.25;
|
|
28
|
-
padding-inline: units.$u1 * 0.25;
|
|
11
|
+
> li {
|
|
12
|
+
display: inline-block;
|
|
13
|
+
font-weight: bold;
|
|
14
|
+
line-height: calc(pagination-variables.$item-size - pagination-variables.$border-size * 2);
|
|
15
|
+
text-align: center;
|
|
16
|
+
vertical-align: middle;
|
|
29
17
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
18
|
+
> a,
|
|
19
|
+
> span {
|
|
20
|
+
align-items: center;
|
|
21
|
+
color: colors.$grasgroen;
|
|
22
|
+
display: flex;
|
|
23
|
+
block-size: pagination-variables.$item-size;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
position: relative;
|
|
26
|
+
min-inline-size: pagination-variables.$item-size;
|
|
27
|
+
padding: #{units.$u1 * 0.25};
|
|
28
|
+
padding-block: units.$u1 * 0.25;
|
|
29
|
+
padding-inline: units.$u1 * 0.25;
|
|
34
30
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
&:active {
|
|
32
|
+
background-color: colors.$grasgroen-10;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
39
35
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
> span {
|
|
37
|
+
border: pagination-variables.$border-size solid transparent;
|
|
38
|
+
border-radius: pagination-variables.$item-size * 0.5;
|
|
39
|
+
}
|
|
43
40
|
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
a {
|
|
42
|
+
line-height: pagination-variables.$line-height;
|
|
46
43
|
text-decoration: none;
|
|
47
44
|
|
|
45
|
+
&:hover,
|
|
46
|
+
&:focus {
|
|
47
|
+
text-decoration: none;
|
|
48
|
+
|
|
49
|
+
&::after {
|
|
50
|
+
border-block-end-color: colors.$grasgroen;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
48
54
|
&::after {
|
|
49
|
-
border-block-end
|
|
55
|
+
border-block-end: 3px solid transparent;
|
|
56
|
+
inset-block-end: 0;
|
|
57
|
+
content: "";
|
|
58
|
+
display: inline-block;
|
|
59
|
+
inset-inline-start: 0;
|
|
60
|
+
position: absolute;
|
|
61
|
+
inline-size: 100%;
|
|
50
62
|
}
|
|
51
63
|
}
|
|
52
64
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
inset-inline-start: 0;
|
|
59
|
-
position: absolute;
|
|
60
|
-
inline-size: 100%;
|
|
65
|
+
&.active {
|
|
66
|
+
span {
|
|
67
|
+
background-color: colors.$grasgroen;
|
|
68
|
+
color: colors.$wit;
|
|
69
|
+
}
|
|
61
70
|
}
|
|
62
|
-
}
|
|
63
71
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
background-color: colors.$grasgroen;
|
|
67
|
-
color: colors.$wit;
|
|
72
|
+
& + li {
|
|
73
|
+
margin-inline-start: units.$u1;
|
|
68
74
|
}
|
|
69
75
|
}
|
|
70
|
-
|
|
71
|
-
& + li {
|
|
72
|
-
margin-inline-start: units.$u1;
|
|
73
|
-
}
|
|
74
76
|
}
|
|
75
77
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use "../pagination";
|
|
2
|
-
|
|
2
|
+
@use "../../utilities";
|
|
3
3
|
@use "../../di";
|
|
4
4
|
|
|
5
5
|
.pagination {
|
|
@@ -27,4 +27,9 @@
|
|
|
27
27
|
@include di.base("chevron-right");
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
+
|
|
31
|
+
.sr-only.sr-only {
|
|
32
|
+
// class daisy-chained to prevent overwrites by other more specific styling set on this element.
|
|
33
|
+
@include utilities.sr-only();
|
|
34
|
+
}
|
|
30
35
|
}
|