@amsterdam/design-system-css 0.1.9 → 0.3.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 +41 -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 -1
- package/dist/dialog/dialog.css.map +1 -1
- package/dist/form-label/form-label.css +1 -1
- package/dist/form-label/form-label.css.map +1 -1
- package/dist/grid/grid.css +1 -1
- package/dist/grid/grid.css.map +1 -1
- package/dist/header/header.css +1 -0
- package/dist/header/header.css.map +1 -0
- package/dist/heading/heading.css +1 -1
- package/dist/heading/heading.css.map +1 -1
- package/dist/icon/icon.css +1 -1
- package/dist/icon/icon.css.map +1 -1
- package/dist/image/image.css +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 -1
- package/dist/logo/logo.css.map +1 -1
- package/dist/mark/mark.css +1 -0
- package/dist/mark/mark.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/overlap/overlap.css +1 -0
- package/dist/overlap/overlap.css.map +1 -0
- 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/search-field/search-field.css +1 -0
- package/dist/search-field/search-field.css.map +1 -0
- package/dist/skip-link/skip-link.css +1 -0
- package/dist/skip-link/skip-link.css.map +1 -0
- package/dist/spotlight/spotlight.css +1 -0
- package/dist/spotlight/spotlight.css.map +1 -0
- package/dist/switch/switch.css.map +1 -1
- package/dist/text-input/text-input.css +1 -0
- package/dist/text-input/text-input.css.map +1 -0
- 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 +1 -1
- package/dist/visually-hidden/visually-hidden.css.map +1 -1
- package/package.json +6 -6
- 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/components/breadcrumb/breadcrumb.scss +57 -0
- package/src/{button → components/button}/button.scss +8 -7
- package/src/components/card/README.md +25 -0
- package/src/{card → components/card}/card.scss +4 -4
- package/src/{checkbox → components/checkbox}/checkbox.scss +11 -12
- package/src/{dialog → components/dialog}/dialog.scss +6 -6
- package/src/{form-label → components/form-label}/form-label.scss +7 -8
- package/src/components/grid/README.md +21 -0
- package/src/{grid → components/grid}/grid.scss +54 -6
- package/src/components/header/README.md +14 -0
- package/src/components/header/header.scss +85 -0
- package/src/components/heading/heading.scss +84 -0
- package/src/components/icon/icon.scss +87 -0
- package/src/{image → components/image}/README.md +6 -1
- package/src/{image → components/image}/image.scss +4 -0
- package/src/{index.scss → components/index.scss} +7 -2
- package/src/{link → components/link}/link.scss +18 -26
- package/src/{logo → components/logo}/logo.scss +1 -0
- package/src/components/mark/README.md +18 -0
- package/src/components/mark/mark.scss +8 -0
- package/src/{ordered-list → components/ordered-list}/ordered-list.scss +7 -8
- package/src/components/overlap/README.md +3 -0
- package/src/components/overlap/overlap.scss +12 -0
- 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 +16 -27
- package/src/{pagination → components/pagination}/pagination.scss +9 -9
- package/src/components/paragraph/paragraph.scss +49 -0
- package/src/{screen → components/screen}/README.md +1 -1
- package/src/components/search-field/README.md +33 -0
- package/src/components/search-field/search-field.scss +81 -0
- package/src/components/skip-link/README.md +33 -0
- package/src/components/skip-link/skip-link.scss +28 -0
- package/src/{highlight → components/spotlight}/README.md +1 -1
- package/src/components/spotlight/spotlight.scss +36 -0
- package/src/components/text-input/README.md +12 -0
- package/src/components/text-input/text-input.scss +57 -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/src/{visually-hidden → components/visually-hidden}/visually-hidden.scss +4 -6
- package/dist/grid/grid-cell.css +0 -1
- package/dist/grid/grid-cell.css.map +0 -1
- package/dist/highlight/highlight.css +0 -1
- package/dist/highlight/highlight.css.map +0 -1
- package/src/breadcrumb/breadcrumb.scss +0 -68
- package/src/card/README.md +0 -12
- package/src/grid/README.grid-cell.md +0 -14
- package/src/grid/README.grid.md +0 -17
- package/src/grid/grid-cell.scss +0 -46
- package/src/heading/heading.scss +0 -62
- package/src/highlight/highlight.scss +0 -36
- 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/{checkbox → components/checkbox}/README.md +0 -0
- /package/src/{checkbox → components/checkbox}/checkbox-css.md +0 -0
- /package/src/{dialog → components/dialog}/README.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/{heading → components/heading}/README.md +0 -0
- /package/src/{heading → components/heading}/heading-css.md +0 -0
- /package/src/{icon → components/icon}/README.md +0 -0
- /package/src/{link → components/link}/README.md +0 -0
- /package/src/{logo → components/logo}/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}/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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.amsterdam-spotlight--blue{background-color:var(--amsterdam-spotlight-blue-background-color)}.amsterdam-spotlight--dark-green{background-color:var(--amsterdam-spotlight-dark-green-background-color)}.amsterdam-spotlight--green{background-color:var(--amsterdam-spotlight-green-background-color)}.amsterdam-spotlight--light-blue{background-color:var(--amsterdam-spotlight-light-blue-background-color)}.amsterdam-spotlight--magenta{background-color:var(--amsterdam-spotlight-magenta-background-color)}.amsterdam-spotlight--orange{background-color:var(--amsterdam-spotlight-orange-background-color)}.amsterdam-spotlight--purple{background-color:var(--amsterdam-spotlight-purple-background-color)}.amsterdam-spotlight--yellow{background-color:var(--amsterdam-spotlight-yellow-background-color)}/*# sourceMappingURL=spotlight.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/components/spotlight/spotlight.scss"],"names":[],"mappings":"AAKA,2BACE,kEAGF,iCACE,wEAGF,4BACE,mEAGF,iCACE,wEAGF,8BACE,qEAGF,6BACE,oEAGF,6BACE,oEAGF,6BACE","file":"spotlight.css"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/switch/switch.scss"],"names":[],"mappings":"AAIA,yBACE,gBACA,eACA,gBACA,WAGF,yBACE,0DACA,0DACA,eACA,qBACA,kBACA,mBACA,4CACA,oCAlBA,sBAuBF,iCACE,gEACA,kBACA,WACA,cACA,4CACA,wBACA,yCACA,uCACA,0CAGF,0DACE,kEAGF,2DACE,mEACA,mBAGF,gEACE,uCACA,sDACA,mBAGF,kEAEE,qGAGF,0FACE","file":"switch.css"}
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/components/switch/switch.scss"],"names":[],"mappings":"AAIA,yBACE,gBACA,eACA,gBACA,WAGF,yBACE,0DACA,0DACA,eACA,qBACA,kBACA,mBACA,4CACA,oCAlBA,sBAuBF,iCACE,gEACA,kBACA,WACA,cACA,4CACA,wBACA,yCACA,uCACA,0CAGF,0DACE,kEAGF,2DACE,mEACA,mBAGF,gEACE,uCACA,sDACA,mBAGF,kEAEE,qGAGF,0FACE","file":"switch.css"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.amsterdam-text-input{border:none;box-shadow:var(--amsterdam-text-input-box-shadow);color:var(--amsterdam-text-input-color);font-family:var(--amsterdam-text-input-font-family);font-size:var(--amsterdam-text-input-spacious-font-size);font-weight:var(--amsterdam-text-input-font-weight);line-height:var(--amsterdam-text-input-spacious-line-height);outline-offset:var(--amsterdam-text-input-outline-offset);padding-block:.5rem;padding-inline:1rem;touch-action:manipulation;width:100%;box-sizing:border-box;margin-block:0;-webkit-text-size-adjust:100%}.amsterdam-theme--compact .amsterdam-text-input{font-size:var(--amsterdam-text-input-compact-font-size);line-height:var(--amsterdam-text-input-compact-line-height)}.amsterdam-text-input:hover{box-shadow:var(--amsterdam-text-input-hover-box-shadow)}.amsterdam-text-input::placeholder{color:var(--amsterdam-text-input-placeholder-color)}.amsterdam-text-input:disabled{background-color:var(--amsterdam-text-input-disabled-background-color);box-shadow:var(--amsterdam-text-input-disabled-box-shadow);color:var(--amsterdam-text-input-disabled-color);cursor:not-allowed}.amsterdam-text-input:invalid,.amsterdam-text-input[aria-invalid=true]{box-shadow:var(--amsterdam-text-input-invalid-box-shadow)}.amsterdam-text-input:invalid:hover,.amsterdam-text-input[aria-invalid=true]:hover{box-shadow:var(--amsterdam-text-input-invalid-hover-box-shadow)}/*# sourceMappingURL=text-input.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/components/text-input/text-input.scss"],"names":[],"mappings":"AAWA,sBACE,YACA,kDACA,wCACA,oDACA,yDACA,oDACA,6DACA,0DACA,oBACA,oBACA,0BACA,WAjBA,sBACA,eACA,8BAmBA,gDACE,wDACA,4DAGF,4BACE,wDAIJ,mCACE,oDAGF,+BACE,uEACA,2DACA,iDACA,mBAGF,uEAEE,0DAEA,mFAEE","file":"text-input.css"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.amsterdam-top-task-link{break-inside:avoid;display:flex;flex-direction:column;gap:.5rem;outline-offset:var(--amsterdam-top-task-link-outline-offset);text-decoration:none}.amsterdam-top-task-link__label{color:var(--amsterdam-top-task-link-label-color);font-family:var(--amsterdam-top-task-link-label-font-family);font-size:var(--amsterdam-top-task-link-label-
|
|
1
|
+
.amsterdam-top-task-link{break-inside:avoid;display:flex;flex-direction:column;gap:.5rem;outline-offset:var(--amsterdam-top-task-link-outline-offset);text-decoration:none}.amsterdam-top-task-link__label{color:var(--amsterdam-top-task-link-label-color);font-family:var(--amsterdam-top-task-link-label-font-family);font-size:var(--amsterdam-top-task-link-label-spacious-font-size);font-weight:var(--amsterdam-top-task-link-label-font-weight);line-height:var(--amsterdam-top-task-link-label-line-height);text-decoration-line:var(--amsterdam-top-task-link-label-text-decoration-line);text-decoration-thickness:var(--amsterdam-top-task-link-label-text-decoration-thickness);text-underline-offset:var(--amsterdam-top-task-link-label-text-underline-offset);box-sizing:border-box;-webkit-text-size-adjust:100%}.amsterdam-theme--compact .amsterdam-top-task-link__label{font-size:var(--amsterdam-top-task-link-label-compact-font-size);line-height:var(--amsterdam-top-task-link-label-compact-line-height)}.amsterdam-top-task-link:hover .amsterdam-top-task-link__label{color:var(--amsterdam-top-task-link-label-hover-color);text-decoration-line:var(--amsterdam-top-task-link-label-hover-text-decoration-line)}.amsterdam-top-task-link__description{color:var(--amsterdam-top-task-link-description-color);font-family:var(--amsterdam-top-task-link-description-font-family);font-size:var(--amsterdam-top-task-link-description-spacious-font-size);font-weight:var(--amsterdam-top-task-link-description-font-weight);line-height:var(--amsterdam-top-task-link-description-spacious-line-height);box-sizing:border-box;-webkit-text-size-adjust:100%}.amsterdam-theme--compact .amsterdam-top-task-link__description{font-size:var(--amsterdam-top-task-link-description-compact-font-size);line-height:var(--amsterdam-top-task-link-description-compact-line-height)}/*# sourceMappingURL=top-task-link.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/top-task-link/top-task-link.scss"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/components/top-task-link/top-task-link.scss"],"names":[],"mappings":"AAKA,yBACE,mBACA,aACA,sBACA,UACA,6DACA,qBAQF,gCACE,iDACA,6DACA,kEACA,6DACA,6DACA,+EACA,yFACA,iFAZA,sBACA,8BAaA,0DACE,iEACA,qEAMJ,+DACE,uDACA,qFAGF,sCACE,uDACA,mEACA,wEACA,mEACA,4EAhCA,sBACA,8BAiCA,gEACE,uEACA","file":"top-task-link.css"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.amsterdam-unordered-list{box-sizing:border-box;list-style:none;margin-block:0;padding-inline-start:0;-webkit-text-size-adjust:100%;display:grid;gap:var(--amsterdam-unordered-list-gap)}.amsterdam-unordered-list:not(.amsterdam-unordered-list--no-markers){color:var(--amsterdam-unordered-list-color);font-family:var(--amsterdam-unordered-list-font-family);font-size:var(--amsterdam-unordered-list-
|
|
1
|
+
.amsterdam-unordered-list{box-sizing:border-box;list-style:none;margin-block:0;padding-inline-start:0;-webkit-text-size-adjust:100%;display:grid;gap:var(--amsterdam-unordered-list-gap)}.amsterdam-unordered-list:not(.amsterdam-unordered-list--no-markers){color:var(--amsterdam-unordered-list-color);font-family:var(--amsterdam-unordered-list-font-family);font-size:var(--amsterdam-unordered-list-spacious-font-size);font-weight:var(--amsterdam-unordered-list-font-weight);line-height:var(--amsterdam-unordered-list-spacious-line-height);list-style-type:var(--amsterdam-unordered-list-list-style-type)}.amsterdam-unordered-list:not(.amsterdam-unordered-list--no-markers) .amsterdam-unordered-list__item{margin-inline-start:var(--amsterdam-unordered-list-item-margin-inline-start);padding-inline-start:var(--amsterdam-unordered-list-item-padding-inline-start)}:is(.amsterdam-ordered-list,.amsterdam-unordered-list) .amsterdam-unordered-list{list-style-type:var(--amsterdam-unordered-list-unordered-list-list-style-type)}:is(.amsterdam-ordered-list,.amsterdam-unordered-list) .amsterdam-unordered-list .amsterdam-unordered-list__item{margin-inline-start:var(--amsterdam-unordered-list-unordered-list-item-margin-inline-start);padding-inline-start:var(--amsterdam-unordered-list-unordered-list-item-padding-inline-start)}.amsterdam-theme--compact .amsterdam-unordered-list:not(.amsterdam-unordered-list--no-markers){font-size:var(--amsterdam-unordered-list-compact-font-size);line-height:var(--amsterdam-unordered-list-compact-line-height)}/*# sourceMappingURL=unordered-list.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/unordered-list/unordered-list.scss"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/components/unordered-list/unordered-list.scss"],"names":[],"mappings":"AAeA,0BARE,sBACA,gBACA,eACA,uBACA,8BAOA,aACA,wCAIF,qEACE,4CACA,wDACA,6DACA,wDACA,iEACA,gEAGA,qGACE,6EACA,+EAKJ,iFACE,+EAEA,iHACE,4FACA,8FAIJ,+FACE,4DACA","file":"unordered-list.css"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.amsterdam-visually-hidden{clip:rect(
|
|
1
|
+
.amsterdam-visually-hidden:not(:active,:focus){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}/*# sourceMappingURL=visually-hidden.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/visually-hidden/visually-hidden.scss"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/components/visually-hidden/visually-hidden.scss"],"names":[],"mappings":"AAMA,+CACE,mBACA,qBACA,WACA,gBACA,kBACA,mBACA","file":"visually-hidden.css"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.3.0",
|
|
3
3
|
"author": "Community for NL Design System",
|
|
4
4
|
"description": "CSS files for components for the City of Amsterdam based on the NL Design System architecture",
|
|
5
5
|
"license": "EUPL-1.2",
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"directory": "packages/css"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"build": "sass src
|
|
18
|
-
"build:watch": "sass src
|
|
17
|
+
"build": "sass src/components:dist/ --style=compressed",
|
|
18
|
+
"build:watch": "sass src/components:dist/ --watch",
|
|
19
19
|
"clean": "rimraf dist/"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@amsterdam/design-system-tokens": "0.
|
|
22
|
+
"@amsterdam/design-system-tokens": "0.3.0",
|
|
23
23
|
"sass": "1.69.5"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@utrecht/components": "
|
|
26
|
+
"@utrecht/components": "3.0.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "0201bd289e2eec2297f23d93959718f7235d76c4"
|
|
29
29
|
}
|
|
@@ -8,12 +8,6 @@
|
|
|
8
8
|
* We to resort to Sass variables for our breakpoint values.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
/**
|
|
12
|
-
* The breakpoint for typography is 854px = 53.375rems.
|
|
13
|
-
* @deprecated To be replaced with the grid breakpoints.
|
|
14
|
-
*/
|
|
15
|
-
$amsterdam-breakpoint-typography: 53.375rem;
|
|
16
|
-
|
|
17
11
|
/** The breakpoint at which medium screens start. */
|
|
18
12
|
$amsterdam-breakpoint-medium: 36rem;
|
|
19
13
|
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
.amsterdam-accordion__header {
|
|
9
7
|
display: flex;
|
|
10
8
|
margin-block: 0;
|
|
@@ -22,16 +20,17 @@
|
|
|
22
20
|
cursor: pointer;
|
|
23
21
|
display: flex;
|
|
24
22
|
font-family: var(--amsterdam-accordion-button-font-family);
|
|
25
|
-
font-size: var(--amsterdam-accordion-button-
|
|
23
|
+
font-size: var(--amsterdam-accordion-button-spacious-font-size);
|
|
26
24
|
font-weight: var(--amsterdam-accordion-button-font-weight);
|
|
27
25
|
justify-content: space-between;
|
|
28
|
-
line-height: var(--amsterdam-accordion-button-line-height);
|
|
26
|
+
line-height: var(--amsterdam-accordion-button-spacious-line-height);
|
|
29
27
|
padding-block: 0.75rem;
|
|
30
28
|
padding-inline: 1rem;
|
|
31
29
|
width: 100%;
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
font-size: var(--amsterdam-accordion-button-
|
|
31
|
+
.amsterdam-theme--compact & {
|
|
32
|
+
font-size: var(--amsterdam-accordion-button-compact-font-size);
|
|
33
|
+
line-height: var(--amsterdam-accordion-button-compact-line-height);
|
|
35
34
|
}
|
|
36
35
|
|
|
37
36
|
&:focus {
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
.amsterdam-alert {
|
|
9
7
|
align-items: flex-start;
|
|
10
8
|
background-color: var(--amsterdam-alert-background-color);
|
|
@@ -30,12 +28,13 @@
|
|
|
30
28
|
.amsterdam-alert__title {
|
|
31
29
|
color: var(--amsterdam-alert-title-color);
|
|
32
30
|
font-family: var(--amsterdam-alert-title-font-family);
|
|
33
|
-
font-size: var(--amsterdam-alert-title-
|
|
31
|
+
font-size: var(--amsterdam-alert-title-spacious-font-size);
|
|
34
32
|
font-weight: var(--amsterdam-alert-title-font-weight);
|
|
35
|
-
line-height: var(--amsterdam-alert-title-line-height);
|
|
33
|
+
line-height: var(--amsterdam-alert-title-spacious-line-height);
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
font-size: var(--amsterdam-alert-title-
|
|
35
|
+
.amsterdam-theme--compact & {
|
|
36
|
+
font-size: var(--amsterdam-alert-title-compact-font-size);
|
|
37
|
+
line-height: var(--amsterdam-alert-title-compact-line-height);
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
@include reset;
|
|
@@ -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,9 +14,9 @@
|
|
|
16
14
|
break-inside: avoid;
|
|
17
15
|
color: var(--amsterdam-blockquote-color);
|
|
18
16
|
font-family: var(--amsterdam-blockquote-font-family);
|
|
19
|
-
font-size: var(--amsterdam-blockquote-
|
|
17
|
+
font-size: var(--amsterdam-blockquote-spacious-font-size);
|
|
20
18
|
font-weight: var(--amsterdam-blockquote-font-weight);
|
|
21
|
-
line-height: var(--amsterdam-blockquote-line-height);
|
|
19
|
+
line-height: var(--amsterdam-blockquote-spacious-line-height);
|
|
22
20
|
quotes: "“" "”";
|
|
23
21
|
|
|
24
22
|
&::before {
|
|
@@ -29,8 +27,9 @@
|
|
|
29
27
|
content: close-quote;
|
|
30
28
|
}
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
font-size: var(--amsterdam-blockquote-
|
|
30
|
+
.amsterdam-theme--compact & {
|
|
31
|
+
font-size: var(--amsterdam-blockquote-spacious-font-size);
|
|
32
|
+
line-height: var(--amsterdam-blockquote-spacious-line-height);
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
@include reset;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
padding-inline: 0;
|
|
10
|
+
-webkit-text-size-adjust: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.amsterdam-breadcrumb {
|
|
14
|
+
font-family: var(--amsterdam-breadcrumb-font-family, inherit);
|
|
15
|
+
font-size: var(--amsterdam-breadcrumb-spacious-font-size);
|
|
16
|
+
font-weight: var(--amsterdam-breadcrumb-font-weight);
|
|
17
|
+
line-height: var(--amsterdam-breadcrumb-spacious-line-height);
|
|
18
|
+
|
|
19
|
+
.amsterdam-theme--compact & {
|
|
20
|
+
font-size: var(--amsterdam-breadcrumb-compact-font-size);
|
|
21
|
+
line-height: var(--amsterdam-breadcrumb-compact-line-height);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.amsterdam-breadcrumb__list {
|
|
26
|
+
break-after: avoid;
|
|
27
|
+
break-inside: avoid;
|
|
28
|
+
|
|
29
|
+
@include reset;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.amsterdam-breadcrumb__item {
|
|
33
|
+
display: inline;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.amsterdam-breadcrumb__item:not(:last-child)::after {
|
|
37
|
+
background-image: var(--amsterdam-breadcrumb-separator-background-image);
|
|
38
|
+
background-repeat: no-repeat;
|
|
39
|
+
content: "";
|
|
40
|
+
display: inline-block;
|
|
41
|
+
height: 1ex;
|
|
42
|
+
margin-inline: 0.5rem;
|
|
43
|
+
width: 1ex;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.amsterdam-breadcrumb__link {
|
|
47
|
+
color: var(--amsterdam-breadcrumb-item-link-color);
|
|
48
|
+
outline-offset: var(--amsterdam-breadcrumb-item-link-outline-offset);
|
|
49
|
+
text-decoration-line: var(--amsterdam-breadcrumb-item-link-text-decoration-line);
|
|
50
|
+
text-decoration-thickness: var(--amsterdam-breadcrumb-item-link-text-decoration-thickness);
|
|
51
|
+
text-underline-offset: var(--amsterdam-breadcrumb-item-link-text-underline-offset);
|
|
52
|
+
|
|
53
|
+
&:hover {
|
|
54
|
+
color: var(--amsterdam-breadcrumb-item-link-hover-color);
|
|
55
|
+
text-decoration-line: var(--amsterdam-breadcrumb-item-link-hover-text-decoration-line);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -3,21 +3,22 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "
|
|
7
|
-
@import "../../utils/breakpoint";
|
|
6
|
+
@import "../../../node_modules/@utrecht/components/button/css";
|
|
8
7
|
|
|
9
8
|
@mixin reset {
|
|
10
9
|
-webkit-text-size-adjust: 100%;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.amsterdam-button {
|
|
14
|
-
font-size: var(--amsterdam-button-
|
|
15
|
-
|
|
16
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
17
|
-
font-size: var(--amsterdam-button-wide-font-size);
|
|
18
|
-
}
|
|
13
|
+
font-size: var(--amsterdam-button-spacious-font-size);
|
|
14
|
+
line-height: var(--amsterdam-button-spacious-line-height);
|
|
19
15
|
|
|
20
16
|
@include reset;
|
|
17
|
+
|
|
18
|
+
.amsterdam-theme--compact & {
|
|
19
|
+
font-size: var(--amsterdam-breadcrumb-compact-font-size);
|
|
20
|
+
line-height: var(--amsterdam-breadcrumb-compact-line-height);
|
|
21
|
+
}
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
.amsterdam-button--secondary {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Card
|
|
2
|
+
|
|
3
|
+
Gebruik een card op een overzichtspagina om te verwijzen naar een detailpagina,
|
|
4
|
+
zoals een nieuwsbericht, een vacature of een zoekresultaat.
|
|
5
|
+
De card bevat meestal de titel, introductie en afbeelding van de content.
|
|
6
|
+
De link is verplicht.
|
|
7
|
+
|
|
8
|
+
## Richtlijnen
|
|
9
|
+
|
|
10
|
+
- De titel van een card is een link in een heading.
|
|
11
|
+
Hier gelden dezelfde richtlijnen voor als voor reguliere [links](?path=/docs/react_navigation-link--docs) en [headings](?path=/docs/react_text-heading--docs).
|
|
12
|
+
De link is actief op het hele gebied van de card.
|
|
13
|
+
- Een card heeft meer inhoud nodig dan alleen een titel.
|
|
14
|
+
Vul dit aan met tekstuele en/of visuele inhoud.
|
|
15
|
+
- De tekst zet je in een reguliere paragraaf.
|
|
16
|
+
Alleen voor een tagline of datum gebruik je de kleinste tekstgrootte.
|
|
17
|
+
- Als de inhoud geen detailpagina vertegenwoordigt is dit component niet de beste optie.
|
|
18
|
+
Om te verwijzen naar een thematische pagina gebruik je een [top task link](?path=/docs/react_navigation-top-task-link--docs).
|
|
19
|
+
Ook kun je een [reguliere link](?path=/docs/react_navigation-link--docs) inzetten.
|
|
20
|
+
|
|
21
|
+
## Schermlezers
|
|
22
|
+
|
|
23
|
+
Met een schermlezer kun je onder andere navigeren via headings en links in een document.
|
|
24
|
+
De titel van een card is een link in een heading, zodat je van beide navigatiemanieren gebruik kunt maken.
|
|
25
|
+
Een schermlezer leest eerst de titel op, daarna de rest van de inhoud.
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
|
|
46
46
|
.amsterdam-card__link {
|
|
47
47
|
color: var(--amsterdam-card-link-color);
|
|
48
|
-
text-decoration:
|
|
49
|
-
text-decoration-thickness:
|
|
50
|
-
text-underline-offset:
|
|
48
|
+
text-decoration-line: var(--amsterdam-card-link-text-decoration-line);
|
|
49
|
+
text-decoration-thickness: var(--amsterdam-card-link-text-decoration-thickness);
|
|
50
|
+
text-underline-offset: var(--amsterdam-card-link-text-underline-offset);
|
|
51
51
|
|
|
52
52
|
&:hover {
|
|
53
53
|
color: var(--amsterdam-card-link-hover-color);
|
|
54
|
-
text-decoration:
|
|
54
|
+
text-decoration-line: var(--amsterdam-card-link-hover-text-decoration-line);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../utils/breakpoint";
|
|
7
|
-
|
|
8
6
|
.amsterdam-checkbox__input {
|
|
9
7
|
appearance: none;
|
|
10
8
|
margin-block: 0;
|
|
@@ -21,7 +19,7 @@
|
|
|
21
19
|
align-items: center;
|
|
22
20
|
display: flex;
|
|
23
21
|
flex-shrink: 0;
|
|
24
|
-
height: calc(var(--amsterdam-checkbox-
|
|
22
|
+
height: calc(var(--amsterdam-checkbox-spacious-font-size) * var(--amsterdam-checkbox-spacious-line-height));
|
|
25
23
|
width: 1.5rem;
|
|
26
24
|
|
|
27
25
|
&::after {
|
|
@@ -34,8 +32,8 @@
|
|
|
34
32
|
width: 100%;
|
|
35
33
|
}
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
height: calc(var(--amsterdam-checkbox-
|
|
35
|
+
.amsterdam-theme--compact & {
|
|
36
|
+
height: calc(var(--amsterdam-checkbox-compact-font-size) * var(--amsterdam-checkbox-compact-line-height));
|
|
39
37
|
}
|
|
40
38
|
}
|
|
41
39
|
|
|
@@ -48,16 +46,16 @@
|
|
|
48
46
|
cursor: pointer;
|
|
49
47
|
display: inline-flex;
|
|
50
48
|
font-family: var(--amsterdam-checkbox-font-family);
|
|
51
|
-
font-size: var(--amsterdam-checkbox-
|
|
49
|
+
font-size: var(--amsterdam-checkbox-spacious-font-size);
|
|
52
50
|
font-weight: 400;
|
|
53
51
|
gap: 0.5rem;
|
|
54
|
-
line-height: var(--amsterdam-checkbox-line-height);
|
|
52
|
+
line-height: var(--amsterdam-checkbox-spacious-line-height);
|
|
55
53
|
|
|
56
54
|
&:hover {
|
|
57
55
|
color: var(--amsterdam-checkbox-hover-color);
|
|
58
|
-
text-decoration: underline;
|
|
59
|
-
text-decoration-thickness:
|
|
60
|
-
text-underline-offset:
|
|
56
|
+
text-decoration-line: underline;
|
|
57
|
+
text-decoration-thickness: 0.125rem;
|
|
58
|
+
text-underline-offset: 0.375rem;
|
|
61
59
|
|
|
62
60
|
.amsterdam-checkbox__checkmark::after {
|
|
63
61
|
border-color: var(--amsterdam-checkbox-checkmark-hover-border-color);
|
|
@@ -65,8 +63,9 @@
|
|
|
65
63
|
}
|
|
66
64
|
}
|
|
67
65
|
|
|
68
|
-
|
|
69
|
-
font-size: var(--amsterdam-checkbox-
|
|
66
|
+
.amsterdam-theme--compact & {
|
|
67
|
+
font-size: var(--amsterdam-checkbox-compact-font-size);
|
|
68
|
+
line-height: var(--amsterdam-checkbox-compact-line-height);
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
@include reset;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../
|
|
6
|
+
@import "../../common/breakpoint";
|
|
7
7
|
|
|
8
8
|
.amsterdam-dialog {
|
|
9
9
|
background-color: var(--amsterdam-dialog-background-color);
|
|
@@ -52,12 +52,13 @@
|
|
|
52
52
|
color: var(--amsterdam-dialog-title-color);
|
|
53
53
|
flex: auto;
|
|
54
54
|
font-family: var(--amsterdam-dialog-title-font-family);
|
|
55
|
-
font-size: var(--amsterdam-dialog-title-
|
|
55
|
+
font-size: var(--amsterdam-dialog-title-spacious-font-size);
|
|
56
56
|
font-weight: var(--amsterdam-dialog-title-font-weight);
|
|
57
|
-
line-height: var(--amsterdam-dialog-title-line-height);
|
|
57
|
+
line-height: var(--amsterdam-dialog-title-spacious-line-height);
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
font-size: var(--amsterdam-dialog-title-
|
|
59
|
+
.amsterdam-theme--compact & {
|
|
60
|
+
font-size: var(--amsterdam-dialog-title-compact-font-size);
|
|
61
|
+
line-height: var(--amsterdam-dialog-title-compact-line-height);
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
@include reset;
|
|
@@ -67,7 +68,6 @@
|
|
|
67
68
|
display: flex;
|
|
68
69
|
flex-direction: column;
|
|
69
70
|
grid-gap: var(--amsterdam-dialog-footer-gap);
|
|
70
|
-
padding-block: var(--amsterdam-dialog-footer-padding-block);
|
|
71
71
|
|
|
72
72
|
@media screen and (min-width: $amsterdam-breakpoint-medium) {
|
|
73
73
|
flex-direction: row;
|
|
@@ -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
|
}
|
|
@@ -12,13 +10,14 @@
|
|
|
12
10
|
.amsterdam-form-label {
|
|
13
11
|
color: var(--amsterdam-form-label-color);
|
|
14
12
|
font-family: var(--amsterdam-form-label-font-family);
|
|
15
|
-
font-size: var(--amsterdam-form-label-
|
|
13
|
+
font-size: var(--amsterdam-form-label-spacious-font-size);
|
|
16
14
|
font-weight: var(--amsterdam-form-label-font-weight);
|
|
17
|
-
line-height: var(--amsterdam-form-label-line-height);
|
|
18
|
-
|
|
19
|
-
@media screen and (min-width: $amsterdam-breakpoint-typography) {
|
|
20
|
-
font-size: var(--amsterdam-form-label-wide-font-size);
|
|
21
|
-
}
|
|
15
|
+
line-height: var(--amsterdam-form-label-spacious-line-height);
|
|
22
16
|
|
|
23
17
|
@include reset;
|
|
18
|
+
|
|
19
|
+
.amsterdam-theme--compact & {
|
|
20
|
+
font-size: var(--amsterdam-form-label-compact-font-size);
|
|
21
|
+
line-height: var(--amsterdam-form-label-compact-line-height);
|
|
22
|
+
}
|
|
24
23
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Grid
|
|
2
|
+
|
|
3
|
+
Verdeelt de breedte van het scherm in kolommen waarop de elementen van een pagina worden uitgelijnd.
|
|
4
|
+
|
|
5
|
+
## Gebruik
|
|
6
|
+
|
|
7
|
+
Elke pagina moet het grid gebruiken als basis voor de layout.
|
|
8
|
+
Het staat dus direct binnen [Screen](?path=/docs/layout-screen--docs).
|
|
9
|
+
|
|
10
|
+
Een [Footer](?path=/docs/react_containers-footer--docs) en een [Highlight](?path=/docs/react_containers-highlight--docs) zijn iets breder dan het grid.
|
|
11
|
+
Vóór deze componenten sluit je een instantie van het grid af.
|
|
12
|
+
Erbinnen en eventueel erna start je een nieuwe.
|
|
13
|
+
Meerdere instanties van het grid component zijn dus mogelijk op een pagina.
|
|
14
|
+
De kolommen van alle grids moeten wel precies op elkaar aansluiten.
|
|
15
|
+
|
|
16
|
+
Binnen het grid maak je cellen die de gewenste inhoud bevatten.
|
|
17
|
+
Een cel beslaat vaak meerdere kolommen van het grid.
|
|
18
|
+
|
|
19
|
+
## Ontwerp
|
|
20
|
+
|
|
21
|
+
De [ontwerpkeuzes](?path=/docs/docs-designrichtlijnen-grid--docs) staan beschreven onder de designrichtlijnen.
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Copyright (c) 2023 Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "../../
|
|
6
|
+
@import "../../common/breakpoint";
|
|
7
7
|
|
|
8
8
|
.amsterdam-grid {
|
|
9
|
-
--amsterdam-grid-gap: var(--amsterdam-grid-
|
|
10
|
-
--amsterdam-grid-padding-inline: var(--amsterdam-grid-
|
|
9
|
+
--amsterdam-grid-gap: var(--amsterdam-grid-spacious-gap);
|
|
10
|
+
--amsterdam-grid-padding-inline: var(--amsterdam-grid-spacious-padding-inline);
|
|
11
11
|
|
|
12
12
|
display: grid;
|
|
13
13
|
gap: var(--amsterdam-grid-gap);
|
|
@@ -23,9 +23,17 @@
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.amsterdam-grid--
|
|
27
|
-
--amsterdam-grid-gap: var(--amsterdam-grid-
|
|
28
|
-
--amsterdam-grid-padding-inline: var(--amsterdam-grid-
|
|
26
|
+
.amsterdam-grid--compact {
|
|
27
|
+
--amsterdam-grid-gap: var(--amsterdam-grid-compact-gap);
|
|
28
|
+
--amsterdam-grid-padding-inline: var(--amsterdam-grid-compact-padding-inline);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.amsterdam-grid--gap-vertical--small {
|
|
32
|
+
row-gap: calc(var(--amsterdam-grid-gap) / 2);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.amsterdam-grid--gap-vertical--large {
|
|
36
|
+
row-gap: calc(var(--amsterdam-grid-gap) * 2);
|
|
29
37
|
}
|
|
30
38
|
|
|
31
39
|
.amsterdam-grid--padding-bottom--small {
|
|
@@ -63,3 +71,43 @@
|
|
|
63
71
|
.amsterdam-grid--padding-vertical--large {
|
|
64
72
|
padding-block: calc(var(--amsterdam-grid-gap) * 2);
|
|
65
73
|
}
|
|
74
|
+
|
|
75
|
+
.amsterdam-grid__cell--span-all {
|
|
76
|
+
grid-column: 1 / -1;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// The order of the following declaration blocks ensures the intended specificity.
|
|
80
|
+
|
|
81
|
+
@for $i from 1 through 12 {
|
|
82
|
+
.amsterdam-grid__cell--span-#{$i} {
|
|
83
|
+
grid-column-end: span $i;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.amsterdam-grid__cell--start-#{$i} {
|
|
87
|
+
grid-column-start: $i;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media screen and (min-width: $amsterdam-breakpoint-medium) {
|
|
92
|
+
@for $i from 1 through 12 {
|
|
93
|
+
.amsterdam-grid__cell--span-#{$i}-medium {
|
|
94
|
+
grid-column-end: span $i;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.amsterdam-grid__cell--start-#{$i}-medium {
|
|
98
|
+
grid-column-start: $i;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@media screen and (min-width: $amsterdam-breakpoint-wide) {
|
|
104
|
+
@for $i from 1 through 12 {
|
|
105
|
+
.amsterdam-grid__cell--span-#{$i}-wide {
|
|
106
|
+
grid-column-end: span $i;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.amsterdam-grid__cell--start-#{$i}-wide {
|
|
110
|
+
grid-column-start: $i;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Header
|
|
2
|
+
|
|
3
|
+
A Header offers a container to display a City of Amsterdam logo, subsite title and page menu.
|
|
4
|
+
|
|
5
|
+
## Guidelines
|
|
6
|
+
|
|
7
|
+
- Use the Header when the site is hosted on amsterdam.nl or one of its subdomains.
|
|
8
|
+
- The page menu can contain a maximum of 5 items, including menu and search.
|
|
9
|
+
- When you have a long subsite title, use no or as little page menu items as possible.
|
|
10
|
+
|
|
11
|
+
## References
|
|
12
|
+
|
|
13
|
+
- A Header is a [landmark](https://www.w3.org/TR/wai-aria-practices-1.1/#aria_landmark_roles) and can be use to group navigation elements.
|
|
14
|
+
- [WCAG 3.2.3](https://wcag.com/designers/3-2-3-consistent-navigation/) Consistent Navigation: Navigation menus that appear on multiple pages are consistent.
|