X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fscrollbars.css;h=369c8fc7fcd46d04b3056785272b2a635a133215;hp=0abbcb351310cf01e412e838c5502d70c6bb376c;hb=708381dda4ddae3127c953bfcc3ca36ccaa014ed;hpb=9099c61da39b1346a25b1c01463829a44d72d6e1 diff --git a/EarlyBlue/global/scrollbars.css b/EarlyBlue/global/scrollbars.css index 0abbcb35..369c8fc7 100644 --- a/EarlyBlue/global/scrollbars.css +++ b/EarlyBlue/global/scrollbars.css @@ -15,6 +15,19 @@ scrollbar { -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar"); cursor: default; background-color: #999999; + pointer-events: auto; +} + +@media all and (-moz-overlay-scrollbars) { + scrollbar[root="true"] { + position: relative; + z-index: 2147483647; /* largest positive value of a signed 32-bit integer */ + } + + scrollbar:not([active="true"]), + scrollbar[disabled="true"] { + visibility: hidden; + } } /* ::::: slider ::::: */ @@ -70,8 +83,8 @@ scrollbarbutton[active="true"] { border-style: inset; padding-top: 2px; padding-bottom: 0px; - -moz-padding-start: 2px; - -moz-padding-end: 0px; + padding-inline-start: 2px; + padding-inline-end: 0px; } /* XXX - scrollbar.xml always grabs the OS settings and we don't want that */ @@ -79,6 +92,10 @@ scrollbarbutton[sbattr="scrollbar-up-bottom"], scrollbarbutton[sbattr="scrollbar-down-top"] { display: none; } +scrollbarbutton[sbattr="scrollbar-up-top"], +scrollbarbutton[sbattr="scrollbar-down-bottom"] { + display: -moz-box !important; +} /* ::::: square at the corner of two scrollbars ::::: */