dso-toolkit 51.3.0 → 51.4.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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "dso-toolkit",
3
3
  "description": "DSO Toolkit",
4
4
  "license": "SEE LICENSE IN DISCLAIMER.txt",
5
- "version": "51.3.0",
5
+ "version": "51.4.0",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -9,7 +9,7 @@
9
9
  a,
10
10
  button {
11
11
  &::before {
12
- @include di.base("chevron-down-grijs90");
12
+ @include di.base("chevron-down-zwart");
13
13
  }
14
14
  }
15
15
  }
@@ -21,7 +21,7 @@
21
21
  a,
22
22
  button {
23
23
  &::before {
24
- @include di.base("chevron-up-grijs90");
24
+ @include di.base("chevron-up-zwart");
25
25
  }
26
26
  }
27
27
  }
@@ -32,7 +32,7 @@
32
32
  a,
33
33
  button {
34
34
  &::before {
35
- @include di.variant("chevron-down-grijs90");
35
+ @include di.variant("chevron-down-zwart");
36
36
  }
37
37
  }
38
38
  }
@@ -41,28 +41,27 @@
41
41
  }
42
42
  }
43
43
 
44
- .dso-section-handle {
45
- background-color: accordion.$conclusion-bgcolor;
46
- border: 1px solid accordion.$conclusion-border-color;
44
+ > .dso-accordion-section {
45
+ > .dso-section-handle {
46
+ background-color: accordion.$conclusion-bgcolor;
47
+ border: 1px solid accordion.$conclusion-border-color;
47
48
 
48
- a,
49
- button {
50
- color: accordion.$conclusion-color;
49
+ a,
50
+ button {
51
+ color: accordion.$conclusion-color;
51
52
 
52
- &::before {
53
- @include di.base("chevron-right-grijs90");
54
- }
53
+ &::before {
54
+ @include di.base("chevron-right-zwart");
55
+ }
55
56
 
56
- &:hover,
57
- &:active,
58
- &.active {
59
- background-color: accordion.$conclusion-hover-bgcolor;
60
- color: accordion.$conclusion-color;
57
+ &:hover,
58
+ &:active,
59
+ &.active {
60
+ background-color: accordion.$conclusion-hover-bgcolor;
61
+ }
61
62
  }
62
63
  }
63
- }
64
64
 
65
- .dso-accordion-section {
66
65
  &.dso-open {
67
66
  &:not(.dso-nested-accordion) {
68
67
  > .dso-section-handle {
@@ -73,20 +72,7 @@
73
72
  color: accordion.$conclusion-color;
74
73
 
75
74
  &::before {
76
- @include di.base("chevron-down-grijs90");
77
- }
78
-
79
- dso-attachments-counter {
80
- --dso-attachments-counter-color: #{colors.$grijs-60};
81
- --dso-icon: var(--di-paperclip-grijs);
82
- }
83
-
84
- .dso-attachments {
85
- color: colors.$grijs-60;
86
-
87
- &::after {
88
- @include di.variant("paperclip-grijs");
89
- }
75
+ @include di.base("chevron-down-zwart");
90
76
  }
91
77
  }
92
78
  }
@@ -99,7 +85,27 @@
99
85
  a,
100
86
  button {
101
87
  &::before {
102
- @include di.base("chevron-down-grijs-90");
88
+ @include di.base("chevron-down-zwart");
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+
95
+ &:not(.dso-nested-accordion) {
96
+ > .dso-section-handle {
97
+ a,
98
+ button {
99
+ dso-attachments-counter {
100
+ --dso-attachments-counter-color: #{colors.$zwart};
101
+ --dso-icon: var(--di-paperclip-zwart);
102
+ }
103
+
104
+ .dso-attachments {
105
+ color: colors.$zwart;
106
+
107
+ &::after {
108
+ @include di.variant("paperclip-zwart");
103
109
  }
104
110
  }
105
111
  }
@@ -9,7 +9,7 @@ $default-nested-body-bgcolor: colors.$grijs-10;
9
9
  $conclusion-bgcolor: colors.$grijs-5;
10
10
  $conclusion-hover-bgcolor: colors.$grijs-10;
11
11
  $conclusion-border-color: colors.$grijs-5;
12
- $conclusion-color: colors.$grijs-90;
12
+ $conclusion-color: colors.$zwart;
13
13
  $conclusion-nested-handle-bgcolor: $conclusion-bgcolor;
14
14
  $conclusion-nested-body-bgcolor: colors.$wit;
15
15
 
@@ -1,6 +1,5 @@
1
1
  @use "../../variables/units";
2
2
  @use "../../variables/colors";
3
- @use "../../variables/scaffolding";
4
3
  @use "../../variables/typography";
5
4
  @use "../../variables/media-query-breakpoints";
6
5
 
@@ -48,14 +47,14 @@
48
47
  a {
49
48
  &,
50
49
  &:not(.btn):visited {
51
- color: scaffolding.$text-color;
50
+ color: colors.$zwart;
52
51
  }
53
52
 
54
53
  &:hover,
55
54
  &:focus,
56
55
  &:active,
57
56
  &:visited {
58
- color: scaffolding.$text-color;
57
+ color: colors.$zwart;
59
58
  }
60
59
 
61
60
  &:active {
@@ -18,7 +18,7 @@
18
18
  &.badge-info {
19
19
  background-color: badge-variables.$info-bg-color;
20
20
  border-color: badge-variables.$info-bg-color;
21
- color: colors.$grijs-90;
21
+ color: colors.$zwart;
22
22
  }
23
23
 
24
24
  &.badge-primary {
@@ -36,7 +36,7 @@
36
36
  &.badge-warning {
37
37
  background-color: badge-variables.$warning-bg-color;
38
38
  border-color: badge-variables.$warning-bg-color;
39
- color: colors.$grijs-90;
39
+ color: colors.$zwart;
40
40
  }
41
41
 
42
42
  &.badge-danger {
@@ -1,6 +1,5 @@
1
1
  @use "../../variables/units";
2
2
  @use "../../variables/colors";
3
- @use "../../variables/scaffolding";
4
3
  @use "../../variables/typography";
5
4
  @use "../../variables/media-query-breakpoints";
6
5
 
@@ -21,7 +20,7 @@
21
20
  &:focus,
22
21
  &:active,
23
22
  &:visited {
24
- color: scaffolding.$text-color;
23
+ color: colors.$zwart;
25
24
  }
26
25
 
27
26
  &:active {
@@ -11,6 +11,7 @@
11
11
 
12
12
  .dso-document-header {
13
13
  background-color: colors.$grijs-5;
14
+ color: colors.$zwart;
14
15
  padding: grid-variables.$grid-gutter-width * 0.5;
15
16
  margin-left: grid-variables.$grid-gutter-width * -0.5;
16
17
  margin-right: grid-variables.$grid-gutter-width * -0.5;
@@ -32,6 +32,7 @@
32
32
 
33
33
  .dso-document-list-item-heading {
34
34
  background-color: colors.$grijs-5;
35
+ color: colors.$zwart;
35
36
  padding: css-grid-variables.$grid-gutter-width * 0.5;
36
37
  width: 100%;
37
38
 
@@ -4,7 +4,6 @@
4
4
  @use "../../variables/colors";
5
5
  @use "../../variables/scaffolding";
6
6
  @use "../../variables/typography";
7
- @use "../../variables/zindex";
8
7
 
9
8
  @use "../anchor";
10
9
 
@@ -12,7 +11,6 @@
12
11
 
13
12
  @mixin root() {
14
13
  display: inline-block;
15
- position: relative;
16
14
  }
17
15
 
18
16
  @mixin children() {
@@ -21,6 +19,8 @@
21
19
  > .dso-secondary,
22
20
  > .dso-tertiary,
23
21
  > .btn {
22
+ position: relative;
23
+
24
24
  &::after {
25
25
  content: "";
26
26
  display: inline-block;
@@ -62,13 +62,8 @@
62
62
  border: 1px solid dropdown-menu-variables.$border-color;
63
63
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.4);
64
64
  font-size: typography.$root-font-size-base;
65
- margin: 2px 0 0;
66
65
  min-width: 160px;
67
66
  padding: 5px 0;
68
- position: absolute;
69
- text-align: left;
70
- top: 100%;
71
- z-index: zindex.$dropdown-options;
72
67
 
73
68
  li {
74
69
  list-style: none;
@@ -135,9 +130,3 @@
135
130
  }
136
131
  }
137
132
  }
138
-
139
- @mixin align-right() {
140
- .dso-dropdown-options {
141
- right: 0;
142
- }
143
- }
@@ -1,5 +1,6 @@
1
1
  @use "../../di";
2
2
  @use "../../variables/units";
3
+ @use "../../variables/zindex";
3
4
 
4
5
  @use "../dropdown-menu";
5
6
 
@@ -81,6 +82,8 @@
81
82
  @include dropdown-menu.children();
82
83
  @include icons();
83
84
 
85
+ position: relative;
86
+
84
87
  &.dso-open {
85
88
  @include icons-open();
86
89
  }
@@ -107,7 +110,17 @@
107
110
  }
108
111
 
109
112
  &.dso-dropdown-align-right {
110
- @include dropdown-menu.align-right();
113
+ .dso-dropdown-options {
114
+ right: 0;
115
+ }
116
+ }
117
+
118
+ .dso-dropdown-options {
119
+ margin: 2px 0 0;
120
+ position: absolute;
121
+ text-align: left;
122
+ top: 100%;
123
+ z-index: zindex.$dropdown-options;
111
124
  }
112
125
  }
113
126
 
@@ -116,10 +129,6 @@ dso-dropdown-menu {
116
129
  @include dropdown-menu.children();
117
130
  @include icons();
118
131
 
119
- &[dropdown-align="right"] {
120
- @include dropdown-menu.align-right();
121
- }
122
-
123
132
  &[open] {
124
133
  @include icons-open();
125
134
  }
@@ -13,6 +13,7 @@ footer {
13
13
 
14
14
  background-color: colors.$grijs-5;
15
15
  border-top: 1px solid css-footer-variables.$border-color;
16
+ color: colors.$zwart;
16
17
  display: block;
17
18
  margin-top: units.$u6;
18
19
  padding-bottom: units.$u6;
@@ -27,19 +28,19 @@ footer {
27
28
  &:focus,
28
29
  &:hover {
29
30
  &::before {
30
- @include di.base("chevron-right-grijs90");
31
+ @include di.base("chevron-right-zwart");
31
32
  }
32
33
  }
33
34
 
34
35
  &.download {
35
36
  &::after {
36
- @include di.base("download-grijs90");
37
+ @include di.base("download-zwart");
37
38
  }
38
39
  }
39
40
 
40
41
  &.extern {
41
42
  &::after {
42
- @include di.base("external-link-grijs90");
43
+ @include di.base("external-link-zwart");
43
44
  }
44
45
  }
45
46
  }
@@ -47,7 +48,7 @@ footer {
47
48
 
48
49
  h2 {
49
50
  border-bottom: 1px solid css-footer-variables.$header-border-color;
50
- color: colors.$grijs-90;
51
+ color: colors.$zwart;
51
52
  font-size: 1.25em;
52
53
  font-weight: 700;
53
54
  margin-bottom: units.$u2;
@@ -61,7 +62,7 @@ footer {
61
62
  &.active,
62
63
  &:active,
63
64
  &:focus {
64
- color: colors.$grijs-90;
65
+ color: colors.$zwart;
65
66
  }
66
67
 
67
68
  &#{button.$not-dso-buttons}:visited {
@@ -70,7 +71,7 @@ footer {
70
71
  &.active,
71
72
  &:active,
72
73
  &:focus {
73
- color: colors.$grijs-90;
74
+ color: colors.$zwart;
74
75
  }
75
76
  }
76
77
  }
@@ -120,6 +120,7 @@ form {
120
120
  @include css-grid-mixins.full-width-row(css-grid-variables.$grid-gutter-width);
121
121
 
122
122
  background-color: css-grid-variables.$featured-background-color;
123
+ color: colors.$zwart;
123
124
  }
124
125
  }
125
126
 
@@ -1,6 +1,5 @@
1
1
  @use "../../variables/units";
2
2
  @use "../../variables/colors";
3
- @use "../../variables/scaffolding";
4
3
 
5
4
  @use "../button";
6
5
  @use "../step-counter";
@@ -9,6 +8,7 @@
9
8
 
10
9
  @mixin root() {
11
10
  background-color: colors.$grijs-5;
11
+ color: colors.$zwart;
12
12
  margin-top: units.$u2;
13
13
  padding: units.$u2;
14
14
  margin-bottom: units.$vertical-spacing-large;
@@ -73,22 +73,13 @@
73
73
  @mixin exoticChildren() {
74
74
  .dso-tertiary:not([disabled]),
75
75
  .btn-link:not([disabled]) {
76
- color: colors.$grijs-90;
77
-
78
- &:hover,
79
- &:focus {
80
- &,
81
- dso-icon,
82
- svg.di {
83
- color: colors.$grijs-60;
84
- }
85
- }
76
+ color: colors.$zwart;
86
77
  }
87
78
 
88
79
  a,
89
80
  a:visited {
90
81
  &#{button.$not-dso-buttons} {
91
- color: scaffolding.$text-color;
82
+ color: colors.$zwart;
92
83
  }
93
84
  }
94
85
  }
@@ -24,19 +24,19 @@
24
24
  &:focus,
25
25
  &:hover {
26
26
  &::before {
27
- @include di.base("chevron-right-grijs90");
27
+ @include di.base("chevron-right-zwart");
28
28
  }
29
29
  }
30
30
 
31
31
  &.download {
32
32
  &::after {
33
- @include di.base("download-grijs90");
33
+ @include di.base("download-zwart");
34
34
  }
35
35
  }
36
36
 
37
37
  &.extern {
38
38
  &::after {
39
- @include di.base("external-link-grijs90");
39
+ @include di.base("external-link-zwart");
40
40
  }
41
41
  }
42
42
  }
@@ -64,19 +64,19 @@ dso-highlight-box {
64
64
  &:focus,
65
65
  &:hover {
66
66
  &::before {
67
- @include di.base("chevron-right-grijs90");
67
+ @include di.base("chevron-right-zwart");
68
68
  }
69
69
  }
70
70
 
71
71
  &.download {
72
72
  &::after {
73
- @include di.base("download-grijs90");
73
+ @include di.base("download-zwart");
74
74
  }
75
75
  }
76
76
 
77
77
  &.extern {
78
78
  &::after {
79
- @include di.base("external-link-grijs90");
79
+ @include di.base("external-link-zwart");
80
80
  }
81
81
  }
82
82
  }
@@ -1,10 +1,10 @@
1
1
  @use "../../variables/units";
2
2
  @use "../../variables/colors";
3
- @use "../../variables/scaffolding";
4
3
  @use "../button";
5
4
 
6
5
  @mixin root() {
7
6
  background-color: colors.$grijs-5;
7
+ color: colors.$zwart;
8
8
  padding: units.$u2 units.$u4 units.$u2 units.$u2;
9
9
  position: relative;
10
10
 
@@ -35,7 +35,7 @@
35
35
  &:focus,
36
36
  &:active,
37
37
  &:visited {
38
- color: scaffolding.$text-color;
38
+ color: colors.$zwart;
39
39
  }
40
40
 
41
41
  &:active {
@@ -9,7 +9,7 @@
9
9
 
10
10
  > button {
11
11
  &::before {
12
- @include di.base("times-grijs90");
12
+ @include di.base("times-zwart");
13
13
 
14
14
  content: "";
15
15
  display: inline-block;
@@ -6,7 +6,7 @@ $default-bg-color: colors.$grijs-5;
6
6
  $default-color: colors.$grijs-90;
7
7
 
8
8
  $info-bg-color: colors.$info-color;
9
- $info-color: colors.$grijs-90;
9
+ $info-color: colors.$zwart;
10
10
 
11
11
  $primary-bg-color: colors.$bosgroen;
12
12
  $primary-color: colors.$wit;
@@ -15,7 +15,7 @@ $success-bg-color: colors.$success-color;
15
15
  $success-color: colors.$wit;
16
16
 
17
17
  $warning-bg-color: colors.$warning-color;
18
- $warning-color: colors.$grijs-90;
18
+ $warning-color: colors.$zwart;
19
19
 
20
20
  $danger-bg-color: colors.$danger-color;
21
21
  $danger-color: colors.$wit;
@@ -36,10 +36,10 @@
36
36
  a {
37
37
  @include anchor.reverse();
38
38
 
39
- color: colors.$grijs-90;
39
+ color: colors.$zwart;
40
40
 
41
41
  &:active {
42
- color: colors.$grijs-90;
42
+ color: colors.$zwart;
43
43
  text-decoration: none;
44
44
  }
45
45
  }
@@ -44,6 +44,7 @@
44
44
  background-color: colors.$grijs-5;
45
45
  border: 0;
46
46
  border-radius: css-shopping-cart-variables.$radius;
47
+ color: colors.$zwart;
47
48
  position: relative;
48
49
 
49
50
  > .dso-delete {
@@ -1,21 +1,21 @@
1
1
  @use "colors";
2
2
 
3
- $success-text: colors.$grijs-90;
3
+ $success-text: colors.$zwart;
4
4
  $success-bg: colors.$success-bg-color;
5
5
  $success-border: colors.$success-bg-color;
6
6
 
7
- $info-text: colors.$grijs-90;
7
+ $info-text: colors.$zwart;
8
8
  $info-bg: colors.$info-bg-color;
9
9
  $info-border: colors.$info-bg-color;
10
10
 
11
- $warning-text: colors.$grijs-90;
11
+ $warning-text: colors.$zwart;
12
12
  $warning-bg: colors.$warning-bg-color;
13
13
  $warning-border: colors.$warning-bg-color;
14
14
 
15
- $danger-text: colors.$grijs-90;
15
+ $danger-text: colors.$zwart;
16
16
  $danger-bg: colors.$danger-bg-color;
17
17
  $danger-border: colors.$danger-bg-color;
18
18
 
19
- $error-text: colors.$grijs-90;
19
+ $error-text: colors.$zwart;
20
20
  $error-bg: colors.$error-bg-color;
21
21
  $error-border: colors.$error-bg-color;