diff options
Diffstat (limited to 'src/objects/_action-menu.scss')
-rw-r--r-- | src/objects/_action-menu.scss | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/objects/_action-menu.scss b/src/objects/_action-menu.scss index 1e95b39..3c10604 100644 --- a/src/objects/_action-menu.scss +++ b/src/objects/_action-menu.scss | |||
@@ -4,8 +4,6 @@ | |||
4 | @include iro.props-namespace('action-menu') { | 4 | @include iro.props-namespace('action-menu') { |
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --x: 0, | ||
8 | --y: 0, | ||
9 | --pad-x: 0, | 7 | --pad-x: 0, |
10 | --pad-y: .3rem, | 8 | --pad-y: .3rem, |
11 | --separator: .3rem, | 9 | --separator: .3rem, |
@@ -45,8 +43,8 @@ | |||
45 | @include iro.bem-object(iro.props-namespace()) { | 43 | @include iro.bem-object(iro.props-namespace()) { |
46 | position: absolute; | 44 | position: absolute; |
47 | z-index: 10000; | 45 | z-index: 10000; |
48 | top: fn.dim(--y); | 46 | top: var(--y); |
49 | left: fn.dim(--x); | 47 | left: var(--x); |
50 | padding: fn.dim(--pad-y) fn.dim(--pad-x); | 48 | padding: fn.dim(--pad-y) fn.dim(--pad-x); |
51 | border: fn.dim(--border) solid fn.color(--border); | 49 | border: fn.dim(--border) solid fn.color(--border); |
52 | border-radius: fn.dim(--rounding); | 50 | border-radius: fn.dim(--rounding); |
@@ -54,10 +52,6 @@ | |||
54 | box-shadow: fn.color(--shadow); | 52 | box-shadow: fn.color(--shadow); |
55 | color: fn.global-color(--fg); | 53 | color: fn.global-color(--fg); |
56 | 54 | ||
57 | @include iro.bem-modifier('static') { | ||
58 | position: static; | ||
59 | } | ||
60 | |||
61 | @include iro.bem-modifier('up-left') { | 55 | @include iro.bem-modifier('up-left') { |
62 | transform: translate(0, -100%); | 56 | transform: translate(0, -100%); |
63 | } | 57 | } |