@rijkshuisstijl-community/components-css 1.0.0-alpha.27 → 1.0.0-alpha.6

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.
Files changed (49) hide show
  1. package/button/README.md +3 -0
  2. package/button/index.scss +10 -12
  3. package/package.json +12 -8
  4. package/accordion/index.scss +0 -68
  5. package/action-group/index.scss +0 -11
  6. package/alert/index.scss +0 -27
  7. package/article/index.scss +0 -1
  8. package/blockquote/_mixin.scss +0 -85
  9. package/blockquote/index.scss +0 -34
  10. package/breadcrumb-nav/index.scss +0 -25
  11. package/button/_mixin.scss +0 -36
  12. package/checkbox/_mixin.scss +0 -103
  13. package/checkbox/index.scss +0 -34
  14. package/dot-badge/_mixin.scss +0 -12
  15. package/dot-badge/index.scss +0 -9
  16. package/fieldset/index.scss +0 -11
  17. package/figure/index.scss +0 -18
  18. package/footer/index.scss +0 -37
  19. package/form/index.scss +0 -3
  20. package/form-field/index.scss +0 -13
  21. package/form-field-error-message/index.scss +0 -15
  22. package/form-field-radio-option/index.scss +0 -13
  23. package/hero/_mixin.scss +0 -93
  24. package/hero/index.scss +0 -73
  25. package/index.scss +0 -40
  26. package/link/_mixin.scss +0 -34
  27. package/link/index.scss +0 -41
  28. package/link-list/index.scss +0 -9
  29. package/link-list-card/index.scss +0 -10
  30. package/logo/_mixin.scss +0 -53
  31. package/logo/index.scss +0 -26
  32. package/navbar/index.scss +0 -55
  33. package/navigation-list/_mixin.scss +0 -88
  34. package/navigation-list/index.scss +0 -43
  35. package/ordered-list/index.scss +0 -18
  36. package/radio/index.scss +0 -27
  37. package/radio-group/_mixin.scss +0 -12
  38. package/radio-group/index.scss +0 -10
  39. package/select/index.scss +0 -19
  40. package/separator/index.scss +0 -14
  41. package/side-nav/index.scss +0 -50
  42. package/skip-link/_mixin.scss +0 -13
  43. package/skip-link/index.scss +0 -43
  44. package/table/index.scss +0 -56
  45. package/textarea/index.scss +0 -8
  46. package/textbox/index.scss +0 -6
  47. package/toggletip/_mixin.scss +0 -59
  48. package/toggletip/index.scss +0 -48
  49. package/unordered-list/index.scss +0 -27
package/hero/_mixin.scss DELETED
@@ -1,93 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @mixin rhc-hero {
7
- block-size: auto;
8
- inline-size: var(--rhc-hero-inline-size);
9
- overflow: hidden;
10
- position: relative;
11
- }
12
-
13
- @mixin rhc-hero--aspect-ratio-16-9 {
14
- aspect-ratio: 16 / 9;
15
- }
16
-
17
- @mixin rhc-hero--aspect-ratio-1-1 {
18
- aspect-ratio: 1 / 1;
19
- }
20
-
21
- @mixin rhc-hero--aspect-ratio-4-3 {
22
- aspect-ratio: 4 / 3;
23
- }
24
-
25
- @mixin rhc-hero__message {
26
- background-color: var(--rhc-hero-message-background-color);
27
- box-sizing: border-box;
28
- color: var(--rhc-hero-message-color, inherit);
29
- display: flex;
30
- flex-direction: column;
31
- inline-size: var(--rhc-hero-message-inline-size);
32
- inset-block-end: 0;
33
- padding-block-end: var(--rhc-hero-message-padding-block-end);
34
- padding-block-start: var(--rhc-hero-message-padding-block-start);
35
- padding-inline-end: var(--rhc-hero-message-padding-inline-end);
36
- padding-inline-start: var(--rhc-hero-message-padding-inline-start);
37
- position: absolute;
38
- row-gap: var(--rhc-hero-message-row-gap);
39
- }
40
-
41
- @mixin rhc-hero__heading-group {
42
- display: flex;
43
- flex-direction: column;
44
- row-gap: var(--rhc-hero-message-heading-group-row-gap, var(--rhc-hero-message-row-gap));
45
- }
46
-
47
- @mixin rhc-hero--border-radius-corner-end-end {
48
- border-end-end-radius: var(--rhc-hero-border-radius);
49
- }
50
-
51
- @mixin rhc-hero--border-radius-corner-end-start {
52
- border-end-start-radius: var(--rhc-hero-border-radius);
53
- }
54
-
55
- @mixin rhc-hero--border-radius-corner-start-end {
56
- border-start-end-radius: var(--rhc-hero-border-radius);
57
- }
58
-
59
- @mixin rhc-hero--border-radius-corner-start-start {
60
- border-start-start-radius: var(--rhc-hero-border-radius);
61
- }
62
-
63
- @mixin rhc-hero__message--text-align-start {
64
- border-start-end-radius: var(--rhc-hero-message-border-radius);
65
- inset-inline-start: 0;
66
- }
67
-
68
- @mixin rhc-hero__message--text-align-end {
69
- border-start-start-radius: var(--rhc-hero-message-border-radius);
70
- inset-inline-end: 0;
71
- }
72
-
73
- @mixin rhc-hero__image {
74
- block-size: auto;
75
- inline-size: var(--rhc-hero-inline-size);
76
- position: relative;
77
- }
78
-
79
- @mixin rhc-hero__heading {
80
- color: currentColor;
81
- font-family: var(--rhc-hero-heading-font-family);
82
- font-size: var(--rhc-hero-heading-font-size);
83
- font-weight: var(--rhc-hero-heading-font-weight);
84
- line-height: var(--rhc-hero-heading-line-height);
85
- }
86
-
87
- @mixin rhc-hero__sub-heading {
88
- color: currentColor;
89
- font-family: var(--rhc-hero-sub-heading-font-family);
90
- font-size: var(--rhc-hero-sub-heading-font-size);
91
- font-weight: var(--rhc-hero-sub-heading-font-weight);
92
- line-height: var(--rhc-hero-sub-heading-line-height);
93
- }
package/hero/index.scss DELETED
@@ -1,73 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
- @import "./mixin";
6
-
7
- .rhc-hero {
8
- @include rhc-hero;
9
- }
10
-
11
- .rhc-hero--aspect-ratio-16-9 {
12
- @include rhc-hero--aspect-ratio-16-9;
13
- }
14
-
15
- .rhc-hero--aspect-ratio-1-1 {
16
- @include rhc-hero--aspect-ratio-1-1;
17
- }
18
-
19
- .rhc-hero--aspect-ratio-4-3 {
20
- @include rhc-hero--aspect-ratio-4-3;
21
- }
22
-
23
- .rhc-hero__message {
24
- @include rhc-hero__message;
25
- }
26
-
27
- .rhc-hero__message .utrecht-heading-group {
28
- @include rhc-hero__heading-group;
29
- }
30
-
31
- .rhc-hero--text-align-start:not(.rhc-hero--custom-border-radius-corner) {
32
- @include rhc-hero--border-radius-corner-start-start;
33
- }
34
-
35
- .rhc-hero--text-align-start .rhc-hero__message {
36
- @include rhc-hero__message--text-align-start;
37
- }
38
-
39
- .rhc-hero--text-align-end:not(.rhc-hero--custom-border-radius-corner) {
40
- @include rhc-hero--border-radius-corner-start-end;
41
- }
42
-
43
- .rhc-hero--text-align-end .rhc-hero__message {
44
- @include rhc-hero__message--text-align-end;
45
- }
46
-
47
- .rhc-hero--custom-border-radius-corner.rhc-hero--border-radius-corner-start-start {
48
- @include rhc-hero--border-radius-corner-start-start;
49
- }
50
-
51
- .rhc-hero--custom-border-radius-corner.rhc-hero--border-radius-corner-start-end {
52
- @include rhc-hero--border-radius-corner-start-end;
53
- }
54
-
55
- .rhc-hero--custom-border-radius-corner.rhc-hero--border-radius-corner-end-start {
56
- @include rhc-hero--border-radius-corner-end-start;
57
- }
58
-
59
- .rhc-hero--custom-border-radius-corner.rhc-hero--border-radius-corner-end-end {
60
- @include rhc-hero--border-radius-corner-end-end;
61
- }
62
-
63
- .rhc-hero__image {
64
- @include rhc-hero__image;
65
- }
66
-
67
- .rhc-hero__heading {
68
- @include rhc-hero__heading;
69
- }
70
-
71
- .rhc-hero__sub-heading {
72
- @include rhc-hero__sub-heading;
73
- }
package/index.scss DELETED
@@ -1,40 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @import "accordion/index";
7
- @import "action-group/index";
8
- @import "alert/index";
9
- @import "article/index";
10
- @import "blockquote/index";
11
- @import "breadcrumb-nav/index";
12
- @import "button/index";
13
- @import "dot-badge";
14
- @import "checkbox/index";
15
- @import "fieldset/index";
16
- @import "figure/index";
17
- @import "form/index";
18
- @import "form-field/index";
19
- @import "form-field-error-message/index";
20
- @import "form-field-radio-option/index";
21
- @import "footer/index";
22
- @import "hero/index";
23
- @import "link-list/index";
24
- @import "link-list-card/index";
25
- @import "link/index";
26
- @import "logo/index";
27
- @import "navbar/index";
28
- @import "navigation-list/index";
29
- @import "ordered-list/index";
30
- @import "radio/index";
31
- @import "radio-group/index";
32
- @import "select/index";
33
- @import "separator/index";
34
- @import "side-nav/index";
35
- @import "skip-link/index";
36
- @import "table/index";
37
- @import "textarea/index";
38
- @import "textbox/index";
39
- @import "toggletip/index";
40
- @import "unordered-list/index";
package/link/_mixin.scss DELETED
@@ -1,34 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @mixin rhc-link--any-link {
7
- --utrecht-icon-inset-block-start: var(--utrecht-link-icon-inset-block-start, inherit);
8
-
9
- column-gap: var(--utrecht-link-column-gap, inherit);
10
- display: inline-flex;
11
- }
12
-
13
- @mixin rhc-link--icon {
14
- min-block-size: var(--utrecht-link-icon-size, inherit);
15
- min-inline-size: var(--utrecht-link-icon-size, inherit);
16
- }
17
-
18
- @mixin rhc-link--visited {
19
- --utrecht-link-text-decoration-color: var(--utrecht-link-visited-color, inherit);
20
-
21
- color: var(--utrecht-link-visited-color, inherit);
22
- }
23
-
24
- @mixin rhc-link--visited-icon {
25
- color: var(--utrecht-link-visited-color, inherit);
26
- }
27
-
28
- @mixin rhc-link--active {
29
- --utrecht-link-text-decoration: var(--utrecht-link-active-text-decoration, inherit);
30
- }
31
-
32
- @mixin rhc-link--focus-visible {
33
- z-index: var(--utrecht-stack-focus-z-index, 1);
34
- }
package/link/index.scss DELETED
@@ -1,41 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
- @import "../button/mixin";
6
- @import "./mixin";
7
-
8
- .utrecht-rich-text .utrecht-link {
9
- margin-block-end: var(--utrecht-link-margin-block-end);
10
- }
11
-
12
- .utrecht-link:any-link {
13
- @include rhc-link--any-link;
14
- }
15
-
16
- .utrecht-link:any-link .utrecht-icon {
17
- @include rhc-link--icon;
18
- }
19
-
20
- .utrecht-link:visited,
21
- .utrecht-link--visted {
22
- @include rhc-link--visited;
23
- }
24
-
25
- .utrecht-link:visited .utrecht-icon {
26
- @include rhc-link--visited-icon;
27
- }
28
-
29
- .utrecht-link:active,
30
- .utrecht-link--active {
31
- @include rhc-link--active;
32
- }
33
-
34
- .utrecht-link:focus-visible,
35
- .utrecht-link--focus-visible {
36
- @include rhc-link--focus-visible;
37
- }
38
-
39
- .utrecht-link .rhc-link__sr-only {
40
- @include invisible-but-accessible;
41
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- .utrecht-link-list__link {
7
- --utrecht-link-icon-inset-block-start: var(--utrecht-link-list-icon-inset-block-start, inherit);
8
- --utrecht-link-column-gap: var(--utrecht-link-list-item-column-gap, inherit);
9
- }
@@ -1,10 +0,0 @@
1
- .rhc-link-list-card {
2
- background-color: var(--rhc-link-list-card-background-color);
3
- display: flex;
4
- flex-direction: column;
5
- gap: var(--rhc-link-list-card-row-gap);
6
- padding-block-end: var(--rhc-link-list-card-padding-block-end);
7
- padding-block-start: var(--rhc-link-list-card-padding-block-start);
8
- padding-inline-end: var(--rhc-link-list-card-padding-inline-end);
9
- padding-inline-start: var(--rhc-link-list-card-padding-inline-start);
10
- }
package/logo/_mixin.scss DELETED
@@ -1,53 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @mixin rhc-logo {
7
- display: grid;
8
- font-family: var(--rhc-logo-font-family);
9
- font-size: var(--rhc-logo-title-font-size, 1em);
10
- font-weight: var(--rhc-logo-title-font-weight);
11
- gap: 0 var(--rhc-logo-column-gap, inherit);
12
- grid-auto-rows: var(--rhc-logo-img-inline-size);
13
- grid-template-areas: ". img ." ". img caption";
14
- grid-template-columns: 1fr var(--rhc-logo-img-inline-size) 1fr;
15
- grid-template-rows: var(--rhc-logo-title-padding-block-start) 1fr;
16
- line-height: var(--rhc-logo-title-line-height, 1);
17
- margin-block-end: var(--rhc-logo-margin-block-end, 0);
18
- margin-block-start: var(--rhc-logo-margin-block-start, 0);
19
- margin-inline-end: var(--rhc-logo-margin-inline-end, 0);
20
- margin-inline-start: var(--rhc-logo-margin-inline-start, 0);
21
- min-block-size: calc(var(--rhc-logo-rows, 2) * var(--rhc-logo-img-inline-size));
22
- }
23
-
24
- @mixin rhc-logo__img {
25
- align-items: center;
26
- background-color: var(--rhc-logo-img-background-color, inherit);
27
- block-size: var(--rhc-logo-img-block-size, inherit);
28
- color: var(--rhc-logo-img-color, inherit);
29
- display: flex;
30
- flex-direction: column;
31
- grid-area: img;
32
- inline-size: var(--rhc-logo-img-inline-size, inherit);
33
- justify-content: end;
34
- }
35
-
36
- @mixin rhc-logo__caption {
37
- color: var(--rhc-logo-color, inherit);
38
- grid-area: caption;
39
- max-inline-size: calc(210 / 14 * var(--rhc-logo-font-size, 1em));
40
- }
41
-
42
- @mixin rhc-logo__title {
43
- /* reset margin of HTML <h1> element */
44
- margin-block-end: 0;
45
- margin-block-start: 0;
46
- white-space: pre-line;
47
- }
48
-
49
- @mixin rhc-logo__subtitle {
50
- font-size: var(--rhc-logo-subtitle-font-size, 1em);
51
- font-weight: var(--rhc-logo-subtitle-font-weight);
52
- line-height: var(--rhc-logo-subtitle-line-height, 1);
53
- }
package/logo/index.scss DELETED
@@ -1,26 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
- @import "./mixin";
6
-
7
- .rhc-logo {
8
- @include rhc-logo;
9
- }
10
-
11
- .rhc-logo__img {
12
- @include rhc-logo__img;
13
- }
14
-
15
- .rhc-logo__caption {
16
- @include rhc-logo__caption;
17
- }
18
-
19
- .rhc-logo__title {
20
- @include rhc-logo__title;
21
- }
22
-
23
- .rhc-logo__subtitle {
24
- @include rhc-logo__subtitle;
25
- @include rhc-logo__title;
26
- }
package/navbar/index.scss DELETED
@@ -1,55 +0,0 @@
1
- .rhc-nav-bar {
2
- align-items: center;
3
- background-color: var(--rhc-nav-bar-background-color);
4
- border-block-end-width: var(--rhc-nav-bar-border-block-end-width);
5
- color: var(--rhc-nav-bar-color);
6
- column-gap: var(--rhc-nav-bar-content-column-gap);
7
- display: flex;
8
- font-family: var(--rhc-font-family-primary, inherit);
9
- justify-content: space-between;
10
- row-gap: var(--rhc-nav-bar-content-row-gap);
11
- }
12
-
13
- .rhc-nav-bar__list {
14
- background-color: var(--rhc-nav-bar-background-color);
15
- display: flex;
16
- list-style: none;
17
- margin-block: 0;
18
- margin-inline: 0;
19
- padding-block: 0;
20
- padding-inline: 0;
21
- }
22
-
23
- .rhc-nav-bar__list--end {
24
- margin-inline-start: auto;
25
- }
26
-
27
- .rhc-nav-bar__heading {
28
- font-weight: var(--rhc-nav-bar-heading-font-weight);
29
- }
30
-
31
- .rhc-nav-bar__link {
32
- --utrecht-link-text-decoration: none;
33
- --utrecht-link-visited-color: var(--rhc-nav-bar-color);
34
-
35
- color: var(--rhc-nav-bar-color);
36
- padding-block-end: var(--rhc-nav-bar-link-padding-block-end);
37
- padding-block-start: var(--rhc-nav-bar-link-padding-block-start);
38
- padding-inline-end: var(--rhc-nav-bar-link-padding-inline-end);
39
- padding-inline-start: var(--rhc-nav-bar-link-padding-inline-start);
40
- text-decoration: none;
41
-
42
- &:hover {
43
- background-color: var(--rhc-nav-bar-link-hover-background-color);
44
- }
45
-
46
- &:focus {
47
- background-color: var(--rhc-nav-bar-link-focus-background-color);
48
- color: var(--rhc-nav-bar-link-focus-color);
49
- }
50
-
51
- &:active {
52
- background-color: var(--rhc-nav-bar-link-active-background-color);
53
- color: var(--rhc-nav-bar-link-active-color);
54
- }
55
- }
@@ -1,88 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
- @mixin rhc-navigation-list {
6
- display: flex;
7
- flex-direction: column;
8
- list-style: none;
9
- margin-block: 0;
10
- padding-inline: 0;
11
- &:last-child {
12
- border-block-start-color: var(--rhc-navigation-list-item-border-color, var(--rhc-color-grijs-300));
13
- border-block-start-style: solid;
14
- border-block-start-width: var(--rhc-navigation-list-item-border-width, var(--rhc-border-width-default));
15
- }
16
- }
17
- @mixin rhc-navigation-list__item {
18
- align-items: center;
19
- background-color: var(--rhc-navigation-list-item-background-color, var(--rhc-color-canvas));
20
- border-block-end-color: var(--rhc-navigation-list-item-border-color, var(--rhc-color-grijs-300));
21
- border-block-end-style: solid;
22
- border-block-end-width: var(--rhc-navigation-list-item-border-width, var(--rhc-border-width-default));
23
- color: var(--rhc-navigation-list-item-color, var(--rhc-color-foreground-subdued));
24
- column-gap: var(--rhc-navigation-list-item-column-gap, var(--rhc-space-100));
25
- display: flex;
26
- min-block-size: var(--rhc-navigation-list-item-min-height, var(--rhc-size-target));
27
- padding-block: var(--rhc-navigation-list-item-padding-block, var(--rhc-space-100));
28
- padding-inline: var(--rhc-navigation-list-item-padding-inline, var(--rhc-space-200));
29
- position: relative;
30
- text-decoration: none;
31
- &:hover {
32
- background-color: var(--rhc-navigation-list-item-hover-background-color, var(--rhc-color-grijs-50));
33
- }
34
-
35
- &:focus {
36
- background-color: var(--rhc-navigation-list-item-focus-background-color, var(--rhc-color-lintblauw-50));
37
- z-index: 999;
38
- }
39
-
40
- &:active {
41
- background-color: var(--rhc-navigation-list-item-active-background-color, var(--rhc-color-grijs-100));
42
- }
43
- }
44
-
45
- @mixin rhc-navigation-list__item__start-icon {
46
- background-color: var(--rhc-navigation-list-icon-background-color, var(--rhc-color-wit));
47
- block-size: var(--rhc-navigation-list-item-icon-size);
48
- border-radius: var(--rhc-navigation-list-icon-border-radius, var(--rhc-border-radius-circle));
49
- color: var(--rhc-navigation-list-icon-color, var(--rhc-color-foreground-subdued));
50
- grid-area: start-icon;
51
- min-inline-size: var(--rhc-navigation-list-item-icon-size);
52
- padding-block: var(--rhc-navigation-list-item-icon-padding-block);
53
- padding-inline: var(--rhc-navigation-list-item-icon-padding-inline);
54
- }
55
-
56
- @mixin rhc-navigation-list__item-content {
57
- align-items: center;
58
- display: grid;
59
- flex: 1;
60
- grid-column-gap: var(--rhc-navigation-list-item-content-column-gap, var(--rhc-space-100));
61
- grid-row-gap: var(--rhc-navigation-list-item-content-row-gap, var(--rhc-space-100));
62
- grid-template-areas:
63
- "label content content end-icon"
64
- "label content content end-icon";
65
- grid-template-columns: 1fr 1fr 1fr auto;
66
- }
67
-
68
- @mixin rhc-navigation-list__item__label {
69
- color: var(--rhc-navigation-list-item-heading-color, var(--rhc-color-foreground-lint));
70
- font-family: var(--rhc-navigation-list-item-label-font-family, var(--rhc-font-family-primary)), sans-serif;
71
- font-size: var(--rhc-navigation-list-item-label-font-size, var(--rhc-font-size-md-desktop));
72
- font-weight: var(--rhc-navigation-list-item-label-font-weight, var(--rhc-font-weight-bold));
73
- grid-area: label;
74
- line-height: var(--rhc-navigation-list-item-label-line-height, var(--rhc-line-height-md));
75
- }
76
- @mixin rhc-navigation-list__item__description {
77
- color: inherit;
78
- grid-area: content;
79
- @media (width<= 768px) {
80
- text-align: start;
81
- }
82
- }
83
-
84
- @mixin rhc-navigation-list__item__end-icon {
85
- align-self: center;
86
- grid-area: end-icon;
87
- justify-self: end;
88
- }
@@ -1,43 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
- @import "./mixin";
6
-
7
- .rhc-navigation-list {
8
- @include rhc-navigation-list;
9
- &__item {
10
- @include rhc-navigation-list__item;
11
- &-content {
12
- @include rhc-navigation-list__item-content;
13
- }
14
- &__label {
15
- @include rhc-navigation-list__item__label;
16
- }
17
- &__description {
18
- @include rhc-navigation-list__item__description;
19
- }
20
- &__start-icon {
21
- @include rhc-navigation-list__item__start-icon;
22
- }
23
- &__end-icon {
24
- @include rhc-navigation-list__item__end-icon;
25
- }
26
- }
27
- }
28
- .rhc-navigation-list--container-small {
29
- container-type: inline-size;
30
- }
31
- @container (width <= 768px) {
32
- .rhc-navigation-list__item-content {
33
- grid-template-areas:
34
- "label label label end-icon"
35
- "content content content end-icon";
36
- }
37
- .rhc-navigation-list__item__start-icon {
38
- align-self: start;
39
- }
40
- .rhc-navigation-list__item__description {
41
- text-align: start;
42
- }
43
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- .utrecht-ordered-list {
7
- color: var(--utrecht-ordered-list-color);
8
- font-weight: var(--utrecht-ordered-list-font-weight);
9
- line-height: var(--utrecht-ordered-list-line-height) !important;
10
- margin-block-end: var(--utrecht-ordered-list-margin-block-end);
11
- margin-block-start: var(--utrecht-ordered-list-margin-block-start);
12
- margin-inline-start: var(--utrecht-ordered-list-margin-inline-start);
13
- padding-inline-start: var(--utrecht-ordered-list-padding-inline-start);
14
- }
15
-
16
- .utrecht-ordered-list__item {
17
- padding-inline-start: var(--utrecht-ordered-list-item-padding-inline-start);
18
- }
package/radio/index.scss DELETED
@@ -1,27 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- .utrecht-radio-button {
7
- --utrecht-radio-button-icon-size: calc(var(--utrecht-radio-button-dot-size) * 0.5);
8
- }
9
-
10
- .utrecht-radio-button:focus,
11
- .utrecht-radio-button--focus {
12
- --utrecht-radio-button-checked-color: var(--utrecht-radio-button-checked-background-color, inherit);
13
- }
14
-
15
- .utrecht-radio-button:disabled,
16
- .utrecht-radio-button--disabled {
17
- --utrecht-radio-button-checked-color: var(--utrecht-radio-button-disabled-color, inherit);
18
- }
19
-
20
- .utrecht-radio-button:invalid,
21
- .utrecht-radio-button--invalid {
22
- --utrecht-radio-button-background-color: var(--utrecht-radio-button-invalid-background-color, inherit);
23
- &:hover,
24
- &:focus {
25
- background-color: var(--utrecht-radio-button-background-color);
26
- }
27
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @mixin rhc-radio-group {
7
- display: flex;
8
- flex-direction: column;
9
- padding-block-end: var(--rhc-radio-group-padding-block-end, inherit);
10
- padding-block-start: var(--rhc-radio-group-padding-block-start, inherit);
11
- row-gap: var(--rhc-radio-group-row-gap, inherit);
12
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @import "./mixin";
7
-
8
- .rhc-radio-group {
9
- @include rhc-radio-group;
10
- }
package/select/index.scss DELETED
@@ -1,19 +0,0 @@
1
- .utrecht-select {
2
- &--html-select {
3
- // This is an svg of chevron down icon
4
- --utrecht-select-background-image: url('data:image/svg+xml,<svg width="8" height="3" viewBox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L7 5.58579L12.2929 0.292893C12.6834 -0.0976311 13.3166 -0.0976311 13.7071 0.292893C14.0976 0.683417 14.0976 1.31658 13.7071 1.70711L7.70711 7.70711C7.31658 8.09763 6.68342 8.09763 6.29289 7.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z" fill="%23154273"/></svg>');
5
- --utrecht-select-image-background-position: right 0.5rem center;
6
-
7
- // The same for the background-position but I made a token so it can be easily changed as in the next class
8
- background-position: var(--utrecht-select-image-background-position) !important;
9
-
10
- // the important is needed to overwrite the default background-size as set in the utrecht-select component to 1.4rem which is hardcoded
11
- background-size: var(--utrecht-select-icon-size) !important;
12
- }
13
- &--html-select-rtl {
14
- --utrecht-select-image-background-position: left 0.5rem center;
15
- }
16
- &:focus {
17
- border-width: var(--utrecht-select-focus-border-width, var(--rhc-border-width-m, 2px)) !important;
18
- }
19
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- .utrecht-separator {
7
- --utrecht-space-around: 1;
8
-
9
- margin-inline-end: 0;
10
- margin-inline-start: 0;
11
- &--invisible {
12
- --utrecht-separator-color: transparent;
13
- }
14
- }