mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1280135 - Make hidpi version of search-indicator icon work on Linux. r=florian
MozReview-Commit-ID: Fo7NlMOiRoJ --HG-- extra : rebase_source : de088015cd4f4dfffbd44c944b73e724e815eefc
This commit is contained in:
parent
41f664ca15
commit
38cb5ae087
@ -39,6 +39,7 @@
|
||||
padding: 1px;
|
||||
list-style-image: url("chrome://browser/skin/reload-stop-go.png");
|
||||
-moz-image-region: rect(0, 42px, 14px, 28px);
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
.search-go-button:hover {
|
||||
@ -71,6 +72,7 @@ menuitem[cmd="cmd_clearhistory"][disabled] {
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
margin-inline-start: 2px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.searchbar-search-button[addengines="true"] {
|
||||
@ -85,6 +87,41 @@ menuitem[cmd="cmd_clearhistory"][disabled] {
|
||||
-moz-image-region: rect(0, 60px, 20px, 40px);
|
||||
}
|
||||
|
||||
@media (min-resolution: 1.1dppx) {
|
||||
.searchbar-engine-image {
|
||||
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
|
||||
}
|
||||
|
||||
.searchbar-search-button {
|
||||
list-style-image: url("chrome://browser/skin/search-indicator@2x.png");
|
||||
-moz-image-region: rect(0, 40px, 40px, 0);
|
||||
}
|
||||
|
||||
.searchbar-search-button[addengines="true"] {
|
||||
list-style-image: url("chrome://browser/skin/search-indicator-badge-add@2x.png");
|
||||
}
|
||||
|
||||
.searchbar-search-button:hover {
|
||||
-moz-image-region: rect(0, 80px, 40px, 40px);
|
||||
}
|
||||
|
||||
.searchbar-search-button:hover:active {
|
||||
-moz-image-region: rect(0, 120px, 40px, 80px);
|
||||
}
|
||||
|
||||
.search-go-button {
|
||||
list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
|
||||
-moz-image-region: rect(0, 84px, 28px, 56px);
|
||||
}
|
||||
|
||||
.search-go-button:hover {
|
||||
-moz-image-region: rect(28px, 84px, 56px, 56px);
|
||||
}
|
||||
|
||||
.search-go-button:hover:active {
|
||||
-moz-image-region: rect(56px, 84px, 84px, 56px);
|
||||
}
|
||||
}
|
||||
|
||||
.search-panel-current-engine {
|
||||
border-top: none !important;
|
||||
@ -216,6 +253,16 @@ menuitem[cmd="cmd_clearhistory"][disabled] {
|
||||
list-style-image: url("chrome://browser/skin/search-engine-placeholder.png");
|
||||
}
|
||||
|
||||
@media (min-resolution: 1.1dppx) {
|
||||
.addengine-badge {
|
||||
list-style-image: url("chrome://browser/skin/badge-add-engine@2x.png");
|
||||
}
|
||||
|
||||
.addengine-item:not([image]) {
|
||||
list-style-image: url("chrome://browser/skin/search-engine-placeholder@2x.png");
|
||||
}
|
||||
}
|
||||
|
||||
.search-panel-tree > .autocomplete-treebody::-moz-tree-cell {
|
||||
border-top: none !important;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user