blob: f6b6b0345475f4a9a8db14a46bd88d242c1c4f2a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
@include namespace('card') {
@include store((
--dims: (
--pad-x: iro-px-to-rem(11px),
--pad-y: iro-px-to-rem(8px),
--lg: (
--pad-x: iro-px-to-rem(14px),
--pad-y: iro-px-to-rem(11px),
)
)
));
@include layout(namespace()) {
display: flex;
align-items: center;
padding: prop(--dims --pad-y) prop(--dims --pad-x);
gap: prop(--dims --pad-x);
line-height: 1.4;
@include modifier('lg') {
padding: prop(--dims --lg --pad-y) prop(--dims --lg --pad-x);
gap: prop(--dims --lg --pad-x);
}
@include modifier('flush') {
padding: 0;
}
@include element('block') {
flex: 0 0 auto;
@include modifier('main') {
flex-shrink: 1;
width: 100%;
}
}
}
}
|