@amsterdam/design-system-css 0.10.0 → 0.11.1
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 +39 -0
- package/dist/alert/alert.css +1 -1
- package/dist/alert/alert.css.map +1 -1
- package/dist/breadcrumb/breadcrumb.css +1 -1
- package/dist/breadcrumb/breadcrumb.css.map +1 -1
- package/dist/card/card.css +1 -1
- package/dist/card/card.css.map +1 -1
- package/dist/character-count/character-count.css +1 -0
- package/dist/character-count/character-count.css.map +1 -0
- package/dist/checkbox/checkbox.css +1 -1
- package/dist/checkbox/checkbox.css.map +1 -1
- package/dist/column/column.css +1 -1
- package/dist/column/column.css.map +1 -1
- package/dist/dialog/dialog.css +1 -1
- package/dist/dialog/dialog.css.map +1 -1
- package/dist/file-input/file-input.css +1 -1
- package/dist/file-input/file-input.css.map +1 -1
- package/dist/form-error-list/form-error-list.css +1 -0
- package/dist/form-error-list/form-error-list.css.map +1 -0
- package/dist/gap/gap.css +1 -1
- package/dist/gap/gap.css.map +1 -1
- package/dist/heading/heading.css +1 -1
- package/dist/heading/heading.css.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/margin/margin.css.map +1 -1
- package/dist/pagination/pagination.css +1 -1
- package/dist/pagination/pagination.css.map +1 -1
- package/dist/radio/radio.css +1 -1
- package/dist/radio/radio.css.map +1 -1
- package/dist/row/row.css +1 -1
- package/dist/row/row.css.map +1 -1
- package/dist/tabs/tabs.css +1 -1
- package/dist/tabs/tabs.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/package.json +3 -3
- package/src/common/size.scss +2 -1
- package/src/components/alert/alert.scss +3 -0
- package/src/components/breadcrumb/breadcrumb.scss +4 -4
- package/src/components/card/README.md +1 -1
- package/src/components/card/card.scss +4 -3
- package/src/components/{form-field-character-counter → character-count}/README.md +4 -4
- package/src/components/character-count/character-count.scss +20 -0
- package/src/components/checkbox/README.md +3 -3
- package/src/components/checkbox/checkbox.scss +1 -1
- package/src/components/column/README.md +1 -1
- package/src/components/column/column.scss +39 -3
- package/src/components/dialog/README.md +6 -1
- package/src/components/dialog/dialog.scss +12 -10
- package/src/components/field-set/README.md +1 -1
- package/src/components/file-input/file-input.scss +1 -1
- package/src/components/footer/README.md +1 -1
- package/src/components/form-error-list/README.md +12 -0
- package/src/components/form-error-list/form-error-list.scss +14 -0
- package/src/components/gap/README.md +22 -1
- package/src/components/gap/gap.scss +4 -2
- package/src/components/grid/README.md +1 -1
- package/src/components/heading/README.md +7 -6
- package/src/components/heading/heading.scss +6 -6
- package/src/components/icon/README.md +3 -3
- package/src/components/icon-button/README.md +1 -1
- package/src/components/image/README.md +1 -1
- package/src/components/index.scss +2 -1
- package/src/components/link/README.md +1 -1
- package/src/components/margin/README.md +21 -1
- package/src/components/margin/margin.scss +4 -2
- package/src/components/page-heading/README.md +1 -1
- package/src/components/page-menu/README.md +2 -2
- package/src/components/pagination/README.md +3 -3
- package/src/components/pagination/pagination.scss +1 -1
- package/src/components/paragraph/README.md +1 -1
- package/src/components/radio/radio.scss +1 -1
- package/src/components/row/README.md +2 -0
- package/src/components/row/row.scss +45 -2
- package/src/components/search-field/README.md +1 -1
- package/src/components/spotlight/README.md +1 -1
- package/src/components/switch/README.md +2 -2
- package/src/components/tabs/README.md +1 -1
- package/src/components/tabs/tabs.scss +5 -0
- package/src/components/top-task-link/top-task-link.scss +1 -1
- package/src/components/visually-hidden/README.md +8 -2
- package/dist/form-field-character-counter/form-field-character-counter.css +0 -1
- package/dist/form-field-character-counter/form-field-character-counter.css.map +0 -1
- package/src/components/form-field-character-counter/form-field-character-counter.scss +0 -20
|
@@ -23,32 +23,32 @@
|
|
|
23
23
|
@include reset;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.ams-heading--1 {
|
|
26
|
+
.ams-heading--level-1 {
|
|
27
27
|
font-size: var(--ams-heading-level-1-font-size);
|
|
28
28
|
line-height: var(--ams-heading-level-1-line-height);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.ams-heading--2 {
|
|
31
|
+
.ams-heading--level-2 {
|
|
32
32
|
font-size: var(--ams-heading-level-2-font-size);
|
|
33
33
|
line-height: var(--ams-heading-level-2-line-height);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.ams-heading--3 {
|
|
36
|
+
.ams-heading--level-3 {
|
|
37
37
|
font-size: var(--ams-heading-level-3-font-size);
|
|
38
38
|
line-height: var(--ams-heading-level-3-line-height);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.ams-heading--4 {
|
|
41
|
+
.ams-heading--level-4 {
|
|
42
42
|
font-size: var(--ams-heading-level-4-font-size);
|
|
43
43
|
line-height: var(--ams-heading-level-4-line-height);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.ams-heading--5 {
|
|
46
|
+
.ams-heading--level-5 {
|
|
47
47
|
font-size: var(--ams-heading-level-5-font-size);
|
|
48
48
|
line-height: var(--ams-heading-level-5-line-height);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.ams-heading--6 {
|
|
51
|
+
.ams-heading--level-6 {
|
|
52
52
|
font-size: var(--ams-heading-level-6-font-size);
|
|
53
53
|
line-height: var(--ams-heading-level-6-line-height);
|
|
54
54
|
}
|
|
@@ -6,7 +6,7 @@ Icons are visual symbols used to represent ideas, themes, or actions.
|
|
|
6
6
|
They communicate the message at a glance and draw attention to important (interactive) information.
|
|
7
7
|
Always use an `Icon` component to encapsulate an SVG icon for proper styling and sizing.
|
|
8
8
|
|
|
9
|
-
## Interactive
|
|
9
|
+
## Interactive elements
|
|
10
10
|
|
|
11
11
|
Use an icon to support textual interactive elements like buttons and links.
|
|
12
12
|
Always try to provide accompanying text for an icon.
|
|
@@ -28,8 +28,8 @@ Icons are aligned to the left of the text by default and vertically centred to t
|
|
|
28
28
|
|
|
29
29
|
Icons use the same text levels as all typographic components to determine their size.
|
|
30
30
|
This ensures easy alignment between icons and text.
|
|
31
|
-
[Refer to the typography documentation for more information](/docs/
|
|
31
|
+
[Refer to the typography documentation for more information](/docs/brand-design-tokens-text--docs).
|
|
32
32
|
|
|
33
33
|
## Overview
|
|
34
34
|
|
|
35
|
-
[You can find an overview of the available icons here](/docs/
|
|
35
|
+
[You can find an overview of the available icons here](/docs/brand-assets-icons--docs).
|
|
@@ -11,6 +11,6 @@ A button containing only an icon.
|
|
|
11
11
|
Only use universally recognized icons, such as a close icon or a play icon.
|
|
12
12
|
- Provide a label text that describes what the button does for screen reader users.
|
|
13
13
|
|
|
14
|
-
## Relevant WCAG
|
|
14
|
+
## Relevant WCAG requirements
|
|
15
15
|
|
|
16
16
|
The Icon Button follows [the same requirements and guidelines as a regular button](/docs/components-buttons-button--docs).
|
|
@@ -17,7 +17,7 @@ Displays an image.
|
|
|
17
17
|
Do this especially for the main image of a page, where the difference between sizes on a narrow and wide screen is most significant.
|
|
18
18
|
- Ensure that the aspect ratio of the image is supported by the [Aspect Ratio](/docs/components-layout-aspect-ratio--docs) component.
|
|
19
19
|
|
|
20
|
-
## Relevant WCAG
|
|
20
|
+
## Relevant WCAG requirements
|
|
21
21
|
|
|
22
22
|
- [WCAG 1.1.1](https://www.w3.org/TR/WCAG22/#non-text-content): Non-text content must have a text alternative.
|
|
23
23
|
- [WCAG 1.4.5](https://www.w3.org/TR/WCAG22/#images-of-text): Use text instead of images of text.
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/* Append here */
|
|
7
|
+
@import "./form-error-list/form-error-list";
|
|
7
8
|
@import "./table-of-contents/table-of-contents";
|
|
8
9
|
@import "./error-message/error-message";
|
|
9
10
|
@import "./file-input/file-input";
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
@import "./date-input/date-input";
|
|
14
15
|
@import "./document/document";
|
|
15
16
|
@import "./avatar/avatar";
|
|
16
|
-
@import "./
|
|
17
|
+
@import "./character-count/character-count";
|
|
17
18
|
@import "./description-list/description-list";
|
|
18
19
|
@import "./row/row";
|
|
19
20
|
@import "./radio/radio";
|
|
@@ -30,7 +30,7 @@ We discourage using styles for visited links because they often make the page le
|
|
|
30
30
|
The inline link does have a visited style.
|
|
31
31
|
It is not part of navigation elements that are frequently scanned.
|
|
32
32
|
|
|
33
|
-
## Relevant WCAG
|
|
33
|
+
## Relevant WCAG requirements
|
|
34
34
|
|
|
35
35
|
- [WCAG 1.4.3](https://www.w3.org/TR/WCAG21/#contrast-minimum)
|
|
36
36
|
- [WCAG 2.4.4](https://www.w3.org/TR/WCAG21/#link-purpose-in-context)
|
|
@@ -2,4 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
# Margin
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Adds white space below a single element.
|
|
6
|
+
|
|
7
|
+
## Class names
|
|
8
|
+
|
|
9
|
+
The five sizes of [Component Space](/docs/brand-design-tokens-space--docs) are available for the height of the bottom margin.
|
|
10
|
+
|
|
11
|
+
| Class name | Preview |
|
|
12
|
+
| ------------ | -------------------------------------------------------------------------------------------- |
|
|
13
|
+
| `ams-mb--xs` | <div className="ams-docs-token-preview--space" style="inline-size: var(--ams-margin-xs);" /> |
|
|
14
|
+
| `ams-mb--sm` | <div className="ams-docs-token-preview--space" style="inline-size: var(--ams-margin-sm);" /> |
|
|
15
|
+
| `ams-mb--md` | <div className="ams-docs-token-preview--space" style="inline-size: var(--ams-margin-md);" /> |
|
|
16
|
+
| `ams-mb--lg` | <div className="ams-docs-token-preview--space" style="inline-size: var(--ams-margin-lg);" /> |
|
|
17
|
+
| `ams-mb--xl` | <div className="ams-docs-token-preview--space" style="inline-size: var(--ams-margin-xl);" /> |
|
|
18
|
+
|
|
19
|
+
## Guidelines
|
|
20
|
+
|
|
21
|
+
- Use this utility class to vertically separate one element from the next.
|
|
22
|
+
- It can be used on any element and sets the `margin-block-end` CSS property. This declaration is marked with the `!important` flag to ensure it overrides any other margins.
|
|
23
|
+
- Elements’ top and bottom margins are sometimes collapsed into a single margin. Consult [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_box_model/Mastering_margin_collapsing) for details.
|
|
24
|
+
- To add equal margins between elements, either use the [Gap](/docs/utilities-css-gap--docs) utility class on their common parent or wrap them in a [Column](/docs/components-layout-column--docs) component.
|
|
25
|
+
This helps in loops: it prevents having to treat the last element differently.
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
@import "../../common/size";
|
|
7
7
|
|
|
8
8
|
@each $size in map-keys($ams-sizes) {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
@if $size != "no" {
|
|
10
|
+
.ams-mb--#{$size} {
|
|
11
|
+
margin-block-end: var(--ams-margin-#{$size}) !important;
|
|
12
|
+
}
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -11,7 +11,7 @@ Use this component for a name, title, or motto.
|
|
|
11
11
|
- Only use this component once per page, typically only on the homepage.
|
|
12
12
|
- Avoid using it if you need to display long pieces of text; the text should be short and precise.
|
|
13
13
|
|
|
14
|
-
## Relevant WCAG
|
|
14
|
+
## Relevant WCAG requirements
|
|
15
15
|
|
|
16
16
|
The page heading component is a variant of a heading level 1 with a distinct style.
|
|
17
17
|
When using this component, ensure that the heading hierarchy of the page remains logical.
|
|
@@ -13,8 +13,8 @@ A small set of links for use in the Header and Footer.
|
|
|
13
13
|
- The ‘Menu’ button opens the Mega Menu.
|
|
14
14
|
- On narrow screens, menu items other than ‘Search’ and ‘Menu’ move from the Page Menu to the Mega Menu.
|
|
15
15
|
|
|
16
|
-
## Relevant WCAG
|
|
16
|
+
## Relevant WCAG requirements
|
|
17
17
|
|
|
18
18
|
- [Consistent Navigation (Level AA)](https://www.w3.org/WAI/WCAG21/Understanding/consistent-navigation.html)
|
|
19
19
|
|
|
20
|
-
PageMenu is an interactive element, and the [general requirements and guidelines for
|
|
20
|
+
PageMenu is an interactive element, and the [general requirements and guidelines for interactivity](/docs/docs-developer-guide-interactivity--docs) apply.
|
|
@@ -13,10 +13,10 @@ Pagination indicates the current page and allows users to navigate to other page
|
|
|
13
13
|
- Place pagination below the overview list.
|
|
14
14
|
- Pagination should not be displayed if there is only one page.
|
|
15
15
|
- Redirect users to the first page if they enter a URL with a page number that doesn’t exist.
|
|
16
|
-
- Pagination can be combined with a
|
|
16
|
+
- Pagination can be combined with a count at the top of the page indicating “Page # of ##.”
|
|
17
17
|
- Start a page with an overview list at the top after changing the page.
|
|
18
18
|
- Make sure that the visible and accessible labels for the ‘previous’ and ‘next’ buttons convey the same meaning at all times – e.g. don’t update one and forget the other.
|
|
19
19
|
|
|
20
|
-
## Relevant WCAG
|
|
20
|
+
## Relevant WCAG rules
|
|
21
21
|
|
|
22
|
-
Pagination is an interactive element, and the [general requirements and guidelines for
|
|
22
|
+
Pagination is an interactive element, and the [general requirements and guidelines for interactivity](/docs/docs-developer-guide-interactivity--docs) apply.
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
display: flex;
|
|
40
|
-
gap:
|
|
40
|
+
gap: var(--ams-pagination-button-gap);
|
|
41
41
|
outline-offset: var(--ams-pagination-button-outline-offset);
|
|
42
42
|
padding-inline: var(--ams-pagination-button-padding-inline);
|
|
43
43
|
text-decoration-line: var(--ams-pagination-button-text-decoration-line);
|
|
@@ -11,7 +11,7 @@ Represents a paragraph of running text, form instructions, and other standalone
|
|
|
11
11
|
- Consider whether a paragraph with more than 7 sentences or 140 words would be clearer if you divide the text into two paragraphs.
|
|
12
12
|
Texts with not overly long paragraphs are easier to understand, and grouping makes information quicker to locate.
|
|
13
13
|
|
|
14
|
-
## Relevant WCAG
|
|
14
|
+
## Relevant WCAG rules
|
|
15
15
|
|
|
16
16
|
- [WCAG 1.3.1](https://www.w3.org/TR/WCAG21/#info-and-relationships): Blocks that look like a paragraph are also recognized by a computer as a paragraph.
|
|
17
17
|
- [WCAG 1.4.3](https://www.w3.org/TR/WCAG21/#contrast-minimum): The contrast of black text on a white background is high enough.
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
font-family: var(--ams-radio-font-family);
|
|
42
42
|
font-size: var(--ams-radio-font-size);
|
|
43
43
|
font-weight: var(--ams-radio-font-weight);
|
|
44
|
-
gap:
|
|
44
|
+
gap: var(--ams-radio-gap);
|
|
45
45
|
line-height: var(--ams-radio-line-height);
|
|
46
46
|
outline-offset: var(--ams-radio-outline-offset);
|
|
47
47
|
|
|
@@ -8,10 +8,53 @@
|
|
|
8
8
|
.ams-row {
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: row;
|
|
11
|
+
gap: var(--ams-row-gap-md);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
@each $size, $label in $ams-sizes {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
@if $size != "md" {
|
|
16
|
+
.ams-row--gap-#{$label} {
|
|
17
|
+
gap: var(--ams-row-gap-#{$size});
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
}
|
|
21
|
+
|
|
22
|
+
.ams-row--wrap {
|
|
23
|
+
flex-wrap: wrap;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ams-row--align-around {
|
|
27
|
+
justify-content: space-around;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ams-row--align-between {
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ams-row--align-center {
|
|
35
|
+
justify-content: center;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ams-row--align-end {
|
|
39
|
+
justify-content: flex-end;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ams-row--align-evenly {
|
|
43
|
+
justify-content: space-evenly;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ams-row--align-vertical-baseline {
|
|
47
|
+
align-items: baseline;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ams-row--align-vertical-center {
|
|
51
|
+
align-items: center;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ams-row--align-vertical-end {
|
|
55
|
+
align-items: flex-end;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.ams-row--align-vertical-start {
|
|
59
|
+
align-items: flex-start;
|
|
60
|
+
}
|
|
@@ -32,4 +32,4 @@ These features can be disruptive for a user searching for part of a word, and `a
|
|
|
32
32
|
- [WCAG 1.3.5](https://www.w3.org/TR/WCAG22/#identify-input-purpose): It is clear both to the user and programmatically what the purpose of a form field is.
|
|
33
33
|
- [WCAG 2.4.6](https://www.w3.org/TR/WCAG22/#headings-and-labels): There is a label describing the purpose of the input.
|
|
34
34
|
|
|
35
|
-
Search Field is an interactive element; therefore, [the general requirements and guidelines for
|
|
35
|
+
Search Field is an interactive element; therefore, [the general requirements and guidelines for interactivity](/docs/docs-developer-guide-interactivity--docs) apply.
|
|
@@ -8,7 +8,7 @@ Emphasizes a section on a page through a distinctive background colour.
|
|
|
8
8
|
|
|
9
9
|
Refer to [this overview on Stijlweb](https://amsterdam.nl/stijlweb/basiselementen/kleuren/#PagCls_15671872) to determine whether you can use black or white text on the background colour of your choice.
|
|
10
10
|
|
|
11
|
-
## Relevant WCAG
|
|
11
|
+
## Relevant WCAG requirements
|
|
12
12
|
|
|
13
13
|
- [WCAG 1.4.3](https://www.w3.org/TR/WCAG21/#contrast-minimum): Large-scale text and images of large-scale text have a contrast ratio of at least 3:1;
|
|
14
14
|
|
|
@@ -12,11 +12,11 @@ A switch applies to a page or the entire system, such as an on/off switch.
|
|
|
12
12
|
- Use labels with a switch to make the action clear.
|
|
13
13
|
- The action takes place immediately when the user operates the switch.
|
|
14
14
|
|
|
15
|
-
## Relevant WCAG
|
|
15
|
+
## Relevant WCAG requirements
|
|
16
16
|
|
|
17
17
|
- [WCAG 1.3.5](https://www.w3.org/WAI/WCAG21/Understanding/identify-input-purpose.html): it is both clear for a user and programmatically what the purpose of a form field is.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Switch is an interactive element; general requirements and guidelines for interactivity apply [here](/docs/docs-developer-guide-interactivity--docs).
|
|
20
20
|
|
|
21
21
|
## References
|
|
22
22
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Tabs are used to bundle related content in a compact overview within a page. Each tab has a short name, and these names indicate the relationship between the information displayed in each tab.
|
|
6
6
|
|
|
7
|
-
## How to
|
|
7
|
+
## How to use
|
|
8
8
|
|
|
9
9
|
- The content of each tab is viewable independently, not in the context of one another.
|
|
10
10
|
- The content within each tab should have a similar structure.
|
|
@@ -4,5 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Hides content from sighted users but keeps it accessible to non-visual user agents, such as screen readers.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
## Class name
|
|
8
|
+
|
|
9
|
+
`ams-visually-hidden`
|
|
10
|
+
|
|
11
|
+
## Guidelines
|
|
12
|
+
|
|
13
|
+
- In most cases, visually available content should be accessible to non-visual user agents and vice versa.
|
|
14
|
+
Elaborate instructions or guidance read only by non-visual user agents can do more harm than good.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ams-form-field-character-counter{color:var(--ams-form-field-character-counter-color);font-family:var(--ams-form-field-character-counter-font-family);font-size:var(--ams-form-field-character-counter-font-size);font-weight:var(--ams-form-field-character-counter-font-weight);line-height:var(--ams-form-field-character-counter-line-height);text-rendering:optimizeLegibility;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}.ams-form-field-character-counter--error{color:var(--ams-form-field-character-counter-error-color)}/*# sourceMappingURL=form-field-character-counter.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/components/form-field-character-counter/form-field-character-counter.scss","../../src/common/text-rendering.scss"],"names":[],"mappings":"AAOA,kCACE,oDACA,gEACA,4DACA,gEACA,gECFA,kCACA,2BACA,8BACA,sBDIF,yCACE","file":"form-field-character-counter.css"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@import "../../common/text-rendering";
|
|
7
|
-
|
|
8
|
-
.ams-form-field-character-counter {
|
|
9
|
-
color: var(--ams-form-field-character-counter-color);
|
|
10
|
-
font-family: var(--ams-form-field-character-counter-font-family);
|
|
11
|
-
font-size: var(--ams-form-field-character-counter-font-size);
|
|
12
|
-
font-weight: var(--ams-form-field-character-counter-font-weight);
|
|
13
|
-
line-height: var(--ams-form-field-character-counter-line-height);
|
|
14
|
-
|
|
15
|
-
@include text-rendering;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ams-form-field-character-counter--error {
|
|
19
|
-
color: var(--ams-form-field-character-counter-error-color);
|
|
20
|
-
}
|