X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fscrollbars.css;h=1dd1f581968c6e96d45dfa66630b4bce8322082b;hp=f85dd362b4c649b92451ca192fe8f3d1fa6bf9de;hb=07296beb54b9f42727fbce3473d76c6e3f7cf173;hpb=87a1144f3acafe3109028fc3d30c7dd2dbdff01e diff --git a/LCARStrek/global/scrollbars.css b/LCARStrek/global/scrollbars.css index f85dd362..1dd1f581 100644 --- a/LCARStrek/global/scrollbars.css +++ b/LCARStrek/global/scrollbars.css @@ -19,12 +19,12 @@ scrollbar { pointer-events: auto; } -scrollbar[root="true"] { - position: relative; - z-index: 2147483647; /* largest positive value of a signed 32-bit integer */ -} - @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; @@ -114,11 +114,18 @@ scrollbarbutton[disabled="true"] { background-color: #402858 !important; } -/* XXX - scrollbar.xml always grabs the OS settings and we don't want that */ +/* XXX - override minimal-xul.css/scrollbar.xml which always grabs the OS settings and we don't want that */ scrollbarbutton[sbattr="scrollbar-up-bottom"], scrollbarbutton[sbattr="scrollbar-down-top"] { display: none; } +/* override minimal-xul.css */ +scrollbarbutton[sbattr="scrollbar-up-top"], +scrollbarbutton[sbattr="scrollbar-down-bottom"], +scrollbarbutton[sbattr="scrollbar-up-top"]:not(:-moz-system-metric(scrollbar-start-backward)), +scrollbarbutton[sbattr="scrollbar-down-bottom"]:not(:-moz-system-metric(scrollbar-end-forward)) { + display: -moz-box; +} /* ::::: square at the corner of two scrollbars ::::: */ @@ -134,13 +141,13 @@ scrollcorner { scrollbarbutton[type="increment"] { background-image: url("chrome://global/skin/scrollbar/arrow-right.png"); border-radius: 0 300px 300px 0; - -moz-border-start: 3px solid #000000; + border-inline-start: 3px solid #000000; } scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { background-image: url("chrome://global/skin/scrollbar/arrow-down.png"); border-radius: 0 0 300px 300px; - -moz-border-start: none; + border-inline-start: none; border-top: 3px solid #000000; } @@ -149,13 +156,13 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { scrollbarbutton[type="decrement"] { background-image: url("chrome://global/skin/scrollbar/arrow-left.png"); border-radius: 300px 0 0 300px; - -moz-border-end: 3px solid #000000; + border-inline-end: 3px solid #000000; } scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { background-image: url("chrome://global/skin/scrollbar/arrow-up.png"); border-radius: 300px 300px 0 0; - -moz-border-end: none; + border-inline-end: none; border-bottom: 3px solid #000000; }