@ilo-org/styles 0.1.3 → 0.1.5
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/build/css/components/index.css +316 -89
- package/build/css/components/index.css.map +1 -1
- package/build/css/index.css +316 -89
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +316 -89
- package/build/css/monorepo.css.map +1 -1
- package/build/minified/index.css +1 -1
- package/build/minified/index.css.map +1 -1
- package/build/minified/monorepo.css +1 -1
- package/build/minified/monorepo.css.map +1 -1
- package/package.json +3 -3
- package/scss/components/_checkbox.scss +11 -10
- package/scss/components/_datepicker.scss +12 -0
- package/scss/components/_fieldset.scss +12 -0
- package/scss/components/_footer.scss +49 -1
- package/scss/components/_form.scss +24 -0
- package/scss/components/_formgroup.scss +3 -14
- package/scss/components/_hero.scss +37 -0
- package/scss/components/_loading.scss +2 -2
- package/scss/components/_navigation.scss +27 -0
- package/scss/components/_profile.scss +2 -0
- package/scss/components/_radio.scss +11 -0
- package/scss/components/_readmore.scss +2 -2
- package/scss/components/_richtext.scss +26 -0
- package/scss/components/_searchfield.scss +11 -0
- package/scss/components/_tabs.scss +4 -4
- package/scss/components/_tag.scss +5 -1
- package/scss/components/_textarea.scss +5 -16
- package/scss/components/index.scss +1 -0
|
@@ -22,16 +22,19 @@
|
|
|
22
22
|
|
|
23
23
|
&--menu {
|
|
24
24
|
@include dataurlicon("burger", $brand-ilo-white);
|
|
25
|
+
align-self: center;
|
|
25
26
|
background-color: transparent;
|
|
26
27
|
background-position: center;
|
|
27
28
|
background-repeat: no-repeat;
|
|
28
29
|
background-size: 32px;
|
|
29
30
|
border: none;
|
|
30
31
|
cursor: pointer;
|
|
32
|
+
height: 32px;
|
|
31
33
|
overflow: hidden;
|
|
32
34
|
position: relative;
|
|
33
35
|
text-indent: -999%;
|
|
34
36
|
transition: all 150ms ease-out;
|
|
37
|
+
width: 32px;
|
|
35
38
|
|
|
36
39
|
&:hover,
|
|
37
40
|
&:focus {
|
|
@@ -87,6 +90,10 @@
|
|
|
87
90
|
&-link {
|
|
88
91
|
display: block;
|
|
89
92
|
padding: 16px 0;
|
|
93
|
+
|
|
94
|
+
@include breakpoint("large") {
|
|
95
|
+
padding: 0 0 24px;
|
|
96
|
+
}
|
|
90
97
|
}
|
|
91
98
|
}
|
|
92
99
|
|
|
@@ -443,6 +450,17 @@
|
|
|
443
450
|
}
|
|
444
451
|
}
|
|
445
452
|
|
|
453
|
+
&--search {
|
|
454
|
+
.ilo--searchfield {
|
|
455
|
+
max-width: 618px;
|
|
456
|
+
width: 100%;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.ilo--fieldset {
|
|
460
|
+
width: 100%;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
446
464
|
@include breakpoint("large") {
|
|
447
465
|
display: none;
|
|
448
466
|
}
|
|
@@ -726,6 +744,15 @@
|
|
|
726
744
|
justify-content: center;
|
|
727
745
|
padding: 80px 20px;
|
|
728
746
|
}
|
|
747
|
+
|
|
748
|
+
.ilo--searchfield {
|
|
749
|
+
max-width: 618px;
|
|
750
|
+
width: 100%;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.ilo--fieldset {
|
|
754
|
+
width: 100%;
|
|
755
|
+
}
|
|
729
756
|
}
|
|
730
757
|
|
|
731
758
|
.ilo--search {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "../tokens" as *;
|
|
2
2
|
@use "../functions" as *;
|
|
3
|
+
@import "../animations";
|
|
3
4
|
@import "../mixins";
|
|
4
5
|
|
|
5
6
|
.ilo--profile {
|
|
@@ -104,6 +105,7 @@
|
|
|
104
105
|
background-color: $color-base-blue-light;
|
|
105
106
|
color: map-get($color, "link", "text", "hover");
|
|
106
107
|
outline: none;
|
|
108
|
+
@include globaltransition("color, background-color");
|
|
107
109
|
|
|
108
110
|
span {
|
|
109
111
|
@include dataurlicon("arrowright", $color-link-text-hover);
|
|
@@ -93,7 +93,9 @@
|
|
|
93
93
|
margin-bottom: px-to-rem(22px);
|
|
94
94
|
|
|
95
95
|
.ilo--fieldset--label {
|
|
96
|
+
font-family: $fonts-copy;
|
|
96
97
|
font-weight: 400;
|
|
98
|
+
margin-bottom: 0;
|
|
97
99
|
margin-left: px-to-rem($spacing-padding-1);
|
|
98
100
|
margin-top: 2px;
|
|
99
101
|
order: 2;
|
|
@@ -104,4 +106,13 @@
|
|
|
104
106
|
order: 3;
|
|
105
107
|
width: 100%;
|
|
106
108
|
}
|
|
109
|
+
|
|
110
|
+
.right-to-left & {
|
|
111
|
+
direction: rtl;
|
|
112
|
+
|
|
113
|
+
.ilo--fieldset--label {
|
|
114
|
+
margin-left: 0;
|
|
115
|
+
margin-right: px-to-rem($spacing-padding-1);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
107
118
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "../tokens" as *;
|
|
2
2
|
@use "../functions" as *;
|
|
3
|
+
@import "../animations";
|
|
3
4
|
@import "../mixins";
|
|
4
5
|
|
|
5
6
|
.ilo--read-more {
|
|
@@ -35,8 +36,7 @@
|
|
|
35
36
|
@include bordervalues("readmore", "ux", "hover");
|
|
36
37
|
color: $color-ux-labels-hover;
|
|
37
38
|
cursor: pointer;
|
|
38
|
-
|
|
39
|
-
color 150ms linear;
|
|
39
|
+
@include globaltransition("color, background-color, border-color");
|
|
40
40
|
|
|
41
41
|
&:after {
|
|
42
42
|
@include dataurlicon("arrow", $color-ux-labels-hover);
|
|
@@ -9,6 +9,32 @@
|
|
|
9
9
|
|
|
10
10
|
a {
|
|
11
11
|
@include linkstyles();
|
|
12
|
+
border: none;
|
|
13
|
+
text-decoration: underline;
|
|
14
|
+
|
|
15
|
+
&:visited {
|
|
16
|
+
border: none;
|
|
17
|
+
text-decoration: underline;
|
|
18
|
+
text-decoration-color: map-get($color, "link", "underline", "visited");
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
border: none;
|
|
23
|
+
text-decoration: underline;
|
|
24
|
+
text-decoration-color: map-get($color, "link", "underline", "hover");
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:active {
|
|
28
|
+
border: none;
|
|
29
|
+
text-decoration: underline;
|
|
30
|
+
text-decoration-color: map-get($color, "link", "underline", "active");
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:focus {
|
|
34
|
+
border: none;
|
|
35
|
+
text-decoration: underline;
|
|
36
|
+
text-decoration-color: map-get($color, "link", "underline", "focus");
|
|
37
|
+
}
|
|
12
38
|
}
|
|
13
39
|
|
|
14
40
|
img {
|
|
@@ -63,4 +63,15 @@
|
|
|
63
63
|
pointer-events: none;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
+
|
|
67
|
+
.right-to-left & {
|
|
68
|
+
direction: rtl;
|
|
69
|
+
|
|
70
|
+
.ilo--searchfield--button {
|
|
71
|
+
border-left: $spacing-formelements-inputbutton-default-borderrtl-left
|
|
72
|
+
solid $color-formelements-inputbutton-default-border-left;
|
|
73
|
+
border-right: $spacing-formelements-inputbutton-default-borderrtl-right
|
|
74
|
+
solid $color-formelements-inputbutton-default-border-right;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
66
77
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
@import "../mixins";
|
|
4
4
|
|
|
5
5
|
.ilo--tabs {
|
|
6
|
-
border-bottom: px-to-rem(
|
|
7
|
-
border-left: px-to-rem(
|
|
8
|
-
border-right: px-to-rem(
|
|
6
|
+
border-bottom: px-to-rem(3px) solid $color-base-neutrals-lighter;
|
|
7
|
+
border-left: px-to-rem(3px) solid $color-base-neutrals-lighter;
|
|
8
|
+
border-right: px-to-rem(3px) solid $color-base-neutrals-lighter;
|
|
9
9
|
|
|
10
10
|
&:not(.tabs--js) {
|
|
11
11
|
.ilo--tabs--selection {
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
&--item {
|
|
161
|
-
width: min(calc(var(--tabscount) / 1 * 100%),
|
|
161
|
+
width: min(calc(var(--tabscount) / 1 * 100%), 100%);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
);
|
|
16
16
|
@include bordervalues("input", "formelements");
|
|
17
17
|
box-sizing: border-box;
|
|
18
|
-
font-family: $fonts-
|
|
18
|
+
font-family: $fonts-copy;
|
|
19
19
|
font-weight: map-get($type, "weights", "section");
|
|
20
20
|
@include font-styles("label-medium");
|
|
21
21
|
height: px-to-rem(
|
|
@@ -30,21 +30,6 @@
|
|
|
30
30
|
@include spacingvalues("padding", "input", "formelements");
|
|
31
31
|
width: map-get($spacing, "formelements", "input", "default", "width");
|
|
32
32
|
|
|
33
|
-
&::-webkit-resizer {
|
|
34
|
-
background-size: cover;
|
|
35
|
-
background-repeat: no-repeat;
|
|
36
|
-
bottom: 2px;
|
|
37
|
-
height: 12px;
|
|
38
|
-
right: 0;
|
|
39
|
-
pointer-events: none;
|
|
40
|
-
position: absolute;
|
|
41
|
-
width: 22px;
|
|
42
|
-
@include dataurlicon(
|
|
43
|
-
"scalenerighttriangle",
|
|
44
|
-
$color-formelements-input-default-border-bottom
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
33
|
&:focus {
|
|
49
34
|
background-color: map-get(
|
|
50
35
|
$color,
|
|
@@ -74,4 +59,8 @@
|
|
|
74
59
|
);
|
|
75
60
|
@include bordervalues("input", "formelements", "error");
|
|
76
61
|
}
|
|
62
|
+
|
|
63
|
+
.right-to-left & {
|
|
64
|
+
direction: rtl;
|
|
65
|
+
}
|
|
77
66
|
}
|