[scaling] apply icons for 125% and 175%

This commit is contained in:
Maxim Kadushkin 2021-08-23 00:15:51 +03:00
parent 1557321fdf
commit 0b1168b64e
5 changed files with 27 additions and 3 deletions

View file

@ -43,10 +43,18 @@
background: ~"url(@{common-image-const-path}/combo-border-size/BorderSize.png) no-repeat 0 0";
background-size: 60px auto;
.pixel-ratio__1_25 & {
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@1.25x.png)";
}
.pixel-ratio__1_5 & {
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@1.5x.png)";
}
.pixel-ratio__1_75 & {
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@1.75x.png)";
}
.pixel-ratio__2 & {
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@2x.png)";
}

View file

@ -21,7 +21,7 @@
}
.combo-pattern-item {
.background-ximage-v2('right-panels/patterns.png', 112px);
.background-ximage-all('right-panels/patterns.png', 112px);
}
.combo-dataview-menu {

View file

@ -15,7 +15,7 @@
}
.combo-pattern-item {
.background-ximage-v2('right-panels/patterns.png', 112px);
.background-ximage-all('right-panels/patterns.png', 112px);
}
.combo-dataview-menu {

View file

@ -9,7 +9,7 @@
}
.combo-pattern-item {
.background-ximage-v2('right-panels/patterns.png', 112px);
.background-ximage-all('right-panels/patterns.png', 112px);
}
.combo-dataview-menu {
@ -210,10 +210,18 @@
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize.png)";
background-size: 60px auto;
.pixel-ratio__1_25 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.25x.png)";
}
.pixel-ratio__1_5 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
}
.pixel-ratio__1_75 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.75x.png)";
}
.pixel-ratio__2 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@2x.png)";
}

View file

@ -84,11 +84,19 @@
margin: -3px 10px -2px;
filter: @img-border-type-filter;
.pixel-ratio__1_25 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.25x.png)";
}
.pixel-ratio__1_5 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
//background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
}
.pixel-ratio__1_75 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.75x.png)";
}
.pixel-ratio__2 & {
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@2x.png)";
}