@amsterdam/design-system-css 0.1.8 → 0.2.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 +21 -0
- package/LICENSE.md +1 -1
- package/dist/accordion/accordion.css +1 -1
- package/dist/accordion/accordion.css.map +1 -1
- package/dist/alert/alert.css +1 -1
- package/dist/alert/alert.css.map +1 -1
- package/dist/aspect-ratio/aspect-ratio.css.map +1 -1
- package/dist/blockquote/blockquote.css +1 -1
- package/dist/blockquote/blockquote.css.map +1 -1
- package/dist/breadcrumb/breadcrumb.css +1 -1
- package/dist/breadcrumb/breadcrumb.css.map +1 -1
- package/dist/button/button.css +1 -1
- package/dist/button/button.css.map +1 -1
- package/dist/card/card.css +1 -1
- package/dist/card/card.css.map +1 -1
- package/dist/checkbox/checkbox.css +1 -1
- package/dist/checkbox/checkbox.css.map +1 -1
- package/dist/dialog/dialog.css +1 -0
- package/dist/dialog/dialog.css.map +1 -0
- package/dist/form-label/form-label.css +1 -1
- package/dist/form-label/form-label.css.map +1 -1
- package/dist/grid/grid-cell.css.map +1 -1
- package/dist/grid/grid.css +1 -1
- package/dist/grid/grid.css.map +1 -1
- package/dist/heading/heading.css +1 -1
- package/dist/heading/heading.css.map +1 -1
- package/dist/highlight/highlight.css.map +1 -1
- package/dist/icon/icon.css +1 -1
- package/dist/icon/icon.css.map +1 -1
- package/dist/image/image.css.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/link/link.css +1 -1
- package/dist/link/link.css.map +1 -1
- package/dist/logo/logo.css +1 -0
- package/dist/logo/logo.css.map +1 -0
- package/dist/ordered-list/ordered-list.css +1 -1
- package/dist/ordered-list/ordered-list.css.map +1 -1
- package/dist/page-heading/page-heading.css +1 -1
- package/dist/page-heading/page-heading.css.map +1 -1
- package/dist/page-menu/page-menu.css +1 -1
- package/dist/page-menu/page-menu.css.map +1 -1
- package/dist/pagination/pagination.css +1 -1
- package/dist/pagination/pagination.css.map +1 -1
- package/dist/paragraph/paragraph.css +1 -1
- package/dist/paragraph/paragraph.css.map +1 -1
- package/dist/screen/screen.css.map +1 -1
- package/dist/switch/switch.css.map +1 -1
- package/dist/top-task-link/top-task-link.css +1 -1
- package/dist/top-task-link/top-task-link.css.map +1 -1
- package/dist/unordered-list/unordered-list.css +1 -1
- package/dist/unordered-list/unordered-list.css.map +1 -1
- package/dist/visually-hidden/visually-hidden.css.map +1 -1
- package/package.json +5 -5
- package/{utils → src/common}/breakpoint.scss +0 -6
- package/src/{accordion → components/accordion}/accordion.scss +5 -6
- package/src/{alert → components/alert}/alert.scss +5 -6
- package/src/{blockquote → components/blockquote}/blockquote.scss +5 -6
- package/src/{breadcrumb → components/breadcrumb}/breadcrumb.scss +16 -18
- package/src/{button → components/button}/button.scss +8 -7
- package/src/{card → components/card}/card.scss +4 -4
- package/src/{checkbox → components/checkbox}/checkbox.scss +8 -9
- package/src/components/dialog/README.md +23 -0
- package/src/components/dialog/dialog.scss +93 -0
- package/src/{form-label → components/form-label}/form-label.scss +7 -8
- package/src/{grid → components/grid}/grid-cell.scss +1 -1
- package/src/{grid → components/grid}/grid.scss +14 -6
- package/src/components/heading/heading.scss +64 -0
- package/src/components/icon/icon.scss +105 -0
- package/src/{index.scss → components/index.scss} +2 -1
- package/src/{link → components/link}/link.scss +18 -26
- package/src/components/logo/README.md +38 -0
- package/src/components/logo/logo.scss +20 -0
- package/src/{ordered-list → components/ordered-list}/ordered-list.scss +7 -8
- package/src/{page-heading → components/page-heading}/page-heading.scss +7 -8
- package/src/{page-menu → components/page-menu}/README.md +2 -0
- package/src/{page-menu → components/page-menu}/page-menu.scss +14 -9
- package/src/{pagination → components/pagination}/pagination.scss +9 -9
- package/src/components/paragraph/paragraph.scss +49 -0
- package/src/{top-task-link → components/top-task-link}/top-task-link.scss +13 -12
- package/src/{unordered-list → components/unordered-list}/unordered-list.scss +7 -8
- package/dist/footer/footer.css +0 -1
- package/dist/footer/footer.css.map +0 -1
- package/src/footer/footer.scss +0 -10
- package/src/heading/heading.scss +0 -62
- package/src/icon/icon.scss +0 -104
- package/src/paragraph/paragraph.scss +0 -48
- /package/{utils → src/common}/calculate-fluid-style.scss +0 -0
- /package/src/{accordion → components/accordion}/README.md +0 -0
- /package/src/{alert → components/alert}/README.md +0 -0
- /package/src/{aspect-ratio → components/aspect-ratio}/README.md +0 -0
- /package/src/{aspect-ratio → components/aspect-ratio}/aspect-ratio.scss +0 -0
- /package/src/{blockquote → components/blockquote}/README.md +0 -0
- /package/src/{breadcrumb → components/breadcrumb}/README.md +0 -0
- /package/src/{button → components/button}/README.md +0 -0
- /package/src/{button → components/button}/button-css.md +0 -0
- /package/src/{card → components/card}/README.md +0 -0
- /package/src/{checkbox → components/checkbox}/README.md +0 -0
- /package/src/{checkbox → components/checkbox}/checkbox-css.md +0 -0
- /package/src/{footer → components/footer}/README.md +0 -0
- /package/src/{footer → components/footer}/footer-css.md +0 -0
- /package/src/{form-label → components/form-label}/README.md +0 -0
- /package/src/{grid → components/grid}/README.grid-cell.md +0 -0
- /package/src/{grid → components/grid}/README.grid.md +0 -0
- /package/src/{heading → components/heading}/README.md +0 -0
- /package/src/{heading → components/heading}/heading-css.md +0 -0
- /package/src/{highlight → components/highlight}/README.md +0 -0
- /package/src/{highlight → components/highlight}/highlight.scss +0 -0
- /package/src/{icon → components/icon}/README.md +0 -0
- /package/src/{image → components/image}/README.md +0 -0
- /package/src/{image → components/image}/image.scss +0 -0
- /package/src/{link → components/link}/README.md +0 -0
- /package/src/{ordered-list → components/ordered-list}/README.md +0 -0
- /package/src/{page-heading → components/page-heading}/README.md +0 -0
- /package/src/{pagination → components/pagination}/README.md +0 -0
- /package/src/{paragraph → components/paragraph}/README.md +0 -0
- /package/src/{paragraph → components/paragraph}/paragraph-css.md +0 -0
- /package/src/{screen → components/screen}/README.md +0 -0
- /package/src/{screen → components/screen}/screen.scss +0 -0
- /package/src/{switch → components/switch}/README.md +0 -0
- /package/src/{switch → components/switch}/switch.scss +0 -0
- /package/src/{top-task-link → components/top-task-link}/README.md +0 -0
- /package/src/{unordered-list → components/unordered-list}/README.md +0 -0
- /package/src/{visually-hidden → components/visually-hidden}/README.md +0 -0
- /package/src/{visually-hidden → components/visually-hidden}/visually-hidden.scss +0 -0
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/* Append here */
|
|
7
|
+
@import "./logo/logo";
|
|
8
|
+
@import "./dialog/dialog";
|
|
7
9
|
@import "./image/image";
|
|
8
10
|
@import "./pagination/pagination";
|
|
9
11
|
@import "./accordion/accordion";
|
|
@@ -14,7 +16,6 @@
|
|
|
14
16
|
@import "./button/button";
|
|
15
17
|
@import "./card/card";
|
|
16
18
|
@import "./checkbox/checkbox";
|
|
17
|
-
@import "./footer/footer";
|
|
18
19
|
@import "./form-label/form-label";
|
|
19
20
|
@import "./grid/grid";
|
|
20
21
|
@import "./grid/grid-cell";
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
@mixin reset {
|
|
9
7
|
-webkit-text-size-adjust: 100%;
|
|
10
8
|
}
|
|
@@ -24,8 +22,9 @@
|
|
|
24
22
|
|
|
25
23
|
.amsterdam-link--standalone {
|
|
26
24
|
display: inline-block;
|
|
27
|
-
font-size: var(--amsterdam-link-standalone-
|
|
28
|
-
line-height: var(--amsterdam-link-standalone-line-height);
|
|
25
|
+
font-size: var(--amsterdam-link-standalone-spacious-font-size);
|
|
26
|
+
line-height: var(--amsterdam-link-standalone-spacious-line-height);
|
|
27
|
+
text-decoration-line: var(--amsterdam-link-standalone-text-decoration-line);
|
|
29
28
|
text-decoration-thickness: var(--amsterdam-link-standalone-text-decoration-thickness);
|
|
30
29
|
text-underline-offset: var(--amsterdam-link-standalone-text-underline-offset);
|
|
31
30
|
|
|
@@ -34,8 +33,9 @@
|
|
|
34
33
|
text-underline-offset: var(--amsterdam-link-standalone-hover-text-underline-offset);
|
|
35
34
|
}
|
|
36
35
|
|
|
37
|
-
|
|
38
|
-
font-size: var(--amsterdam-link-standalone-
|
|
36
|
+
.amsterdam-theme--compact & {
|
|
37
|
+
font-size: var(--amsterdam-link-standalone-compact-font-size);
|
|
38
|
+
line-height: var(--amsterdam-link-standalone-compact-line-height);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -43,11 +43,12 @@
|
|
|
43
43
|
font-family: var(--amsterdam-link-inline-font-family);
|
|
44
44
|
font-size: var(--amsterdam-link-inline-font-size);
|
|
45
45
|
line-height: var(--amsterdam-link-inline-line-height);
|
|
46
|
-
text-decoration: var(--amsterdam-link-inline-text-decoration);
|
|
46
|
+
text-decoration-line: var(--amsterdam-link-inline-text-decoration-line);
|
|
47
47
|
text-decoration-thickness: var(--amsterdam-link-inline-text-decoration-thickness);
|
|
48
|
+
text-underline-offset: var(--amsterdam-link-inline-text-underline-offset);
|
|
48
49
|
|
|
49
50
|
&:hover {
|
|
50
|
-
text-decoration: var(--amsterdam-link-inline-hover-text-decoration);
|
|
51
|
+
text-decoration-thickness: var(--amsterdam-link-inline-hover-text-decoration-thickness);
|
|
51
52
|
text-underline-offset: var(--amsterdam-link-inline-hover-text-underline-offset);
|
|
52
53
|
}
|
|
53
54
|
|
|
@@ -59,19 +60,20 @@
|
|
|
59
60
|
.amsterdam-link--in-list {
|
|
60
61
|
align-items: flex-start;
|
|
61
62
|
display: inline-flex;
|
|
62
|
-
font-size: var(--amsterdam-link-in-list-
|
|
63
|
+
font-size: var(--amsterdam-link-in-list-spacious-font-size);
|
|
63
64
|
gap: var(--amsterdam-link-in-list-gap);
|
|
64
|
-
line-height: var(--amsterdam-link-in-list-line-height);
|
|
65
|
-
text-decoration: var(--amsterdam-link-in-list-text-decoration);
|
|
65
|
+
line-height: var(--amsterdam-link-in-list-spacious-line-height);
|
|
66
|
+
text-decoration-line: var(--amsterdam-link-in-list-text-decoration-line);
|
|
67
|
+
text-decoration-thickness: var(--amsterdam-link-in-list-text-decoration-thickness);
|
|
68
|
+
text-underline-offset: var(--amsterdam-link-in-list-text-underline-offset);
|
|
66
69
|
|
|
67
70
|
&:hover {
|
|
68
|
-
text-decoration: var(--amsterdam-link-in-list-hover-text-decoration);
|
|
69
|
-
text-decoration-thickness: var(--amsterdam-link-in-list-hover-text-decoration-thickness);
|
|
70
|
-
text-underline-offset: var(--amsterdam-link-in-list-hover-text-underline-offset);
|
|
71
|
+
text-decoration-line: var(--amsterdam-link-in-list-hover-text-decoration-line);
|
|
71
72
|
}
|
|
72
73
|
|
|
73
|
-
|
|
74
|
-
font-size: var(--amsterdam-link-in-list-
|
|
74
|
+
.amsterdam-theme--compact & {
|
|
75
|
+
font-size: var(--amsterdam-link-in-list-compact-font-size);
|
|
76
|
+
line-height: var(--amsterdam-link-in-list-compact-line-height);
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
79
|
|
|
@@ -106,13 +108,3 @@
|
|
|
106
108
|
color: var(--amsterdam-link-on-background-light-visited-color);
|
|
107
109
|
}
|
|
108
110
|
}
|
|
109
|
-
|
|
110
|
-
.amsterdam-link--inline.amsterdam-link--on-background-dark,
|
|
111
|
-
.amsterdam-link--inline.amsterdam-link--on-background-light {
|
|
112
|
-
text-decoration: var(--amsterdam-link-inline-hover-text-decoration);
|
|
113
|
-
text-underline-offset: var(--amsterdam-link-inline-hover-text-underline-offset);
|
|
114
|
-
|
|
115
|
-
&:hover {
|
|
116
|
-
text-decoration: var(--amsterdam-link-inline-text-decoration);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Logo
|
|
2
|
+
|
|
3
|
+
Het logo van de gemeente bestaat uit een beeldmerk (3 Andreaskruisen) en een woordmerk (Gemeente Amsterdam).
|
|
4
|
+
Het logo heeft een vaste kleur, grootte en positie en staat op al onze websites.
|
|
5
|
+
|
|
6
|
+
## Specificaties
|
|
7
|
+
|
|
8
|
+
Het design system biedt het correcte logo voor online gebruik aan.
|
|
9
|
+
Er bestaan andere varianten van het logo, maar die mogen op websites en in applicaties niet gebruikt worden.
|
|
10
|
+
Het Nederlandse logo voor Nederlandstalige websites en anderstalige websites behalve Engels.
|
|
11
|
+
Het Engelstalige logo gebruiken we voor Engelstalige websites.
|
|
12
|
+
Dit logo wordt later toegevoegd aan het design system.
|
|
13
|
+
In de tussentijd kun je een afbeelding van dit logo downloaden vanaf [Stijlweb](https://amsterdam.nl/stijlweb/basiselementen/logo-gemeente-amsterdam/#hba498e5c-2388-464f-b769-7622a5d32bd1).
|
|
14
|
+
|
|
15
|
+
## Uitzondering
|
|
16
|
+
|
|
17
|
+
Gebruik het submerklogo als de website eigendom is van 1 van de 4 submerken.
|
|
18
|
+
Zij hebben een aparte status omdat er sprake is van een bijzondere vorm van dienstverlening die niet direct met de gemeente in verband wordt gebracht.
|
|
19
|
+
|
|
20
|
+
De submerken zijn:
|
|
21
|
+
|
|
22
|
+
- GGD Amsterdam
|
|
23
|
+
- Stadsarchief
|
|
24
|
+
- Stadsbank van Lening
|
|
25
|
+
- VGA Verzekeringen
|
|
26
|
+
|
|
27
|
+
## Eisen voor alle logo´s
|
|
28
|
+
|
|
29
|
+
- Het logo wordt altijd getoond.
|
|
30
|
+
- Het logo is linksboven uitgelijnd in de header.
|
|
31
|
+
- Het logo verwijst naar de homepage van je website of applicatie.
|
|
32
|
+
- Als de applicatie een formulier, applicatie of tool is zonder homepage, dan linkt het logo naar de pagina van waar naar het formulier, applicatie of tool wordt verwezen.
|
|
33
|
+
|
|
34
|
+
De hoogte van het logo is altijd 40 pixels. Dit geldt ook voor de submerklogo´s.
|
|
35
|
+
|
|
36
|
+
## Download
|
|
37
|
+
|
|
38
|
+
- [Logoset voor website en apps (ZIP, 10 kB)](https://assets.amsterdam.nl/publish/pages/1007650/logoset_voor_websites_en_apps.zip)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2+
|
|
3
|
+
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.amsterdam-logo {
|
|
7
|
+
height: var(--amsterdam-logo-height);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.amsterdam-logo__emblem {
|
|
11
|
+
fill: var(--amsterdam-logo-emblem-color);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.amsterdam-logo__text-primary {
|
|
15
|
+
fill: var(--amsterdam-logo-title-color);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.amsterdam-logo__text-secondary {
|
|
19
|
+
fill: var(--amsterdam-logo-subsite-color);
|
|
20
|
+
}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
/** Apply border box sizing, reset whitespace and list styles. */
|
|
9
7
|
@mixin reset {
|
|
10
8
|
box-sizing: border-box;
|
|
@@ -26,15 +24,11 @@
|
|
|
26
24
|
.amsterdam-ordered-list:not(.amsterdam-ordered-list--no-markers) {
|
|
27
25
|
color: var(--amsterdam-ordered-list-color);
|
|
28
26
|
font-family: var(--amsterdam-ordered-list-font-family);
|
|
29
|
-
font-size: var(--amsterdam-ordered-list-
|
|
27
|
+
font-size: var(--amsterdam-ordered-list-spacious-font-size);
|
|
30
28
|
font-weight: var(--amsterdam-ordered-list-font-weight);
|
|
31
|
-
line-height: var(--amsterdam-ordered-list-line-height);
|
|
29
|
+
line-height: var(--amsterdam-ordered-list-spacious-line-height);
|
|
32
30
|
list-style-type: var(--amsterdam-ordered-list-list-style-type);
|
|
33
31
|
|
|
34
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
35
|
-
font-size: var(--amsterdam-ordered-list-wide-font-size);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
32
|
/** List items are responsible for indentation and marker positioning. */
|
|
39
33
|
.amsterdam-ordered-list__item {
|
|
40
34
|
margin-inline-start: var(--amsterdam-ordered-list-item-margin-inline-start);
|
|
@@ -51,3 +45,8 @@
|
|
|
51
45
|
padding-inline-start: var(--amsterdam-ordered-list-ordered-list-item-padding-inline-start);
|
|
52
46
|
}
|
|
53
47
|
}
|
|
48
|
+
|
|
49
|
+
.amsterdam-theme--compact .amsterdam-ordered-list:not(.amsterdam-ordered-list--no-markers) {
|
|
50
|
+
font-size: var(--amsterdam-ordered-list-compact-font-size);
|
|
51
|
+
line-height: var(--amsterdam-ordered-list-compact-line-height);
|
|
52
|
+
}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
@mixin reset {
|
|
9
7
|
box-sizing: border-box;
|
|
10
8
|
margin-block: 0;
|
|
@@ -16,15 +14,16 @@
|
|
|
16
14
|
break-inside: avoid;
|
|
17
15
|
color: var(--amsterdam-page-heading-color);
|
|
18
16
|
font-family: var(--amsterdam-page-heading-font-family);
|
|
19
|
-
font-size: var(--amsterdam-page-heading-
|
|
17
|
+
font-size: var(--amsterdam-page-heading-spacious-font-size);
|
|
20
18
|
font-weight: var(--amsterdam-page-heading-font-weight);
|
|
21
|
-
line-height: var(--amsterdam-page-heading-line-height);
|
|
22
|
-
|
|
23
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
24
|
-
font-size: var(--amsterdam-page-heading-wide-font-size);
|
|
25
|
-
}
|
|
19
|
+
line-height: var(--amsterdam-page-heading-spacious-line-height);
|
|
26
20
|
|
|
27
21
|
@include reset;
|
|
22
|
+
|
|
23
|
+
.amsterdam-theme--compact & {
|
|
24
|
+
font-size: var(--amsterdam-page-heading-compact-font-size);
|
|
25
|
+
line-height: var(--amsterdam-page-heading-compact-line-height);
|
|
26
|
+
}
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
.amsterdam-page-heading--inverse-color {
|
|
@@ -13,3 +13,5 @@ Het Page Menu wordt alleen gebruikt in het Header en Footer component en is uits
|
|
|
13
13
|
## Relevante WCAG eisen
|
|
14
14
|
|
|
15
15
|
- [Consistent Navigation (Level AA)](https://www.w3.org/WAI/WCAG21/Understanding/consistent-navigation.html)
|
|
16
|
+
|
|
17
|
+
PageMenu is een interactief element, hier gelden [de algemene eisen en richtlijnen voor interactieve elementen](https://amsterdam.github.io/design-system/?path=/docs/docs-designrichtlijnen-interactieve-elementen--docs) voor.
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
@mixin reset-list {
|
|
9
7
|
box-sizing: border-box;
|
|
10
8
|
margin-block: 0;
|
|
@@ -35,22 +33,29 @@
|
|
|
35
33
|
@include reset-list;
|
|
36
34
|
}
|
|
37
35
|
|
|
36
|
+
.amsterdam-page-menu--align-end {
|
|
37
|
+
justify-content: end;
|
|
38
|
+
}
|
|
39
|
+
|
|
38
40
|
@mixin page-menu-item {
|
|
39
41
|
color: var(--amsterdam-page-menu-item-color);
|
|
40
42
|
display: inline-flex;
|
|
41
43
|
flex-direction: row;
|
|
42
44
|
font-family: var(--amsterdam-page-menu-item-font-family);
|
|
43
|
-
font-size: var(--amsterdam-page-menu-item-
|
|
45
|
+
font-size: var(--amsterdam-page-menu-item-spacious-font-size);
|
|
44
46
|
font-weight: var(--amsterdam-page-menu-item-font-weight);
|
|
45
47
|
gap: var(--amsterdam-page-menu-item-gap);
|
|
46
|
-
line-height: var(--amsterdam-page-menu-item-line-height);
|
|
47
|
-
outline-offset: var(--amsterdam-
|
|
48
|
+
line-height: var(--amsterdam-page-menu-item-spacious-line-height);
|
|
49
|
+
outline-offset: var(--amsterdam-page-menu-item-outline-offset);
|
|
48
50
|
text-align: center;
|
|
49
|
-
text-decoration: var(--amsterdam-page-menu-item-text-decoration);
|
|
51
|
+
text-decoration-line: var(--amsterdam-page-menu-item-text-decoration-line);
|
|
52
|
+
text-decoration-thickness: var(--amsterdam-page-menu-item-text-decoration-thickness);
|
|
53
|
+
text-underline-offset: var(--amsterdam-page-menu-item-text-underline-offset);
|
|
50
54
|
touch-action: manipulation;
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
font-size: var(--amsterdam-page-menu-item-
|
|
56
|
+
.amsterdam-theme--compact & {
|
|
57
|
+
font-size: var(--amsterdam-page-menu-item-compact-font-size);
|
|
58
|
+
line-height: var(--amsterdam-page-menu-item-compact-line-height);
|
|
54
59
|
}
|
|
55
60
|
}
|
|
56
61
|
|
|
@@ -70,7 +75,7 @@
|
|
|
70
75
|
.amsterdam-page-menu__link:hover,
|
|
71
76
|
.amsterdam-page-menu__button:hover {
|
|
72
77
|
color: var(--amsterdam-page-menu-item-hover-color);
|
|
73
|
-
text-decoration: var(--amsterdam-page-menu-item-hover-text-decoration);
|
|
78
|
+
text-decoration-line: var(--amsterdam-page-menu-item-hover-text-decoration-line);
|
|
74
79
|
}
|
|
75
80
|
|
|
76
81
|
.amsterdam-page-menu__link svg,
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
@mixin list-reset {
|
|
9
7
|
list-style-type: none;
|
|
10
8
|
margin-block: 0;
|
|
@@ -16,15 +14,16 @@
|
|
|
16
14
|
display: flex;
|
|
17
15
|
flex-wrap: wrap;
|
|
18
16
|
font-family: var(--amsterdam-pagination-font-family);
|
|
19
|
-
font-size: var(--amsterdam-pagination-
|
|
17
|
+
font-size: var(--amsterdam-pagination-spacious-font-size);
|
|
20
18
|
font-weight: var(--amsterdam-pagination-font-weight);
|
|
21
19
|
justify-content: center;
|
|
22
|
-
line-height: var(--amsterdam-pagination-line-height);
|
|
20
|
+
line-height: var(--amsterdam-pagination-spacious-line-height);
|
|
23
21
|
|
|
24
22
|
@include list-reset;
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
font-size: var(--amsterdam-pagination-
|
|
24
|
+
.amsterdam-theme--compact & {
|
|
25
|
+
font-size: var(--amsterdam-pagination-compact-font-size);
|
|
26
|
+
line-height: var(--amsterdam-pagination-compact-line-height);
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
|
|
@@ -45,13 +44,14 @@
|
|
|
45
44
|
gap: 0.5rem;
|
|
46
45
|
outline-offset: var(--amsterdam-pagination-button-outline-offset);
|
|
47
46
|
padding-inline: 0.75rem;
|
|
48
|
-
text-decoration-
|
|
49
|
-
text-
|
|
47
|
+
text-decoration-line: var(--amsterdam-pagination-button-text-decoration-line);
|
|
48
|
+
text-decoration-thickness: var(--amsterdam-pagination-button-text-decoration-thickness);
|
|
49
|
+
text-underline-offset: var(--amsterdam-pagination-button-text-underline-offset);
|
|
50
50
|
touch-action: manipulation;
|
|
51
51
|
|
|
52
52
|
&:hover {
|
|
53
53
|
color: var(--amsterdam-pagination-button-hover-color);
|
|
54
|
-
text-decoration:
|
|
54
|
+
text-decoration-line: var(--amsterdam-pagination-button-hover-text-decoration-line);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&:disabled {
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2+
|
|
3
|
+
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@mixin reset {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
margin-block: 0;
|
|
9
|
+
-webkit-text-size-adjust: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.amsterdam-paragraph {
|
|
13
|
+
color: var(--amsterdam-paragraph-color);
|
|
14
|
+
font-family: var(--amsterdam-paragraph-font-family);
|
|
15
|
+
font-size: var(--amsterdam-paragraph-spacious-medium-font-size);
|
|
16
|
+
font-weight: var(--amsterdam-paragraph-font-weight);
|
|
17
|
+
line-height: var(--amsterdam-paragraph-spacious-medium-line-height);
|
|
18
|
+
|
|
19
|
+
@include reset;
|
|
20
|
+
|
|
21
|
+
.amsterdam-theme--compact & {
|
|
22
|
+
font-size: var(--amsterdam-paragraph-compact-medium-font-size);
|
|
23
|
+
line-height: var(--amsterdam-paragraph-compact-medium-line-height);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.amsterdam-paragraph--small {
|
|
28
|
+
font-size: var(--amsterdam-paragraph-spacious-small-font-size);
|
|
29
|
+
line-height: var(--amsterdam-paragraph-spacious-small-line-height);
|
|
30
|
+
|
|
31
|
+
.amsterdam-theme--compact & {
|
|
32
|
+
font-size: var(--amsterdam-paragraph-compact-small-font-size);
|
|
33
|
+
line-height: var(--amsterdam-paragraph-compact-small-line-height);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.amsterdam-paragraph--large {
|
|
38
|
+
font-size: var(--amsterdam-paragraph-spacious-large-font-size);
|
|
39
|
+
line-height: var(--amsterdam-paragraph-spacious-large-line-height);
|
|
40
|
+
|
|
41
|
+
.amsterdam-theme--compact & {
|
|
42
|
+
font-size: var(--amsterdam-paragraph-compact-large-font-size);
|
|
43
|
+
line-height: var(--amsterdam-paragraph-compact-large-line-height);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.amsterdam-paragraph--inverse-color {
|
|
48
|
+
color: var(--amsterdam-paragraph-inverse-color);
|
|
49
|
+
}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
.amsterdam-top-task-link {
|
|
9
7
|
break-inside: avoid;
|
|
10
8
|
display: flex;
|
|
@@ -22,12 +20,16 @@
|
|
|
22
20
|
.amsterdam-top-task-link__label {
|
|
23
21
|
color: var(--amsterdam-top-task-link-label-color);
|
|
24
22
|
font-family: var(--amsterdam-top-task-link-label-font-family);
|
|
25
|
-
font-size: var(--amsterdam-top-task-link-label-
|
|
23
|
+
font-size: var(--amsterdam-top-task-link-label-spacious-font-size);
|
|
26
24
|
font-weight: var(--amsterdam-top-task-link-label-font-weight);
|
|
27
25
|
line-height: var(--amsterdam-top-task-link-label-line-height);
|
|
26
|
+
text-decoration-line: var(--amsterdam-top-task-link-label-text-decoration-line);
|
|
27
|
+
text-decoration-thickness: var(--amsterdam-top-task-link-label-text-decoration-thickness);
|
|
28
|
+
text-underline-offset: var(--amsterdam-top-task-link-label-text-underline-offset);
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
font-size: var(--amsterdam-top-task-link-label-
|
|
30
|
+
.amsterdam-theme--compact & {
|
|
31
|
+
font-size: var(--amsterdam-top-task-link-label-compact-font-size);
|
|
32
|
+
line-height: var(--amsterdam-top-task-link-label-compact-line-height);
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
@include reset;
|
|
@@ -35,20 +37,19 @@
|
|
|
35
37
|
|
|
36
38
|
.amsterdam-top-task-link:hover .amsterdam-top-task-link__label {
|
|
37
39
|
color: var(--amsterdam-top-task-link-label-hover-color);
|
|
38
|
-
text-decoration:
|
|
39
|
-
text-decoration-thickness: 3px;
|
|
40
|
-
text-underline-offset: 0.5rem;
|
|
40
|
+
text-decoration-line: var(--amsterdam-top-task-link-label-hover-text-decoration-line);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.amsterdam-top-task-link__description {
|
|
44
44
|
color: var(--amsterdam-top-task-link-description-color);
|
|
45
45
|
font-family: var(--amsterdam-top-task-link-description-font-family);
|
|
46
|
-
font-size: var(--amsterdam-top-task-link-description-
|
|
46
|
+
font-size: var(--amsterdam-top-task-link-description-spacious-font-size);
|
|
47
47
|
font-weight: var(--amsterdam-top-task-link-description-font-weight);
|
|
48
|
-
line-height: var(--amsterdam-top-task-link-description-line-height);
|
|
48
|
+
line-height: var(--amsterdam-top-task-link-description-spacious-line-height);
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
font-size: var(--amsterdam-top-task-link-description-
|
|
50
|
+
.amsterdam-theme--compact & {
|
|
51
|
+
font-size: var(--amsterdam-top-task-link-description-compact-font-size);
|
|
52
|
+
line-height: var(--amsterdam-top-task-link-description-compact-line-height);
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
@include reset;
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
/** Apply border box sizing, reset whitespace and list styles. */
|
|
9
7
|
@mixin reset {
|
|
10
8
|
box-sizing: border-box;
|
|
@@ -26,15 +24,11 @@
|
|
|
26
24
|
.amsterdam-unordered-list:not(.amsterdam-unordered-list--no-markers) {
|
|
27
25
|
color: var(--amsterdam-unordered-list-color);
|
|
28
26
|
font-family: var(--amsterdam-unordered-list-font-family);
|
|
29
|
-
font-size: var(--amsterdam-unordered-list-
|
|
27
|
+
font-size: var(--amsterdam-unordered-list-spacious-font-size);
|
|
30
28
|
font-weight: var(--amsterdam-unordered-list-font-weight);
|
|
31
|
-
line-height: var(--amsterdam-unordered-list-line-height);
|
|
29
|
+
line-height: var(--amsterdam-unordered-list-spacious-line-height);
|
|
32
30
|
list-style-type: var(--amsterdam-unordered-list-list-style-type);
|
|
33
31
|
|
|
34
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
35
|
-
font-size: var(--amsterdam-unordered-list-wide-font-size);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
32
|
/** List items are responsible for indentation and marker positioning. */
|
|
39
33
|
.amsterdam-unordered-list__item {
|
|
40
34
|
margin-inline-start: var(--amsterdam-unordered-list-item-margin-inline-start);
|
|
@@ -51,3 +45,8 @@
|
|
|
51
45
|
padding-inline-start: var(--amsterdam-unordered-list-unordered-list-item-padding-inline-start);
|
|
52
46
|
}
|
|
53
47
|
}
|
|
48
|
+
|
|
49
|
+
.amsterdam-theme--compact .amsterdam-unordered-list:not(.amsterdam-unordered-list--no-markers) {
|
|
50
|
+
font-size: var(--amsterdam-unordered-list-compact-font-size);
|
|
51
|
+
line-height: var(--amsterdam-unordered-list-compact-line-height);
|
|
52
|
+
}
|
package/dist/footer/footer.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.amsterdam-footer__top{background-color:var(--amsterdam-footer-top-background-color)}/*# sourceMappingURL=footer.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/footer/footer.scss"],"names":[],"mappings":"AAOA,uBACE","file":"footer.css"}
|
package/src/footer/footer.scss
DELETED
package/src/heading/heading.scss
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
|
-
@mixin reset {
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
margin-block: 0;
|
|
11
|
-
-webkit-text-size-adjust: 100%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.amsterdam-heading {
|
|
15
|
-
break-after: avoid;
|
|
16
|
-
break-inside: avoid;
|
|
17
|
-
color: var(--amsterdam-heading-color);
|
|
18
|
-
font-family: var(--amsterdam-heading-font-family);
|
|
19
|
-
font-weight: var(--amsterdam-heading-font-weight);
|
|
20
|
-
|
|
21
|
-
@include reset;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.amsterdam-heading--1 {
|
|
25
|
-
font-size: var(--amsterdam-heading-1-narrow-font-size);
|
|
26
|
-
line-height: var(--amsterdam-heading-1-line-height);
|
|
27
|
-
|
|
28
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
29
|
-
font-size: var(--amsterdam-heading-1-wide-font-size);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.amsterdam-heading--2 {
|
|
34
|
-
font-size: var(--amsterdam-heading-2-narrow-font-size);
|
|
35
|
-
line-height: var(--amsterdam-heading-2-line-height);
|
|
36
|
-
|
|
37
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
38
|
-
font-size: var(--amsterdam-heading-2-wide-font-size);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.amsterdam-heading--3 {
|
|
43
|
-
font-size: var(--amsterdam-heading-3-narrow-font-size);
|
|
44
|
-
line-height: var(--amsterdam-heading-3-line-height);
|
|
45
|
-
|
|
46
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
47
|
-
font-size: var(--amsterdam-heading-3-wide-font-size);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.amsterdam-heading--4 {
|
|
52
|
-
font-size: var(--amsterdam-heading-4-narrow-font-size);
|
|
53
|
-
line-height: var(--amsterdam-heading-4-line-height);
|
|
54
|
-
|
|
55
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
56
|
-
font-size: var(--amsterdam-heading-4-wide-font-size);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.amsterdam-heading--inverse-color {
|
|
61
|
-
color: var(--amsterdam-heading-inverse-color);
|
|
62
|
-
}
|
package/src/icon/icon.scss
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
|
-
.amsterdam-icon {
|
|
9
|
-
align-items: center;
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.amsterdam-icon svg {
|
|
14
|
-
fill: currentColor;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.amsterdam-icon--size-3 {
|
|
18
|
-
height: calc(var(--amsterdam-icon-size-3-icon-size-narrow) * var(--amsterdam-icon-size-3-container-multiplier));
|
|
19
|
-
|
|
20
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
21
|
-
height: calc(var(--amsterdam-icon-size-3-icon-size-wide) * var(--amsterdam-icon-size-3-container-multiplier));
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.amsterdam-icon--size-3 svg {
|
|
26
|
-
height: var(--amsterdam-icon-size-3-icon-size-narrow);
|
|
27
|
-
width: var(--amsterdam-icon-size-3-icon-size-narrow);
|
|
28
|
-
|
|
29
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
30
|
-
height: var(--amsterdam-icon-size-3-icon-size-wide);
|
|
31
|
-
width: var(--amsterdam-icon-size-3-icon-size-wide);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
.amsterdam-icon--size-4 {
|
|
35
|
-
height: calc(var(--amsterdam-icon-size-4-icon-size-narrow) * var(--amsterdam-icon-size-4-container-multiplier));
|
|
36
|
-
|
|
37
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
38
|
-
height: calc(var(--amsterdam-icon-size-4-icon-size-wide) * var(--amsterdam-icon-size-4-container-multiplier));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.amsterdam-icon--size-4 svg {
|
|
43
|
-
height: var(--amsterdam-icon-size-4-icon-size-narrow);
|
|
44
|
-
width: var(--amsterdam-icon-size-4-icon-size-narrow);
|
|
45
|
-
|
|
46
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
47
|
-
height: var(--amsterdam-icon-size-4-icon-size-wide);
|
|
48
|
-
width: var(--amsterdam-icon-size-4-icon-size-wide);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.amsterdam-icon--size-5 {
|
|
53
|
-
height: calc(var(--amsterdam-icon-size-5-icon-size-narrow) * var(--amsterdam-icon-size-5-container-multiplier));
|
|
54
|
-
|
|
55
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
56
|
-
height: calc(var(--amsterdam-icon-size-5-icon-size-wide) * var(--amsterdam-icon-size-5-container-multiplier));
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.amsterdam-icon--size-5 svg {
|
|
61
|
-
height: var(--amsterdam-icon-size-5-icon-size-narrow);
|
|
62
|
-
width: var(--amsterdam-icon-size-5-icon-size-narrow);
|
|
63
|
-
|
|
64
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
65
|
-
height: var(--amsterdam-icon-size-5-icon-size-wide);
|
|
66
|
-
width: var(--amsterdam-icon-size-5-icon-size-wide);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.amsterdam-icon--size-6 {
|
|
71
|
-
height: calc(var(--amsterdam-icon-size-6-icon-size-narrow) * var(--amsterdam-icon-size-6-container-multiplier));
|
|
72
|
-
|
|
73
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
74
|
-
height: calc(var(--amsterdam-icon-size-6-icon-size-wide) * var(--amsterdam-icon-size-6-container-multiplier));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.amsterdam-icon--size-6 svg {
|
|
79
|
-
height: var(--amsterdam-icon-size-6-icon-size-narrow);
|
|
80
|
-
width: var(--amsterdam-icon-size-6-icon-size-narrow);
|
|
81
|
-
|
|
82
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
83
|
-
height: var(--amsterdam-icon-size-6-icon-size-wide);
|
|
84
|
-
width: var(--amsterdam-icon-size-6-icon-size-wide);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.amsterdam-icon--size-7 {
|
|
89
|
-
height: calc(var(--amsterdam-icon-size-7-icon-size-narrow) * var(--amsterdam-icon-size-7-container-multiplier));
|
|
90
|
-
|
|
91
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
92
|
-
height: calc(var(--amsterdam-icon-size-7-icon-size-wide) * var(--amsterdam-icon-size-7-container-multiplier));
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.amsterdam-icon--size-7 svg {
|
|
97
|
-
height: var(--amsterdam-icon-size-7-icon-size-narrow);
|
|
98
|
-
width: var(--amsterdam-icon-size-7-icon-size-narrow);
|
|
99
|
-
|
|
100
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
101
|
-
height: var(--amsterdam-icon-size-7-icon-size-wide);
|
|
102
|
-
width: var(--amsterdam-icon-size-7-icon-size-wide);
|
|
103
|
-
}
|
|
104
|
-
}
|