@ilo-org/styles 0.8.1 → 0.8.3
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 +100 -80
- package/build/css/components/index.css.map +1 -1
- package/build/css/global.css +1 -1
- package/build/css/index.css +100 -80
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +100 -80
- 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/card.css +1 -1
- package/css/components/cardgroup.css +1 -1
- package/css/components/featurecard.css +1 -1
- package/css/components/promocard.css +1 -1
- 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/_card.scss +3 -0
- package/scss/components/_cardgroup.scss +5 -0
- package/scss/components/_featurecard.scss +1 -0
- package/scss/components/_promocard.scss +23 -7
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
position: relative;
|
|
12
|
+
background-color: map-get($color, "base", "neutrals", "white");
|
|
12
13
|
|
|
13
14
|
// Max width is set in the invididual card types unless fluid
|
|
14
15
|
max-width: var(--max-width);
|
|
@@ -85,6 +86,8 @@
|
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
&--wrapper {
|
|
89
|
+
max-width: var(--max-width);
|
|
90
|
+
|
|
88
91
|
&:hover,
|
|
89
92
|
&:focus,
|
|
90
93
|
&:focus-within {
|
|
@@ -6,9 +6,31 @@
|
|
|
6
6
|
.ilo--card {
|
|
7
7
|
$self: &;
|
|
8
8
|
|
|
9
|
+
&--wrapper__type__promo {
|
|
10
|
+
--max-width: #{px-to-rem(634px)};
|
|
11
|
+
|
|
12
|
+
&__size {
|
|
13
|
+
&__narrow {
|
|
14
|
+
--max-width: #{px-to-rem(343px)};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__standard {
|
|
18
|
+
--max-width: #{px-to-rem(634px)};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__wide {
|
|
22
|
+
--max-width: #{px-to-rem(920px)};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__fluid {
|
|
26
|
+
--max-width: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
9
31
|
&__type {
|
|
10
32
|
&__promo {
|
|
11
|
-
--max-width: #{px-to-rem(343px)};
|
|
33
|
+
// --max-width: #{px-to-rem(343px)};
|
|
12
34
|
|
|
13
35
|
padding: px-to-rem(40px) px-to-rem(24px);
|
|
14
36
|
width: 100%;
|
|
@@ -23,8 +45,6 @@
|
|
|
23
45
|
|
|
24
46
|
&#{$self}__size {
|
|
25
47
|
&__standard {
|
|
26
|
-
--max-width: #{px-to-rem(634px)};
|
|
27
|
-
|
|
28
48
|
padding: px-to-rem(48px);
|
|
29
49
|
|
|
30
50
|
@include breakpoint("medium") {
|
|
@@ -42,8 +62,6 @@
|
|
|
42
62
|
|
|
43
63
|
&__wide,
|
|
44
64
|
&__fluid {
|
|
45
|
-
--max-width: #{px-to-rem(920px)};
|
|
46
|
-
|
|
47
65
|
padding: px-to-rem(64px) px-to-rem(72px);
|
|
48
66
|
|
|
49
67
|
@include breakpoint("medium") {
|
|
@@ -60,8 +78,6 @@
|
|
|
60
78
|
}
|
|
61
79
|
|
|
62
80
|
&__narrow {
|
|
63
|
-
--max-width: #{px-to-rem(343px)};
|
|
64
|
-
|
|
65
81
|
padding: px-to-rem(40px) px-to-rem(24px);
|
|
66
82
|
|
|
67
83
|
@include breakpoint("medium") {
|