X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fdevtools%2Ffloating-scrollbars.css;fp=LCARStrek%2Fdevtools%2Ffloating-scrollbars.css;h=09ec5cf05c548957201aee96bbf9047a06566b26;hp=0000000000000000000000000000000000000000;hb=dc9d5d64a3f915cb832f43050545b432f33504f7;hpb=ecfc58b0361c617fa298d4b1bb69ea2484d37de2 diff --git a/LCARStrek/devtools/floating-scrollbars.css b/LCARStrek/devtools/floating-scrollbars.css new file mode 100644 index 00000000..09ec5cf0 --- /dev/null +++ b/LCARStrek/devtools/floating-scrollbars.css @@ -0,0 +1,47 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +scrollbar { + position: relative; + background-color: transparent; + background-image: none; + z-index: 2147483647; + padding: 2px; +} + +/* Scrollbar code will reset the margin to the correct side depending on + where layout actually puts the scrollbar */ +scrollbar[orient="vertical"] { + margin-left: -10px; + min-width: 3px; + max-width: 3px; +} + +scrollbar[orient="horizontal"] { + 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 { + border-width: 0px !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 !important; /* need !important to override forced display in LCARStrek */ +}