X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fscrollbars.css;h=0109fca8c86c6f1d3352c6f3b7f18795e6020702;hp=7df7d7a8b9af369b3f4c21b8dde2d55efbc87278;hb=bad6bfa42aa78834ee3226b644967ddba6284a3f;hpb=3d6dd546c97f902b849a45d2bf2fa7cc623cb2e9 diff --git a/LCARStrek/global/scrollbars.css b/LCARStrek/global/scrollbars.css index 7df7d7a8..0109fca8 100644 --- a/LCARStrek/global/scrollbars.css +++ b/LCARStrek/global/scrollbars.css @@ -35,13 +35,13 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ - /* ===== scrollbars.css ================================================= == Styles used by XUL scrollbar-related elements. ======================================================================= */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ + /* ::::: scrollbar ::::: */ scrollbar { @@ -105,16 +105,24 @@ thumb[orient="horizontal"][disabled="true"] { scrollbarbutton { } -scrollbarbutton:hover:active { +scrollbarbutton:hover:active, +scrollbarbutton[active="true"] { padding: 2px 0px 0px 2px; } +/* XXX - scrollbar.xml always grabs the OS settings and we don't want that */ +scrollbarbutton[sbattr="scrollbar-up-bottom"], +scrollbarbutton[sbattr="scrollbar-down-top"] { + display: none; +} + /* ::::: square at the corner of two scrollbars ::::: */ scrollcorner { -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar-base"); cursor: default; background-color: #000000; + width: 13px; } /* ..... increment .... */ @@ -215,28 +223,21 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true" min-width: 8px; } - html|div thumb > gripper { - -moz-appearance: scrollbargripper-vertical; - } - - html|div thumb[orient="horizontal"] > gripper { - -moz-appearance: scrollbargripper-horizontal; - } - /* ::::: scrollbar button ::::: */ html|div scrollbarbutton { - background: -moz-Dialog no-repeat 0px 1px; + background: -moz-Dialog no-repeat 50% 50%; min-width: 16px; min-height: 16px; } - html|div scrollbarbutton:hover:active { + html|div scrollbarbutton:hover:active, + html|div scrollbarbutton[active="true"] { -moz-border-top-colors: ThreeDShadow -moz-Dialog; -moz-border-right-colors: ThreeDShadow -moz-Dialog; -moz-border-bottom-colors: ThreeDShadow -moz-Dialog; -moz-border-left-colors: ThreeDShadow -moz-Dialog; - background-position: 1px 2px; + background-position: 60% 60%; } /* ..... increment .... */