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