Fix Bug 52187

This commit is contained in:
OVSharova 2021-09-28 17:35:52 +03:00
parent 3d60527f99
commit 501043f04c
4 changed files with 8 additions and 29 deletions

View file

@ -1371,7 +1371,6 @@ define([
restoreHeight: 174,
allowScrollbar: false,
store: new Common.UI.DataViewStore(me._viewDataLinear),
//itemTemplate: _.template('<div id="<%= id %>" class="item-gradient" style="background-position: -<%= offsetx %>px -<%= offsety %>px;"></div>')
itemTemplate: _.template('<div id="<%= id %>" class="item-gradient" style="background: '
+'<% if(type!=2) {%>linear-gradient(<%= type + 90 %>deg,#000, #fff)'
+' <%} else {%> radial-gradient( #000 , #fff 70%) <%}%>;"></div>')

View file

@ -49,48 +49,43 @@
margin-right: 62px !important;
}
.item-gradient-separator {
margin-right: 62px !important;
}
.gradient-left-top {
//background-position: 0 0;
background: linear-gradient(to bottom right, #000, #fff);
}
.gradient-top {
//background-position: -50px 0;
background: linear-gradient(to bottom, #000, #fff);
}
.gradient-right-top {
//background-position: -100px 0;
background: linear-gradient(to bottom left, #000, #fff);
}
.gradient-left {
//background-position: 0 -50px;
background: linear-gradient(to right, #000, #fff);
}
.gradient-right {
//background-position: -100px -50px;
background: linear-gradient(to left, #000, #fff);
}
.gradient-left-bottom {
//background-position: 0 -100px;
background: linear-gradient(to top right, #000, #fff);
}
.gradient-bottom {
// background-position: -50px -100px;
background: linear-gradient(to top, #000, #fff);
}
.gradient-right-bottom {
//background-position: -100px -100px;
background: linear-gradient(to top left, #000, #fff);
}
.gradient-radial-center {
//background-position: -100px -150px;
background: radial-gradient( #000 , #fff 70%);
}

View file

@ -33,7 +33,6 @@
}
.item-gradient {
//.background-ximage-all('right-panels/gradients.png', 150px);
width:50px;
height:50px;
}
@ -47,47 +46,38 @@
}
.gradient-left-top {
//background-position: 0 0;
background: linear-gradient(to bottom right, #000, #fff);
}
.gradient-top {
//background-position: -50px 0;
background: linear-gradient(to bottom, #000, #fff);
}
.gradient-right-top {
//background-position: -100px 0;
background: linear-gradient(to bottom left, #000, #fff);
}
.gradient-left {
//background-position: 0 -50px;
background: linear-gradient(to right, #000, #fff);
}
.gradient-right {
//background-position: -100px -50px;
background: linear-gradient(to left, #000, #fff);
}
.gradient-left-bottom {
//background-position: 0 -100px;
background: linear-gradient(to top right, #000, #fff);
}
.gradient-bottom {
// background-position: -50px -100px;
background: linear-gradient(to top, #000, #fff);
}
.gradient-right-bottom {
//background-position: -100px -100px;
background: linear-gradient(to top left, #000, #fff);
}
.gradient-radial-center {
//background-position: -100px -150px;
background: radial-gradient( #000 , #fff 70%);
}

View file

@ -36,48 +36,43 @@
margin-right: 62px !important;
}
.item-gradient-separator {
margin-right: 62px !important;
}
.gradient-left-top {
//background-position: 0 0;
background: linear-gradient(to bottom right, #000, #fff);
}
.gradient-top {
//background-position: -50px 0;
background: linear-gradient(to bottom, #000, #fff);
}
.gradient-right-top {
//background-position: -100px 0;
background: linear-gradient(to bottom left, #000, #fff);
}
.gradient-left {
//background-position: 0 -50px;
background: linear-gradient(to right, #000, #fff);
}
.gradient-right {
//background-position: -100px -50px;
background: linear-gradient(to left, #000, #fff);
}
.gradient-left-bottom {
//background-position: 0 -100px;
background: linear-gradient(to top right, #000, #fff);
}
.gradient-bottom {
// background-position: -50px -100px;
background: linear-gradient(to top, #000, #fff);
}
.gradient-right-bottom {
//background-position: -100px -100px;
background: linear-gradient(to top left, #000, #fff);
}
.gradient-radial-center {
//background-position: -100px -150px;
background: radial-gradient( #000 , #fff 70%);
}