[scaling] correct images for 125%/175%
This commit is contained in:
parent
af8ea597ff
commit
3207023fb3
|
@ -327,11 +327,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@img-colorpicker-width: 205px;
|
@img-colorpicker-width: 208px;
|
||||||
.img-colorpicker, .hsb-colorpicker .empty-color:before
|
.img-colorpicker, .hsb-colorpicker .empty-color:before
|
||||||
{
|
{
|
||||||
background-image: if(@icon-src-base64, data-uri(%("%s",'@{common-image-path}/hsbcolorpicker/hsb-colorpicker.png')), ~"url(@{common-image-const-path}/hsbcolorpicker/hsb-colorpicker.png)");
|
background-image: if(@icon-src-base64, data-uri(%("%s",'@{common-image-path}/hsbcolorpicker/hsb-colorpicker.png')), ~"url(@{common-image-const-path}/hsbcolorpicker/hsb-colorpicker.png)");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
background-size: @img-colorpicker-width auto;
|
||||||
|
|
||||||
@media only screen {
|
@media only screen {
|
||||||
@media (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9),
|
@media (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9),
|
||||||
|
@ -350,6 +351,14 @@
|
||||||
background-size: @img-colorpicker-width auto;
|
background-size: @img-colorpicker-width auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pixel-ratio__1_25 & {
|
||||||
|
background-image: ~"url(@{common-image-const-path}/hsbcolorpicker/hsb-colorpicker@1.25x.png)";
|
||||||
|
}
|
||||||
|
|
||||||
|
.pixel-ratio__1_75 & {
|
||||||
|
background-image: ~"url(@{common-image-const-path}/hsbcolorpicker/hsb-colorpicker@1.75x.png)";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon.lang-flag {
|
.icon.lang-flag {
|
||||||
|
|
Loading…
Reference in a new issue