diff options
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 | } |
