From 5c5d88a6819af74b2594b17db5169bea45f277a6 Mon Sep 17 00:00:00 2001 From: Er2 Date: Fri, 29 Apr 2022 21:20:56 +0300 Subject: [PATCH] bd improvements --- src/bd.less | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/bd.less b/src/bd.less index a4fe3b4..391f252 100644 --- a/src/bd.less +++ b/src/bd.less @@ -3,6 +3,39 @@ div[class^="bd-"] { &:extend(.round); } +button.bd-addon-button { + margin: 4px; +} + +div.floating-window { + &:extend(.round); + box-shadow: none; + padding: 0 !important; + max-width: 100% !important; + max-height: 100% !important; + min-width: 256px !important; + min-height: 32px !important; +} + +div.floating-window-buttons .button { + & > svg { + padding: 2px; + border-radius: 50%; + } + &:hover { + background-color: unset; + color: var(--background-tertiary); + } + + &.maximize-button:hover > svg { + background-color: #3ba55d; + } + + &.close-button:hover > svg { + background-color: #ed4245; + } +} + div.bd-search-wrapper, div.bd-changelog-button { align-self: center;