diff options
| author | Volpeon <git@volpeon.ink> | 2025-07-22 18:28:08 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2025-07-22 18:28:08 +0200 |
| commit | 84e24e1df83806a139f4b402336cf1c8ada58d67 (patch) | |
| tree | 651df7647252c63e9bb00837ee1ae0aff8b9183c /src/layouts/_card-list.scss | |
| parent | Fix (diff) | |
| download | iro-design-84e24e1df83806a139f4b402336cf1c8ada58d67.tar.gz iro-design-84e24e1df83806a139f4b402336cf1c8ada58d67.tar.bz2 iro-design-84e24e1df83806a139f4b402336cf1c8ada58d67.zip | |
Various fixes
Diffstat (limited to 'src/layouts/_card-list.scss')
| -rw-r--r-- | src/layouts/_card-list.scss | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/layouts/_card-list.scss b/src/layouts/_card-list.scss index b828e44..abb0277 100644 --- a/src/layouts/_card-list.scss +++ b/src/layouts/_card-list.scss | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | 6 | ||
| 7 | @forward 'card-list.vars'; | 7 | @forward 'card-list.vars'; |
| 8 | @use 'card-list.vars' as vars; | 8 | @use 'card-list.vars' as vars; |
| 9 | @use '../objects/card.vars' as card; | ||
| 10 | 9 | ||
| 11 | @mixin styles { | 10 | @mixin styles { |
| 12 | @include materialize-at-root(meta.module-variables('vars')); | 11 | @include materialize-at-root(meta.module-variables('vars')); |
| @@ -17,14 +16,14 @@ | |||
| 17 | gap: props.get(vars.$row-gap); | 16 | gap: props.get(vars.$row-gap); |
| 18 | 17 | ||
| 19 | @include bem.modifier('merge') { | 18 | @include bem.modifier('merge') { |
| 20 | position: relative; | 19 | position: relative; |
| 21 | gap: 0; | 20 | gap: props.get(vars.$border-width); |
| 21 | background-color: props.get(vars.$border-color); | ||
| 22 | border: props.get(vars.$border-width) solid props.get(vars.$border-color); | ||
| 23 | border-radius: props.get(vars.$rounding); | ||
| 22 | 24 | ||
| 23 | @include bem.elem('card') { | 25 | @include bem.elem('card') { |
| 24 | transition: none; | ||
| 25 | |||
| 26 | &:not(:last-child) { | 26 | &:not(:last-child) { |
| 27 | margin-bottom: calc(-1 * props.get(card.$border-width)); | ||
| 28 | border-end-start-radius: 0; | 27 | border-end-start-radius: 0; |
| 29 | border-end-end-radius: 0; | 28 | border-end-end-radius: 0; |
| 30 | } | 29 | } |
