From c452635d545546dc5cc147f4ba5e66f8297ff41a Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 17 Oct 2008 00:32:54 +0200 Subject: [PATCH] fix toolbarbutton paddings and hovered message back/fwd in LCARStrek 2.0a1 --- LCARStrek/global/toolbarbutton.css | 14 +++++++------- LCARStrek/messenger/primaryToolbar.css | 12 ++++++++++++ 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/LCARStrek/global/toolbarbutton.css b/LCARStrek/global/toolbarbutton.css index ea05e9f7..24dea020 100644 --- a/LCARStrek/global/toolbarbutton.css +++ b/LCARStrek/global/toolbarbutton.css @@ -103,7 +103,7 @@ toolbarbutton[disabled="true"], toolbarbutton[disabled="true"]:hover, toolbarbutton[disabled="true"]:hover:active, toolbarbutton[disabled="true"][open="true"] { - padding: 1px; + padding: 1px 2px; background-color: #000000; color: #8050B0; } @@ -189,13 +189,13 @@ toolbarbutton[type="menu-button"]:hover:active > toolbarbutton.toolbarbutton-men toolbarbutton[type="menu-button"][open="true"] > toolbarbutton.toolbarbutton-menubutton-button { padding-top: 2px !important; padding-bottom: 0px !important; - -moz-padding-start: 2px !important; - -moz-padding-end: 0px !important; + -moz-padding-start: 3px !important; + -moz-padding-end: 1px !important; } toolbarbutton[disabled="true"] > toolbarbutton.toolbarbutton-menubutton-button, toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubutton-button { - padding: 1px !important; + padding: 1px 2px !important; } /* .......... dropmarker .......... */ @@ -219,9 +219,9 @@ toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropm toolbarbutton[type="menu-button"]:not([disabled="true"]):hover > .toolbarbutton-menubutton-dropmarker, toolbarbutton[type="menu-button"]:not([disabled="true"]):hover:active > .toolbarbutton-menubutton-dropmarker, toolbarbutton[type="menu-button"][open="true"]:not([disabled="true"]) > .toolbarbutton-menubutton-dropmarker, -toolbarbutton[type="menu"]:not([disabled="true"]):hover > .toolbarbutton-menu-dropmarker, -toolbarbutton[type="menu"]:not([disabled="true"]):hover:active > .toolbarbutton-menu-dropmarker, -toolbarbutton[type="menu"][open="true"]:not([disabled="true"]) > .toolbarbutton-menu-dropmarker { +toolbarbutton[type="menu"]:not([disabled="true"]):hover .toolbarbutton-menu-dropmarker, +toolbarbutton[type="menu"]:not([disabled="true"]):hover:active .toolbarbutton-menu-dropmarker, +toolbarbutton[type="menu"][open="true"]:not([disabled="true"]) .toolbarbutton-menu-dropmarker { list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); -moz-image-region: auto; } diff --git a/LCARStrek/messenger/primaryToolbar.css b/LCARStrek/messenger/primaryToolbar.css index 38e004f5..d77964d3 100644 --- a/LCARStrek/messenger/primaryToolbar.css +++ b/LCARStrek/messenger/primaryToolbar.css @@ -128,6 +128,12 @@ -moz-image-region: rect(42px 25px 63px 0px); } +#button-goback:hover, +#button-goback:hover:active, +#button-goback[open="true"] { + -moz-image-region: rect(42px 75px 63px 50px); +} + #button-goback[disabled="true"] { -moz-image-region: rect(42px 50px 63px 25px) !important; } @@ -137,6 +143,12 @@ -moz-image-region: rect(63px 25px 84px 0px); } +#button-goforward:hover, +#button-goforward:hover:active, +#button-goforward[open="true"] { + -moz-image-region: rect(63px 75px 84px 50px); +} + #button-goforward[disabled="true"] { -moz-image-region: rect(63px 50px 84px 25px) !important; } -- 2.43.0