@ilo-org/styles 0.8.2 → 0.8.4
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 +103 -108
- package/build/css/components/index.css.map +1 -1
- package/build/css/global.css +1 -1
- package/build/css/index.css +103 -108
- package/build/css/index.css.map +1 -1
- package/build/css/monorepo.css +103 -108
- 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/cardgroup.css +1 -1
- package/css/components/hero.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/_cardgroup.scss +12 -43
- package/scss/components/_hero.scss +1 -0
- package/scss/components/_promocard.scss +23 -7
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
.ilo--cardgroup {
|
|
6
6
|
$c: &;
|
|
7
|
+
$gap-size: px-to-rem(32px);
|
|
7
8
|
|
|
8
9
|
&__collapsed {
|
|
9
10
|
#{$c}--inner {
|
|
@@ -11,74 +12,40 @@
|
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
&__justify {
|
|
15
|
-
&__start {
|
|
16
|
-
#{$c}--inner {
|
|
17
|
-
justify-content: flex-start;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&__between {
|
|
22
|
-
#{$c}--inner {
|
|
23
|
-
justify-content: space-between;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&__center {
|
|
28
|
-
#{$c}--inner {
|
|
29
|
-
justify-content: center;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
15
|
&__count {
|
|
35
16
|
@include breakpoint("large") {
|
|
36
17
|
&__one {
|
|
37
18
|
#{$c}--inner {
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
#{$c}--card {
|
|
42
|
-
flex: 1 1 100%;
|
|
19
|
+
grid-template-columns: 1fr;
|
|
43
20
|
}
|
|
44
21
|
}
|
|
45
22
|
|
|
46
23
|
&__two {
|
|
47
24
|
#{$c}--inner {
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
#{$c}--card {
|
|
52
|
-
flex: 0 1 calc(50% - 16px);
|
|
25
|
+
grid-template-columns: repeat(2, 1fr);
|
|
53
26
|
}
|
|
54
27
|
}
|
|
55
28
|
|
|
56
29
|
&__three {
|
|
57
30
|
#{$c}--inner {
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
#{$c}--card {
|
|
62
|
-
flex: 0 1 calc(33.3333% - 21px);
|
|
31
|
+
grid-template-columns: repeat(3, 1fr);
|
|
63
32
|
}
|
|
64
33
|
}
|
|
65
34
|
|
|
66
35
|
&__four {
|
|
67
36
|
#{$c}--inner {
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
#{$c}--card {
|
|
72
|
-
flex: 0 1 calc(25% - 24px);
|
|
37
|
+
grid-template-columns: repeat(4, 1fr);
|
|
73
38
|
}
|
|
74
39
|
}
|
|
75
40
|
}
|
|
76
41
|
}
|
|
77
42
|
|
|
78
43
|
&--inner {
|
|
79
|
-
display:
|
|
80
|
-
|
|
81
|
-
|
|
44
|
+
display: grid;
|
|
45
|
+
grid-template-columns: 1fr;
|
|
46
|
+
grid-template-rows: auto;
|
|
47
|
+
column-gap: $gap-size;
|
|
48
|
+
row-gap: $gap-size;
|
|
82
49
|
margin: auto;
|
|
83
50
|
width: 100%;
|
|
84
51
|
|
|
@@ -90,6 +57,8 @@
|
|
|
90
57
|
.ilo--card,
|
|
91
58
|
.ilo--card--wrapper {
|
|
92
59
|
height: 100%;
|
|
60
|
+
width: 100%;
|
|
61
|
+
max-width: 100%;
|
|
93
62
|
}
|
|
94
63
|
|
|
95
64
|
&--button-wrap {
|
|
@@ -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") {
|