diff options
Diffstat (limited to 'src/.old/objects/_list-group.scss')
-rw-r--r-- | src/.old/objects/_list-group.scss | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/.old/objects/_list-group.scss b/src/.old/objects/_list-group.scss deleted file mode 100644 index d46722e..0000000 --- a/src/.old/objects/_list-group.scss +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use '../functions' as fn; | ||
3 | |||
4 | @include iro.props-namespace('list-group') { | ||
5 | @include iro.props-store(( | ||
6 | --dims: ( | ||
7 | --pad-x: fn.global-dim(--size --175), | ||
8 | --pad-y: fn.global-dim(--size --125), | ||
9 | --rounding: 3px, | ||
10 | ), | ||
11 | ), 'dims'); | ||
12 | |||
13 | @include iro.props-store(( | ||
14 | --colors: ( | ||
15 | --bg: fn.global-color(--bg-hi2), | ||
16 | --border: fn.global-color(--obj), | ||
17 | --hover: fn.global-color(--bg), | ||
18 | --press: fn.global-color(--obj-hi), | ||
19 | ) | ||
20 | ), 'colors'); | ||
21 | |||
22 | @include iro.bem-object(iro.props-namespace()) { | ||
23 | border: 1px solid fn.color(--border); | ||
24 | border-radius: fn.dim(--rounding); | ||
25 | background-color: fn.color(--bg); | ||
26 | |||
27 | @include iro.bem-elem('item') { | ||
28 | padding: fn.dim(--pad-y) fn.dim(--pad-x); | ||
29 | |||
30 | @include iro.bem-next-twin-elem { | ||
31 | border-width: 1px 0 0; | ||
32 | border-style: solid; | ||
33 | border-color: fn.color(--border); | ||
34 | } | ||
35 | |||
36 | @include iro.bem-multi('&:link, &:visited, &:enabled', 'modifier' 'interactive') { | ||
37 | &:hover { | ||
38 | background-color: fn.color(--hover); | ||
39 | } | ||
40 | |||
41 | &:active { | ||
42 | background-color: fn.color(--press); | ||
43 | } | ||
44 | } | ||
45 | } | ||
46 | |||
47 | @include iro.bem-modifier('horizontal') { | ||
48 | display: flex; | ||
49 | |||
50 | @include iro.bem-elem('item') { | ||
51 | flex: 1 0 auto; | ||
52 | |||
53 | @include iro.bem-next-twin-elem { | ||
54 | border-top-width: 0; | ||
55 | border-left-width: 1px; | ||
56 | } | ||
57 | } | ||
58 | } | ||
59 | } | ||
60 | } | ||