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:
Edouard Oger 2017-08-15 16:24:43 -04:00
parent 9def1e8a0e
commit 8ccd646ab4
2 changed files with 10 additions and 8 deletions

View File

@ -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]) ,

View File

@ -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;
}