X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Ffloating-scrollbars.css;h=09ec5cf05c548957201aee96bbf9047a06566b26;hb=1437a48cc96cb2df0e583660e83049b5bffa7b8f;hp=4d11597e33a6e1b9141fd4c63939526f3c98aa99;hpb=82b4252f7e41007fc93fa3b94fd7418a07c03fd1;p=themes.git diff --git a/LCARStrek/browser/devtools/floating-scrollbars.css b/LCARStrek/browser/devtools/floating-scrollbars.css index 4d11597e..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: -10px; - min-width: 10px; - max-width: 10px; + margin-left: -10px; + min-width: 3px; + max-width: 3px; } scrollbar[orient="horizontal"] { margin-top: -10px; - min-height: 10px; - max-height: 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 */ }