From: Robert Kaiser Date: Thu, 10 Jan 2013 02:37:25 +0000 (+0100) Subject: more scrollbar adjustments to make them look and work really right X-Git-Tag: LCARStrek-2.16~10 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=e08553ef820b0326f1f74cafd7349bbbc24638f0;p=themes.git more scrollbar adjustments to make them look and work really right --- diff --git a/LCARStrek/global/scrollbars.css b/LCARStrek/global/scrollbars.css index d1b4f58c..ea96140a 100644 --- a/LCARStrek/global/scrollbars.css +++ b/LCARStrek/global/scrollbars.css @@ -40,6 +40,15 @@ scrollbarbutton { min-height: 13px; } +scrollbar:not([orient="vertical"]) > scrollbarbutton { + min-width: 16px; +} + +scrollbar[orient="vertical"] > scrollbarbutton { + min-height: 16px; +} + + /* ::::: thumb ::::: */ thumb { @@ -73,15 +82,11 @@ thumb[orient="horizontal"][disabled="true"] { scrollbarbutton { background-color: #C09070; - margin: 0px; } scrollbarbutton:hover:active, scrollbarbutton[active="true"] { - padding-top: 2px; - padding-bottom: 0px; - -moz-padding-start: 2px; - -moz-padding-end: 0px; + background-position: calc(50% + 1px) calc(50% + 1px); } scrollbarbutton:hover { @@ -89,7 +94,7 @@ scrollbarbutton:hover { } scrollbarbutton:hover:active { - background-color: #FF0000; + background-color: #FF9F00; } scrollbarbutton[disabled="true"] { @@ -115,13 +120,14 @@ scrollcorner { scrollbarbutton[type="increment"] { background-image: url("chrome://global/skin/scrollbar/arrow-right.png"); - border-radius: 0 50% 50% 0; + border-radius: 0 300px 300px 0; -moz-border-start: 3px solid #000000; } scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { background-image: url("chrome://global/skin/scrollbar/arrow-down.png"); - border-radius: 0 0 50% 50%; + border-radius: 0 0 300px 300px; + -moz-border-start: none; border-top: 3px solid #000000; } @@ -129,13 +135,14 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { scrollbarbutton[type="decrement"] { background-image: url("chrome://global/skin/scrollbar/arrow-left.png"); - border-radius: 50% 0 0 50%; + border-radius: 300px 0 0 300px; -moz-border-end: 3px solid #000000; } scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { background-image: url("chrome://global/skin/scrollbar/arrow-up.png"); - border-radius: 50% 50% 0 0; + border-radius: 300px 300px 0 0; + -moz-border-end: none; border-bottom: 3px solid #000000; }