From 170fdc38361f4de40c2caa82f551cd7a784e9d7f Mon Sep 17 00:00:00 2001 From: robert Date: Tue, 1 May 2001 14:54:17 +0000 Subject: [PATCH] correcting navigator print button and mailnews menubuttons --- LCARStrek/communicator/skin/menubutton.css | 42 ++++++++-------------- LCARStrek/messenger/skin/messenger.css | 35 ++++++++---------- LCARStrek/navigator/skin/navigator.css | 9 +++-- 3 files changed, 33 insertions(+), 53 deletions(-) diff --git a/LCARStrek/communicator/skin/menubutton.css b/LCARStrek/communicator/skin/menubutton.css index 2534913f..1e047016 100755 --- a/LCARStrek/communicator/skin/menubutton.css +++ b/LCARStrek/communicator/skin/menubutton.css @@ -132,40 +132,27 @@ font-size : smaller; } -/* where have you gone? +/* Mail & Co. */ -.menubutton-dual.toolbar:hover > .menubutton-internal-box, -.menubutton-dual.toolbar:hover:active > .menubutton-internal-box +.menubutton-dual.toolbar { - -moz-border-radius : 3px; - background-color : #FFCF00; - color : #000000; - } - -.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box - { - background-color : #FF9F00; - color : #000000; - } - -.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box, -.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box, -.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box - { - -moz-border-radius : 3px; - background-color : #000000; - color : #8050B0; + min-width : 32px; + min-height : 32px; + max-height : 40px; + margin : 0px 1px 0px 1px; + padding : 0px; + font-size : smaller; + border : none; } - -.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button, -.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-button, -.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-button +.menubutton-dual.toolbar > button > .button-internal-box { - -moz-border-radius : 3px 0px 0px 3px; + min-width : 32px; + min-height : 32px; + max-height : 40px; + border : none; } -*/ .menubutton-dual-ex-button > .button-internal-box > .button-text-container { @@ -281,3 +268,4 @@ menubutton > .menubutton-dual-dropmarker-box > .menubutton-dropmarker + diff --git a/LCARStrek/messenger/skin/messenger.css b/LCARStrek/messenger/skin/messenger.css index 0e3407c4..871cfd24 100755 --- a/LCARStrek/messenger/skin/messenger.css +++ b/LCARStrek/messenger/skin/messenger.css @@ -72,9 +72,8 @@ iframe { #button-getmsg:hover, #button-getmsg:hover:active, -#button-getmsg > .menubutton-internal-box > .menubutton-dual-button:hover, -#button-getmsg > .menubutton-internal-box > .menubutton-dual-button:hover:active, -#button-getmsg[open="true"] > .menubutton-internal-box > .menubutton-dual-button +#button-getmsg[buttonover="true"], +#button-getmsg[open="true"] { list-style-image:url("chrome://messenger/skin/getmsg-hover.gif"); } @@ -82,8 +81,7 @@ iframe { #button-getmsg[disabled="true"], #button-getmsg[disabled="true"]:hover, #button-getmsg[disabled="true"]:hover:active, -#button-getmsg[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover, -#button-getmsg[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active +#button-getmsg[disabled="true"][buttonover="true"], { list-style-image:url("chrome://messenger/skin/getmsg_dis.gif"); } @@ -138,30 +136,27 @@ iframe { #button-file { list-style-image:url("chrome://messenger/skin/file.gif"); - padding: 1px; + padding: 0px 2px 0px 2px; } #button-file:hover { list-style-image:url("chrome://messenger/skin/file-hover.gif"); background-color: #FFCF00; color: #000000; - padding: 2px 0px 0px 2px; } #button-file[open="true"] { list-style-image:url("chrome://messenger/skin/file-hover.gif"); background-color: #FF9F00; color: #000000; - padding: 2px 0px 0px 2px; } #button-file[disabled="true"], -#button-file:hover[disabled="true"], -#button-file[open="true"][disabled="true"] { +#button-file[disabled="true"]:hover, +#button-file[disabled="true"][open="true"] { list-style-image:url("chrome://messenger/skin/file_dis.gif"); background-color: #000000; color: #8050B0; - padding: 1px; } #button-file > .button-internal-box @@ -194,9 +189,8 @@ iframe { #button-mark:hover, #button-mark:hover:active, -#button-mark > .menubutton-internal-box > .menubutton-dual-button:hover, -#button-mark > .menubutton-internal-box > .menubutton-dual-button:hover:active, -#button-mark[open="true"] > .menubutton-internal-box > .menubutton-dual-button +#button-mark[buttonover="true"], +#button-mark[open="true"] { list-style-image:url("chrome://messenger/skin/mark-hover.gif"); } @@ -204,8 +198,7 @@ iframe { #button-mark[disabled="true"], #button-mark[disabled="true"]:hover, #button-mark[disabled="true"]:hover:active, -#button-mark[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover, -#button-mark[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active +#button-mark[disabled="true"][buttonover="true"] { list-style-image:url("chrome://messenger/skin/mark_dis.gif"); } @@ -230,9 +223,8 @@ iframe { #button-print:hover, #button-print:hover:active, -#button-print > .menubutton-internal-box > .menubutton-dual-button:hover, -#button-print > .menubutton-internal-box > .menubutton-dual-button:hover:active, -#button-print[open="true"] > .menubutton-internal-box > .menubutton-dual-button +#button-print[buttonover="true"], +#button-print[open="true"] { list-style-image : url("chrome://global/skin/print-hover.gif"); } @@ -240,8 +232,7 @@ iframe { #button-print[disabled="true"], #button-print[disabled="true"]:hover, #button-print[disabled="true"]:hover:active, -#button-print[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover, -#button-print[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active +#button-print[disabled="true"][buttonover="true"] { list-style-image : url("chrome://global/skin/print_dis.gif"); } @@ -524,3 +515,5 @@ searchterm + + diff --git a/LCARStrek/navigator/skin/navigator.css b/LCARStrek/navigator/skin/navigator.css index 6b9d6e4b..e7c680db 100755 --- a/LCARStrek/navigator/skin/navigator.css +++ b/LCARStrek/navigator/skin/navigator.css @@ -226,9 +226,8 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome { #print-button:hover, #print-button:hover:active, -#print-button > .menubutton-internal-box > .menubutton-dual-button:hover, -#print-button > .menubutton-internal-box > .menubutton-dual-button:hover:active, -#print-button[open="true"] > .menubutton-internal-box > .menubutton-dual-button +#print-button[buttonover="true"], +#print-button[open="true"] { list-style-image : url("chrome://global/skin/print-hover.gif"); } @@ -236,8 +235,7 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome { #print-button[disabled="true"], #print-button[disabled="true"]:hover, #print-button[disabled="true"]:hover:active, -#print-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover, -#print-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active +#print-button[disabled="true"][buttonover="true"] { list-style-image : url("chrome://global/skin/print_dis.gif"); } @@ -247,3 +245,4 @@ window[chromehidden~="extrachrome"] .chromeclass-extrachrome { padding : 0px; } + -- 2.43.0