From a8bf508fa2474d07c6c9a4f4c90bc42246896df1 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 10 Feb 2022 06:25:12 +0100 Subject: Update --- src/objects/_action-button.scss | 2 +- src/objects/_action-menu.scss | 4 ++-- src/objects/_avatar.scss | 4 ++-- src/objects/_menu.scss | 7 +++---- 4 files changed, 8 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/objects/_action-button.scss b/src/objects/_action-button.scss index 47e2c93..751a01e 100644 --- a/src/objects/_action-button.scss +++ b/src/objects/_action-button.scss @@ -105,7 +105,7 @@ text-decoration: none; text-overflow: ellipsis; white-space: nowrap; - + &:link, &:visited, &:enabled { diff --git a/src/objects/_action-menu.scss b/src/objects/_action-menu.scss index ff88774..1e95b39 100644 --- a/src/objects/_action-menu.scss +++ b/src/objects/_action-menu.scss @@ -12,8 +12,8 @@ --rounding: 3px, --border: 1px, --item: ( - --pad-x: .8rem, - --pad-y: .4rem, + --pad-x: iro.fn-px-to-rem(12px), + --pad-y: iro.fn-px-to-rem(7px), ), ), ), 'dims'); diff --git a/src/objects/_avatar.scss b/src/objects/_avatar.scss index ca0d373..09bebf0 100644 --- a/src/objects/_avatar.scss +++ b/src/objects/_avatar.scss @@ -6,7 +6,7 @@ --dims: ( --size: iro.fn-px-to-rem(40px), --size-sm: iro.fn-px-to-rem(30px), - --size-xs: iro.fn-px-to-rem(20px), + --size-xs: iro.fn-px-to-rem(18px), --indicator-size: fn.foreign-dim(--status-indicator, --size), --indicator-spacing: iro.fn-px-to-rem(3px), --rounding: 25%, @@ -79,7 +79,7 @@ } @include iro.bem-modifier('xs') { - font-size: iro.fn-px-to-rem(12px); + font-size: iro.fn-px-to-rem(11px); @include iro.bem-elem('content') { width: fn.dim(--size-xs); diff --git a/src/objects/_menu.scss b/src/objects/_menu.scss index 91ef0a5..12899a3 100644 --- a/src/objects/_menu.scss +++ b/src/objects/_menu.scss @@ -6,8 +6,8 @@ --dims: ( --separator: .6rem, --item: ( - --pad-x: .8rem, - --pad-y: .4rem, + --pad-x: iro.fn-px-to-rem(10px), + --pad-y: iro.fn-px-to-rem(5px), ), ), ), 'dims'); @@ -61,8 +61,7 @@ &:enabled { color: currentColor; - &:hover, - &:active { + @include iro.bem-multi('&:hover, &:active', 'is' 'selected') { background-color: fn.color(--item --hover --bg); color: fn.color(--item --hover --label); } -- cgit v1.2.3-70-g09d2