X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fbutton.css;h=e18b9da66ef25f83314f0dc745d332252bbffdce;hp=20d17486c56d9e2752ba347e5c5362a4147daa62;hb=70793992759d582e5cb84e56ced9df9e903ddf67;hpb=cc89af199b67da36ea41f8c4185ae1c899c249e5 diff --git a/LCARStrek/global/button.css b/LCARStrek/global/button.css index 20d17486..e18b9da6 100644 --- a/LCARStrek/global/button.css +++ b/LCARStrek/global/button.css @@ -88,7 +88,7 @@ button[checked="true"] > .button-box { button[disabled="true"], button[disabled="true"]:hover:active { border: none; - background-color: #8050B0 !important; + background-color: #402858 !important; color: #000000 !important; } @@ -127,16 +127,18 @@ button[type="menu-button"][open="true"] > .button-menubutton-button { .button-menu-dropmarker, .button-menubutton-dropmarker { margin: 2px; + -moz-margin-end: 5px; width: 11px; height: 11px; background-color: transparent; border: none; + list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); } +.button-menu-dropmarker, button[type="menu-button"]:hover > .button-menubutton-dropmarker, button[type="menu-button"]:hover:active > .button-menubutton-dropmarker, button[type="menu-button"][open="true"] > .button-menubutton-dropmarker { - list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); } /* ::::: plain buttons ::::: */ @@ -166,3 +168,37 @@ button::-moz-focus-inner { padding: 0px; border: 0px none; } + +/* ::::: toolbar buttons (sync look with toolbarbutton) ::::: */ + +/* The #throbber-box rules are only needed for the SeaMonkey editor, + * the toolbaritem ones for buttons in customizable toolbars. */ +toolbaritem > button, +#throbber-box > button { + border-radius: 3px; + background-color: #000000; + color: #FFCF00; +} + +toolbaritem > button > .button-box, +#throbber-box > button > .button-box { + border-radius: 3px; + -moz-padding-start: 0; + -moz-padding-end: 1px; +} + +toolbaritem > button > button:hover:active > .button-box, +toolbaritem > button > button[open="true"] > .button-box, +toolbaritem > button > button[checked="true"] > .button-box, +#throbber-box > button:hover:active > .button-box, +#throbber-box > button > button[open="true"] > .button-box, +#throbber-box > button > button[checked="true"] > .button-box { + -moz-padding-start: 1px; + -moz-padding-end: 0; +} + +toolbaritem > button > button[disabled="true"] > .button-box, +#throbber-box > button[disabled="true"] > .button-box { + -moz-padding-start: 0 !important; + -moz-padding-end: 1px !important; +}