dso-toolkit 62.3.2 → 62.5.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 +24 -0
- package/README.md +2 -15
- package/dist/dso-icons.svg +249 -237
- package/dist/dso.css +175 -62
- package/dist/index.js +1 -0
- package/package.json +25 -25
- package/src/components/form/form.mixins.scss +9 -7
- package/src/components/form/form.variables.scss +0 -1
- package/src/components/form-control/form-control.mixins.scss +3 -1
- package/src/components/headings/headings.mixins.scss +13 -3
- package/src/components/info-button/info-button.mixins.scss +8 -3
- package/src/components/list-button/list-button.mixins.scss +8 -3
- package/src/components/navbar/navbar.mixins.scss +10 -2
- package/src/components/navbar/navbar.scss +107 -0
- package/src/components/search-bar/search-bar.scss +3 -1
- package/src/global/font-faces.scss +28 -8
- package/src/variables/units.scss +1 -0
- package/src/variables/zindex.scss +0 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "../../variables/units";
|
|
2
|
+
@use "../../variables/scaffolding";
|
|
3
|
+
@use "../../variables/colors";
|
|
1
4
|
@use "../../variables/media-query-breakpoints";
|
|
2
5
|
|
|
3
6
|
@use "./navbar.mixins" as navbar;
|
|
@@ -22,6 +25,110 @@
|
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
}
|
|
28
|
+
|
|
29
|
+
& + .dso-navbar-extension {
|
|
30
|
+
position: relative;
|
|
31
|
+
isolation: isolate;
|
|
32
|
+
|
|
33
|
+
&.dso-animate {
|
|
34
|
+
.dso-navbar-extension-container {
|
|
35
|
+
transition:
|
|
36
|
+
grid-template-rows 0.5s,
|
|
37
|
+
visibility 0.5s,
|
|
38
|
+
margin-block-end 0.5s;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.dso-navbar-extension-container {
|
|
43
|
+
position: relative;
|
|
44
|
+
inset-block-start: -1px;
|
|
45
|
+
|
|
46
|
+
display: grid;
|
|
47
|
+
grid-template-rows: 0fr;
|
|
48
|
+
|
|
49
|
+
margin-block-end: 0;
|
|
50
|
+
|
|
51
|
+
visibility: hidden;
|
|
52
|
+
|
|
53
|
+
inline-size: 100%;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.dso-navbar-extension-expand-button {
|
|
57
|
+
position: absolute;
|
|
58
|
+
inset-inline-end: 0;
|
|
59
|
+
inset-block-start: 1px;
|
|
60
|
+
z-index: 1;
|
|
61
|
+
|
|
62
|
+
translate: 0 -100%;
|
|
63
|
+
|
|
64
|
+
background-color: transparent;
|
|
65
|
+
|
|
66
|
+
padding-inline: units.$u2;
|
|
67
|
+
padding-block: 6px;
|
|
68
|
+
|
|
69
|
+
border: 2px solid transparent;
|
|
70
|
+
border-start-start-radius: scaffolding.$border-radius-base;
|
|
71
|
+
border-start-end-radius: scaffolding.$border-radius-base;
|
|
72
|
+
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
color: colors.$grasgroen;
|
|
75
|
+
|
|
76
|
+
svg.di,
|
|
77
|
+
dso-icon {
|
|
78
|
+
margin-inline-end: units.$u1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:hover,
|
|
82
|
+
&:focus {
|
|
83
|
+
text-decoration: underline;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.dso-active {
|
|
87
|
+
background-color: colors.$grijs-5;
|
|
88
|
+
|
|
89
|
+
border-color: colors.$grijs-20;
|
|
90
|
+
|
|
91
|
+
color: colors.$grijs-90;
|
|
92
|
+
|
|
93
|
+
&::after {
|
|
94
|
+
content: "";
|
|
95
|
+
|
|
96
|
+
position: absolute;
|
|
97
|
+
inset-inline-start: 0;
|
|
98
|
+
inset-block-end: -2px;
|
|
99
|
+
|
|
100
|
+
inline-size: 100%;
|
|
101
|
+
block-size: 2px;
|
|
102
|
+
|
|
103
|
+
background-color: colors.$grijs-5;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
+ .dso-navbar-extension-container {
|
|
107
|
+
visibility: visible;
|
|
108
|
+
|
|
109
|
+
grid-template-rows: 1fr;
|
|
110
|
+
|
|
111
|
+
margin-block-end: units.$u1;
|
|
112
|
+
|
|
113
|
+
.dso-navbar-extension-content {
|
|
114
|
+
border: 2px solid colors.$grijs-20;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.dso-navbar-extension-content {
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
|
|
123
|
+
padding-inline: units.$u2;
|
|
124
|
+
|
|
125
|
+
background-color: colors.$grijs-5;
|
|
126
|
+
|
|
127
|
+
border-start-start-radius: scaffolding.$border-radius-base;
|
|
128
|
+
border-end-end-radius: scaffolding.$border-radius-base;
|
|
129
|
+
border-end-start-radius: scaffolding.$border-radius-base;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
25
132
|
}
|
|
26
133
|
|
|
27
134
|
.dso-nav {
|
|
@@ -58,7 +58,9 @@
|
|
|
58
58
|
height: css-search-bar-variables.$height;
|
|
59
59
|
line-height: css-search-bar-variables.$height;
|
|
60
60
|
padding: 6px css-search-bar-variables.$height 6px units.$u1;
|
|
61
|
-
transition:
|
|
61
|
+
transition:
|
|
62
|
+
border-color ease-in-out 0.15s,
|
|
63
|
+
box-shadow ease-in-out 0.15s;
|
|
62
64
|
width: 100%;
|
|
63
65
|
|
|
64
66
|
&:focus {
|
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
font-family: "Asap";
|
|
5
5
|
font-style: normal;
|
|
6
6
|
font-weight: 400;
|
|
7
|
-
src:
|
|
7
|
+
src:
|
|
8
|
+
local("Asap Regular"),
|
|
9
|
+
local("Asap-Regular"),
|
|
10
|
+
url("#{config.$asap-font-path}Asap-Regular.woff2") format("woff2"),
|
|
8
11
|
url("#{config.$asap-font-path}Asap-Regular.woff") format("woff");
|
|
9
12
|
}
|
|
10
13
|
|
|
@@ -12,7 +15,9 @@
|
|
|
12
15
|
font-family: "Asap";
|
|
13
16
|
font-style: italic;
|
|
14
17
|
font-weight: 400;
|
|
15
|
-
src:
|
|
18
|
+
src:
|
|
19
|
+
local("Asap Regular italic"),
|
|
20
|
+
local("Asap-Regularitalic"),
|
|
16
21
|
url("#{config.$asap-font-path}Asap-Italic.woff2") format("woff2"),
|
|
17
22
|
url("#{config.$asap-font-path}Asap-Italic.woff") format("woff");
|
|
18
23
|
}
|
|
@@ -21,7 +26,10 @@
|
|
|
21
26
|
font-family: "Asap";
|
|
22
27
|
font-style: normal;
|
|
23
28
|
font-weight: 500;
|
|
24
|
-
src:
|
|
29
|
+
src:
|
|
30
|
+
local("Asap Bold"),
|
|
31
|
+
local("Asap-Bold"),
|
|
32
|
+
url("#{config.$asap-font-path}Asap-Medium.woff2") format("woff2"),
|
|
25
33
|
url("#{config.$asap-font-path}Asap-Medium.woff") format("woff");
|
|
26
34
|
}
|
|
27
35
|
|
|
@@ -29,7 +37,9 @@
|
|
|
29
37
|
font-family: "Asap";
|
|
30
38
|
font-style: italic;
|
|
31
39
|
font-weight: 500;
|
|
32
|
-
src:
|
|
40
|
+
src:
|
|
41
|
+
local("Asap Bold italic"),
|
|
42
|
+
local("Asap-Bolditalic"),
|
|
33
43
|
url("#{config.$asap-font-path}Asap-MediumItalic.woff2") format("woff2"),
|
|
34
44
|
url("#{config.$asap-font-path}Asap-MediumItalic.woff") format("woff");
|
|
35
45
|
}
|
|
@@ -38,7 +48,10 @@
|
|
|
38
48
|
font-family: "Asap";
|
|
39
49
|
font-style: normal;
|
|
40
50
|
font-weight: 600;
|
|
41
|
-
src:
|
|
51
|
+
src:
|
|
52
|
+
local("Asap Bold"),
|
|
53
|
+
local("Asap-Bold"),
|
|
54
|
+
url("#{config.$asap-font-path}Asap-SemiBold.woff2") format("woff2"),
|
|
42
55
|
url("#{config.$asap-font-path}Asap-SemiBold.woff") format("woff");
|
|
43
56
|
}
|
|
44
57
|
|
|
@@ -46,7 +59,9 @@
|
|
|
46
59
|
font-family: "Asap";
|
|
47
60
|
font-style: italic;
|
|
48
61
|
font-weight: 600;
|
|
49
|
-
src:
|
|
62
|
+
src:
|
|
63
|
+
local("Asap Bold italic"),
|
|
64
|
+
local("Asap-Bolditalic"),
|
|
50
65
|
url("#{config.$asap-font-path}Asap-SemiBoldItalic.woff2") format("woff2"),
|
|
51
66
|
url("#{config.$asap-font-path}Asap-SemiBoldItalic.woff") format("woff");
|
|
52
67
|
}
|
|
@@ -55,7 +70,10 @@
|
|
|
55
70
|
font-family: "Asap";
|
|
56
71
|
font-style: normal;
|
|
57
72
|
font-weight: 700;
|
|
58
|
-
src:
|
|
73
|
+
src:
|
|
74
|
+
local("Asap Bold"),
|
|
75
|
+
local("Asap-Bold"),
|
|
76
|
+
url("#{config.$asap-font-path}Asap-Bold.woff2") format("woff2"),
|
|
59
77
|
url("#{config.$asap-font-path}Asap-Bold.woff") format("woff");
|
|
60
78
|
}
|
|
61
79
|
|
|
@@ -63,7 +81,9 @@
|
|
|
63
81
|
font-family: "Asap";
|
|
64
82
|
font-style: italic;
|
|
65
83
|
font-weight: 700;
|
|
66
|
-
src:
|
|
84
|
+
src:
|
|
85
|
+
local("Asap Bold italic"),
|
|
86
|
+
local("Asap-Bolditalic"),
|
|
67
87
|
url("#{config.$asap-font-path}Asap-BoldItalic.woff2") format("woff2"),
|
|
68
88
|
url("#{config.$asap-font-path}Asap-BoldItalic.woff") format("woff");
|
|
69
89
|
}
|
package/src/variables/units.scss
CHANGED