From c791c0f60bd18dc42b04356ca77feaa11f19c03f Mon Sep 17 00:00:00 2001 From: Gazook89 Date: Sat, 17 Aug 2024 15:36:12 -0500 Subject: [PATCH] modify the interactive states more closely match the properties editor behavior. removed some unnecessary (unused) properties. Outline only appears when element is focused (rather than on hover as well). --- client/homebrew/brewRenderer/toolBar/toolBar.less | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/client/homebrew/brewRenderer/toolBar/toolBar.less b/client/homebrew/brewRenderer/toolBar/toolBar.less index 994b49fde..10163a500 100644 --- a/client/homebrew/brewRenderer/toolBar/toolBar.less +++ b/client/homebrew/brewRenderer/toolBar/toolBar.less @@ -64,7 +64,7 @@ width: auto; box-sizing: content-box; - &:hover,&:focus-within { background-color : #444444; } + &:hover { background-color : #444444; } button { font-family : 'Open Sans', sans-serif; @@ -78,11 +78,8 @@ min-width : 46px; padding : 0 8px; - &:focus-within { - height : 100%; - font-weight : 800; - color : white; - } + + &:focus { outline : 1px solid #d3d3d3; } &:disabled { color : #777777;