high dpi media query for option page icon
This commit is contained in:
parent
a38485723b
commit
b6eaccfb70
|
@ -119,6 +119,19 @@
|
||||||
#badgedoptions .icon32 {
|
#badgedoptions .icon32 {
|
||||||
background-image: url(../img/icon-badged-32.png);
|
background-image: url(../img/icon-badged-32.png);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media
|
||||||
|
only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
||||||
|
only screen and ( min--moz-device-pixel-ratio: 1.5),
|
||||||
|
only screen and ( -o-min-device-pixel-ratio: 3/2),
|
||||||
|
only screen and ( min-device-pixel-ratio: 1.5) {
|
||||||
|
#badgedoptions .icon32 {
|
||||||
|
background-image: url(../img/icon-badged-32@2x.png) !important;
|
||||||
|
-webkit-background-size: 32px 32px;
|
||||||
|
-moz-background-size: 32px 32px;
|
||||||
|
background-size: 32px 32px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue