mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 21:54:49 +08:00
[SSE DE PE] Fix bug in shape shape menu for IE11
This commit is contained in:
@ -1958,7 +1958,12 @@ define([
|
||||
]),
|
||||
itemTemplate: _.template(
|
||||
'<div class="item-shadow">' +
|
||||
'<div style="margin-bottom:<%= offsetY %>px; margin-right:<%= offsetX %>px; box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px var(--text-tertiary);"></div>' +
|
||||
'<div ' +
|
||||
'style="margin-bottom:<%= offsetY %>px;' +
|
||||
'margin-right:<%= offsetX %>px;' +
|
||||
'box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px <% if(Common.Utils.isIE) {%>rgba(0,0,0,0.4)<%} else {%>var(--text-tertiary)<%}%>;"' +
|
||||
'>' +
|
||||
'</div>' +
|
||||
'</div>')
|
||||
});
|
||||
this.viewShadowShapePresets.on('item:click', _.bind(this.onSelectShadowPreset, this));
|
||||
|
||||
@ -271,7 +271,8 @@
|
||||
height: 32px;
|
||||
background: white;
|
||||
border-radius: 1px;
|
||||
border: 1px var(--icon-normal) solid;
|
||||
border: 1px @icon-normal-ie solid;
|
||||
border: 1px @icon-normal solid;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1821,7 +1821,12 @@ define([
|
||||
]),
|
||||
itemTemplate: _.template(
|
||||
'<div class="item-shadow">' +
|
||||
'<div style="margin-bottom:<%= offsetY %>px; margin-right:<%= offsetX %>px; box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px var(--text-tertiary);"></div>' +
|
||||
'<div ' +
|
||||
'style="margin-bottom:<%= offsetY %>px;' +
|
||||
'margin-right:<%= offsetX %>px;' +
|
||||
'box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px <% if(Common.Utils.isIE) {%>rgba(0,0,0,0.4)<%} else {%>var(--text-tertiary)<%}%>;"' +
|
||||
'>' +
|
||||
'</div>' +
|
||||
'</div>')
|
||||
});
|
||||
this.viewShadowShapePresets.on('item:click', _.bind(this.onSelectShadowPreset, this));
|
||||
|
||||
@ -186,7 +186,8 @@
|
||||
height: 32px;
|
||||
background: white;
|
||||
border-radius: 1px;
|
||||
border: 1px var(--icon-normal) solid;
|
||||
border: 1px @icon-normal-ie solid;
|
||||
border: 1px @icon-normal solid;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1836,7 +1836,12 @@ define([
|
||||
]),
|
||||
itemTemplate: _.template(
|
||||
'<div class="item-shadow">' +
|
||||
'<div style="margin-bottom:<%= offsetY %>px; margin-right:<%= offsetX %>px; box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px var(--text-tertiary);"></div>' +
|
||||
'<div ' +
|
||||
'style="margin-bottom:<%= offsetY %>px;' +
|
||||
'margin-right:<%= offsetX %>px;' +
|
||||
'box-shadow: <%= offsetX %>px <%= offsetY %>px 0px <%= spread %>px <% if(Common.Utils.isIE) {%>rgba(0,0,0,0.4)<%} else {%>var(--text-tertiary)<%}%>;"' +
|
||||
'>' +
|
||||
'</div>' +
|
||||
'</div>')
|
||||
});
|
||||
this.viewShadowShapePresets.on('item:click', _.bind(this.onSelectShadowPreset, this));
|
||||
|
||||
@ -184,7 +184,8 @@
|
||||
height: 32px;
|
||||
background: white;
|
||||
border-radius: 1px;
|
||||
border: 1px var(--icon-normal) solid;
|
||||
border: 1px @icon-normal-ie solid;
|
||||
border: 1px @icon-normal solid;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user