@ilo-org/styles 0.5.0 → 0.6.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/build/css/components/index.css +122 -70
- package/build/css/components/index.css.map +1 -1
- package/build/css/global.css +1 -1
- package/build/css/index.css +122 -70
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +122 -70
- 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/css/components/accordion.css +1 -1
- package/css/components/card.css +1 -1
- package/css/components/cardgroup.css +1 -1
- package/css/components/datacard.css +1 -0
- package/css/components/detailcard.css +1 -0
- package/css/components/experiment.css +1 -0
- package/css/components/factlistcard.css +1 -0
- package/css/components/featurecard.css +1 -0
- package/css/components/formcontrol.css +1 -0
- package/css/components/logogrid.css +1 -0
- package/css/components/multilinkcard.css +1 -0
- package/css/components/promocard.css +1 -0
- package/css/components/statcard.css +1 -0
- package/css/components/textcard.css +1 -0
- package/css/components/textinput.css +1 -0
- package/css/components/toggle.css +1 -0
- package/css/global.css.map +1 -1
- package/css/index.css +1 -1
- package/css/index.css.map +1 -1
- package/css/monorepo.css +1 -1
- package/css/monorepo.css.map +1 -1
- package/package.json +1 -1
- package/scss/components/_accordion.scss +8 -0
- package/scss/components/_card.scss +0 -1
- package/scss/components/_cardgroup.scss +2 -2
- package/scss/components/_logogrid.scss +52 -0
- package/scss/components/index.scss +1 -0
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
.ilo--accordion {
|
|
6
6
|
$transition-timing: 150ms;
|
|
7
7
|
$transition-timing-long: 225ms;
|
|
8
|
+
$scroll-max-height: 500px;
|
|
8
9
|
|
|
9
10
|
&--button {
|
|
10
11
|
align-items: center;
|
|
@@ -79,6 +80,7 @@
|
|
|
79
80
|
--height: auto;
|
|
80
81
|
color: $color-ux-labels-default;
|
|
81
82
|
font-family: $fonts-copy;
|
|
83
|
+
position: relative;
|
|
82
84
|
height: 0px;
|
|
83
85
|
overflow: hidden;
|
|
84
86
|
transition: height $transition-timing-long ease-out,
|
|
@@ -97,6 +99,12 @@
|
|
|
97
99
|
padding $transition-timing-long ease-out;
|
|
98
100
|
}
|
|
99
101
|
|
|
102
|
+
&__scroll {
|
|
103
|
+
max-height: $scroll-max-height;
|
|
104
|
+
overflow-y: auto;
|
|
105
|
+
padding-right: px-to-rem($spacing-ui-padding-xl);
|
|
106
|
+
}
|
|
107
|
+
|
|
100
108
|
&.collapsing,
|
|
101
109
|
&.expanding {
|
|
102
110
|
height: 0;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
&--two {
|
|
25
25
|
@include breakpoint("large") {
|
|
26
26
|
#{$card} {
|
|
27
|
-
width: calc(50% -
|
|
27
|
+
width: calc(50% - 16px);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
&--three {
|
|
33
33
|
@include breakpoint("large") {
|
|
34
34
|
#{$card} {
|
|
35
|
-
width: calc(33.333% -
|
|
35
|
+
width: calc(33.333% - 21px);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@use "../tokens" as *;
|
|
2
|
+
@use "../functions" as *;
|
|
3
|
+
@import "../mixins";
|
|
4
|
+
|
|
5
|
+
.ilo--logo-grid {
|
|
6
|
+
$c: &;
|
|
7
|
+
|
|
8
|
+
&--logos {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-flow: row wrap;
|
|
11
|
+
grid-gap: px-to-rem(16px);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&--link {
|
|
15
|
+
text-decoration: none;
|
|
16
|
+
transition: background-color 0.2s ease-in-out;
|
|
17
|
+
|
|
18
|
+
#{$c}__theme__light &,
|
|
19
|
+
#{$c}__theme__dark & {
|
|
20
|
+
&:hover {
|
|
21
|
+
background-color: map-get($color, "ux", "background", "hover");
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--item {
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
height: px-to-rem(134px);
|
|
31
|
+
flex: 100%;
|
|
32
|
+
|
|
33
|
+
@include breakpoint("small") {
|
|
34
|
+
flex: 0 0 px-to-rem(238px);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
#{$c}__theme__light & {
|
|
38
|
+
background-color: map-get($color, "ux", "background", "highlight");
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
#{$c}__theme__dark & {
|
|
42
|
+
background-color: map-get($color, "ux", "background", "default");
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
img {
|
|
46
|
+
width: auto;
|
|
47
|
+
height: auto;
|
|
48
|
+
max-width: px-to-rem(150px);
|
|
49
|
+
max-height: px-to-rem(50px);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|