From 9fb3237247f637b55a7da6bbf2847c17c2fb2ad0 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 8 Feb 2022 18:05:15 +0100 Subject: Added menu --- src/objects/_action-menu.scss | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) (limited to 'src/objects/_action-menu.scss') diff --git a/src/objects/_action-menu.scss b/src/objects/_action-menu.scss index 2c922f8..ff88774 100644 --- a/src/objects/_action-menu.scss +++ b/src/objects/_action-menu.scss @@ -43,8 +43,6 @@ ), 'colors'); @include iro.bem-object(iro.props-namespace()) { - @include iro.bem-composed-of('action-button' 'object'); - position: absolute; z-index: 10000; top: fn.dim(--y); @@ -72,12 +70,6 @@ transform: translate(-100%, 0); } - @include iro.bem-elem('separator') { - height: 1px; - margin: fn.dim(--separator) 0; - background-color: fn.color(--separator); - } - @include iro.bem-elem('item') { display: block; box-sizing: border-box; @@ -91,18 +83,10 @@ &:enabled { color: currentColor; - @include iro.bem-elem('icon') { - color: fn.color(--icon); - } - &:hover, &:active { background-color: fn.color(--item --hover --bg); color: fn.color(--item --hover --label); - - @include iro.bem-elem('icon') { - color: currentColor; - } } @include iro.bem-at-theme('keyboard') { @@ -112,15 +96,17 @@ background-color: fn.color(--item --key-focus --bg); box-shadow: fn.color(--item --key-focus --shadow); color: fn.color(--item --key-focus --label); - - @include iro.bem-elem('icon') { - color: currentColor; - } } } } } + @include iro.bem-elem('separator') { + height: 1px; + margin: fn.dim(--separator) 0; + background-color: fn.color(--separator); + } + @include iro.bem-elem('slot') { padding: fn.dim(--item --pad-y) fn.dim(--item --pad-x); } @@ -130,9 +116,5 @@ justify-content: center; width: 1em; } - - @include iro.bem-elem('icon') { - color: fn.color(--item --disabled --label); - } } } -- cgit v1.2.3-70-g09d2