diff options
Diffstat (limited to 'src/layouts')
-rw-r--r-- | src/layouts/_button-group.scss | 9 | ||||
-rw-r--r-- | src/layouts/_card-list.scss | 3 | ||||
-rw-r--r-- | src/layouts/_list.scss | 14 |
3 files changed, 23 insertions, 3 deletions
diff --git a/src/layouts/_button-group.scss b/src/layouts/_button-group.scss index c51ae7e..cae7042 100644 --- a/src/layouts/_button-group.scss +++ b/src/layouts/_button-group.scss | |||
@@ -10,8 +10,11 @@ | |||
10 | @include materialize-at-root(meta.module-variables('vars')); | 10 | @include materialize-at-root(meta.module-variables('vars')); |
11 | 11 | ||
12 | @include bem.layout('button-group') { | 12 | @include bem.layout('button-group') { |
13 | display: flex; | 13 | display: flex; |
14 | flex-wrap: wrap; | 14 | flex-wrap: wrap; |
15 | gap: props.get(vars.$spacing); | 15 | gap: props.get(vars.$spacing); |
16 | padding: 0; | ||
17 | margin: 0; | ||
18 | list-style: none; | ||
16 | } | 19 | } |
17 | } | 20 | } |
diff --git a/src/layouts/_card-list.scss b/src/layouts/_card-list.scss index 8ef40c5..f76d18b 100644 --- a/src/layouts/_card-list.scss +++ b/src/layouts/_card-list.scss | |||
@@ -14,6 +14,9 @@ | |||
14 | display: flex; | 14 | display: flex; |
15 | flex-direction: column; | 15 | flex-direction: column; |
16 | gap: props.get(vars.$row-gap); | 16 | gap: props.get(vars.$row-gap); |
17 | padding: 0; | ||
18 | margin: 0; | ||
19 | list-style: none; | ||
17 | 20 | ||
18 | @include bem.modifier('quiet') { | 21 | @include bem.modifier('quiet') { |
19 | row-gap: props.get(vars.$quiet--row-gap); | 22 | row-gap: props.get(vars.$quiet--row-gap); |
diff --git a/src/layouts/_list.scss b/src/layouts/_list.scss new file mode 100644 index 0000000..997634c --- /dev/null +++ b/src/layouts/_list.scss | |||
@@ -0,0 +1,14 @@ | |||
1 | @use 'sass:meta'; | ||
2 | @use 'iro-sass/src/bem'; | ||
3 | @use 'iro-sass/src/props'; | ||
4 | @use '../props' as *; | ||
5 | |||
6 | @mixin styles { | ||
7 | @include bem.layout('list') { | ||
8 | @include bem.modifier('unstyled') { | ||
9 | padding: 0; | ||
10 | margin: 0; | ||
11 | list-style: none; | ||
12 | } | ||
13 | } | ||
14 | } | ||