X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Ffloating-scrollbars.css;h=09ec5cf05c548957201aee96bbf9047a06566b26;hp=e27de04dedcafc86fc6029bc3db33560dd07817c;hb=b1dfcf3228675c75fda183c9cd0161c9be5d4047;hpb=73f055ca195e6621106065f915220f90955f010a diff --git a/LCARStrek/browser/devtools/floating-scrollbars.css b/LCARStrek/browser/devtools/floating-scrollbars.css index e27de04d..09ec5cf0 100644 --- a/LCARStrek/browser/devtools/floating-scrollbars.css +++ b/LCARStrek/browser/devtools/floating-scrollbars.css @@ -1,7 +1,6 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); scrollbar { - -moz-appearance: none !important; position: relative; background-color: transparent; background-image: none; @@ -9,25 +8,40 @@ scrollbar { padding: 2px; } +/* Scrollbar code will reset the margin to the correct side depending on + where layout actually puts the scrollbar */ scrollbar[orient="vertical"] { - -moz-margin-start: -8px; - min-width: 8px; - max-width: 8px; + margin-left: -10px; + min-width: 3px; + max-width: 3px; } scrollbar[orient="horizontal"] { - margin-top: -8px; - min-height: 8px; - max-height: 8px; + margin-top: -10px; + min-height: 3px; + max-height: 3px; +} + +scrollbar slider { +/* background-color: transparent; */ + border-radius: 3px; +} + +scrollbar:not(:hover) slider { + background-color: rgba(64, 64, 72, 0.3); } scrollbar thumb { - -moz-appearance: none !important; border-width: 0px !important; - background-color: rgba(0,0,0,0.2) !important; +/* background-color: rgba(0,0,0,0.2) !important; */ + background-image: none; border-radius: 3px !important; } +scrollbar:not(:hover) thumb { + background-color: rgba(160, 144, 144, 0.3) !important; +} + scrollbar scrollbarbutton, scrollbar gripper { - display: none; + display: none !important; /* need !important to override forced display in LCARStrek */ }