[web-apps] fix bug 50030
This commit is contained in:
parent
64031048ce
commit
134001162c
|
@ -224,6 +224,8 @@
|
||||||
@header-component-active-hover-icon-opacity: var(--header-component-active-hover-icon-opacity, 1);
|
@header-component-active-hover-icon-opacity: var(--header-component-active-hover-icon-opacity, 1);
|
||||||
|
|
||||||
@menu-icon-item-checked-offset-x: var(--menu-icon-item-checked-offset-x, 0);
|
@menu-icon-item-checked-offset-x: var(--menu-icon-item-checked-offset-x, 0);
|
||||||
|
@img-border-type-filter: var(--image-border-types-filter, none);
|
||||||
|
@img-border-type-filter-selected: var(--image-border-types-filter-selected, none);
|
||||||
|
|
||||||
// Canvas
|
// Canvas
|
||||||
// ---------------------------
|
// ---------------------------
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
@img-borders-filter: var(--image-border-types-filter);
|
|
||||||
@img-borders-filter-selected: var(--image-border-types-filter-selected);
|
|
||||||
|
|
||||||
.combobox {
|
.combobox {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -33,8 +31,8 @@
|
||||||
float: none;
|
float: none;
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
-webkit-filter: @img-borders-filter;
|
-webkit-filter: @img-border-type-filter;
|
||||||
filter: @img-borders-filter;
|
filter: @img-border-type-filter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -136,22 +134,22 @@
|
||||||
// ------------------------
|
// ------------------------
|
||||||
li {
|
li {
|
||||||
img {
|
img {
|
||||||
-webkit-filter: @img-borders-filter;
|
-webkit-filter: @img-border-type-filter;
|
||||||
filter: @img-borders-filter;
|
filter: @img-border-type-filter;
|
||||||
}
|
}
|
||||||
canvas {
|
canvas {
|
||||||
-webkit-filter: @img-borders-filter;
|
-webkit-filter: @img-border-type-filter;
|
||||||
filter: @img-borders-filter;
|
filter: @img-border-type-filter;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
img {
|
img {
|
||||||
-webkit-filter: @img-borders-filter-selected;
|
-webkit-filter: @img-border-type-filter-selected;
|
||||||
filter: @img-borders-filter-selected;
|
filter: @img-border-type-filter-selected;
|
||||||
}
|
}
|
||||||
canvas {
|
canvas {
|
||||||
-webkit-filter: @img-borders-filter-selected;
|
-webkit-filter: @img-border-type-filter-selected;
|
||||||
filter: @img-borders-filter-selected;
|
filter: @img-border-type-filter-selected;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 207 B |
|
@ -211,11 +211,11 @@
|
||||||
background-size: 60px auto;
|
background-size: 60px auto;
|
||||||
|
|
||||||
.pixel-ratio__1_5 & {
|
.pixel-ratio__1_5 & {
|
||||||
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@1.5x.png)";
|
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
|
||||||
}
|
}
|
||||||
|
|
||||||
.pixel-ratio__2 & {
|
.pixel-ratio__2 & {
|
||||||
background-image: ~"url(@{common-image-const-path}/combo-border-size/BorderSize@2x.png)";
|
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@2x.png)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,27 +77,19 @@
|
||||||
#id-toolbar-mnu-item-border-width {
|
#id-toolbar-mnu-item-border-width {
|
||||||
.border-size-item {
|
.border-size-item {
|
||||||
background: ~"url(@{app-image-const-path}/toolbar/BorderSize.png) no-repeat scroll 0 0";
|
background: ~"url(@{app-image-const-path}/toolbar/BorderSize.png) no-repeat scroll 0 0";
|
||||||
|
background-size: 60px auto;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: -3px 10px -2px;
|
margin: -3px 10px -2px;
|
||||||
filter: @component-normal-icon-filter;
|
filter: @img-border-type-filter;
|
||||||
|
|
||||||
@media only screen {
|
.pixel-ratio__1_5 & {
|
||||||
//@media (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9),
|
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
|
||||||
// (min-resolution: 1.5dppx) and (max-resolution: 1.9dppx),
|
//background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
|
||||||
// (min-resolution: 144dpi) and (max-resolution: 191dpi)
|
}
|
||||||
//{
|
|
||||||
// background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@1.5x.png)";
|
|
||||||
// background-size: 60px auto;
|
|
||||||
//}
|
|
||||||
|
|
||||||
@media (-webkit-min-device-pixel-ratio: 2),
|
.pixel-ratio__2 & {
|
||||||
(min-resolution: 2dppx),
|
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@2x.png)";
|
||||||
(min-resolution: 192dpi)
|
|
||||||
{
|
|
||||||
background-image: ~"url(@{app-image-const-path}/toolbar/BorderSize@2x.png)";
|
|
||||||
background-size: 60px auto;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue