From 6e2c20eaa70b21222d0e1c8925955e5d71edf192 Mon Sep 17 00:00:00 2001 From: "mozilla.mano%sent.com" Date: Sat, 5 Mar 2005 07:07:58 +0000 Subject: [PATCH] Bug 221824 - themes should be RTL compatible. regressions fix. r=steffen/kmgerich --- .../browser/preferences/preferences.css | 28 ++++++++++++------- toolkit/themes/winstripe/global/button.css | 1 - toolkit/themes/winstripe/global/menulist.css | 1 - toolkit/themes/winstripe/global/radio.css | 1 - .../themes/winstripe/global/toolbarbutton.css | 1 - toolkit/themes/winstripe/help/help.css | 8 +++--- 6 files changed, 22 insertions(+), 18 deletions(-) diff --git a/browser/themes/winstripe/browser/preferences/preferences.css b/browser/themes/winstripe/browser/preferences/preferences.css index 304b6ffd228..c3afec71838 100644 --- a/browser/themes/winstripe/browser/preferences/preferences.css +++ b/browser/themes/winstripe/browser/preferences/preferences.css @@ -206,32 +206,40 @@ filefield[disabled="true"] .fileFieldIcon { #extensionField { color: GrayText; font-weight: bold; -} -#ChangeActionDialog { padding: 0px; } - #ChangeActionDialog .dialog-button-box { +#ChangeActionDialog { + padding: 0px; +} + +#ChangeActionDialog .dialog-button-box { padding-top: 8px; padding-bottom: 10px; -moz-padding-start: 8px; - -moz-padding-end: 10px; } - #changeActionHeader { + -moz-padding-end: 10px; +} + +#changeActionHeader { border-bottom: 2px groove ThreeDFace; margin: 0px; padding: 10px; background-color: -moz-Field; color: -moz-FieldText; } - #changeActionContent { + +#changeActionContent { padding-top: 8px; padding-bottom: 10px -moz-padding-start: 9px; -moz-padding-end: 10px; } - #defaultAppIcon { - width: 16px; height: 16px; - -moz-margin-start: 2px; } + +#defaultAppIcon { + width: 16px; + height: 16px; + -moz-margin-start: 2px; +} #defaultAppName { -moz-margin-start: 6px !important; font-weight: bold; -} +} diff --git a/toolkit/themes/winstripe/global/button.css b/toolkit/themes/winstripe/global/button.css index 61cd52517e0..e56702829bd 100644 --- a/toolkit/themes/winstripe/global/button.css +++ b/toolkit/themes/winstripe/global/button.css @@ -106,7 +106,6 @@ button[checked="true"] { button:hover:active > .button-box, button[open="true"] > .button-box, button[checked="true"] > .button-box { - padding: 2px 3px 1px 4px; padding-top: 2px; padding-bottom: 1px; -moz-padding-start: 4px; diff --git a/toolkit/themes/winstripe/global/menulist.css b/toolkit/themes/winstripe/global/menulist.css index 4a3c1d4887a..b149ae8eae5 100644 --- a/toolkit/themes/winstripe/global/menulist.css +++ b/toolkit/themes/winstripe/global/menulist.css @@ -133,7 +133,6 @@ menulist[disabled="true"] { /* ::::: editable menulists ::::: */ .menulist-editable-box { - padding: 3px 0px 3px 2px; padding-top: 3px; padding-bottom: 3px; -moz-padding-start: 2px; diff --git a/toolkit/themes/winstripe/global/radio.css b/toolkit/themes/winstripe/global/radio.css index 378ed8627cf..c4f8d099c02 100644 --- a/toolkit/themes/winstripe/global/radio.css +++ b/toolkit/themes/winstripe/global/radio.css @@ -56,7 +56,6 @@ radio { .radio-label-box { -moz-margin-start: 2px; border: 1px solid transparent; - padding: 0px 0px 1px 1px; padding-top: 0px; padding-bottom: 1px; -moz-padding-start: 1px; diff --git a/toolkit/themes/winstripe/global/toolbarbutton.css b/toolkit/themes/winstripe/global/toolbarbutton.css index c856dac7deb..89eb56e73c0 100644 --- a/toolkit/themes/winstripe/global/toolbarbutton.css +++ b/toolkit/themes/winstripe/global/toolbarbutton.css @@ -91,7 +91,6 @@ toolbarbutton[disabled="true"][open="true"] { toolbarbutton[checked="true"] { border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow !important; - padding: 4px 2px 2px 4px !important; padding-top: 4px !important; padding-bottom: 2px !important; -moz-padding-start: 4px !important; diff --git a/toolkit/themes/winstripe/help/help.css b/toolkit/themes/winstripe/help/help.css index 7ad66d3f3cb..ed4683cc2f9 100644 --- a/toolkit/themes/winstripe/help/help.css +++ b/toolkit/themes/winstripe/help/help.css @@ -77,14 +77,14 @@ menubutton:not([disabled="true"]):hover:active { #help-back-button, #help-forward-button[chromedir="rtl"] { -moz-image-region: rect(0px 24px 24px 0px); } -#help-back-button[buttonover="true"], -#help-forward-button[buttonover="true"][chromedir="rtl"] { -moz-image-region: rect(24px 24px 48px 0px); } +#help-back-button:hover, +#help-forward-button[chromedir="rtl"]:hover { -moz-image-region: rect(24px 24px 48px 0px); } #help-back-button[disabled="true"], #help-forward-button[disabled="true"][chromedir="rtl"] { -moz-image-region: rect(48px 24px 72px 0px); } #help-forward-button, #help-back-button[chromedir="rtl"] { -moz-image-region: rect(0px 48px 24px 24px); } -#help-forward-button[buttonover="true"], -#help-back-button[buttonover="true"][chromedir="rtl"] { -moz-image-region: rect(24px 48px 48px 24px); } +#help-forward-button:hover, +#help-back-button[chromedir="rtl"]:hover { -moz-image-region: rect(24px 48px 48px 24px); } #help-forward-button[disabled="true"], #help-back-button[disabled="true"][chromedir="rtl"] { -moz-image-region: rect(48px 48px 72px 24px); }