mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
Bug 481397 - Incorrect tab order of findbar buttons on Linux. r=enn
This commit is contained in:
parent
8221d3c468
commit
350911cd4e
@ -221,26 +221,37 @@
|
||||
class="find-field-container findbar-find-fast">
|
||||
<xul:textbox class="findbar-textbox" anonid="findbar-textbox"/>
|
||||
</xul:hbox>
|
||||
<xul:hbox anonid="find-buttons-container" class="find-buttons-container">
|
||||
<xul:toolbarbutton anonid="find-next"
|
||||
class="findbar-find-next tabbable"
|
||||
label="&next.label;"
|
||||
accesskey="&next.accesskey;"
|
||||
tooltiptext="&next.tooltip;"
|
||||
oncommand="onFindAgainCommand(false);"
|
||||
disabled="true"
|
||||
chromedir="&locale.dir;"
|
||||
xbl:inherits="accesskey=findnextaccesskey"/>
|
||||
<xul:toolbarbutton anonid="find-previous"
|
||||
class="findbar-find-previous tabbable"
|
||||
label="&previous.label;"
|
||||
accesskey="&previous.accesskey;"
|
||||
tooltiptext="&previous.tooltip;"
|
||||
oncommand="onFindAgainCommand(true);"
|
||||
disabled="true"
|
||||
chromedir="&locale.dir;"
|
||||
xbl:inherits="accesskey=findpreviousaccesskey"/>
|
||||
</xul:hbox>
|
||||
#ifdef MOZ_WIDGET_GTK2
|
||||
<xul:toolbarbutton anonid="find-previous"
|
||||
class="findbar-find-previous tabbable"
|
||||
label="&previous.label;"
|
||||
accesskey="&previous.accesskey;"
|
||||
tooltiptext="&previous.tooltip;"
|
||||
oncommand="onFindAgainCommand(true);"
|
||||
disabled="true"
|
||||
chromedir="&locale.dir;"
|
||||
xbl:inherits="accesskey=findpreviousaccesskey"/>
|
||||
#endif
|
||||
<xul:toolbarbutton anonid="find-next"
|
||||
class="findbar-find-next tabbable"
|
||||
label="&next.label;"
|
||||
accesskey="&next.accesskey;"
|
||||
tooltiptext="&next.tooltip;"
|
||||
oncommand="onFindAgainCommand(false);"
|
||||
disabled="true"
|
||||
chromedir="&locale.dir;"
|
||||
xbl:inherits="accesskey=findnextaccesskey"/>
|
||||
#ifndef MOZ_WIDGET_GTK2
|
||||
<xul:toolbarbutton anonid="find-previous"
|
||||
class="findbar-find-previous tabbable"
|
||||
label="&previous.label;"
|
||||
accesskey="&previous.accesskey;"
|
||||
tooltiptext="&previous.tooltip;"
|
||||
oncommand="onFindAgainCommand(true);"
|
||||
disabled="true"
|
||||
chromedir="&locale.dir;"
|
||||
xbl:inherits="accesskey=findpreviousaccesskey"/>
|
||||
#endif
|
||||
<xul:toolbarbutton anonid="highlight"
|
||||
class="findbar-highlight tabbable"
|
||||
label="&highlight.label;"
|
||||
|
@ -5,18 +5,12 @@
|
||||
}
|
||||
|
||||
findbar {
|
||||
-moz-appearance: none !important;
|
||||
border-top: 2px solid;
|
||||
-moz-border-top-colors: ThreeDShadow ThreeDHighlight !important;
|
||||
border-bottom: 1px solid;
|
||||
-moz-border-bottom-colors: transparent;
|
||||
-moz-border-top-colors: ThreeDShadow ThreeDHighlight;
|
||||
padding-bottom: 1px;
|
||||
min-width: 1px;
|
||||
}
|
||||
|
||||
.find-buttons-container {
|
||||
-moz-box-direction: reverse;
|
||||
}
|
||||
|
||||
/* find-next button */
|
||||
|
||||
.findbar-find-next {
|
||||
|
@ -45,19 +45,16 @@ findbar {
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
.findbar-container > toolbarbutton > .toolbarbutton-text,
|
||||
.findbar-container > hbox > toolbarbutton > .toolbarbutton-text {
|
||||
.findbar-container > toolbarbutton > .toolbarbutton-text {
|
||||
margin: 1px 6px !important;
|
||||
}
|
||||
|
||||
.findbar-container > toolbarbutton[disabled],
|
||||
.findbar-container > hbox > toolbarbutton[disabled] {
|
||||
.findbar-container > toolbarbutton[disabled] {
|
||||
border-color: #8F8F8F !important;
|
||||
color: graytext;
|
||||
}
|
||||
|
||||
.findbar-container > toolbarbutton:not([disabled]):hover:active,
|
||||
.findbar-container > hbox > toolbarbutton:not([disabled]):hover:active {
|
||||
.findbar-container > toolbarbutton:not([disabled]):hover:active {
|
||||
background-image: url("chrome://global/skin/icons/white-gray-gradient-active.gif");
|
||||
}
|
||||
|
||||
|
@ -23,11 +23,9 @@
|
||||
}
|
||||
|
||||
findbar {
|
||||
-moz-appearance: none !important;
|
||||
border-top: 2px solid;
|
||||
-moz-border-top-colors: ThreeDShadow ThreeDHighlight !important;
|
||||
border-bottom: 1px solid;
|
||||
-moz-border-bottom-colors: transparent;
|
||||
-moz-border-top-colors: ThreeDShadow ThreeDHighlight;
|
||||
padding-bottom: 1px;
|
||||
min-width: 1px;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user