From 1df6c5f59629d09c07cecdc8c6b58d853dcf29e2 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Fri, 22 Jan 2021 12:25:23 +0100 Subject: [PATCH] Avoid highlighting of toprightbuttons to shift the topbar --- qt/aqt/data/web/css/editor.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/qt/aqt/data/web/css/editor.scss b/qt/aqt/data/web/css/editor.scss index e1aa8cd6d..c24c15275 100644 --- a/qt/aqt/data/web/css/editor.scss +++ b/qt/aqt/data/web/css/editor.scss @@ -44,7 +44,7 @@ body { padding: 2px; } -.topbuts > button { +.topbuts > * { margin: 0 1px; &:first-child { @@ -75,6 +75,7 @@ body { button.linkb { -webkit-appearance: none; + margin-bottom: -3px; border: 0; box-shadow: none; padding: 0px 2px; @@ -95,12 +96,12 @@ button:focus { } button.highlighted { - .nightMode #topbutsleft & { - background: linear-gradient(0deg, #333333 0%, #434343 100%); - } - #topbutsleft & { background-color: lightgrey; + + .nightMode & { + background: linear-gradient(0deg, #333333 0%, #434343 100%); + } } #topbutsright & {