diff options
Diffstat (limited to 'src/layouts/_button-group.scss')
-rw-r--r-- | src/layouts/_button-group.scss | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/layouts/_button-group.scss b/src/layouts/_button-group.scss index b0a3c8e..6c874e1 100644 --- a/src/layouts/_button-group.scss +++ b/src/layouts/_button-group.scss | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | @forward 'button-group.vars'; | 6 | @forward 'button-group.vars'; |
7 | @use 'button-group.vars' as vars; | 7 | @use 'button-group.vars' as vars; |
8 | @use '../objects/action-button.vars' as action-button; | 8 | @use '../objects/button.vars' as button; |
9 | 9 | ||
10 | @mixin styles { | 10 | @mixin styles { |
11 | @include materialize-at-root(meta.module-variables('vars')); | 11 | @include materialize-at-root(meta.module-variables('vars')); |
@@ -22,26 +22,26 @@ | |||
22 | } | 22 | } |
23 | 23 | ||
24 | @include bem.modifier('align-block') { | 24 | @include bem.modifier('align-block') { |
25 | margin-inline: calc(-1 * props.get(action-button.$pad-i) - props.get(action-button.$border-width)); | 25 | margin-inline: calc(-1 * props.get(button.$pad-i) - props.get(button.$border-width)); |
26 | 26 | ||
27 | @include bem.modifier('pill') { | 27 | @include bem.modifier('pill') { |
28 | margin-inline: calc(-1 * props.get(action-button.$pad-i-pill) - props.get(action-button.$border-width)); | 28 | margin-inline: calc(-1 * props.get(button.$pad-i-pill) - props.get(button.$border-width)); |
29 | } | 29 | } |
30 | 30 | ||
31 | @include bem.modifier('icon') { | 31 | @include bem.modifier('icon') { |
32 | margin-inline: calc(-1 * props.get(action-button.$pad-b) - props.get(action-button.$border-width) - .5em * (props.get(action-button.$line-height) - 1)); | 32 | margin-inline: calc(-1 * props.get(button.$pad-b) - props.get(button.$border-width) - .5em * (props.get(button.$line-height) - 1)); |
33 | } | 33 | } |
34 | 34 | ||
35 | @each $mod, $pad-i, $pad-i-label, $pad-i-pill, $pad-b, $font-size in action-button.$fixed-sizes { | 35 | @each $mod, $pad-i, $pad-i-label, $pad-i-pill, $pad-b, $font-size in button.$fixed-sizes { |
36 | @include bem.modifier('action-#{$mod}') { | 36 | @include bem.modifier('action-#{$mod}') { |
37 | margin-inline: calc(-1 * props.get($pad-i) - props.get(action-button.$border-width)); | 37 | margin-inline: calc(-1 * props.get($pad-i) - props.get(button.$border-width)); |
38 | 38 | ||
39 | @include bem.modifier('pill') { | 39 | @include bem.modifier('pill') { |
40 | margin-inline: calc(-1 * props.get($pad-i-pill) - props.get(action-button.$border-width)); | 40 | margin-inline: calc(-1 * props.get($pad-i-pill) - props.get(button.$border-width)); |
41 | } | 41 | } |
42 | 42 | ||
43 | @include bem.modifier('icon') { | 43 | @include bem.modifier('icon') { |
44 | margin-inline: calc(-1 * props.get($pad-b) - props.get(action-button.$border-width) - .5em * (props.get(action-button.$line-height) - 1)); | 44 | margin-inline: calc(-1 * props.get($pad-b) - props.get(button.$border-width) - .5em * (props.get(button.$line-height) - 1)); |
45 | } | 45 | } |
46 | } | 46 | } |
47 | } | 47 | } |