mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Bug #285136 --> more work to make the thunderbird theme RTL compatible.
Path by Reuven Gonen
This commit is contained in:
parent
7b12ee7227
commit
f2750c22d5
@ -43,13 +43,15 @@
|
||||
<?xul-overlay href="chrome://messenger/content/mailWindowExtrasOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE overlay [
|
||||
<!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" >
|
||||
%messengerDTD;
|
||||
<!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd" >
|
||||
%contentAreaCommandsDTD;
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
||||
%brandDTD;
|
||||
]>
|
||||
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
|
||||
%globalDTD;
|
||||
<!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd">
|
||||
%messengerDTD;
|
||||
<!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd">
|
||||
%contentAreaCommandsDTD;
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
||||
%brandDTD;
|
||||
]>
|
||||
|
||||
<overlay
|
||||
xmlns:nc="http://home.netscape.com/NC-rdf#"
|
||||
@ -1877,8 +1879,8 @@
|
||||
<menupopup/>
|
||||
</toolbarbutton>
|
||||
|
||||
<toolbarbutton class="toolbarbutton-1" id="button-previous" label="&previousButton.label;" oncommand="goDoCommand('button_previous')" tooltiptext="&previousButton.tooltip;" observes="button_previous"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="button-next" label="&nextButton.label;" oncommand="goDoCommand('button_next')" tooltiptext="&nextButton.tooltip;" observes="button_next"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="button-previous" label="&previousButton.label;" chromedir="&locale.dir;" oncommand="goDoCommand('button_previous')" tooltiptext="&previousButton.tooltip;" observes="button_previous"/>
|
||||
<toolbarbutton class="toolbarbutton-1" id="button-next" label="&nextButton.label;" chromedir="&locale.dir;" oncommand="goDoCommand('button_next')" tooltiptext="&nextButton.tooltip;" observes="button_next"/>
|
||||
|
||||
<toolbaritem id="button-junk">
|
||||
<deck id="junk-deck" observes="button_junk">
|
||||
|
@ -202,27 +202,27 @@ toolbar[mode="text"] .toolbarbutton-text {
|
||||
-moz-image-region: rect(48px 264px 72px 240px) !important;
|
||||
}
|
||||
|
||||
#button-next {
|
||||
#button-next, #button-previous[chromedir="rtl"] {
|
||||
-moz-image-region: rect(0px 288px 24px 264px);
|
||||
}
|
||||
|
||||
#button-next:hover {
|
||||
#button-next:hover, #button-previous:hover[chromedir="rtl"]{
|
||||
-moz-image-region: rect(24px 288px 48px 264px);
|
||||
}
|
||||
|
||||
#button-next[disabled] {
|
||||
#button-next[disabled], #button-previous[chromedir="rtl"][disabled] {
|
||||
-moz-image-region: rect(48px 288px 72px 264px) !important;
|
||||
}
|
||||
|
||||
#button-previous {
|
||||
#button-previous, #button-next[chromedir="rtl"] {
|
||||
-moz-image-region: rect(0px 312px 24px 288px);
|
||||
}
|
||||
|
||||
#button-previous:hover {
|
||||
#button-previous:hover, #button-next:hover[chromedir="rtl"]{
|
||||
-moz-image-region: rect(24px 312px 48px 288px);
|
||||
}
|
||||
|
||||
#button-previous[disabled] {
|
||||
#button-previous[disabled], #button-next[chromedir="rtl"][disabled] {
|
||||
-moz-image-region: rect(48px 312px 72px 288px) !important;
|
||||
}
|
||||
|
||||
@ -390,6 +390,18 @@ toolbar[iconsize="small"] #button-next[disabled] {
|
||||
-moz-image-region: rect(32px 192px 48px 176px) !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-next[chromedir="rtl"] {
|
||||
-moz-image-region: rect(0px 208px 16px 192px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-next:hover[chromedir="rtl"] {
|
||||
-moz-image-region: rect(16px 208px 32px 192px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-next[chromedir="rtl"][disabled] {
|
||||
-moz-image-region: rect(32px 208px 48px 192px) !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-previous {
|
||||
-moz-image-region: rect(0px 208px 16px 192px);
|
||||
}
|
||||
@ -402,6 +414,18 @@ toolbar[iconsize="small"] #button-previous[disabled] {
|
||||
-moz-image-region: rect(32px 208px 48px 192px) !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-previous[chromedir="rtl"] {
|
||||
-moz-image-region: rect(0px 192px 16px 176px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-previous:hover[chromedir="rtl"] {
|
||||
-moz-image-region: rect(16px 192px 32px 176px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-previous[chromedir="rtl"][disabled] {
|
||||
-moz-image-region: rect(32px 192px 48px 176px) !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #button-mark {
|
||||
-moz-image-region: rect(0px 224px 16px 208px);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user