Bug 635522 - [rtl] tab close buttons in the wrong spot - followup [r=mfinkle]

This commit is contained in:
Vivien Nicolas 2011-03-01 16:44:09 +01:00
parent 16888dd930
commit 0bcd1ae24f
2 changed files with 21 additions and 5 deletions

View File

@ -12,7 +12,7 @@
<html:canvas anonid="thumbnail" class="documenttab-thumbnail" left="0" width="104" height="65" moz-opaque="true" empty="true"
onclick="document.getBindingParent(this)._onClick()"/>
<xul:hbox class="documenttab-reload" left="0" top="0" width="104" height="65" onclick="document.getBindingParent(this)._onUndo();"/>
<xul:hbox class="documenttab-close-container" left="-16" top="0" height="65" width="55" align="center" onclick="document.getBindingParent(this)._onClose()">
<xul:hbox class="documenttab-close-container" start="-16" top="0" height="65" width="55" align="center" onclick="document.getBindingParent(this)._onClose()">
<xul:image anonid="close" class="documenttab-close" mousethrough="always"/>
</xul:hbox>
</xul:stack>

View File

@ -65,8 +65,6 @@
#content-navigator > .previous-button {
-moz-margin-end: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border: @border_width_small@ solid white !important;
background-color: rgba(41,41,41,0.8);
background-image: none !important;
@ -74,10 +72,18 @@
box-shadow: black 0 @border_radius_tiny@ @border_radius_tiny@;
}
#content-navigator > .next-button {
-moz-margin-start: 0;
#content-navigator:-moz-locale-dir(ltr) > .previous-button {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
#content-navigator:-moz-locale-dir(rtl) > .previous-button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
#content-navigator > .next-button {
-moz-margin-start: 0;
border: @border_width_small@ solid white !important;
background-color: rgba(41,41,41,0.8);
background-image: none !important;
@ -85,6 +91,16 @@
box-shadow: black 0 @border_radius_tiny@ @border_radius_tiny@;
}
#content-navigator:-moz-locale-dir(ltr) > .next-button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
#content-navigator:-moz-locale-dir(rtl) > .next-button {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
/* Find Helper ------------------------------------------------------------- */
#content-navigator[type="find"] > .previous-button {
border-top-left-radius: 0;