X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fscrollbars.css;h=f7d8bd6df5ee63cfd1e3976648770eab6f04275c;hp=d53df486a3605c0c904b160073a95ae6c92b6b29;hb=f98e9249ac85dc5b066915b9c9449b30b2dfcccb;hpb=6046f02728e083dbd359a9ee7946cd76dc74fb35 diff --git a/LCARStrek/global/scrollbars.css b/LCARStrek/global/scrollbars.css index d53df486..f7d8bd6d 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,10 +105,17 @@ 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 { @@ -216,14 +223,6 @@ 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 { @@ -232,7 +231,8 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true" 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;