X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fdevtools%2Ffonts.css;h=78b87a27d449a3f57efafc01cb06731601ca1918;hp=7d469d44f0f68048dbe6260c483dd6f07dd271c7;hb=64c854164c4f4de7c6371e0a20f7ff7720918f03;hpb=dc9d5d64a3f915cb832f43050545b432f33504f7 diff --git a/LCARStrek/devtools/fonts.css b/LCARStrek/devtools/fonts.css index 7d469d44..78b87a27 100644 --- a/LCARStrek/devtools/fonts.css +++ b/LCARStrek/devtools/fonts.css @@ -2,16 +2,18 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +:root { + --fonts-button-text: #000000; + --fonts-button-background: #C09070; +} + #sidebar-panel-fontinspector { margin: 0; display: flex; flex-direction: column; padding-bottom: 20px; width: 100%; - /* Bug 1243598 - Reduce the container height by the tab height to make room - for the tabs above. */ - height: calc(100% - 24px); - position: absolute; + height: 100%; } #sidebar-panel-fontinspector > .devtools-toolbar { @@ -28,17 +30,17 @@ margin: 0; } -#showall, #font-showall { border-radius: 300px; border: none; - background-color: var(--in-content-button-background); - color: var(--in-content-selected-text); + background-color: var(--fonts-button-background); + color: var(--fonts-button-text); margin: 3px; + padding: 0 6px; cursor: pointer; - position: fixed; + position: absolute; bottom: 0; - right: 0; + offset-inline-end: 0; } .dim > #font-container, @@ -72,9 +74,7 @@ overflow-x: auto; } -#preview-text-input, #font-preview-text-input { - font: inherit; margin-top: 1px; margin-bottom: 1px; padding-top: 0;