From 5586caa7a894232b3f2947b25fec7d086ab9ca27 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Sat, 6 Feb 2021 12:53:01 +0300 Subject: [PATCH] [dark theme] changed Window component --- apps/common/main/lib/component/Window.js | 2 +- apps/common/main/resources/less/window.less | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/Window.js b/apps/common/main/lib/component/Window.js index f1716178d8..fe066541db 100644 --- a/apps/common/main/lib/component/Window.js +++ b/apps/common/main/lib/component/Window.js @@ -455,7 +455,7 @@ define([ if (!options.width) options.width = 'auto'; var template = '
' + - '<% if (typeof iconCls !== "undefined") { %>
<% } %>' + + '<% if (typeof iconCls !== "undefined") { %>
<% } %>' + '
style="padding-left:10px;" <% } %>><%= msg %>' + '<% if (dontshow) { %>
<% } %>' + '
' + diff --git a/apps/common/main/resources/less/window.less b/apps/common/main/resources/less/window.less index a257c51fcf..6fd14187ea 100644 --- a/apps/common/main/resources/less/window.less +++ b/apps/common/main/resources/less/window.less @@ -292,6 +292,12 @@ } } } + + .img-commonctrl { + &.img-no-theme-filter { + filter: none; + } + } } .modal-dlg {