[common] debug stylesheet
This commit is contained in:
parent
b65c980be5
commit
291616bcb8
|
@ -159,14 +159,15 @@
|
|||
|
||||
.background-ximage-v2(@image, @w: auto, @h: auto, @repeat: no-repeat, @commonimage: true) {
|
||||
.choose-image-path(@commonimage);
|
||||
@imagepath: '@{path}/@{image}';
|
||||
|
||||
background-image: if(@icon-src-base64, data-uri(%("%s",'@{path}/@{image}')), ~"url(@{path}/@{image})");
|
||||
background-image: if(@icon-src-base64, data-uri(%("%s", '@{imagepath}')), ~"url(@{imagepath})");
|
||||
background-repeat: @repeat;
|
||||
|
||||
@1d5ximage: replace(@image, '\.png$', '@1.5x.png');
|
||||
@1d75ximage: replace(@image, '\.png$', '@1.75x.png');
|
||||
@1d25ximage: replace(@image, '\.png$', '@1.25x.png');
|
||||
@2ximage: replace(@image, '\.png$', '@2x.png');
|
||||
@1d5ximage: replace(@imagepath, '\.png$', '@1.5x.png');
|
||||
@1d75ximage: replace(@imagepath, '\.png$', '@1.75x.png');
|
||||
@1d25ximage: replace(@imagepath, '\.png$', '@1.25x.png');
|
||||
@2ximage: replace(@imagepath, '\.png$', '@2x.png');
|
||||
|
||||
@media only screen {
|
||||
@media (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9),
|
||||
|
|
Loading…
Reference in a new issue