forked from mirrors/gecko-dev
Bug 1853652 - Use image-set more in toolkit. r=desktop-theme-reviewers,dao
Depends on D188450 Differential Revision: https://phabricator.services.mozilla.com/D188451
This commit is contained in:
parent
166f53ddf7
commit
cc2aa15672
2 changed files with 8 additions and 14 deletions
|
|
@ -179,19 +179,16 @@ input[type="text"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
#print-progress {
|
#print-progress {
|
||||||
background-image: url("chrome://global/skin/icons/loading.png");
|
background-image: image-set(
|
||||||
|
url("chrome://global/skin/icons/loading.png"),
|
||||||
|
url("chrome://global/skin/icons/loading@2x.png") 2x
|
||||||
|
);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 16px;
|
background-size: 16px;
|
||||||
background-position: left center;
|
background-position: left center;
|
||||||
padding-inline-start: 20px;
|
padding-inline-start: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-resolution: 1.1dppx) {
|
|
||||||
#print-progress {
|
|
||||||
background-image: url("chrome://global/skin/icons/loading@2x.png");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#print-progress:dir(rtl) {
|
#print-progress:dir(rtl) {
|
||||||
background-position-x: right;
|
background-position-x: right;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,18 +49,15 @@ th,
|
||||||
}
|
}
|
||||||
|
|
||||||
.submitting {
|
.submitting {
|
||||||
background-image: url(chrome://global/skin/icons/loading.png);
|
background-image: image-set(
|
||||||
|
url(chrome://global/skin/icons/loading.png),
|
||||||
|
url(chrome://global/skin/icons/loading@2x.png) 2x
|
||||||
|
);
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 16px;
|
background-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-resolution: 1.1dppx) {
|
|
||||||
.submitting {
|
|
||||||
background-image: url(chrome://global/skin/icons/loading@2x.png);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.submitting .submit-crash-button-label {
|
.submitting .submit-crash-button-label {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue