mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1390586 - Center search icon in Synced Tabs sidebar on Windows. r=Gijs
MozReview-Commit-ID: 3ecUrJe0UPd --HG-- extra : rebase_source : e1f37c6043fb90539b346a52f80a3977b95450ae
This commit is contained in:
parent
9def1e8a0e
commit
8ccd646ab4
@ -46,11 +46,13 @@ html {
|
||||
}
|
||||
|
||||
.textbox-search-icon {
|
||||
background-image: url(chrome://global/skin/icons/search-textbox.svg);
|
||||
background-repeat: no-repeat;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: block;
|
||||
background-image: url(chrome://global/skin/icons/search-textbox.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.textbox-search-icon[searchbutton]:not([disabled]) ,
|
||||
|
@ -36,7 +36,9 @@ html {
|
||||
height: 16px;
|
||||
background-image: url(chrome://global/skin/icons/search-textbox.svg);
|
||||
background-repeat: no-repeat;
|
||||
display: block;
|
||||
background-position: center;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.textbox-search-icon:-moz-locale-dir(rtl) {
|
||||
@ -62,13 +64,11 @@ html {
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.textbox-search-clear:not([disabled]):hover ,
|
||||
.textbox-search-icon:not([disabled]):hover {
|
||||
.textbox-search-clear:not([disabled]):hover {
|
||||
background-position: -16px 0;
|
||||
}
|
||||
|
||||
.textbox-search-clear:not([disabled]):hover:active ,
|
||||
.textbox-search-icon:not([disabled]):hover:active {
|
||||
.textbox-search-clear:not([disabled]):hover:active {
|
||||
background-position: -32px 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user