diff options
Diffstat (limited to 'src/layouts/_hlist.scss')
| -rw-r--r-- | src/layouts/_hlist.scss | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/src/layouts/_hlist.scss b/src/layouts/_hlist.scss index 5c81259..06eb8dd 100644 --- a/src/layouts/_hlist.scss +++ b/src/layouts/_hlist.scss | |||
| @@ -18,6 +18,30 @@ | |||
| 18 | @each $mod, $size in vars.$sizes { | 18 | @each $mod, $size in vars.$sizes { |
| 19 | @include bem.modifier($mod) { | 19 | @include bem.modifier($mod) { |
| 20 | gap: props.get($size); | 20 | gap: props.get($size); |
| 21 | |||
| 22 | @include bem.modifier('separated') { | ||
| 23 | @include bem.elem('item') { | ||
| 24 | @include bem.next-twin-elem { | ||
| 25 | &::before { | ||
| 26 | content: '·'; | ||
| 27 | margin-inline: calc(.65 * props.get($size)); | ||
| 28 | } | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| 32 | } | ||
| 33 | } | ||
| 34 | |||
| 35 | @include bem.modifier('separated') { | ||
| 36 | gap: 0; | ||
| 37 | |||
| 38 | @include bem.elem('item') { | ||
| 39 | @include bem.next-twin-elem { | ||
| 40 | &::before { | ||
| 41 | content: '·'; | ||
| 42 | margin-inline: calc(.65 * props.get(vars.$gap)); | ||
| 43 | } | ||
| 44 | } | ||
| 21 | } | 45 | } |
| 22 | } | 46 | } |
| 23 | 47 | ||
| @@ -35,7 +59,7 @@ | |||
| 35 | @each $mod, $pad-i, $pad-i-label, $pad-i-pill, $pad-b, $font-size in button.$fixed-sizes { | 59 | @each $mod, $pad-i, $pad-i-label, $pad-i-pill, $pad-b, $font-size in button.$fixed-sizes { |
| 36 | @include bem.modifier('buttons-#{$mod}') { | 60 | @include bem.modifier('buttons-#{$mod}') { |
| 37 | margin-inline: calc(-1 * props.get($pad-i) - props.get(button.$border-width)); | 61 | margin-inline: calc(-1 * props.get($pad-i) - props.get(button.$border-width)); |
| 38 | 62 | ||
| 39 | @include bem.modifier('pill') { | 63 | @include bem.modifier('pill') { |
| 40 | margin-inline: calc(-1 * props.get($pad-i-pill) - props.get(button.$border-width)); | 64 | margin-inline: calc(-1 * props.get($pad-i-pill) - props.get(button.$border-width)); |
| 41 | } | 65 | } |
