From ba6082648bf64f08abf1936079f5e17bc5269b5e Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 26 Apr 2017 17:14:59 +0800 Subject: [PATCH 01/24] updaet --- src/core/proto/date.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/proto/date.js b/src/core/proto/date.js index 755e488f0..8ccbe1e4d 100644 --- a/src/core/proto/date.js +++ b/src/core/proto/date.js @@ -9,14 +9,14 @@ Date._DN = [BI.i18nText("BI-Basic_Sunday"), BI.i18nText("BI-Basic_Sunday")]; // short day names -Date._SDN = [BI.i18nText("BI-Day_Ri"), +Date._SDN = [BI.i18nText("BI-Date_Day"), BI.i18nText("BI-Basic_One"), BI.i18nText("BI-Basic_Two"), BI.i18nText("BI-Basic_Three"), BI.i18nText("BI-Basic_Four"), BI.i18nText("BI-Basic_Five"), BI.i18nText("BI-Basic_Six"), - BI.i18nText("BI-Day_Ri")]; + BI.i18nText("BI-Date_Day")]; // Monday first, etc. Date._FD = 1; From dd1d894b237cc043a3de239f36572271ef107ae3 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 26 Apr 2017 18:37:27 +0800 Subject: [PATCH 02/24] segment --- bi/base.css | 17 +++++++++++++++++ bi/case.js | 13 ++++--------- bi/core.js | 6 +++--- docs/base.css | 17 +++++++++++++++++ docs/case.js | 13 ++++--------- docs/core.js | 6 +++--- src/case/segment/segment.js | 13 ++++--------- src/core/proto/date.js | 2 +- src/css/base/segment/segment.css | 17 +++++++++++++++++ src/less/base/segment/segment.less | 20 ++++++++++++++++++++ 10 files changed, 90 insertions(+), 34 deletions(-) diff --git a/bi/base.css b/bi/base.css index f423941b2..8a57a0a64 100644 --- a/bi/base.css +++ b/bi/base.css @@ -678,8 +678,13 @@ li.CodeMirror-hint-active { overflow: hidden; overflow-x: hidden; overflow-y: hidden; + background: #ffffff; + border-right: 1px solid #d4dadd; + border-top: 1px solid #d4dadd; + border-bottom: 1px solid #d4dadd; } .bi-segment > .first-element { + border-left: 1px solid #d4dadd; -webkit-border-radius: 6px 0px 0px 6px; -moz-border-radius: 6px 0px 0px 6px; border-radius: 6px 0px 0px 6px; @@ -689,6 +694,18 @@ li.CodeMirror-hint-active { -moz-border-radius: 0px 6px 6px 0px; border-radius: 0px 6px 6px 0px; } +.bi-theme-dark .bi-segment > .center-element { + overflow: hidden; + overflow-x: hidden; + overflow-y: hidden; + background: #242640; + border-right: 1px solid #525466; + border-top: 1px solid #525466; + border-bottom: 1px solid #525466; +} +.bi-theme-dark .bi-segment > .first-element { + border-left: 1px solid #242640; +} /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/bi/case.js b/bi/case.js index 41a27538c..d5d9092aa 100644 --- a/bi/case.js +++ b/bi/case.js @@ -8804,15 +8804,10 @@ BI.Segment = BI.inherit(BI.Widget, { this.buttonGroup = BI.createWidget({ element: this, type: "bi.button_group", - items: BI.map(o.items, function (i, item) { - return BI.extend({ - type: "bi.segment_button", - height: o.height - 2, - whiteSpace: o.whiteSpace - }, item, { - cls: (i === 0 ? "bi-border-left " : "") - + (item.cls || "") + " bi-border-top bi-border-right bi-border-bottom" - }); + items: BI.createItems(o.items, { + type: "bi.segment_button", + height: o.height - 2, + whiteSpace: o.whiteSpace }), layout: [ { diff --git a/bi/core.js b/bi/core.js index db3206894..da9046cb6 100644 --- a/bi/core.js +++ b/bi/core.js @@ -6169,19 +6169,19 @@ Date._DN = [BI.i18nText("BI-Basic_Sunday"), BI.i18nText("BI-Basic_Sunday")]; // short day names -Date._SDN = [BI.i18nText("BI-Day_Ri"), +Date._SDN = [BI.i18nText("BI-Date_Day"), BI.i18nText("BI-Basic_One"), BI.i18nText("BI-Basic_Two"), BI.i18nText("BI-Basic_Three"), BI.i18nText("BI-Basic_Four"), BI.i18nText("BI-Basic_Five"), BI.i18nText("BI-Basic_Six"), - BI.i18nText("BI-Day_Ri")]; + BI.i18nText("BI-Date_Day")]; // Monday first, etc. Date._FD = 1; -// full month names +// full month namesdat Date._MN = [ BI.i18nText("BI-Basic_January"), BI.i18nText("BI-Basic_February"), diff --git a/docs/base.css b/docs/base.css index f423941b2..8a57a0a64 100644 --- a/docs/base.css +++ b/docs/base.css @@ -678,8 +678,13 @@ li.CodeMirror-hint-active { overflow: hidden; overflow-x: hidden; overflow-y: hidden; + background: #ffffff; + border-right: 1px solid #d4dadd; + border-top: 1px solid #d4dadd; + border-bottom: 1px solid #d4dadd; } .bi-segment > .first-element { + border-left: 1px solid #d4dadd; -webkit-border-radius: 6px 0px 0px 6px; -moz-border-radius: 6px 0px 0px 6px; border-radius: 6px 0px 0px 6px; @@ -689,6 +694,18 @@ li.CodeMirror-hint-active { -moz-border-radius: 0px 6px 6px 0px; border-radius: 0px 6px 6px 0px; } +.bi-theme-dark .bi-segment > .center-element { + overflow: hidden; + overflow-x: hidden; + overflow-y: hidden; + background: #242640; + border-right: 1px solid #525466; + border-top: 1px solid #525466; + border-bottom: 1px solid #525466; +} +.bi-theme-dark .bi-segment > .first-element { + border-left: 1px solid #242640; +} /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/docs/case.js b/docs/case.js index 41a27538c..d5d9092aa 100644 --- a/docs/case.js +++ b/docs/case.js @@ -8804,15 +8804,10 @@ BI.Segment = BI.inherit(BI.Widget, { this.buttonGroup = BI.createWidget({ element: this, type: "bi.button_group", - items: BI.map(o.items, function (i, item) { - return BI.extend({ - type: "bi.segment_button", - height: o.height - 2, - whiteSpace: o.whiteSpace - }, item, { - cls: (i === 0 ? "bi-border-left " : "") - + (item.cls || "") + " bi-border-top bi-border-right bi-border-bottom" - }); + items: BI.createItems(o.items, { + type: "bi.segment_button", + height: o.height - 2, + whiteSpace: o.whiteSpace }), layout: [ { diff --git a/docs/core.js b/docs/core.js index d8367ba60..4b1e3f079 100644 --- a/docs/core.js +++ b/docs/core.js @@ -23645,19 +23645,19 @@ Date._DN = [BI.i18nText("BI-Basic_Sunday"), BI.i18nText("BI-Basic_Sunday")]; // short day names -Date._SDN = [BI.i18nText("BI-Day_Ri"), +Date._SDN = [BI.i18nText("BI-Date_Day"), BI.i18nText("BI-Basic_One"), BI.i18nText("BI-Basic_Two"), BI.i18nText("BI-Basic_Three"), BI.i18nText("BI-Basic_Four"), BI.i18nText("BI-Basic_Five"), BI.i18nText("BI-Basic_Six"), - BI.i18nText("BI-Day_Ri")]; + BI.i18nText("BI-Date_Day")]; // Monday first, etc. Date._FD = 1; -// full month names +// full month namesdat Date._MN = [ BI.i18nText("BI-Basic_January"), BI.i18nText("BI-Basic_February"), diff --git a/src/case/segment/segment.js b/src/case/segment/segment.js index 3fc3fabea..0979baaa0 100644 --- a/src/case/segment/segment.js +++ b/src/case/segment/segment.js @@ -19,15 +19,10 @@ BI.Segment = BI.inherit(BI.Widget, { this.buttonGroup = BI.createWidget({ element: this, type: "bi.button_group", - items: BI.map(o.items, function (i, item) { - return BI.extend({ - type: "bi.segment_button", - height: o.height - 2, - whiteSpace: o.whiteSpace - }, item, { - cls: (i === 0 ? "bi-border-left " : "") - + (item.cls || "") + " bi-border-top bi-border-right bi-border-bottom" - }); + items: BI.createItems(o.items, { + type: "bi.segment_button", + height: o.height - 2, + whiteSpace: o.whiteSpace }), layout: [ { diff --git a/src/core/proto/date.js b/src/core/proto/date.js index 8ccbe1e4d..72df18466 100644 --- a/src/core/proto/date.js +++ b/src/core/proto/date.js @@ -21,7 +21,7 @@ Date._SDN = [BI.i18nText("BI-Date_Day"), // Monday first, etc. Date._FD = 1; -// full month names +// full month namesdat Date._MN = [ BI.i18nText("BI-Basic_January"), BI.i18nText("BI-Basic_February"), diff --git a/src/css/base/segment/segment.css b/src/css/base/segment/segment.css index 7de4338bc..8aaa25a96 100644 --- a/src/css/base/segment/segment.css +++ b/src/css/base/segment/segment.css @@ -5,8 +5,13 @@ overflow: hidden; overflow-x: hidden; overflow-y: hidden; + background: #ffffff; + border-right: 1px solid #d4dadd; + border-top: 1px solid #d4dadd; + border-bottom: 1px solid #d4dadd; } .bi-segment > .first-element { + border-left: 1px solid #d4dadd; -webkit-border-radius: 6px 0px 0px 6px; -moz-border-radius: 6px 0px 0px 6px; border-radius: 6px 0px 0px 6px; @@ -16,3 +21,15 @@ -moz-border-radius: 0px 6px 6px 0px; border-radius: 0px 6px 6px 0px; } +.bi-theme-dark .bi-segment > .center-element { + overflow: hidden; + overflow-x: hidden; + overflow-y: hidden; + background: #242640; + border-right: 1px solid #525466; + border-top: 1px solid #525466; + border-bottom: 1px solid #525466; +} +.bi-theme-dark .bi-segment > .first-element { + border-left: 1px solid #242640; +} diff --git a/src/less/base/segment/segment.less b/src/less/base/segment/segment.less index 981a7426e..bbf0df435 100644 --- a/src/less/base/segment/segment.less +++ b/src/less/base/segment/segment.less @@ -3,11 +3,31 @@ .bi-segment{ & > .center-element{ .overflow-hidden(); + background: @color-bi-background-default; + border-right: 1px solid @color-bi-border-line; + border-top: 1px solid @color-bi-border-line; + border-bottom: 1px solid @color-bi-border-line; } & > .first-element{ + border-left: 1px solid @color-bi-border-line; .border-corner-radius(6px,0px,0px,6px) } & > .last-element{ .border-corner-radius(0px,6px,6px,0px) } +} + +.bi-theme-dark { + .bi-segment { + & > .center-element{ + .overflow-hidden(); + background: @color-bi-background-default-theme-dark; + border-right: 1px solid @color-bi-border-line-theme-dark; + border-top: 1px solid @color-bi-border-line-theme-dark; + border-bottom: 1px solid @color-bi-border-line-theme-dark; + } + & > .first-element{ + border-left: 1px solid @color-bi-background-default-theme-dark; + } + } } \ No newline at end of file From 7e2140f8d2b0e357b98d94a4509114bf16d65688 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 26 Apr 2017 19:16:31 +0800 Subject: [PATCH 03/24] add --- bi/core.js | 12 ++++++------ docs/core.js | 12 ++++++------ src/core/func/function.js | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/bi/core.js b/bi/core.js index db3206894..de9d4e153 100644 --- a/bi/core.js +++ b/bi/core.js @@ -17238,9 +17238,9 @@ $(function () { return tempValue; }, - rgba2rgb: function (rgbColour, BGcolur) { - if (BI.isNull(BGcolur)) { - BGcolur = 1; + rgba2rgb: function (rgbColour, BGcolor) { + if (BI.isNull(BGcolor)) { + BGcolor = 1; } if (rgbColour.substr(0, 4) != "rgba") { return ""; @@ -17254,9 +17254,9 @@ $(function () { var B = BI.parseFloat(rgbValues[2]); var A = BI.parseFloat(rgbValues[3]); - return "rgb(" + Math.floor(255 * (BGcolur * (1 - A )) + R * A) + "," + - Math.floor(255 * (BGcolur * (1 - A )) + G * A) + "," + - Math.floor(255 * (BGcolur * (1 - A )) + B * A) + ")"; + return "rgb(" + Math.floor(255 * (BGcolor * (1 - A )) + R * A) + "," + + Math.floor(255 * (BGcolor * (1 - A )) + G * A) + "," + + Math.floor(255 * (BGcolor * (1 - A )) + B * A) + ")"; }, getTextSizeWidth: function (text, fontSize) { diff --git a/docs/core.js b/docs/core.js index d8367ba60..1c584e7e2 100644 --- a/docs/core.js +++ b/docs/core.js @@ -22764,9 +22764,9 @@ $(function () { return tempValue; }, - rgba2rgb: function (rgbColour, BGcolur) { - if (BI.isNull(BGcolur)) { - BGcolur = 1; + rgba2rgb: function (rgbColour, BGcolor) { + if (BI.isNull(BGcolor)) { + BGcolor = 1; } if (rgbColour.substr(0, 4) != "rgba") { return ""; @@ -22780,9 +22780,9 @@ $(function () { var B = BI.parseFloat(rgbValues[2]); var A = BI.parseFloat(rgbValues[3]); - return "rgb(" + Math.floor(255 * (BGcolur * (1 - A )) + R * A) + "," + - Math.floor(255 * (BGcolur * (1 - A )) + G * A) + "," + - Math.floor(255 * (BGcolur * (1 - A )) + B * A) + ")"; + return "rgb(" + Math.floor(255 * (BGcolor * (1 - A )) + R * A) + "," + + Math.floor(255 * (BGcolor * (1 - A )) + G * A) + "," + + Math.floor(255 * (BGcolor * (1 - A )) + B * A) + ")"; }, getTextSizeWidth: function (text, fontSize) { diff --git a/src/core/func/function.js b/src/core/func/function.js index 3d5f4a8d1..7d8421890 100644 --- a/src/core/func/function.js +++ b/src/core/func/function.js @@ -225,9 +225,9 @@ $(function () { return tempValue; }, - rgba2rgb: function (rgbColour, BGcolur) { - if (BI.isNull(BGcolur)) { - BGcolur = 1; + rgba2rgb: function (rgbColour, BGcolor) { + if (BI.isNull(BGcolor)) { + BGcolor = 1; } if (rgbColour.substr(0, 4) != "rgba") { return ""; @@ -241,9 +241,9 @@ $(function () { var B = BI.parseFloat(rgbValues[2]); var A = BI.parseFloat(rgbValues[3]); - return "rgb(" + Math.floor(255 * (BGcolur * (1 - A )) + R * A) + "," + - Math.floor(255 * (BGcolur * (1 - A )) + G * A) + "," + - Math.floor(255 * (BGcolur * (1 - A )) + B * A) + ")"; + return "rgb(" + Math.floor(255 * (BGcolor * (1 - A )) + R * A) + "," + + Math.floor(255 * (BGcolor * (1 - A )) + G * A) + "," + + Math.floor(255 * (BGcolor * (1 - A )) + B * A) + ")"; }, getTextSizeWidth: function (text, fontSize) { From 7cddf0b0f093271b718da6e428c230ff5db3d73b Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 27 Apr 2017 11:52:53 +0800 Subject: [PATCH 04/24] add --- bi/widget.js | 4 ++-- docs/widget.js | 4 ++-- src/widget/sequencetable/listnumber.sequencetable.js | 2 +- src/widget/sequencetable/treenumber.sequencetable.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bi/widget.js b/bi/widget.js index 0bcb9fec0..3bb84441c 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -322,7 +322,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { task.apply(self); }); this.tasks = []; - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, @@ -15870,7 +15870,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { }, _populate: function () { - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, diff --git a/docs/widget.js b/docs/widget.js index 0bcb9fec0..3bb84441c 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -322,7 +322,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { task.apply(self); }); this.tasks = []; - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, @@ -15870,7 +15870,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { }, _populate: function () { - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, diff --git a/src/widget/sequencetable/listnumber.sequencetable.js b/src/widget/sequencetable/listnumber.sequencetable.js index fb8c57eb4..813f961f4 100644 --- a/src/widget/sequencetable/listnumber.sequencetable.js +++ b/src/widget/sequencetable/listnumber.sequencetable.js @@ -159,7 +159,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { }, _populate: function () { - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, diff --git a/src/widget/sequencetable/treenumber.sequencetable.js b/src/widget/sequencetable/treenumber.sequencetable.js index 9de53c08c..5965bee77 100644 --- a/src/widget/sequencetable/treenumber.sequencetable.js +++ b/src/widget/sequencetable/treenumber.sequencetable.js @@ -322,7 +322,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { task.apply(self); }); this.tasks = []; - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, From 16bb938ad84b8e512a97668bc6634b6849e97a38 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 27 Apr 2017 16:30:12 +0800 Subject: [PATCH 05/24] add --- bi/base.js | 24 +++--- bi/core.js | 6 +- bi/widget.js | 83 ++++++++++++++----- demo/js/component/demo.treevaluechooser.js | 4 +- docs/base.js | 24 +++--- docs/core.js | 6 +- docs/demo.js | 4 +- docs/widget.js | 83 ++++++++++++++----- src/base/pane.js | 2 +- src/base/single/text.js | 2 +- src/base/tree/treeview.js | 20 +++-- src/core/func/dom.js | 6 +- src/widget/downlist/combo.downlist.js | 2 +- .../sequencetable/listnumber.sequencetable.js | 37 +++++++-- .../sequencetable/treenumber.sequencetable.js | 44 +++++++--- 15 files changed, 241 insertions(+), 106 deletions(-) diff --git a/bi/base.js b/bi/base.js index b3733a9cc..9e03201b1 100644 --- a/bi/base.js +++ b/bi/base.js @@ -279,7 +279,7 @@ BI.Pane = BI.inherit(BI.Widget, { loaded: function () { var self = this, o = this.options; - BI.Layers.remove(self.getName()); + BI.Maskers.remove(self.getName()); this._loading && this._loading.destroy(); this._loading && (this._loading = null); o.onLoaded(); @@ -577,7 +577,7 @@ BI.Text = BI.inherit(BI.Single, { setText: function (text) { BI.Text.superclass.setText.apply(this, arguments); this.options.text = text; - this.text.element.html(BI.escape(text).replaceAll(" ", " ")); + this.text.element.text((text + "").replaceAll(" ", " ")); } }); @@ -1793,14 +1793,15 @@ BI.TreeView = BI.inherit(BI.Pane, { //处理节点 _dealWidthNodes: function (nodes) { var self = this, o = this.options; - //处理标红 - if (BI.isKey(o.paras.keyword)) { - var keyword = o.paras.keyword; - var ns = BI.Tree.arrayFormat(nodes); - BI.each(ns, function (i, n) { - n.text = $("
").__textKeywordMarked__(n.text, keyword, n.py).html(); - }); - } + var ns = BI.Tree.arrayFormat(nodes); + BI.each(ns, function (i, n) { + //处理标红 + if (BI.isKey(o.paras.keyword)) { + n.text = $("
").__textKeywordMarked__(n.text, o.paras.keyword, n.py).html(); + } else { + n.text = (n.text + "").replaceAll(" ", " "); + } + }); return nodes; }, @@ -1886,7 +1887,8 @@ BI.TreeView = BI.inherit(BI.Pane, { }, view: { showIcon: false, - expandSpeed: "" + expandSpeed: "", + nameIsHTML: true }, callback: {} }; diff --git a/bi/core.js b/bi/core.js index 31666f1d4..fa4761ae1 100644 --- a/bi/core.js +++ b/bi/core.js @@ -16452,7 +16452,7 @@ BI.extend(jQuery.fn, { */ __textKeywordMarked__: function (text, keyword, py) { if (!BI.isKey(keyword)) { - return this.text(text); + return this.text((text + "").replaceAll(" ", " ")); } keyword = keyword + ""; keyword = BI.toUpperCase(keyword); @@ -16475,7 +16475,7 @@ BI.extend(jQuery.fn, { if (tidx >= 0) { this.append(textLeft.substr(0, tidx)); this.append($("").addClass("bi-keyword-red-mark") - .text(textLeft.substr(tidx, keyword.length))); + .text(textLeft.substr(tidx, keyword.length).replaceAll(" ", " "))); textLeft = textLeft.substr(tidx + keyword.length); if (py != null) { @@ -16484,7 +16484,7 @@ BI.extend(jQuery.fn, { } else if (pidx != null && pidx >= 0 && Math.floor(pidx / text.length) === Math.floor((pidx + keyword.length - 1) / text.length)) { this.append(textLeft.substr(0, pidx)); this.append($("").addClass("bi-keyword-red-mark") - .text(textLeft.substr(pidx, keyword.length))); + .text(textLeft.substr(pidx, keyword.length).replaceAll(" ", " "))); if (py != null) { py = py.substr(pidx + keyword.length); } diff --git a/bi/widget.js b/bi/widget.js index 3bb84441c..59c272388 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -35,12 +35,6 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { this.renderedCells = []; this.renderedKeys = []; - this.header = BI.createWidget(o.sequenceHeaderCreator || { - type: "bi.table_style_cell", - cls: "sequence-table-title-cell bi-border", - styleGetter: o.headerCellStyleGetter, - text: BI.i18nText("BI-Number_Index") - }); this.container = BI.createWidget({ type: "bi.absolute", width: 60, @@ -54,13 +48,20 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { items: [this.container] }); + this.headerContainer = BI.createWidget({ + type: "bi.absolute", + cls: "bi-border", + width: 58, + scrollable: false + }); + this.layout = BI.createWidget({ type: "bi.vtape", element: this, items: [{ - el: this.header, - height: this._getHeaderHeight() - }, { + el: this.headerContainer, + height: this._getHeaderHeight() - 2 + }, {el: {type: "bi.layout"}, height: 2}, { el: this.scrollContainer }] }); @@ -168,7 +169,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { _layout: function () { var self = this, o = this.options; - var headerHeight = this._getHeaderHeight(); + var headerHeight = this._getHeaderHeight() - 2; var items = this.layout.attr("items"); if (o.isNeedFreeze === false) { items[0].height = 0; @@ -217,6 +218,26 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { return Math.max(0, cnt * this.options.rowSize - (this.options.height - this._getHeaderHeight()) + BI.DOM.getScrollWidth()); }, + _createHeader: function () { + var o = this.options; + BI.createWidget({ + type: "bi.absolute", + element: this.headerContainer, + items: [{ + el: o.sequenceHeaderCreator || { + type: "bi.table_style_cell", + cls: "sequence-table-title-cell", + styleGetter: o.headerCellStyleGetter, + text: BI.i18nText("BI-Number_Index") + }, + left: 0, + top: 0, + right: 0, + bottom: 0 + }] + }); + }, + _calculateChildrenToRender: function () { var self = this, o = this.options; @@ -322,7 +343,8 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { task.apply(self); }); this.tasks = []; - this.header.populate(); + this.headerContainer.empty(); + this._createHeader(); this._layout(); this._calculateChildrenToRender(); }, @@ -5595,7 +5617,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { popup: { el: this.popupview, stopPropagation: true, - maxHeight: 400 + maxHeight: 1000 } }); @@ -15746,12 +15768,6 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { this.renderedCells = []; this.renderedKeys = []; - this.header = BI.createWidget(o.sequenceHeaderCreator || { - type: "bi.table_style_cell", - cls: "sequence-table-title-cell bi-border", - styleGetter: o.headerCellStyleGetter, - text: BI.i18nText("BI-Number_Index") - }); this.container = BI.createWidget({ type: "bi.absolute", width: 60, @@ -15765,12 +15781,19 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { items: [this.container] }); + this.headerContainer = BI.createWidget({ + type: "bi.absolute", + cls: "bi-border", + width: 58, + scrollable: false + }); + this.layout = BI.createWidget({ type: "bi.vtape", element: this, items: [{ - el: this.header, - height: o.headerRowSize * o.header.length + el: this.headerContainer, + height: o.headerRowSize * o.header.length - 2 }, { el: this.scrollContainer }] @@ -15793,6 +15816,26 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { this.scrollContainer.element.scrollTop(o.scrollTop); }, + _createHeader: function () { + var o = this.options; + BI.createWidget({ + type: "bi.absolute", + element: this.headerContainer, + items: [{ + el: o.sequenceHeaderCreator || { + type: "bi.table_style_cell", + cls: "sequence-table-title-cell", + styleGetter: o.headerCellStyleGetter, + text: BI.i18nText("BI-Number_Index") + }, + left: 0, + top: 0, + right: 0, + bottom: 0 + }] + }); + }, + _calculateChildrenToRender: function () { var self = this, o = this.options; var scrollTop = BI.clamp(o.scrollTop, 0, o.rowSize * o.items.length - (o.height - o.header.length * o.headerRowSize) + BI.DOM.getScrollWidth()); diff --git a/demo/js/component/demo.treevaluechooser.js b/demo/js/component/demo.treevaluechooser.js index eec990902..3ec16d44f 100644 --- a/demo/js/component/demo.treevaluechooser.js +++ b/demo/js/component/demo.treevaluechooser.js @@ -7,8 +7,8 @@ Demo.TreeValueChooser = BI.inherit(BI.Widget, { var tree = []; for (var i = 0; i < 21; i++) { tree.push({ - value: i + "", - text: i + "", + value: " " + i + "", + text: " " + i + "", id: i + "", pId: null }); diff --git a/docs/base.js b/docs/base.js index b3733a9cc..9e03201b1 100644 --- a/docs/base.js +++ b/docs/base.js @@ -279,7 +279,7 @@ BI.Pane = BI.inherit(BI.Widget, { loaded: function () { var self = this, o = this.options; - BI.Layers.remove(self.getName()); + BI.Maskers.remove(self.getName()); this._loading && this._loading.destroy(); this._loading && (this._loading = null); o.onLoaded(); @@ -577,7 +577,7 @@ BI.Text = BI.inherit(BI.Single, { setText: function (text) { BI.Text.superclass.setText.apply(this, arguments); this.options.text = text; - this.text.element.html(BI.escape(text).replaceAll(" ", " ")); + this.text.element.text((text + "").replaceAll(" ", " ")); } }); @@ -1793,14 +1793,15 @@ BI.TreeView = BI.inherit(BI.Pane, { //处理节点 _dealWidthNodes: function (nodes) { var self = this, o = this.options; - //处理标红 - if (BI.isKey(o.paras.keyword)) { - var keyword = o.paras.keyword; - var ns = BI.Tree.arrayFormat(nodes); - BI.each(ns, function (i, n) { - n.text = $("
").__textKeywordMarked__(n.text, keyword, n.py).html(); - }); - } + var ns = BI.Tree.arrayFormat(nodes); + BI.each(ns, function (i, n) { + //处理标红 + if (BI.isKey(o.paras.keyword)) { + n.text = $("
").__textKeywordMarked__(n.text, o.paras.keyword, n.py).html(); + } else { + n.text = (n.text + "").replaceAll(" ", " "); + } + }); return nodes; }, @@ -1886,7 +1887,8 @@ BI.TreeView = BI.inherit(BI.Pane, { }, view: { showIcon: false, - expandSpeed: "" + expandSpeed: "", + nameIsHTML: true }, callback: {} }; diff --git a/docs/core.js b/docs/core.js index d43105a13..58670eef3 100644 --- a/docs/core.js +++ b/docs/core.js @@ -21978,7 +21978,7 @@ BI.extend(jQuery.fn, { */ __textKeywordMarked__: function (text, keyword, py) { if (!BI.isKey(keyword)) { - return this.text(text); + return this.text((text + "").replaceAll(" ", " ")); } keyword = keyword + ""; keyword = BI.toUpperCase(keyword); @@ -22001,7 +22001,7 @@ BI.extend(jQuery.fn, { if (tidx >= 0) { this.append(textLeft.substr(0, tidx)); this.append($("").addClass("bi-keyword-red-mark") - .text(textLeft.substr(tidx, keyword.length))); + .text(textLeft.substr(tidx, keyword.length).replaceAll(" ", " "))); textLeft = textLeft.substr(tidx + keyword.length); if (py != null) { @@ -22010,7 +22010,7 @@ BI.extend(jQuery.fn, { } else if (pidx != null && pidx >= 0 && Math.floor(pidx / text.length) === Math.floor((pidx + keyword.length - 1) / text.length)) { this.append(textLeft.substr(0, pidx)); this.append($("").addClass("bi-keyword-red-mark") - .text(textLeft.substr(pidx, keyword.length))); + .text(textLeft.substr(pidx, keyword.length).replaceAll(" ", " "))); if (py != null) { py = py.substr(pidx + keyword.length); } diff --git a/docs/demo.js b/docs/demo.js index b91d3b6be..b9f465dad 100644 --- a/docs/demo.js +++ b/docs/demo.js @@ -2436,8 +2436,8 @@ BI.shortcut("demo.center", Demo.Center);Demo.TreeValueChooser = BI.inherit(BI.Wi var tree = []; for (var i = 0; i < 21; i++) { tree.push({ - value: i + "", - text: i + "", + value: " " + i + "", + text: " " + i + "", id: i + "", pId: null }); diff --git a/docs/widget.js b/docs/widget.js index 3bb84441c..59c272388 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -35,12 +35,6 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { this.renderedCells = []; this.renderedKeys = []; - this.header = BI.createWidget(o.sequenceHeaderCreator || { - type: "bi.table_style_cell", - cls: "sequence-table-title-cell bi-border", - styleGetter: o.headerCellStyleGetter, - text: BI.i18nText("BI-Number_Index") - }); this.container = BI.createWidget({ type: "bi.absolute", width: 60, @@ -54,13 +48,20 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { items: [this.container] }); + this.headerContainer = BI.createWidget({ + type: "bi.absolute", + cls: "bi-border", + width: 58, + scrollable: false + }); + this.layout = BI.createWidget({ type: "bi.vtape", element: this, items: [{ - el: this.header, - height: this._getHeaderHeight() - }, { + el: this.headerContainer, + height: this._getHeaderHeight() - 2 + }, {el: {type: "bi.layout"}, height: 2}, { el: this.scrollContainer }] }); @@ -168,7 +169,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { _layout: function () { var self = this, o = this.options; - var headerHeight = this._getHeaderHeight(); + var headerHeight = this._getHeaderHeight() - 2; var items = this.layout.attr("items"); if (o.isNeedFreeze === false) { items[0].height = 0; @@ -217,6 +218,26 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { return Math.max(0, cnt * this.options.rowSize - (this.options.height - this._getHeaderHeight()) + BI.DOM.getScrollWidth()); }, + _createHeader: function () { + var o = this.options; + BI.createWidget({ + type: "bi.absolute", + element: this.headerContainer, + items: [{ + el: o.sequenceHeaderCreator || { + type: "bi.table_style_cell", + cls: "sequence-table-title-cell", + styleGetter: o.headerCellStyleGetter, + text: BI.i18nText("BI-Number_Index") + }, + left: 0, + top: 0, + right: 0, + bottom: 0 + }] + }); + }, + _calculateChildrenToRender: function () { var self = this, o = this.options; @@ -322,7 +343,8 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { task.apply(self); }); this.tasks = []; - this.header.populate(); + this.headerContainer.empty(); + this._createHeader(); this._layout(); this._calculateChildrenToRender(); }, @@ -5595,7 +5617,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { popup: { el: this.popupview, stopPropagation: true, - maxHeight: 400 + maxHeight: 1000 } }); @@ -15746,12 +15768,6 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { this.renderedCells = []; this.renderedKeys = []; - this.header = BI.createWidget(o.sequenceHeaderCreator || { - type: "bi.table_style_cell", - cls: "sequence-table-title-cell bi-border", - styleGetter: o.headerCellStyleGetter, - text: BI.i18nText("BI-Number_Index") - }); this.container = BI.createWidget({ type: "bi.absolute", width: 60, @@ -15765,12 +15781,19 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { items: [this.container] }); + this.headerContainer = BI.createWidget({ + type: "bi.absolute", + cls: "bi-border", + width: 58, + scrollable: false + }); + this.layout = BI.createWidget({ type: "bi.vtape", element: this, items: [{ - el: this.header, - height: o.headerRowSize * o.header.length + el: this.headerContainer, + height: o.headerRowSize * o.header.length - 2 }, { el: this.scrollContainer }] @@ -15793,6 +15816,26 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { this.scrollContainer.element.scrollTop(o.scrollTop); }, + _createHeader: function () { + var o = this.options; + BI.createWidget({ + type: "bi.absolute", + element: this.headerContainer, + items: [{ + el: o.sequenceHeaderCreator || { + type: "bi.table_style_cell", + cls: "sequence-table-title-cell", + styleGetter: o.headerCellStyleGetter, + text: BI.i18nText("BI-Number_Index") + }, + left: 0, + top: 0, + right: 0, + bottom: 0 + }] + }); + }, + _calculateChildrenToRender: function () { var self = this, o = this.options; var scrollTop = BI.clamp(o.scrollTop, 0, o.rowSize * o.items.length - (o.height - o.header.length * o.headerRowSize) + BI.DOM.getScrollWidth()); diff --git a/src/base/pane.js b/src/base/pane.js index 1ef5b7f29..695cb2f1b 100644 --- a/src/base/pane.js +++ b/src/base/pane.js @@ -78,7 +78,7 @@ BI.Pane = BI.inherit(BI.Widget, { loaded: function () { var self = this, o = this.options; - BI.Layers.remove(self.getName()); + BI.Maskers.remove(self.getName()); this._loading && this._loading.destroy(); this._loading && (this._loading = null); o.onLoaded(); diff --git a/src/base/single/text.js b/src/base/single/text.js index 078195730..12efd184a 100644 --- a/src/base/single/text.js +++ b/src/base/single/text.js @@ -110,7 +110,7 @@ BI.Text = BI.inherit(BI.Single, { setText: function (text) { BI.Text.superclass.setText.apply(this, arguments); this.options.text = text; - this.text.element.html(BI.escape(text).replaceAll(" ", " ")); + this.text.element.text((text + "").replaceAll(" ", " ")); } }); diff --git a/src/base/tree/treeview.js b/src/base/tree/treeview.js index f7b149086..bb5cbd184 100644 --- a/src/base/tree/treeview.js +++ b/src/base/tree/treeview.js @@ -306,14 +306,15 @@ BI.TreeView = BI.inherit(BI.Pane, { //处理节点 _dealWidthNodes: function (nodes) { var self = this, o = this.options; - //处理标红 - if (BI.isKey(o.paras.keyword)) { - var keyword = o.paras.keyword; - var ns = BI.Tree.arrayFormat(nodes); - BI.each(ns, function (i, n) { - n.text = $("
").__textKeywordMarked__(n.text, keyword, n.py).html(); - }); - } + var ns = BI.Tree.arrayFormat(nodes); + BI.each(ns, function (i, n) { + //处理标红 + if (BI.isKey(o.paras.keyword)) { + n.text = $("
").__textKeywordMarked__(n.text, o.paras.keyword, n.py).html(); + } else { + n.text = (n.text + "").replaceAll(" ", " "); + } + }); return nodes; }, @@ -399,7 +400,8 @@ BI.TreeView = BI.inherit(BI.Pane, { }, view: { showIcon: false, - expandSpeed: "" + expandSpeed: "", + nameIsHTML: true }, callback: {} }; diff --git a/src/core/func/dom.js b/src/core/func/dom.js index 82f28d01c..6a6f2dc3b 100644 --- a/src/core/func/dom.js +++ b/src/core/func/dom.js @@ -20,7 +20,7 @@ BI.extend(jQuery.fn, { */ __textKeywordMarked__: function (text, keyword, py) { if (!BI.isKey(keyword)) { - return this.text(text); + return this.text((text + "").replaceAll(" ", " ")); } keyword = keyword + ""; keyword = BI.toUpperCase(keyword); @@ -43,7 +43,7 @@ BI.extend(jQuery.fn, { if (tidx >= 0) { this.append(textLeft.substr(0, tidx)); this.append($("").addClass("bi-keyword-red-mark") - .text(textLeft.substr(tidx, keyword.length))); + .text(textLeft.substr(tidx, keyword.length).replaceAll(" ", " "))); textLeft = textLeft.substr(tidx + keyword.length); if (py != null) { @@ -52,7 +52,7 @@ BI.extend(jQuery.fn, { } else if (pidx != null && pidx >= 0 && Math.floor(pidx / text.length) === Math.floor((pidx + keyword.length - 1) / text.length)) { this.append(textLeft.substr(0, pidx)); this.append($("").addClass("bi-keyword-red-mark") - .text(textLeft.substr(pidx, keyword.length))); + .text(textLeft.substr(pidx, keyword.length).replaceAll(" ", " "))); if (py != null) { py = py.substr(pidx + keyword.length); } diff --git a/src/widget/downlist/combo.downlist.js b/src/widget/downlist/combo.downlist.js index e77844e1a..ed37eb40c 100644 --- a/src/widget/downlist/combo.downlist.js +++ b/src/widget/downlist/combo.downlist.js @@ -47,7 +47,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { popup: { el: this.popupview, stopPropagation: true, - maxHeight: 400 + maxHeight: 1000 } }); diff --git a/src/widget/sequencetable/listnumber.sequencetable.js b/src/widget/sequencetable/listnumber.sequencetable.js index 813f961f4..db308d56f 100644 --- a/src/widget/sequencetable/listnumber.sequencetable.js +++ b/src/widget/sequencetable/listnumber.sequencetable.js @@ -35,12 +35,6 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { this.renderedCells = []; this.renderedKeys = []; - this.header = BI.createWidget(o.sequenceHeaderCreator || { - type: "bi.table_style_cell", - cls: "sequence-table-title-cell bi-border", - styleGetter: o.headerCellStyleGetter, - text: BI.i18nText("BI-Number_Index") - }); this.container = BI.createWidget({ type: "bi.absolute", width: 60, @@ -54,12 +48,19 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { items: [this.container] }); + this.headerContainer = BI.createWidget({ + type: "bi.absolute", + cls: "bi-border", + width: 58, + scrollable: false + }); + this.layout = BI.createWidget({ type: "bi.vtape", element: this, items: [{ - el: this.header, - height: o.headerRowSize * o.header.length + el: this.headerContainer, + height: o.headerRowSize * o.header.length - 2 }, { el: this.scrollContainer }] @@ -82,6 +83,26 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { this.scrollContainer.element.scrollTop(o.scrollTop); }, + _createHeader: function () { + var o = this.options; + BI.createWidget({ + type: "bi.absolute", + element: this.headerContainer, + items: [{ + el: o.sequenceHeaderCreator || { + type: "bi.table_style_cell", + cls: "sequence-table-title-cell", + styleGetter: o.headerCellStyleGetter, + text: BI.i18nText("BI-Number_Index") + }, + left: 0, + top: 0, + right: 0, + bottom: 0 + }] + }); + }, + _calculateChildrenToRender: function () { var self = this, o = this.options; var scrollTop = BI.clamp(o.scrollTop, 0, o.rowSize * o.items.length - (o.height - o.header.length * o.headerRowSize) + BI.DOM.getScrollWidth()); diff --git a/src/widget/sequencetable/treenumber.sequencetable.js b/src/widget/sequencetable/treenumber.sequencetable.js index 5965bee77..8c26902e6 100644 --- a/src/widget/sequencetable/treenumber.sequencetable.js +++ b/src/widget/sequencetable/treenumber.sequencetable.js @@ -35,12 +35,6 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { this.renderedCells = []; this.renderedKeys = []; - this.header = BI.createWidget(o.sequenceHeaderCreator || { - type: "bi.table_style_cell", - cls: "sequence-table-title-cell bi-border", - styleGetter: o.headerCellStyleGetter, - text: BI.i18nText("BI-Number_Index") - }); this.container = BI.createWidget({ type: "bi.absolute", width: 60, @@ -54,13 +48,20 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { items: [this.container] }); + this.headerContainer = BI.createWidget({ + type: "bi.absolute", + cls: "bi-border", + width: 58, + scrollable: false + }); + this.layout = BI.createWidget({ type: "bi.vtape", element: this, items: [{ - el: this.header, - height: this._getHeaderHeight() - }, { + el: this.headerContainer, + height: this._getHeaderHeight() - 2 + }, {el: {type: "bi.layout"}, height: 2}, { el: this.scrollContainer }] }); @@ -168,7 +169,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { _layout: function () { var self = this, o = this.options; - var headerHeight = this._getHeaderHeight(); + var headerHeight = this._getHeaderHeight() - 2; var items = this.layout.attr("items"); if (o.isNeedFreeze === false) { items[0].height = 0; @@ -217,6 +218,26 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { return Math.max(0, cnt * this.options.rowSize - (this.options.height - this._getHeaderHeight()) + BI.DOM.getScrollWidth()); }, + _createHeader: function () { + var o = this.options; + BI.createWidget({ + type: "bi.absolute", + element: this.headerContainer, + items: [{ + el: o.sequenceHeaderCreator || { + type: "bi.table_style_cell", + cls: "sequence-table-title-cell", + styleGetter: o.headerCellStyleGetter, + text: BI.i18nText("BI-Number_Index") + }, + left: 0, + top: 0, + right: 0, + bottom: 0 + }] + }); + }, + _calculateChildrenToRender: function () { var self = this, o = this.options; @@ -322,7 +343,8 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { task.apply(self); }); this.tasks = []; - this.header.populate(); + this.headerContainer.empty(); + this._createHeader(); this._layout(); this._calculateChildrenToRender(); }, From 59ff9d2dd9a7bdaa86309bee42a585aa36523d7b Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 27 Apr 2017 16:44:26 +0800 Subject: [PATCH 06/24] =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/case.js | 14 +++++++------- bi/widget.js | 6 +++--- docs/case.js | 14 +++++++------- docs/widget.js | 6 +++--- src/case/editor/editor.state.js | 8 ++++---- src/case/editor/editor.state.simple.js | 6 +++--- src/widget/date/trigger.date.js | 2 +- src/widget/numericalinterval/numericalinterval.js | 4 ++-- 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/bi/case.js b/bi/case.js index d5d9092aa..083490c44 100644 --- a/bi/case.js +++ b/bi/case.js @@ -6159,7 +6159,7 @@ BI.StateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -6335,7 +6335,7 @@ BI.StateEditor = BI.inherit(BI.Single, { this.text.setTitle(""); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } @@ -6343,7 +6343,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isString(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } else { @@ -6355,7 +6355,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isArray(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else if (v.length === 1) { this.text.setText(v[0]); @@ -6439,7 +6439,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -6611,7 +6611,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setText(BI.i18nText("BI-Already_Selected")); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } return; @@ -6621,7 +6621,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setTitle(v); this.text.element.removeClass("state-editor-infinite-text"); } else if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else { this.text.setText(BI.i18nText("BI-Already_Selected")); diff --git a/bi/widget.js b/bi/widget.js index 59c272388..6a1ea1dcd 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -4927,7 +4927,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge hgap: c.hgap, vgap: c.vgap, allowBlank: true, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), errorText: function () { if (self.editor.isEditing()) { return BI.i18nText("BI-Date_Trigger_Error_Text"); @@ -12260,7 +12260,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.smallEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.min, level: "warning", @@ -12297,7 +12297,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.bigEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.max, level: "warning", diff --git a/docs/case.js b/docs/case.js index d5d9092aa..083490c44 100644 --- a/docs/case.js +++ b/docs/case.js @@ -6159,7 +6159,7 @@ BI.StateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -6335,7 +6335,7 @@ BI.StateEditor = BI.inherit(BI.Single, { this.text.setTitle(""); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } @@ -6343,7 +6343,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isString(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } else { @@ -6355,7 +6355,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isArray(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else if (v.length === 1) { this.text.setText(v[0]); @@ -6439,7 +6439,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -6611,7 +6611,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setText(BI.i18nText("BI-Already_Selected")); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } return; @@ -6621,7 +6621,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setTitle(v); this.text.element.removeClass("state-editor-infinite-text"); } else if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else { this.text.setText(BI.i18nText("BI-Already_Selected")); diff --git a/docs/widget.js b/docs/widget.js index 59c272388..6a1ea1dcd 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -4927,7 +4927,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge hgap: c.hgap, vgap: c.vgap, allowBlank: true, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), errorText: function () { if (self.editor.isEditing()) { return BI.i18nText("BI-Date_Trigger_Error_Text"); @@ -12260,7 +12260,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.smallEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.min, level: "warning", @@ -12297,7 +12297,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.bigEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.max, level: "warning", diff --git a/src/case/editor/editor.state.js b/src/case/editor/editor.state.js index fefe2bb1c..0f2581fad 100644 --- a/src/case/editor/editor.state.js +++ b/src/case/editor/editor.state.js @@ -50,7 +50,7 @@ BI.StateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -226,7 +226,7 @@ BI.StateEditor = BI.inherit(BI.Single, { this.text.setTitle(""); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } @@ -234,7 +234,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isString(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.setTitle(""); this.text.element.addClass("state-editor-infinite-text"); } else { @@ -246,7 +246,7 @@ BI.StateEditor = BI.inherit(BI.Single, { } if (BI.isArray(v)) { if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else if (v.length === 1) { this.text.setText(v[0]); diff --git a/src/case/editor/editor.state.simple.js b/src/case/editor/editor.state.simple.js index 2996daa9e..522f1c740 100644 --- a/src/case/editor/editor.state.simple.js +++ b/src/case/editor/editor.state.simple.js @@ -50,7 +50,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { cls: "state-editor-infinite-text bi-disabled", textAlign: "left", height: o.height, - text: BI.i18nText("BI-Unrestricted"), + text: BI.i18nText("BI-Basic_Unrestricted"), hgap: 4, handler: function () { self._showInput(); @@ -222,7 +222,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setText(BI.i18nText("BI-Already_Selected")); this.text.element.removeClass("state-editor-infinite-text"); } else { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } return; @@ -232,7 +232,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Single, { this.text.setTitle(v); this.text.element.removeClass("state-editor-infinite-text"); } else if (BI.isEmpty(v)) { - this.text.setText(BI.i18nText("BI-Unrestricted")); + this.text.setText(BI.i18nText("BI-Basic_Unrestricted")); this.text.element.addClass("state-editor-infinite-text"); } else { this.text.setText(BI.i18nText("BI-Already_Selected")); diff --git a/src/widget/date/trigger.date.js b/src/widget/date/trigger.date.js index 11123572d..3a1aeb687 100644 --- a/src/widget/date/trigger.date.js +++ b/src/widget/date/trigger.date.js @@ -36,7 +36,7 @@ BI.DateTrigger = BI.inherit(BI.Trigger, { hgap: c.hgap, vgap: c.vgap, allowBlank: true, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), errorText: function () { if (self.editor.isEditing()) { return BI.i18nText("BI-Date_Trigger_Error_Text"); diff --git a/src/widget/numericalinterval/numericalinterval.js b/src/widget/numericalinterval/numericalinterval.js index 4599e1753..4b523db48 100644 --- a/src/widget/numericalinterval/numericalinterval.js +++ b/src/widget/numericalinterval/numericalinterval.js @@ -33,7 +33,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.smallEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.min, level: "warning", @@ -70,7 +70,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { this.bigEditor = BI.createWidget({ type: "bi.sign_editor", height: o.height - 2, - watermark: BI.i18nText("BI-Unrestricted"), + watermark: BI.i18nText("BI-Basic_Unrestricted"), allowBlank: true, value: o.max, level: "warning", From 28bcc28790e756d36f6d8357fea850730c1a1717 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 27 Apr 2017 16:45:18 +0800 Subject: [PATCH 07/24] add --- bi/base.js | 2 +- docs/base.js | 2 +- src/base/pane.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bi/base.js b/bi/base.js index 9e03201b1..fcb3cb987 100644 --- a/bi/base.js +++ b/bi/base.js @@ -279,7 +279,7 @@ BI.Pane = BI.inherit(BI.Widget, { loaded: function () { var self = this, o = this.options; - BI.Maskers.remove(self.getName()); + BI.Layers.remove(self.getName()); this._loading && this._loading.destroy(); this._loading && (this._loading = null); o.onLoaded(); diff --git a/docs/base.js b/docs/base.js index 9e03201b1..fcb3cb987 100644 --- a/docs/base.js +++ b/docs/base.js @@ -279,7 +279,7 @@ BI.Pane = BI.inherit(BI.Widget, { loaded: function () { var self = this, o = this.options; - BI.Maskers.remove(self.getName()); + BI.Layers.remove(self.getName()); this._loading && this._loading.destroy(); this._loading && (this._loading = null); o.onLoaded(); diff --git a/src/base/pane.js b/src/base/pane.js index 695cb2f1b..1ef5b7f29 100644 --- a/src/base/pane.js +++ b/src/base/pane.js @@ -78,7 +78,7 @@ BI.Pane = BI.inherit(BI.Widget, { loaded: function () { var self = this, o = this.options; - BI.Maskers.remove(self.getName()); + BI.Layers.remove(self.getName()); this._loading && this._loading.destroy(); this._loading && (this._loading = null); o.onLoaded(); From 4e5e7802fd923217b6c37675c7ce915d8e24eb7f Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 27 Apr 2017 17:14:03 +0800 Subject: [PATCH 08/24] add --- bi/case.js | 2 +- docs/case.js | 2 +- docs/demo.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bi/case.js b/bi/case.js index 083490c44..4916f30f9 100644 --- a/bi/case.js +++ b/bi/case.js @@ -11976,7 +11976,7 @@ BI.ZeroClip = BI.inherit(BI.BasicButton, { BI.nextTick(function () { self.element.zclip({ - path: BI.resourceURL + "ZeroClipboard.swf", + path: BI.resourceURL + "/ZeroClipboard.swf", copy: o.copy, beforeCopy: o.beforeCopy, afterCopy: o.afterCopy diff --git a/docs/case.js b/docs/case.js index 083490c44..4916f30f9 100644 --- a/docs/case.js +++ b/docs/case.js @@ -11976,7 +11976,7 @@ BI.ZeroClip = BI.inherit(BI.BasicButton, { BI.nextTick(function () { self.element.zclip({ - path: BI.resourceURL + "ZeroClipboard.swf", + path: BI.resourceURL + "/ZeroClipboard.swf", copy: o.copy, beforeCopy: o.beforeCopy, afterCopy: o.afterCopy diff --git a/docs/demo.js b/docs/demo.js index b43a8ce7d..b9f465dad 100644 --- a/docs/demo.js +++ b/docs/demo.js @@ -7,7 +7,7 @@ BI.i18n = { }; BI.servletURL = "dist/"; -BI.resourceURL = "dist/resource"; +BI.resourceURL = "dist/resource/"; BI.i18n = {};$(function () { var ref; BI.createWidget({ From 12f8b71c6de1fa311f200934f2ea2abee4f227ba Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 27 Apr 2017 17:34:11 +0800 Subject: [PATCH 09/24] =?UTF-8?q?=E5=85=A8=E5=B1=80=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/widget.js | 4 ++-- docs/widget.js | 4 ++-- src/widget/relationview/relationview.region.container.js | 2 +- src/widget/relationview/relationview.region.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bi/widget.js b/bi/widget.js index 6a1ea1dcd..a9a30105a 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -14569,7 +14569,7 @@ BI.shortcut('bi.relation_view', BI.RelationView);/** BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.RelationViewRegionContainer.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-relation-view-region-container bi-card bi-border", + baseCls: "bi-relation-view-region-container", width: 150 }); }, @@ -14723,7 +14723,7 @@ BI.RelationViewRegion = BI.inherit(BI.BasicButton, { cls: "relation-view-region-container bi-card bi-border " + (o.belongPackage ? "" : "other-package"), items: [{ type: "bi.vertical_adapt", - cls: "relation-view-region-title bi-border", + cls: "relation-view-region-title bi-border-bottom", items: [this.preview, this.title] }, this.button_group] }], diff --git a/docs/widget.js b/docs/widget.js index 6a1ea1dcd..a9a30105a 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -14569,7 +14569,7 @@ BI.shortcut('bi.relation_view', BI.RelationView);/** BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.RelationViewRegionContainer.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-relation-view-region-container bi-card bi-border", + baseCls: "bi-relation-view-region-container", width: 150 }); }, @@ -14723,7 +14723,7 @@ BI.RelationViewRegion = BI.inherit(BI.BasicButton, { cls: "relation-view-region-container bi-card bi-border " + (o.belongPackage ? "" : "other-package"), items: [{ type: "bi.vertical_adapt", - cls: "relation-view-region-title bi-border", + cls: "relation-view-region-title bi-border-bottom", items: [this.preview, this.title] }, this.button_group] }], diff --git a/src/widget/relationview/relationview.region.container.js b/src/widget/relationview/relationview.region.container.js index 15be061e7..a0d8c7dc5 100644 --- a/src/widget/relationview/relationview.region.container.js +++ b/src/widget/relationview/relationview.region.container.js @@ -4,7 +4,7 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.RelationViewRegionContainer.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-relation-view-region-container bi-card bi-border", + baseCls: "bi-relation-view-region-container", width: 150 }); }, diff --git a/src/widget/relationview/relationview.region.js b/src/widget/relationview/relationview.region.js index 450e5d862..f84937a46 100644 --- a/src/widget/relationview/relationview.region.js +++ b/src/widget/relationview/relationview.region.js @@ -65,7 +65,7 @@ BI.RelationViewRegion = BI.inherit(BI.BasicButton, { cls: "relation-view-region-container bi-card bi-border " + (o.belongPackage ? "" : "other-package"), items: [{ type: "bi.vertical_adapt", - cls: "relation-view-region-title bi-border", + cls: "relation-view-region-title bi-border-bottom", items: [this.preview, this.title] }, this.button_group] }], From aeb4aa3d2223fc768114c7c93ffacdcebce73b3b Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 28 Apr 2017 19:52:30 +0800 Subject: [PATCH 10/24] add --- bi/base.js | 101 +++++----- bi/widget.js | 185 +++++++++--------- demo/dist/demo.js | 4 +- demo/js/widget/demo.multiselectcombo.js | 4 +- docs/base.js | 101 +++++----- docs/demo.js | 4 +- docs/widget.js | 185 +++++++++--------- src/base/single/button/button.basic.js | 14 +- src/base/table/table.grid.js | 6 +- src/base/table/table.grid.quick.js | 4 +- src/base/tree/parttree.js | 32 +-- src/base/tree/synctree.js | 24 +-- src/base/tree/treeview.js | 21 +- .../allvaluechooser/combo.allvaluechooser.js | 4 +- .../combo.treevaluechooser.js | 158 +++++++-------- .../valuechooser/combo.valuechooser.js | 4 +- .../check/multiselect.check.pane.js | 2 +- src/widget/multiselect/multiselect.loader.js | 2 +- .../search/multiselect.search.loader.js | 2 +- .../trigger/searcher.multiselect.js | 4 +- .../multitree/check/multi.tree.check.pane.js | 4 +- src/widget/multitree/multi.tree.popup.js | 2 +- .../sequencetable/listnumber.sequencetable.js | 3 +- 23 files changed, 438 insertions(+), 432 deletions(-) diff --git a/bi/base.js b/bi/base.js index fcb3cb987..7ccd3f5f5 100644 --- a/bi/base.js +++ b/bi/base.js @@ -767,12 +767,14 @@ BI.BasicButton = BI.inherit(BI.Single, { }); break; default: - hand.mousedown(function (e) { - ev(e); - }); - hand.mouseup(function (e) { - ev(e); - }); + if (o.stopEvent || o.stopPropagation) { + hand.mousedown(function (e) { + ev(e); + }); + hand.mouseup(function (e) { + ev(e); + }); + } hand.click(clk); break; } @@ -1596,8 +1598,8 @@ BI.TreeView = BI.inherit(BI.Pane, { treeNode.times = treeNode.times || 1; var param = "id=" + treeNode.id + "×=" + (treeNode.times++) - + "&parent_values= " + window.encodeURIComponent(BI.jsonEncode(parentNode)) - + "&check_state=" + window.encodeURIComponent(BI.jsonEncode(treeNode.getCheckStatus())); + + "&parentValues= " + window.encodeURIComponent(BI.jsonEncode(parentNode)) + + "&checkState=" + window.encodeURIComponent(BI.jsonEncode(treeNode.getCheckStatus())); return BI.servletURL + '?op=' + self.options.op + '&cmd=' + self.options.cmd + "&" + param; } @@ -1728,7 +1730,7 @@ BI.TreeView = BI.inherit(BI.Pane, { this._buildTree(map, path); return; } - var storeValues = BI.deepClone(this.options.paras.selected_values); + var storeValues = BI.deepClone(this.options.paras.selectedValues); var treeNode = this._getTree(storeValues, path); this._addTreeNode(map, parent, this._getNodeValue(node), treeNode); }, @@ -1844,8 +1846,7 @@ BI.TreeView = BI.inherit(BI.Pane, { self.nodes = $.fn.zTree.init(tree.element, setting, nodes); }; var op = BI.extend({}, o.paras, { - times: 1, - type: BI.TreeView.REQ_TYPE_INIT_DATA + times: 1 }); o.itemsCreator(op, function (res) { @@ -1938,8 +1939,8 @@ BI.TreeView = BI.inherit(BI.Pane, { }, setSelectedValue: function (value) { - this.options.paras.selected_values = value || {}; - this.selected_values = BI.deepClone(value) || {}; + this.options.paras.selectedValues = value || {}; + this.selectedValues = BI.deepClone(value) || {}; }, updateValue: function (values, param) { @@ -1979,10 +1980,10 @@ BI.TreeView = BI.inherit(BI.Pane, { } }); BI.extend(BI.TreeView, { - REQ_TYPE_INIT_DATA: 0, - REQ_TYPE_ADJUST_DATA: 1, - REQ_TYPE_CALCULATE_SELECT_DATA: 2, - REQ_TYPE_SELECTED_DATA: 3 + REQ_TYPE_INIT_DATA: 1, + REQ_TYPE_ADJUST_DATA: 2, + REQ_TYPE_SELECT_DATA: 3, + REQ_TYPE_GET_SELECTED_DATA: 4 }); BI.TreeView.EVENT_CHANGE = "EVENT_CHANGE"; @@ -2090,21 +2091,21 @@ BI.SyncTree = BI.inherit(BI.TreeView, { _selectTreeNode: function (treeId, treeNode) { var self = this, o = this.options; - var parent_values = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); + var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); var name = this._getNodeValue(treeNode) -// var values = parent_values.concat([name]); +// var values = parentValues.concat([name]); if (treeNode.checked === true) { } else { var tNode = treeNode; - var pNode = this._getTree(this.selected_values, parent_values); + var pNode = this._getTree(this.selectedValues, parentValues); if (BI.isNotNull(pNode[name])) { delete pNode[name]; } while (tNode != null && BI.isEmpty(pNode)) { - parent_values = parent_values.slice(0, parent_values.length - 1); + parentValues = parentValues.slice(0, parentValues.length - 1); tNode = tNode.getParentNode(); if (tNode != null) { - pNode = this._getTree(this.selected_values, parent_values); + pNode = this._getTree(this.selectedValues, parentValues); name = this._getNodeValue(tNode); delete pNode[name]; } @@ -2120,8 +2121,8 @@ BI.SyncTree = BI.inherit(BI.TreeView, { var op = BI.extend({}, o.paras, { "id": treeNode.id, "times": 1, - "parent_values": parentValues.concat(this._getNodeValue(treeNode)), - "check_state": treeNode.getCheckStatus() + "parentValues": parentValues.concat(this._getNodeValue(treeNode)), + "checkState": treeNode.getCheckStatus() }); var complete = function (d) { var nodes = d.items || []; @@ -2169,7 +2170,7 @@ BI.SyncTree = BI.inherit(BI.TreeView, { }, hasChecked: function () { - return !BI.isEmpty(this.selected_values) || BI.SyncTree.superclass.hasChecked.apply(this, arguments); + return !BI.isEmpty(this.selectedValues) || BI.SyncTree.superclass.hasChecked.apply(this, arguments); }, getValue: function () { @@ -2178,12 +2179,12 @@ BI.SyncTree = BI.inherit(BI.TreeView, { } var checkedValues = this._getSelectedValues(); if (BI.isEmpty(checkedValues)) { - return this.selected_values; + return this.selectedValues; } - if (BI.isEmpty(this.selected_values)) { + if (BI.isEmpty(this.selectedValues)) { return checkedValues; } - return this._join(checkedValues, this.selected_values); + return this._join(checkedValues, this.selectedValues); }, //生成树方法 @@ -2191,7 +2192,7 @@ BI.SyncTree = BI.inherit(BI.TreeView, { delete this.options.keyword; BI.extend(this.options.paras, config); //取消选中时使用 - this.selected_values = BI.deepClone(this.options.paras.selected_values) || {}; + this.selectedValues = BI.deepClone(this.options.paras.selectedValues) || {}; var setting = this._configSetting(); this._initTree(setting); } @@ -2221,7 +2222,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { this.tip.setLoading(); o.itemsCreator(op, function (d) { var hasNext = !!d.hasNext, nodes = d.items || []; - o.paras.last_search_value = d.last_search_value; + o.paras.lastSearchValue = d.lastSearchValue; if (self._stop === true) { return; } @@ -2238,35 +2239,35 @@ BI.PartTree = BI.inherit(BI.SyncTree, { _selectTreeNode: function (treeId, treeNode) { var self = this, o = this.options; - var parent_values = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); + var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); var name = this._getNodeValue(treeNode) -// var values = parent_values.concat([name]); +// var values = parentValues.concat([name]); if (treeNode.checked === true) { BI.SyncTree.superclass._selectTreeNode.apply(self, arguments); } else { o.itemsCreator(BI.extend({}, o.paras, { type: BI.TreeView.REQ_TYPE_CALCULATE_SELECT_DATA, - selected_values: this.selected_values, - not_selected_value: name, - parent_values: parent_values + selectedValues: this.selectedValues, + notSelectedValue: name, + parentValues: parentValues }), function (new_values) { - if (BI.isEqual(self.selected_values, new_values)) { + if (BI.isEqual(self.selectedValues, new_values)) { var tNode = treeNode; - var pNode = self._getTree(new_values, parent_values); + var pNode = self._getTree(new_values, parentValues); if (pNode[name]) { delete pNode[name]; } while (tNode != null && BI.isEmpty(pNode)) { - parent_values = parent_values.slice(0, parent_values.length - 1); + parentValues = parentValues.slice(0, parentValues.length - 1); tNode = tNode.getParentNode(); if (tNode != null) { - pNode = self._getTree(new_values, parent_values); + pNode = self._getTree(new_values, parentValues); name = self._getNodeValue(tNode); delete pNode[name]; } } } - self.selected_values = new_values; + self.selectedValues = new_values; BI.SyncTree.superclass._selectTreeNode.apply(self, arguments); }); } @@ -2319,7 +2320,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { return; } var hasNext = !!d.hasNext, nodes = d.items || []; - o.paras.last_search_value = d.last_search_value; + o.paras.lastSearchValue = d.lastSearchValue; if (nodes.length > 0) { callback(self._dealWidthNodes(nodes)); } @@ -2350,7 +2351,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { var result = BI.PartTree.superclass.getValue.apply(this, arguments); o.itemsCreator({ type: BI.TreeView.REQ_TYPE_ADJUST_DATA, - selected_values: result + selectedValues: result }, function (res) { result = res; }); @@ -2362,10 +2363,10 @@ BI.PartTree = BI.inherit(BI.SyncTree, { var o = this.options; delete o.paras.keyword; BI.extend(o.paras, config); - delete o.paras.last_search_value; + delete o.paras.lastSearchValue; //取消选中时使用 - this.selected_values = BI.deepClone(o.paras.selected_values) || {}; - //delete this.options.paras.selected_values; + this.selectedValues = BI.deepClone(o.paras.selectedValues) || {}; + //delete this.options.paras.selectedValues; var setting = this._configSetting(); this._initTree(setting, o.paras.keyword); } @@ -29340,7 +29341,7 @@ BI.GridTable = BI.inherit(BI.Widget, { var trh = otrh + this._scrollBarSize; var blw = oblw + this._scrollBarSize; var blh = oblh + this._scrollBarSize; - var brw = obrw+ this._scrollBarSize; + var brw = obrw + this._scrollBarSize; var brh = obrh + this._scrollBarSize; var digest = function (el) { @@ -29376,11 +29377,11 @@ BI.GridTable = BI.inherit(BI.Widget, { this.topLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.topLeftGrid.setEstimatedRowSize(o.headerRowSize); - this.topRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.topRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.topRightGrid.setEstimatedRowSize(o.headerRowSize); this.bottomLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.bottomLeftGrid.setEstimatedRowSize(o.rowSize); - this.bottomRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.bottomRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.bottomRightGrid.setEstimatedRowSize(o.rowSize); var items = this.contextLayout.attr("items"); @@ -29614,11 +29615,11 @@ BI.QuickGridTable = BI.inherit(BI.GridTable, { this.topLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.topLeftGrid.setEstimatedRowSize(o.headerRowSize); - this.topRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.topRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.topRightGrid.setEstimatedRowSize(o.headerRowSize); this.bottomLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.bottomLeftGrid.setEstimatedRowSize(o.rowSize); - this.bottomRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.bottomRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.bottomRightGrid.setEstimatedRowSize(o.rowSize); var items = this.contextLayout.attr("items"); diff --git a/bi/widget.js b/bi/widget.js index a9a30105a..68ec4d108 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -9365,7 +9365,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, { items: opts.items, itemsCreator: function (op, callback) { op = BI.extend(op || {}, { - selected_values: self.storeValue.value + selectedValues: self.storeValue.value }); if (self.storeValue.type === BI.Selection.Multi) { callback({ @@ -9928,7 +9928,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, { itemsCreator: function (op, callback) { var startValue = self._startValue; self.storeValue && (op = BI.extend(op || {}, { - selected_values: BI.isKey(startValue) && self.storeValue.type === BI.Selection.Multi + selectedValues: BI.isKey(startValue) && self.storeValue.type === BI.Selection.Multi ? self.storeValue.value.concat(startValue) : self.storeValue.value })); opts.itemsCreator(op, function (ob) { @@ -10340,7 +10340,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { }, itemsCreator: function (op, callback) { self.storeValue && (op = BI.extend(op || {}, { - selected_values: self.storeValue.value + selectedValues: self.storeValue.value })); opts.itemsCreator(op, function (ob) { var keyword = ob.keyword = opts.keywordGetter(); @@ -10810,13 +10810,13 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, { ob.value || (ob.value = []); if (ob.type === BI.Selection.All) { if (BI.size(ob.assist) === 1) { - this.editor.setState(o.valueFormatter(ob.assist[0] + "") || ob.assist[0] + ""); + this.editor.setState(o.valueFormatter(ob.assist[0] + "") || (ob.assist[0] + "")); } else { this.editor.setState(BI.size(ob.value) > 0 ? BI.Selection.Multi : BI.Selection.All); } } else { if (BI.size(ob.value) === 1) { - this.editor.setState(o.valueFormatter(ob.value[0] + "" || ob.value[0] + "")); + this.editor.setState(o.valueFormatter(ob.value[0] + "") || (ob.value[0] + "")); } else { this.editor.setState(BI.size(ob.value) > 0 ? BI.Selection.Multi : BI.Selection.None); } @@ -11288,7 +11288,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, { var self = this, opts = this.options; - this.selected_values = {}; + this.selectedValues = {}; var continueSelect = BI.createWidget({ type: 'bi.text_button', @@ -11325,7 +11325,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, { type: "bi.display_tree", cls: "bi-multi-tree-display", itemsCreator: function (op, callback) { - op.type = BI.TreeView.REQ_TYPE_SELECTED_DATA; + op.type = BI.TreeView.REQ_TYPE_GET_SELECTED_DATA; opts.itemsCreator(op, callback); } }); @@ -11650,7 +11650,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, { var self = this, opts = this.options; - this.selected_values = {}; + this.selectedValues = {}; this.tree = BI.createWidget({ type: "bi.sync_tree", @@ -15913,7 +15913,8 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { }, _populate: function () { - this.header.populate(); + this.headerContainer.empty(); + this._createHeader(); this._layout(); this._calculateChildrenToRender(); }, @@ -17001,8 +17002,8 @@ BI.AllValueChooserCombo = BI.inherit(BI.Widget, { var search = BI.Func.getSearchResult(items, kw); items = search.matched.concat(search.finded); }); - if (options.selected_values) {//过滤 - var filter = BI.makeObject(options.selected_values, true); + if (options.selectedValues) {//过滤 + var filter = BI.makeObject(options.selectedValues, true); items = BI.filter(items, function (i, ob) { return !filter[ob.value]; }); @@ -17129,10 +17130,10 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { case BI.TreeView.REQ_TYPE_ADJUST_DATA: self._reqAdjustTreeNode(options, callback); break; - case BI.TreeView.REQ_TYPE_CALCULATE_SELECT_DATA: + case BI.TreeView.REQ_TYPE_SELECT_DATA: self._reqSelectedTreeNode(options, callback); break; - case BI.TreeView.REQ_TYPE_SELECTED_DATA: + case BI.TreeView.REQ_TYPE_GET_SELECTED_DATA: self._reqDisplayTreeNode(options, callback); break; default : @@ -17145,27 +17146,27 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { _reqDisplayTreeNode: function (op, callback) { var self = this; var result = []; - var selected_values = op.selected_values; + var selectedValues = op.selectedValues; - if (selected_values == null || BI.isEmpty(selected_values)) { + if (selectedValues == null || BI.isEmpty(selectedValues)) { callback({}); return; } - doCheck(0, [], selected_values); + doCheck(0, [], selectedValues); callback({ items: result }); - function doCheck(floor, parent_values, selected) { + function doCheck(floor, parentValues, selected) { if (floor >= self.floors) { return; } if (selected == null || BI.isEmpty(selected)) { - var children = self._getChildren(parent_values); + var children = self._getChildren(parentValues); BI.each(children, function (i, child) { - var newParents = BI.clone(parent_values); + var newParents = BI.clone(parentValues); newParents.push(child.value); var llen = self._getChildCount(newParents); createOneJson(child, llen); @@ -17175,19 +17176,19 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } BI.each(selected, function (k) { var node = self._getNode(k); - var newParents = BI.clone(parent_values); + var newParents = BI.clone(parentValues); newParents.push(node.value); createOneJson(node, getCount(selected[k], newParents)); doCheck(floor + 1, newParents, selected[k]); }) } - function getCount(jo, parent_values) { + function getCount(jo, parentValues) { if (jo == null) { return 0; } if (BI.isEmpty(jo)) { - return self._getChildCount(parent_values); + return self._getChildCount(parentValues); } return BI.size(jo); @@ -17206,30 +17207,30 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { _reqSelectedTreeNode: function (op, callback) { var self = this; - var selected_values = op.selected_values; - var not_selected_value = op.not_selected_value || {}; + var selectedValues = op.selectedValues; + var notSelectedValue = op.notSelectedValue || {}; var keyword = op.keyword || ""; - var parent_values = op.parent_values || []; + var parentValues = op.parentValues || []; - if (selected_values == null || BI.isEmpty(selected_values)) { + if (selectedValues == null || BI.isEmpty(selectedValues)) { callback({}); return; } - dealWithSelectedValues(selected_values); - callback(selected_values); + dealWithSelectedValues(selectedValues); + callback(selectedValues); - function dealWithSelectedValues(selected_values) { - var p = BI.clone(parent_values); - p.push(not_selected_value); + function dealWithSelectedValues(selectedValues) { + var p = BI.clone(parentValues); + p.push(notSelectedValue); - if (isChild(selected_values, p)) { + if (isChild(selectedValues, p)) { var result = []; - var finded = search(parent_values.length + 1, parent_values, not_selected_value, result); + var finded = search(parentValues.length + 1, parentValues, notSelectedValue, result); if (finded === true) { - var next = selected_values; + var next = selectedValues; BI.each(p, function (i, v) { var t = next[v]; if (t == null) { @@ -17237,7 +17238,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { var split = p.slice(0, i); var expanded = self._getChildren(split); BI.each(expanded, function (m, child) { - if (i === p.length - 1 && child.value === not_selected_value) { + if (i === p.length - 1 && child.value === notSelectedValue) { return true; } next[child.value] = {}; @@ -17254,7 +17255,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { if (result.length > 0) { BI.each(result, function (i, strs) { - self._buildTree(selected_values, strs); + self._buildTree(selectedValues, strs); }) } } @@ -17294,8 +17295,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return can; } - function isChild(selected_values, parents) { - var t = selected_values; + function isChild(selectedValues, parents) { + var t = selectedValues; for (var i = 0; i < parents.length; i++) { var v = parents[i]; if (!BI.has(t, v)) { @@ -17313,16 +17314,16 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { _reqAdjustTreeNode: function (op, callback) { var self = this; var result = []; - var selected_values = op.selected_values; - if (selected_values == null || BI.isEmpty(selected_values)) { + var selectedValues = op.selectedValues; + if (selectedValues == null || BI.isEmpty(selectedValues)) { callback({}); return; } - BI.each(selected_values, function (k, v) { + BI.each(selectedValues, function (k, v) { result.push([k]); }); - dealWithSelectedValues(selected_values, []); + dealWithSelectedValues(selectedValues, []); var jo = {}; BI.each(result, function (i, strs) { @@ -17359,23 +17360,23 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { var self = this; var result = []; var keyword = op.keyword || ""; - var selected_values = op.selected_values; - var last_search_value = op.last_search_value || ""; + var selectedValues = op.selectedValues; + var lastSearchValue = op.lastSearchValue || ""; var output = search(); BI.nextTick(function () { callback({ hasNext: output.length > self._const.perPage, items: result, - last_search_value: BI.last(output) + lastSearchValue: BI.last(output) }) }); function search() { var children = self._getChildren([]); var start = children.length; - if (last_search_value !== "") { + if (lastSearchValue !== "") { for (var j = 0, len = start; j < len; j++) { - if (children[j].value === last_search_value) { + if (children[j].value === lastSearchValue) { start = j + 1; break; } @@ -17400,22 +17401,22 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return output; } - function nodeSearch(deep, parent_values, current, isAllSelect, result) { + function nodeSearch(deep, parentValues, current, isAllSelect, result) { if (self._isMatch(current, keyword)) { - var checked = isAllSelect || isSelected(parent_values, current); - createOneJson(parent_values, current, false, checked, !isAllSelect && isHalf(parent_values, current), true, result); + var checked = isAllSelect || isSelected(parentValues, current); + createOneJson(parentValues, current, false, checked, !isAllSelect && isHalf(parentValues, current), true, result); return [true, checked]; } if (deep >= self.floors) { return [false, false]; } - var newParents = BI.clone(parent_values); + var newParents = BI.clone(parentValues); newParents.push(current); var children = self._getChildren(newParents); var can = false, checked = false; - var isCurAllSelected = isAllSelect || isAllSelected(parent_values, current); + var isCurAllSelected = isAllSelect || isAllSelected(parentValues, current); BI.each(children, function (i, child) { var state = nodeSearch(deep + 1, newParents, child.value, isCurAllSelected, result); if (state[1] === true) { @@ -17426,13 +17427,13 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } }); if (can === true) { - checked = isCurAllSelected || (isSelected(parent_values, current) && checked); - createOneJson(parent_values, current, true, checked, false, false, result); + checked = isCurAllSelected || (isSelected(parentValues, current) && checked); + createOneJson(parentValues, current, true, checked, false, false, result); } return [can, checked]; } - function createOneJson(parent_values, value, isOpen, checked, half, flag, result) { + function createOneJson(parentValues, value, isOpen, checked, half, flag, result) { var node = self.map[value]; result.push({ id: node.id, @@ -17440,7 +17441,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { text: node.text, value: node.value, title: node.title, - isParent: parent_values.length + 1 < self.floors, + isParent: parentValues.length + 1 < self.floors, open: isOpen, checked: checked, halfCheck: half, @@ -17448,8 +17449,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function isHalf(parent_values, value) { - var find = findSelectedObj(parent_values); + function isHalf(parentValues, value) { + var find = findSelectedObj(parentValues); if (find == null) { return null; } @@ -17462,8 +17463,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function isAllSelected(parent_values, value) { - var find = findSelectedObj(parent_values); + function isAllSelected(parentValues, value) { + var find = findSelectedObj(parentValues); if (find == null) { return null; } @@ -17476,8 +17477,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function isSelected(parent_values, value) { - var find = findSelectedObj(parent_values); + function isSelected(parentValues, value) { + var find = findSelectedObj(parentValues); if (find == null) { return false; } @@ -17488,12 +17489,12 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function findSelectedObj(parent_values) { - var find = selected_values; + function findSelectedObj(parentValues) { + var find = selectedValues; if (find == null) { return null; } - BI.every(parent_values, function (i, v) { + BI.every(parentValues, function (i, v) { find = find[v]; if (find == null) { return false; @@ -17508,23 +17509,23 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { var self = this; var result = []; var times = op.times; - var check_state = op.check_state || {}; - var parent_values = op.parent_values || []; - var selected_values = op.selected_values; + var checkState = op.checkState || {}; + var parentValues = op.parentValues || []; + var selectedValues = op.selectedValues; var valueMap = {}; - if (judgeState(parent_values, selected_values, check_state)) { - valueMap = dealWidthSelectedValue(parent_values, selected_values); + if (judgeState(parentValues, selectedValues, checkState)) { + valueMap = dealWidthSelectedValue(parentValues, selectedValues); } - var nodes = this._getChildren(parent_values); + var nodes = this._getChildren(parentValues); for (var i = (times - 1) * this._const.perPage; nodes[i] && i < times * this._const.perPage; i++) { - var state = getCheckState(nodes[i].value, parent_values, valueMap, check_state); + var state = getCheckState(nodes[i].value, parentValues, valueMap, checkState); result.push({ id: nodes[i].id, pId: nodes[i].pId, value: nodes[i].value, text: nodes[i].text, times: 1, - isParent: parent_values.length + 1 < this.floors, + isParent: parentValues.length + 1 < this.floors, checked: state[0], halfCheck: state[1] }) @@ -17536,20 +17537,20 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); }); - function judgeState(parent_values, selected_value, check_state) { - var checked = check_state.checked, half = check_state.half; - if (parent_values.length > 0 && !checked) { + function judgeState(parentValues, selected_value, checkState) { + var checked = checkState.checked, half = checkState.half; + if (parentValues.length > 0 && !checked) { return false; } - return (parent_values.length === 0 || (checked && half) && !BI.isEmpty(selected_value)); + return (parentValues.length === 0 || (checked && half) && !BI.isEmpty(selected_value)); } - function dealWidthSelectedValue(parent_values, selected_values) { + function dealWidthSelectedValue(parentValues, selectedValues) { var valueMap = {}; - BI.each(parent_values, function (i, v) { - selected_values = selected_values[v]; + BI.each(parentValues, function (i, v) { + selectedValues = selectedValues[v]; }); - BI.each(selected_values, function (value, obj) { + BI.each(selectedValues, function (value, obj) { if (BI.isNull(obj)) { valueMap[value] = [0, 0]; return; @@ -17569,14 +17570,14 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return valueMap; } - function getCheckState(current, parent_values, valueMap, check_state) { - var checked = check_state.checked, half = check_state.half; - var hasChild = parent_values.length + 1 < self.floors; + function getCheckState(current, parentValues, valueMap, checkState) { + var checked = checkState.checked, half = checkState.half; + var hasChild = parentValues.length + 1 < self.floors; var tempCheck = false, halfCheck = false; if (BI.has(valueMap, current)) { //可能是半选 if (valueMap[current][0] === 1) { - var values = BI.clone(parent_values); + var values = BI.clone(parentValues); values.push(current); if (hasChild && self._getChildCount(values) != valueMap[current][1]) { halfCheck = true; @@ -17615,9 +17616,9 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return this.tree.search(v, "value"); }, - _getChildren: function (parent_values) { - if (parent_values.length > 0) { - var value = BI.last(parent_values); + _getChildren: function (parentValues) { + if (parentValues.length > 0) { + var value = BI.last(parentValues); var parent = this.tree.search(value, "value"); } else { var parent = this.tree.getRoot(); @@ -17625,8 +17626,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return parent.getChildren(); }, - _getChildCount: function (parent_values) { - return this._getChildren(parent_values).length; + _getChildCount: function (parentValues) { + return this._getChildren(parentValues).length; }, setValue: function (v) { @@ -17728,8 +17729,8 @@ BI.ValueChooserCombo = BI.inherit(BI.Widget, { var search = BI.Func.getSearchResult(items, kw); items = search.matched.concat(search.finded); }); - if (options.selected_values) {//过滤 - var filter = BI.makeObject(options.selected_values, true); + if (options.selectedValues) {//过滤 + var filter = BI.makeObject(options.selectedValues, true); items = BI.filter(items, function (i, ob) { return !filter[ob.value]; }); diff --git a/demo/dist/demo.js b/demo/dist/demo.js index 64284a898..4f2057ba8 100644 --- a/demo/dist/demo.js +++ b/demo/dist/demo.js @@ -4703,8 +4703,8 @@ Demo.MultiSelectCombo = BI.inherit(BI.Widget, { var search = BI.Func.getSearchResult(items, kw); items = search.matched.concat(search.finded); }); - if (options.selected_values) {//过滤 - var filter = BI.makeObject(options.selected_values, true); + if (options.selectedValues) {//过滤 + var filter = BI.makeObject(options.selectedValues, true); items = BI.filter(items, function (i, ob) { return !filter[ob.value]; }); diff --git a/demo/js/widget/demo.multiselectcombo.js b/demo/js/widget/demo.multiselectcombo.js index 398335560..72e35cae7 100644 --- a/demo/js/widget/demo.multiselectcombo.js +++ b/demo/js/widget/demo.multiselectcombo.js @@ -44,8 +44,8 @@ Demo.MultiSelectCombo = BI.inherit(BI.Widget, { var search = BI.Func.getSearchResult(items, kw); items = search.matched.concat(search.finded); }); - if (options.selected_values) {//过滤 - var filter = BI.makeObject(options.selected_values, true); + if (options.selectedValues) {//过滤 + var filter = BI.makeObject(options.selectedValues, true); items = BI.filter(items, function (i, ob) { return !filter[ob.value]; }); diff --git a/docs/base.js b/docs/base.js index fcb3cb987..7ccd3f5f5 100644 --- a/docs/base.js +++ b/docs/base.js @@ -767,12 +767,14 @@ BI.BasicButton = BI.inherit(BI.Single, { }); break; default: - hand.mousedown(function (e) { - ev(e); - }); - hand.mouseup(function (e) { - ev(e); - }); + if (o.stopEvent || o.stopPropagation) { + hand.mousedown(function (e) { + ev(e); + }); + hand.mouseup(function (e) { + ev(e); + }); + } hand.click(clk); break; } @@ -1596,8 +1598,8 @@ BI.TreeView = BI.inherit(BI.Pane, { treeNode.times = treeNode.times || 1; var param = "id=" + treeNode.id + "×=" + (treeNode.times++) - + "&parent_values= " + window.encodeURIComponent(BI.jsonEncode(parentNode)) - + "&check_state=" + window.encodeURIComponent(BI.jsonEncode(treeNode.getCheckStatus())); + + "&parentValues= " + window.encodeURIComponent(BI.jsonEncode(parentNode)) + + "&checkState=" + window.encodeURIComponent(BI.jsonEncode(treeNode.getCheckStatus())); return BI.servletURL + '?op=' + self.options.op + '&cmd=' + self.options.cmd + "&" + param; } @@ -1728,7 +1730,7 @@ BI.TreeView = BI.inherit(BI.Pane, { this._buildTree(map, path); return; } - var storeValues = BI.deepClone(this.options.paras.selected_values); + var storeValues = BI.deepClone(this.options.paras.selectedValues); var treeNode = this._getTree(storeValues, path); this._addTreeNode(map, parent, this._getNodeValue(node), treeNode); }, @@ -1844,8 +1846,7 @@ BI.TreeView = BI.inherit(BI.Pane, { self.nodes = $.fn.zTree.init(tree.element, setting, nodes); }; var op = BI.extend({}, o.paras, { - times: 1, - type: BI.TreeView.REQ_TYPE_INIT_DATA + times: 1 }); o.itemsCreator(op, function (res) { @@ -1938,8 +1939,8 @@ BI.TreeView = BI.inherit(BI.Pane, { }, setSelectedValue: function (value) { - this.options.paras.selected_values = value || {}; - this.selected_values = BI.deepClone(value) || {}; + this.options.paras.selectedValues = value || {}; + this.selectedValues = BI.deepClone(value) || {}; }, updateValue: function (values, param) { @@ -1979,10 +1980,10 @@ BI.TreeView = BI.inherit(BI.Pane, { } }); BI.extend(BI.TreeView, { - REQ_TYPE_INIT_DATA: 0, - REQ_TYPE_ADJUST_DATA: 1, - REQ_TYPE_CALCULATE_SELECT_DATA: 2, - REQ_TYPE_SELECTED_DATA: 3 + REQ_TYPE_INIT_DATA: 1, + REQ_TYPE_ADJUST_DATA: 2, + REQ_TYPE_SELECT_DATA: 3, + REQ_TYPE_GET_SELECTED_DATA: 4 }); BI.TreeView.EVENT_CHANGE = "EVENT_CHANGE"; @@ -2090,21 +2091,21 @@ BI.SyncTree = BI.inherit(BI.TreeView, { _selectTreeNode: function (treeId, treeNode) { var self = this, o = this.options; - var parent_values = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); + var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); var name = this._getNodeValue(treeNode) -// var values = parent_values.concat([name]); +// var values = parentValues.concat([name]); if (treeNode.checked === true) { } else { var tNode = treeNode; - var pNode = this._getTree(this.selected_values, parent_values); + var pNode = this._getTree(this.selectedValues, parentValues); if (BI.isNotNull(pNode[name])) { delete pNode[name]; } while (tNode != null && BI.isEmpty(pNode)) { - parent_values = parent_values.slice(0, parent_values.length - 1); + parentValues = parentValues.slice(0, parentValues.length - 1); tNode = tNode.getParentNode(); if (tNode != null) { - pNode = this._getTree(this.selected_values, parent_values); + pNode = this._getTree(this.selectedValues, parentValues); name = this._getNodeValue(tNode); delete pNode[name]; } @@ -2120,8 +2121,8 @@ BI.SyncTree = BI.inherit(BI.TreeView, { var op = BI.extend({}, o.paras, { "id": treeNode.id, "times": 1, - "parent_values": parentValues.concat(this._getNodeValue(treeNode)), - "check_state": treeNode.getCheckStatus() + "parentValues": parentValues.concat(this._getNodeValue(treeNode)), + "checkState": treeNode.getCheckStatus() }); var complete = function (d) { var nodes = d.items || []; @@ -2169,7 +2170,7 @@ BI.SyncTree = BI.inherit(BI.TreeView, { }, hasChecked: function () { - return !BI.isEmpty(this.selected_values) || BI.SyncTree.superclass.hasChecked.apply(this, arguments); + return !BI.isEmpty(this.selectedValues) || BI.SyncTree.superclass.hasChecked.apply(this, arguments); }, getValue: function () { @@ -2178,12 +2179,12 @@ BI.SyncTree = BI.inherit(BI.TreeView, { } var checkedValues = this._getSelectedValues(); if (BI.isEmpty(checkedValues)) { - return this.selected_values; + return this.selectedValues; } - if (BI.isEmpty(this.selected_values)) { + if (BI.isEmpty(this.selectedValues)) { return checkedValues; } - return this._join(checkedValues, this.selected_values); + return this._join(checkedValues, this.selectedValues); }, //生成树方法 @@ -2191,7 +2192,7 @@ BI.SyncTree = BI.inherit(BI.TreeView, { delete this.options.keyword; BI.extend(this.options.paras, config); //取消选中时使用 - this.selected_values = BI.deepClone(this.options.paras.selected_values) || {}; + this.selectedValues = BI.deepClone(this.options.paras.selectedValues) || {}; var setting = this._configSetting(); this._initTree(setting); } @@ -2221,7 +2222,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { this.tip.setLoading(); o.itemsCreator(op, function (d) { var hasNext = !!d.hasNext, nodes = d.items || []; - o.paras.last_search_value = d.last_search_value; + o.paras.lastSearchValue = d.lastSearchValue; if (self._stop === true) { return; } @@ -2238,35 +2239,35 @@ BI.PartTree = BI.inherit(BI.SyncTree, { _selectTreeNode: function (treeId, treeNode) { var self = this, o = this.options; - var parent_values = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); + var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); var name = this._getNodeValue(treeNode) -// var values = parent_values.concat([name]); +// var values = parentValues.concat([name]); if (treeNode.checked === true) { BI.SyncTree.superclass._selectTreeNode.apply(self, arguments); } else { o.itemsCreator(BI.extend({}, o.paras, { type: BI.TreeView.REQ_TYPE_CALCULATE_SELECT_DATA, - selected_values: this.selected_values, - not_selected_value: name, - parent_values: parent_values + selectedValues: this.selectedValues, + notSelectedValue: name, + parentValues: parentValues }), function (new_values) { - if (BI.isEqual(self.selected_values, new_values)) { + if (BI.isEqual(self.selectedValues, new_values)) { var tNode = treeNode; - var pNode = self._getTree(new_values, parent_values); + var pNode = self._getTree(new_values, parentValues); if (pNode[name]) { delete pNode[name]; } while (tNode != null && BI.isEmpty(pNode)) { - parent_values = parent_values.slice(0, parent_values.length - 1); + parentValues = parentValues.slice(0, parentValues.length - 1); tNode = tNode.getParentNode(); if (tNode != null) { - pNode = self._getTree(new_values, parent_values); + pNode = self._getTree(new_values, parentValues); name = self._getNodeValue(tNode); delete pNode[name]; } } } - self.selected_values = new_values; + self.selectedValues = new_values; BI.SyncTree.superclass._selectTreeNode.apply(self, arguments); }); } @@ -2319,7 +2320,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { return; } var hasNext = !!d.hasNext, nodes = d.items || []; - o.paras.last_search_value = d.last_search_value; + o.paras.lastSearchValue = d.lastSearchValue; if (nodes.length > 0) { callback(self._dealWidthNodes(nodes)); } @@ -2350,7 +2351,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { var result = BI.PartTree.superclass.getValue.apply(this, arguments); o.itemsCreator({ type: BI.TreeView.REQ_TYPE_ADJUST_DATA, - selected_values: result + selectedValues: result }, function (res) { result = res; }); @@ -2362,10 +2363,10 @@ BI.PartTree = BI.inherit(BI.SyncTree, { var o = this.options; delete o.paras.keyword; BI.extend(o.paras, config); - delete o.paras.last_search_value; + delete o.paras.lastSearchValue; //取消选中时使用 - this.selected_values = BI.deepClone(o.paras.selected_values) || {}; - //delete this.options.paras.selected_values; + this.selectedValues = BI.deepClone(o.paras.selectedValues) || {}; + //delete this.options.paras.selectedValues; var setting = this._configSetting(); this._initTree(setting, o.paras.keyword); } @@ -29340,7 +29341,7 @@ BI.GridTable = BI.inherit(BI.Widget, { var trh = otrh + this._scrollBarSize; var blw = oblw + this._scrollBarSize; var blh = oblh + this._scrollBarSize; - var brw = obrw+ this._scrollBarSize; + var brw = obrw + this._scrollBarSize; var brh = obrh + this._scrollBarSize; var digest = function (el) { @@ -29376,11 +29377,11 @@ BI.GridTable = BI.inherit(BI.Widget, { this.topLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.topLeftGrid.setEstimatedRowSize(o.headerRowSize); - this.topRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.topRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.topRightGrid.setEstimatedRowSize(o.headerRowSize); this.bottomLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.bottomLeftGrid.setEstimatedRowSize(o.rowSize); - this.bottomRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.bottomRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.bottomRightGrid.setEstimatedRowSize(o.rowSize); var items = this.contextLayout.attr("items"); @@ -29614,11 +29615,11 @@ BI.QuickGridTable = BI.inherit(BI.GridTable, { this.topLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.topLeftGrid.setEstimatedRowSize(o.headerRowSize); - this.topRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.topRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.topRightGrid.setEstimatedRowSize(o.headerRowSize); this.bottomLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.bottomLeftGrid.setEstimatedRowSize(o.rowSize); - this.bottomRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.bottomRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.bottomRightGrid.setEstimatedRowSize(o.rowSize); var items = this.contextLayout.attr("items"); diff --git a/docs/demo.js b/docs/demo.js index b9f465dad..4d7cb0e89 100644 --- a/docs/demo.js +++ b/docs/demo.js @@ -5434,8 +5434,8 @@ Demo.MultiSelectCombo = BI.inherit(BI.Widget, { var search = BI.Func.getSearchResult(items, kw); items = search.matched.concat(search.finded); }); - if (options.selected_values) {//过滤 - var filter = BI.makeObject(options.selected_values, true); + if (options.selectedValues) {//过滤 + var filter = BI.makeObject(options.selectedValues, true); items = BI.filter(items, function (i, ob) { return !filter[ob.value]; }); diff --git a/docs/widget.js b/docs/widget.js index a9a30105a..68ec4d108 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -9365,7 +9365,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, { items: opts.items, itemsCreator: function (op, callback) { op = BI.extend(op || {}, { - selected_values: self.storeValue.value + selectedValues: self.storeValue.value }); if (self.storeValue.type === BI.Selection.Multi) { callback({ @@ -9928,7 +9928,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, { itemsCreator: function (op, callback) { var startValue = self._startValue; self.storeValue && (op = BI.extend(op || {}, { - selected_values: BI.isKey(startValue) && self.storeValue.type === BI.Selection.Multi + selectedValues: BI.isKey(startValue) && self.storeValue.type === BI.Selection.Multi ? self.storeValue.value.concat(startValue) : self.storeValue.value })); opts.itemsCreator(op, function (ob) { @@ -10340,7 +10340,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { }, itemsCreator: function (op, callback) { self.storeValue && (op = BI.extend(op || {}, { - selected_values: self.storeValue.value + selectedValues: self.storeValue.value })); opts.itemsCreator(op, function (ob) { var keyword = ob.keyword = opts.keywordGetter(); @@ -10810,13 +10810,13 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, { ob.value || (ob.value = []); if (ob.type === BI.Selection.All) { if (BI.size(ob.assist) === 1) { - this.editor.setState(o.valueFormatter(ob.assist[0] + "") || ob.assist[0] + ""); + this.editor.setState(o.valueFormatter(ob.assist[0] + "") || (ob.assist[0] + "")); } else { this.editor.setState(BI.size(ob.value) > 0 ? BI.Selection.Multi : BI.Selection.All); } } else { if (BI.size(ob.value) === 1) { - this.editor.setState(o.valueFormatter(ob.value[0] + "" || ob.value[0] + "")); + this.editor.setState(o.valueFormatter(ob.value[0] + "") || (ob.value[0] + "")); } else { this.editor.setState(BI.size(ob.value) > 0 ? BI.Selection.Multi : BI.Selection.None); } @@ -11288,7 +11288,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, { var self = this, opts = this.options; - this.selected_values = {}; + this.selectedValues = {}; var continueSelect = BI.createWidget({ type: 'bi.text_button', @@ -11325,7 +11325,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, { type: "bi.display_tree", cls: "bi-multi-tree-display", itemsCreator: function (op, callback) { - op.type = BI.TreeView.REQ_TYPE_SELECTED_DATA; + op.type = BI.TreeView.REQ_TYPE_GET_SELECTED_DATA; opts.itemsCreator(op, callback); } }); @@ -11650,7 +11650,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, { var self = this, opts = this.options; - this.selected_values = {}; + this.selectedValues = {}; this.tree = BI.createWidget({ type: "bi.sync_tree", @@ -15913,7 +15913,8 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { }, _populate: function () { - this.header.populate(); + this.headerContainer.empty(); + this._createHeader(); this._layout(); this._calculateChildrenToRender(); }, @@ -17001,8 +17002,8 @@ BI.AllValueChooserCombo = BI.inherit(BI.Widget, { var search = BI.Func.getSearchResult(items, kw); items = search.matched.concat(search.finded); }); - if (options.selected_values) {//过滤 - var filter = BI.makeObject(options.selected_values, true); + if (options.selectedValues) {//过滤 + var filter = BI.makeObject(options.selectedValues, true); items = BI.filter(items, function (i, ob) { return !filter[ob.value]; }); @@ -17129,10 +17130,10 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { case BI.TreeView.REQ_TYPE_ADJUST_DATA: self._reqAdjustTreeNode(options, callback); break; - case BI.TreeView.REQ_TYPE_CALCULATE_SELECT_DATA: + case BI.TreeView.REQ_TYPE_SELECT_DATA: self._reqSelectedTreeNode(options, callback); break; - case BI.TreeView.REQ_TYPE_SELECTED_DATA: + case BI.TreeView.REQ_TYPE_GET_SELECTED_DATA: self._reqDisplayTreeNode(options, callback); break; default : @@ -17145,27 +17146,27 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { _reqDisplayTreeNode: function (op, callback) { var self = this; var result = []; - var selected_values = op.selected_values; + var selectedValues = op.selectedValues; - if (selected_values == null || BI.isEmpty(selected_values)) { + if (selectedValues == null || BI.isEmpty(selectedValues)) { callback({}); return; } - doCheck(0, [], selected_values); + doCheck(0, [], selectedValues); callback({ items: result }); - function doCheck(floor, parent_values, selected) { + function doCheck(floor, parentValues, selected) { if (floor >= self.floors) { return; } if (selected == null || BI.isEmpty(selected)) { - var children = self._getChildren(parent_values); + var children = self._getChildren(parentValues); BI.each(children, function (i, child) { - var newParents = BI.clone(parent_values); + var newParents = BI.clone(parentValues); newParents.push(child.value); var llen = self._getChildCount(newParents); createOneJson(child, llen); @@ -17175,19 +17176,19 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } BI.each(selected, function (k) { var node = self._getNode(k); - var newParents = BI.clone(parent_values); + var newParents = BI.clone(parentValues); newParents.push(node.value); createOneJson(node, getCount(selected[k], newParents)); doCheck(floor + 1, newParents, selected[k]); }) } - function getCount(jo, parent_values) { + function getCount(jo, parentValues) { if (jo == null) { return 0; } if (BI.isEmpty(jo)) { - return self._getChildCount(parent_values); + return self._getChildCount(parentValues); } return BI.size(jo); @@ -17206,30 +17207,30 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { _reqSelectedTreeNode: function (op, callback) { var self = this; - var selected_values = op.selected_values; - var not_selected_value = op.not_selected_value || {}; + var selectedValues = op.selectedValues; + var notSelectedValue = op.notSelectedValue || {}; var keyword = op.keyword || ""; - var parent_values = op.parent_values || []; + var parentValues = op.parentValues || []; - if (selected_values == null || BI.isEmpty(selected_values)) { + if (selectedValues == null || BI.isEmpty(selectedValues)) { callback({}); return; } - dealWithSelectedValues(selected_values); - callback(selected_values); + dealWithSelectedValues(selectedValues); + callback(selectedValues); - function dealWithSelectedValues(selected_values) { - var p = BI.clone(parent_values); - p.push(not_selected_value); + function dealWithSelectedValues(selectedValues) { + var p = BI.clone(parentValues); + p.push(notSelectedValue); - if (isChild(selected_values, p)) { + if (isChild(selectedValues, p)) { var result = []; - var finded = search(parent_values.length + 1, parent_values, not_selected_value, result); + var finded = search(parentValues.length + 1, parentValues, notSelectedValue, result); if (finded === true) { - var next = selected_values; + var next = selectedValues; BI.each(p, function (i, v) { var t = next[v]; if (t == null) { @@ -17237,7 +17238,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { var split = p.slice(0, i); var expanded = self._getChildren(split); BI.each(expanded, function (m, child) { - if (i === p.length - 1 && child.value === not_selected_value) { + if (i === p.length - 1 && child.value === notSelectedValue) { return true; } next[child.value] = {}; @@ -17254,7 +17255,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { if (result.length > 0) { BI.each(result, function (i, strs) { - self._buildTree(selected_values, strs); + self._buildTree(selectedValues, strs); }) } } @@ -17294,8 +17295,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return can; } - function isChild(selected_values, parents) { - var t = selected_values; + function isChild(selectedValues, parents) { + var t = selectedValues; for (var i = 0; i < parents.length; i++) { var v = parents[i]; if (!BI.has(t, v)) { @@ -17313,16 +17314,16 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { _reqAdjustTreeNode: function (op, callback) { var self = this; var result = []; - var selected_values = op.selected_values; - if (selected_values == null || BI.isEmpty(selected_values)) { + var selectedValues = op.selectedValues; + if (selectedValues == null || BI.isEmpty(selectedValues)) { callback({}); return; } - BI.each(selected_values, function (k, v) { + BI.each(selectedValues, function (k, v) { result.push([k]); }); - dealWithSelectedValues(selected_values, []); + dealWithSelectedValues(selectedValues, []); var jo = {}; BI.each(result, function (i, strs) { @@ -17359,23 +17360,23 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { var self = this; var result = []; var keyword = op.keyword || ""; - var selected_values = op.selected_values; - var last_search_value = op.last_search_value || ""; + var selectedValues = op.selectedValues; + var lastSearchValue = op.lastSearchValue || ""; var output = search(); BI.nextTick(function () { callback({ hasNext: output.length > self._const.perPage, items: result, - last_search_value: BI.last(output) + lastSearchValue: BI.last(output) }) }); function search() { var children = self._getChildren([]); var start = children.length; - if (last_search_value !== "") { + if (lastSearchValue !== "") { for (var j = 0, len = start; j < len; j++) { - if (children[j].value === last_search_value) { + if (children[j].value === lastSearchValue) { start = j + 1; break; } @@ -17400,22 +17401,22 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return output; } - function nodeSearch(deep, parent_values, current, isAllSelect, result) { + function nodeSearch(deep, parentValues, current, isAllSelect, result) { if (self._isMatch(current, keyword)) { - var checked = isAllSelect || isSelected(parent_values, current); - createOneJson(parent_values, current, false, checked, !isAllSelect && isHalf(parent_values, current), true, result); + var checked = isAllSelect || isSelected(parentValues, current); + createOneJson(parentValues, current, false, checked, !isAllSelect && isHalf(parentValues, current), true, result); return [true, checked]; } if (deep >= self.floors) { return [false, false]; } - var newParents = BI.clone(parent_values); + var newParents = BI.clone(parentValues); newParents.push(current); var children = self._getChildren(newParents); var can = false, checked = false; - var isCurAllSelected = isAllSelect || isAllSelected(parent_values, current); + var isCurAllSelected = isAllSelect || isAllSelected(parentValues, current); BI.each(children, function (i, child) { var state = nodeSearch(deep + 1, newParents, child.value, isCurAllSelected, result); if (state[1] === true) { @@ -17426,13 +17427,13 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } }); if (can === true) { - checked = isCurAllSelected || (isSelected(parent_values, current) && checked); - createOneJson(parent_values, current, true, checked, false, false, result); + checked = isCurAllSelected || (isSelected(parentValues, current) && checked); + createOneJson(parentValues, current, true, checked, false, false, result); } return [can, checked]; } - function createOneJson(parent_values, value, isOpen, checked, half, flag, result) { + function createOneJson(parentValues, value, isOpen, checked, half, flag, result) { var node = self.map[value]; result.push({ id: node.id, @@ -17440,7 +17441,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { text: node.text, value: node.value, title: node.title, - isParent: parent_values.length + 1 < self.floors, + isParent: parentValues.length + 1 < self.floors, open: isOpen, checked: checked, halfCheck: half, @@ -17448,8 +17449,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function isHalf(parent_values, value) { - var find = findSelectedObj(parent_values); + function isHalf(parentValues, value) { + var find = findSelectedObj(parentValues); if (find == null) { return null; } @@ -17462,8 +17463,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function isAllSelected(parent_values, value) { - var find = findSelectedObj(parent_values); + function isAllSelected(parentValues, value) { + var find = findSelectedObj(parentValues); if (find == null) { return null; } @@ -17476,8 +17477,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function isSelected(parent_values, value) { - var find = findSelectedObj(parent_values); + function isSelected(parentValues, value) { + var find = findSelectedObj(parentValues); if (find == null) { return false; } @@ -17488,12 +17489,12 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function findSelectedObj(parent_values) { - var find = selected_values; + function findSelectedObj(parentValues) { + var find = selectedValues; if (find == null) { return null; } - BI.every(parent_values, function (i, v) { + BI.every(parentValues, function (i, v) { find = find[v]; if (find == null) { return false; @@ -17508,23 +17509,23 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { var self = this; var result = []; var times = op.times; - var check_state = op.check_state || {}; - var parent_values = op.parent_values || []; - var selected_values = op.selected_values; + var checkState = op.checkState || {}; + var parentValues = op.parentValues || []; + var selectedValues = op.selectedValues; var valueMap = {}; - if (judgeState(parent_values, selected_values, check_state)) { - valueMap = dealWidthSelectedValue(parent_values, selected_values); + if (judgeState(parentValues, selectedValues, checkState)) { + valueMap = dealWidthSelectedValue(parentValues, selectedValues); } - var nodes = this._getChildren(parent_values); + var nodes = this._getChildren(parentValues); for (var i = (times - 1) * this._const.perPage; nodes[i] && i < times * this._const.perPage; i++) { - var state = getCheckState(nodes[i].value, parent_values, valueMap, check_state); + var state = getCheckState(nodes[i].value, parentValues, valueMap, checkState); result.push({ id: nodes[i].id, pId: nodes[i].pId, value: nodes[i].value, text: nodes[i].text, times: 1, - isParent: parent_values.length + 1 < this.floors, + isParent: parentValues.length + 1 < this.floors, checked: state[0], halfCheck: state[1] }) @@ -17536,20 +17537,20 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); }); - function judgeState(parent_values, selected_value, check_state) { - var checked = check_state.checked, half = check_state.half; - if (parent_values.length > 0 && !checked) { + function judgeState(parentValues, selected_value, checkState) { + var checked = checkState.checked, half = checkState.half; + if (parentValues.length > 0 && !checked) { return false; } - return (parent_values.length === 0 || (checked && half) && !BI.isEmpty(selected_value)); + return (parentValues.length === 0 || (checked && half) && !BI.isEmpty(selected_value)); } - function dealWidthSelectedValue(parent_values, selected_values) { + function dealWidthSelectedValue(parentValues, selectedValues) { var valueMap = {}; - BI.each(parent_values, function (i, v) { - selected_values = selected_values[v]; + BI.each(parentValues, function (i, v) { + selectedValues = selectedValues[v]; }); - BI.each(selected_values, function (value, obj) { + BI.each(selectedValues, function (value, obj) { if (BI.isNull(obj)) { valueMap[value] = [0, 0]; return; @@ -17569,14 +17570,14 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return valueMap; } - function getCheckState(current, parent_values, valueMap, check_state) { - var checked = check_state.checked, half = check_state.half; - var hasChild = parent_values.length + 1 < self.floors; + function getCheckState(current, parentValues, valueMap, checkState) { + var checked = checkState.checked, half = checkState.half; + var hasChild = parentValues.length + 1 < self.floors; var tempCheck = false, halfCheck = false; if (BI.has(valueMap, current)) { //可能是半选 if (valueMap[current][0] === 1) { - var values = BI.clone(parent_values); + var values = BI.clone(parentValues); values.push(current); if (hasChild && self._getChildCount(values) != valueMap[current][1]) { halfCheck = true; @@ -17615,9 +17616,9 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return this.tree.search(v, "value"); }, - _getChildren: function (parent_values) { - if (parent_values.length > 0) { - var value = BI.last(parent_values); + _getChildren: function (parentValues) { + if (parentValues.length > 0) { + var value = BI.last(parentValues); var parent = this.tree.search(value, "value"); } else { var parent = this.tree.getRoot(); @@ -17625,8 +17626,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return parent.getChildren(); }, - _getChildCount: function (parent_values) { - return this._getChildren(parent_values).length; + _getChildCount: function (parentValues) { + return this._getChildren(parentValues).length; }, setValue: function (v) { @@ -17728,8 +17729,8 @@ BI.ValueChooserCombo = BI.inherit(BI.Widget, { var search = BI.Func.getSearchResult(items, kw); items = search.matched.concat(search.finded); }); - if (options.selected_values) {//过滤 - var filter = BI.makeObject(options.selected_values, true); + if (options.selectedValues) {//过滤 + var filter = BI.makeObject(options.selectedValues, true); items = BI.filter(items, function (i, ob) { return !filter[ob.value]; }); diff --git a/src/base/single/button/button.basic.js b/src/base/single/button/button.basic.js index 0b0a2055e..30526e973 100644 --- a/src/base/single/button/button.basic.js +++ b/src/base/single/button/button.basic.js @@ -184,12 +184,14 @@ BI.BasicButton = BI.inherit(BI.Single, { }); break; default: - hand.mousedown(function (e) { - ev(e); - }); - hand.mouseup(function (e) { - ev(e); - }); + if (o.stopEvent || o.stopPropagation) { + hand.mousedown(function (e) { + ev(e); + }); + hand.mouseup(function (e) { + ev(e); + }); + } hand.click(clk); break; } diff --git a/src/base/table/table.grid.js b/src/base/table/table.grid.js index e6367ced2..8205bf52c 100644 --- a/src/base/table/table.grid.js +++ b/src/base/table/table.grid.js @@ -294,7 +294,7 @@ BI.GridTable = BI.inherit(BI.Widget, { var trh = otrh + this._scrollBarSize; var blw = oblw + this._scrollBarSize; var blh = oblh + this._scrollBarSize; - var brw = obrw+ this._scrollBarSize; + var brw = obrw + this._scrollBarSize; var brh = obrh + this._scrollBarSize; var digest = function (el) { @@ -330,11 +330,11 @@ BI.GridTable = BI.inherit(BI.Widget, { this.topLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.topLeftGrid.setEstimatedRowSize(o.headerRowSize); - this.topRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.topRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.topRightGrid.setEstimatedRowSize(o.headerRowSize); this.bottomLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.bottomLeftGrid.setEstimatedRowSize(o.rowSize); - this.bottomRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.bottomRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.bottomRightGrid.setEstimatedRowSize(o.rowSize); var items = this.contextLayout.attr("items"); diff --git a/src/base/table/table.grid.quick.js b/src/base/table/table.grid.quick.js index 5ade73e43..62e4a4a7e 100644 --- a/src/base/table/table.grid.quick.js +++ b/src/base/table/table.grid.quick.js @@ -115,11 +115,11 @@ BI.QuickGridTable = BI.inherit(BI.GridTable, { this.topLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.topLeftGrid.setEstimatedRowSize(o.headerRowSize); - this.topRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.topRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.topRightGrid.setEstimatedRowSize(o.headerRowSize); this.bottomLeftGrid.setEstimatedColumnSize(freezeColLength > 0 ? totalLeftColumnSize / freezeColLength : 0); this.bottomLeftGrid.setEstimatedRowSize(o.rowSize); - this.bottomRightGrid.setEstimatedColumnSize(totalRightColumnSize / (o.columnSize.length - freezeColLength)); + this.bottomRightGrid.setEstimatedColumnSize((o.columnSize.length - freezeColLength) > 0 ? (totalRightColumnSize / (o.columnSize.length - freezeColLength)) : 0); this.bottomRightGrid.setEstimatedRowSize(o.rowSize); var items = this.contextLayout.attr("items"); diff --git a/src/base/tree/parttree.js b/src/base/tree/parttree.js index 67b924a4d..a3f809cdd 100644 --- a/src/base/tree/parttree.js +++ b/src/base/tree/parttree.js @@ -22,7 +22,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { this.tip.setLoading(); o.itemsCreator(op, function (d) { var hasNext = !!d.hasNext, nodes = d.items || []; - o.paras.last_search_value = d.last_search_value; + o.paras.lastSearchValue = d.lastSearchValue; if (self._stop === true) { return; } @@ -39,35 +39,35 @@ BI.PartTree = BI.inherit(BI.SyncTree, { _selectTreeNode: function (treeId, treeNode) { var self = this, o = this.options; - var parent_values = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); + var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); var name = this._getNodeValue(treeNode) -// var values = parent_values.concat([name]); +// var values = parentValues.concat([name]); if (treeNode.checked === true) { BI.SyncTree.superclass._selectTreeNode.apply(self, arguments); } else { o.itemsCreator(BI.extend({}, o.paras, { type: BI.TreeView.REQ_TYPE_CALCULATE_SELECT_DATA, - selected_values: this.selected_values, - not_selected_value: name, - parent_values: parent_values + selectedValues: this.selectedValues, + notSelectedValue: name, + parentValues: parentValues }), function (new_values) { - if (BI.isEqual(self.selected_values, new_values)) { + if (BI.isEqual(self.selectedValues, new_values)) { var tNode = treeNode; - var pNode = self._getTree(new_values, parent_values); + var pNode = self._getTree(new_values, parentValues); if (pNode[name]) { delete pNode[name]; } while (tNode != null && BI.isEmpty(pNode)) { - parent_values = parent_values.slice(0, parent_values.length - 1); + parentValues = parentValues.slice(0, parentValues.length - 1); tNode = tNode.getParentNode(); if (tNode != null) { - pNode = self._getTree(new_values, parent_values); + pNode = self._getTree(new_values, parentValues); name = self._getNodeValue(tNode); delete pNode[name]; } } } - self.selected_values = new_values; + self.selectedValues = new_values; BI.SyncTree.superclass._selectTreeNode.apply(self, arguments); }); } @@ -120,7 +120,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { return; } var hasNext = !!d.hasNext, nodes = d.items || []; - o.paras.last_search_value = d.last_search_value; + o.paras.lastSearchValue = d.lastSearchValue; if (nodes.length > 0) { callback(self._dealWidthNodes(nodes)); } @@ -151,7 +151,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { var result = BI.PartTree.superclass.getValue.apply(this, arguments); o.itemsCreator({ type: BI.TreeView.REQ_TYPE_ADJUST_DATA, - selected_values: result + selectedValues: result }, function (res) { result = res; }); @@ -163,10 +163,10 @@ BI.PartTree = BI.inherit(BI.SyncTree, { var o = this.options; delete o.paras.keyword; BI.extend(o.paras, config); - delete o.paras.last_search_value; + delete o.paras.lastSearchValue; //取消选中时使用 - this.selected_values = BI.deepClone(o.paras.selected_values) || {}; - //delete this.options.paras.selected_values; + this.selectedValues = BI.deepClone(o.paras.selectedValues) || {}; + //delete this.options.paras.selectedValues; var setting = this._configSetting(); this._initTree(setting, o.paras.keyword); } diff --git a/src/base/tree/synctree.js b/src/base/tree/synctree.js index 27c2c93f6..7aa8bbf2d 100644 --- a/src/base/tree/synctree.js +++ b/src/base/tree/synctree.js @@ -99,21 +99,21 @@ BI.SyncTree = BI.inherit(BI.TreeView, { _selectTreeNode: function (treeId, treeNode) { var self = this, o = this.options; - var parent_values = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); + var parentValues = BI.deepClone(treeNode.parentValues || self._getParentValues(treeNode)); var name = this._getNodeValue(treeNode) -// var values = parent_values.concat([name]); +// var values = parentValues.concat([name]); if (treeNode.checked === true) { } else { var tNode = treeNode; - var pNode = this._getTree(this.selected_values, parent_values); + var pNode = this._getTree(this.selectedValues, parentValues); if (BI.isNotNull(pNode[name])) { delete pNode[name]; } while (tNode != null && BI.isEmpty(pNode)) { - parent_values = parent_values.slice(0, parent_values.length - 1); + parentValues = parentValues.slice(0, parentValues.length - 1); tNode = tNode.getParentNode(); if (tNode != null) { - pNode = this._getTree(this.selected_values, parent_values); + pNode = this._getTree(this.selectedValues, parentValues); name = this._getNodeValue(tNode); delete pNode[name]; } @@ -129,8 +129,8 @@ BI.SyncTree = BI.inherit(BI.TreeView, { var op = BI.extend({}, o.paras, { "id": treeNode.id, "times": 1, - "parent_values": parentValues.concat(this._getNodeValue(treeNode)), - "check_state": treeNode.getCheckStatus() + "parentValues": parentValues.concat(this._getNodeValue(treeNode)), + "checkState": treeNode.getCheckStatus() }); var complete = function (d) { var nodes = d.items || []; @@ -178,7 +178,7 @@ BI.SyncTree = BI.inherit(BI.TreeView, { }, hasChecked: function () { - return !BI.isEmpty(this.selected_values) || BI.SyncTree.superclass.hasChecked.apply(this, arguments); + return !BI.isEmpty(this.selectedValues) || BI.SyncTree.superclass.hasChecked.apply(this, arguments); }, getValue: function () { @@ -187,12 +187,12 @@ BI.SyncTree = BI.inherit(BI.TreeView, { } var checkedValues = this._getSelectedValues(); if (BI.isEmpty(checkedValues)) { - return this.selected_values; + return this.selectedValues; } - if (BI.isEmpty(this.selected_values)) { + if (BI.isEmpty(this.selectedValues)) { return checkedValues; } - return this._join(checkedValues, this.selected_values); + return this._join(checkedValues, this.selectedValues); }, //生成树方法 @@ -200,7 +200,7 @@ BI.SyncTree = BI.inherit(BI.TreeView, { delete this.options.keyword; BI.extend(this.options.paras, config); //取消选中时使用 - this.selected_values = BI.deepClone(this.options.paras.selected_values) || {}; + this.selectedValues = BI.deepClone(this.options.paras.selectedValues) || {}; var setting = this._configSetting(); this._initTree(setting); } diff --git a/src/base/tree/treeview.js b/src/base/tree/treeview.js index bb5cbd184..8c0762c29 100644 --- a/src/base/tree/treeview.js +++ b/src/base/tree/treeview.js @@ -109,8 +109,8 @@ BI.TreeView = BI.inherit(BI.Pane, { treeNode.times = treeNode.times || 1; var param = "id=" + treeNode.id + "×=" + (treeNode.times++) - + "&parent_values= " + window.encodeURIComponent(BI.jsonEncode(parentNode)) - + "&check_state=" + window.encodeURIComponent(BI.jsonEncode(treeNode.getCheckStatus())); + + "&parentValues= " + window.encodeURIComponent(BI.jsonEncode(parentNode)) + + "&checkState=" + window.encodeURIComponent(BI.jsonEncode(treeNode.getCheckStatus())); return BI.servletURL + '?op=' + self.options.op + '&cmd=' + self.options.cmd + "&" + param; } @@ -241,7 +241,7 @@ BI.TreeView = BI.inherit(BI.Pane, { this._buildTree(map, path); return; } - var storeValues = BI.deepClone(this.options.paras.selected_values); + var storeValues = BI.deepClone(this.options.paras.selectedValues); var treeNode = this._getTree(storeValues, path); this._addTreeNode(map, parent, this._getNodeValue(node), treeNode); }, @@ -357,8 +357,7 @@ BI.TreeView = BI.inherit(BI.Pane, { self.nodes = $.fn.zTree.init(tree.element, setting, nodes); }; var op = BI.extend({}, o.paras, { - times: 1, - type: BI.TreeView.REQ_TYPE_INIT_DATA + times: 1 }); o.itemsCreator(op, function (res) { @@ -451,8 +450,8 @@ BI.TreeView = BI.inherit(BI.Pane, { }, setSelectedValue: function (value) { - this.options.paras.selected_values = value || {}; - this.selected_values = BI.deepClone(value) || {}; + this.options.paras.selectedValues = value || {}; + this.selectedValues = BI.deepClone(value) || {}; }, updateValue: function (values, param) { @@ -492,10 +491,10 @@ BI.TreeView = BI.inherit(BI.Pane, { } }); BI.extend(BI.TreeView, { - REQ_TYPE_INIT_DATA: 0, - REQ_TYPE_ADJUST_DATA: 1, - REQ_TYPE_CALCULATE_SELECT_DATA: 2, - REQ_TYPE_SELECTED_DATA: 3 + REQ_TYPE_INIT_DATA: 1, + REQ_TYPE_ADJUST_DATA: 2, + REQ_TYPE_SELECT_DATA: 3, + REQ_TYPE_GET_SELECTED_DATA: 4 }); BI.TreeView.EVENT_CHANGE = "EVENT_CHANGE"; diff --git a/src/component/allvaluechooser/combo.allvaluechooser.js b/src/component/allvaluechooser/combo.allvaluechooser.js index 2b059eff0..0b1fc30be 100644 --- a/src/component/allvaluechooser/combo.allvaluechooser.js +++ b/src/component/allvaluechooser/combo.allvaluechooser.js @@ -72,8 +72,8 @@ BI.AllValueChooserCombo = BI.inherit(BI.Widget, { var search = BI.Func.getSearchResult(items, kw); items = search.matched.concat(search.finded); }); - if (options.selected_values) {//过滤 - var filter = BI.makeObject(options.selected_values, true); + if (options.selectedValues) {//过滤 + var filter = BI.makeObject(options.selectedValues, true); items = BI.filter(items, function (i, ob) { return !filter[ob.value]; }); diff --git a/src/component/treevaluechooser/combo.treevaluechooser.js b/src/component/treevaluechooser/combo.treevaluechooser.js index 3326bd39d..c97b6b3e7 100644 --- a/src/component/treevaluechooser/combo.treevaluechooser.js +++ b/src/component/treevaluechooser/combo.treevaluechooser.js @@ -83,10 +83,10 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { case BI.TreeView.REQ_TYPE_ADJUST_DATA: self._reqAdjustTreeNode(options, callback); break; - case BI.TreeView.REQ_TYPE_CALCULATE_SELECT_DATA: + case BI.TreeView.REQ_TYPE_SELECT_DATA: self._reqSelectedTreeNode(options, callback); break; - case BI.TreeView.REQ_TYPE_SELECTED_DATA: + case BI.TreeView.REQ_TYPE_GET_SELECTED_DATA: self._reqDisplayTreeNode(options, callback); break; default : @@ -99,27 +99,27 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { _reqDisplayTreeNode: function (op, callback) { var self = this; var result = []; - var selected_values = op.selected_values; + var selectedValues = op.selectedValues; - if (selected_values == null || BI.isEmpty(selected_values)) { + if (selectedValues == null || BI.isEmpty(selectedValues)) { callback({}); return; } - doCheck(0, [], selected_values); + doCheck(0, [], selectedValues); callback({ items: result }); - function doCheck(floor, parent_values, selected) { + function doCheck(floor, parentValues, selected) { if (floor >= self.floors) { return; } if (selected == null || BI.isEmpty(selected)) { - var children = self._getChildren(parent_values); + var children = self._getChildren(parentValues); BI.each(children, function (i, child) { - var newParents = BI.clone(parent_values); + var newParents = BI.clone(parentValues); newParents.push(child.value); var llen = self._getChildCount(newParents); createOneJson(child, llen); @@ -129,19 +129,19 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } BI.each(selected, function (k) { var node = self._getNode(k); - var newParents = BI.clone(parent_values); + var newParents = BI.clone(parentValues); newParents.push(node.value); createOneJson(node, getCount(selected[k], newParents)); doCheck(floor + 1, newParents, selected[k]); }) } - function getCount(jo, parent_values) { + function getCount(jo, parentValues) { if (jo == null) { return 0; } if (BI.isEmpty(jo)) { - return self._getChildCount(parent_values); + return self._getChildCount(parentValues); } return BI.size(jo); @@ -160,30 +160,30 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { _reqSelectedTreeNode: function (op, callback) { var self = this; - var selected_values = op.selected_values; - var not_selected_value = op.not_selected_value || {}; + var selectedValues = op.selectedValues; + var notSelectedValue = op.notSelectedValue || {}; var keyword = op.keyword || ""; - var parent_values = op.parent_values || []; + var parentValues = op.parentValues || []; - if (selected_values == null || BI.isEmpty(selected_values)) { + if (selectedValues == null || BI.isEmpty(selectedValues)) { callback({}); return; } - dealWithSelectedValues(selected_values); - callback(selected_values); + dealWithSelectedValues(selectedValues); + callback(selectedValues); - function dealWithSelectedValues(selected_values) { - var p = BI.clone(parent_values); - p.push(not_selected_value); + function dealWithSelectedValues(selectedValues) { + var p = BI.clone(parentValues); + p.push(notSelectedValue); - if (isChild(selected_values, p)) { + if (isChild(selectedValues, p)) { var result = []; - var finded = search(parent_values.length + 1, parent_values, not_selected_value, result); + var finded = search(parentValues.length + 1, parentValues, notSelectedValue, result); if (finded === true) { - var next = selected_values; + var next = selectedValues; BI.each(p, function (i, v) { var t = next[v]; if (t == null) { @@ -191,7 +191,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { var split = p.slice(0, i); var expanded = self._getChildren(split); BI.each(expanded, function (m, child) { - if (i === p.length - 1 && child.value === not_selected_value) { + if (i === p.length - 1 && child.value === notSelectedValue) { return true; } next[child.value] = {}; @@ -208,7 +208,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { if (result.length > 0) { BI.each(result, function (i, strs) { - self._buildTree(selected_values, strs); + self._buildTree(selectedValues, strs); }) } } @@ -248,8 +248,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return can; } - function isChild(selected_values, parents) { - var t = selected_values; + function isChild(selectedValues, parents) { + var t = selectedValues; for (var i = 0; i < parents.length; i++) { var v = parents[i]; if (!BI.has(t, v)) { @@ -267,16 +267,16 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { _reqAdjustTreeNode: function (op, callback) { var self = this; var result = []; - var selected_values = op.selected_values; - if (selected_values == null || BI.isEmpty(selected_values)) { + var selectedValues = op.selectedValues; + if (selectedValues == null || BI.isEmpty(selectedValues)) { callback({}); return; } - BI.each(selected_values, function (k, v) { + BI.each(selectedValues, function (k, v) { result.push([k]); }); - dealWithSelectedValues(selected_values, []); + dealWithSelectedValues(selectedValues, []); var jo = {}; BI.each(result, function (i, strs) { @@ -313,23 +313,23 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { var self = this; var result = []; var keyword = op.keyword || ""; - var selected_values = op.selected_values; - var last_search_value = op.last_search_value || ""; + var selectedValues = op.selectedValues; + var lastSearchValue = op.lastSearchValue || ""; var output = search(); BI.nextTick(function () { callback({ hasNext: output.length > self._const.perPage, items: result, - last_search_value: BI.last(output) + lastSearchValue: BI.last(output) }) }); function search() { var children = self._getChildren([]); var start = children.length; - if (last_search_value !== "") { + if (lastSearchValue !== "") { for (var j = 0, len = start; j < len; j++) { - if (children[j].value === last_search_value) { + if (children[j].value === lastSearchValue) { start = j + 1; break; } @@ -354,22 +354,22 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return output; } - function nodeSearch(deep, parent_values, current, isAllSelect, result) { + function nodeSearch(deep, parentValues, current, isAllSelect, result) { if (self._isMatch(current, keyword)) { - var checked = isAllSelect || isSelected(parent_values, current); - createOneJson(parent_values, current, false, checked, !isAllSelect && isHalf(parent_values, current), true, result); + var checked = isAllSelect || isSelected(parentValues, current); + createOneJson(parentValues, current, false, checked, !isAllSelect && isHalf(parentValues, current), true, result); return [true, checked]; } if (deep >= self.floors) { return [false, false]; } - var newParents = BI.clone(parent_values); + var newParents = BI.clone(parentValues); newParents.push(current); var children = self._getChildren(newParents); var can = false, checked = false; - var isCurAllSelected = isAllSelect || isAllSelected(parent_values, current); + var isCurAllSelected = isAllSelect || isAllSelected(parentValues, current); BI.each(children, function (i, child) { var state = nodeSearch(deep + 1, newParents, child.value, isCurAllSelected, result); if (state[1] === true) { @@ -380,13 +380,13 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } }); if (can === true) { - checked = isCurAllSelected || (isSelected(parent_values, current) && checked); - createOneJson(parent_values, current, true, checked, false, false, result); + checked = isCurAllSelected || (isSelected(parentValues, current) && checked); + createOneJson(parentValues, current, true, checked, false, false, result); } return [can, checked]; } - function createOneJson(parent_values, value, isOpen, checked, half, flag, result) { + function createOneJson(parentValues, value, isOpen, checked, half, flag, result) { var node = self.map[value]; result.push({ id: node.id, @@ -394,7 +394,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { text: node.text, value: node.value, title: node.title, - isParent: parent_values.length + 1 < self.floors, + isParent: parentValues.length + 1 < self.floors, open: isOpen, checked: checked, halfCheck: half, @@ -402,8 +402,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function isHalf(parent_values, value) { - var find = findSelectedObj(parent_values); + function isHalf(parentValues, value) { + var find = findSelectedObj(parentValues); if (find == null) { return null; } @@ -416,8 +416,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function isAllSelected(parent_values, value) { - var find = findSelectedObj(parent_values); + function isAllSelected(parentValues, value) { + var find = findSelectedObj(parentValues); if (find == null) { return null; } @@ -430,8 +430,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function isSelected(parent_values, value) { - var find = findSelectedObj(parent_values); + function isSelected(parentValues, value) { + var find = findSelectedObj(parentValues); if (find == null) { return false; } @@ -442,12 +442,12 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); } - function findSelectedObj(parent_values) { - var find = selected_values; + function findSelectedObj(parentValues) { + var find = selectedValues; if (find == null) { return null; } - BI.every(parent_values, function (i, v) { + BI.every(parentValues, function (i, v) { find = find[v]; if (find == null) { return false; @@ -462,23 +462,23 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { var self = this; var result = []; var times = op.times; - var check_state = op.check_state || {}; - var parent_values = op.parent_values || []; - var selected_values = op.selected_values; + var checkState = op.checkState || {}; + var parentValues = op.parentValues || []; + var selectedValues = op.selectedValues; var valueMap = {}; - if (judgeState(parent_values, selected_values, check_state)) { - valueMap = dealWidthSelectedValue(parent_values, selected_values); + if (judgeState(parentValues, selectedValues, checkState)) { + valueMap = dealWidthSelectedValue(parentValues, selectedValues); } - var nodes = this._getChildren(parent_values); + var nodes = this._getChildren(parentValues); for (var i = (times - 1) * this._const.perPage; nodes[i] && i < times * this._const.perPage; i++) { - var state = getCheckState(nodes[i].value, parent_values, valueMap, check_state); + var state = getCheckState(nodes[i].value, parentValues, valueMap, checkState); result.push({ id: nodes[i].id, pId: nodes[i].pId, value: nodes[i].value, text: nodes[i].text, times: 1, - isParent: parent_values.length + 1 < this.floors, + isParent: parentValues.length + 1 < this.floors, checked: state[0], halfCheck: state[1] }) @@ -490,20 +490,20 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { }); }); - function judgeState(parent_values, selected_value, check_state) { - var checked = check_state.checked, half = check_state.half; - if (parent_values.length > 0 && !checked) { + function judgeState(parentValues, selected_value, checkState) { + var checked = checkState.checked, half = checkState.half; + if (parentValues.length > 0 && !checked) { return false; } - return (parent_values.length === 0 || (checked && half) && !BI.isEmpty(selected_value)); + return (parentValues.length === 0 || (checked && half) && !BI.isEmpty(selected_value)); } - function dealWidthSelectedValue(parent_values, selected_values) { + function dealWidthSelectedValue(parentValues, selectedValues) { var valueMap = {}; - BI.each(parent_values, function (i, v) { - selected_values = selected_values[v]; + BI.each(parentValues, function (i, v) { + selectedValues = selectedValues[v]; }); - BI.each(selected_values, function (value, obj) { + BI.each(selectedValues, function (value, obj) { if (BI.isNull(obj)) { valueMap[value] = [0, 0]; return; @@ -523,14 +523,14 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return valueMap; } - function getCheckState(current, parent_values, valueMap, check_state) { - var checked = check_state.checked, half = check_state.half; - var hasChild = parent_values.length + 1 < self.floors; + function getCheckState(current, parentValues, valueMap, checkState) { + var checked = checkState.checked, half = checkState.half; + var hasChild = parentValues.length + 1 < self.floors; var tempCheck = false, halfCheck = false; if (BI.has(valueMap, current)) { //可能是半选 if (valueMap[current][0] === 1) { - var values = BI.clone(parent_values); + var values = BI.clone(parentValues); values.push(current); if (hasChild && self._getChildCount(values) != valueMap[current][1]) { halfCheck = true; @@ -569,9 +569,9 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return this.tree.search(v, "value"); }, - _getChildren: function (parent_values) { - if (parent_values.length > 0) { - var value = BI.last(parent_values); + _getChildren: function (parentValues) { + if (parentValues.length > 0) { + var value = BI.last(parentValues); var parent = this.tree.search(value, "value"); } else { var parent = this.tree.getRoot(); @@ -579,8 +579,8 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { return parent.getChildren(); }, - _getChildCount: function (parent_values) { - return this._getChildren(parent_values).length; + _getChildCount: function (parentValues) { + return this._getChildren(parentValues).length; }, setValue: function (v) { diff --git a/src/component/valuechooser/combo.valuechooser.js b/src/component/valuechooser/combo.valuechooser.js index d130dc590..d09392ec0 100644 --- a/src/component/valuechooser/combo.valuechooser.js +++ b/src/component/valuechooser/combo.valuechooser.js @@ -84,8 +84,8 @@ BI.ValueChooserCombo = BI.inherit(BI.Widget, { var search = BI.Func.getSearchResult(items, kw); items = search.matched.concat(search.finded); }); - if (options.selected_values) {//过滤 - var filter = BI.makeObject(options.selected_values, true); + if (options.selectedValues) {//过滤 + var filter = BI.makeObject(options.selectedValues, true); items = BI.filter(items, function (i, ob) { return !filter[ob.value]; }); diff --git a/src/widget/multiselect/check/multiselect.check.pane.js b/src/widget/multiselect/check/multiselect.check.pane.js index f23644c32..7a04154ec 100644 --- a/src/widget/multiselect/check/multiselect.check.pane.js +++ b/src/widget/multiselect/check/multiselect.check.pane.js @@ -32,7 +32,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, { items: opts.items, itemsCreator: function (op, callback) { op = BI.extend(op || {}, { - selected_values: self.storeValue.value + selectedValues: self.storeValue.value }); if (self.storeValue.type === BI.Selection.Multi) { callback({ diff --git a/src/widget/multiselect/multiselect.loader.js b/src/widget/multiselect/multiselect.loader.js index a125b3194..a6ccffdd6 100644 --- a/src/widget/multiselect/multiselect.loader.js +++ b/src/widget/multiselect/multiselect.loader.js @@ -56,7 +56,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, { itemsCreator: function (op, callback) { var startValue = self._startValue; self.storeValue && (op = BI.extend(op || {}, { - selected_values: BI.isKey(startValue) && self.storeValue.type === BI.Selection.Multi + selectedValues: BI.isKey(startValue) && self.storeValue.type === BI.Selection.Multi ? self.storeValue.value.concat(startValue) : self.storeValue.value })); opts.itemsCreator(op, function (ob) { diff --git a/src/widget/multiselect/search/multiselect.search.loader.js b/src/widget/multiselect/search/multiselect.search.loader.js index 5bda2bf0f..d901487e3 100644 --- a/src/widget/multiselect/search/multiselect.search.loader.js +++ b/src/widget/multiselect/search/multiselect.search.loader.js @@ -51,7 +51,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { }, itemsCreator: function (op, callback) { self.storeValue && (op = BI.extend(op || {}, { - selected_values: self.storeValue.value + selectedValues: self.storeValue.value })); opts.itemsCreator(op, function (ob) { var keyword = ob.keyword = opts.keywordGetter(); diff --git a/src/widget/multiselect/trigger/searcher.multiselect.js b/src/widget/multiselect/trigger/searcher.multiselect.js index 37b82d27a..b641fddca 100644 --- a/src/widget/multiselect/trigger/searcher.multiselect.js +++ b/src/widget/multiselect/trigger/searcher.multiselect.js @@ -104,13 +104,13 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, { ob.value || (ob.value = []); if (ob.type === BI.Selection.All) { if (BI.size(ob.assist) === 1) { - this.editor.setState(o.valueFormatter(ob.assist[0] + "") || ob.assist[0] + ""); + this.editor.setState(o.valueFormatter(ob.assist[0] + "") || (ob.assist[0] + "")); } else { this.editor.setState(BI.size(ob.value) > 0 ? BI.Selection.Multi : BI.Selection.All); } } else { if (BI.size(ob.value) === 1) { - this.editor.setState(o.valueFormatter(ob.value[0] + "" || ob.value[0] + "")); + this.editor.setState(o.valueFormatter(ob.value[0] + "") || (ob.value[0] + "")); } else { this.editor.setState(BI.size(ob.value) > 0 ? BI.Selection.Multi : BI.Selection.None); } diff --git a/src/widget/multitree/check/multi.tree.check.pane.js b/src/widget/multitree/check/multi.tree.check.pane.js index 012020848..a23a7985d 100644 --- a/src/widget/multitree/check/multi.tree.check.pane.js +++ b/src/widget/multitree/check/multi.tree.check.pane.js @@ -23,7 +23,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, { var self = this, opts = this.options; - this.selected_values = {}; + this.selectedValues = {}; var continueSelect = BI.createWidget({ type: 'bi.text_button', @@ -60,7 +60,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, { type: "bi.display_tree", cls: "bi-multi-tree-display", itemsCreator: function (op, callback) { - op.type = BI.TreeView.REQ_TYPE_SELECTED_DATA; + op.type = BI.TreeView.REQ_TYPE_GET_SELECTED_DATA; opts.itemsCreator(op, callback); } }); diff --git a/src/widget/multitree/multi.tree.popup.js b/src/widget/multitree/multi.tree.popup.js index a76faeb7a..542a339b6 100644 --- a/src/widget/multitree/multi.tree.popup.js +++ b/src/widget/multitree/multi.tree.popup.js @@ -20,7 +20,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, { var self = this, opts = this.options; - this.selected_values = {}; + this.selectedValues = {}; this.tree = BI.createWidget({ type: "bi.sync_tree", diff --git a/src/widget/sequencetable/listnumber.sequencetable.js b/src/widget/sequencetable/listnumber.sequencetable.js index db308d56f..a411127fe 100644 --- a/src/widget/sequencetable/listnumber.sequencetable.js +++ b/src/widget/sequencetable/listnumber.sequencetable.js @@ -180,7 +180,8 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { }, _populate: function () { - this.header.populate(); + this.headerContainer.empty(); + this._createHeader(); this._layout(); this._calculateChildrenToRender(); }, From f995cbf1de194f0379d33406fe853a99ae35d21b Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 28 Apr 2017 21:06:46 +0800 Subject: [PATCH 11/24] add --- bi/core.js | 5 +++-- docs/core.js | 5 +++-- src/core/func/dom.js | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bi/core.js b/bi/core.js index fa4761ae1..39ec4f58d 100644 --- a/bi/core.js +++ b/bi/core.js @@ -16985,8 +16985,8 @@ BI.extend(jQuery, { getComboPosition: function (combo, popup, extraWidth, extraHeight, needAdaptHeight, directions, offsetStyle) { extraWidth || (extraWidth = 0); extraHeight || (extraHeight = 0); - var maxHeight = $("body").bounds().height - extraHeight; - maxHeight = Math.min(popup.attr("maxHeight") || maxHeight, maxHeight); + var bodyHeight = $("body").bounds().height - extraHeight; + var maxHeight = Math.min(popup.attr("maxHeight") || bodyHeight, bodyHeight); popup.resetHeight && popup.resetHeight(maxHeight); var position = $.getComboPositionByDirections(combo, popup, extraWidth, extraHeight, needAdaptHeight, directions || ['bottom', 'top', 'right', 'left']); switch (offsetStyle) { @@ -17009,6 +17009,7 @@ BI.extend(jQuery, { } break; } + popup.resetHeight && popup.resetHeight(Math.min(bodyHeight - position.top, maxHeight)); return position; } });/** diff --git a/docs/core.js b/docs/core.js index 58670eef3..79ebe3be9 100644 --- a/docs/core.js +++ b/docs/core.js @@ -22511,8 +22511,8 @@ BI.extend(jQuery, { getComboPosition: function (combo, popup, extraWidth, extraHeight, needAdaptHeight, directions, offsetStyle) { extraWidth || (extraWidth = 0); extraHeight || (extraHeight = 0); - var maxHeight = $("body").bounds().height - extraHeight; - maxHeight = Math.min(popup.attr("maxHeight") || maxHeight, maxHeight); + var bodyHeight = $("body").bounds().height - extraHeight; + var maxHeight = Math.min(popup.attr("maxHeight") || bodyHeight, bodyHeight); popup.resetHeight && popup.resetHeight(maxHeight); var position = $.getComboPositionByDirections(combo, popup, extraWidth, extraHeight, needAdaptHeight, directions || ['bottom', 'top', 'right', 'left']); switch (offsetStyle) { @@ -22535,6 +22535,7 @@ BI.extend(jQuery, { } break; } + popup.resetHeight && popup.resetHeight(Math.min(bodyHeight - position.top, maxHeight)); return position; } });/** diff --git a/src/core/func/dom.js b/src/core/func/dom.js index 6a6f2dc3b..95213e37c 100644 --- a/src/core/func/dom.js +++ b/src/core/func/dom.js @@ -553,8 +553,8 @@ BI.extend(jQuery, { getComboPosition: function (combo, popup, extraWidth, extraHeight, needAdaptHeight, directions, offsetStyle) { extraWidth || (extraWidth = 0); extraHeight || (extraHeight = 0); - var maxHeight = $("body").bounds().height - extraHeight; - maxHeight = Math.min(popup.attr("maxHeight") || maxHeight, maxHeight); + var bodyHeight = $("body").bounds().height - extraHeight; + var maxHeight = Math.min(popup.attr("maxHeight") || bodyHeight, bodyHeight); popup.resetHeight && popup.resetHeight(maxHeight); var position = $.getComboPositionByDirections(combo, popup, extraWidth, extraHeight, needAdaptHeight, directions || ['bottom', 'top', 'right', 'left']); switch (offsetStyle) { @@ -577,6 +577,7 @@ BI.extend(jQuery, { } break; } + popup.resetHeight && popup.resetHeight(Math.min(bodyHeight - position.top, maxHeight)); return position; } }); \ No newline at end of file From 7fe15a382ec5128ff0497a7d54930aa7256de8ba Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 29 Apr 2017 17:00:04 +0800 Subject: [PATCH 12/24] =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/core.css | 2 +- docs/core.css | 2 +- src/css/core/utils/common.css | 2 +- src/less/core/utils/common.less | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bi/core.css b/bi/core.css index 9d2ea4701..ea14d4760 100644 --- a/bi/core.css +++ b/bi/core.css @@ -3058,7 +3058,7 @@ i { background: #1a1a1a; opacity: 0.2; filter: alpha(opacity=20); - z-index: 1000000000; + z-index: 1000000000 !important; } .bi-theme-dark .bi-resizer { background: #ffffff; diff --git a/docs/core.css b/docs/core.css index 9d2ea4701..ea14d4760 100644 --- a/docs/core.css +++ b/docs/core.css @@ -3058,7 +3058,7 @@ i { background: #1a1a1a; opacity: 0.2; filter: alpha(opacity=20); - z-index: 1000000000; + z-index: 1000000000 !important; } .bi-theme-dark .bi-resizer { background: #ffffff; diff --git a/src/css/core/utils/common.css b/src/css/core/utils/common.css index 028c37ac3..4a183f0d9 100644 --- a/src/css/core/utils/common.css +++ b/src/css/core/utils/common.css @@ -105,7 +105,7 @@ background: #1a1a1a; opacity: 0.2; filter: alpha(opacity=20); - z-index: 1000000000; + z-index: 1000000000 !important; } .bi-theme-dark .bi-resizer { background: #ffffff; diff --git a/src/less/core/utils/common.less b/src/less/core/utils/common.less index 4f9c766a9..7a2629ab9 100644 --- a/src/less/core/utils/common.less +++ b/src/less/core/utils/common.less @@ -148,7 +148,7 @@ .bi-resizer { background: @color-bi-background-black; .opacity(0.2); - z-index: @zIndex-tip; + z-index: @zIndex-tip !important; } .bi-theme-dark { From 4a210318d7fa57c4cfadad350e863b8ba17adc24 Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 29 Apr 2017 21:34:08 +0800 Subject: [PATCH 13/24] searcher --- bi/base.js | 36 ++++++----- .../core/abstract/combination/demo.sercher.js | 59 +++++++++++++++++++ docs/base.js | 36 ++++++----- docs/demo.js | 58 ++++++++++++++++++ src/base/combination/searcher.js | 36 ++++++----- 5 files changed, 168 insertions(+), 57 deletions(-) create mode 100644 demo/js/core/abstract/combination/demo.sercher.js diff --git a/bi/base.js b/bi/base.js index 7ccd3f5f5..f665c730b 100644 --- a/bi/base.js +++ b/bi/base.js @@ -4106,7 +4106,6 @@ BI.Searcher = BI.inherit(BI.Widget, { callback([]) }, - el: { type: "bi.search_editor" }, @@ -4164,16 +4163,11 @@ BI.Searcher = BI.inherit(BI.Widget, { _assertPopupView: function () { var self = this, o = this.options; - if (!BI.Maskers.has(this.getName())) { + if ((o.masker && !BI.Maskers.has(this.getName())) || (o.masker === false && !this.popupView)) { this.popupView = BI.createWidget(o.popup, { type: "bi.searcher_view", chooseType: o.chooseType }); - BI.Maskers.create(this.getName(), o.adapter, BI.extend({ - container: this, - render: this.popupView - }, o.masker)); - this.popupView.on(BI.Controller.EVENT_CHANGE, function (type, value, obj) { self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); if (type === BI.Events.CLICK) { @@ -4200,6 +4194,12 @@ BI.Searcher = BI.inherit(BI.Widget, { self.fireEvent(BI.Searcher.EVENT_AFTER_INIT); }); } + if (o.masker && !BI.Maskers.has(this.getName())) { + BI.Maskers.create(this.getName(), o.adapter, BI.extend({ + container: this, + render: this.popupView + }, o.masker)); + } }, _startSearch: function () { @@ -4221,7 +4221,7 @@ BI.Searcher = BI.inherit(BI.Widget, { BI.nextTick(function (name) { BI.Maskers.hide(name); }, this.getName()); - if (BI.Maskers.has(name) && this._isSearching === true) { + if (this._isSearching === true) { this.popupView && this.popupView.pauseSearch && this.popupView.pauseSearch(); this.fireEvent(BI.Searcher.EVENT_PAUSE); } @@ -4232,11 +4232,7 @@ BI.Searcher = BI.inherit(BI.Widget, { var o = this.options, name = this.getName(); this._stop = true; BI.Maskers.hide(name); - if (BI.Maskers.has(name) && this._isSearching === true) { - //搜索后清空dom - // BI.nextTick(function () { - // BI.Maskers.has(name) && BI.Maskers.get(name).empty(); - // }); + if (this._isSearching === true) { this.popupView && this.popupView.stopSearch && this.popupView.stopSearch(); this.fireEvent(BI.Searcher.EVENT_STOP); } @@ -4249,11 +4245,11 @@ BI.Searcher = BI.inherit(BI.Widget, { return; } if (o.isAutoSearch) { - var items = (o.adapter.getItems && o.adapter.getItems()) || o.adapter.attr("items") || []; + var items = (o.adapter && ((o.adapter.getItems && o.adapter.getItems()) || o.adapter.attr("items"))) || []; var finding = BI.Func.getSearchResult(items, keyword); var matched = finding.matched, finded = finding.finded; this.popupView.populate(finded, matched, keyword); - o.isAutoSync && this.popupView.setValue(o.adapter.getValue()); + o.isAutoSync && o.adapter && o.adapter.getValue && this.popupView.setValue(o.adapter.getValue()); self.fireEvent(BI.Searcher.EVENT_SEARCHING); return; } @@ -4270,7 +4266,7 @@ BI.Searcher = BI.inherit(BI.Widget, { } BI.Maskers.show(self.getName()); self.popupView.populate.apply(self.popupView, args); - o.isAutoSync && self.popupView.setValue(o.adapter && o.adapter.getValue()); + o.isAutoSync && o.adapter && o.adapter.getValue && self.popupView.setValue(o.adapter.getValue()); self.popupView.loaded && self.popupView.loaded(); self.fireEvent(BI.Searcher.EVENT_SEARCHING); } @@ -4344,13 +4340,15 @@ BI.Searcher = BI.inherit(BI.Widget, { getValue: function () { var o = this.options; - if (o.isAutoSync) { + if (o.isAutoSync && o.adapter && o.adapter.getValue) { return o.adapter.getValue(); } if (this.isSearching()) { return this.popupView.getValue(); - } else { + } else if (o.adapter && o.adapter.getValue) { return o.adapter.getValue(); + } else { + return this.popupView.getValue(); } }, @@ -4358,7 +4356,7 @@ BI.Searcher = BI.inherit(BI.Widget, { var o = this.options; this._assertPopupView(); this.popupView.populate.apply(this.popupView, arguments); - if (o.isAutoSync) { + if (o.isAutoSync && o.adapter && o.adapter.getValue) { this.popupView.setValue(o.adapter.getValue()); } }, diff --git a/demo/js/core/abstract/combination/demo.sercher.js b/demo/js/core/abstract/combination/demo.sercher.js new file mode 100644 index 000000000..d2d3fcec5 --- /dev/null +++ b/demo/js/core/abstract/combination/demo.sercher.js @@ -0,0 +1,59 @@ +Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + var items = [{ + type: "bi.label", + value: "张三" + }, { + type: "bi.label", + value: "李四" + }]; + var popup = BI.createWidget({ + type: "bi.button_group", + cls: "bi-border layout-bg3", + items: items, + layouts: [{ + type: "bi.vertical" + }] + }); + return { + type: "bi.absolute", + items: [{ + el: { + type: "bi.searcher", + listeners: [{ + eventName: BI.Searcher.EVENT_STOP, + action: function () { + popup.populate(items) + } + }, { + eventName: BI.Searcher.EVENT_PAUSE, + action: function () { + popup.populate(items) + } + }], + height: 200, + adapter: { + getItems: function () { + return items + } + }, + popup: popup, + masker: false + }, + left: 0, + right: 0, + top: 0 + }, { + el: popup, + left: 0, + right: 0, + top: 50, + bottom: 0 + }] + } + } +}); +BI.shortcut("demo.searcher", Demo.Func); \ No newline at end of file diff --git a/docs/base.js b/docs/base.js index 7ccd3f5f5..f665c730b 100644 --- a/docs/base.js +++ b/docs/base.js @@ -4106,7 +4106,6 @@ BI.Searcher = BI.inherit(BI.Widget, { callback([]) }, - el: { type: "bi.search_editor" }, @@ -4164,16 +4163,11 @@ BI.Searcher = BI.inherit(BI.Widget, { _assertPopupView: function () { var self = this, o = this.options; - if (!BI.Maskers.has(this.getName())) { + if ((o.masker && !BI.Maskers.has(this.getName())) || (o.masker === false && !this.popupView)) { this.popupView = BI.createWidget(o.popup, { type: "bi.searcher_view", chooseType: o.chooseType }); - BI.Maskers.create(this.getName(), o.adapter, BI.extend({ - container: this, - render: this.popupView - }, o.masker)); - this.popupView.on(BI.Controller.EVENT_CHANGE, function (type, value, obj) { self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); if (type === BI.Events.CLICK) { @@ -4200,6 +4194,12 @@ BI.Searcher = BI.inherit(BI.Widget, { self.fireEvent(BI.Searcher.EVENT_AFTER_INIT); }); } + if (o.masker && !BI.Maskers.has(this.getName())) { + BI.Maskers.create(this.getName(), o.adapter, BI.extend({ + container: this, + render: this.popupView + }, o.masker)); + } }, _startSearch: function () { @@ -4221,7 +4221,7 @@ BI.Searcher = BI.inherit(BI.Widget, { BI.nextTick(function (name) { BI.Maskers.hide(name); }, this.getName()); - if (BI.Maskers.has(name) && this._isSearching === true) { + if (this._isSearching === true) { this.popupView && this.popupView.pauseSearch && this.popupView.pauseSearch(); this.fireEvent(BI.Searcher.EVENT_PAUSE); } @@ -4232,11 +4232,7 @@ BI.Searcher = BI.inherit(BI.Widget, { var o = this.options, name = this.getName(); this._stop = true; BI.Maskers.hide(name); - if (BI.Maskers.has(name) && this._isSearching === true) { - //搜索后清空dom - // BI.nextTick(function () { - // BI.Maskers.has(name) && BI.Maskers.get(name).empty(); - // }); + if (this._isSearching === true) { this.popupView && this.popupView.stopSearch && this.popupView.stopSearch(); this.fireEvent(BI.Searcher.EVENT_STOP); } @@ -4249,11 +4245,11 @@ BI.Searcher = BI.inherit(BI.Widget, { return; } if (o.isAutoSearch) { - var items = (o.adapter.getItems && o.adapter.getItems()) || o.adapter.attr("items") || []; + var items = (o.adapter && ((o.adapter.getItems && o.adapter.getItems()) || o.adapter.attr("items"))) || []; var finding = BI.Func.getSearchResult(items, keyword); var matched = finding.matched, finded = finding.finded; this.popupView.populate(finded, matched, keyword); - o.isAutoSync && this.popupView.setValue(o.adapter.getValue()); + o.isAutoSync && o.adapter && o.adapter.getValue && this.popupView.setValue(o.adapter.getValue()); self.fireEvent(BI.Searcher.EVENT_SEARCHING); return; } @@ -4270,7 +4266,7 @@ BI.Searcher = BI.inherit(BI.Widget, { } BI.Maskers.show(self.getName()); self.popupView.populate.apply(self.popupView, args); - o.isAutoSync && self.popupView.setValue(o.adapter && o.adapter.getValue()); + o.isAutoSync && o.adapter && o.adapter.getValue && self.popupView.setValue(o.adapter.getValue()); self.popupView.loaded && self.popupView.loaded(); self.fireEvent(BI.Searcher.EVENT_SEARCHING); } @@ -4344,13 +4340,15 @@ BI.Searcher = BI.inherit(BI.Widget, { getValue: function () { var o = this.options; - if (o.isAutoSync) { + if (o.isAutoSync && o.adapter && o.adapter.getValue) { return o.adapter.getValue(); } if (this.isSearching()) { return this.popupView.getValue(); - } else { + } else if (o.adapter && o.adapter.getValue) { return o.adapter.getValue(); + } else { + return this.popupView.getValue(); } }, @@ -4358,7 +4356,7 @@ BI.Searcher = BI.inherit(BI.Widget, { var o = this.options; this._assertPopupView(); this.popupView.populate.apply(this.popupView, arguments); - if (o.isAutoSync) { + if (o.isAutoSync && o.adapter && o.adapter.getValue) { this.popupView.setValue(o.adapter.getValue()); } }, diff --git a/docs/demo.js b/docs/demo.js index 4d7cb0e89..e63bd9412 100644 --- a/docs/demo.js +++ b/docs/demo.js @@ -2937,6 +2937,64 @@ Demo.COMPONENT_CONFIG = [{ } }); BI.shortcut("demo.combo", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { + props: { + baseCls: "demo-func" + }, + render: function () { + var items = [{ + type: "bi.label", + value: "张三" + }, { + type: "bi.label", + value: "李四" + }]; + var popup = BI.createWidget({ + type: "bi.button_group", + cls: "bi-border layout-bg3", + items: items, + layouts: [{ + type: "bi.vertical" + }] + }); + return { + type: "bi.absolute", + items: [{ + el: { + type: "bi.searcher", + listeners: [{ + eventName: BI.Searcher.EVENT_STOP, + action: function () { + popup.populate(items) + } + }, { + eventName: BI.Searcher.EVENT_PAUSE, + action: function () { + popup.populate(items) + } + }], + height: 200, + adapter: { + getItems: function () { + return items + } + }, + popup: popup, + masker: false + }, + left: 0, + right: 0, + top: 0 + }, { + el: popup, + left: 0, + right: 0, + top: 50, + bottom: 0 + }] + } + } +}); +BI.shortcut("demo.searcher", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { props: { baseCls: "demo-func" }, diff --git a/src/base/combination/searcher.js b/src/base/combination/searcher.js index 87d87e299..604b923f5 100644 --- a/src/base/combination/searcher.js +++ b/src/base/combination/searcher.js @@ -27,7 +27,6 @@ BI.Searcher = BI.inherit(BI.Widget, { callback([]) }, - el: { type: "bi.search_editor" }, @@ -85,16 +84,11 @@ BI.Searcher = BI.inherit(BI.Widget, { _assertPopupView: function () { var self = this, o = this.options; - if (!BI.Maskers.has(this.getName())) { + if ((o.masker && !BI.Maskers.has(this.getName())) || (o.masker === false && !this.popupView)) { this.popupView = BI.createWidget(o.popup, { type: "bi.searcher_view", chooseType: o.chooseType }); - BI.Maskers.create(this.getName(), o.adapter, BI.extend({ - container: this, - render: this.popupView - }, o.masker)); - this.popupView.on(BI.Controller.EVENT_CHANGE, function (type, value, obj) { self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); if (type === BI.Events.CLICK) { @@ -121,6 +115,12 @@ BI.Searcher = BI.inherit(BI.Widget, { self.fireEvent(BI.Searcher.EVENT_AFTER_INIT); }); } + if (o.masker && !BI.Maskers.has(this.getName())) { + BI.Maskers.create(this.getName(), o.adapter, BI.extend({ + container: this, + render: this.popupView + }, o.masker)); + } }, _startSearch: function () { @@ -142,7 +142,7 @@ BI.Searcher = BI.inherit(BI.Widget, { BI.nextTick(function (name) { BI.Maskers.hide(name); }, this.getName()); - if (BI.Maskers.has(name) && this._isSearching === true) { + if (this._isSearching === true) { this.popupView && this.popupView.pauseSearch && this.popupView.pauseSearch(); this.fireEvent(BI.Searcher.EVENT_PAUSE); } @@ -153,11 +153,7 @@ BI.Searcher = BI.inherit(BI.Widget, { var o = this.options, name = this.getName(); this._stop = true; BI.Maskers.hide(name); - if (BI.Maskers.has(name) && this._isSearching === true) { - //搜索后清空dom - // BI.nextTick(function () { - // BI.Maskers.has(name) && BI.Maskers.get(name).empty(); - // }); + if (this._isSearching === true) { this.popupView && this.popupView.stopSearch && this.popupView.stopSearch(); this.fireEvent(BI.Searcher.EVENT_STOP); } @@ -170,11 +166,11 @@ BI.Searcher = BI.inherit(BI.Widget, { return; } if (o.isAutoSearch) { - var items = (o.adapter.getItems && o.adapter.getItems()) || o.adapter.attr("items") || []; + var items = (o.adapter && ((o.adapter.getItems && o.adapter.getItems()) || o.adapter.attr("items"))) || []; var finding = BI.Func.getSearchResult(items, keyword); var matched = finding.matched, finded = finding.finded; this.popupView.populate(finded, matched, keyword); - o.isAutoSync && this.popupView.setValue(o.adapter.getValue()); + o.isAutoSync && o.adapter && o.adapter.getValue && this.popupView.setValue(o.adapter.getValue()); self.fireEvent(BI.Searcher.EVENT_SEARCHING); return; } @@ -191,7 +187,7 @@ BI.Searcher = BI.inherit(BI.Widget, { } BI.Maskers.show(self.getName()); self.popupView.populate.apply(self.popupView, args); - o.isAutoSync && self.popupView.setValue(o.adapter && o.adapter.getValue()); + o.isAutoSync && o.adapter && o.adapter.getValue && self.popupView.setValue(o.adapter.getValue()); self.popupView.loaded && self.popupView.loaded(); self.fireEvent(BI.Searcher.EVENT_SEARCHING); } @@ -265,13 +261,15 @@ BI.Searcher = BI.inherit(BI.Widget, { getValue: function () { var o = this.options; - if (o.isAutoSync) { + if (o.isAutoSync && o.adapter && o.adapter.getValue) { return o.adapter.getValue(); } if (this.isSearching()) { return this.popupView.getValue(); - } else { + } else if (o.adapter && o.adapter.getValue) { return o.adapter.getValue(); + } else { + return this.popupView.getValue(); } }, @@ -279,7 +277,7 @@ BI.Searcher = BI.inherit(BI.Widget, { var o = this.options; this._assertPopupView(); this.popupView.populate.apply(this.popupView, arguments); - if (o.isAutoSync) { + if (o.isAutoSync && o.adapter && o.adapter.getValue) { this.popupView.setValue(o.adapter.getValue()); } }, From ce94125d16d51b181d285be8dceb0c2f42f85a2e Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 29 Apr 2017 21:37:43 +0800 Subject: [PATCH 14/24] add --- demo/js/core/abstract/combination/demo.sercher.js | 1 - docs/demo.js | 1 - 2 files changed, 2 deletions(-) diff --git a/demo/js/core/abstract/combination/demo.sercher.js b/demo/js/core/abstract/combination/demo.sercher.js index d2d3fcec5..c0d6fbd30 100644 --- a/demo/js/core/abstract/combination/demo.sercher.js +++ b/demo/js/core/abstract/combination/demo.sercher.js @@ -34,7 +34,6 @@ Demo.Func = BI.inherit(BI.Widget, { popup.populate(items) } }], - height: 200, adapter: { getItems: function () { return items diff --git a/docs/demo.js b/docs/demo.js index e63bd9412..466ad9fd2 100644 --- a/docs/demo.js +++ b/docs/demo.js @@ -2972,7 +2972,6 @@ BI.shortcut("demo.combo", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { popup.populate(items) } }], - height: 200, adapter: { getItems: function () { return items From 5eeb0e9be033492cdc99041d7b049b361da771b9 Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 1 May 2017 02:30:03 +0800 Subject: [PATCH 15/24] =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=85=BC=E5=AE=B9ie8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/css/color/bezierEasing.css | 0 demo/css/color/colorPalette.css | 0 demo/css/color/colors.css | 0 demo/css/color/tinyColor.css | 0 demo/css/theme.css | 5 + .../core/abstract/combination/demo.sercher.js | 2 +- demo/less/color/bezierEasing.less | 107 ++ demo/less/color/colorPalette.less | 46 + demo/less/color/colors.less | 90 ++ demo/less/color/tinyColor.less | 1183 +++++++++++++++++ demo/less/theme.less | 301 +++++ docs/demo.css | 5 + docs/demo.js | 2 +- src/css/resource/font.css | 888 ++++++++++++- src/less/image.less | 46 +- src/less/lib/font.less | 356 ++--- 16 files changed, 2764 insertions(+), 267 deletions(-) create mode 100644 demo/css/color/bezierEasing.css create mode 100644 demo/css/color/colorPalette.css create mode 100644 demo/css/color/colors.css create mode 100644 demo/css/color/tinyColor.css create mode 100644 demo/css/theme.css create mode 100644 demo/less/color/bezierEasing.less create mode 100644 demo/less/color/colorPalette.less create mode 100644 demo/less/color/colors.less create mode 100644 demo/less/color/tinyColor.less create mode 100644 demo/less/theme.less diff --git a/demo/css/color/bezierEasing.css b/demo/css/color/bezierEasing.css new file mode 100644 index 000000000..e69de29bb diff --git a/demo/css/color/colorPalette.css b/demo/css/color/colorPalette.css new file mode 100644 index 000000000..e69de29bb diff --git a/demo/css/color/colors.css b/demo/css/color/colors.css new file mode 100644 index 000000000..e69de29bb diff --git a/demo/css/color/tinyColor.css b/demo/css/color/tinyColor.css new file mode 100644 index 000000000..e69de29bb diff --git a/demo/css/theme.css b/demo/css/theme.css new file mode 100644 index 000000000..7f583cdfb --- /dev/null +++ b/demo/css/theme.css @@ -0,0 +1,5 @@ +@font-face { + font-family: "Helvetica Neue For Number"; + src: local("Helvetica Neue"); + unicode-range: U+30-39; +} diff --git a/demo/js/core/abstract/combination/demo.sercher.js b/demo/js/core/abstract/combination/demo.sercher.js index c0d6fbd30..18dba6773 100644 --- a/demo/js/core/abstract/combination/demo.sercher.js +++ b/demo/js/core/abstract/combination/demo.sercher.js @@ -12,7 +12,7 @@ Demo.Func = BI.inherit(BI.Widget, { }]; var popup = BI.createWidget({ type: "bi.button_group", - cls: "bi-border layout-bg3", + cls: "bi-border", items: items, layouts: [{ type: "bi.vertical" diff --git a/demo/less/color/bezierEasing.less b/demo/less/color/bezierEasing.less new file mode 100644 index 000000000..442ec8368 --- /dev/null +++ b/demo/less/color/bezierEasing.less @@ -0,0 +1,107 @@ +.bezierEasingMixin() { +@functions: ~`(function() { + var NEWTON_ITERATIONS = 4; + var NEWTON_MIN_SLOPE = 0.001; + var SUBDIVISION_PRECISION = 0.0000001; + var SUBDIVISION_MAX_ITERATIONS = 10; + + var kSplineTableSize = 11; + var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0); + + var float32ArraySupported = typeof Float32Array === 'function'; + + function A (aA1, aA2) { return 1.0 - 3.0 * aA2 + 3.0 * aA1; } + function B (aA1, aA2) { return 3.0 * aA2 - 6.0 * aA1; } + function C (aA1) { return 3.0 * aA1; } + + // Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2. + function calcBezier (aT, aA1, aA2) { return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT; } + + // Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2. + function getSlope (aT, aA1, aA2) { return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1); } + + function binarySubdivide (aX, aA, aB, mX1, mX2) { + var currentX, currentT, i = 0; + do { + currentT = aA + (aB - aA) / 2.0; + currentX = calcBezier(currentT, mX1, mX2) - aX; + if (currentX > 0.0) { + aB = currentT; + } else { + aA = currentT; + } + } while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS); + return currentT; + } + + function newtonRaphsonIterate (aX, aGuessT, mX1, mX2) { + for (var i = 0; i < NEWTON_ITERATIONS; ++i) { + var currentSlope = getSlope(aGuessT, mX1, mX2); + if (currentSlope === 0.0) { + return aGuessT; + } + var currentX = calcBezier(aGuessT, mX1, mX2) - aX; + aGuessT -= currentX / currentSlope; + } + return aGuessT; + } + + var BezierEasing = function (mX1, mY1, mX2, mY2) { + if (!(0 <= mX1 && mX1 <= 1 && 0 <= mX2 && mX2 <= 1)) { + throw new Error('bezier x values must be in [0, 1] range'); + } + + // Precompute samples table + var sampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize); + if (mX1 !== mY1 || mX2 !== mY2) { + for (var i = 0; i < kSplineTableSize; ++i) { + sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2); + } + } + + function getTForX (aX) { + var intervalStart = 0.0; + var currentSample = 1; + var lastSample = kSplineTableSize - 1; + + for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) { + intervalStart += kSampleStepSize; + } + --currentSample; + + // Interpolate to provide an initial guess for t + var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]); + var guessForT = intervalStart + dist * kSampleStepSize; + + var initialSlope = getSlope(guessForT, mX1, mX2); + if (initialSlope >= NEWTON_MIN_SLOPE) { + return newtonRaphsonIterate(aX, guessForT, mX1, mX2); + } else if (initialSlope === 0.0) { + return guessForT; + } else { + return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2); + } + } + + return function BezierEasing (x) { + if (mX1 === mY1 && mX2 === mY2) { + return x; // linear + } + // Because JavaScript number are imprecise, we should guarantee the extremes are right. + if (x === 0) { + return 0; + } + if (x === 1) { + return 1; + } + return calcBezier(getTForX(x), mY1, mY2); + }; + }; + + this.colorEasing = BezierEasing(0.26, 0.09, 0.37, 0.18); +})()`; +} +// It is hacky way to make this function will be compiled preferentially by less +// resolve error: `ReferenceError: colorPalette is not defined` +// https://github.com/ant-design/ant-motion/issues/44 +.bezierEasingMixin(); diff --git a/demo/less/color/colorPalette.less b/demo/less/color/colorPalette.less new file mode 100644 index 000000000..7c84cef7e --- /dev/null +++ b/demo/less/color/colorPalette.less @@ -0,0 +1,46 @@ +@import "bezierEasing"; +@import "tinyColor"; + +// We create a very complex algorithm which take the place of original tint/shade color system +// to make sure no one can understand it 👻 +// and create an entire color palette magicly by inputing just a single primary color. +// We are using bezier-curve easing function and some color manipulations like tint/shade/darken/spin +.colorPaletteMixin() { +@functions: ~`(function() { + var warmDark = 0.5; // warm color darken radio + var warmRotate = -26; // warm color rotate degree + var coldDark = 0.55; // cold color darken radio + var coldRotate = 10; // cold color rotate degree + var getShadeColor = function(c) { + var shadeColor = tinycolor(c); + // warm and cold color will darken in different radio, and rotate in different degree + // warmer color + if (shadeColor.toRgb().r > shadeColor.toRgb().b) { + return shadeColor.darken(shadeColor.toHsl().l * warmDark * 100).spin(warmRotate).toHexString(); + } + // colder color + return shadeColor.darken(shadeColor.toHsl().l * coldDark * 100).spin(coldRotate).toHexString(); + } + var primaryEasing = colorEasing(0.6); + this.colorPalette = function(color, index) { + var currentEasing = colorEasing(index * 0.1); + // return light colors after tint + if (index <= 6) { + return tinycolor.mix( + '#ffffff', + color, + currentEasing * 100 / primaryEasing + ).toHexString(); + } + return tinycolor.mix( + getShadeColor(color), + color, + (1 - (currentEasing - primaryEasing) / (1 - primaryEasing)) * 100 + ).toHexString(); + }; +})()`; +} +// It is hacky way to make this function will be compiled preferentially by less +// resolve error: `ReferenceError: colorPalette is not defined` +// https://github.com/ant-design/ant-motion/issues/44 +.colorPaletteMixin(); diff --git a/demo/less/color/colors.less b/demo/less/color/colors.less new file mode 100644 index 000000000..53f16229e --- /dev/null +++ b/demo/less/color/colors.less @@ -0,0 +1,90 @@ +@import 'colorPalette'; + +// color palettes +@blue-1: color(~`colorPalette("@{blue-6}", 1)`); +@blue-2: color(~`colorPalette("@{blue-6}", 2)`); +@blue-3: color(~`colorPalette("@{blue-6}", 3)`); +@blue-4: color(~`colorPalette("@{blue-6}", 4)`); +@blue-5: color(~`colorPalette("@{blue-6}", 5)`); +@blue-6: #108ee9; +@blue-7: color(~`colorPalette("@{blue-6}", 7)`); +@blue-8: color(~`colorPalette("@{blue-6}", 8)`); +@blue-9: color(~`colorPalette("@{blue-6}", 9)`); +@blue-10: color(~`colorPalette("@{blue-6}", 10)`); + +@purple-1: color(~`colorPalette("@{purple-6}", 1)`); +@purple-2: color(~`colorPalette("@{purple-6}", 2)`); +@purple-3: color(~`colorPalette("@{purple-6}", 3)`); +@purple-4: color(~`colorPalette("@{purple-6}", 4)`); +@purple-5: color(~`colorPalette("@{purple-6}", 5)`); +@purple-6: #7265e6; +@purple-7: color(~`colorPalette("@{purple-6}", 7)`); +@purple-8: color(~`colorPalette("@{purple-6}", 8)`); +@purple-9: color(~`colorPalette("@{purple-6}", 9)`); +@purple-10: color(~`colorPalette("@{purple-6}", 10)`); + +@cyan-1: color(~`colorPalette("@{cyan-6}", 1)`); +@cyan-2: color(~`colorPalette("@{cyan-6}", 2)`); +@cyan-3: color(~`colorPalette("@{cyan-6}", 3)`); +@cyan-4: color(~`colorPalette("@{cyan-6}", 4)`); +@cyan-5: color(~`colorPalette("@{cyan-6}", 5)`); +@cyan-6: #00a2ae; +@cyan-7: color(~`colorPalette("@{cyan-6}", 7)`); +@cyan-8: color(~`colorPalette("@{cyan-6}", 8)`); +@cyan-9: color(~`colorPalette("@{cyan-6}", 9)`); +@cyan-10: color(~`colorPalette("@{cyan-6}", 10)`); + +@green-1: color(~`colorPalette("@{green-6}", 1)`); +@green-2: color(~`colorPalette("@{green-6}", 2)`); +@green-3: color(~`colorPalette("@{green-6}", 3)`); +@green-4: color(~`colorPalette("@{green-6}", 4)`); +@green-5: color(~`colorPalette("@{green-6}", 5)`); +@green-6: #00a854; +@green-7: color(~`colorPalette("@{green-6}", 7)`); +@green-8: color(~`colorPalette("@{green-6}", 8)`); +@green-9: color(~`colorPalette("@{green-6}", 9)`); +@green-10: color(~`colorPalette("@{green-6}", 10)`); + +@pink-1: color(~`colorPalette("@{pink-6}", 1)`); +@pink-2: color(~`colorPalette("@{pink-6}", 2)`); +@pink-3: color(~`colorPalette("@{pink-6}", 3)`); +@pink-4: color(~`colorPalette("@{pink-6}", 4)`); +@pink-5: color(~`colorPalette("@{pink-6}", 5)`); +@pink-6: #f5317f; +@pink-7: color(~`colorPalette("@{pink-6}", 7)`); +@pink-8: color(~`colorPalette("@{pink-6}", 8)`); +@pink-9: color(~`colorPalette("@{pink-6}", 9)`); +@pink-10: color(~`colorPalette("@{pink-6}", 10)`); + +@red-1: color(~`colorPalette("@{red-6}", 1)`); +@red-2: color(~`colorPalette("@{red-6}", 2)`); +@red-3: color(~`colorPalette("@{red-6}", 3)`); +@red-4: color(~`colorPalette("@{red-6}", 4)`); +@red-5: color(~`colorPalette("@{red-6}", 5)`); +@red-6: #f04134; +@red-7: color(~`colorPalette("@{red-6}", 7)`); +@red-8: color(~`colorPalette("@{red-6}", 8)`); +@red-9: color(~`colorPalette("@{red-6}", 9)`); +@red-10: color(~`colorPalette("@{red-6}", 10)`); + +@orange-1: color(~`colorPalette("@{orange-6}", 1)`); +@orange-2: color(~`colorPalette("@{orange-6}", 2)`); +@orange-3: color(~`colorPalette("@{orange-6}", 3)`); +@orange-4: color(~`colorPalette("@{orange-6}", 4)`); +@orange-5: color(~`colorPalette("@{orange-6}", 5)`); +@orange-6: #f56a00; +@orange-7: color(~`colorPalette("@{orange-6}", 7)`); +@orange-8: color(~`colorPalette("@{orange-6}", 8)`); +@orange-9: color(~`colorPalette("@{orange-6}", 9)`); +@orange-10: color(~`colorPalette("@{orange-6}", 10)`); + +@yellow-1: color(~`colorPalette("@{yellow-6}", 1)`); +@yellow-2: color(~`colorPalette("@{yellow-6}", 2)`); +@yellow-3: color(~`colorPalette("@{yellow-6}", 3)`); +@yellow-4: color(~`colorPalette("@{yellow-6}", 4)`); +@yellow-5: color(~`colorPalette("@{yellow-6}", 5)`); +@yellow-6: #ffbf00; +@yellow-7: color(~`colorPalette("@{yellow-6}", 7)`); +@yellow-8: color(~`colorPalette("@{yellow-6}", 8)`); +@yellow-9: color(~`colorPalette("@{yellow-6}", 9)`); +@yellow-10: color(~`colorPalette("@{yellow-6}", 10)`); diff --git a/demo/less/color/tinyColor.less b/demo/less/color/tinyColor.less new file mode 100644 index 000000000..1d9520406 --- /dev/null +++ b/demo/less/color/tinyColor.less @@ -0,0 +1,1183 @@ +.tinyColorMixin() { +@functions: ~`(function() { +// TinyColor v1.4.1 +// https://github.com/bgrins/TinyColor +// 2016-07-07, Brian Grinstead, MIT License +var trimLeft = /^\s+/, + trimRight = /\s+$/, + tinyCounter = 0, + mathRound = Math.round, + mathMin = Math.min, + mathMax = Math.max, + mathRandom = Math.random; + +function tinycolor (color, opts) { + + color = (color) ? color : ''; + opts = opts || { }; + + // If input is already a tinycolor, return itself + if (color instanceof tinycolor) { + return color; + } + // If we are called as a function, call using new instead + if (!(this instanceof tinycolor)) { + return new tinycolor(color, opts); + } + + var rgb = inputToRGB(color); + this._originalInput = color, + this._r = rgb.r, + this._g = rgb.g, + this._b = rgb.b, + this._a = rgb.a, + this._roundA = mathRound(100*this._a) / 100, + this._format = opts.format || rgb.format; + this._gradientType = opts.gradientType; + + // Don't let the range of [0,255] come back in [0,1]. + // Potentially lose a little bit of precision here, but will fix issues where + // .5 gets interpreted as half of the total, instead of half of 1 + // If it was supposed to be 128, this was already taken care of by inputToRgb + if (this._r < 1) { this._r = mathRound(this._r); } + if (this._g < 1) { this._g = mathRound(this._g); } + if (this._b < 1) { this._b = mathRound(this._b); } + + this._ok = rgb.ok; + this._tc_id = tinyCounter++; +} + +tinycolor.prototype = { + isDark: function() { + return this.getBrightness() < 128; + }, + isLight: function() { + return !this.isDark(); + }, + isValid: function() { + return this._ok; + }, + getOriginalInput: function() { + return this._originalInput; + }, + getFormat: function() { + return this._format; + }, + getAlpha: function() { + return this._a; + }, + getBrightness: function() { + //http://www.w3.org/TR/AERT#color-contrast + var rgb = this.toRgb(); + return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000; + }, + getLuminance: function() { + //http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef + var rgb = this.toRgb(); + var RsRGB, GsRGB, BsRGB, R, G, B; + RsRGB = rgb.r/255; + GsRGB = rgb.g/255; + BsRGB = rgb.b/255; + + if (RsRGB <= 0.03928) {R = RsRGB / 12.92;} else {R = Math.pow(((RsRGB + 0.055) / 1.055), 2.4);} + if (GsRGB <= 0.03928) {G = GsRGB / 12.92;} else {G = Math.pow(((GsRGB + 0.055) / 1.055), 2.4);} + if (BsRGB <= 0.03928) {B = BsRGB / 12.92;} else {B = Math.pow(((BsRGB + 0.055) / 1.055), 2.4);} + return (0.2126 * R) + (0.7152 * G) + (0.0722 * B); + }, + setAlpha: function(value) { + this._a = boundAlpha(value); + this._roundA = mathRound(100*this._a) / 100; + return this; + }, + toHsv: function() { + var hsv = rgbToHsv(this._r, this._g, this._b); + return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a }; + }, + toHsvString: function() { + var hsv = rgbToHsv(this._r, this._g, this._b); + var h = mathRound(hsv.h * 360), s = mathRound(hsv.s * 100), v = mathRound(hsv.v * 100); + return (this._a == 1) ? + "hsv(" + h + ", " + s + "%, " + v + "%)" : + "hsva(" + h + ", " + s + "%, " + v + "%, "+ this._roundA + ")"; + }, + toHsl: function() { + var hsl = rgbToHsl(this._r, this._g, this._b); + return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a }; + }, + toHslString: function() { + var hsl = rgbToHsl(this._r, this._g, this._b); + var h = mathRound(hsl.h * 360), s = mathRound(hsl.s * 100), l = mathRound(hsl.l * 100); + return (this._a == 1) ? + "hsl(" + h + ", " + s + "%, " + l + "%)" : + "hsla(" + h + ", " + s + "%, " + l + "%, "+ this._roundA + ")"; + }, + toHex: function(allow3Char) { + return rgbToHex(this._r, this._g, this._b, allow3Char); + }, + toHexString: function(allow3Char) { + return '#' + this.toHex(allow3Char); + }, + toHex8: function(allow4Char) { + return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char); + }, + toHex8String: function(allow4Char) { + return '#' + this.toHex8(allow4Char); + }, + toRgb: function() { + return { r: mathRound(this._r), g: mathRound(this._g), b: mathRound(this._b), a: this._a }; + }, + toRgbString: function() { + return (this._a == 1) ? + "rgb(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ")" : + "rgba(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ", " + this._roundA + ")"; + }, + toPercentageRgb: function() { + return { r: mathRound(bound01(this._r, 255) * 100) + "%", g: mathRound(bound01(this._g, 255) * 100) + "%", b: mathRound(bound01(this._b, 255) * 100) + "%", a: this._a }; + }, + toPercentageRgbString: function() { + return (this._a == 1) ? + "rgb(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%)" : + "rgba(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")"; + }, + toName: function() { + if (this._a === 0) { + return "transparent"; + } + + if (this._a < 1) { + return false; + } + + return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false; + }, + toFilter: function(secondColor) { + var hex8String = '#' + rgbaToArgbHex(this._r, this._g, this._b, this._a); + var secondHex8String = hex8String; + var gradientType = this._gradientType ? "GradientType = 1, " : ""; + + if (secondColor) { + var s = tinycolor(secondColor); + secondHex8String = '#' + rgbaToArgbHex(s._r, s._g, s._b, s._a); + } + + return "progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")"; + }, + toString: function(format) { + var formatSet = !!format; + format = format || this._format; + + var formattedString = false; + var hasAlpha = this._a < 1 && this._a >= 0; + var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name"); + + if (needsAlphaFormat) { + // Special case for "transparent", all other non-alpha formats + // will return rgba when there is transparency. + if (format === "name" && this._a === 0) { + return this.toName(); + } + return this.toRgbString(); + } + if (format === "rgb") { + formattedString = this.toRgbString(); + } + if (format === "prgb") { + formattedString = this.toPercentageRgbString(); + } + if (format === "hex" || format === "hex6") { + formattedString = this.toHexString(); + } + if (format === "hex3") { + formattedString = this.toHexString(true); + } + if (format === "hex4") { + formattedString = this.toHex8String(true); + } + if (format === "hex8") { + formattedString = this.toHex8String(); + } + if (format === "name") { + formattedString = this.toName(); + } + if (format === "hsl") { + formattedString = this.toHslString(); + } + if (format === "hsv") { + formattedString = this.toHsvString(); + } + + return formattedString || this.toHexString(); + }, + clone: function() { + return tinycolor(this.toString()); + }, + + _applyModification: function(fn, args) { + var color = fn.apply(null, [this].concat([].slice.call(args))); + this._r = color._r; + this._g = color._g; + this._b = color._b; + this.setAlpha(color._a); + return this; + }, + lighten: function() { + return this._applyModification(lighten, arguments); + }, + brighten: function() { + return this._applyModification(brighten, arguments); + }, + darken: function() { + return this._applyModification(darken, arguments); + }, + desaturate: function() { + return this._applyModification(desaturate, arguments); + }, + saturate: function() { + return this._applyModification(saturate, arguments); + }, + greyscale: function() { + return this._applyModification(greyscale, arguments); + }, + spin: function() { + return this._applyModification(spin, arguments); + }, + + _applyCombination: function(fn, args) { + return fn.apply(null, [this].concat([].slice.call(args))); + }, + analogous: function() { + return this._applyCombination(analogous, arguments); + }, + complement: function() { + return this._applyCombination(complement, arguments); + }, + monochromatic: function() { + return this._applyCombination(monochromatic, arguments); + }, + splitcomplement: function() { + return this._applyCombination(splitcomplement, arguments); + }, + triad: function() { + return this._applyCombination(triad, arguments); + }, + tetrad: function() { + return this._applyCombination(tetrad, arguments); + } +}; + +// If input is an object, force 1 into "1.0" to handle ratios properly +// String input requires "1.0" as input, so 1 will be treated as 1 +tinycolor.fromRatio = function(color, opts) { + if (typeof color == "object") { + var newColor = {}; + for (var i in color) { + if (color.hasOwnProperty(i)) { + if (i === "a") { + newColor[i] = color[i]; + } + else { + newColor[i] = convertToPercentage(color[i]); + } + } + } + color = newColor; + } + + return tinycolor(color, opts); +}; + +// Given a string or object, convert that input to RGB +// Possible string inputs: +// +// "red" +// "#f00" or "f00" +// "#ff0000" or "ff0000" +// "#ff000000" or "ff000000" +// "rgb 255 0 0" or "rgb (255, 0, 0)" +// "rgb 1.0 0 0" or "rgb (1, 0, 0)" +// "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1" +// "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1" +// "hsl(0, 100%, 50%)" or "hsl 0 100% 50%" +// "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1" +// "hsv(0, 100%, 100%)" or "hsv 0 100% 100%" +// +function inputToRGB(color) { + + var rgb = { r: 0, g: 0, b: 0 }; + var a = 1; + var s = null; + var v = null; + var l = null; + var ok = false; + var format = false; + + if (typeof color == "string") { + color = stringInputToObject(color); + } + + if (typeof color == "object") { + if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) { + rgb = rgbToRgb(color.r, color.g, color.b); + ok = true; + format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb"; + } + else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) { + s = convertToPercentage(color.s); + v = convertToPercentage(color.v); + rgb = hsvToRgb(color.h, s, v); + ok = true; + format = "hsv"; + } + else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) { + s = convertToPercentage(color.s); + l = convertToPercentage(color.l); + rgb = hslToRgb(color.h, s, l); + ok = true; + format = "hsl"; + } + + if (color.hasOwnProperty("a")) { + a = color.a; + } + } + + a = boundAlpha(a); + + return { + ok: ok, + format: color.format || format, + r: mathMin(255, mathMax(rgb.r, 0)), + g: mathMin(255, mathMax(rgb.g, 0)), + b: mathMin(255, mathMax(rgb.b, 0)), + a: a + }; +} + +// Conversion Functions +// -------------------- + +// rgbToHsl, rgbToHsv, hslToRgb, hsvToRgb modified from: +// + +// rgbToRgb +// Handle bounds / percentage checking to conform to CSS color spec +// +// *Assumes:* r, g, b in [0, 255] or [0, 1] +// *Returns:* { r, g, b } in [0, 255] +function rgbToRgb(r, g, b){ + return { + r: bound01(r, 255) * 255, + g: bound01(g, 255) * 255, + b: bound01(b, 255) * 255 + }; +} + +// rgbToHsl +// Converts an RGB color value to HSL. +// *Assumes:* r, g, and b are contained in [0, 255] or [0, 1] +// *Returns:* { h, s, l } in [0,1] +function rgbToHsl(r, g, b) { + + r = bound01(r, 255); + g = bound01(g, 255); + b = bound01(b, 255); + + var max = mathMax(r, g, b), min = mathMin(r, g, b); + var h, s, l = (max + min) / 2; + + if(max == min) { + h = s = 0; // achromatic + } + else { + var d = max - min; + s = l > 0.5 ? d / (2 - max - min) : d / (max + min); + switch(max) { + case r: h = (g - b) / d + (g < b ? 6 : 0); break; + case g: h = (b - r) / d + 2; break; + case b: h = (r - g) / d + 4; break; + } + + h /= 6; + } + + return { h: h, s: s, l: l }; +} + +// hslToRgb +// Converts an HSL color value to RGB. +// *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100] +// *Returns:* { r, g, b } in the set [0, 255] +function hslToRgb(h, s, l) { + var r, g, b; + + h = bound01(h, 360); + s = bound01(s, 100); + l = bound01(l, 100); + + function hue2rgb(p, q, t) { + if(t < 0) t += 1; + if(t > 1) t -= 1; + if(t < 1/6) return p + (q - p) * 6 * t; + if(t < 1/2) return q; + if(t < 2/3) return p + (q - p) * (2/3 - t) * 6; + return p; + } + + if(s === 0) { + r = g = b = l; // achromatic + } + else { + var q = l < 0.5 ? l * (1 + s) : l + s - l * s; + var p = 2 * l - q; + r = hue2rgb(p, q, h + 1/3); + g = hue2rgb(p, q, h); + b = hue2rgb(p, q, h - 1/3); + } + + return { r: r * 255, g: g * 255, b: b * 255 }; +} + +// rgbToHsv +// Converts an RGB color value to HSV +// *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1] +// *Returns:* { h, s, v } in [0,1] +function rgbToHsv(r, g, b) { + + r = bound01(r, 255); + g = bound01(g, 255); + b = bound01(b, 255); + + var max = mathMax(r, g, b), min = mathMin(r, g, b); + var h, s, v = max; + + var d = max - min; + s = max === 0 ? 0 : d / max; + + if(max == min) { + h = 0; // achromatic + } + else { + switch(max) { + case r: h = (g - b) / d + (g < b ? 6 : 0); break; + case g: h = (b - r) / d + 2; break; + case b: h = (r - g) / d + 4; break; + } + h /= 6; + } + return { h: h, s: s, v: v }; +} + +// hsvToRgb +// Converts an HSV color value to RGB. +// *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100] +// *Returns:* { r, g, b } in the set [0, 255] + function hsvToRgb(h, s, v) { + + h = bound01(h, 360) * 6; + s = bound01(s, 100); + v = bound01(v, 100); + + var i = Math.floor(h), + f = h - i, + p = v * (1 - s), + q = v * (1 - f * s), + t = v * (1 - (1 - f) * s), + mod = i % 6, + r = [v, q, p, p, t, v][mod], + g = [t, v, v, q, p, p][mod], + b = [p, p, t, v, v, q][mod]; + + return { r: r * 255, g: g * 255, b: b * 255 }; +} + +// rgbToHex +// Converts an RGB color to hex +// Assumes r, g, and b are contained in the set [0, 255] +// Returns a 3 or 6 character hex +function rgbToHex(r, g, b, allow3Char) { + + var hex = [ + pad2(mathRound(r).toString(16)), + pad2(mathRound(g).toString(16)), + pad2(mathRound(b).toString(16)) + ]; + + // Return a 3 character hex if possible + if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) { + return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0); + } + + return hex.join(""); +} + +// rgbaToHex +// Converts an RGBA color plus alpha transparency to hex +// Assumes r, g, b are contained in the set [0, 255] and +// a in [0, 1]. Returns a 4 or 8 character rgba hex +function rgbaToHex(r, g, b, a, allow4Char) { + + var hex = [ + pad2(mathRound(r).toString(16)), + pad2(mathRound(g).toString(16)), + pad2(mathRound(b).toString(16)), + pad2(convertDecimalToHex(a)) + ]; + + // Return a 4 character hex if possible + if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) { + return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0); + } + + return hex.join(""); +} + +// rgbaToArgbHex +// Converts an RGBA color to an ARGB Hex8 string +// Rarely used, but required for "toFilter()" +function rgbaToArgbHex(r, g, b, a) { + + var hex = [ + pad2(convertDecimalToHex(a)), + pad2(mathRound(r).toString(16)), + pad2(mathRound(g).toString(16)), + pad2(mathRound(b).toString(16)) + ]; + + return hex.join(""); +} + +// equals +// Can be called with any tinycolor input +tinycolor.equals = function (color1, color2) { + if (!color1 || !color2) { return false; } + return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString(); +}; + +tinycolor.random = function() { + return tinycolor.fromRatio({ + r: mathRandom(), + g: mathRandom(), + b: mathRandom() + }); +}; + +// Modification Functions +// ---------------------- +// Thanks to less.js for some of the basics here +// + +function desaturate(color, amount) { + amount = (amount === 0) ? 0 : (amount || 10); + var hsl = tinycolor(color).toHsl(); + hsl.s -= amount / 100; + hsl.s = clamp01(hsl.s); + return tinycolor(hsl); +} + +function saturate(color, amount) { + amount = (amount === 0) ? 0 : (amount || 10); + var hsl = tinycolor(color).toHsl(); + hsl.s += amount / 100; + hsl.s = clamp01(hsl.s); + return tinycolor(hsl); +} + +function greyscale(color) { + return tinycolor(color).desaturate(100); +} + +function lighten (color, amount) { + amount = (amount === 0) ? 0 : (amount || 10); + var hsl = tinycolor(color).toHsl(); + hsl.l += amount / 100; + hsl.l = clamp01(hsl.l); + return tinycolor(hsl); +} + +function brighten(color, amount) { + amount = (amount === 0) ? 0 : (amount || 10); + var rgb = tinycolor(color).toRgb(); + rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * - (amount / 100)))); + rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * - (amount / 100)))); + rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * - (amount / 100)))); + return tinycolor(rgb); +} + +function darken (color, amount) { + amount = (amount === 0) ? 0 : (amount || 10); + var hsl = tinycolor(color).toHsl(); + hsl.l -= amount / 100; + hsl.l = clamp01(hsl.l); + return tinycolor(hsl); +} + +// Spin takes a positive or negative amount within [-360, 360] indicating the change of hue. +// Values outside of this range will be wrapped into this range. +function spin(color, amount) { + var hsl = tinycolor(color).toHsl(); + var hue = (hsl.h + amount) % 360; + hsl.h = hue < 0 ? 360 + hue : hue; + return tinycolor(hsl); +} + +// Combination Functions +// --------------------- +// Thanks to jQuery xColor for some of the ideas behind these +// + +function complement(color) { + var hsl = tinycolor(color).toHsl(); + hsl.h = (hsl.h + 180) % 360; + return tinycolor(hsl); +} + +function triad(color) { + var hsl = tinycolor(color).toHsl(); + var h = hsl.h; + return [ + tinycolor(color), + tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }), + tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l }) + ]; +} + +function tetrad(color) { + var hsl = tinycolor(color).toHsl(); + var h = hsl.h; + return [ + tinycolor(color), + tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }), + tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }), + tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l }) + ]; +} + +function splitcomplement(color) { + var hsl = tinycolor(color).toHsl(); + var h = hsl.h; + return [ + tinycolor(color), + tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l}), + tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l}) + ]; +} + +function analogous(color, results, slices) { + results = results || 6; + slices = slices || 30; + + var hsl = tinycolor(color).toHsl(); + var part = 360 / slices; + var ret = [tinycolor(color)]; + + for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results; ) { + hsl.h = (hsl.h + part) % 360; + ret.push(tinycolor(hsl)); + } + return ret; +} + +function monochromatic(color, results) { + results = results || 6; + var hsv = tinycolor(color).toHsv(); + var h = hsv.h, s = hsv.s, v = hsv.v; + var ret = []; + var modification = 1 / results; + + while (results--) { + ret.push(tinycolor({ h: h, s: s, v: v})); + v = (v + modification) % 1; + } + + return ret; +} + +// Utility Functions +// --------------------- + +tinycolor.mix = function(color1, color2, amount) { + amount = (amount === 0) ? 0 : (amount || 50); + + var rgb1 = tinycolor(color1).toRgb(); + var rgb2 = tinycolor(color2).toRgb(); + + var p = amount / 100; + + var rgba = { + r: ((rgb2.r - rgb1.r) * p) + rgb1.r, + g: ((rgb2.g - rgb1.g) * p) + rgb1.g, + b: ((rgb2.b - rgb1.b) * p) + rgb1.b, + a: ((rgb2.a - rgb1.a) * p) + rgb1.a + }; + + return tinycolor(rgba); +}; + +// Readability Functions +// --------------------- +// false +// tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false +tinycolor.isReadable = function(color1, color2, wcag2) { + var readability = tinycolor.readability(color1, color2); + var wcag2Parms, out; + + out = false; + + wcag2Parms = validateWCAG2Parms(wcag2); + switch (wcag2Parms.level + wcag2Parms.size) { + case "AAsmall": + case "AAAlarge": + out = readability >= 4.5; + break; + case "AAlarge": + out = readability >= 3; + break; + case "AAAsmall": + out = readability >= 7; + break; + } + return out; + +}; + +// mostReadable +// Given a base color and a list of possible foreground or background +// colors for that base, returns the most readable color. +// Optionally returns Black or White if the most readable color is unreadable. +// *Example* +// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255" +// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff" +// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3" +// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff" +tinycolor.mostReadable = function(baseColor, colorList, args) { + var bestColor = null; + var bestScore = 0; + var readability; + var includeFallbackColors, level, size ; + args = args || {}; + includeFallbackColors = args.includeFallbackColors ; + level = args.level; + size = args.size; + + for (var i= 0; i < colorList.length ; i++) { + readability = tinycolor.readability(baseColor, colorList[i]); + if (readability > bestScore) { + bestScore = readability; + bestColor = tinycolor(colorList[i]); + } + } + + if (tinycolor.isReadable(baseColor, bestColor, {"level":level,"size":size}) || !includeFallbackColors) { + return bestColor; + } + else { + args.includeFallbackColors=false; + return tinycolor.mostReadable(baseColor,["#fff", "#000"],args); + } +}; + +// Big List of Colors +// ------------------ +// +var names = tinycolor.names = { + aliceblue: "f0f8ff", + antiquewhite: "faebd7", + aqua: "0ff", + aquamarine: "7fffd4", + azure: "f0ffff", + beige: "f5f5dc", + bisque: "ffe4c4", + black: "000", + blanchedalmond: "ffebcd", + blue: "00f", + blueviolet: "8a2be2", + brown: "a52a2a", + burlywood: "deb887", + burntsienna: "ea7e5d", + cadetblue: "5f9ea0", + chartreuse: "7fff00", + chocolate: "d2691e", + coral: "ff7f50", + cornflowerblue: "6495ed", + cornsilk: "fff8dc", + crimson: "dc143c", + cyan: "0ff", + darkblue: "00008b", + darkcyan: "008b8b", + darkgoldenrod: "b8860b", + darkgray: "a9a9a9", + darkgreen: "006400", + darkgrey: "a9a9a9", + darkkhaki: "bdb76b", + darkmagenta: "8b008b", + darkolivegreen: "556b2f", + darkorange: "ff8c00", + darkorchid: "9932cc", + darkred: "8b0000", + darksalmon: "e9967a", + darkseagreen: "8fbc8f", + darkslateblue: "483d8b", + darkslategray: "2f4f4f", + darkslategrey: "2f4f4f", + darkturquoise: "00ced1", + darkviolet: "9400d3", + deeppink: "ff1493", + deepskyblue: "00bfff", + dimgray: "696969", + dimgrey: "696969", + dodgerblue: "1e90ff", + firebrick: "b22222", + floralwhite: "fffaf0", + forestgreen: "228b22", + fuchsia: "f0f", + gainsboro: "dcdcdc", + ghostwhite: "f8f8ff", + gold: "ffd700", + goldenrod: "daa520", + gray: "808080", + green: "008000", + greenyellow: "adff2f", + grey: "808080", + honeydew: "f0fff0", + hotpink: "ff69b4", + indianred: "cd5c5c", + indigo: "4b0082", + ivory: "fffff0", + khaki: "f0e68c", + lavender: "e6e6fa", + lavenderblush: "fff0f5", + lawngreen: "7cfc00", + lemonchiffon: "fffacd", + lightblue: "add8e6", + lightcoral: "f08080", + lightcyan: "e0ffff", + lightgoldenrodyellow: "fafad2", + lightgray: "d3d3d3", + lightgreen: "90ee90", + lightgrey: "d3d3d3", + lightpink: "ffb6c1", + lightsalmon: "ffa07a", + lightseagreen: "20b2aa", + lightskyblue: "87cefa", + lightslategray: "789", + lightslategrey: "789", + lightsteelblue: "b0c4de", + lightyellow: "ffffe0", + lime: "0f0", + limegreen: "32cd32", + linen: "faf0e6", + magenta: "f0f", + maroon: "800000", + mediumaquamarine: "66cdaa", + mediumblue: "0000cd", + mediumorchid: "ba55d3", + mediumpurple: "9370db", + mediumseagreen: "3cb371", + mediumslateblue: "7b68ee", + mediumspringgreen: "00fa9a", + mediumturquoise: "48d1cc", + mediumvioletred: "c71585", + midnightblue: "191970", + mintcream: "f5fffa", + mistyrose: "ffe4e1", + moccasin: "ffe4b5", + navajowhite: "ffdead", + navy: "000080", + oldlace: "fdf5e6", + olive: "808000", + olivedrab: "6b8e23", + orange: "ffa500", + orangered: "ff4500", + orchid: "da70d6", + palegoldenrod: "eee8aa", + palegreen: "98fb98", + paleturquoise: "afeeee", + palevioletred: "db7093", + papayawhip: "ffefd5", + peachpuff: "ffdab9", + peru: "cd853f", + pink: "ffc0cb", + plum: "dda0dd", + powderblue: "b0e0e6", + purple: "800080", + rebeccapurple: "663399", + red: "f00", + rosybrown: "bc8f8f", + royalblue: "4169e1", + saddlebrown: "8b4513", + salmon: "fa8072", + sandybrown: "f4a460", + seagreen: "2e8b57", + seashell: "fff5ee", + sienna: "a0522d", + silver: "c0c0c0", + skyblue: "87ceeb", + slateblue: "6a5acd", + slategray: "708090", + slategrey: "708090", + snow: "fffafa", + springgreen: "00ff7f", + steelblue: "4682b4", + tan: "d2b48c", + teal: "008080", + thistle: "d8bfd8", + tomato: "ff6347", + turquoise: "40e0d0", + violet: "ee82ee", + wheat: "f5deb3", + white: "fff", + whitesmoke: "f5f5f5", + yellow: "ff0", + yellowgreen: "9acd32" +}; + +// Make it easy to access colors via hexNames[hex] +var hexNames = tinycolor.hexNames = flip(names); + +// Utilities +// --------- + +// { 'name1': 'val1' } becomes { 'val1': 'name1' } +function flip(o) { + var flipped = { }; + for (var i in o) { + if (o.hasOwnProperty(i)) { + flipped[o[i]] = i; + } + } + return flipped; +} + +// Return a valid alpha value [0,1] with all invalid values being set to 1 +function boundAlpha(a) { + a = parseFloat(a); + + if (isNaN(a) || a < 0 || a > 1) { + a = 1; + } + + return a; +} + +// Take input from [0, n] and return it as [0, 1] +function bound01(n, max) { + if (isOnePointZero(n)) { n = "100%"; } + + var processPercent = isPercentage(n); + n = mathMin(max, mathMax(0, parseFloat(n))); + + // Automatically convert percentage into number + if (processPercent) { + n = parseInt(n * max, 10) / 100; + } + + // Handle floating point rounding errors + if ((Math.abs(n - max) < 0.000001)) { + return 1; + } + + // Convert into [0, 1] range if it isn't already + return (n % max) / parseFloat(max); +} + +// Force a number between 0 and 1 +function clamp01(val) { + return mathMin(1, mathMax(0, val)); +} + +// Parse a base-16 hex value into a base-10 integer +function parseIntFromHex(val) { + return parseInt(val, 16); +} + +// Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1 +// +function isOnePointZero(n) { + return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1; +} + +// Check to see if string passed in is a percentage +function isPercentage(n) { + return typeof n === "string" && n.indexOf('%') != -1; +} + +// Force a hex value to have 2 characters +function pad2(c) { + return c.length == 1 ? '0' + c : '' + c; +} + +// Replace a decimal with it's percentage value +function convertToPercentage(n) { + if (n <= 1) { + n = (n * 100) + "%"; + } + + return n; +} + +// Converts a decimal to a hex value +function convertDecimalToHex(d) { + return Math.round(parseFloat(d) * 255).toString(16); +} +// Converts a hex value to a decimal +function convertHexToDecimal(h) { + return (parseIntFromHex(h) / 255); +} + +var matchers = (function() { + + // + var CSS_INTEGER = "[-\\+]?\\d+%?"; + + // + var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?"; + + // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome. + var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")"; + + // Actual matching. + // Parentheses and commas are optional, but not required. + // Whitespace can take the place of commas or opening paren + var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?"; + var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?"; + + return { + CSS_UNIT: new RegExp(CSS_UNIT), + rgb: new RegExp("rgb" + PERMISSIVE_MATCH3), + rgba: new RegExp("rgba" + PERMISSIVE_MATCH4), + hsl: new RegExp("hsl" + PERMISSIVE_MATCH3), + hsla: new RegExp("hsla" + PERMISSIVE_MATCH4), + hsv: new RegExp("hsv" + PERMISSIVE_MATCH3), + hsva: new RegExp("hsva" + PERMISSIVE_MATCH4), + hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, + hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, + hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, + hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/ + }; +})(); + +// isValidCSSUnit +// Take in a single string / number and check to see if it looks like a CSS unit +// (see matchers above for definition). +function isValidCSSUnit(color) { + return !!matchers.CSS_UNIT.exec(color); +} + +// stringInputToObject +// Permissive string parsing. Take in a number of formats, and output an object +// based on detected format. Returns { r, g, b } or { h, s, l } or { h, s, v} +function stringInputToObject(color) { + + color = color.replace(trimLeft, '').replace(trimRight, '').toLowerCase(); + var named = false; + if (names[color]) { + color = names[color]; + named = true; + } + else if (color == 'transparent') { + return { r: 0, g: 0, b: 0, a: 0, format: "name" }; + } + + // Try to match string input using regular expressions. + // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360] + // Just return an object and let the conversion functions handle that. + // This way the result will be the same whether the tinycolor is initialized with string or object. + var match; + if ((match = matchers.rgb.exec(color))) { + return { r: match[1], g: match[2], b: match[3] }; + } + if ((match = matchers.rgba.exec(color))) { + return { r: match[1], g: match[2], b: match[3], a: match[4] }; + } + if ((match = matchers.hsl.exec(color))) { + return { h: match[1], s: match[2], l: match[3] }; + } + if ((match = matchers.hsla.exec(color))) { + return { h: match[1], s: match[2], l: match[3], a: match[4] }; + } + if ((match = matchers.hsv.exec(color))) { + return { h: match[1], s: match[2], v: match[3] }; + } + if ((match = matchers.hsva.exec(color))) { + return { h: match[1], s: match[2], v: match[3], a: match[4] }; + } + if ((match = matchers.hex8.exec(color))) { + return { + r: parseIntFromHex(match[1]), + g: parseIntFromHex(match[2]), + b: parseIntFromHex(match[3]), + a: convertHexToDecimal(match[4]), + format: named ? "name" : "hex8" + }; + } + if ((match = matchers.hex6.exec(color))) { + return { + r: parseIntFromHex(match[1]), + g: parseIntFromHex(match[2]), + b: parseIntFromHex(match[3]), + format: named ? "name" : "hex" + }; + } + if ((match = matchers.hex4.exec(color))) { + return { + r: parseIntFromHex(match[1] + '' + match[1]), + g: parseIntFromHex(match[2] + '' + match[2]), + b: parseIntFromHex(match[3] + '' + match[3]), + a: convertHexToDecimal(match[4] + '' + match[4]), + format: named ? "name" : "hex8" + }; + } + if ((match = matchers.hex3.exec(color))) { + return { + r: parseIntFromHex(match[1] + '' + match[1]), + g: parseIntFromHex(match[2] + '' + match[2]), + b: parseIntFromHex(match[3] + '' + match[3]), + format: named ? "name" : "hex" + }; + } + + return false; +} + +function validateWCAG2Parms(parms) { + // return valid WCAG2 parms for isReadable. + // If input parms are invalid, return {"level":"AA", "size":"small"} + var level, size; + parms = parms || {"level":"AA", "size":"small"}; + level = (parms.level || "AA").toUpperCase(); + size = (parms.size || "small").toLowerCase(); + if (level !== "AA" && level !== "AAA") { + level = "AA"; + } + if (size !== "small" && size !== "large") { + size = "small"; + } + return {"level":level, "size":size}; +} + +this.tinycolor = tinycolor; + +})()`; +} +// It is hacky way to make this function will be compiled preferentially by less +// resolve error: `ReferenceError: colorPalette is not defined` +// https://github.com/ant-design/ant-motion/issues/44 +.tinyColorMixin(); diff --git a/demo/less/theme.less b/demo/less/theme.less new file mode 100644 index 000000000..3937a598f --- /dev/null +++ b/demo/less/theme.less @@ -0,0 +1,301 @@ +@import "./color/colors"; + +// http://stackoverflow.com/a/13611748/3040605 +@font-face { + font-family: "Helvetica Neue For Number"; + src: local("Helvetica Neue"); + unicode-range: U+30-39; +} + +// Prefix +@ant-prefix : ant; + +// Color +@primary-color : @blue-6; +@info-color : @blue-6; +@success-color : @green-6; +@error-color : @red-6; +@highlight-color : @red-6; +@warning-color : @yellow-6; +@normal-color : #d9d9d9; + +@primary-1: color(~`colorPalette("@{primary-color}", 1)`); // replace tint(@primary-color, 90%) +@primary-2: color(~`colorPalette("@{primary-color}", 2)`); // replace tint(@primary-color, 80%) +@primary-3: color(~`colorPalette("@{primary-color}", 3)`); +@primary-4: color(~`colorPalette("@{primary-color}", 4)`); +@primary-5: color(~`colorPalette("@{primary-color}", 5)`); // replace tint(@primary-color, 20%) +@primary-6: @primary-color; // don't use, use @primary-color +@primary-7: color(~`colorPalette("@{primary-color}", 7)`); // replace shade(@primary-color, 5%) +@primary-8: color(~`colorPalette("@{primary-color}", 8)`); +@primary-9: color(~`colorPalette("@{primary-color}", 9)`); +@primary-10: color(~`colorPalette("@{primary-color}", 10)`); + +// ------ Base & Require ------ +@body-background : #fff; +@component-background : #fff; +@font-family : "Helvetica Neue For Number", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; +@code-family : Consolas, Menlo, Courier, monospace; +@heading-color : fade(#000, 85%); +@text-color : fade(#000, 65%); +@text-color-secondary : fade(#000, 43%); +@disabled-color : fade(#000, 25%); +@heading-color-dark : fade(#fff, 97%); +@text-color-dark : fade(#fff, 91%); +@text-color-secondary-dark: fade(#fff, 67%); +@disabled-color-dark : fade(#fff, 35%); +@font-size-base : 12px; +@font-size-lg : @font-size-base + 2px; +@line-height-base : 1.5; +@border-radius-base : 4px; +@border-radius-sm : 2px; + +// ICONFONT +@iconfont-css-prefix : anticon; +@icon-url : "https://at.alicdn.com/t/font_0qcp222wvwijm7vi"; + +// LINK +@link-color : @primary-color; +@link-hover-color : @primary-5; +@link-active-color : @primary-7; +@link-hover-decoration : none; + +// Animation +@ease-out : cubic-bezier(0.215, 0.61, 0.355, 1); +@ease-in : cubic-bezier(0.55, 0.055, 0.675, 0.19); +@ease-in-out : cubic-bezier(0.645, 0.045, 0.355, 1); +@ease-out-back : cubic-bezier(0.12, 0.4, 0.29, 1.46); +@ease-in-back : cubic-bezier(0.71, -0.46, 0.88, 0.6); +@ease-in-out-back : cubic-bezier(0.71, -0.46, 0.29, 1.46); +@ease-out-circ : cubic-bezier(0.08, 0.82, 0.17, 1); +@ease-in-circ : cubic-bezier(0.6, 0.04, 0.98, 0.34); +@ease-in-out-circ : cubic-bezier(0.78, 0.14, 0.15, 0.86); +@ease-out-quint : cubic-bezier(0.23, 1, 0.32, 1); +@ease-in-quint : cubic-bezier(0.755, 0.05, 0.855, 0.06); +@ease-in-out-quint : cubic-bezier(0.86, 0, 0.07, 1); + +// Border color +@border-color-base : #d9d9d9; // base border outline a component +@border-color-split : #e9e9e9; // split border inside a component +@border-width-base : 1px; // width of the border for a component +@border-style-base : solid; // style of a components border + +// Outline +@outline-blur-size : 0; +@outline-width : 2px; +@outline-color : @primary-color; + +// Background color +@background-color-base : #f7f7f7; // basic gray background + +// Shadow +@shadow-color : rgba(0, 0, 0, .2); +@box-shadow-base : @shadow-1-down; +@shadow-1-up : 0 -1px 6px @shadow-color; +@shadow-1-down : 0 1px 6px @shadow-color; +@shadow-1-left : -1px 0 6px @shadow-color; +@shadow-1-right : 1px 0 6px @shadow-color; +@shadow-2 : 0 2px 8px @shadow-color; + +// Buttons +@btn-font-weight : 500; +@btn-border-radius-base : @border-radius-base; +@btn-border-radius-sm : @border-radius-base; + +@btn-primary-color : #fff; +@btn-primary-bg : @primary-color; + +@btn-default-color : @text-color; +@btn-default-bg : #fff; +@btn-default-border : @border-color-base; + +@btn-danger-color : @error-color; +@btn-danger-bg : @background-color-base; +@btn-danger-border : @border-color-base; + +@btn-disable-color : @disabled-color; +@btn-disable-bg : @background-color-base; +@btn-disable-border : @border-color-base; + +@btn-padding-base : 0 15px; +@btn-font-size-lg : @font-size-lg; +@btn-padding-lg : @btn-padding-base; +@btn-padding-sm : 0 7px; + +@btn-height-base : 28px; +@btn-height-lg : 32px; +@btn-height-sm : 22px; + +@btn-circle-size : @btn-height-base; +@btn-circle-size-lg : @btn-height-lg; +@btn-circle-size-sm : @btn-height-sm; + +@btn-group-border : @primary-7; + +// Radio buttons +@radio-button-bg : @btn-default-bg; +@radio-button-color : @btn-default-color; + +// Media queries breakpoints +// Extra small screen / phone +@screen-xs : 480px; +@screen-xs-min : @screen-xs; + +// Small screen / tablet +@screen-sm : 768px; +@screen-sm-min : @screen-sm; + +// Medium screen / desktop +@screen-md : 992px; +@screen-md-min : @screen-md; + +// Large screen / wide desktop +@screen-lg : 1200px; +@screen-lg-min : @screen-lg; + +// Extra Large screen / full hd +@screen-xl : 1600px; +@screen-xl-min : @screen-xl; + +// provide a maximum +@screen-xs-max : (@screen-sm-min - 1); +@screen-sm-max : (@screen-md-min - 1); +@screen-md-max : (@screen-lg-min - 1); +@screen-lg-max : (@screen-xl-min - 1); + +// Grid system +@grid-columns : 24; +@grid-gutter-width : 0; + +// Layout +@layout-body-background : #ececec; +@layout-header-background : #404040; +@layout-header-height : 64px; +@layout-header-padding : 0 50px; +@layout-footer-padding : 24px 50px; +@layout-sider-background : @layout-header-background; +@layout-trigger-height : 48px; +@layout-zero-trigger-width : 36px; +@layout-zero-trigger-height : 42px; + +// z-index list +@zindex-affix : 10; +@zindex-back-top : 10; +@zindex-modal-mask : 1000; +@zindex-modal : 1000; +@zindex-notification : 1010; +@zindex-message : 1010; +@zindex-popover : 1030; +@zindex-picker : 1050; +@zindex-dropdown : 1050; +@zindex-tooltip : 1060; + +// Animation +@animation-duration-slow: .3s; // Modal +@animation-duration-base: .2s; +@animation-duration-fast: .1s; // Tooltip + +// Form +// --- +@label-required-color : @highlight-color; +@label-color : @text-color; +@form-item-margin-bottom : 24px; +@form-item-trailing-colon : true; + +// Input +// --- +@input-height-base : 28px; +@input-height-lg : 32px; +@input-height-sm : 22px; +@input-padding-horizontal : 7px; +@input-padding-vertical-base : 4px; +@input-padding-vertical-sm : 1px; +@input-padding-vertical-lg : 6px; +@input-placeholder-color : #ccc; +@input-color : @text-color; +@input-border-color : @border-color-base; +@input-bg : #fff; +@input-hover-border-color : @primary-color; +@input-disabled-bg : @background-color-base; + +// Tooltip +// --- +//* Tooltip max width +@tooltip-max-width: 250px; +//** Tooltip text color +@tooltip-color: #fff; +//** Tooltip background color +@tooltip-bg: rgba(64, 64, 64, .85); +//** Tooltip arrow width +@tooltip-arrow-width: 5px; +//** Tooltip distance with trigger +@tooltip-distance: @tooltip-arrow-width - 1 + 4; +//** Tooltip arrow color +@tooltip-arrow-color: @tooltip-bg; + +// Popover +// --- +//** Popover body background color +@popover-bg: #fff; +//** Popover maximum width +@popover-min-width: 177px; +//** Popover arrow width +@popover-arrow-width: 4px; +//** Popover arrow color +@popover-arrow-color: @popover-bg; +//** Popover outer arrow width +@popover-arrow-outer-width: (@popover-arrow-width + 1); +//** Popover outer arrow color +@popover-arrow-outer-color: fadeout(@border-color-base, 30%); + +// Modal +// -- +@modal-mask-bg: rgba(55, 55, 55, 0.6); + +// Progress +// -- +@process-default-color: @primary-color; + +// Menu +// --- +@menu-dark-bg: @layout-header-background; +@menu-dark-submenu-bg: #333; + +// Spin +// --- +@spin-dot-size-sm: 14px; +@spin-dot-size: 20px; +@spin-dot-size-lg: 32px; + +// Table +// -- +@table-header-bg: @background-color-base; +@table-row-hover-bg: @primary-1; +@table-padding-vertical: 16px; +@table-padding-horizontal: 8px; + +// TimePicker +// --- +@time-picker-panel-column-width: 56px; +@time-picker-panel-width: @time-picker-panel-column-width * 3; + +// Carousel +// --- +@carousel-dot-width: 16px; +@carousel-dot-height: 3px; +@carousel-dot-active-width: 24px; + +// Badge +// --- +@badge-height: 20px; +@badge-dot-size: 8px; + +// Rate +// --- +@rate-star-color: #f5a623; +@rate-star-bg: #e9e9e9; + +// Card +// --- +@card-head-height: 48px; +@card-head-color: @heading-color; +@card-head-background: @component-background; diff --git a/docs/demo.css b/docs/demo.css index 2c14653b2..eac8307e3 100644 --- a/docs/demo.css +++ b/docs/demo.css @@ -73,6 +73,11 @@ body.bi-theme-dark { /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ +@font-face { + font-family: "Helvetica Neue For Number"; + src: local("Helvetica Neue"); + unicode-range: U+30-39; +} /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/docs/demo.js b/docs/demo.js index 466ad9fd2..2444b09d1 100644 --- a/docs/demo.js +++ b/docs/demo.js @@ -2950,7 +2950,7 @@ BI.shortcut("demo.combo", Demo.Func);Demo.Func = BI.inherit(BI.Widget, { }]; var popup = BI.createWidget({ type: "bi.button_group", - cls: "bi-border layout-bg3", + cls: "bi-border", items: items, layouts: [{ type: "bi.vertical" diff --git a/src/css/resource/font.css b/src/css/resource/font.css index ac9eeba8c..e88b35ca5 100644 --- a/src/css/resource/font.css +++ b/src/css/resource/font.css @@ -1,5 +1,8 @@ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ +.close-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-font .b-font:before { content: "\e600"; color: inherit; @@ -9,6 +12,9 @@ content: "\e600"; color: inherit; } +.close-red-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-red-font .b-font:before { content: "\e600"; color: #e85050; @@ -18,6 +24,9 @@ content: "\e600"; color: #e85050; } +.close-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-h-font .b-font:before { content: "\e600"; color: inherit; @@ -33,6 +42,9 @@ content: "\e600"; color: inherit; } +.close-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-e-font .b-font:before { content: "\e600"; color: inherit; @@ -45,17 +57,20 @@ } .close-e-font.active .b-font:before { content: "\e600"; - color: #009de3; + color: #3f8ce8; } .close-e-font:active .b-font:before { content: "\e600"; - color: #009de3; + color: #3f8ce8; } .close-e-font.native .b-font:before, .close-e-font.disabled .b-font:before { content: "\e600"; color: inherit; } +.close-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-ha-font .b-font:before { content: "\e600"; color: inherit; @@ -69,13 +84,16 @@ .close-ha-font:active .b-font:before, .close-ha-font.active .b-font:before { content: "\e600"; - color: #009de3; + color: #3f8ce8; } .close-ha-font.native .b-font:before, .close-ha-font.disabled .b-font:before { content: "\e600"; color: inherit; } +.search-close-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .search-close-h-font .b-font:before { content: "\e600"; color: inherit; @@ -91,6 +109,9 @@ content: "\e600"; color: inherit; } +.trigger-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .trigger-font .b-font:before { content: "\e603"; color: inherit; @@ -100,6 +121,9 @@ content: "\e603"; color: inherit; } +.trigger-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .trigger-h-font .b-font:before { content: "\e603"; color: inherit; @@ -115,6 +139,9 @@ content: "\e603"; color: inherit; } +.trigger-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .trigger-ha-font .b-font:before { content: "\e603"; color: inherit; @@ -128,13 +155,16 @@ .trigger-ha-font:active .b-font:before, .trigger-ha-font.active .b-font:before { content: "\e603"; - color: #009de3; + color: #3f8ce8; } .trigger-ha-font.native .b-font:before, .trigger-ha-font.disabled .b-font:before { content: "\e603"; color: inherit; } +.pre-page-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pre-page-font .b-font:before { content: "\e601"; color: inherit; @@ -144,6 +174,9 @@ content: "\e601"; color: inherit; } +.pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pre-page-h-font .b-font:before { content: "\e601"; color: inherit; @@ -159,6 +192,9 @@ content: "\e601"; color: inherit; } +.pre-page-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pre-page-ha-font .b-font:before { content: "\e601"; color: inherit; @@ -172,13 +208,16 @@ .pre-page-ha-font:active .b-font:before, .pre-page-ha-font.active .b-font:before { content: "\e601"; - color: #009de3; + color: #3f8ce8; } .pre-page-ha-font.native .b-font:before, .pre-page-ha-font.disabled .b-font:before { content: "\e601"; color: inherit; } +.next-page-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .next-page-font .b-font:before { content: "\e602"; color: inherit; @@ -188,6 +227,9 @@ content: "\e602"; color: inherit; } +.next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .next-page-h-font .b-font:before { content: "\e602"; color: inherit; @@ -203,6 +245,9 @@ content: "\e602"; color: inherit; } +.next-page-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .next-page-ha-font .b-font:before { content: "\e602"; color: inherit; @@ -216,13 +261,16 @@ .next-page-ha-font:active .b-font:before, .next-page-ha-font.active .b-font:before { content: "\e602"; - color: #009de3; + color: #3f8ce8; } .next-page-ha-font.native .b-font:before, .next-page-ha-font.disabled .b-font:before { content: "\e602"; color: inherit; } +.search-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .search-font .b-font:before { content: "\e604"; color: inherit; @@ -232,6 +280,9 @@ content: "\e604"; color: inherit; } +.search-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .search-h-font .b-font:before { content: "\e604"; color: inherit; @@ -247,6 +298,9 @@ content: "\e604"; color: inherit; } +.search-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .search-ha-font .b-font:before { content: "\e604"; color: inherit; @@ -260,13 +314,16 @@ .search-ha-font:active .b-font:before, .search-ha-font.active .b-font:before { content: "\e604"; - color: #009de3; + color: #3f8ce8; } .search-ha-font.native .b-font:before, .search-ha-font.disabled .b-font:before { content: "\e604"; color: inherit; } +.share-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .share-font .b-font:before { content: "\e65a"; color: inherit; @@ -276,6 +333,9 @@ content: "\e65a"; color: inherit; } +.share-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .share-h-font .b-font:before { content: "\e65a"; color: inherit; @@ -291,6 +351,9 @@ content: "\e65a"; color: inherit; } +.share-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .share-ha-font .b-font:before { content: "\e65a"; color: inherit; @@ -304,7 +367,7 @@ .share-ha-font:active .b-font:before, .share-ha-font.active .b-font:before { content: "\e65a"; - color: #009de3; + color: #3f8ce8; } .share-ha-font.native .b-font:before, .share-ha-font.disabled .b-font:before { @@ -312,6 +375,9 @@ color: inherit; } /**维度/指标 下拉列表图标字体 ~begin~**/ +.delete-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-font .b-font:before { content: "\e605"; color: inherit; @@ -321,6 +387,9 @@ content: "\e605"; color: inherit; } +.delete-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-h-font .b-font:before { content: "\e605"; color: inherit; @@ -336,6 +405,9 @@ content: "\e605"; color: inherit; } +.delete-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-ha-font .b-font:before { content: "\e605"; color: inherit; @@ -349,13 +421,16 @@ .delete-ha-font:active .b-font:before, .delete-ha-font.active .b-font:before { content: "\e605"; - color: #009de3; + color: #3f8ce8; } .delete-ha-font.native .b-font:before, .delete-ha-font.disabled .b-font:before { content: "\e605"; color: inherit; } +.delete-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-e-font .b-font:before { content: "\e605"; color: inherit; @@ -368,17 +443,20 @@ } .delete-e-font.active .b-font:before { content: "\e605"; - color: #009de3; + color: #3f8ce8; } .delete-e-font:active .b-font:before { content: "\e605"; - color: #009de3; + color: #3f8ce8; } .delete-e-font.native .b-font:before, .delete-e-font.disabled .b-font:before { content: "\e605"; color: inherit; } +.dot-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dot-font .b-font:before { content: "\e606"; color: #1a1a1a; @@ -388,6 +466,9 @@ content: "\e606"; color: #1a1a1a; } +.dot-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dot-h-font .b-font:before { content: "\e606"; color: #1a1a1a; @@ -403,6 +484,9 @@ content: "\e606"; color: #1a1a1a; } +.dot-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dot-ha-font .b-font:before { content: "\e606"; color: #ffffff; @@ -423,6 +507,9 @@ content: "\e606"; color: #ffffff; } +.dot-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dot-e-font .b-font:before { content: "\e606"; color: #ffffff; @@ -446,6 +533,9 @@ content: "\e606"; color: #ffffff; } +.pull-right-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-right-font .b-font:before { content: "\e607"; color: inherit; @@ -455,6 +545,9 @@ content: "\e607"; color: inherit; } +.pull-right-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-right-h-font .b-font:before { content: "\e607"; color: inherit; @@ -470,6 +563,9 @@ content: "\e607"; color: inherit; } +.pull-right-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-right-ha-font .b-font:before { content: "\e607"; color: inherit; @@ -483,13 +579,16 @@ .pull-right-ha-font:active .b-font:before, .pull-right-ha-font.active .b-font:before { content: "\e607"; - color: #009de3; + color: #3f8ce8; } .pull-right-ha-font.native .b-font:before, .pull-right-ha-font.disabled .b-font:before { content: "\e607"; color: inherit; } +.pull-right-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-right-e-font .b-font:before { content: "\e607"; color: inherit; @@ -502,17 +601,20 @@ } .pull-right-e-font.active .b-font:before { content: "\e607"; - color: #009de3; + color: #3f8ce8; } .pull-right-e-font:active .b-font:before { content: "\e607"; - color: #009de3; + color: #3f8ce8; } .pull-right-e-font.native .b-font:before, .pull-right-e-font.disabled .b-font:before { content: "\e607"; color: inherit; } +.copy-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .copy-font .b-font:before { content: "\e610"; color: inherit; @@ -522,6 +624,9 @@ content: "\e610"; color: inherit; } +.copy-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .copy-h-font .b-font:before { content: "\e610"; color: #1a1a1a; @@ -537,6 +642,9 @@ content: "\e610"; color: #1a1a1a; } +.copy-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .copy-ha-font .b-font:before { content: "\e610"; color: inherit; @@ -550,13 +658,16 @@ .copy-ha-font:active .b-font:before, .copy-ha-font.active .b-font:before { content: "\e610"; - color: #009de3; + color: #3f8ce8; } .copy-ha-font.native .b-font:before, .copy-ha-font.disabled .b-font:before { content: "\e610"; color: inherit; } +.copy-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .copy-e-font .b-font:before { content: "\e610"; color: inherit; @@ -569,17 +680,20 @@ } .copy-e-font.active .b-font:before { content: "\e610"; - color: #009de3; + color: #3f8ce8; } .copy-e-font:active .b-font:before { content: "\e610"; - color: #009de3; + color: #3f8ce8; } .copy-e-font.native .b-font:before, .copy-e-font.disabled .b-font:before { content: "\e610"; color: inherit; } +.check-mark-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-mark-font .b-font:before { content: "\e611"; color: inherit; @@ -589,6 +703,9 @@ content: "\e611"; color: inherit; } +.check-mark-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-mark-h-font .b-font:before { content: "\e611"; color: inherit; @@ -604,6 +721,9 @@ content: "\e611"; color: inherit; } +.check-mark-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-mark-ha-font .b-font:before { content: "\e611"; color: inherit; @@ -617,13 +737,16 @@ .check-mark-ha-font:active .b-font:before, .check-mark-ha-font.active .b-font:before { content: "\e611"; - color: #009de3; + color: #3f8ce8; } .check-mark-ha-font.native .b-font:before, .check-mark-ha-font.disabled .b-font:before { content: "\e611"; color: inherit; } +.check-mark-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-mark-e-font .b-font:before { content: "\e611"; color: inherit; @@ -636,17 +759,20 @@ } .check-mark-e-font.active .b-font:before { content: "\e611"; - color: #009de3; + color: #3f8ce8; } .check-mark-e-font:active .b-font:before { content: "\e611"; - color: #009de3; + color: #3f8ce8; } .check-mark-e-font.native .b-font:before, .check-mark-e-font.disabled .b-font:before { content: "\e611"; color: inherit; } +.dimension-from-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dimension-from-font .b-font:before { content: "\e612"; color: inherit; @@ -656,6 +782,9 @@ content: "\e612"; color: inherit; } +.dimension-from-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dimension-from-h-font .b-font:before { content: "\e612"; color: inherit; @@ -671,6 +800,9 @@ content: "\e612"; color: inherit; } +.dimension-from-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dimension-from-ha-font .b-font:before { content: "\e612"; color: inherit; @@ -684,13 +816,16 @@ .dimension-from-ha-font:active .b-font:before, .dimension-from-ha-font.active .b-font:before { content: "\e612"; - color: #009de3; + color: #3f8ce8; } .dimension-from-ha-font.native .b-font:before, .dimension-from-ha-font.disabled .b-font:before { content: "\e612"; color: inherit; } +.dimension-from-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dimension-from-e-font .b-font:before { content: "\e612"; color: inherit; @@ -703,17 +838,20 @@ } .dimension-from-e-font.active .b-font:before { content: "\e612"; - color: #009de3; + color: #3f8ce8; } .dimension-from-e-font:active .b-font:before { content: "\e612"; - color: #009de3; + color: #3f8ce8; } .dimension-from-e-font.native .b-font:before, .dimension-from-e-font.disabled .b-font:before { content: "\e612"; color: inherit; } +.chart-type-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-type-font .b-font:before { content: "\e613"; color: inherit; @@ -723,6 +861,9 @@ content: "\e613"; color: inherit; } +.chart-type-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-type-h-font .b-font:before { content: "\e613"; color: inherit; @@ -738,6 +879,9 @@ content: "\e613"; color: inherit; } +.chart-type-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-type-ha-font .b-font:before { content: "\e613"; color: inherit; @@ -751,13 +895,16 @@ .chart-type-ha-font:active .b-font:before, .chart-type-ha-font.active .b-font:before { content: "\e613"; - color: #009de3; + color: #3f8ce8; } .chart-type-ha-font.native .b-font:before, .chart-type-ha-font.disabled .b-font:before { content: "\e613"; color: inherit; } +.chart-type-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-type-e-font .b-font:before { content: "\e613"; color: inherit; @@ -770,17 +917,20 @@ } .chart-type-e-font.active .b-font:before { content: "\e613"; - color: #009de3; + color: #3f8ce8; } .chart-type-e-font:active .b-font:before { content: "\e613"; - color: #009de3; + color: #3f8ce8; } .chart-type-e-font.native .b-font:before, .chart-type-e-font.disabled .b-font:before { content: "\e613"; color: inherit; } +.style-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .style-set-font .b-font:before { content: "\e60c"; color: inherit; @@ -790,6 +940,9 @@ content: "\e60c"; color: inherit; } +.style-set-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .style-set-h-font .b-font:before { content: "\e60c"; color: inherit; @@ -805,6 +958,9 @@ content: "\e60c"; color: inherit; } +.style-set-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .style-set-ha-font .b-font:before { content: "\e60c"; color: inherit; @@ -818,13 +974,16 @@ .style-set-ha-font:active .b-font:before, .style-set-ha-font.active .b-font:before { content: "\e60c"; - color: #009de3; + color: #3f8ce8; } .style-set-ha-font.native .b-font:before, .style-set-ha-font.disabled .b-font:before { content: "\e60c"; color: inherit; } +.style-set-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .style-set-e-font .b-font:before { content: "\e60c"; color: inherit; @@ -837,17 +996,20 @@ } .style-set-e-font.active .b-font:before { content: "\e60c"; - color: #009de3; + color: #3f8ce8; } .style-set-e-font:active .b-font:before { content: "\e60c"; - color: #009de3; + color: #3f8ce8; } .style-set-e-font.native .b-font:before, .style-set-e-font.disabled .b-font:before { content: "\e60c"; color: inherit; } +.hyper-link-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .hyper-link-font .b-font:before { content: "\e688"; color: inherit; @@ -857,6 +1019,9 @@ content: "\e688"; color: inherit; } +.filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .filter-font .b-font:before { content: "\e60f"; color: inherit; @@ -866,6 +1031,9 @@ content: "\e60f"; color: inherit; } +.filter-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .filter-h-font .b-font:before { content: "\e60f"; color: inherit; @@ -881,6 +1049,9 @@ content: "\e60f"; color: inherit; } +.filter-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .filter-ha-font .b-font:before { content: "\e60f"; color: inherit; @@ -894,13 +1065,16 @@ .filter-ha-font:active .b-font:before, .filter-ha-font.active .b-font:before { content: "\e60f"; - color: #009de3; + color: #3f8ce8; } .filter-ha-font.native .b-font:before, .filter-ha-font.disabled .b-font:before { content: "\e60f"; color: inherit; } +.filter-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .filter-e-font .b-font:before { content: "\e60f"; color: inherit; @@ -913,17 +1087,20 @@ } .filter-e-font.active .b-font:before { content: "\e60f"; - color: #009de3; + color: #3f8ce8; } .filter-e-font:active .b-font:before { content: "\e60f"; - color: #009de3; + color: #3f8ce8; } .filter-e-font.native .b-font:before, .filter-e-font.disabled .b-font:before { content: "\e60f"; color: inherit; } +.classify-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .classify-font .b-font:before { content: "\e694"; color: #3f8ce8; @@ -933,6 +1110,9 @@ content: "\e694"; color: #3f8ce8; } +.series-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .series-font .b-font:before { content: "\e695"; color: #58cc7d; @@ -944,6 +1124,9 @@ } /**维度/指标 下拉列表图标字体 ~end~**/ /** dashboard组件/控件 下拉列表图标字体 ~begin~**/ +.link-to-widget-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .link-to-widget-h-font .b-font:before { content: "\e600"; color: #999999; @@ -959,6 +1142,9 @@ content: "\e600"; color: #999999; } +.link-to-detail-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .link-to-detail-h-font .b-font:before { content: "\e600"; color: #999999; @@ -974,6 +1160,9 @@ content: "\e600"; color: #999999; } +.detail-setting-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .detail-setting-h-font .b-font:before { content: "\e600"; color: #999999; @@ -989,6 +1178,9 @@ content: "\e600"; color: #999999; } +.export-to-excel-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .export-to-excel-h-font .b-font:before { content: "\e600"; color: #999999; @@ -1004,6 +1196,9 @@ content: "\e600"; color: #999999; } +.widget-copy-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-copy-h-font .b-font:before { content: "\e610"; color: #999999; @@ -1019,6 +1214,9 @@ content: "\e610"; color: #999999; } +.widget-delete-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-delete-h-font .b-font:before { content: "\e605"; color: #999999; @@ -1035,6 +1233,9 @@ color: #999999; } /** dashboard组件/控件 下拉列表图标字体 ~end~**/ +.tree-node-triangle-expand-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .tree-node-triangle-expand-font .b-font:before { content: "\e608"; color: inherit; @@ -1044,6 +1245,9 @@ content: "\e608"; color: inherit; } +.tree-node-triangle-collapse-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .tree-node-triangle-collapse-font .b-font:before { content: "\e607"; color: inherit; @@ -1053,6 +1257,9 @@ content: "\e607"; color: inherit; } +.row-pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .row-pre-page-h-font .b-font:before { content: "\e6be"; color: inherit; @@ -1068,6 +1275,9 @@ content: "\e6be"; color: inherit; } +.row-next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .row-next-page-h-font .b-font:before { content: "\e6bd"; color: inherit; @@ -1083,6 +1293,9 @@ content: "\e6bd"; color: inherit; } +.column-pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .column-pre-page-h-font .b-font:before { content: "\e6bc"; color: inherit; @@ -1098,6 +1311,9 @@ content: "\e6bc"; color: inherit; } +.column-next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .column-next-page-h-font .b-font:before { content: "\e6bb"; color: inherit; @@ -1113,6 +1329,9 @@ content: "\e6bb"; color: inherit; } +.trigger-triangle-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .trigger-triangle-font .b-font:before { content: "\e66a"; color: #999999; @@ -1133,6 +1352,9 @@ content: "\e66a"; color: #999999; } +.widget-date-next-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-date-next-h-font .b-font:before { content: "\e62f"; color: inherit; @@ -1148,6 +1370,9 @@ content: "\e62f"; color: inherit; } +.widget-date-pre-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-date-pre-h-font .b-font:before { content: "\e62e"; color: inherit; @@ -1163,6 +1388,9 @@ content: "\e62e"; color: inherit; } +.widget-date-h-change-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-date-h-change-font .b-font:before { content: "\e660"; color: inherit; @@ -1178,6 +1406,9 @@ content: "\e660"; color: inherit; } +.pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-down-font .b-font:before { content: "\e608"; color: inherit; @@ -1187,6 +1418,9 @@ content: "\e608"; color: inherit; } +.pull-down-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-down-h-font .b-font:before { content: "\e608"; color: inherit; @@ -1202,6 +1436,9 @@ content: "\e608"; color: inherit; } +.pull-down-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-down-ha-font .b-font:before { content: "\e608"; color: inherit; @@ -1215,13 +1452,16 @@ .pull-down-ha-font:active .b-font:before, .pull-down-ha-font.active .b-font:before { content: "\e608"; - color: #009de3; + color: #3f8ce8; } .pull-down-ha-font.native .b-font:before, .pull-down-ha-font.disabled .b-font:before { content: "\e608"; color: inherit; } +.delete-field-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-field-font .b-font:before { content: "\e605"; color: inherit; @@ -1231,6 +1471,9 @@ content: "\e605"; color: inherit; } +.delete-field-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-field-h-font .b-font:before { content: "\e605"; color: inherit; @@ -1246,6 +1489,9 @@ content: "\e605"; color: inherit; } +.delete-field-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-field-ha-font .b-font:before { content: "\e605"; color: inherit; @@ -1259,13 +1505,16 @@ .delete-field-ha-font:active .b-font:before, .delete-field-ha-font.active .b-font:before { content: "\e605"; - color: #009de3; + color: #3f8ce8; } .delete-field-ha-font.native .b-font:before, .delete-field-ha-font.disabled .b-font:before { content: "\e605"; color: inherit; } +.toolbar-save-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-save-font .b-font:before { content: "\e617"; color: inherit; @@ -1281,6 +1530,9 @@ content: "\e617"; color: inherit; } +.toolbar-undo-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-undo-font .b-font:before { content: "\e619"; color: inherit; @@ -1296,6 +1548,9 @@ content: "\e619"; color: inherit; } +.toolbar-redo-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-redo-font .b-font:before { content: "\e625"; color: inherit; @@ -1311,6 +1566,9 @@ content: "\e625"; color: inherit; } +.toolbar-edit-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-edit-font .b-font:before { content: "\e631"; color: inherit; @@ -1326,6 +1584,9 @@ content: "\e631"; color: inherit; } +.toolbar-preview-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-preview-font .b-font:before { content: "\e65f"; color: inherit; @@ -1341,6 +1602,9 @@ content: "\e65f"; color: inherit; } +.chart-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-table-font .b-font:before { content: "\e60e"; color: inherit; @@ -1354,13 +1618,16 @@ .chart-table-font:active .b-font:before, .chart-table-font.active .b-font:before { content: "\e60e"; - color: #009de3; + color: #3f8ce8; } .chart-table-font.native .b-font:before, .chart-table-font.disabled .b-font:before { content: "\e60e"; color: inherit; } +.chart-axis-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-axis-font .b-font:before { content: "\e626"; color: inherit; @@ -1374,13 +1641,16 @@ .chart-axis-font:active .b-font:before, .chart-axis-font.active .b-font:before { content: "\e626"; - color: #009de3; + color: #3f8ce8; } .chart-axis-font.native .b-font:before, .chart-axis-font.disabled .b-font:before { content: "\e626"; color: inherit; } +.chart-bar-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-bar-font .b-font:before { content: "\e620"; color: inherit; @@ -1394,13 +1664,16 @@ .chart-bar-font:active .b-font:before, .chart-bar-font.active .b-font:before { content: "\e620"; - color: #009de3; + color: #3f8ce8; } .chart-bar-font.native .b-font:before, .chart-bar-font.disabled .b-font:before { content: "\e620"; color: inherit; } +.chart-accumulate-bar-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-accumulate-bar-font .b-font:before { content: "\e60a"; color: inherit; @@ -1414,13 +1687,16 @@ .chart-accumulate-bar-font:active .b-font:before, .chart-accumulate-bar-font.active .b-font:before { content: "\e60a"; - color: #009de3; + color: #3f8ce8; } .chart-accumulate-bar-font.native .b-font:before, .chart-accumulate-bar-font.disabled .b-font:before { content: "\e60a"; color: inherit; } +.chart-pie-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-pie-font .b-font:before { content: "\e618"; color: inherit; @@ -1434,13 +1710,16 @@ .chart-pie-font:active .b-font:before, .chart-pie-font.active .b-font:before { content: "\e618"; - color: #009de3; + color: #3f8ce8; } .chart-pie-font.native .b-font:before, .chart-pie-font.disabled .b-font:before { content: "\e618"; color: inherit; } +.chart-map-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-map-font .b-font:before { content: "\e62c"; color: inherit; @@ -1454,13 +1733,16 @@ .chart-map-font:active .b-font:before, .chart-map-font.active .b-font:before { content: "\e62c"; - color: #009de3; + color: #3f8ce8; } .chart-map-font.native .b-font:before, .chart-map-font.disabled .b-font:before { content: "\e62c"; color: inherit; } +.chart-dashboard-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-dashboard-font .b-font:before { content: "\e623"; color: inherit; @@ -1474,13 +1756,16 @@ .chart-dashboard-font:active .b-font:before, .chart-dashboard-font.active .b-font:before { content: "\e623"; - color: #009de3; + color: #3f8ce8; } .chart-dashboard-font.native .b-font:before, .chart-dashboard-font.disabled .b-font:before { content: "\e623"; color: inherit; } +.chart-doughnut-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-doughnut-font .b-font:before { content: "\e624"; color: inherit; @@ -1494,13 +1779,16 @@ .chart-doughnut-font:active .b-font:before, .chart-doughnut-font.active .b-font:before { content: "\e624"; - color: #009de3; + color: #3f8ce8; } .chart-doughnut-font.native .b-font:before, .chart-doughnut-font.disabled .b-font:before { content: "\e624"; color: inherit; } +.chart-detail-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-detail-font .b-font:before { content: "\e615"; color: inherit; @@ -1514,13 +1802,16 @@ .chart-detail-font:active .b-font:before, .chart-detail-font.active .b-font:before { content: "\e615"; - color: #009de3; + color: #3f8ce8; } .chart-detail-font.native .b-font:before, .chart-detail-font.disabled .b-font:before { content: "\e615"; color: inherit; } +.chart-more-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-more-font .b-font:before { content: "\e60d"; color: inherit; @@ -1534,13 +1825,16 @@ .chart-more-font:active .b-font:before, .chart-more-font.active .b-font:before { content: "\e60d"; - color: #009de3; + color: #3f8ce8; } .chart-more-font.native .b-font:before, .chart-more-font.disabled .b-font:before { content: "\e60d"; color: inherit; } +.chart-bubble-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-bubble-font .b-font:before { content: "\e62a"; color: inherit; @@ -1554,13 +1848,16 @@ .chart-bubble-font:active .b-font:before, .chart-bubble-font.active .b-font:before { content: "\e62a"; - color: #009de3; + color: #3f8ce8; } .chart-bubble-font.native .b-font:before, .chart-bubble-font.disabled .b-font:before { content: "\e62a"; color: inherit; } +.chart-scatter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-scatter-font .b-font:before { content: "\e61d"; color: inherit; @@ -1574,13 +1871,16 @@ .chart-scatter-font:active .b-font:before, .chart-scatter-font.active .b-font:before { content: "\e61d"; - color: #009de3; + color: #3f8ce8; } .chart-scatter-font.native .b-font:before, .chart-scatter-font.disabled .b-font:before { content: "\e61d"; color: inherit; } +.chart-radar-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-radar-font .b-font:before { content: "\e614"; color: inherit; @@ -1594,13 +1894,16 @@ .chart-radar-font:active .b-font:before, .chart-radar-font.active .b-font:before { content: "\e614"; - color: #009de3; + color: #3f8ce8; } .chart-radar-font.native .b-font:before, .chart-radar-font.disabled .b-font:before { content: "\e614"; color: inherit; } +.chart-content-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-content-font .b-font:before { content: "\e621"; color: inherit; @@ -1614,13 +1917,16 @@ .chart-content-font:active .b-font:before, .chart-content-font.active .b-font:before { content: "\e621"; - color: #009de3; + color: #3f8ce8; } .chart-content-font.native .b-font:before, .chart-content-font.disabled .b-font:before { content: "\e621"; color: inherit; } +.chart-image-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-image-font .b-font:before { content: "\e68d"; color: inherit; @@ -1634,13 +1940,16 @@ .chart-image-font:active .b-font:before, .chart-image-font.active .b-font:before { content: "\e68d"; - color: #009de3; + color: #3f8ce8; } .chart-image-font.native .b-font:before, .chart-image-font.disabled .b-font:before { content: "\e68d"; color: inherit; } +.chart-web-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-web-font .b-font:before { content: "\e68c"; color: inherit; @@ -1654,13 +1963,16 @@ .chart-web-font:active .b-font:before, .chart-web-font.active .b-font:before { content: "\e68c"; - color: #009de3; + color: #3f8ce8; } .chart-web-font.native .b-font:before, .chart-web-font.disabled .b-font:before { content: "\e68c"; color: inherit; } +.chart-string-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-string-font .b-font:before { content: "\e622"; color: inherit; @@ -1674,13 +1986,16 @@ .chart-string-font:active .b-font:before, .chart-string-font.active .b-font:before { content: "\e622"; - color: #009de3; + color: #3f8ce8; } .chart-string-font.native .b-font:before, .chart-string-font.disabled .b-font:before { content: "\e622"; color: inherit; } +.chart-number-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-number-font .b-font:before { content: "\e61f"; color: inherit; @@ -1694,13 +2009,16 @@ .chart-number-font:active .b-font:before, .chart-number-font.active .b-font:before { content: "\e61f"; - color: #009de3; + color: #3f8ce8; } .chart-number-font.native .b-font:before, .chart-number-font.disabled .b-font:before { content: "\e61f"; color: inherit; } +.chart-tree-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-tree-font .b-font:before { content: "\e61e"; color: inherit; @@ -1714,13 +2032,16 @@ .chart-tree-font:active .b-font:before, .chart-tree-font.active .b-font:before { content: "\e61e"; - color: #009de3; + color: #3f8ce8; } .chart-tree-font.native .b-font:before, .chart-tree-font.disabled .b-font:before { content: "\e61e"; color: inherit; } +.chart-date-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-date-font .b-font:before { content: "\e61b"; color: inherit; @@ -1734,13 +2055,16 @@ .chart-date-font:active .b-font:before, .chart-date-font.active .b-font:before { content: "\e61b"; - color: #009de3; + color: #3f8ce8; } .chart-date-font.native .b-font:before, .chart-date-font.disabled .b-font:before { content: "\e61b"; color: inherit; } +.chart-year-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-year-font .b-font:before { content: "\e628"; color: inherit; @@ -1754,13 +2078,16 @@ .chart-year-font:active .b-font:before, .chart-year-font.active .b-font:before { content: "\e628"; - color: #009de3; + color: #3f8ce8; } .chart-year-font.native .b-font:before, .chart-year-font.disabled .b-font:before { content: "\e628"; color: inherit; } +.chart-month-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-month-font .b-font:before { content: "\e627"; color: inherit; @@ -1774,13 +2101,16 @@ .chart-month-font:active .b-font:before, .chart-month-font.active .b-font:before { content: "\e627"; - color: #009de3; + color: #3f8ce8; } .chart-month-font.native .b-font:before, .chart-month-font.disabled .b-font:before { content: "\e627"; color: inherit; } +.chart-quarter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-quarter-font .b-font:before { content: "\e629"; color: inherit; @@ -1794,13 +2124,16 @@ .chart-quarter-font:active .b-font:before, .chart-quarter-font.active .b-font:before { content: "\e629"; - color: #009de3; + color: #3f8ce8; } .chart-quarter-font.native .b-font:before, .chart-quarter-font.disabled .b-font:before { content: "\e629"; color: inherit; } +.chart-ymd-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-ymd-font .b-font:before { content: "\e61c"; color: inherit; @@ -1814,13 +2147,16 @@ .chart-ymd-font:active .b-font:before, .chart-ymd-font.active .b-font:before { content: "\e61c"; - color: #009de3; + color: #3f8ce8; } .chart-ymd-font.native .b-font:before, .chart-ymd-font.disabled .b-font:before { content: "\e61c"; color: inherit; } +.chart-date-range-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-date-range-font .b-font:before { content: "\e616"; color: inherit; @@ -1834,13 +2170,16 @@ .chart-date-range-font:active .b-font:before, .chart-date-range-font.active .b-font:before { content: "\e616"; - color: #009de3; + color: #3f8ce8; } .chart-date-range-font.native .b-font:before, .chart-date-range-font.disabled .b-font:before { content: "\e616"; color: inherit; } +.chart-general-query-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-general-query-font .b-font:before { content: "\e62b"; color: inherit; @@ -1854,13 +2193,16 @@ .chart-general-query-font:active .b-font:before, .chart-general-query-font.active .b-font:before { content: "\e62b"; - color: #009de3; + color: #3f8ce8; } .chart-general-query-font.native .b-font:before, .chart-general-query-font.disabled .b-font:before { content: "\e62b"; color: inherit; } +.chart-query-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-query-font .b-font:before { content: "\e609"; color: inherit; @@ -1874,13 +2216,16 @@ .chart-query-font:active .b-font:before, .chart-query-font.active .b-font:before { content: "\e609"; - color: #009de3; + color: #3f8ce8; } .chart-query-font.native .b-font:before, .chart-query-font.disabled .b-font:before { content: "\e609"; color: inherit; } +.chart-reset-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-reset-font .b-font:before { content: "\e61a"; color: inherit; @@ -1894,13 +2239,16 @@ .chart-reset-font:active .b-font:before, .chart-reset-font.active .b-font:before { content: "\e61a"; - color: #009de3; + color: #3f8ce8; } .chart-reset-font.native .b-font:before, .chart-reset-font.disabled .b-font:before { content: "\e61a"; color: inherit; } +.chart-textarea-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-textarea-font .b-font:before { content: "\e622"; color: inherit; @@ -1914,13 +2262,16 @@ .chart-textarea-font:active .b-font:before, .chart-textarea-font.active .b-font:before { content: "\e622"; - color: #009de3; + color: #3f8ce8; } .chart-textarea-font.native .b-font:before, .chart-textarea-font.disabled .b-font:before { content: "\e622"; color: inherit; } +.chart-reuse-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-reuse-font .b-font:before { content: "\e60b"; color: inherit; @@ -1934,13 +2285,16 @@ .chart-reuse-font:active .b-font:before, .chart-reuse-font.active .b-font:before { content: "\e60b"; - color: #009de3; + color: #3f8ce8; } .chart-reuse-font.native .b-font:before, .chart-reuse-font.disabled .b-font:before { content: "\e60b"; color: inherit; } +.chart-date-normal-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-date-normal-font .b-font:before { content: "\e61b"; color: inherit; @@ -1950,6 +2304,9 @@ content: "\e61b"; color: inherit; } +.less-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .less-font .b-font:before { content: "\e633"; color: inherit; @@ -1963,13 +2320,16 @@ .less-font:active .b-font:before, .less-font.active .b-font:before { content: "\e633"; - color: #009de3; + color: #3f8ce8; } .less-font.native .b-font:before, .less-font.disabled .b-font:before { content: "\e633"; color: inherit; } +.less-equal-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .less-equal-font .b-font:before { content: "\e636"; color: inherit; @@ -1983,13 +2343,16 @@ .less-equal-font:active .b-font:before, .less-equal-font.active .b-font:before { content: "\e636"; - color: #009de3; + color: #3f8ce8; } .less-equal-font.native .b-font:before, .less-equal-font.disabled .b-font:before { content: "\e636"; color: inherit; } +.check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-font .b-font:before { content: "\e611"; color: #3f8ce8; @@ -1999,6 +2362,9 @@ content: "\e611"; color: #3f8ce8; } +.move2group-add-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .move2group-add-font .b-font:before { content: "\e649"; color: #3f8ce8; @@ -2008,6 +2374,9 @@ content: "\e649"; color: #3f8ce8; } +.select-data-field-calc-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-calc-font .b-font:before { content: "\e6a3"; color: inherit; @@ -2028,6 +2397,9 @@ content: "\e6a3"; color: inherit; } +.select-data-field-string-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-string-font .b-font:before { content: "\e642"; color: inherit; @@ -2048,6 +2420,9 @@ content: "\e642"; color: inherit; } +.select-data-field-number-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-number-font .b-font:before { content: "\e641"; color: inherit; @@ -2068,6 +2443,9 @@ content: "\e641"; color: inherit; } +.select-data-field-date-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-date-font .b-font:before { content: "\e640"; color: inherit; @@ -2088,6 +2466,9 @@ content: "\e640"; color: inherit; } +.select-data-field-string-group-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-string-group-font .b-font:before { content: "\e642"; color: inherit; @@ -2097,6 +2478,9 @@ content: "\e642"; color: inherit; } +.select-data-field-number-group-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-number-group-font .b-font:before { content: "\e641"; color: inherit; @@ -2106,6 +2490,9 @@ content: "\e641"; color: inherit; } +.select-data-field-date-group-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-date-group-font .b-font:before { content: "\e640"; color: inherit; @@ -2115,6 +2502,9 @@ content: "\e640"; color: inherit; } +.select-data-preview-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-preview-font .b-font:before { content: "\e65f"; color: #999999; @@ -2135,6 +2525,9 @@ content: "\e65f"; color: #999999; } +.detail-dimension-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .detail-dimension-set-font .b-font:before { content: "\e678"; color: inherit; @@ -2150,6 +2543,9 @@ content: "\e678"; color: inherit; } +.detail-real-data-warning-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .detail-real-data-warning-font .b-font:before { content: "\e64e"; color: #f07d0a; @@ -2165,6 +2561,9 @@ content: "\e64e"; color: #f07d0a; } +.select-group-field-string-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-group-field-string-font .b-font:before { content: "\e642"; color: #3f8ce8; @@ -2185,6 +2584,9 @@ content: "\e642"; color: #3f8ce8; } +.select-group-field-number-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-group-field-number-font .b-font:before { content: "\e641"; color: #3f8ce8; @@ -2205,6 +2607,9 @@ content: "\e641"; color: #3f8ce8; } +.select-group-field-date-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-group-field-date-font .b-font:before { content: "\e640"; color: #3f8ce8; @@ -2225,6 +2630,9 @@ content: "\e640"; color: #3f8ce8; } +.dashboard-widget-combo-detail-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dashboard-widget-combo-detail-set-font .b-font:before { content: "\e634"; color: inherit; @@ -2240,6 +2648,9 @@ content: "\e634"; color: inherit; } +.group-add-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .group-add-font .b-font:before { content: "\e649"; color: #999999; @@ -2249,6 +2660,9 @@ content: "\e649"; color: #999999; } +.sortable-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .sortable-font .b-font:before { content: "\e63b"; color: inherit; @@ -2258,6 +2672,9 @@ content: "\e63b"; color: inherit; } +.text-bold-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-bold-font .b-font:before { content: "\e64d"; color: inherit; @@ -2267,6 +2684,9 @@ content: "\e64d"; color: inherit; } +.text-italic-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-italic-font .b-font:before { content: "\e656"; color: inherit; @@ -2276,6 +2696,9 @@ content: "\e656"; color: inherit; } +.text-underline-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-underline-font .b-font:before { content: "\e650"; color: inherit; @@ -2285,6 +2708,9 @@ content: "\e650"; color: inherit; } +.text-color-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-color-font .b-font:before { content: "\e69c"; color: inherit; @@ -2294,6 +2720,9 @@ content: "\e69c"; color: inherit; } +.text-background-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-background-font .b-font:before { content: "\e696"; color: inherit; @@ -2303,6 +2732,9 @@ content: "\e696"; color: inherit; } +.text-color-underline-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-color-underline-font .b-font:before { content: "\e69d"; color: inherit; @@ -2312,6 +2744,9 @@ content: "\e69d"; color: inherit; } +.text-align-left-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-align-left-font .b-font:before { content: "\e654"; color: inherit; @@ -2321,6 +2756,9 @@ content: "\e654"; color: inherit; } +.text-align-center-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-align-center-font .b-font:before { content: "\e64f"; color: inherit; @@ -2330,6 +2768,9 @@ content: "\e64f"; color: inherit; } +.text-align-right-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-align-right-font .b-font:before { content: "\e651"; color: inherit; @@ -2339,6 +2780,9 @@ content: "\e651"; color: inherit; } +.img-upload-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .img-upload-font .b-font:before { content: "\e6ba"; color: #3f8ce8; @@ -2348,6 +2792,9 @@ content: "\e6ba"; color: #3f8ce8; } +.img-size-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .img-size-font .b-font:before { content: "\e68b"; color: #3f8ce8; @@ -2357,6 +2804,9 @@ content: "\e68b"; color: #3f8ce8; } +.img-href-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .img-href-font .b-font:before { content: "\e688"; color: #3f8ce8; @@ -2366,6 +2816,9 @@ content: "\e688"; color: #3f8ce8; } +.img-shutdown-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .img-shutdown-font .b-font:before { content: "\e689"; color: #3f8ce8; @@ -2375,6 +2828,9 @@ content: "\e689"; color: #3f8ce8; } +.move-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .move-font .b-font:before { content: "\e65e"; color: inherit; @@ -2384,6 +2840,9 @@ content: "\e65e"; color: inherit; } +.share-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .share-font .b-font:before { content: "\e65a"; color: inherit; @@ -2393,6 +2852,9 @@ content: "\e65a"; color: inherit; } +.new-file-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .new-file-font .b-font:before { content: "\e65d"; color: inherit; @@ -2402,6 +2864,9 @@ content: "\e65d"; color: inherit; } +.file-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .file-font .b-font:before { content: "\e65b"; color: #fcc550; @@ -2411,6 +2876,9 @@ content: "\e65b"; color: #fcc550; } +.folder-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .folder-font .b-font:before { content: "\e65c"; color: #3f8ce8; @@ -2420,6 +2888,9 @@ content: "\e65c"; color: #3f8ce8; } +.letter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .letter-font .b-font:before { content: "\e659"; color: inherit; @@ -2433,13 +2904,16 @@ .letter-font:active .b-font:before, .letter-font.active .b-font:before { content: "\e659"; - color: #009de3; + color: #3f8ce8; } .letter-font.native .b-font:before, .letter-font.disabled .b-font:before { content: "\e659"; color: inherit; } +.time-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .time-font .b-font:before { content: "\e658"; color: inherit; @@ -2453,13 +2927,16 @@ .time-font:active .b-font:before, .time-font.active .b-font:before { content: "\e658"; - color: #009de3; + color: #3f8ce8; } .time-font.native .b-font:before, .time-font.disabled .b-font:before { content: "\e658"; color: inherit; } +.rename-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .rename-font .b-font:before { content: "\e687"; color: inherit; @@ -2469,6 +2946,9 @@ content: "\e687"; color: inherit; } +.delete-template-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-template-font .b-font:before { content: "\e605"; color: #999999; @@ -2478,6 +2958,9 @@ content: "\e605"; color: #999999; } +.real-time-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .real-time-font .b-font:before { content: "\e6af"; color: #fcc550; @@ -2487,6 +2970,9 @@ content: "\e6af"; color: #fcc550; } +.data-source-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-source-table-font .b-font:before { content: "\e67b"; color: #3f8ce8; @@ -2507,6 +2993,9 @@ content: "\e67b"; color: #3f8ce8; } +.etl-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .etl-table-font .b-font:before { content: "\e680"; color: #3f8ce8; @@ -2527,6 +3016,9 @@ content: "\e680"; color: #3f8ce8; } +.excel-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-table-font .b-font:before { content: "\e682"; color: #3f8ce8; @@ -2547,6 +3039,9 @@ content: "\e682"; color: #3f8ce8; } +.sql-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .sql-table-font .b-font:before { content: "\e681"; color: #3f8ce8; @@ -2567,6 +3062,9 @@ content: "\e681"; color: #3f8ce8; } +.refresh-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .refresh-table-font .b-font:before { content: "\e683"; color: inherit; @@ -2576,6 +3074,9 @@ content: "\e683"; color: inherit; } +.recover-chart-font-hightlight .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .recover-chart-font-hightlight .b-font:before { content: "\e6b4"; color: inherit; @@ -2585,6 +3086,9 @@ content: "\e6b4"; color: inherit; } +.tables-tile-view-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .tables-tile-view-font .b-font:before { content: "\e685"; color: inherit; @@ -2605,6 +3109,9 @@ content: "\e685"; color: inherit; } +.tables-relation-view-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .tables-relation-view-font .b-font:before { content: "\e684"; color: inherit; @@ -2625,6 +3132,9 @@ content: "\e684"; color: inherit; } +.add-new-table-pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .add-new-table-pull-down-font .b-font:before { content: "\e62d"; color: #ffffff; @@ -2634,6 +3144,9 @@ content: "\e62d"; color: #ffffff; } +.data-link-check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-check-font .b-font:before { content: "\e611"; color: #ffffff; @@ -2654,6 +3167,9 @@ content: "\e611"; color: #ffffff; } +.edit-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .edit-set-font .b-font:before { content: "\e634"; color: inherit; @@ -2669,6 +3185,9 @@ content: "\e634"; color: inherit; } +.new-analysis-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .new-analysis-font .b-font:before { content: "\e692"; color: #ffffff; @@ -2684,6 +3203,9 @@ content: "\e692"; color: #ffffff; } +.data-config-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-config-font .b-font:before { content: "\e693"; color: #ffffff; @@ -2699,6 +3221,9 @@ content: "\e693"; color: #ffffff; } +.folder-list-view .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .folder-list-view .b-font:before { content: "\e694"; color: inherit; @@ -2719,6 +3244,9 @@ content: "\e694"; color: inherit; } +.folder-card-view .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .folder-card-view .b-font:before { content: "\e685"; color: inherit; @@ -2739,6 +3267,9 @@ content: "\e685"; color: inherit; } +.item-check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .item-check-font .b-font:before { content: "\e611"; color: #ffffff; @@ -2752,13 +3283,16 @@ .item-check-font:active .b-font:before, .item-check-font.active .b-font:before { content: "\e611"; - color: #009de3; + color: #3f8ce8; } .item-check-font.native .b-font:before, .item-check-font.disabled .b-font:before { content: "\e611"; color: #ffffff; } +.table-no-sort-no-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-no-sort-no-filter-font .b-font:before { content: "\e66a"; color: inherit; @@ -2774,6 +3308,9 @@ content: "\e66a"; color: inherit; } +.table-no-sort-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-no-sort-filter-font .b-font:before { content: "\e66b"; color: inherit; @@ -2789,6 +3326,9 @@ content: "\e66b"; color: inherit; } +.table-descending-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-descending-filter-font .b-font:before { content: "\e667"; color: inherit; @@ -2804,6 +3344,9 @@ content: "\e667"; color: inherit; } +.table-ascending-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-ascending-filter-font .b-font:before { content: "\e669"; color: inherit; @@ -2819,6 +3362,9 @@ content: "\e669"; color: inherit; } +.table-descending-no-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-descending-no-filter-font .b-font:before { content: "\e666"; color: inherit; @@ -2834,6 +3380,9 @@ content: "\e666"; color: inherit; } +.table-ascending-no-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-ascending-no-filter-font .b-font:before { content: "\e668"; color: inherit; @@ -2849,6 +3398,9 @@ content: "\e668"; color: inherit; } +.table-no-sort-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-no-sort-font .b-font:before { content: "\e66c"; color: inherit; @@ -2864,6 +3416,9 @@ content: "\e66c"; color: inherit; } +.primary-key-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .primary-key-font .b-font:before { content: "\e67d;"; color: inherit; @@ -2879,6 +3434,9 @@ content: "\e67d;"; color: inherit; } +.table-open-row-style-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-open-row-style-font .b-font:before { content: "\e671"; color: inherit; @@ -2892,13 +3450,16 @@ .table-open-row-style-font:active .b-font:before, .table-open-row-style-font.active .b-font:before { content: "\e671"; - color: #009de3; + color: #3f8ce8; } .table-open-row-style-font.native .b-font:before, .table-open-row-style-font.disabled .b-font:before { content: "\e671"; color: inherit; } +.table-open-col-style-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-open-col-style-font .b-font:before { content: "\e672"; color: inherit; @@ -2912,13 +3473,16 @@ .table-open-col-style-font:active .b-font:before, .table-open-col-style-font.active .b-font:before { content: "\e672"; - color: #009de3; + color: #3f8ce8; } .table-open-col-style-font.native .b-font:before, .table-open-col-style-font.disabled .b-font:before { content: "\e672"; color: inherit; } +.calculate-function-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .calculate-function-font .b-font:before { content: "\e6a3"; color: #666666; @@ -2928,6 +3492,9 @@ content: "\e6a3"; color: #666666; } +.path-set-doubt .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .path-set-doubt .b-font:before { content: "\e69a"; color: #3f8ce8; @@ -2937,6 +3504,9 @@ content: "\e69a"; color: #3f8ce8; } +.rename-report-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .rename-report-font .b-font:before { content: "\e687"; color: #3f8ce8; @@ -2946,6 +3516,9 @@ content: "\e687"; color: #3f8ce8; } +.remove-report-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .remove-report-font .b-font:before { content: "\e605"; color: #e85050; @@ -2955,6 +3528,9 @@ content: "\e605"; color: #e85050; } +.excel-upload-tip-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-upload-tip-font .b-font:before { content: "\e69e"; color: #3f8ce8; @@ -2964,6 +3540,9 @@ content: "\e69e"; color: #3f8ce8; } +.excel-field-type-string-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-field-type-string-font .b-font:before { content: "\e622"; color: #3f8ce8; @@ -2973,6 +3552,9 @@ content: "\e622"; color: #3f8ce8; } +.excel-field-type-number-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-field-type-number-font .b-font:before { content: "\e61f"; color: #3f8ce8; @@ -2982,6 +3564,9 @@ content: "\e61f"; color: #3f8ce8; } +.excel-field-type-date-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-field-type-date-font .b-font:before { content: "\e61b"; color: #3f8ce8; @@ -2991,6 +3576,9 @@ content: "\e61b"; color: #3f8ce8; } +.excel-field-type-pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-field-type-pull-down-font .b-font:before { content: "\e608"; color: #3f8ce8; @@ -3000,6 +3588,9 @@ content: "\e608"; color: #3f8ce8; } +.data-link-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-set-font .b-font:before { content: "\e678"; color: #3f8ce8; @@ -3009,6 +3600,9 @@ content: "\e678"; color: #3f8ce8; } +.data-link-test-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-test-font .b-font:before { content: "\e686"; color: #3f8ce8; @@ -3018,6 +3612,9 @@ content: "\e686"; color: #3f8ce8; } +.data-link-copy-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-copy-font .b-font:before { content: "\e610"; color: #58cc7d; @@ -3027,6 +3624,9 @@ content: "\e610"; color: #58cc7d; } +.data-link-remove-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-remove-font .b-font:before { content: "\e600"; color: #e85050; @@ -3036,6 +3636,9 @@ content: "\e600"; color: #e85050; } +.cube-path-confirm-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .cube-path-confirm-font .b-font:before { content: "\e64e"; color: #fbb03b; @@ -3045,6 +3648,9 @@ content: "\e64e"; color: #fbb03b; } +.target-style-less-dot-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-less-dot-font .b-font:before { content: "\e6a2"; color: #e85050; @@ -3054,6 +3660,9 @@ content: "\e6a2"; color: #e85050; } +.target-style-equal-dot-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-equal-dot-font .b-font:before { content: "\e6a2"; color: #f9a744; @@ -3063,6 +3672,9 @@ content: "\e6a2"; color: #f9a744; } +.target-style-more-dot-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-more-dot-font .b-font:before { content: "\e6a2"; color: #58cc7d; @@ -3072,6 +3684,9 @@ content: "\e6a2"; color: #58cc7d; } +.target-style-less-arrow-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-less-arrow-font .b-font:before { content: "\e6a1"; color: #e85050; @@ -3081,6 +3696,9 @@ content: "\e6a1"; color: #e85050; } +.target-style-equal-arrow-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-equal-arrow-font .b-font:before { content: "\e69f"; color: #f9a744; @@ -3090,6 +3708,9 @@ content: "\e69f"; color: #f9a744; } +.target-style-more-arrow-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-more-arrow-font .b-font:before { content: "\e6a0"; color: #58cc7d; @@ -3099,6 +3720,9 @@ content: "\e6a0"; color: #58cc7d; } +.calculate-target-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .calculate-target-font .b-font:before { content: "\e6a3"; color: inherit; @@ -3108,6 +3732,9 @@ content: "\e6a3"; color: inherit; } +.task-list-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .task-list-font .b-font:before { content: "\e694"; color: #3f8ce8; @@ -3117,6 +3744,9 @@ content: "\e694"; color: #3f8ce8; } +.widget-combo-detail-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-detail-font .b-font:before { content: "\e697"; color: #3f8ce8; @@ -3126,6 +3756,9 @@ content: "\e697"; color: #3f8ce8; } +.widget-combo-pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-pull-down-font .b-font:before { content: "\e6ab"; color: #3f8ce8; @@ -3135,6 +3768,9 @@ content: "\e6ab"; color: #3f8ce8; } +.widget-tools-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-tools-filter-font .b-font:before { content: "\e60f"; color: #3f8ce8; @@ -3144,6 +3780,9 @@ content: "\e60f"; color: #3f8ce8; } +.widget-tools-clear-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-tools-clear-font .b-font:before { content: "\e63d"; color: #3f8ce8; @@ -3153,6 +3792,9 @@ content: "\e63d"; color: #3f8ce8; } +.widget-tools-export-excel-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-tools-export-excel-font .b-font:before { content: "\e635"; color: #3f8ce8; @@ -3162,6 +3804,9 @@ content: "\e635"; color: #3f8ce8; } +.widget-combo-expand-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-expand-font .b-font:before { content: "\e697"; color: inherit; @@ -3171,6 +3816,9 @@ content: "\e697"; color: inherit; } +.widget-combo-linkage-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-linkage-font .b-font:before { content: "\e63c"; color: inherit; @@ -3180,6 +3828,9 @@ content: "\e63c"; color: inherit; } +.widget-combo-rename-edit-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-rename-edit-font .b-font:before { content: "\e670"; color: inherit; @@ -3189,6 +3840,9 @@ content: "\e670"; color: inherit; } +.widget-combo-show-title-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-show-title-font .b-font:before { content: "\e64c"; color: inherit; @@ -3198,6 +3852,9 @@ content: "\e64c"; color: inherit; } +.widget-combo-title-left-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-title-left-font .b-font:before { content: "\e654"; color: inherit; @@ -3207,6 +3864,9 @@ content: "\e654"; color: inherit; } +.widget-combo-title-center-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-title-center-font .b-font:before { content: "\e64f"; color: inherit; @@ -3216,6 +3876,9 @@ content: "\e64f"; color: inherit; } +.widget-combo-show-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-show-filter-font .b-font:before { content: "\e60f"; color: inherit; @@ -3225,6 +3888,9 @@ content: "\e60f"; color: inherit; } +.widget-combo-export-excel-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-export-excel-font .b-font:before { content: "\e635"; color: inherit; @@ -3234,6 +3900,9 @@ content: "\e635"; color: inherit; } +.widget-combo-copy .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-copy .b-font:before { content: "\e610"; color: inherit; @@ -3243,6 +3912,9 @@ content: "\e610"; color: inherit; } +.widget-combo-delete .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-delete .b-font:before { content: "\e605"; color: inherit; @@ -3252,6 +3924,9 @@ content: "\e605"; color: inherit; } +.widget-combo-asc-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-asc-font .b-font:before { content: "\e63f"; color: inherit; @@ -3261,6 +3936,9 @@ content: "\e63f"; color: inherit; } +.widget-combo-des-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-des-font .b-font:before { content: "\e63a"; color: inherit; @@ -3270,6 +3948,9 @@ content: "\e63a"; color: inherit; } +.widget-combo-clear-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-clear-font .b-font:before { content: "\e63d"; color: inherit; @@ -3279,6 +3960,9 @@ content: "\e63d"; color: inherit; } +.detail-table-popup-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .detail-table-popup-font .b-font:before { content: "\e6ac"; color: inherit; @@ -3287,13 +3971,16 @@ .detail-table-popup-font:focus .b-font:before, .detail-table-popup-font.hover .b-font:before { content: "\e6ac"; - color: #009de3; + color: #3f8ce8; } .detail-table-popup-font.native .b-font:before, .detail-table-popup-font.disabled .b-font:before { content: "\e6ac"; color: inherit; } +.chart-drill-up .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-drill-up .b-font:before { content: "\e6ad"; color: inherit; @@ -3303,6 +3990,9 @@ content: "\e6ad"; color: inherit; } +.chart-drill-down .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-drill-down .b-font:before { content: "\e608"; color: inherit; @@ -3312,6 +4002,9 @@ content: "\e608"; color: inherit; } +.report-filter-open-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-filter-open-font .b-font:before { content: "\e648"; color: inherit; @@ -3321,6 +4014,9 @@ content: "\e648"; color: inherit; } +.report-filter-close-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-filter-close-font .b-font:before { content: "\e645"; color: inherit; @@ -3330,6 +4026,9 @@ content: "\e645"; color: inherit; } +.report-apply-hangout-normal-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-apply-hangout-normal-font .b-font:before { content: "\e66d"; color: #999999; @@ -3339,6 +4038,9 @@ content: "\e66d"; color: #999999; } +.report-apply-hangout-ing-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-apply-hangout-ing-font .b-font:before { content: "\e66d"; color: #3f8ce8; @@ -3348,6 +4050,9 @@ content: "\e66d"; color: #3f8ce8; } +.report-hangout-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-hangout-font .b-font:before { content: "\e64b"; color: #58cc7d; @@ -3357,6 +4062,9 @@ content: "\e64b"; color: #58cc7d; } +.report-cancel-hangout-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-cancel-hangout-font .b-font:before { content: "\e64b"; color: #999999; @@ -3366,6 +4074,9 @@ content: "\e64b"; color: #999999; } +.report-hangout-ing-mark-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-hangout-ing-mark-font .b-font:before { content: "\e64b"; color: #3f8ce8; @@ -3375,6 +4086,9 @@ content: "\e64b"; color: #3f8ce8; } +.delete-font-package .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-font-package .b-font:before { content: "\e605"; color: #e85050; @@ -3384,6 +4098,9 @@ content: "\e605"; color: #e85050; } +.delete-h-font-package .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-h-font-package .b-font:before { content: "\e605"; color: #e85050; @@ -3393,6 +4110,9 @@ content: "\e605"; color: #e85050; } +.rename-font-package .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .rename-font-package .b-font:before { content: "\e687"; color: #3f8ce8; @@ -3402,6 +4122,9 @@ content: "\e687"; color: #3f8ce8; } +.package-selected-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .package-selected-font .b-font:before { content: "\e6b3"; color: #3f8ce8; @@ -3411,6 +4134,9 @@ content: "\e6b3"; color: #3f8ce8; } +.package-not-selected-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .package-not-selected-font .b-font:before { content: "\e6b2"; color: #3f8ce8; @@ -3420,6 +4146,9 @@ content: "\e6b2"; color: #3f8ce8; } +.report-detail-info-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-detail-info-font .b-font:before { content: "\e66e"; color: #f07d0a; @@ -3429,6 +4158,9 @@ content: "\e66e"; color: #f07d0a; } +.report-rename-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-rename-font .b-font:before { content: "\e670"; color: #58cc7d; @@ -3438,6 +4170,9 @@ content: "\e670"; color: #58cc7d; } +.report-cancel-share-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-cancel-share-font .b-font:before { content: "\e6b5"; color: #3f8ce8; @@ -3447,6 +4182,9 @@ content: "\e6b5"; color: #3f8ce8; } +.drill-push-up-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .drill-push-up-font .b-font:before { content: "\e630"; color: inherit; @@ -3456,6 +4194,9 @@ content: "\e630"; color: inherit; } +.drill-push-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .drill-push-down-font .b-font:before { content: "\e62d"; color: inherit; @@ -3465,6 +4206,9 @@ content: "\e62d"; color: inherit; } +.drag-tag-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .drag-tag-font .b-font:before { content: "\e600"; color: #f07d0a; diff --git a/src/less/image.less b/src/less/image.less index 9ae872c9f..a714f1fe3 100644 --- a/src/less/image.less +++ b/src/less/image.less @@ -172,91 +172,107 @@ //active @color-bi-font-hover: inherit; //hover -@color-bi-font-active: #009de3; +@color-bi-font-active: #3f8ce8; .font(@class,@content, @color: @color-bi-font-native) { + @fc: "\@{content}"; .@{class} { + & .b-font{ + *zoom: ~"expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#x@{content}')"; + } & .b-font:before { - content: @content; + content: @fc; color: @color; } &.native .b-font:before, &.disabled .b-font:before { - content: @content; + content: @fc; color: @color; } } } .font-hover(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover) { + @fc: "\@{content}"; .@{class} { + & .b-font{ + *zoom: ~"expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#x@{content}')"; + } & .b-font:before { - content: @content; + content: @fc; color: @color-native; } &:hover .b-font:before, &:focus .b-font:before, &.hover .b-font:before { - content: @content; + content: @fc; color: @color-hover; } &.native .b-font:before, &.disabled .b-font:before { - content: @content; + content: @fc; color: @color-native; } } } .font-effect(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @color-active: @color-bi-font-active, @color-selected: @color-bi-font-active) { + @fc: "\@{content}"; .@{class} { + & .b-font{ + *zoom: ~"expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#x@{content}')"; + } & .b-font:before { - content: @content; + content: @fc; color: @color-native; } &:hover .b-font:before, &:focus .b-font:before, &.hover .b-font:before { - content: @content; + content: @fc; color: @color-hover; } &.active .b-font:before { - content: @content; + content: @fc; color: @color-selected; } &:active .b-font:before { - content: @content; + content: @fc; color: @color-active; } &.native .b-font:before, &.disabled .b-font:before { - content: @content; + content: @fc; color: @color-native; } } } .font-hover-active(@class,@content,@color-native: @color-bi-font-native, @color-hover: @color-bi-font-hover, @color-active: @color-bi-font-active) { + @fc: "\@{content}"; .@{class} { + & .b-font{ + *zoom: ~"expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '&#x@{content}')"; + } & .b-font:before { - content: @content; + content: @fc; color: @color-native; } &:hover .b-font:before, &:focus .b-font:before, &.hover .b-font:before { - content: @content; + content: @fc; color: @color-hover; } &:active .b-font:before, &.active .b-font:before { - content: @content; + content: @fc; color: @color-active; } &.native .b-font:before, &.disabled .b-font:before { - content: @content; + content: @fc; color: @color-native; } } diff --git a/src/less/lib/font.less b/src/less/lib/font.less index be1630859..0aaf28f15 100644 --- a/src/less/lib/font.less +++ b/src/less/lib/font.less @@ -1,183 +1,183 @@ //字体库 -@font-cross: "\e600"; -@font-arrow-left: "\e601"; -@font-arrow-right: "\e602"; -@font-arrow-down: "\e603"; -@font-search: "\e604"; - -@font-delete: "\e605"; -@font-dot: "\e606"; -@font-right-triangle: "\e607"; -@font-down-triangle: "\e608"; -@font-left-triangle: "\e6ae"; -@font-top-triangle: "\e6ad"; - -@font-summary: "\e60e"; -@font-axis: "\e626"; -@font-bar: "\e620"; -@font-accumulate-bar: "\e60a"; -@font-pie: "\e618"; -@font-map: "\e62c"; -@font-dashboard: "\e623"; -@font-doughnut: "\e624"; -@font-detail: "\e615"; -@font-more-cn: "\e60d"; -@font-bubble: "\e62a"; -@font-scatter: "\e61d"; -@font-radar: "\e614"; -@font-content: "\e621"; -@font-image: "\e68d"; -@font-web: "\e68c"; - -@font-text: "\e622"; -@font-number: "\e61f"; -@font-tree: "\e61e"; -@font-date: "\e61b"; -@font-year: "\e628"; -@font-year-month: "\e627"; -@font-quarter: "\e629"; -@font-YMD: "\e61c"; -@font-date-range: "\e616"; - -@font-and-or: "\e62b"; -@font-query-cn: "\e609"; -@font-reset-cn: "\e61a"; -@font-text-area: "\e622"; -@font-reuse: "\e60b"; - -@font-save: "\e617"; -@font-undo: "\e619"; -@font-redo: "\e625"; - -@font-style-set: "\e60c"; -@font-filter: "\e60f"; -@font-copy: "\e610"; -@font-check-mark: "\e611"; -@font-dimension-from: "\e612"; -@font-chart-type: "\e613"; - -@font-share: "\e632"; -@font-edit: "\e631"; -@font-up: "\e630"; -@font-right: "\e62f"; -@font-down: "\e62d"; -@font-left: "\e62e"; - -@font-less: "\e633"; -@font-less-equal: "\e636"; -@font-less-arrow: "\e637"; -@font-less-equal-arrow: "\e638"; - -@font-asc: "\e63f"; -@font-des: "\e63a"; - -@font-add: "\e649"; - -@font-field-calc: "\e6a3"; -@font-field-string: "\e642"; -@font-field-number: "\e641"; -@font-field-date: "\e640"; - -@font-preview: "\e65f"; - -@font-setting: "\e678"; -@font-warning: "\e64e"; -@font-linkage: "\e63c"; -@font-detail-set: "\e634"; -@font-export-excel: "\e635"; - -@font-change: "\e660"; - -@font-sortable: "\e63b"; -@font-clear: "\e63d"; - -@font-bold: "\e64d"; -@font-color: "\e69c"; -@font-italic: "\e656"; -@font-underline: "\e650"; -@font-background: "\e696"; -@font-color-underline: "\e69d"; -@font-align-left: "\e654"; -@font-align-center: "\e64f"; -@font-align-right: "\e651"; - -@font-move: "\e65e"; -@font-share: "\e65a"; -@font-new-folder: "\e65d"; -@font-letter: "\e659"; -@font-time: "\e658"; -@font-file: "\e65b"; -@font-folder: "\e65c"; -@font-rename: "\e687"; -@font-rename-edit: "\e670"; - -@font-source-table: "\e67b"; -@font-excel-table: "\e682"; -@font-etl-table: "\e680"; -@font-sql-table: "\e681"; -@font-key: "\e67d;"; -@font-refresh: "\e683"; - -@font-tile-view: "\e685"; -@font-relation-view: "\e684"; -@font-test-link: "\e686"; - -@font-upload: "\e6ba"; -@font-image-size: "\e68b"; -@font-href: "\e688"; -@font-shutdown: "\e689"; - -@font-doubt: "\e69a"; -@font-new: "\e692"; -@font-database: "\e693"; - -@font-series: "\e695"; -@font-classify: "\e694"; - -@font-solid-left: "\e6be"; -@font-solid-right: "\e6bd"; -@font-solid-top: "\e6bc"; -@font-solid-bottom: "\e6bb"; - -@font-no-sort-no-filter: "\e66a"; -@font-no-sort-filter: "\e66b"; -@font-descending-filter: "\e667"; -@font-ascending-filter: "\e669"; -@font-descending-no-filter: "\e666"; -@font-ascending-no-filter: "\e668"; -@font-no-sort: "\e66c"; - -@font-table-col-open: "\e672"; -@font-table-row-open: "\e671"; - -@font-tip: "\e69e"; - -@font-mark-dot: "\e6a2"; -@font-mark-up-arrow: "\e6a0"; -@font-mark-down-arrow: "\e6a1"; -@font-mark-equal: "\e69f"; - -@font-pull-down: "\e6ab"; -@font-check: "\e64c"; - -@font-hellip: "\e6ac"; +@font-cross: "e600"; +@font-arrow-left: "e601"; +@font-arrow-right: "e602"; +@font-arrow-down: "e603"; +@font-search: "e604"; + +@font-delete: "e605"; +@font-dot: "e606"; +@font-right-triangle: "e607"; +@font-down-triangle: "e608"; +@font-left-triangle: "e6ae"; +@font-top-triangle: "e6ad"; + +@font-summary: "e60e"; +@font-axis: "e626"; +@font-bar: "e620"; +@font-accumulate-bar: "e60a"; +@font-pie: "e618"; +@font-map: "e62c"; +@font-dashboard: "e623"; +@font-doughnut: "e624"; +@font-detail: "e615"; +@font-more-cn: "e60d"; +@font-bubble: "e62a"; +@font-scatter: "e61d"; +@font-radar: "e614"; +@font-content: "e621"; +@font-image: "e68d"; +@font-web: "e68c"; + +@font-text: "e622"; +@font-number: "e61f"; +@font-tree: "e61e"; +@font-date: "e61b"; +@font-year: "e628"; +@font-year-month: "e627"; +@font-quarter: "e629"; +@font-YMD: "e61c"; +@font-date-range: "e616"; + +@font-and-or: "e62b"; +@font-query-cn: "e609"; +@font-reset-cn: "e61a"; +@font-text-area: "e622"; +@font-reuse: "e60b"; + +@font-save: "e617"; +@font-undo: "e619"; +@font-redo: "e625"; + +@font-style-set: "e60c"; +@font-filter: "e60f"; +@font-copy: "e610"; +@font-check-mark: "e611"; +@font-dimension-from: "e612"; +@font-chart-type: "e613"; + +@font-share: "e632"; +@font-edit: "e631"; +@font-up: "e630"; +@font-right: "e62f"; +@font-down: "e62d"; +@font-left: "e62e"; + +@font-less: "e633"; +@font-less-equal: "e636"; +@font-less-arrow: "e637"; +@font-less-equal-arrow: "e638"; + +@font-asc: "e63f"; +@font-des: "e63a"; + +@font-add: "e649"; + +@font-field-calc: "e6a3"; +@font-field-string: "e642"; +@font-field-number: "e641"; +@font-field-date: "e640"; + +@font-preview: "e65f"; + +@font-setting: "e678"; +@font-warning: "e64e"; +@font-linkage: "e63c"; +@font-detail-set: "e634"; +@font-export-excel: "e635"; + +@font-change: "e660"; + +@font-sortable: "e63b"; +@font-clear: "e63d"; + +@font-bold: "e64d"; +@font-color: "e69c"; +@font-italic: "e656"; +@font-underline: "e650"; +@font-background: "e696"; +@font-color-underline: "e69d"; +@font-align-left: "e654"; +@font-align-center: "e64f"; +@font-align-right: "e651"; + +@font-move: "e65e"; +@font-share: "e65a"; +@font-new-folder: "e65d"; +@font-letter: "e659"; +@font-time: "e658"; +@font-file: "e65b"; +@font-folder: "e65c"; +@font-rename: "e687"; +@font-rename-edit: "e670"; + +@font-source-table: "e67b"; +@font-excel-table: "e682"; +@font-etl-table: "e680"; +@font-sql-table: "e681"; +@font-key: "e67d;"; +@font-refresh: "e683"; + +@font-tile-view: "e685"; +@font-relation-view: "e684"; +@font-test-link: "e686"; + +@font-upload: "e6ba"; +@font-image-size: "e68b"; +@font-href: "e688"; +@font-shutdown: "e689"; + +@font-doubt: "e69a"; +@font-new: "e692"; +@font-database: "e693"; + +@font-series: "e695"; +@font-classify: "e694"; + +@font-solid-left: "e6be"; +@font-solid-right: "e6bd"; +@font-solid-top: "e6bc"; +@font-solid-bottom: "e6bb"; + +@font-no-sort-no-filter: "e66a"; +@font-no-sort-filter: "e66b"; +@font-descending-filter: "e667"; +@font-ascending-filter: "e669"; +@font-descending-no-filter: "e666"; +@font-ascending-no-filter: "e668"; +@font-no-sort: "e66c"; + +@font-table-col-open: "e672"; +@font-table-row-open: "e671"; + +@font-tip: "e69e"; + +@font-mark-dot: "e6a2"; +@font-mark-up-arrow: "e6a0"; +@font-mark-down-arrow: "e6a1"; +@font-mark-equal: "e69f"; + +@font-pull-down: "e6ab"; +@font-check: "e64c"; + +@font-hellip: "e6ac"; -@font-report-filter-open: "\e648"; -@font-report-filter-close: "\e645"; - -@font-apply-hangout: "\e66d"; -@font-hangout: "\e64b"; +@font-report-filter-open: "e648"; +@font-report-filter-close: "e645"; + +@font-apply-hangout: "e66d"; +@font-hangout: "e64b"; -@font-real-time: "\e6af"; +@font-real-time: "e6af"; -@font-info: "\e66e"; - -@font-cancel-share: "\e6b5"; -@font-check-box-selected: "\e6b3"; -@font-check-box-not-selected: "\e6b2"; - -@font-recover-chart: "\e6b4"; -@font-check-box-not-selected: "\e6b2"; - -@font-solid-setting: "\e697"; +@font-info: "e66e"; + +@font-cancel-share: "e6b5"; +@font-check-box-selected: "e6b3"; +@font-check-box-not-selected: "e6b2"; + +@font-recover-chart: "e6b4"; +@font-check-box-not-selected: "e6b2"; + +@font-solid-setting: "e697"; From 1359e15b62eaf9ca2900c81c882e2ef64eab4c4e Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 2 May 2017 11:51:07 +0800 Subject: [PATCH 16/24] css --- bi/base.css | 16 +- bi/core.css | 2 +- docs/base.css | 16 +- docs/core.css | 2 +- docs/resource.css | 888 ++++++++++++++++-- src/css/base/table/table.grid.scrollbar.css | 16 +- src/css/core/utils/common.css | 2 +- src/less/base/table/table.grid.scrollbar.less | 24 +- src/less/core/utils/common.less | 5 +- 9 files changed, 862 insertions(+), 109 deletions(-) diff --git a/bi/base.css b/bi/base.css index 8a57a0a64..a2b20140d 100644 --- a/bi/base.css +++ b/bi/base.css @@ -1115,12 +1115,12 @@ li.CodeMirror-hint-active { transition-timing-function: ease; user-select: none; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0D666666,endColorstr=#0D666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; border-radius: 5px; } .bi-theme-dark .scrollbar-layout-main { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0Dcccccc,endColorstr=#0Dcccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; } .scrollbar-layout-main-vertical { bottom: 0; @@ -1139,11 +1139,11 @@ li.CodeMirror-hint-active { left: 0; transition-property: background-color; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0D666666,endColorstr=#0D666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; } .bi-theme-dark .scrollbar-layout-main-horizontal { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0Dcccccc,endColorstr=#0Dcccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; } /* Touching the scroll-track directly makes the scroll-track bolder */ .scrollbar-layout-main-horizontal.public-scrollbar-main-active, @@ -1197,23 +1197,23 @@ li.CodeMirror-hint-active { /* Touching the scroll-track directly makes the scroll-track bolder */ .public-scrollbar-face:after { background-color: rgba(102, 102, 102, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C666666,endColorstr=#4C666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666; } .bi-theme-dark .public-scrollbar-face:after { background-color: rgba(204, 204, 204, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4Ccccccc,endColorstr=#4Ccccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc; } .public-scrollbar-main:hover .public-scrollbar-face:after, .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { background-color: rgba(102, 102, 102, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2666666,endColorstr=#B2666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666; } .bi-theme-dark .public-scrollbar-main:hover .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-main-active .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-faceActive:after { background-color: rgba(204, 204, 204, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2cccccc,endColorstr=#B2cccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc; } .horizontal-scrollbar { bottom: 0; diff --git a/bi/core.css b/bi/core.css index ea14d4760..781e734e9 100644 --- a/bi/core.css +++ b/bi/core.css @@ -3065,7 +3065,7 @@ i { } .bi-z-index-mask { background-color: rgba(26, 26, 26, 0.5); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f1a1a1a,endColorstr=#7f1a1a1a); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#801a1a1a,endColorstr=#801a1a1a); } .bi-list-item:hover, .bi-list-item.hover { diff --git a/docs/base.css b/docs/base.css index 8a57a0a64..a2b20140d 100644 --- a/docs/base.css +++ b/docs/base.css @@ -1115,12 +1115,12 @@ li.CodeMirror-hint-active { transition-timing-function: ease; user-select: none; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0D666666,endColorstr=#0D666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; border-radius: 5px; } .bi-theme-dark .scrollbar-layout-main { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0Dcccccc,endColorstr=#0Dcccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; } .scrollbar-layout-main-vertical { bottom: 0; @@ -1139,11 +1139,11 @@ li.CodeMirror-hint-active { left: 0; transition-property: background-color; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0D666666,endColorstr=#0D666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; } .bi-theme-dark .scrollbar-layout-main-horizontal { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0Dcccccc,endColorstr=#0Dcccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; } /* Touching the scroll-track directly makes the scroll-track bolder */ .scrollbar-layout-main-horizontal.public-scrollbar-main-active, @@ -1197,23 +1197,23 @@ li.CodeMirror-hint-active { /* Touching the scroll-track directly makes the scroll-track bolder */ .public-scrollbar-face:after { background-color: rgba(102, 102, 102, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C666666,endColorstr=#4C666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666; } .bi-theme-dark .public-scrollbar-face:after { background-color: rgba(204, 204, 204, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4Ccccccc,endColorstr=#4Ccccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc; } .public-scrollbar-main:hover .public-scrollbar-face:after, .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { background-color: rgba(102, 102, 102, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2666666,endColorstr=#B2666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666; } .bi-theme-dark .public-scrollbar-main:hover .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-main-active .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-faceActive:after { background-color: rgba(204, 204, 204, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2cccccc,endColorstr=#B2cccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc; } .horizontal-scrollbar { bottom: 0; diff --git a/docs/core.css b/docs/core.css index ea14d4760..781e734e9 100644 --- a/docs/core.css +++ b/docs/core.css @@ -3065,7 +3065,7 @@ i { } .bi-z-index-mask { background-color: rgba(26, 26, 26, 0.5); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f1a1a1a,endColorstr=#7f1a1a1a); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#801a1a1a,endColorstr=#801a1a1a); } .bi-list-item:hover, .bi-list-item.hover { diff --git a/docs/resource.css b/docs/resource.css index f147b4cd5..f86bee895 100644 --- a/docs/resource.css +++ b/docs/resource.css @@ -614,6 +614,9 @@ textarea::-webkit-scrollbar-thumb { } /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ +.close-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-font .b-font:before { content: "\e600"; color: inherit; @@ -623,6 +626,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: inherit; } +.close-red-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-red-font .b-font:before { content: "\e600"; color: #e85050; @@ -632,6 +638,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: #e85050; } +.close-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-h-font .b-font:before { content: "\e600"; color: inherit; @@ -647,6 +656,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: inherit; } +.close-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-e-font .b-font:before { content: "\e600"; color: inherit; @@ -659,17 +671,20 @@ textarea::-webkit-scrollbar-thumb { } .close-e-font.active .b-font:before { content: "\e600"; - color: #009de3; + color: #3f8ce8; } .close-e-font:active .b-font:before { content: "\e600"; - color: #009de3; + color: #3f8ce8; } .close-e-font.native .b-font:before, .close-e-font.disabled .b-font:before { content: "\e600"; color: inherit; } +.close-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .close-ha-font .b-font:before { content: "\e600"; color: inherit; @@ -683,13 +698,16 @@ textarea::-webkit-scrollbar-thumb { .close-ha-font:active .b-font:before, .close-ha-font.active .b-font:before { content: "\e600"; - color: #009de3; + color: #3f8ce8; } .close-ha-font.native .b-font:before, .close-ha-font.disabled .b-font:before { content: "\e600"; color: inherit; } +.search-close-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .search-close-h-font .b-font:before { content: "\e600"; color: inherit; @@ -705,6 +723,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: inherit; } +.trigger-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .trigger-font .b-font:before { content: "\e603"; color: inherit; @@ -714,6 +735,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e603"; color: inherit; } +.trigger-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .trigger-h-font .b-font:before { content: "\e603"; color: inherit; @@ -729,6 +753,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e603"; color: inherit; } +.trigger-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .trigger-ha-font .b-font:before { content: "\e603"; color: inherit; @@ -742,13 +769,16 @@ textarea::-webkit-scrollbar-thumb { .trigger-ha-font:active .b-font:before, .trigger-ha-font.active .b-font:before { content: "\e603"; - color: #009de3; + color: #3f8ce8; } .trigger-ha-font.native .b-font:before, .trigger-ha-font.disabled .b-font:before { content: "\e603"; color: inherit; } +.pre-page-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pre-page-font .b-font:before { content: "\e601"; color: inherit; @@ -758,6 +788,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e601"; color: inherit; } +.pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pre-page-h-font .b-font:before { content: "\e601"; color: inherit; @@ -773,6 +806,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e601"; color: inherit; } +.pre-page-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pre-page-ha-font .b-font:before { content: "\e601"; color: inherit; @@ -786,13 +822,16 @@ textarea::-webkit-scrollbar-thumb { .pre-page-ha-font:active .b-font:before, .pre-page-ha-font.active .b-font:before { content: "\e601"; - color: #009de3; + color: #3f8ce8; } .pre-page-ha-font.native .b-font:before, .pre-page-ha-font.disabled .b-font:before { content: "\e601"; color: inherit; } +.next-page-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .next-page-font .b-font:before { content: "\e602"; color: inherit; @@ -802,6 +841,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e602"; color: inherit; } +.next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .next-page-h-font .b-font:before { content: "\e602"; color: inherit; @@ -817,6 +859,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e602"; color: inherit; } +.next-page-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .next-page-ha-font .b-font:before { content: "\e602"; color: inherit; @@ -830,13 +875,16 @@ textarea::-webkit-scrollbar-thumb { .next-page-ha-font:active .b-font:before, .next-page-ha-font.active .b-font:before { content: "\e602"; - color: #009de3; + color: #3f8ce8; } .next-page-ha-font.native .b-font:before, .next-page-ha-font.disabled .b-font:before { content: "\e602"; color: inherit; } +.search-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .search-font .b-font:before { content: "\e604"; color: inherit; @@ -846,6 +894,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e604"; color: inherit; } +.search-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .search-h-font .b-font:before { content: "\e604"; color: inherit; @@ -861,6 +912,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e604"; color: inherit; } +.search-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .search-ha-font .b-font:before { content: "\e604"; color: inherit; @@ -874,13 +928,16 @@ textarea::-webkit-scrollbar-thumb { .search-ha-font:active .b-font:before, .search-ha-font.active .b-font:before { content: "\e604"; - color: #009de3; + color: #3f8ce8; } .search-ha-font.native .b-font:before, .search-ha-font.disabled .b-font:before { content: "\e604"; color: inherit; } +.share-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .share-font .b-font:before { content: "\e65a"; color: inherit; @@ -890,6 +947,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e65a"; color: inherit; } +.share-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .share-h-font .b-font:before { content: "\e65a"; color: inherit; @@ -905,6 +965,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e65a"; color: inherit; } +.share-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .share-ha-font .b-font:before { content: "\e65a"; color: inherit; @@ -918,7 +981,7 @@ textarea::-webkit-scrollbar-thumb { .share-ha-font:active .b-font:before, .share-ha-font.active .b-font:before { content: "\e65a"; - color: #009de3; + color: #3f8ce8; } .share-ha-font.native .b-font:before, .share-ha-font.disabled .b-font:before { @@ -926,6 +989,9 @@ textarea::-webkit-scrollbar-thumb { color: inherit; } /**维度/指标 下拉列表图标字体 ~begin~**/ +.delete-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-font .b-font:before { content: "\e605"; color: inherit; @@ -935,6 +1001,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e605"; color: inherit; } +.delete-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-h-font .b-font:before { content: "\e605"; color: inherit; @@ -950,6 +1019,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e605"; color: inherit; } +.delete-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-ha-font .b-font:before { content: "\e605"; color: inherit; @@ -963,13 +1035,16 @@ textarea::-webkit-scrollbar-thumb { .delete-ha-font:active .b-font:before, .delete-ha-font.active .b-font:before { content: "\e605"; - color: #009de3; + color: #3f8ce8; } .delete-ha-font.native .b-font:before, .delete-ha-font.disabled .b-font:before { content: "\e605"; color: inherit; } +.delete-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-e-font .b-font:before { content: "\e605"; color: inherit; @@ -982,17 +1057,20 @@ textarea::-webkit-scrollbar-thumb { } .delete-e-font.active .b-font:before { content: "\e605"; - color: #009de3; + color: #3f8ce8; } .delete-e-font:active .b-font:before { content: "\e605"; - color: #009de3; + color: #3f8ce8; } .delete-e-font.native .b-font:before, .delete-e-font.disabled .b-font:before { content: "\e605"; color: inherit; } +.dot-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dot-font .b-font:before { content: "\e606"; color: #1a1a1a; @@ -1002,6 +1080,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e606"; color: #1a1a1a; } +.dot-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dot-h-font .b-font:before { content: "\e606"; color: #1a1a1a; @@ -1017,6 +1098,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e606"; color: #1a1a1a; } +.dot-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dot-ha-font .b-font:before { content: "\e606"; color: #ffffff; @@ -1037,6 +1121,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e606"; color: #ffffff; } +.dot-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dot-e-font .b-font:before { content: "\e606"; color: #ffffff; @@ -1060,6 +1147,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e606"; color: #ffffff; } +.pull-right-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-right-font .b-font:before { content: "\e607"; color: inherit; @@ -1069,6 +1159,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e607"; color: inherit; } +.pull-right-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-right-h-font .b-font:before { content: "\e607"; color: inherit; @@ -1084,6 +1177,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e607"; color: inherit; } +.pull-right-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-right-ha-font .b-font:before { content: "\e607"; color: inherit; @@ -1097,13 +1193,16 @@ textarea::-webkit-scrollbar-thumb { .pull-right-ha-font:active .b-font:before, .pull-right-ha-font.active .b-font:before { content: "\e607"; - color: #009de3; + color: #3f8ce8; } .pull-right-ha-font.native .b-font:before, .pull-right-ha-font.disabled .b-font:before { content: "\e607"; color: inherit; } +.pull-right-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-right-e-font .b-font:before { content: "\e607"; color: inherit; @@ -1116,17 +1215,20 @@ textarea::-webkit-scrollbar-thumb { } .pull-right-e-font.active .b-font:before { content: "\e607"; - color: #009de3; + color: #3f8ce8; } .pull-right-e-font:active .b-font:before { content: "\e607"; - color: #009de3; + color: #3f8ce8; } .pull-right-e-font.native .b-font:before, .pull-right-e-font.disabled .b-font:before { content: "\e607"; color: inherit; } +.copy-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .copy-font .b-font:before { content: "\e610"; color: inherit; @@ -1136,6 +1238,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e610"; color: inherit; } +.copy-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .copy-h-font .b-font:before { content: "\e610"; color: #1a1a1a; @@ -1151,6 +1256,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e610"; color: #1a1a1a; } +.copy-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .copy-ha-font .b-font:before { content: "\e610"; color: inherit; @@ -1164,13 +1272,16 @@ textarea::-webkit-scrollbar-thumb { .copy-ha-font:active .b-font:before, .copy-ha-font.active .b-font:before { content: "\e610"; - color: #009de3; + color: #3f8ce8; } .copy-ha-font.native .b-font:before, .copy-ha-font.disabled .b-font:before { content: "\e610"; color: inherit; } +.copy-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .copy-e-font .b-font:before { content: "\e610"; color: inherit; @@ -1183,17 +1294,20 @@ textarea::-webkit-scrollbar-thumb { } .copy-e-font.active .b-font:before { content: "\e610"; - color: #009de3; + color: #3f8ce8; } .copy-e-font:active .b-font:before { content: "\e610"; - color: #009de3; + color: #3f8ce8; } .copy-e-font.native .b-font:before, .copy-e-font.disabled .b-font:before { content: "\e610"; color: inherit; } +.check-mark-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-mark-font .b-font:before { content: "\e611"; color: inherit; @@ -1203,6 +1317,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e611"; color: inherit; } +.check-mark-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-mark-h-font .b-font:before { content: "\e611"; color: inherit; @@ -1218,6 +1335,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e611"; color: inherit; } +.check-mark-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-mark-ha-font .b-font:before { content: "\e611"; color: inherit; @@ -1231,13 +1351,16 @@ textarea::-webkit-scrollbar-thumb { .check-mark-ha-font:active .b-font:before, .check-mark-ha-font.active .b-font:before { content: "\e611"; - color: #009de3; + color: #3f8ce8; } .check-mark-ha-font.native .b-font:before, .check-mark-ha-font.disabled .b-font:before { content: "\e611"; color: inherit; } +.check-mark-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-mark-e-font .b-font:before { content: "\e611"; color: inherit; @@ -1250,17 +1373,20 @@ textarea::-webkit-scrollbar-thumb { } .check-mark-e-font.active .b-font:before { content: "\e611"; - color: #009de3; + color: #3f8ce8; } .check-mark-e-font:active .b-font:before { content: "\e611"; - color: #009de3; + color: #3f8ce8; } .check-mark-e-font.native .b-font:before, .check-mark-e-font.disabled .b-font:before { content: "\e611"; color: inherit; } +.dimension-from-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dimension-from-font .b-font:before { content: "\e612"; color: inherit; @@ -1270,6 +1396,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e612"; color: inherit; } +.dimension-from-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dimension-from-h-font .b-font:before { content: "\e612"; color: inherit; @@ -1285,6 +1414,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e612"; color: inherit; } +.dimension-from-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dimension-from-ha-font .b-font:before { content: "\e612"; color: inherit; @@ -1298,13 +1430,16 @@ textarea::-webkit-scrollbar-thumb { .dimension-from-ha-font:active .b-font:before, .dimension-from-ha-font.active .b-font:before { content: "\e612"; - color: #009de3; + color: #3f8ce8; } .dimension-from-ha-font.native .b-font:before, .dimension-from-ha-font.disabled .b-font:before { content: "\e612"; color: inherit; } +.dimension-from-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dimension-from-e-font .b-font:before { content: "\e612"; color: inherit; @@ -1317,17 +1452,20 @@ textarea::-webkit-scrollbar-thumb { } .dimension-from-e-font.active .b-font:before { content: "\e612"; - color: #009de3; + color: #3f8ce8; } .dimension-from-e-font:active .b-font:before { content: "\e612"; - color: #009de3; + color: #3f8ce8; } .dimension-from-e-font.native .b-font:before, .dimension-from-e-font.disabled .b-font:before { content: "\e612"; color: inherit; } +.chart-type-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-type-font .b-font:before { content: "\e613"; color: inherit; @@ -1337,6 +1475,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e613"; color: inherit; } +.chart-type-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-type-h-font .b-font:before { content: "\e613"; color: inherit; @@ -1352,6 +1493,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e613"; color: inherit; } +.chart-type-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-type-ha-font .b-font:before { content: "\e613"; color: inherit; @@ -1365,13 +1509,16 @@ textarea::-webkit-scrollbar-thumb { .chart-type-ha-font:active .b-font:before, .chart-type-ha-font.active .b-font:before { content: "\e613"; - color: #009de3; + color: #3f8ce8; } .chart-type-ha-font.native .b-font:before, .chart-type-ha-font.disabled .b-font:before { content: "\e613"; color: inherit; } +.chart-type-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-type-e-font .b-font:before { content: "\e613"; color: inherit; @@ -1384,17 +1531,20 @@ textarea::-webkit-scrollbar-thumb { } .chart-type-e-font.active .b-font:before { content: "\e613"; - color: #009de3; + color: #3f8ce8; } .chart-type-e-font:active .b-font:before { content: "\e613"; - color: #009de3; + color: #3f8ce8; } .chart-type-e-font.native .b-font:before, .chart-type-e-font.disabled .b-font:before { content: "\e613"; color: inherit; } +.style-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .style-set-font .b-font:before { content: "\e60c"; color: inherit; @@ -1404,6 +1554,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e60c"; color: inherit; } +.style-set-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .style-set-h-font .b-font:before { content: "\e60c"; color: inherit; @@ -1419,6 +1572,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e60c"; color: inherit; } +.style-set-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .style-set-ha-font .b-font:before { content: "\e60c"; color: inherit; @@ -1432,13 +1588,16 @@ textarea::-webkit-scrollbar-thumb { .style-set-ha-font:active .b-font:before, .style-set-ha-font.active .b-font:before { content: "\e60c"; - color: #009de3; + color: #3f8ce8; } .style-set-ha-font.native .b-font:before, .style-set-ha-font.disabled .b-font:before { content: "\e60c"; color: inherit; } +.style-set-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .style-set-e-font .b-font:before { content: "\e60c"; color: inherit; @@ -1451,17 +1610,20 @@ textarea::-webkit-scrollbar-thumb { } .style-set-e-font.active .b-font:before { content: "\e60c"; - color: #009de3; + color: #3f8ce8; } .style-set-e-font:active .b-font:before { content: "\e60c"; - color: #009de3; + color: #3f8ce8; } .style-set-e-font.native .b-font:before, .style-set-e-font.disabled .b-font:before { content: "\e60c"; color: inherit; } +.hyper-link-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .hyper-link-font .b-font:before { content: "\e688"; color: inherit; @@ -1471,6 +1633,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e688"; color: inherit; } +.filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .filter-font .b-font:before { content: "\e60f"; color: inherit; @@ -1480,6 +1645,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e60f"; color: inherit; } +.filter-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .filter-h-font .b-font:before { content: "\e60f"; color: inherit; @@ -1495,6 +1663,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e60f"; color: inherit; } +.filter-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .filter-ha-font .b-font:before { content: "\e60f"; color: inherit; @@ -1508,13 +1679,16 @@ textarea::-webkit-scrollbar-thumb { .filter-ha-font:active .b-font:before, .filter-ha-font.active .b-font:before { content: "\e60f"; - color: #009de3; + color: #3f8ce8; } .filter-ha-font.native .b-font:before, .filter-ha-font.disabled .b-font:before { content: "\e60f"; color: inherit; } +.filter-e-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .filter-e-font .b-font:before { content: "\e60f"; color: inherit; @@ -1527,17 +1701,20 @@ textarea::-webkit-scrollbar-thumb { } .filter-e-font.active .b-font:before { content: "\e60f"; - color: #009de3; + color: #3f8ce8; } .filter-e-font:active .b-font:before { content: "\e60f"; - color: #009de3; + color: #3f8ce8; } .filter-e-font.native .b-font:before, .filter-e-font.disabled .b-font:before { content: "\e60f"; color: inherit; } +.classify-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .classify-font .b-font:before { content: "\e694"; color: #3f8ce8; @@ -1547,6 +1724,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e694"; color: #3f8ce8; } +.series-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .series-font .b-font:before { content: "\e695"; color: #58cc7d; @@ -1558,6 +1738,9 @@ textarea::-webkit-scrollbar-thumb { } /**维度/指标 下拉列表图标字体 ~end~**/ /** dashboard组件/控件 下拉列表图标字体 ~begin~**/ +.link-to-widget-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .link-to-widget-h-font .b-font:before { content: "\e600"; color: #999999; @@ -1573,6 +1756,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: #999999; } +.link-to-detail-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .link-to-detail-h-font .b-font:before { content: "\e600"; color: #999999; @@ -1588,6 +1774,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: #999999; } +.detail-setting-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .detail-setting-h-font .b-font:before { content: "\e600"; color: #999999; @@ -1603,6 +1792,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: #999999; } +.export-to-excel-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .export-to-excel-h-font .b-font:before { content: "\e600"; color: #999999; @@ -1618,6 +1810,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: #999999; } +.widget-copy-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-copy-h-font .b-font:before { content: "\e610"; color: #999999; @@ -1633,6 +1828,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e610"; color: #999999; } +.widget-delete-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-delete-h-font .b-font:before { content: "\e605"; color: #999999; @@ -1649,6 +1847,9 @@ textarea::-webkit-scrollbar-thumb { color: #999999; } /** dashboard组件/控件 下拉列表图标字体 ~end~**/ +.tree-node-triangle-expand-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .tree-node-triangle-expand-font .b-font:before { content: "\e608"; color: inherit; @@ -1658,6 +1859,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e608"; color: inherit; } +.tree-node-triangle-collapse-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .tree-node-triangle-collapse-font .b-font:before { content: "\e607"; color: inherit; @@ -1667,6 +1871,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e607"; color: inherit; } +.row-pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .row-pre-page-h-font .b-font:before { content: "\e6be"; color: inherit; @@ -1682,6 +1889,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6be"; color: inherit; } +.row-next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .row-next-page-h-font .b-font:before { content: "\e6bd"; color: inherit; @@ -1697,6 +1907,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6bd"; color: inherit; } +.column-pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .column-pre-page-h-font .b-font:before { content: "\e6bc"; color: inherit; @@ -1712,6 +1925,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6bc"; color: inherit; } +.column-next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .column-next-page-h-font .b-font:before { content: "\e6bb"; color: inherit; @@ -1727,6 +1943,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6bb"; color: inherit; } +.trigger-triangle-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .trigger-triangle-font .b-font:before { content: "\e66a"; color: #999999; @@ -1747,6 +1966,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e66a"; color: #999999; } +.widget-date-next-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-date-next-h-font .b-font:before { content: "\e62f"; color: inherit; @@ -1762,6 +1984,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e62f"; color: inherit; } +.widget-date-pre-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-date-pre-h-font .b-font:before { content: "\e62e"; color: inherit; @@ -1777,6 +2002,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e62e"; color: inherit; } +.widget-date-h-change-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-date-h-change-font .b-font:before { content: "\e660"; color: inherit; @@ -1792,6 +2020,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e660"; color: inherit; } +.pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-down-font .b-font:before { content: "\e608"; color: inherit; @@ -1801,6 +2032,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e608"; color: inherit; } +.pull-down-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-down-h-font .b-font:before { content: "\e608"; color: inherit; @@ -1816,6 +2050,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e608"; color: inherit; } +.pull-down-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .pull-down-ha-font .b-font:before { content: "\e608"; color: inherit; @@ -1829,13 +2066,16 @@ textarea::-webkit-scrollbar-thumb { .pull-down-ha-font:active .b-font:before, .pull-down-ha-font.active .b-font:before { content: "\e608"; - color: #009de3; + color: #3f8ce8; } .pull-down-ha-font.native .b-font:before, .pull-down-ha-font.disabled .b-font:before { content: "\e608"; color: inherit; } +.delete-field-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-field-font .b-font:before { content: "\e605"; color: inherit; @@ -1845,6 +2085,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e605"; color: inherit; } +.delete-field-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-field-h-font .b-font:before { content: "\e605"; color: inherit; @@ -1860,6 +2103,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e605"; color: inherit; } +.delete-field-ha-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-field-ha-font .b-font:before { content: "\e605"; color: inherit; @@ -1873,13 +2119,16 @@ textarea::-webkit-scrollbar-thumb { .delete-field-ha-font:active .b-font:before, .delete-field-ha-font.active .b-font:before { content: "\e605"; - color: #009de3; + color: #3f8ce8; } .delete-field-ha-font.native .b-font:before, .delete-field-ha-font.disabled .b-font:before { content: "\e605"; color: inherit; } +.toolbar-save-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-save-font .b-font:before { content: "\e617"; color: inherit; @@ -1895,6 +2144,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e617"; color: inherit; } +.toolbar-undo-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-undo-font .b-font:before { content: "\e619"; color: inherit; @@ -1910,6 +2162,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e619"; color: inherit; } +.toolbar-redo-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-redo-font .b-font:before { content: "\e625"; color: inherit; @@ -1925,6 +2180,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e625"; color: inherit; } +.toolbar-edit-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-edit-font .b-font:before { content: "\e631"; color: inherit; @@ -1940,6 +2198,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e631"; color: inherit; } +.toolbar-preview-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .toolbar-preview-font .b-font:before { content: "\e65f"; color: inherit; @@ -1955,6 +2216,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e65f"; color: inherit; } +.chart-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-table-font .b-font:before { content: "\e60e"; color: inherit; @@ -1968,13 +2232,16 @@ textarea::-webkit-scrollbar-thumb { .chart-table-font:active .b-font:before, .chart-table-font.active .b-font:before { content: "\e60e"; - color: #009de3; + color: #3f8ce8; } .chart-table-font.native .b-font:before, .chart-table-font.disabled .b-font:before { content: "\e60e"; color: inherit; } +.chart-axis-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-axis-font .b-font:before { content: "\e626"; color: inherit; @@ -1988,13 +2255,16 @@ textarea::-webkit-scrollbar-thumb { .chart-axis-font:active .b-font:before, .chart-axis-font.active .b-font:before { content: "\e626"; - color: #009de3; + color: #3f8ce8; } .chart-axis-font.native .b-font:before, .chart-axis-font.disabled .b-font:before { content: "\e626"; color: inherit; } +.chart-bar-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-bar-font .b-font:before { content: "\e620"; color: inherit; @@ -2008,13 +2278,16 @@ textarea::-webkit-scrollbar-thumb { .chart-bar-font:active .b-font:before, .chart-bar-font.active .b-font:before { content: "\e620"; - color: #009de3; + color: #3f8ce8; } .chart-bar-font.native .b-font:before, .chart-bar-font.disabled .b-font:before { content: "\e620"; color: inherit; } +.chart-accumulate-bar-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-accumulate-bar-font .b-font:before { content: "\e60a"; color: inherit; @@ -2028,13 +2301,16 @@ textarea::-webkit-scrollbar-thumb { .chart-accumulate-bar-font:active .b-font:before, .chart-accumulate-bar-font.active .b-font:before { content: "\e60a"; - color: #009de3; + color: #3f8ce8; } .chart-accumulate-bar-font.native .b-font:before, .chart-accumulate-bar-font.disabled .b-font:before { content: "\e60a"; color: inherit; } +.chart-pie-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-pie-font .b-font:before { content: "\e618"; color: inherit; @@ -2048,13 +2324,16 @@ textarea::-webkit-scrollbar-thumb { .chart-pie-font:active .b-font:before, .chart-pie-font.active .b-font:before { content: "\e618"; - color: #009de3; + color: #3f8ce8; } .chart-pie-font.native .b-font:before, .chart-pie-font.disabled .b-font:before { content: "\e618"; color: inherit; } +.chart-map-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-map-font .b-font:before { content: "\e62c"; color: inherit; @@ -2068,13 +2347,16 @@ textarea::-webkit-scrollbar-thumb { .chart-map-font:active .b-font:before, .chart-map-font.active .b-font:before { content: "\e62c"; - color: #009de3; + color: #3f8ce8; } .chart-map-font.native .b-font:before, .chart-map-font.disabled .b-font:before { content: "\e62c"; color: inherit; } +.chart-dashboard-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-dashboard-font .b-font:before { content: "\e623"; color: inherit; @@ -2088,13 +2370,16 @@ textarea::-webkit-scrollbar-thumb { .chart-dashboard-font:active .b-font:before, .chart-dashboard-font.active .b-font:before { content: "\e623"; - color: #009de3; + color: #3f8ce8; } .chart-dashboard-font.native .b-font:before, .chart-dashboard-font.disabled .b-font:before { content: "\e623"; color: inherit; } +.chart-doughnut-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-doughnut-font .b-font:before { content: "\e624"; color: inherit; @@ -2108,13 +2393,16 @@ textarea::-webkit-scrollbar-thumb { .chart-doughnut-font:active .b-font:before, .chart-doughnut-font.active .b-font:before { content: "\e624"; - color: #009de3; + color: #3f8ce8; } .chart-doughnut-font.native .b-font:before, .chart-doughnut-font.disabled .b-font:before { content: "\e624"; color: inherit; } +.chart-detail-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-detail-font .b-font:before { content: "\e615"; color: inherit; @@ -2128,13 +2416,16 @@ textarea::-webkit-scrollbar-thumb { .chart-detail-font:active .b-font:before, .chart-detail-font.active .b-font:before { content: "\e615"; - color: #009de3; + color: #3f8ce8; } .chart-detail-font.native .b-font:before, .chart-detail-font.disabled .b-font:before { content: "\e615"; color: inherit; } +.chart-more-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-more-font .b-font:before { content: "\e60d"; color: inherit; @@ -2148,13 +2439,16 @@ textarea::-webkit-scrollbar-thumb { .chart-more-font:active .b-font:before, .chart-more-font.active .b-font:before { content: "\e60d"; - color: #009de3; + color: #3f8ce8; } .chart-more-font.native .b-font:before, .chart-more-font.disabled .b-font:before { content: "\e60d"; color: inherit; } +.chart-bubble-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-bubble-font .b-font:before { content: "\e62a"; color: inherit; @@ -2168,13 +2462,16 @@ textarea::-webkit-scrollbar-thumb { .chart-bubble-font:active .b-font:before, .chart-bubble-font.active .b-font:before { content: "\e62a"; - color: #009de3; + color: #3f8ce8; } .chart-bubble-font.native .b-font:before, .chart-bubble-font.disabled .b-font:before { content: "\e62a"; color: inherit; } +.chart-scatter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-scatter-font .b-font:before { content: "\e61d"; color: inherit; @@ -2188,13 +2485,16 @@ textarea::-webkit-scrollbar-thumb { .chart-scatter-font:active .b-font:before, .chart-scatter-font.active .b-font:before { content: "\e61d"; - color: #009de3; + color: #3f8ce8; } .chart-scatter-font.native .b-font:before, .chart-scatter-font.disabled .b-font:before { content: "\e61d"; color: inherit; } +.chart-radar-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-radar-font .b-font:before { content: "\e614"; color: inherit; @@ -2208,13 +2508,16 @@ textarea::-webkit-scrollbar-thumb { .chart-radar-font:active .b-font:before, .chart-radar-font.active .b-font:before { content: "\e614"; - color: #009de3; + color: #3f8ce8; } .chart-radar-font.native .b-font:before, .chart-radar-font.disabled .b-font:before { content: "\e614"; color: inherit; } +.chart-content-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-content-font .b-font:before { content: "\e621"; color: inherit; @@ -2228,13 +2531,16 @@ textarea::-webkit-scrollbar-thumb { .chart-content-font:active .b-font:before, .chart-content-font.active .b-font:before { content: "\e621"; - color: #009de3; + color: #3f8ce8; } .chart-content-font.native .b-font:before, .chart-content-font.disabled .b-font:before { content: "\e621"; color: inherit; } +.chart-image-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-image-font .b-font:before { content: "\e68d"; color: inherit; @@ -2248,13 +2554,16 @@ textarea::-webkit-scrollbar-thumb { .chart-image-font:active .b-font:before, .chart-image-font.active .b-font:before { content: "\e68d"; - color: #009de3; + color: #3f8ce8; } .chart-image-font.native .b-font:before, .chart-image-font.disabled .b-font:before { content: "\e68d"; color: inherit; } +.chart-web-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-web-font .b-font:before { content: "\e68c"; color: inherit; @@ -2268,13 +2577,16 @@ textarea::-webkit-scrollbar-thumb { .chart-web-font:active .b-font:before, .chart-web-font.active .b-font:before { content: "\e68c"; - color: #009de3; + color: #3f8ce8; } .chart-web-font.native .b-font:before, .chart-web-font.disabled .b-font:before { content: "\e68c"; color: inherit; } +.chart-string-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-string-font .b-font:before { content: "\e622"; color: inherit; @@ -2288,13 +2600,16 @@ textarea::-webkit-scrollbar-thumb { .chart-string-font:active .b-font:before, .chart-string-font.active .b-font:before { content: "\e622"; - color: #009de3; + color: #3f8ce8; } .chart-string-font.native .b-font:before, .chart-string-font.disabled .b-font:before { content: "\e622"; color: inherit; } +.chart-number-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-number-font .b-font:before { content: "\e61f"; color: inherit; @@ -2308,13 +2623,16 @@ textarea::-webkit-scrollbar-thumb { .chart-number-font:active .b-font:before, .chart-number-font.active .b-font:before { content: "\e61f"; - color: #009de3; + color: #3f8ce8; } .chart-number-font.native .b-font:before, .chart-number-font.disabled .b-font:before { content: "\e61f"; color: inherit; } +.chart-tree-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-tree-font .b-font:before { content: "\e61e"; color: inherit; @@ -2328,13 +2646,16 @@ textarea::-webkit-scrollbar-thumb { .chart-tree-font:active .b-font:before, .chart-tree-font.active .b-font:before { content: "\e61e"; - color: #009de3; + color: #3f8ce8; } .chart-tree-font.native .b-font:before, .chart-tree-font.disabled .b-font:before { content: "\e61e"; color: inherit; } +.chart-date-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-date-font .b-font:before { content: "\e61b"; color: inherit; @@ -2348,13 +2669,16 @@ textarea::-webkit-scrollbar-thumb { .chart-date-font:active .b-font:before, .chart-date-font.active .b-font:before { content: "\e61b"; - color: #009de3; + color: #3f8ce8; } .chart-date-font.native .b-font:before, .chart-date-font.disabled .b-font:before { content: "\e61b"; color: inherit; } +.chart-year-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-year-font .b-font:before { content: "\e628"; color: inherit; @@ -2368,13 +2692,16 @@ textarea::-webkit-scrollbar-thumb { .chart-year-font:active .b-font:before, .chart-year-font.active .b-font:before { content: "\e628"; - color: #009de3; + color: #3f8ce8; } .chart-year-font.native .b-font:before, .chart-year-font.disabled .b-font:before { content: "\e628"; color: inherit; } +.chart-month-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-month-font .b-font:before { content: "\e627"; color: inherit; @@ -2388,13 +2715,16 @@ textarea::-webkit-scrollbar-thumb { .chart-month-font:active .b-font:before, .chart-month-font.active .b-font:before { content: "\e627"; - color: #009de3; + color: #3f8ce8; } .chart-month-font.native .b-font:before, .chart-month-font.disabled .b-font:before { content: "\e627"; color: inherit; } +.chart-quarter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-quarter-font .b-font:before { content: "\e629"; color: inherit; @@ -2408,13 +2738,16 @@ textarea::-webkit-scrollbar-thumb { .chart-quarter-font:active .b-font:before, .chart-quarter-font.active .b-font:before { content: "\e629"; - color: #009de3; + color: #3f8ce8; } .chart-quarter-font.native .b-font:before, .chart-quarter-font.disabled .b-font:before { content: "\e629"; color: inherit; } +.chart-ymd-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-ymd-font .b-font:before { content: "\e61c"; color: inherit; @@ -2428,13 +2761,16 @@ textarea::-webkit-scrollbar-thumb { .chart-ymd-font:active .b-font:before, .chart-ymd-font.active .b-font:before { content: "\e61c"; - color: #009de3; + color: #3f8ce8; } .chart-ymd-font.native .b-font:before, .chart-ymd-font.disabled .b-font:before { content: "\e61c"; color: inherit; } +.chart-date-range-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-date-range-font .b-font:before { content: "\e616"; color: inherit; @@ -2448,13 +2784,16 @@ textarea::-webkit-scrollbar-thumb { .chart-date-range-font:active .b-font:before, .chart-date-range-font.active .b-font:before { content: "\e616"; - color: #009de3; + color: #3f8ce8; } .chart-date-range-font.native .b-font:before, .chart-date-range-font.disabled .b-font:before { content: "\e616"; color: inherit; } +.chart-general-query-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-general-query-font .b-font:before { content: "\e62b"; color: inherit; @@ -2468,13 +2807,16 @@ textarea::-webkit-scrollbar-thumb { .chart-general-query-font:active .b-font:before, .chart-general-query-font.active .b-font:before { content: "\e62b"; - color: #009de3; + color: #3f8ce8; } .chart-general-query-font.native .b-font:before, .chart-general-query-font.disabled .b-font:before { content: "\e62b"; color: inherit; } +.chart-query-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-query-font .b-font:before { content: "\e609"; color: inherit; @@ -2488,13 +2830,16 @@ textarea::-webkit-scrollbar-thumb { .chart-query-font:active .b-font:before, .chart-query-font.active .b-font:before { content: "\e609"; - color: #009de3; + color: #3f8ce8; } .chart-query-font.native .b-font:before, .chart-query-font.disabled .b-font:before { content: "\e609"; color: inherit; } +.chart-reset-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-reset-font .b-font:before { content: "\e61a"; color: inherit; @@ -2508,13 +2853,16 @@ textarea::-webkit-scrollbar-thumb { .chart-reset-font:active .b-font:before, .chart-reset-font.active .b-font:before { content: "\e61a"; - color: #009de3; + color: #3f8ce8; } .chart-reset-font.native .b-font:before, .chart-reset-font.disabled .b-font:before { content: "\e61a"; color: inherit; } +.chart-textarea-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-textarea-font .b-font:before { content: "\e622"; color: inherit; @@ -2528,13 +2876,16 @@ textarea::-webkit-scrollbar-thumb { .chart-textarea-font:active .b-font:before, .chart-textarea-font.active .b-font:before { content: "\e622"; - color: #009de3; + color: #3f8ce8; } .chart-textarea-font.native .b-font:before, .chart-textarea-font.disabled .b-font:before { content: "\e622"; color: inherit; } +.chart-reuse-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-reuse-font .b-font:before { content: "\e60b"; color: inherit; @@ -2548,13 +2899,16 @@ textarea::-webkit-scrollbar-thumb { .chart-reuse-font:active .b-font:before, .chart-reuse-font.active .b-font:before { content: "\e60b"; - color: #009de3; + color: #3f8ce8; } .chart-reuse-font.native .b-font:before, .chart-reuse-font.disabled .b-font:before { content: "\e60b"; color: inherit; } +.chart-date-normal-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-date-normal-font .b-font:before { content: "\e61b"; color: inherit; @@ -2564,6 +2918,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e61b"; color: inherit; } +.less-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .less-font .b-font:before { content: "\e633"; color: inherit; @@ -2577,13 +2934,16 @@ textarea::-webkit-scrollbar-thumb { .less-font:active .b-font:before, .less-font.active .b-font:before { content: "\e633"; - color: #009de3; + color: #3f8ce8; } .less-font.native .b-font:before, .less-font.disabled .b-font:before { content: "\e633"; color: inherit; } +.less-equal-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .less-equal-font .b-font:before { content: "\e636"; color: inherit; @@ -2597,13 +2957,16 @@ textarea::-webkit-scrollbar-thumb { .less-equal-font:active .b-font:before, .less-equal-font.active .b-font:before { content: "\e636"; - color: #009de3; + color: #3f8ce8; } .less-equal-font.native .b-font:before, .less-equal-font.disabled .b-font:before { content: "\e636"; color: inherit; } +.check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .check-font .b-font:before { content: "\e611"; color: #3f8ce8; @@ -2613,6 +2976,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e611"; color: #3f8ce8; } +.move2group-add-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .move2group-add-font .b-font:before { content: "\e649"; color: #3f8ce8; @@ -2622,6 +2988,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e649"; color: #3f8ce8; } +.select-data-field-calc-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-calc-font .b-font:before { content: "\e6a3"; color: inherit; @@ -2642,6 +3011,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6a3"; color: inherit; } +.select-data-field-string-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-string-font .b-font:before { content: "\e642"; color: inherit; @@ -2662,6 +3034,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e642"; color: inherit; } +.select-data-field-number-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-number-font .b-font:before { content: "\e641"; color: inherit; @@ -2682,6 +3057,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e641"; color: inherit; } +.select-data-field-date-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-date-font .b-font:before { content: "\e640"; color: inherit; @@ -2702,6 +3080,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e640"; color: inherit; } +.select-data-field-string-group-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-string-group-font .b-font:before { content: "\e642"; color: inherit; @@ -2711,6 +3092,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e642"; color: inherit; } +.select-data-field-number-group-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-number-group-font .b-font:before { content: "\e641"; color: inherit; @@ -2720,6 +3104,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e641"; color: inherit; } +.select-data-field-date-group-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-field-date-group-font .b-font:before { content: "\e640"; color: inherit; @@ -2729,6 +3116,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e640"; color: inherit; } +.select-data-preview-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-data-preview-font .b-font:before { content: "\e65f"; color: #999999; @@ -2749,6 +3139,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e65f"; color: #999999; } +.detail-dimension-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .detail-dimension-set-font .b-font:before { content: "\e678"; color: inherit; @@ -2764,6 +3157,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e678"; color: inherit; } +.detail-real-data-warning-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .detail-real-data-warning-font .b-font:before { content: "\e64e"; color: #f07d0a; @@ -2779,6 +3175,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e64e"; color: #f07d0a; } +.select-group-field-string-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-group-field-string-font .b-font:before { content: "\e642"; color: #3f8ce8; @@ -2799,6 +3198,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e642"; color: #3f8ce8; } +.select-group-field-number-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-group-field-number-font .b-font:before { content: "\e641"; color: #3f8ce8; @@ -2819,6 +3221,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e641"; color: #3f8ce8; } +.select-group-field-date-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .select-group-field-date-font .b-font:before { content: "\e640"; color: #3f8ce8; @@ -2839,6 +3244,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e640"; color: #3f8ce8; } +.dashboard-widget-combo-detail-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .dashboard-widget-combo-detail-set-font .b-font:before { content: "\e634"; color: inherit; @@ -2854,6 +3262,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e634"; color: inherit; } +.group-add-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .group-add-font .b-font:before { content: "\e649"; color: #999999; @@ -2863,6 +3274,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e649"; color: #999999; } +.sortable-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .sortable-font .b-font:before { content: "\e63b"; color: inherit; @@ -2872,6 +3286,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e63b"; color: inherit; } +.text-bold-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-bold-font .b-font:before { content: "\e64d"; color: inherit; @@ -2881,6 +3298,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e64d"; color: inherit; } +.text-italic-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-italic-font .b-font:before { content: "\e656"; color: inherit; @@ -2890,6 +3310,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e656"; color: inherit; } +.text-underline-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-underline-font .b-font:before { content: "\e650"; color: inherit; @@ -2899,6 +3322,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e650"; color: inherit; } +.text-color-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-color-font .b-font:before { content: "\e69c"; color: inherit; @@ -2908,6 +3334,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e69c"; color: inherit; } +.text-background-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-background-font .b-font:before { content: "\e696"; color: inherit; @@ -2917,6 +3346,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e696"; color: inherit; } +.text-color-underline-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-color-underline-font .b-font:before { content: "\e69d"; color: inherit; @@ -2926,6 +3358,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e69d"; color: inherit; } +.text-align-left-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-align-left-font .b-font:before { content: "\e654"; color: inherit; @@ -2935,6 +3370,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e654"; color: inherit; } +.text-align-center-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-align-center-font .b-font:before { content: "\e64f"; color: inherit; @@ -2944,6 +3382,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e64f"; color: inherit; } +.text-align-right-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .text-align-right-font .b-font:before { content: "\e651"; color: inherit; @@ -2953,6 +3394,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e651"; color: inherit; } +.img-upload-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .img-upload-font .b-font:before { content: "\e6ba"; color: #3f8ce8; @@ -2962,6 +3406,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6ba"; color: #3f8ce8; } +.img-size-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .img-size-font .b-font:before { content: "\e68b"; color: #3f8ce8; @@ -2971,6 +3418,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e68b"; color: #3f8ce8; } +.img-href-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .img-href-font .b-font:before { content: "\e688"; color: #3f8ce8; @@ -2980,6 +3430,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e688"; color: #3f8ce8; } +.img-shutdown-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .img-shutdown-font .b-font:before { content: "\e689"; color: #3f8ce8; @@ -2989,6 +3442,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e689"; color: #3f8ce8; } +.move-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .move-font .b-font:before { content: "\e65e"; color: inherit; @@ -2998,6 +3454,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e65e"; color: inherit; } +.share-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .share-font .b-font:before { content: "\e65a"; color: inherit; @@ -3007,6 +3466,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e65a"; color: inherit; } +.new-file-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .new-file-font .b-font:before { content: "\e65d"; color: inherit; @@ -3016,6 +3478,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e65d"; color: inherit; } +.file-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .file-font .b-font:before { content: "\e65b"; color: #fcc550; @@ -3025,6 +3490,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e65b"; color: #fcc550; } +.folder-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .folder-font .b-font:before { content: "\e65c"; color: #3f8ce8; @@ -3034,6 +3502,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e65c"; color: #3f8ce8; } +.letter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .letter-font .b-font:before { content: "\e659"; color: inherit; @@ -3047,13 +3518,16 @@ textarea::-webkit-scrollbar-thumb { .letter-font:active .b-font:before, .letter-font.active .b-font:before { content: "\e659"; - color: #009de3; + color: #3f8ce8; } .letter-font.native .b-font:before, .letter-font.disabled .b-font:before { content: "\e659"; color: inherit; } +.time-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .time-font .b-font:before { content: "\e658"; color: inherit; @@ -3067,13 +3541,16 @@ textarea::-webkit-scrollbar-thumb { .time-font:active .b-font:before, .time-font.active .b-font:before { content: "\e658"; - color: #009de3; + color: #3f8ce8; } .time-font.native .b-font:before, .time-font.disabled .b-font:before { content: "\e658"; color: inherit; } +.rename-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .rename-font .b-font:before { content: "\e687"; color: inherit; @@ -3083,6 +3560,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e687"; color: inherit; } +.delete-template-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-template-font .b-font:before { content: "\e605"; color: #999999; @@ -3092,6 +3572,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e605"; color: #999999; } +.real-time-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .real-time-font .b-font:before { content: "\e6af"; color: #fcc550; @@ -3101,6 +3584,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6af"; color: #fcc550; } +.data-source-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-source-table-font .b-font:before { content: "\e67b"; color: #3f8ce8; @@ -3121,6 +3607,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e67b"; color: #3f8ce8; } +.etl-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .etl-table-font .b-font:before { content: "\e680"; color: #3f8ce8; @@ -3141,6 +3630,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e680"; color: #3f8ce8; } +.excel-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-table-font .b-font:before { content: "\e682"; color: #3f8ce8; @@ -3161,6 +3653,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e682"; color: #3f8ce8; } +.sql-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .sql-table-font .b-font:before { content: "\e681"; color: #3f8ce8; @@ -3181,6 +3676,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e681"; color: #3f8ce8; } +.refresh-table-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .refresh-table-font .b-font:before { content: "\e683"; color: inherit; @@ -3190,6 +3688,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e683"; color: inherit; } +.recover-chart-font-hightlight .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .recover-chart-font-hightlight .b-font:before { content: "\e6b4"; color: inherit; @@ -3199,6 +3700,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6b4"; color: inherit; } +.tables-tile-view-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .tables-tile-view-font .b-font:before { content: "\e685"; color: inherit; @@ -3219,6 +3723,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e685"; color: inherit; } +.tables-relation-view-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .tables-relation-view-font .b-font:before { content: "\e684"; color: inherit; @@ -3239,6 +3746,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e684"; color: inherit; } +.add-new-table-pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .add-new-table-pull-down-font .b-font:before { content: "\e62d"; color: #ffffff; @@ -3248,6 +3758,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e62d"; color: #ffffff; } +.data-link-check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-check-font .b-font:before { content: "\e611"; color: #ffffff; @@ -3268,6 +3781,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e611"; color: #ffffff; } +.edit-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .edit-set-font .b-font:before { content: "\e634"; color: inherit; @@ -3283,6 +3799,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e634"; color: inherit; } +.new-analysis-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .new-analysis-font .b-font:before { content: "\e692"; color: #ffffff; @@ -3298,6 +3817,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e692"; color: #ffffff; } +.data-config-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-config-font .b-font:before { content: "\e693"; color: #ffffff; @@ -3313,6 +3835,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e693"; color: #ffffff; } +.folder-list-view .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .folder-list-view .b-font:before { content: "\e694"; color: inherit; @@ -3333,6 +3858,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e694"; color: inherit; } +.folder-card-view .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .folder-card-view .b-font:before { content: "\e685"; color: inherit; @@ -3353,6 +3881,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e685"; color: inherit; } +.item-check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .item-check-font .b-font:before { content: "\e611"; color: #ffffff; @@ -3366,13 +3897,16 @@ textarea::-webkit-scrollbar-thumb { .item-check-font:active .b-font:before, .item-check-font.active .b-font:before { content: "\e611"; - color: #009de3; + color: #3f8ce8; } .item-check-font.native .b-font:before, .item-check-font.disabled .b-font:before { content: "\e611"; color: #ffffff; } +.table-no-sort-no-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-no-sort-no-filter-font .b-font:before { content: "\e66a"; color: inherit; @@ -3388,6 +3922,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e66a"; color: inherit; } +.table-no-sort-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-no-sort-filter-font .b-font:before { content: "\e66b"; color: inherit; @@ -3403,6 +3940,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e66b"; color: inherit; } +.table-descending-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-descending-filter-font .b-font:before { content: "\e667"; color: inherit; @@ -3418,6 +3958,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e667"; color: inherit; } +.table-ascending-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-ascending-filter-font .b-font:before { content: "\e669"; color: inherit; @@ -3433,6 +3976,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e669"; color: inherit; } +.table-descending-no-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-descending-no-filter-font .b-font:before { content: "\e666"; color: inherit; @@ -3448,6 +3994,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e666"; color: inherit; } +.table-ascending-no-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-ascending-no-filter-font .b-font:before { content: "\e668"; color: inherit; @@ -3463,6 +4012,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e668"; color: inherit; } +.table-no-sort-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-no-sort-font .b-font:before { content: "\e66c"; color: inherit; @@ -3478,6 +4030,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e66c"; color: inherit; } +.primary-key-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .primary-key-font .b-font:before { content: "\e67d;"; color: inherit; @@ -3493,6 +4048,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e67d;"; color: inherit; } +.table-open-row-style-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-open-row-style-font .b-font:before { content: "\e671"; color: inherit; @@ -3506,13 +4064,16 @@ textarea::-webkit-scrollbar-thumb { .table-open-row-style-font:active .b-font:before, .table-open-row-style-font.active .b-font:before { content: "\e671"; - color: #009de3; + color: #3f8ce8; } .table-open-row-style-font.native .b-font:before, .table-open-row-style-font.disabled .b-font:before { content: "\e671"; color: inherit; } +.table-open-col-style-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .table-open-col-style-font .b-font:before { content: "\e672"; color: inherit; @@ -3526,13 +4087,16 @@ textarea::-webkit-scrollbar-thumb { .table-open-col-style-font:active .b-font:before, .table-open-col-style-font.active .b-font:before { content: "\e672"; - color: #009de3; + color: #3f8ce8; } .table-open-col-style-font.native .b-font:before, .table-open-col-style-font.disabled .b-font:before { content: "\e672"; color: inherit; } +.calculate-function-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .calculate-function-font .b-font:before { content: "\e6a3"; color: #666666; @@ -3542,6 +4106,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6a3"; color: #666666; } +.path-set-doubt .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .path-set-doubt .b-font:before { content: "\e69a"; color: #3f8ce8; @@ -3551,6 +4118,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e69a"; color: #3f8ce8; } +.rename-report-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .rename-report-font .b-font:before { content: "\e687"; color: #3f8ce8; @@ -3560,6 +4130,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e687"; color: #3f8ce8; } +.remove-report-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .remove-report-font .b-font:before { content: "\e605"; color: #e85050; @@ -3569,6 +4142,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e605"; color: #e85050; } +.excel-upload-tip-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-upload-tip-font .b-font:before { content: "\e69e"; color: #3f8ce8; @@ -3578,6 +4154,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e69e"; color: #3f8ce8; } +.excel-field-type-string-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-field-type-string-font .b-font:before { content: "\e622"; color: #3f8ce8; @@ -3587,6 +4166,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e622"; color: #3f8ce8; } +.excel-field-type-number-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-field-type-number-font .b-font:before { content: "\e61f"; color: #3f8ce8; @@ -3596,6 +4178,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e61f"; color: #3f8ce8; } +.excel-field-type-date-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-field-type-date-font .b-font:before { content: "\e61b"; color: #3f8ce8; @@ -3605,6 +4190,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e61b"; color: #3f8ce8; } +.excel-field-type-pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .excel-field-type-pull-down-font .b-font:before { content: "\e608"; color: #3f8ce8; @@ -3614,6 +4202,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e608"; color: #3f8ce8; } +.data-link-set-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-set-font .b-font:before { content: "\e678"; color: #3f8ce8; @@ -3623,6 +4214,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e678"; color: #3f8ce8; } +.data-link-test-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-test-font .b-font:before { content: "\e686"; color: #3f8ce8; @@ -3632,6 +4226,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e686"; color: #3f8ce8; } +.data-link-copy-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-copy-font .b-font:before { content: "\e610"; color: #58cc7d; @@ -3641,6 +4238,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e610"; color: #58cc7d; } +.data-link-remove-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .data-link-remove-font .b-font:before { content: "\e600"; color: #e85050; @@ -3650,6 +4250,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: #e85050; } +.cube-path-confirm-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .cube-path-confirm-font .b-font:before { content: "\e64e"; color: #fbb03b; @@ -3659,6 +4262,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e64e"; color: #fbb03b; } +.target-style-less-dot-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-less-dot-font .b-font:before { content: "\e6a2"; color: #e85050; @@ -3668,6 +4274,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6a2"; color: #e85050; } +.target-style-equal-dot-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-equal-dot-font .b-font:before { content: "\e6a2"; color: #f9a744; @@ -3677,6 +4286,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6a2"; color: #f9a744; } +.target-style-more-dot-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-more-dot-font .b-font:before { content: "\e6a2"; color: #58cc7d; @@ -3686,6 +4298,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6a2"; color: #58cc7d; } +.target-style-less-arrow-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-less-arrow-font .b-font:before { content: "\e6a1"; color: #e85050; @@ -3695,6 +4310,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6a1"; color: #e85050; } +.target-style-equal-arrow-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-equal-arrow-font .b-font:before { content: "\e69f"; color: #f9a744; @@ -3704,6 +4322,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e69f"; color: #f9a744; } +.target-style-more-arrow-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .target-style-more-arrow-font .b-font:before { content: "\e6a0"; color: #58cc7d; @@ -3713,6 +4334,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6a0"; color: #58cc7d; } +.calculate-target-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .calculate-target-font .b-font:before { content: "\e6a3"; color: inherit; @@ -3722,6 +4346,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6a3"; color: inherit; } +.task-list-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .task-list-font .b-font:before { content: "\e694"; color: #3f8ce8; @@ -3731,6 +4358,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e694"; color: #3f8ce8; } +.widget-combo-detail-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-detail-font .b-font:before { content: "\e697"; color: #3f8ce8; @@ -3740,6 +4370,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e697"; color: #3f8ce8; } +.widget-combo-pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-pull-down-font .b-font:before { content: "\e6ab"; color: #3f8ce8; @@ -3749,6 +4382,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6ab"; color: #3f8ce8; } +.widget-tools-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-tools-filter-font .b-font:before { content: "\e60f"; color: #3f8ce8; @@ -3758,6 +4394,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e60f"; color: #3f8ce8; } +.widget-tools-clear-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-tools-clear-font .b-font:before { content: "\e63d"; color: #3f8ce8; @@ -3767,6 +4406,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e63d"; color: #3f8ce8; } +.widget-tools-export-excel-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-tools-export-excel-font .b-font:before { content: "\e635"; color: #3f8ce8; @@ -3776,6 +4418,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e635"; color: #3f8ce8; } +.widget-combo-expand-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-expand-font .b-font:before { content: "\e697"; color: inherit; @@ -3785,6 +4430,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e697"; color: inherit; } +.widget-combo-linkage-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-linkage-font .b-font:before { content: "\e63c"; color: inherit; @@ -3794,6 +4442,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e63c"; color: inherit; } +.widget-combo-rename-edit-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-rename-edit-font .b-font:before { content: "\e670"; color: inherit; @@ -3803,6 +4454,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e670"; color: inherit; } +.widget-combo-show-title-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-show-title-font .b-font:before { content: "\e64c"; color: inherit; @@ -3812,6 +4466,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e64c"; color: inherit; } +.widget-combo-title-left-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-title-left-font .b-font:before { content: "\e654"; color: inherit; @@ -3821,6 +4478,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e654"; color: inherit; } +.widget-combo-title-center-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-title-center-font .b-font:before { content: "\e64f"; color: inherit; @@ -3830,6 +4490,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e64f"; color: inherit; } +.widget-combo-show-filter-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-show-filter-font .b-font:before { content: "\e60f"; color: inherit; @@ -3839,6 +4502,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e60f"; color: inherit; } +.widget-combo-export-excel-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-export-excel-font .b-font:before { content: "\e635"; color: inherit; @@ -3848,6 +4514,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e635"; color: inherit; } +.widget-combo-copy .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-copy .b-font:before { content: "\e610"; color: inherit; @@ -3857,6 +4526,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e610"; color: inherit; } +.widget-combo-delete .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-delete .b-font:before { content: "\e605"; color: inherit; @@ -3866,6 +4538,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e605"; color: inherit; } +.widget-combo-asc-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-asc-font .b-font:before { content: "\e63f"; color: inherit; @@ -3875,6 +4550,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e63f"; color: inherit; } +.widget-combo-des-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-des-font .b-font:before { content: "\e63a"; color: inherit; @@ -3884,6 +4562,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e63a"; color: inherit; } +.widget-combo-clear-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .widget-combo-clear-font .b-font:before { content: "\e63d"; color: inherit; @@ -3893,6 +4574,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e63d"; color: inherit; } +.detail-table-popup-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .detail-table-popup-font .b-font:before { content: "\e6ac"; color: inherit; @@ -3901,13 +4585,16 @@ textarea::-webkit-scrollbar-thumb { .detail-table-popup-font:focus .b-font:before, .detail-table-popup-font.hover .b-font:before { content: "\e6ac"; - color: #009de3; + color: #3f8ce8; } .detail-table-popup-font.native .b-font:before, .detail-table-popup-font.disabled .b-font:before { content: "\e6ac"; color: inherit; } +.chart-drill-up .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-drill-up .b-font:before { content: "\e6ad"; color: inherit; @@ -3917,6 +4604,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6ad"; color: inherit; } +.chart-drill-down .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .chart-drill-down .b-font:before { content: "\e608"; color: inherit; @@ -3926,6 +4616,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e608"; color: inherit; } +.report-filter-open-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-filter-open-font .b-font:before { content: "\e648"; color: inherit; @@ -3935,6 +4628,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e648"; color: inherit; } +.report-filter-close-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-filter-close-font .b-font:before { content: "\e645"; color: inherit; @@ -3944,6 +4640,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e645"; color: inherit; } +.report-apply-hangout-normal-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-apply-hangout-normal-font .b-font:before { content: "\e66d"; color: #999999; @@ -3953,6 +4652,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e66d"; color: #999999; } +.report-apply-hangout-ing-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-apply-hangout-ing-font .b-font:before { content: "\e66d"; color: #3f8ce8; @@ -3962,6 +4664,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e66d"; color: #3f8ce8; } +.report-hangout-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-hangout-font .b-font:before { content: "\e64b"; color: #58cc7d; @@ -3971,6 +4676,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e64b"; color: #58cc7d; } +.report-cancel-hangout-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-cancel-hangout-font .b-font:before { content: "\e64b"; color: #999999; @@ -3980,6 +4688,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e64b"; color: #999999; } +.report-hangout-ing-mark-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-hangout-ing-mark-font .b-font:before { content: "\e64b"; color: #3f8ce8; @@ -3989,6 +4700,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e64b"; color: #3f8ce8; } +.delete-font-package .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-font-package .b-font:before { content: "\e605"; color: #e85050; @@ -3998,6 +4712,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e605"; color: #e85050; } +.delete-h-font-package .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .delete-h-font-package .b-font:before { content: "\e605"; color: #e85050; @@ -4007,6 +4724,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e605"; color: #e85050; } +.rename-font-package .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .rename-font-package .b-font:before { content: "\e687"; color: #3f8ce8; @@ -4016,6 +4736,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e687"; color: #3f8ce8; } +.package-selected-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .package-selected-font .b-font:before { content: "\e6b3"; color: #3f8ce8; @@ -4025,6 +4748,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6b3"; color: #3f8ce8; } +.package-not-selected-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .package-not-selected-font .b-font:before { content: "\e6b2"; color: #3f8ce8; @@ -4034,6 +4760,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6b2"; color: #3f8ce8; } +.report-detail-info-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-detail-info-font .b-font:before { content: "\e66e"; color: #f07d0a; @@ -4043,6 +4772,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e66e"; color: #f07d0a; } +.report-rename-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-rename-font .b-font:before { content: "\e670"; color: #58cc7d; @@ -4052,6 +4784,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e670"; color: #58cc7d; } +.report-cancel-share-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .report-cancel-share-font .b-font:before { content: "\e6b5"; color: #3f8ce8; @@ -4061,6 +4796,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e6b5"; color: #3f8ce8; } +.drill-push-up-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .drill-push-up-font .b-font:before { content: "\e630"; color: inherit; @@ -4070,6 +4808,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e630"; color: inherit; } +.drill-push-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .drill-push-down-font .b-font:before { content: "\e62d"; color: inherit; @@ -4079,6 +4820,9 @@ textarea::-webkit-scrollbar-thumb { content: "\e62d"; color: inherit; } +.drag-tag-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +} .drag-tag-font .b-font:before { content: "\e600"; color: #f07d0a; diff --git a/src/css/base/table/table.grid.scrollbar.css b/src/css/base/table/table.grid.scrollbar.css index 37efef0b5..a690d35ee 100644 --- a/src/css/base/table/table.grid.scrollbar.css +++ b/src/css/base/table/table.grid.scrollbar.css @@ -10,12 +10,12 @@ transition-timing-function: ease; user-select: none; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0D666666,endColorstr=#0D666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; border-radius: 5px; } .bi-theme-dark .scrollbar-layout-main { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0Dcccccc,endColorstr=#0Dcccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; } .scrollbar-layout-main-vertical { bottom: 0; @@ -34,11 +34,11 @@ left: 0; transition-property: background-color; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0D666666,endColorstr=#0D666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; } .bi-theme-dark .scrollbar-layout-main-horizontal { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0Dcccccc,endColorstr=#0Dcccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; } /* Touching the scroll-track directly makes the scroll-track bolder */ .scrollbar-layout-main-horizontal.public-scrollbar-main-active, @@ -92,23 +92,23 @@ /* Touching the scroll-track directly makes the scroll-track bolder */ .public-scrollbar-face:after { background-color: rgba(102, 102, 102, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C666666,endColorstr=#4C666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666; } .bi-theme-dark .public-scrollbar-face:after { background-color: rgba(204, 204, 204, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4Ccccccc,endColorstr=#4Ccccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc; } .public-scrollbar-main:hover .public-scrollbar-face:after, .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { background-color: rgba(102, 102, 102, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2666666,endColorstr=#B2666666); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666; } .bi-theme-dark .public-scrollbar-main:hover .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-main-active .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-faceActive:after { background-color: rgba(204, 204, 204, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2cccccc,endColorstr=#B2cccccc); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc; } .horizontal-scrollbar { bottom: 0; diff --git a/src/css/core/utils/common.css b/src/css/core/utils/common.css index 4a183f0d9..5d93d553c 100644 --- a/src/css/core/utils/common.css +++ b/src/css/core/utils/common.css @@ -112,7 +112,7 @@ } .bi-z-index-mask { background-color: rgba(26, 26, 26, 0.5); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f1a1a1a,endColorstr=#7f1a1a1a); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#801a1a1a,endColorstr=#801a1a1a); } .bi-list-item:hover, .bi-list-item.hover { diff --git a/src/less/base/table/table.grid.scrollbar.less b/src/less/base/table/table.grid.scrollbar.less index 81a0efc5b..8ca19645a 100644 --- a/src/less/base/table/table.grid.scrollbar.less +++ b/src/less/base/table/table.grid.scrollbar.less @@ -8,14 +8,16 @@ transition-timing-function: ease; user-select: none; background-color: @scroll-color; - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=#0D666666,endColorstr=#0D666666)"; + @ieColor: argb(@scroll-color); + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; border-radius: 5px; } .bi-theme-dark { .scrollbar-layout-main { background-color: @scroll-color-theme-dark; - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=#0Dcccccc,endColorstr=#0Dcccccc)"; + @ieColor: argb(@scroll-color-theme-dark); + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; } } @@ -38,13 +40,15 @@ left: 0; transition-property: background-color; background-color: @scroll-color; - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=#0D666666,endColorstr=#0D666666)"; + @ieColor: argb(@scroll-color); + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; } .bi-theme-dark { .scrollbar-layout-main-horizontal { background-color: @scroll-color-theme-dark; - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=#0Dcccccc,endColorstr=#0Dcccccc)"; + @ieColor: argb(@scroll-color-theme-dark); + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; } } @@ -119,13 +123,15 @@ .public-scrollbar-face:after { background-color: @scroll-thumb-color; - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C666666,endColorstr=#4C666666)"; + @ieColor: argb(@scroll-thumb-color); + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; } .bi-theme-dark { .public-scrollbar-face:after { background-color: @scroll-thumb-color-theme-dark; - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4Ccccccc,endColorstr=#4Ccccccc)"; + @ieColor: argb(@scroll-thumb-color-theme-dark); + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; } } @@ -133,7 +139,8 @@ .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { background-color: @scroll-thumb-focus-color; - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2666666,endColorstr=#B2666666)"; + @ieColor: argb(@scroll-thumb-focus-color); + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; } .bi-theme-dark { @@ -141,7 +148,8 @@ .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { background-color: @scroll-thumb-focus-color-theme-dark; - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2cccccc,endColorstr=#B2cccccc)"; + @ieColor: argb(@scroll-thumb-focus-color-theme-dark); + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; } } diff --git a/src/less/core/utils/common.less b/src/less/core/utils/common.less index 7a2629ab9..ecb67c16b 100644 --- a/src/less/core/utils/common.less +++ b/src/less/core/utils/common.less @@ -158,8 +158,9 @@ } .bi-z-index-mask { - background-color: rgba(26, 26, 26, .5); - filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f1a1a1a,endColorstr=#7f1a1a1a)"; + background-color: fade(@color-bi-background-black, 50%); + @ieColor: argb(fade(@color-bi-background-black, 50%)); + filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; } //只有背景变化 From 0b6cb1e0cca7c5fa6cf17f6e7e9bafb564e2a649 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 2 May 2017 13:14:10 +0800 Subject: [PATCH 17/24] bug --- bi/base.css | 16 +- bi/widget.js | 5 +- demo/css/center.css | 0 demo/css/color/bezierEasing.css | 0 demo/css/color/colorPalette.css | 0 demo/css/color/colors.css | 0 demo/css/color/tinyColor.css | 0 demo/css/face.css | 6 - demo/css/index.css | 3 - demo/css/main.css | 50 - demo/css/north.css | 13 - demo/css/preview.css | 3 - demo/css/theme.css | 5 - demo/css/west.css | 3 - demo/less/color/bezierEasing.less | 107 -- demo/less/color/colorPalette.less | 46 - demo/less/color/colors.less | 90 -- demo/less/color/tinyColor.less | 1183 ----------------- demo/less/theme.less | 301 ----- docs/base.css | 16 +- docs/demo.css | 5 - docs/widget.js | 5 +- src/css/base/table/table.grid.scrollbar.css | 16 +- src/less/base/table/table.grid.scrollbar.less | 16 +- src/widget/multiselect/multiselect.combo.js | 5 +- 25 files changed, 44 insertions(+), 1850 deletions(-) delete mode 100644 demo/css/center.css delete mode 100644 demo/css/color/bezierEasing.css delete mode 100644 demo/css/color/colorPalette.css delete mode 100644 demo/css/color/colors.css delete mode 100644 demo/css/color/tinyColor.css delete mode 100644 demo/css/face.css delete mode 100644 demo/css/index.css delete mode 100644 demo/css/main.css delete mode 100644 demo/css/north.css delete mode 100644 demo/css/preview.css delete mode 100644 demo/css/theme.css delete mode 100644 demo/css/west.css delete mode 100644 demo/less/color/bezierEasing.less delete mode 100644 demo/less/color/colorPalette.less delete mode 100644 demo/less/color/colors.less delete mode 100644 demo/less/color/tinyColor.less delete mode 100644 demo/less/theme.less diff --git a/bi/base.css b/bi/base.css index a2b20140d..3f7feeab0 100644 --- a/bi/base.css +++ b/bi/base.css @@ -1115,12 +1115,12 @@ li.CodeMirror-hint-active { transition-timing-function: ease; user-select: none; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666); border-radius: 5px; } .bi-theme-dark .scrollbar-layout-main { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc); } .scrollbar-layout-main-vertical { bottom: 0; @@ -1139,11 +1139,11 @@ li.CodeMirror-hint-active { left: 0; transition-property: background-color; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666); } .bi-theme-dark .scrollbar-layout-main-horizontal { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc); } /* Touching the scroll-track directly makes the scroll-track bolder */ .scrollbar-layout-main-horizontal.public-scrollbar-main-active, @@ -1197,23 +1197,23 @@ li.CodeMirror-hint-active { /* Touching the scroll-track directly makes the scroll-track bolder */ .public-scrollbar-face:after { background-color: rgba(102, 102, 102, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666); } .bi-theme-dark .public-scrollbar-face:after { background-color: rgba(204, 204, 204, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc); } .public-scrollbar-main:hover .public-scrollbar-face:after, .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { background-color: rgba(102, 102, 102, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666); } .bi-theme-dark .public-scrollbar-main:hover .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-main-active .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-faceActive:after { background-color: rgba(204, 204, 204, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc); } .horizontal-scrollbar { bottom: 0; diff --git a/bi/widget.js b/bi/widget.js index 68ec4d108..54c1276be 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -9665,7 +9665,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { toggle: false, el: this.trigger, adjustLength: 1, - popup: this.popup + popup: this.popup, + hideChecker: function (e) { + return triggerBtn.element.find(e.target).length === 0; + } }); this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { diff --git a/demo/css/center.css b/demo/css/center.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/demo/css/color/bezierEasing.css b/demo/css/color/bezierEasing.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/demo/css/color/colorPalette.css b/demo/css/color/colorPalette.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/demo/css/color/colors.css b/demo/css/color/colors.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/demo/css/color/tinyColor.css b/demo/css/color/tinyColor.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/demo/css/face.css b/demo/css/face.css deleted file mode 100644 index 310c89450..000000000 --- a/demo/css/face.css +++ /dev/null @@ -1,6 +0,0 @@ -/****添加计算宽度的--运算符直接需要space****/ -/****** common color(常用颜色,可用于普遍场景) *****/ -/**** custom color(自定义颜色,用于特定场景) ****/ -.demo-face .face-config .config-label { - font-size: 14px; -} diff --git a/demo/css/index.css b/demo/css/index.css deleted file mode 100644 index 2f6491e13..000000000 --- a/demo/css/index.css +++ /dev/null @@ -1,3 +0,0 @@ -/****添加计算宽度的--运算符直接需要space****/ -/****** common color(常用颜色,可用于普遍场景) *****/ -/**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/demo/css/main.css b/demo/css/main.css deleted file mode 100644 index a7c674685..000000000 --- a/demo/css/main.css +++ /dev/null @@ -1,50 +0,0 @@ -/****添加计算宽度的--运算符直接需要space****/ -/****** common color(常用颜色,可用于普遍场景) *****/ -/**** custom color(自定义颜色,用于特定场景) ****/ -.layout-bg-white { - background-color: #ffffff; -} -.layout-bg-gray { - background-color: #eeeeee; -} -.layout-bg1 { - color: #ffffff; - background-color: #0088cc; -} -.layout-bg2 { - color: #ffffff; - background-color: #008B8B; -} -.layout-bg3 { - color: #ffffff; - background-color: #6495ED; -} -.layout-bg4 { - color: #ffffff; - background-color: #ff69b4; -} -.layout-bg5 { - color: #ffffff; - background-color: #B8860B; -} -.layout-bg6 { - color: #ffffff; - background-color: #d9534f; -} -.layout-bg7 { - color: #ffffff; - background-color: #ea4738; -} -.layout-bg8 { - color: #ffffff; - background-color: #6495ed; -} -.demo-main .bg1 { - background-color: #178cdf; -} -body { - background-color: #eff1f4; -} -body.bi-theme-dark { - background-color: #191B2B; -} diff --git a/demo/css/north.css b/demo/css/north.css deleted file mode 100644 index ffd6fe0a3..000000000 --- a/demo/css/north.css +++ /dev/null @@ -1,13 +0,0 @@ -/****添加计算宽度的--运算符直接需要space****/ -/****** common color(常用颜色,可用于普遍场景) *****/ -/**** custom color(自定义颜色,用于特定场景) ****/ -.demo-north { - background-color: #3c8dbc; -} -.demo-north .logo { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #ffffff; - background-color: #367fa9; - font-size: 20px; - font-weight: 300; -} diff --git a/demo/css/preview.css b/demo/css/preview.css deleted file mode 100644 index 2f6491e13..000000000 --- a/demo/css/preview.css +++ /dev/null @@ -1,3 +0,0 @@ -/****添加计算宽度的--运算符直接需要space****/ -/****** common color(常用颜色,可用于普遍场景) *****/ -/**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/demo/css/theme.css b/demo/css/theme.css deleted file mode 100644 index 7f583cdfb..000000000 --- a/demo/css/theme.css +++ /dev/null @@ -1,5 +0,0 @@ -@font-face { - font-family: "Helvetica Neue For Number"; - src: local("Helvetica Neue"); - unicode-range: U+30-39; -} diff --git a/demo/css/west.css b/demo/css/west.css deleted file mode 100644 index 2f6491e13..000000000 --- a/demo/css/west.css +++ /dev/null @@ -1,3 +0,0 @@ -/****添加计算宽度的--运算符直接需要space****/ -/****** common color(常用颜色,可用于普遍场景) *****/ -/**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/demo/less/color/bezierEasing.less b/demo/less/color/bezierEasing.less deleted file mode 100644 index 442ec8368..000000000 --- a/demo/less/color/bezierEasing.less +++ /dev/null @@ -1,107 +0,0 @@ -.bezierEasingMixin() { -@functions: ~`(function() { - var NEWTON_ITERATIONS = 4; - var NEWTON_MIN_SLOPE = 0.001; - var SUBDIVISION_PRECISION = 0.0000001; - var SUBDIVISION_MAX_ITERATIONS = 10; - - var kSplineTableSize = 11; - var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0); - - var float32ArraySupported = typeof Float32Array === 'function'; - - function A (aA1, aA2) { return 1.0 - 3.0 * aA2 + 3.0 * aA1; } - function B (aA1, aA2) { return 3.0 * aA2 - 6.0 * aA1; } - function C (aA1) { return 3.0 * aA1; } - - // Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2. - function calcBezier (aT, aA1, aA2) { return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT; } - - // Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2. - function getSlope (aT, aA1, aA2) { return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1); } - - function binarySubdivide (aX, aA, aB, mX1, mX2) { - var currentX, currentT, i = 0; - do { - currentT = aA + (aB - aA) / 2.0; - currentX = calcBezier(currentT, mX1, mX2) - aX; - if (currentX > 0.0) { - aB = currentT; - } else { - aA = currentT; - } - } while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS); - return currentT; - } - - function newtonRaphsonIterate (aX, aGuessT, mX1, mX2) { - for (var i = 0; i < NEWTON_ITERATIONS; ++i) { - var currentSlope = getSlope(aGuessT, mX1, mX2); - if (currentSlope === 0.0) { - return aGuessT; - } - var currentX = calcBezier(aGuessT, mX1, mX2) - aX; - aGuessT -= currentX / currentSlope; - } - return aGuessT; - } - - var BezierEasing = function (mX1, mY1, mX2, mY2) { - if (!(0 <= mX1 && mX1 <= 1 && 0 <= mX2 && mX2 <= 1)) { - throw new Error('bezier x values must be in [0, 1] range'); - } - - // Precompute samples table - var sampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize); - if (mX1 !== mY1 || mX2 !== mY2) { - for (var i = 0; i < kSplineTableSize; ++i) { - sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2); - } - } - - function getTForX (aX) { - var intervalStart = 0.0; - var currentSample = 1; - var lastSample = kSplineTableSize - 1; - - for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) { - intervalStart += kSampleStepSize; - } - --currentSample; - - // Interpolate to provide an initial guess for t - var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]); - var guessForT = intervalStart + dist * kSampleStepSize; - - var initialSlope = getSlope(guessForT, mX1, mX2); - if (initialSlope >= NEWTON_MIN_SLOPE) { - return newtonRaphsonIterate(aX, guessForT, mX1, mX2); - } else if (initialSlope === 0.0) { - return guessForT; - } else { - return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2); - } - } - - return function BezierEasing (x) { - if (mX1 === mY1 && mX2 === mY2) { - return x; // linear - } - // Because JavaScript number are imprecise, we should guarantee the extremes are right. - if (x === 0) { - return 0; - } - if (x === 1) { - return 1; - } - return calcBezier(getTForX(x), mY1, mY2); - }; - }; - - this.colorEasing = BezierEasing(0.26, 0.09, 0.37, 0.18); -})()`; -} -// It is hacky way to make this function will be compiled preferentially by less -// resolve error: `ReferenceError: colorPalette is not defined` -// https://github.com/ant-design/ant-motion/issues/44 -.bezierEasingMixin(); diff --git a/demo/less/color/colorPalette.less b/demo/less/color/colorPalette.less deleted file mode 100644 index 7c84cef7e..000000000 --- a/demo/less/color/colorPalette.less +++ /dev/null @@ -1,46 +0,0 @@ -@import "bezierEasing"; -@import "tinyColor"; - -// We create a very complex algorithm which take the place of original tint/shade color system -// to make sure no one can understand it 👻 -// and create an entire color palette magicly by inputing just a single primary color. -// We are using bezier-curve easing function and some color manipulations like tint/shade/darken/spin -.colorPaletteMixin() { -@functions: ~`(function() { - var warmDark = 0.5; // warm color darken radio - var warmRotate = -26; // warm color rotate degree - var coldDark = 0.55; // cold color darken radio - var coldRotate = 10; // cold color rotate degree - var getShadeColor = function(c) { - var shadeColor = tinycolor(c); - // warm and cold color will darken in different radio, and rotate in different degree - // warmer color - if (shadeColor.toRgb().r > shadeColor.toRgb().b) { - return shadeColor.darken(shadeColor.toHsl().l * warmDark * 100).spin(warmRotate).toHexString(); - } - // colder color - return shadeColor.darken(shadeColor.toHsl().l * coldDark * 100).spin(coldRotate).toHexString(); - } - var primaryEasing = colorEasing(0.6); - this.colorPalette = function(color, index) { - var currentEasing = colorEasing(index * 0.1); - // return light colors after tint - if (index <= 6) { - return tinycolor.mix( - '#ffffff', - color, - currentEasing * 100 / primaryEasing - ).toHexString(); - } - return tinycolor.mix( - getShadeColor(color), - color, - (1 - (currentEasing - primaryEasing) / (1 - primaryEasing)) * 100 - ).toHexString(); - }; -})()`; -} -// It is hacky way to make this function will be compiled preferentially by less -// resolve error: `ReferenceError: colorPalette is not defined` -// https://github.com/ant-design/ant-motion/issues/44 -.colorPaletteMixin(); diff --git a/demo/less/color/colors.less b/demo/less/color/colors.less deleted file mode 100644 index 53f16229e..000000000 --- a/demo/less/color/colors.less +++ /dev/null @@ -1,90 +0,0 @@ -@import 'colorPalette'; - -// color palettes -@blue-1: color(~`colorPalette("@{blue-6}", 1)`); -@blue-2: color(~`colorPalette("@{blue-6}", 2)`); -@blue-3: color(~`colorPalette("@{blue-6}", 3)`); -@blue-4: color(~`colorPalette("@{blue-6}", 4)`); -@blue-5: color(~`colorPalette("@{blue-6}", 5)`); -@blue-6: #108ee9; -@blue-7: color(~`colorPalette("@{blue-6}", 7)`); -@blue-8: color(~`colorPalette("@{blue-6}", 8)`); -@blue-9: color(~`colorPalette("@{blue-6}", 9)`); -@blue-10: color(~`colorPalette("@{blue-6}", 10)`); - -@purple-1: color(~`colorPalette("@{purple-6}", 1)`); -@purple-2: color(~`colorPalette("@{purple-6}", 2)`); -@purple-3: color(~`colorPalette("@{purple-6}", 3)`); -@purple-4: color(~`colorPalette("@{purple-6}", 4)`); -@purple-5: color(~`colorPalette("@{purple-6}", 5)`); -@purple-6: #7265e6; -@purple-7: color(~`colorPalette("@{purple-6}", 7)`); -@purple-8: color(~`colorPalette("@{purple-6}", 8)`); -@purple-9: color(~`colorPalette("@{purple-6}", 9)`); -@purple-10: color(~`colorPalette("@{purple-6}", 10)`); - -@cyan-1: color(~`colorPalette("@{cyan-6}", 1)`); -@cyan-2: color(~`colorPalette("@{cyan-6}", 2)`); -@cyan-3: color(~`colorPalette("@{cyan-6}", 3)`); -@cyan-4: color(~`colorPalette("@{cyan-6}", 4)`); -@cyan-5: color(~`colorPalette("@{cyan-6}", 5)`); -@cyan-6: #00a2ae; -@cyan-7: color(~`colorPalette("@{cyan-6}", 7)`); -@cyan-8: color(~`colorPalette("@{cyan-6}", 8)`); -@cyan-9: color(~`colorPalette("@{cyan-6}", 9)`); -@cyan-10: color(~`colorPalette("@{cyan-6}", 10)`); - -@green-1: color(~`colorPalette("@{green-6}", 1)`); -@green-2: color(~`colorPalette("@{green-6}", 2)`); -@green-3: color(~`colorPalette("@{green-6}", 3)`); -@green-4: color(~`colorPalette("@{green-6}", 4)`); -@green-5: color(~`colorPalette("@{green-6}", 5)`); -@green-6: #00a854; -@green-7: color(~`colorPalette("@{green-6}", 7)`); -@green-8: color(~`colorPalette("@{green-6}", 8)`); -@green-9: color(~`colorPalette("@{green-6}", 9)`); -@green-10: color(~`colorPalette("@{green-6}", 10)`); - -@pink-1: color(~`colorPalette("@{pink-6}", 1)`); -@pink-2: color(~`colorPalette("@{pink-6}", 2)`); -@pink-3: color(~`colorPalette("@{pink-6}", 3)`); -@pink-4: color(~`colorPalette("@{pink-6}", 4)`); -@pink-5: color(~`colorPalette("@{pink-6}", 5)`); -@pink-6: #f5317f; -@pink-7: color(~`colorPalette("@{pink-6}", 7)`); -@pink-8: color(~`colorPalette("@{pink-6}", 8)`); -@pink-9: color(~`colorPalette("@{pink-6}", 9)`); -@pink-10: color(~`colorPalette("@{pink-6}", 10)`); - -@red-1: color(~`colorPalette("@{red-6}", 1)`); -@red-2: color(~`colorPalette("@{red-6}", 2)`); -@red-3: color(~`colorPalette("@{red-6}", 3)`); -@red-4: color(~`colorPalette("@{red-6}", 4)`); -@red-5: color(~`colorPalette("@{red-6}", 5)`); -@red-6: #f04134; -@red-7: color(~`colorPalette("@{red-6}", 7)`); -@red-8: color(~`colorPalette("@{red-6}", 8)`); -@red-9: color(~`colorPalette("@{red-6}", 9)`); -@red-10: color(~`colorPalette("@{red-6}", 10)`); - -@orange-1: color(~`colorPalette("@{orange-6}", 1)`); -@orange-2: color(~`colorPalette("@{orange-6}", 2)`); -@orange-3: color(~`colorPalette("@{orange-6}", 3)`); -@orange-4: color(~`colorPalette("@{orange-6}", 4)`); -@orange-5: color(~`colorPalette("@{orange-6}", 5)`); -@orange-6: #f56a00; -@orange-7: color(~`colorPalette("@{orange-6}", 7)`); -@orange-8: color(~`colorPalette("@{orange-6}", 8)`); -@orange-9: color(~`colorPalette("@{orange-6}", 9)`); -@orange-10: color(~`colorPalette("@{orange-6}", 10)`); - -@yellow-1: color(~`colorPalette("@{yellow-6}", 1)`); -@yellow-2: color(~`colorPalette("@{yellow-6}", 2)`); -@yellow-3: color(~`colorPalette("@{yellow-6}", 3)`); -@yellow-4: color(~`colorPalette("@{yellow-6}", 4)`); -@yellow-5: color(~`colorPalette("@{yellow-6}", 5)`); -@yellow-6: #ffbf00; -@yellow-7: color(~`colorPalette("@{yellow-6}", 7)`); -@yellow-8: color(~`colorPalette("@{yellow-6}", 8)`); -@yellow-9: color(~`colorPalette("@{yellow-6}", 9)`); -@yellow-10: color(~`colorPalette("@{yellow-6}", 10)`); diff --git a/demo/less/color/tinyColor.less b/demo/less/color/tinyColor.less deleted file mode 100644 index 1d9520406..000000000 --- a/demo/less/color/tinyColor.less +++ /dev/null @@ -1,1183 +0,0 @@ -.tinyColorMixin() { -@functions: ~`(function() { -// TinyColor v1.4.1 -// https://github.com/bgrins/TinyColor -// 2016-07-07, Brian Grinstead, MIT License -var trimLeft = /^\s+/, - trimRight = /\s+$/, - tinyCounter = 0, - mathRound = Math.round, - mathMin = Math.min, - mathMax = Math.max, - mathRandom = Math.random; - -function tinycolor (color, opts) { - - color = (color) ? color : ''; - opts = opts || { }; - - // If input is already a tinycolor, return itself - if (color instanceof tinycolor) { - return color; - } - // If we are called as a function, call using new instead - if (!(this instanceof tinycolor)) { - return new tinycolor(color, opts); - } - - var rgb = inputToRGB(color); - this._originalInput = color, - this._r = rgb.r, - this._g = rgb.g, - this._b = rgb.b, - this._a = rgb.a, - this._roundA = mathRound(100*this._a) / 100, - this._format = opts.format || rgb.format; - this._gradientType = opts.gradientType; - - // Don't let the range of [0,255] come back in [0,1]. - // Potentially lose a little bit of precision here, but will fix issues where - // .5 gets interpreted as half of the total, instead of half of 1 - // If it was supposed to be 128, this was already taken care of by inputToRgb - if (this._r < 1) { this._r = mathRound(this._r); } - if (this._g < 1) { this._g = mathRound(this._g); } - if (this._b < 1) { this._b = mathRound(this._b); } - - this._ok = rgb.ok; - this._tc_id = tinyCounter++; -} - -tinycolor.prototype = { - isDark: function() { - return this.getBrightness() < 128; - }, - isLight: function() { - return !this.isDark(); - }, - isValid: function() { - return this._ok; - }, - getOriginalInput: function() { - return this._originalInput; - }, - getFormat: function() { - return this._format; - }, - getAlpha: function() { - return this._a; - }, - getBrightness: function() { - //http://www.w3.org/TR/AERT#color-contrast - var rgb = this.toRgb(); - return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000; - }, - getLuminance: function() { - //http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef - var rgb = this.toRgb(); - var RsRGB, GsRGB, BsRGB, R, G, B; - RsRGB = rgb.r/255; - GsRGB = rgb.g/255; - BsRGB = rgb.b/255; - - if (RsRGB <= 0.03928) {R = RsRGB / 12.92;} else {R = Math.pow(((RsRGB + 0.055) / 1.055), 2.4);} - if (GsRGB <= 0.03928) {G = GsRGB / 12.92;} else {G = Math.pow(((GsRGB + 0.055) / 1.055), 2.4);} - if (BsRGB <= 0.03928) {B = BsRGB / 12.92;} else {B = Math.pow(((BsRGB + 0.055) / 1.055), 2.4);} - return (0.2126 * R) + (0.7152 * G) + (0.0722 * B); - }, - setAlpha: function(value) { - this._a = boundAlpha(value); - this._roundA = mathRound(100*this._a) / 100; - return this; - }, - toHsv: function() { - var hsv = rgbToHsv(this._r, this._g, this._b); - return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a }; - }, - toHsvString: function() { - var hsv = rgbToHsv(this._r, this._g, this._b); - var h = mathRound(hsv.h * 360), s = mathRound(hsv.s * 100), v = mathRound(hsv.v * 100); - return (this._a == 1) ? - "hsv(" + h + ", " + s + "%, " + v + "%)" : - "hsva(" + h + ", " + s + "%, " + v + "%, "+ this._roundA + ")"; - }, - toHsl: function() { - var hsl = rgbToHsl(this._r, this._g, this._b); - return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a }; - }, - toHslString: function() { - var hsl = rgbToHsl(this._r, this._g, this._b); - var h = mathRound(hsl.h * 360), s = mathRound(hsl.s * 100), l = mathRound(hsl.l * 100); - return (this._a == 1) ? - "hsl(" + h + ", " + s + "%, " + l + "%)" : - "hsla(" + h + ", " + s + "%, " + l + "%, "+ this._roundA + ")"; - }, - toHex: function(allow3Char) { - return rgbToHex(this._r, this._g, this._b, allow3Char); - }, - toHexString: function(allow3Char) { - return '#' + this.toHex(allow3Char); - }, - toHex8: function(allow4Char) { - return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char); - }, - toHex8String: function(allow4Char) { - return '#' + this.toHex8(allow4Char); - }, - toRgb: function() { - return { r: mathRound(this._r), g: mathRound(this._g), b: mathRound(this._b), a: this._a }; - }, - toRgbString: function() { - return (this._a == 1) ? - "rgb(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ")" : - "rgba(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ", " + this._roundA + ")"; - }, - toPercentageRgb: function() { - return { r: mathRound(bound01(this._r, 255) * 100) + "%", g: mathRound(bound01(this._g, 255) * 100) + "%", b: mathRound(bound01(this._b, 255) * 100) + "%", a: this._a }; - }, - toPercentageRgbString: function() { - return (this._a == 1) ? - "rgb(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%)" : - "rgba(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")"; - }, - toName: function() { - if (this._a === 0) { - return "transparent"; - } - - if (this._a < 1) { - return false; - } - - return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false; - }, - toFilter: function(secondColor) { - var hex8String = '#' + rgbaToArgbHex(this._r, this._g, this._b, this._a); - var secondHex8String = hex8String; - var gradientType = this._gradientType ? "GradientType = 1, " : ""; - - if (secondColor) { - var s = tinycolor(secondColor); - secondHex8String = '#' + rgbaToArgbHex(s._r, s._g, s._b, s._a); - } - - return "progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")"; - }, - toString: function(format) { - var formatSet = !!format; - format = format || this._format; - - var formattedString = false; - var hasAlpha = this._a < 1 && this._a >= 0; - var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name"); - - if (needsAlphaFormat) { - // Special case for "transparent", all other non-alpha formats - // will return rgba when there is transparency. - if (format === "name" && this._a === 0) { - return this.toName(); - } - return this.toRgbString(); - } - if (format === "rgb") { - formattedString = this.toRgbString(); - } - if (format === "prgb") { - formattedString = this.toPercentageRgbString(); - } - if (format === "hex" || format === "hex6") { - formattedString = this.toHexString(); - } - if (format === "hex3") { - formattedString = this.toHexString(true); - } - if (format === "hex4") { - formattedString = this.toHex8String(true); - } - if (format === "hex8") { - formattedString = this.toHex8String(); - } - if (format === "name") { - formattedString = this.toName(); - } - if (format === "hsl") { - formattedString = this.toHslString(); - } - if (format === "hsv") { - formattedString = this.toHsvString(); - } - - return formattedString || this.toHexString(); - }, - clone: function() { - return tinycolor(this.toString()); - }, - - _applyModification: function(fn, args) { - var color = fn.apply(null, [this].concat([].slice.call(args))); - this._r = color._r; - this._g = color._g; - this._b = color._b; - this.setAlpha(color._a); - return this; - }, - lighten: function() { - return this._applyModification(lighten, arguments); - }, - brighten: function() { - return this._applyModification(brighten, arguments); - }, - darken: function() { - return this._applyModification(darken, arguments); - }, - desaturate: function() { - return this._applyModification(desaturate, arguments); - }, - saturate: function() { - return this._applyModification(saturate, arguments); - }, - greyscale: function() { - return this._applyModification(greyscale, arguments); - }, - spin: function() { - return this._applyModification(spin, arguments); - }, - - _applyCombination: function(fn, args) { - return fn.apply(null, [this].concat([].slice.call(args))); - }, - analogous: function() { - return this._applyCombination(analogous, arguments); - }, - complement: function() { - return this._applyCombination(complement, arguments); - }, - monochromatic: function() { - return this._applyCombination(monochromatic, arguments); - }, - splitcomplement: function() { - return this._applyCombination(splitcomplement, arguments); - }, - triad: function() { - return this._applyCombination(triad, arguments); - }, - tetrad: function() { - return this._applyCombination(tetrad, arguments); - } -}; - -// If input is an object, force 1 into "1.0" to handle ratios properly -// String input requires "1.0" as input, so 1 will be treated as 1 -tinycolor.fromRatio = function(color, opts) { - if (typeof color == "object") { - var newColor = {}; - for (var i in color) { - if (color.hasOwnProperty(i)) { - if (i === "a") { - newColor[i] = color[i]; - } - else { - newColor[i] = convertToPercentage(color[i]); - } - } - } - color = newColor; - } - - return tinycolor(color, opts); -}; - -// Given a string or object, convert that input to RGB -// Possible string inputs: -// -// "red" -// "#f00" or "f00" -// "#ff0000" or "ff0000" -// "#ff000000" or "ff000000" -// "rgb 255 0 0" or "rgb (255, 0, 0)" -// "rgb 1.0 0 0" or "rgb (1, 0, 0)" -// "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1" -// "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1" -// "hsl(0, 100%, 50%)" or "hsl 0 100% 50%" -// "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1" -// "hsv(0, 100%, 100%)" or "hsv 0 100% 100%" -// -function inputToRGB(color) { - - var rgb = { r: 0, g: 0, b: 0 }; - var a = 1; - var s = null; - var v = null; - var l = null; - var ok = false; - var format = false; - - if (typeof color == "string") { - color = stringInputToObject(color); - } - - if (typeof color == "object") { - if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) { - rgb = rgbToRgb(color.r, color.g, color.b); - ok = true; - format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb"; - } - else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) { - s = convertToPercentage(color.s); - v = convertToPercentage(color.v); - rgb = hsvToRgb(color.h, s, v); - ok = true; - format = "hsv"; - } - else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) { - s = convertToPercentage(color.s); - l = convertToPercentage(color.l); - rgb = hslToRgb(color.h, s, l); - ok = true; - format = "hsl"; - } - - if (color.hasOwnProperty("a")) { - a = color.a; - } - } - - a = boundAlpha(a); - - return { - ok: ok, - format: color.format || format, - r: mathMin(255, mathMax(rgb.r, 0)), - g: mathMin(255, mathMax(rgb.g, 0)), - b: mathMin(255, mathMax(rgb.b, 0)), - a: a - }; -} - -// Conversion Functions -// -------------------- - -// rgbToHsl, rgbToHsv, hslToRgb, hsvToRgb modified from: -// - -// rgbToRgb -// Handle bounds / percentage checking to conform to CSS color spec -// -// *Assumes:* r, g, b in [0, 255] or [0, 1] -// *Returns:* { r, g, b } in [0, 255] -function rgbToRgb(r, g, b){ - return { - r: bound01(r, 255) * 255, - g: bound01(g, 255) * 255, - b: bound01(b, 255) * 255 - }; -} - -// rgbToHsl -// Converts an RGB color value to HSL. -// *Assumes:* r, g, and b are contained in [0, 255] or [0, 1] -// *Returns:* { h, s, l } in [0,1] -function rgbToHsl(r, g, b) { - - r = bound01(r, 255); - g = bound01(g, 255); - b = bound01(b, 255); - - var max = mathMax(r, g, b), min = mathMin(r, g, b); - var h, s, l = (max + min) / 2; - - if(max == min) { - h = s = 0; // achromatic - } - else { - var d = max - min; - s = l > 0.5 ? d / (2 - max - min) : d / (max + min); - switch(max) { - case r: h = (g - b) / d + (g < b ? 6 : 0); break; - case g: h = (b - r) / d + 2; break; - case b: h = (r - g) / d + 4; break; - } - - h /= 6; - } - - return { h: h, s: s, l: l }; -} - -// hslToRgb -// Converts an HSL color value to RGB. -// *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100] -// *Returns:* { r, g, b } in the set [0, 255] -function hslToRgb(h, s, l) { - var r, g, b; - - h = bound01(h, 360); - s = bound01(s, 100); - l = bound01(l, 100); - - function hue2rgb(p, q, t) { - if(t < 0) t += 1; - if(t > 1) t -= 1; - if(t < 1/6) return p + (q - p) * 6 * t; - if(t < 1/2) return q; - if(t < 2/3) return p + (q - p) * (2/3 - t) * 6; - return p; - } - - if(s === 0) { - r = g = b = l; // achromatic - } - else { - var q = l < 0.5 ? l * (1 + s) : l + s - l * s; - var p = 2 * l - q; - r = hue2rgb(p, q, h + 1/3); - g = hue2rgb(p, q, h); - b = hue2rgb(p, q, h - 1/3); - } - - return { r: r * 255, g: g * 255, b: b * 255 }; -} - -// rgbToHsv -// Converts an RGB color value to HSV -// *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1] -// *Returns:* { h, s, v } in [0,1] -function rgbToHsv(r, g, b) { - - r = bound01(r, 255); - g = bound01(g, 255); - b = bound01(b, 255); - - var max = mathMax(r, g, b), min = mathMin(r, g, b); - var h, s, v = max; - - var d = max - min; - s = max === 0 ? 0 : d / max; - - if(max == min) { - h = 0; // achromatic - } - else { - switch(max) { - case r: h = (g - b) / d + (g < b ? 6 : 0); break; - case g: h = (b - r) / d + 2; break; - case b: h = (r - g) / d + 4; break; - } - h /= 6; - } - return { h: h, s: s, v: v }; -} - -// hsvToRgb -// Converts an HSV color value to RGB. -// *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100] -// *Returns:* { r, g, b } in the set [0, 255] - function hsvToRgb(h, s, v) { - - h = bound01(h, 360) * 6; - s = bound01(s, 100); - v = bound01(v, 100); - - var i = Math.floor(h), - f = h - i, - p = v * (1 - s), - q = v * (1 - f * s), - t = v * (1 - (1 - f) * s), - mod = i % 6, - r = [v, q, p, p, t, v][mod], - g = [t, v, v, q, p, p][mod], - b = [p, p, t, v, v, q][mod]; - - return { r: r * 255, g: g * 255, b: b * 255 }; -} - -// rgbToHex -// Converts an RGB color to hex -// Assumes r, g, and b are contained in the set [0, 255] -// Returns a 3 or 6 character hex -function rgbToHex(r, g, b, allow3Char) { - - var hex = [ - pad2(mathRound(r).toString(16)), - pad2(mathRound(g).toString(16)), - pad2(mathRound(b).toString(16)) - ]; - - // Return a 3 character hex if possible - if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) { - return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0); - } - - return hex.join(""); -} - -// rgbaToHex -// Converts an RGBA color plus alpha transparency to hex -// Assumes r, g, b are contained in the set [0, 255] and -// a in [0, 1]. Returns a 4 or 8 character rgba hex -function rgbaToHex(r, g, b, a, allow4Char) { - - var hex = [ - pad2(mathRound(r).toString(16)), - pad2(mathRound(g).toString(16)), - pad2(mathRound(b).toString(16)), - pad2(convertDecimalToHex(a)) - ]; - - // Return a 4 character hex if possible - if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) { - return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0); - } - - return hex.join(""); -} - -// rgbaToArgbHex -// Converts an RGBA color to an ARGB Hex8 string -// Rarely used, but required for "toFilter()" -function rgbaToArgbHex(r, g, b, a) { - - var hex = [ - pad2(convertDecimalToHex(a)), - pad2(mathRound(r).toString(16)), - pad2(mathRound(g).toString(16)), - pad2(mathRound(b).toString(16)) - ]; - - return hex.join(""); -} - -// equals -// Can be called with any tinycolor input -tinycolor.equals = function (color1, color2) { - if (!color1 || !color2) { return false; } - return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString(); -}; - -tinycolor.random = function() { - return tinycolor.fromRatio({ - r: mathRandom(), - g: mathRandom(), - b: mathRandom() - }); -}; - -// Modification Functions -// ---------------------- -// Thanks to less.js for some of the basics here -// - -function desaturate(color, amount) { - amount = (amount === 0) ? 0 : (amount || 10); - var hsl = tinycolor(color).toHsl(); - hsl.s -= amount / 100; - hsl.s = clamp01(hsl.s); - return tinycolor(hsl); -} - -function saturate(color, amount) { - amount = (amount === 0) ? 0 : (amount || 10); - var hsl = tinycolor(color).toHsl(); - hsl.s += amount / 100; - hsl.s = clamp01(hsl.s); - return tinycolor(hsl); -} - -function greyscale(color) { - return tinycolor(color).desaturate(100); -} - -function lighten (color, amount) { - amount = (amount === 0) ? 0 : (amount || 10); - var hsl = tinycolor(color).toHsl(); - hsl.l += amount / 100; - hsl.l = clamp01(hsl.l); - return tinycolor(hsl); -} - -function brighten(color, amount) { - amount = (amount === 0) ? 0 : (amount || 10); - var rgb = tinycolor(color).toRgb(); - rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * - (amount / 100)))); - rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * - (amount / 100)))); - rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * - (amount / 100)))); - return tinycolor(rgb); -} - -function darken (color, amount) { - amount = (amount === 0) ? 0 : (amount || 10); - var hsl = tinycolor(color).toHsl(); - hsl.l -= amount / 100; - hsl.l = clamp01(hsl.l); - return tinycolor(hsl); -} - -// Spin takes a positive or negative amount within [-360, 360] indicating the change of hue. -// Values outside of this range will be wrapped into this range. -function spin(color, amount) { - var hsl = tinycolor(color).toHsl(); - var hue = (hsl.h + amount) % 360; - hsl.h = hue < 0 ? 360 + hue : hue; - return tinycolor(hsl); -} - -// Combination Functions -// --------------------- -// Thanks to jQuery xColor for some of the ideas behind these -// - -function complement(color) { - var hsl = tinycolor(color).toHsl(); - hsl.h = (hsl.h + 180) % 360; - return tinycolor(hsl); -} - -function triad(color) { - var hsl = tinycolor(color).toHsl(); - var h = hsl.h; - return [ - tinycolor(color), - tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }), - tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l }) - ]; -} - -function tetrad(color) { - var hsl = tinycolor(color).toHsl(); - var h = hsl.h; - return [ - tinycolor(color), - tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }), - tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }), - tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l }) - ]; -} - -function splitcomplement(color) { - var hsl = tinycolor(color).toHsl(); - var h = hsl.h; - return [ - tinycolor(color), - tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l}), - tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l}) - ]; -} - -function analogous(color, results, slices) { - results = results || 6; - slices = slices || 30; - - var hsl = tinycolor(color).toHsl(); - var part = 360 / slices; - var ret = [tinycolor(color)]; - - for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results; ) { - hsl.h = (hsl.h + part) % 360; - ret.push(tinycolor(hsl)); - } - return ret; -} - -function monochromatic(color, results) { - results = results || 6; - var hsv = tinycolor(color).toHsv(); - var h = hsv.h, s = hsv.s, v = hsv.v; - var ret = []; - var modification = 1 / results; - - while (results--) { - ret.push(tinycolor({ h: h, s: s, v: v})); - v = (v + modification) % 1; - } - - return ret; -} - -// Utility Functions -// --------------------- - -tinycolor.mix = function(color1, color2, amount) { - amount = (amount === 0) ? 0 : (amount || 50); - - var rgb1 = tinycolor(color1).toRgb(); - var rgb2 = tinycolor(color2).toRgb(); - - var p = amount / 100; - - var rgba = { - r: ((rgb2.r - rgb1.r) * p) + rgb1.r, - g: ((rgb2.g - rgb1.g) * p) + rgb1.g, - b: ((rgb2.b - rgb1.b) * p) + rgb1.b, - a: ((rgb2.a - rgb1.a) * p) + rgb1.a - }; - - return tinycolor(rgba); -}; - -// Readability Functions -// --------------------- -// false -// tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false -tinycolor.isReadable = function(color1, color2, wcag2) { - var readability = tinycolor.readability(color1, color2); - var wcag2Parms, out; - - out = false; - - wcag2Parms = validateWCAG2Parms(wcag2); - switch (wcag2Parms.level + wcag2Parms.size) { - case "AAsmall": - case "AAAlarge": - out = readability >= 4.5; - break; - case "AAlarge": - out = readability >= 3; - break; - case "AAAsmall": - out = readability >= 7; - break; - } - return out; - -}; - -// mostReadable -// Given a base color and a list of possible foreground or background -// colors for that base, returns the most readable color. -// Optionally returns Black or White if the most readable color is unreadable. -// *Example* -// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255" -// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff" -// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3" -// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff" -tinycolor.mostReadable = function(baseColor, colorList, args) { - var bestColor = null; - var bestScore = 0; - var readability; - var includeFallbackColors, level, size ; - args = args || {}; - includeFallbackColors = args.includeFallbackColors ; - level = args.level; - size = args.size; - - for (var i= 0; i < colorList.length ; i++) { - readability = tinycolor.readability(baseColor, colorList[i]); - if (readability > bestScore) { - bestScore = readability; - bestColor = tinycolor(colorList[i]); - } - } - - if (tinycolor.isReadable(baseColor, bestColor, {"level":level,"size":size}) || !includeFallbackColors) { - return bestColor; - } - else { - args.includeFallbackColors=false; - return tinycolor.mostReadable(baseColor,["#fff", "#000"],args); - } -}; - -// Big List of Colors -// ------------------ -// -var names = tinycolor.names = { - aliceblue: "f0f8ff", - antiquewhite: "faebd7", - aqua: "0ff", - aquamarine: "7fffd4", - azure: "f0ffff", - beige: "f5f5dc", - bisque: "ffe4c4", - black: "000", - blanchedalmond: "ffebcd", - blue: "00f", - blueviolet: "8a2be2", - brown: "a52a2a", - burlywood: "deb887", - burntsienna: "ea7e5d", - cadetblue: "5f9ea0", - chartreuse: "7fff00", - chocolate: "d2691e", - coral: "ff7f50", - cornflowerblue: "6495ed", - cornsilk: "fff8dc", - crimson: "dc143c", - cyan: "0ff", - darkblue: "00008b", - darkcyan: "008b8b", - darkgoldenrod: "b8860b", - darkgray: "a9a9a9", - darkgreen: "006400", - darkgrey: "a9a9a9", - darkkhaki: "bdb76b", - darkmagenta: "8b008b", - darkolivegreen: "556b2f", - darkorange: "ff8c00", - darkorchid: "9932cc", - darkred: "8b0000", - darksalmon: "e9967a", - darkseagreen: "8fbc8f", - darkslateblue: "483d8b", - darkslategray: "2f4f4f", - darkslategrey: "2f4f4f", - darkturquoise: "00ced1", - darkviolet: "9400d3", - deeppink: "ff1493", - deepskyblue: "00bfff", - dimgray: "696969", - dimgrey: "696969", - dodgerblue: "1e90ff", - firebrick: "b22222", - floralwhite: "fffaf0", - forestgreen: "228b22", - fuchsia: "f0f", - gainsboro: "dcdcdc", - ghostwhite: "f8f8ff", - gold: "ffd700", - goldenrod: "daa520", - gray: "808080", - green: "008000", - greenyellow: "adff2f", - grey: "808080", - honeydew: "f0fff0", - hotpink: "ff69b4", - indianred: "cd5c5c", - indigo: "4b0082", - ivory: "fffff0", - khaki: "f0e68c", - lavender: "e6e6fa", - lavenderblush: "fff0f5", - lawngreen: "7cfc00", - lemonchiffon: "fffacd", - lightblue: "add8e6", - lightcoral: "f08080", - lightcyan: "e0ffff", - lightgoldenrodyellow: "fafad2", - lightgray: "d3d3d3", - lightgreen: "90ee90", - lightgrey: "d3d3d3", - lightpink: "ffb6c1", - lightsalmon: "ffa07a", - lightseagreen: "20b2aa", - lightskyblue: "87cefa", - lightslategray: "789", - lightslategrey: "789", - lightsteelblue: "b0c4de", - lightyellow: "ffffe0", - lime: "0f0", - limegreen: "32cd32", - linen: "faf0e6", - magenta: "f0f", - maroon: "800000", - mediumaquamarine: "66cdaa", - mediumblue: "0000cd", - mediumorchid: "ba55d3", - mediumpurple: "9370db", - mediumseagreen: "3cb371", - mediumslateblue: "7b68ee", - mediumspringgreen: "00fa9a", - mediumturquoise: "48d1cc", - mediumvioletred: "c71585", - midnightblue: "191970", - mintcream: "f5fffa", - mistyrose: "ffe4e1", - moccasin: "ffe4b5", - navajowhite: "ffdead", - navy: "000080", - oldlace: "fdf5e6", - olive: "808000", - olivedrab: "6b8e23", - orange: "ffa500", - orangered: "ff4500", - orchid: "da70d6", - palegoldenrod: "eee8aa", - palegreen: "98fb98", - paleturquoise: "afeeee", - palevioletred: "db7093", - papayawhip: "ffefd5", - peachpuff: "ffdab9", - peru: "cd853f", - pink: "ffc0cb", - plum: "dda0dd", - powderblue: "b0e0e6", - purple: "800080", - rebeccapurple: "663399", - red: "f00", - rosybrown: "bc8f8f", - royalblue: "4169e1", - saddlebrown: "8b4513", - salmon: "fa8072", - sandybrown: "f4a460", - seagreen: "2e8b57", - seashell: "fff5ee", - sienna: "a0522d", - silver: "c0c0c0", - skyblue: "87ceeb", - slateblue: "6a5acd", - slategray: "708090", - slategrey: "708090", - snow: "fffafa", - springgreen: "00ff7f", - steelblue: "4682b4", - tan: "d2b48c", - teal: "008080", - thistle: "d8bfd8", - tomato: "ff6347", - turquoise: "40e0d0", - violet: "ee82ee", - wheat: "f5deb3", - white: "fff", - whitesmoke: "f5f5f5", - yellow: "ff0", - yellowgreen: "9acd32" -}; - -// Make it easy to access colors via hexNames[hex] -var hexNames = tinycolor.hexNames = flip(names); - -// Utilities -// --------- - -// { 'name1': 'val1' } becomes { 'val1': 'name1' } -function flip(o) { - var flipped = { }; - for (var i in o) { - if (o.hasOwnProperty(i)) { - flipped[o[i]] = i; - } - } - return flipped; -} - -// Return a valid alpha value [0,1] with all invalid values being set to 1 -function boundAlpha(a) { - a = parseFloat(a); - - if (isNaN(a) || a < 0 || a > 1) { - a = 1; - } - - return a; -} - -// Take input from [0, n] and return it as [0, 1] -function bound01(n, max) { - if (isOnePointZero(n)) { n = "100%"; } - - var processPercent = isPercentage(n); - n = mathMin(max, mathMax(0, parseFloat(n))); - - // Automatically convert percentage into number - if (processPercent) { - n = parseInt(n * max, 10) / 100; - } - - // Handle floating point rounding errors - if ((Math.abs(n - max) < 0.000001)) { - return 1; - } - - // Convert into [0, 1] range if it isn't already - return (n % max) / parseFloat(max); -} - -// Force a number between 0 and 1 -function clamp01(val) { - return mathMin(1, mathMax(0, val)); -} - -// Parse a base-16 hex value into a base-10 integer -function parseIntFromHex(val) { - return parseInt(val, 16); -} - -// Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1 -// -function isOnePointZero(n) { - return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1; -} - -// Check to see if string passed in is a percentage -function isPercentage(n) { - return typeof n === "string" && n.indexOf('%') != -1; -} - -// Force a hex value to have 2 characters -function pad2(c) { - return c.length == 1 ? '0' + c : '' + c; -} - -// Replace a decimal with it's percentage value -function convertToPercentage(n) { - if (n <= 1) { - n = (n * 100) + "%"; - } - - return n; -} - -// Converts a decimal to a hex value -function convertDecimalToHex(d) { - return Math.round(parseFloat(d) * 255).toString(16); -} -// Converts a hex value to a decimal -function convertHexToDecimal(h) { - return (parseIntFromHex(h) / 255); -} - -var matchers = (function() { - - // - var CSS_INTEGER = "[-\\+]?\\d+%?"; - - // - var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?"; - - // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome. - var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")"; - - // Actual matching. - // Parentheses and commas are optional, but not required. - // Whitespace can take the place of commas or opening paren - var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?"; - var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?"; - - return { - CSS_UNIT: new RegExp(CSS_UNIT), - rgb: new RegExp("rgb" + PERMISSIVE_MATCH3), - rgba: new RegExp("rgba" + PERMISSIVE_MATCH4), - hsl: new RegExp("hsl" + PERMISSIVE_MATCH3), - hsla: new RegExp("hsla" + PERMISSIVE_MATCH4), - hsv: new RegExp("hsv" + PERMISSIVE_MATCH3), - hsva: new RegExp("hsva" + PERMISSIVE_MATCH4), - hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, - hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, - hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, - hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/ - }; -})(); - -// isValidCSSUnit -// Take in a single string / number and check to see if it looks like a CSS unit -// (see matchers above for definition). -function isValidCSSUnit(color) { - return !!matchers.CSS_UNIT.exec(color); -} - -// stringInputToObject -// Permissive string parsing. Take in a number of formats, and output an object -// based on detected format. Returns { r, g, b } or { h, s, l } or { h, s, v} -function stringInputToObject(color) { - - color = color.replace(trimLeft, '').replace(trimRight, '').toLowerCase(); - var named = false; - if (names[color]) { - color = names[color]; - named = true; - } - else if (color == 'transparent') { - return { r: 0, g: 0, b: 0, a: 0, format: "name" }; - } - - // Try to match string input using regular expressions. - // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360] - // Just return an object and let the conversion functions handle that. - // This way the result will be the same whether the tinycolor is initialized with string or object. - var match; - if ((match = matchers.rgb.exec(color))) { - return { r: match[1], g: match[2], b: match[3] }; - } - if ((match = matchers.rgba.exec(color))) { - return { r: match[1], g: match[2], b: match[3], a: match[4] }; - } - if ((match = matchers.hsl.exec(color))) { - return { h: match[1], s: match[2], l: match[3] }; - } - if ((match = matchers.hsla.exec(color))) { - return { h: match[1], s: match[2], l: match[3], a: match[4] }; - } - if ((match = matchers.hsv.exec(color))) { - return { h: match[1], s: match[2], v: match[3] }; - } - if ((match = matchers.hsva.exec(color))) { - return { h: match[1], s: match[2], v: match[3], a: match[4] }; - } - if ((match = matchers.hex8.exec(color))) { - return { - r: parseIntFromHex(match[1]), - g: parseIntFromHex(match[2]), - b: parseIntFromHex(match[3]), - a: convertHexToDecimal(match[4]), - format: named ? "name" : "hex8" - }; - } - if ((match = matchers.hex6.exec(color))) { - return { - r: parseIntFromHex(match[1]), - g: parseIntFromHex(match[2]), - b: parseIntFromHex(match[3]), - format: named ? "name" : "hex" - }; - } - if ((match = matchers.hex4.exec(color))) { - return { - r: parseIntFromHex(match[1] + '' + match[1]), - g: parseIntFromHex(match[2] + '' + match[2]), - b: parseIntFromHex(match[3] + '' + match[3]), - a: convertHexToDecimal(match[4] + '' + match[4]), - format: named ? "name" : "hex8" - }; - } - if ((match = matchers.hex3.exec(color))) { - return { - r: parseIntFromHex(match[1] + '' + match[1]), - g: parseIntFromHex(match[2] + '' + match[2]), - b: parseIntFromHex(match[3] + '' + match[3]), - format: named ? "name" : "hex" - }; - } - - return false; -} - -function validateWCAG2Parms(parms) { - // return valid WCAG2 parms for isReadable. - // If input parms are invalid, return {"level":"AA", "size":"small"} - var level, size; - parms = parms || {"level":"AA", "size":"small"}; - level = (parms.level || "AA").toUpperCase(); - size = (parms.size || "small").toLowerCase(); - if (level !== "AA" && level !== "AAA") { - level = "AA"; - } - if (size !== "small" && size !== "large") { - size = "small"; - } - return {"level":level, "size":size}; -} - -this.tinycolor = tinycolor; - -})()`; -} -// It is hacky way to make this function will be compiled preferentially by less -// resolve error: `ReferenceError: colorPalette is not defined` -// https://github.com/ant-design/ant-motion/issues/44 -.tinyColorMixin(); diff --git a/demo/less/theme.less b/demo/less/theme.less deleted file mode 100644 index 3937a598f..000000000 --- a/demo/less/theme.less +++ /dev/null @@ -1,301 +0,0 @@ -@import "./color/colors"; - -// http://stackoverflow.com/a/13611748/3040605 -@font-face { - font-family: "Helvetica Neue For Number"; - src: local("Helvetica Neue"); - unicode-range: U+30-39; -} - -// Prefix -@ant-prefix : ant; - -// Color -@primary-color : @blue-6; -@info-color : @blue-6; -@success-color : @green-6; -@error-color : @red-6; -@highlight-color : @red-6; -@warning-color : @yellow-6; -@normal-color : #d9d9d9; - -@primary-1: color(~`colorPalette("@{primary-color}", 1)`); // replace tint(@primary-color, 90%) -@primary-2: color(~`colorPalette("@{primary-color}", 2)`); // replace tint(@primary-color, 80%) -@primary-3: color(~`colorPalette("@{primary-color}", 3)`); -@primary-4: color(~`colorPalette("@{primary-color}", 4)`); -@primary-5: color(~`colorPalette("@{primary-color}", 5)`); // replace tint(@primary-color, 20%) -@primary-6: @primary-color; // don't use, use @primary-color -@primary-7: color(~`colorPalette("@{primary-color}", 7)`); // replace shade(@primary-color, 5%) -@primary-8: color(~`colorPalette("@{primary-color}", 8)`); -@primary-9: color(~`colorPalette("@{primary-color}", 9)`); -@primary-10: color(~`colorPalette("@{primary-color}", 10)`); - -// ------ Base & Require ------ -@body-background : #fff; -@component-background : #fff; -@font-family : "Helvetica Neue For Number", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; -@code-family : Consolas, Menlo, Courier, monospace; -@heading-color : fade(#000, 85%); -@text-color : fade(#000, 65%); -@text-color-secondary : fade(#000, 43%); -@disabled-color : fade(#000, 25%); -@heading-color-dark : fade(#fff, 97%); -@text-color-dark : fade(#fff, 91%); -@text-color-secondary-dark: fade(#fff, 67%); -@disabled-color-dark : fade(#fff, 35%); -@font-size-base : 12px; -@font-size-lg : @font-size-base + 2px; -@line-height-base : 1.5; -@border-radius-base : 4px; -@border-radius-sm : 2px; - -// ICONFONT -@iconfont-css-prefix : anticon; -@icon-url : "https://at.alicdn.com/t/font_0qcp222wvwijm7vi"; - -// LINK -@link-color : @primary-color; -@link-hover-color : @primary-5; -@link-active-color : @primary-7; -@link-hover-decoration : none; - -// Animation -@ease-out : cubic-bezier(0.215, 0.61, 0.355, 1); -@ease-in : cubic-bezier(0.55, 0.055, 0.675, 0.19); -@ease-in-out : cubic-bezier(0.645, 0.045, 0.355, 1); -@ease-out-back : cubic-bezier(0.12, 0.4, 0.29, 1.46); -@ease-in-back : cubic-bezier(0.71, -0.46, 0.88, 0.6); -@ease-in-out-back : cubic-bezier(0.71, -0.46, 0.29, 1.46); -@ease-out-circ : cubic-bezier(0.08, 0.82, 0.17, 1); -@ease-in-circ : cubic-bezier(0.6, 0.04, 0.98, 0.34); -@ease-in-out-circ : cubic-bezier(0.78, 0.14, 0.15, 0.86); -@ease-out-quint : cubic-bezier(0.23, 1, 0.32, 1); -@ease-in-quint : cubic-bezier(0.755, 0.05, 0.855, 0.06); -@ease-in-out-quint : cubic-bezier(0.86, 0, 0.07, 1); - -// Border color -@border-color-base : #d9d9d9; // base border outline a component -@border-color-split : #e9e9e9; // split border inside a component -@border-width-base : 1px; // width of the border for a component -@border-style-base : solid; // style of a components border - -// Outline -@outline-blur-size : 0; -@outline-width : 2px; -@outline-color : @primary-color; - -// Background color -@background-color-base : #f7f7f7; // basic gray background - -// Shadow -@shadow-color : rgba(0, 0, 0, .2); -@box-shadow-base : @shadow-1-down; -@shadow-1-up : 0 -1px 6px @shadow-color; -@shadow-1-down : 0 1px 6px @shadow-color; -@shadow-1-left : -1px 0 6px @shadow-color; -@shadow-1-right : 1px 0 6px @shadow-color; -@shadow-2 : 0 2px 8px @shadow-color; - -// Buttons -@btn-font-weight : 500; -@btn-border-radius-base : @border-radius-base; -@btn-border-radius-sm : @border-radius-base; - -@btn-primary-color : #fff; -@btn-primary-bg : @primary-color; - -@btn-default-color : @text-color; -@btn-default-bg : #fff; -@btn-default-border : @border-color-base; - -@btn-danger-color : @error-color; -@btn-danger-bg : @background-color-base; -@btn-danger-border : @border-color-base; - -@btn-disable-color : @disabled-color; -@btn-disable-bg : @background-color-base; -@btn-disable-border : @border-color-base; - -@btn-padding-base : 0 15px; -@btn-font-size-lg : @font-size-lg; -@btn-padding-lg : @btn-padding-base; -@btn-padding-sm : 0 7px; - -@btn-height-base : 28px; -@btn-height-lg : 32px; -@btn-height-sm : 22px; - -@btn-circle-size : @btn-height-base; -@btn-circle-size-lg : @btn-height-lg; -@btn-circle-size-sm : @btn-height-sm; - -@btn-group-border : @primary-7; - -// Radio buttons -@radio-button-bg : @btn-default-bg; -@radio-button-color : @btn-default-color; - -// Media queries breakpoints -// Extra small screen / phone -@screen-xs : 480px; -@screen-xs-min : @screen-xs; - -// Small screen / tablet -@screen-sm : 768px; -@screen-sm-min : @screen-sm; - -// Medium screen / desktop -@screen-md : 992px; -@screen-md-min : @screen-md; - -// Large screen / wide desktop -@screen-lg : 1200px; -@screen-lg-min : @screen-lg; - -// Extra Large screen / full hd -@screen-xl : 1600px; -@screen-xl-min : @screen-xl; - -// provide a maximum -@screen-xs-max : (@screen-sm-min - 1); -@screen-sm-max : (@screen-md-min - 1); -@screen-md-max : (@screen-lg-min - 1); -@screen-lg-max : (@screen-xl-min - 1); - -// Grid system -@grid-columns : 24; -@grid-gutter-width : 0; - -// Layout -@layout-body-background : #ececec; -@layout-header-background : #404040; -@layout-header-height : 64px; -@layout-header-padding : 0 50px; -@layout-footer-padding : 24px 50px; -@layout-sider-background : @layout-header-background; -@layout-trigger-height : 48px; -@layout-zero-trigger-width : 36px; -@layout-zero-trigger-height : 42px; - -// z-index list -@zindex-affix : 10; -@zindex-back-top : 10; -@zindex-modal-mask : 1000; -@zindex-modal : 1000; -@zindex-notification : 1010; -@zindex-message : 1010; -@zindex-popover : 1030; -@zindex-picker : 1050; -@zindex-dropdown : 1050; -@zindex-tooltip : 1060; - -// Animation -@animation-duration-slow: .3s; // Modal -@animation-duration-base: .2s; -@animation-duration-fast: .1s; // Tooltip - -// Form -// --- -@label-required-color : @highlight-color; -@label-color : @text-color; -@form-item-margin-bottom : 24px; -@form-item-trailing-colon : true; - -// Input -// --- -@input-height-base : 28px; -@input-height-lg : 32px; -@input-height-sm : 22px; -@input-padding-horizontal : 7px; -@input-padding-vertical-base : 4px; -@input-padding-vertical-sm : 1px; -@input-padding-vertical-lg : 6px; -@input-placeholder-color : #ccc; -@input-color : @text-color; -@input-border-color : @border-color-base; -@input-bg : #fff; -@input-hover-border-color : @primary-color; -@input-disabled-bg : @background-color-base; - -// Tooltip -// --- -//* Tooltip max width -@tooltip-max-width: 250px; -//** Tooltip text color -@tooltip-color: #fff; -//** Tooltip background color -@tooltip-bg: rgba(64, 64, 64, .85); -//** Tooltip arrow width -@tooltip-arrow-width: 5px; -//** Tooltip distance with trigger -@tooltip-distance: @tooltip-arrow-width - 1 + 4; -//** Tooltip arrow color -@tooltip-arrow-color: @tooltip-bg; - -// Popover -// --- -//** Popover body background color -@popover-bg: #fff; -//** Popover maximum width -@popover-min-width: 177px; -//** Popover arrow width -@popover-arrow-width: 4px; -//** Popover arrow color -@popover-arrow-color: @popover-bg; -//** Popover outer arrow width -@popover-arrow-outer-width: (@popover-arrow-width + 1); -//** Popover outer arrow color -@popover-arrow-outer-color: fadeout(@border-color-base, 30%); - -// Modal -// -- -@modal-mask-bg: rgba(55, 55, 55, 0.6); - -// Progress -// -- -@process-default-color: @primary-color; - -// Menu -// --- -@menu-dark-bg: @layout-header-background; -@menu-dark-submenu-bg: #333; - -// Spin -// --- -@spin-dot-size-sm: 14px; -@spin-dot-size: 20px; -@spin-dot-size-lg: 32px; - -// Table -// -- -@table-header-bg: @background-color-base; -@table-row-hover-bg: @primary-1; -@table-padding-vertical: 16px; -@table-padding-horizontal: 8px; - -// TimePicker -// --- -@time-picker-panel-column-width: 56px; -@time-picker-panel-width: @time-picker-panel-column-width * 3; - -// Carousel -// --- -@carousel-dot-width: 16px; -@carousel-dot-height: 3px; -@carousel-dot-active-width: 24px; - -// Badge -// --- -@badge-height: 20px; -@badge-dot-size: 8px; - -// Rate -// --- -@rate-star-color: #f5a623; -@rate-star-bg: #e9e9e9; - -// Card -// --- -@card-head-height: 48px; -@card-head-color: @heading-color; -@card-head-background: @component-background; diff --git a/docs/base.css b/docs/base.css index a2b20140d..3f7feeab0 100644 --- a/docs/base.css +++ b/docs/base.css @@ -1115,12 +1115,12 @@ li.CodeMirror-hint-active { transition-timing-function: ease; user-select: none; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666); border-radius: 5px; } .bi-theme-dark .scrollbar-layout-main { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc); } .scrollbar-layout-main-vertical { bottom: 0; @@ -1139,11 +1139,11 @@ li.CodeMirror-hint-active { left: 0; transition-property: background-color; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666); } .bi-theme-dark .scrollbar-layout-main-horizontal { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc); } /* Touching the scroll-track directly makes the scroll-track bolder */ .scrollbar-layout-main-horizontal.public-scrollbar-main-active, @@ -1197,23 +1197,23 @@ li.CodeMirror-hint-active { /* Touching the scroll-track directly makes the scroll-track bolder */ .public-scrollbar-face:after { background-color: rgba(102, 102, 102, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666); } .bi-theme-dark .public-scrollbar-face:after { background-color: rgba(204, 204, 204, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc); } .public-scrollbar-main:hover .public-scrollbar-face:after, .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { background-color: rgba(102, 102, 102, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666); } .bi-theme-dark .public-scrollbar-main:hover .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-main-active .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-faceActive:after { background-color: rgba(204, 204, 204, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc); } .horizontal-scrollbar { bottom: 0; diff --git a/docs/demo.css b/docs/demo.css index eac8307e3..2c14653b2 100644 --- a/docs/demo.css +++ b/docs/demo.css @@ -73,11 +73,6 @@ body.bi-theme-dark { /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -@font-face { - font-family: "Helvetica Neue For Number"; - src: local("Helvetica Neue"); - unicode-range: U+30-39; -} /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/docs/widget.js b/docs/widget.js index 68ec4d108..54c1276be 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -9665,7 +9665,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { toggle: false, el: this.trigger, adjustLength: 1, - popup: this.popup + popup: this.popup, + hideChecker: function (e) { + return triggerBtn.element.find(e.target).length === 0; + } }); this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { diff --git a/src/css/base/table/table.grid.scrollbar.css b/src/css/base/table/table.grid.scrollbar.css index a690d35ee..2fc4a1a44 100644 --- a/src/css/base/table/table.grid.scrollbar.css +++ b/src/css/base/table/table.grid.scrollbar.css @@ -10,12 +10,12 @@ transition-timing-function: ease; user-select: none; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666); border-radius: 5px; } .bi-theme-dark .scrollbar-layout-main { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc); } .scrollbar-layout-main-vertical { bottom: 0; @@ -34,11 +34,11 @@ left: 0; transition-property: background-color; background-color: rgba(102, 102, 102, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d666666,endColorstr=#0d666666); } .bi-theme-dark .scrollbar-layout-main-horizontal { background-color: rgba(204, 204, 204, 0.05); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dcccccc,endColorstr=#0dcccccc); } /* Touching the scroll-track directly makes the scroll-track bolder */ .scrollbar-layout-main-horizontal.public-scrollbar-main-active, @@ -92,23 +92,23 @@ /* Touching the scroll-track directly makes the scroll-track bolder */ .public-scrollbar-face:after { background-color: rgba(102, 102, 102, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d666666,endColorstr=#4d666666); } .bi-theme-dark .public-scrollbar-face:after { background-color: rgba(204, 204, 204, 0.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4dcccccc,endColorstr=#4dcccccc); } .public-scrollbar-main:hover .public-scrollbar-face:after, .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { background-color: rgba(102, 102, 102, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3666666,endColorstr=#b3666666); } .bi-theme-dark .public-scrollbar-main:hover .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-main-active .public-scrollbar-face:after, .bi-theme-dark .public-scrollbar-faceActive:after { background-color: rgba(204, 204, 204, 0.7); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b3cccccc,endColorstr=#b3cccccc); } .horizontal-scrollbar { bottom: 0; diff --git a/src/less/base/table/table.grid.scrollbar.less b/src/less/base/table/table.grid.scrollbar.less index 8ca19645a..577921b64 100644 --- a/src/less/base/table/table.grid.scrollbar.less +++ b/src/less/base/table/table.grid.scrollbar.less @@ -9,7 +9,7 @@ user-select: none; background-color: @scroll-color; @ieColor: argb(@scroll-color); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; border-radius: 5px; } @@ -17,7 +17,7 @@ .scrollbar-layout-main { background-color: @scroll-color-theme-dark; @ieColor: argb(@scroll-color-theme-dark); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; } } @@ -41,14 +41,14 @@ transition-property: background-color; background-color: @scroll-color; @ieColor: argb(@scroll-color); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; } .bi-theme-dark { .scrollbar-layout-main-horizontal { background-color: @scroll-color-theme-dark; @ieColor: argb(@scroll-color-theme-dark); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; } } @@ -124,14 +124,14 @@ .public-scrollbar-face:after { background-color: @scroll-thumb-color; @ieColor: argb(@scroll-thumb-color); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; } .bi-theme-dark { .public-scrollbar-face:after { background-color: @scroll-thumb-color-theme-dark; @ieColor: argb(@scroll-thumb-color-theme-dark); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; } } @@ -140,7 +140,7 @@ .public-scrollbar-faceActive:after { background-color: @scroll-thumb-focus-color; @ieColor: argb(@scroll-thumb-focus-color); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; } .bi-theme-dark { @@ -149,7 +149,7 @@ .public-scrollbar-faceActive:after { background-color: @scroll-thumb-focus-color-theme-dark; @ieColor: argb(@scroll-thumb-focus-color-theme-dark); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor}"; + filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; } } diff --git a/src/widget/multiselect/multiselect.combo.js b/src/widget/multiselect/multiselect.combo.js index b2c6ae557..b687714b5 100644 --- a/src/widget/multiselect/multiselect.combo.js +++ b/src/widget/multiselect/multiselect.combo.js @@ -140,7 +140,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, { toggle: false, el: this.trigger, adjustLength: 1, - popup: this.popup + popup: this.popup, + hideChecker: function (e) { + return triggerBtn.element.find(e.target).length === 0; + } }); this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { From 9bc28e06bb5ee25fd3b96536c240d230fcc51fdb Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 2 May 2017 13:49:38 +0800 Subject: [PATCH 18/24] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=8C=96Key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/core.js | 16 +++++++------- demo/css/center.css | 0 demo/css/face.css | 6 +++++ demo/css/index.css | 3 +++ demo/css/main.css | 50 ++++++++++++++++++++++++++++++++++++++++++ demo/css/north.css | 13 +++++++++++ demo/css/preview.css | 3 +++ demo/css/west.css | 3 +++ docs/core.js | 16 +++++++------- src/core/proto/date.js | 16 +++++++------- 10 files changed, 102 insertions(+), 24 deletions(-) create mode 100644 demo/css/center.css create mode 100644 demo/css/face.css create mode 100644 demo/css/index.css create mode 100644 demo/css/main.css create mode 100644 demo/css/north.css create mode 100644 demo/css/preview.css create mode 100644 demo/css/west.css diff --git a/bi/core.js b/bi/core.js index 39ec4f58d..a1302b3db 100644 --- a/bi/core.js +++ b/bi/core.js @@ -6169,14 +6169,14 @@ Date._DN = [BI.i18nText("BI-Basic_Sunday"), BI.i18nText("BI-Basic_Sunday")]; // short day names -Date._SDN = [BI.i18nText("BI-Date_Day"), - BI.i18nText("BI-Basic_One"), - BI.i18nText("BI-Basic_Two"), - BI.i18nText("BI-Basic_Three"), - BI.i18nText("BI-Basic_Four"), - BI.i18nText("BI-Basic_Five"), - BI.i18nText("BI-Basic_Six"), - BI.i18nText("BI-Date_Day")]; +Date._SDN = [BI.i18nText("BI-Basic_Simple_Sunday"), + BI.i18nText("BI-Basic_Simple_Monday"), + BI.i18nText("BI-Basic_Simple_Tuesday"), + BI.i18nText("BI-Basic_Simple_Wednesday"), + BI.i18nText("BI-Basic_Simple_Thursday"), + BI.i18nText("BI-Basic_Simple_Friday"), + BI.i18nText("BI-Basic_Simple_Saturday"), + BI.i18nText("BI-Basic_Simple_Sunday")]; // Monday first, etc. Date._FD = 1; diff --git a/demo/css/center.css b/demo/css/center.css new file mode 100644 index 000000000..e69de29bb diff --git a/demo/css/face.css b/demo/css/face.css new file mode 100644 index 000000000..310c89450 --- /dev/null +++ b/demo/css/face.css @@ -0,0 +1,6 @@ +/****添加计算宽度的--运算符直接需要space****/ +/****** common color(常用颜色,可用于普遍场景) *****/ +/**** custom color(自定义颜色,用于特定场景) ****/ +.demo-face .face-config .config-label { + font-size: 14px; +} diff --git a/demo/css/index.css b/demo/css/index.css new file mode 100644 index 000000000..2f6491e13 --- /dev/null +++ b/demo/css/index.css @@ -0,0 +1,3 @@ +/****添加计算宽度的--运算符直接需要space****/ +/****** common color(常用颜色,可用于普遍场景) *****/ +/**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/demo/css/main.css b/demo/css/main.css new file mode 100644 index 000000000..a7c674685 --- /dev/null +++ b/demo/css/main.css @@ -0,0 +1,50 @@ +/****添加计算宽度的--运算符直接需要space****/ +/****** common color(常用颜色,可用于普遍场景) *****/ +/**** custom color(自定义颜色,用于特定场景) ****/ +.layout-bg-white { + background-color: #ffffff; +} +.layout-bg-gray { + background-color: #eeeeee; +} +.layout-bg1 { + color: #ffffff; + background-color: #0088cc; +} +.layout-bg2 { + color: #ffffff; + background-color: #008B8B; +} +.layout-bg3 { + color: #ffffff; + background-color: #6495ED; +} +.layout-bg4 { + color: #ffffff; + background-color: #ff69b4; +} +.layout-bg5 { + color: #ffffff; + background-color: #B8860B; +} +.layout-bg6 { + color: #ffffff; + background-color: #d9534f; +} +.layout-bg7 { + color: #ffffff; + background-color: #ea4738; +} +.layout-bg8 { + color: #ffffff; + background-color: #6495ed; +} +.demo-main .bg1 { + background-color: #178cdf; +} +body { + background-color: #eff1f4; +} +body.bi-theme-dark { + background-color: #191B2B; +} diff --git a/demo/css/north.css b/demo/css/north.css new file mode 100644 index 000000000..ffd6fe0a3 --- /dev/null +++ b/demo/css/north.css @@ -0,0 +1,13 @@ +/****添加计算宽度的--运算符直接需要space****/ +/****** common color(常用颜色,可用于普遍场景) *****/ +/**** custom color(自定义颜色,用于特定场景) ****/ +.demo-north { + background-color: #3c8dbc; +} +.demo-north .logo { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #ffffff; + background-color: #367fa9; + font-size: 20px; + font-weight: 300; +} diff --git a/demo/css/preview.css b/demo/css/preview.css new file mode 100644 index 000000000..2f6491e13 --- /dev/null +++ b/demo/css/preview.css @@ -0,0 +1,3 @@ +/****添加计算宽度的--运算符直接需要space****/ +/****** common color(常用颜色,可用于普遍场景) *****/ +/**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/demo/css/west.css b/demo/css/west.css new file mode 100644 index 000000000..2f6491e13 --- /dev/null +++ b/demo/css/west.css @@ -0,0 +1,3 @@ +/****添加计算宽度的--运算符直接需要space****/ +/****** common color(常用颜色,可用于普遍场景) *****/ +/**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/docs/core.js b/docs/core.js index 79ebe3be9..920883e37 100644 --- a/docs/core.js +++ b/docs/core.js @@ -23646,14 +23646,14 @@ Date._DN = [BI.i18nText("BI-Basic_Sunday"), BI.i18nText("BI-Basic_Sunday")]; // short day names -Date._SDN = [BI.i18nText("BI-Date_Day"), - BI.i18nText("BI-Basic_One"), - BI.i18nText("BI-Basic_Two"), - BI.i18nText("BI-Basic_Three"), - BI.i18nText("BI-Basic_Four"), - BI.i18nText("BI-Basic_Five"), - BI.i18nText("BI-Basic_Six"), - BI.i18nText("BI-Date_Day")]; +Date._SDN = [BI.i18nText("BI-Basic_Simple_Sunday"), + BI.i18nText("BI-Basic_Simple_Monday"), + BI.i18nText("BI-Basic_Simple_Tuesday"), + BI.i18nText("BI-Basic_Simple_Wednesday"), + BI.i18nText("BI-Basic_Simple_Thursday"), + BI.i18nText("BI-Basic_Simple_Friday"), + BI.i18nText("BI-Basic_Simple_Saturday"), + BI.i18nText("BI-Basic_Simple_Sunday")]; // Monday first, etc. Date._FD = 1; diff --git a/src/core/proto/date.js b/src/core/proto/date.js index 72df18466..1ae8b5959 100644 --- a/src/core/proto/date.js +++ b/src/core/proto/date.js @@ -9,14 +9,14 @@ Date._DN = [BI.i18nText("BI-Basic_Sunday"), BI.i18nText("BI-Basic_Sunday")]; // short day names -Date._SDN = [BI.i18nText("BI-Date_Day"), - BI.i18nText("BI-Basic_One"), - BI.i18nText("BI-Basic_Two"), - BI.i18nText("BI-Basic_Three"), - BI.i18nText("BI-Basic_Four"), - BI.i18nText("BI-Basic_Five"), - BI.i18nText("BI-Basic_Six"), - BI.i18nText("BI-Date_Day")]; +Date._SDN = [BI.i18nText("BI-Basic_Simple_Sunday"), + BI.i18nText("BI-Basic_Simple_Monday"), + BI.i18nText("BI-Basic_Simple_Tuesday"), + BI.i18nText("BI-Basic_Simple_Wednesday"), + BI.i18nText("BI-Basic_Simple_Thursday"), + BI.i18nText("BI-Basic_Simple_Friday"), + BI.i18nText("BI-Basic_Simple_Saturday"), + BI.i18nText("BI-Basic_Simple_Sunday")]; // Monday first, etc. Date._FD = 1; From 5bd33c98871fb62a0f1c5a59108f37423a23a0e6 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 2 May 2017 14:37:34 +0800 Subject: [PATCH 19/24] formula combo --- bi/case.js | 2 +- docs/case.js | 2 +- src/case/combo/formulacombo/trigger.formulacombo.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bi/case.js b/bi/case.js index 4916f30f9..8ec3cc70b 100644 --- a/bi/case.js +++ b/bi/case.js @@ -4023,7 +4023,7 @@ BI.FormulaComboTrigger = BI.inherit(BI.Widget, { var str = item.match(fieldRegx); if (BI.isNotEmptyArray(str)) { var id = str[0].substring(2, item.length - 1); - var item = BI.find(self.options.items, function (i, item) { + var item = BI.find(BI.flatten(self.options.items), function (i, item) { return id === item.value; }); formulaString = formulaString + item.text; diff --git a/docs/case.js b/docs/case.js index 4916f30f9..8ec3cc70b 100644 --- a/docs/case.js +++ b/docs/case.js @@ -4023,7 +4023,7 @@ BI.FormulaComboTrigger = BI.inherit(BI.Widget, { var str = item.match(fieldRegx); if (BI.isNotEmptyArray(str)) { var id = str[0].substring(2, item.length - 1); - var item = BI.find(self.options.items, function (i, item) { + var item = BI.find(BI.flatten(self.options.items), function (i, item) { return id === item.value; }); formulaString = formulaString + item.text; diff --git a/src/case/combo/formulacombo/trigger.formulacombo.js b/src/case/combo/formulacombo/trigger.formulacombo.js index 79ebc72d5..276a9d46a 100644 --- a/src/case/combo/formulacombo/trigger.formulacombo.js +++ b/src/case/combo/formulacombo/trigger.formulacombo.js @@ -36,7 +36,7 @@ BI.FormulaComboTrigger = BI.inherit(BI.Widget, { var str = item.match(fieldRegx); if (BI.isNotEmptyArray(str)) { var id = str[0].substring(2, item.length - 1); - var item = BI.find(self.options.items, function (i, item) { + var item = BI.find(BI.flatten(self.options.items), function (i, item) { return id === item.value; }); formulaString = formulaString + item.text; From b130175f1abdf949afbf710d2597f3eecefa9f6c Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 2 May 2017 20:47:50 +0800 Subject: [PATCH 20/24] add --- bi/core.js | 20 ++++++++++++++++---- docs/core.js | 20 ++++++++++++++++---- src/config.js | 8 ++++---- src/core/base.js | 12 ++++++++++++ 4 files changed, 48 insertions(+), 12 deletions(-) diff --git a/bi/core.js b/bi/core.js index a1302b3db..fbe93acd9 100644 --- a/bi/core.js +++ b/bi/core.js @@ -2920,6 +2920,10 @@ if (!window.BI) { return /(msie|trident)/i.test(navigator.userAgent.toLowerCase()); }, + isEdge: function () { + return /edge/i.test(navigator.userAgent.toLowerCase()); + }, + isChrome: function () { return /chrome/i.test(navigator.userAgent.toLowerCase()); }, @@ -2940,6 +2944,14 @@ if (!window.BI) { return /Konqueror|Safari|KHTML/i.test(navigator.userAgent); }, + isMac: function () { + return /macintosh|mac os x/i.test(navigator.userAgent); + }, + + isWindows: function () { + return /windows|win32/i.test(navigator.userAgent); + }, + isSupportCss3: function (style) { var prefix = ['webkit', 'Moz', 'ms', 'o'], i, len, @@ -17799,16 +17811,16 @@ $(function () { //注册控件 BI.Plugin.registerWidget("bi.grid_table", function (ob) { - //IE下滚动条滑动效果不好,禁止掉 - if (BI.isIE() || BI.isFireFox()) { + //非chrome下滚动条滑动效果不好,禁止掉 + if (!(BI.isChrome() && BI.isWindows())) { return BI.extend(ob, {type: "bi.quick_grid_table"}); } else { return ob; } }); BI.Plugin.registerWidget("bi.collection_table", function (ob) { - //IE下滚动条滑动效果不好,禁止掉 - if (BI.isIE() || BI.isFireFox()) { + //非chrome下滚动条滑动效果不好,禁止掉 + if (!(BI.isChrome() && BI.isWindows())) { return BI.extend(ob, {type: "bi.quick_collection_table"}); } else { return ob; diff --git a/docs/core.js b/docs/core.js index 920883e37..7457258ad 100644 --- a/docs/core.js +++ b/docs/core.js @@ -14062,6 +14062,10 @@ if (!window.BI) { return /(msie|trident)/i.test(navigator.userAgent.toLowerCase()); }, + isEdge: function () { + return /edge/i.test(navigator.userAgent.toLowerCase()); + }, + isChrome: function () { return /chrome/i.test(navigator.userAgent.toLowerCase()); }, @@ -14082,6 +14086,14 @@ if (!window.BI) { return /Konqueror|Safari|KHTML/i.test(navigator.userAgent); }, + isMac: function () { + return /macintosh|mac os x/i.test(navigator.userAgent); + }, + + isWindows: function () { + return /windows|win32/i.test(navigator.userAgent); + }, + isSupportCss3: function (style) { var prefix = ['webkit', 'Moz', 'ms', 'o'], i, len, @@ -28941,16 +28953,16 @@ $(function () { //注册控件 BI.Plugin.registerWidget("bi.grid_table", function (ob) { - //IE下滚动条滑动效果不好,禁止掉 - if (BI.isIE() || BI.isFireFox()) { + //非chrome下滚动条滑动效果不好,禁止掉 + if (!(BI.isChrome() && BI.isWindows())) { return BI.extend(ob, {type: "bi.quick_grid_table"}); } else { return ob; } }); BI.Plugin.registerWidget("bi.collection_table", function (ob) { - //IE下滚动条滑动效果不好,禁止掉 - if (BI.isIE() || BI.isFireFox()) { + //非chrome下滚动条滑动效果不好,禁止掉 + if (!(BI.isChrome() && BI.isWindows())) { return BI.extend(ob, {type: "bi.quick_collection_table"}); } else { return ob; diff --git a/src/config.js b/src/config.js index a6b62ffac..0e0a36110 100644 --- a/src/config.js +++ b/src/config.js @@ -57,16 +57,16 @@ $(function () { //注册控件 BI.Plugin.registerWidget("bi.grid_table", function (ob) { - //IE下滚动条滑动效果不好,禁止掉 - if (BI.isIE() || BI.isFireFox()) { + //非chrome下滚动条滑动效果不好,禁止掉 + if (!(BI.isChrome() && BI.isWindows())) { return BI.extend(ob, {type: "bi.quick_grid_table"}); } else { return ob; } }); BI.Plugin.registerWidget("bi.collection_table", function (ob) { - //IE下滚动条滑动效果不好,禁止掉 - if (BI.isIE() || BI.isFireFox()) { + //非chrome下滚动条滑动效果不好,禁止掉 + if (!(BI.isChrome() && BI.isWindows())) { return BI.extend(ob, {type: "bi.quick_collection_table"}); } else { return ob; diff --git a/src/core/base.js b/src/core/base.js index 65b3916bc..44711e0ad 100644 --- a/src/core/base.js +++ b/src/core/base.js @@ -1025,6 +1025,10 @@ if (!window.BI) { return /(msie|trident)/i.test(navigator.userAgent.toLowerCase()); }, + isEdge: function () { + return /edge/i.test(navigator.userAgent.toLowerCase()); + }, + isChrome: function () { return /chrome/i.test(navigator.userAgent.toLowerCase()); }, @@ -1045,6 +1049,14 @@ if (!window.BI) { return /Konqueror|Safari|KHTML/i.test(navigator.userAgent); }, + isMac: function () { + return /macintosh|mac os x/i.test(navigator.userAgent); + }, + + isWindows: function () { + return /windows|win32/i.test(navigator.userAgent); + }, + isSupportCss3: function (style) { var prefix = ['webkit', 'Moz', 'ms', 'o'], i, len, From 91fc2e12dc8b438abe17a161bfc8d3a7070808b4 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 3 May 2017 10:04:03 +0800 Subject: [PATCH 21/24] add --- bi/base.css | 6 ------ bi/base.js | 2 +- bi/core.css | 1 + docs/base.css | 6 ------ docs/base.js | 2 +- docs/core.css | 1 + src/base/pager/pager.js | 2 +- src/css/base/dom.css | 6 ------ src/css/core/utils/common.css | 1 + src/less/base/dom.less | 5 ----- src/less/core/utils/common.less | 1 + 11 files changed, 7 insertions(+), 26 deletions(-) diff --git a/bi/base.css b/bi/base.css index 3f7feeab0..6fa6a9712 100644 --- a/bi/base.css +++ b/bi/base.css @@ -74,12 +74,6 @@ /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/************hing light*****************/ -.bi-z-index-mask { - background-color: #1a1a1a; - opacity: 0.5; - filter: alpha(opacity=50); -} /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/bi/base.js b/bi/base.js index f665c730b..715e5e1dd 100644 --- a/bi/base.js +++ b/bi/base.js @@ -15513,7 +15513,7 @@ BI.Pager = BI.inherit(BI.Widget, { type: "bi.button_group", element: this, items: BI.createItems(view, { - cls: "page-item", + cls: "bi-list-item-select", height: 23, hgap: 10 }), diff --git a/bi/core.css b/bi/core.css index 781e734e9..b8d3b3897 100644 --- a/bi/core.css +++ b/bi/core.css @@ -3065,6 +3065,7 @@ i { } .bi-z-index-mask { background-color: rgba(26, 26, 26, 0.5); + color: #ffffff; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#801a1a1a,endColorstr=#801a1a1a); } .bi-list-item:hover, diff --git a/docs/base.css b/docs/base.css index 3f7feeab0..6fa6a9712 100644 --- a/docs/base.css +++ b/docs/base.css @@ -74,12 +74,6 @@ /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/************hing light*****************/ -.bi-z-index-mask { - background-color: #1a1a1a; - opacity: 0.5; - filter: alpha(opacity=50); -} /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/docs/base.js b/docs/base.js index f665c730b..715e5e1dd 100644 --- a/docs/base.js +++ b/docs/base.js @@ -15513,7 +15513,7 @@ BI.Pager = BI.inherit(BI.Widget, { type: "bi.button_group", element: this, items: BI.createItems(view, { - cls: "page-item", + cls: "bi-list-item-select", height: 23, hgap: 10 }), diff --git a/docs/core.css b/docs/core.css index 781e734e9..b8d3b3897 100644 --- a/docs/core.css +++ b/docs/core.css @@ -3065,6 +3065,7 @@ i { } .bi-z-index-mask { background-color: rgba(26, 26, 26, 0.5); + color: #ffffff; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#801a1a1a,endColorstr=#801a1a1a); } .bi-list-item:hover, diff --git a/src/base/pager/pager.js b/src/base/pager/pager.js index 1f8349ac8..8c0a72936 100644 --- a/src/base/pager/pager.js +++ b/src/base/pager/pager.js @@ -176,7 +176,7 @@ BI.Pager = BI.inherit(BI.Widget, { type: "bi.button_group", element: this, items: BI.createItems(view, { - cls: "page-item", + cls: "bi-list-item-select", height: 23, hgap: 10 }), diff --git a/src/css/base/dom.css b/src/css/base/dom.css index 4429e3625..2f6491e13 100644 --- a/src/css/base/dom.css +++ b/src/css/base/dom.css @@ -1,9 +1,3 @@ /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/************hing light*****************/ -.bi-z-index-mask { - background-color: #1a1a1a; - opacity: 0.5; - filter: alpha(opacity=50); -} diff --git a/src/css/core/utils/common.css b/src/css/core/utils/common.css index 5d93d553c..0f4970317 100644 --- a/src/css/core/utils/common.css +++ b/src/css/core/utils/common.css @@ -112,6 +112,7 @@ } .bi-z-index-mask { background-color: rgba(26, 26, 26, 0.5); + color: #ffffff; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#801a1a1a,endColorstr=#801a1a1a); } .bi-list-item:hover, diff --git a/src/less/base/dom.less b/src/less/base/dom.less index 95c195b4b..10e6d8568 100644 --- a/src/less/base/dom.less +++ b/src/less/base/dom.less @@ -1,7 +1,2 @@ @import "../bibase"; @import "../lib/colors"; -/************hing light*****************/ -.bi-z-index-mask{ - background-color: @color-bi-background-black; - .opacity(0.5); -} \ No newline at end of file diff --git a/src/less/core/utils/common.less b/src/less/core/utils/common.less index ecb67c16b..d5a7b4a0a 100644 --- a/src/less/core/utils/common.less +++ b/src/less/core/utils/common.less @@ -159,6 +159,7 @@ .bi-z-index-mask { background-color: fade(@color-bi-background-black, 50%); + color: @color-bi-background-default; @ieColor: argb(fade(@color-bi-background-black, 50%)); filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; } From defdc109ba2f91ea48fa52d9660b5dac1727b8bc Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 3 May 2017 11:34:58 +0800 Subject: [PATCH 22/24] =?UTF-8?q?=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/base.css | 29 --- bi/base.js | 347 +---------------------------- docs/base.css | 29 --- docs/base.js | 347 +---------------------------- src/base/table/table.js | 347 +---------------------------- src/css/base/tree/display.tree.css | 29 --- 6 files changed, 30 insertions(+), 1098 deletions(-) delete mode 100644 src/css/base/tree/display.tree.css diff --git a/bi/base.css b/bi/base.css index 6fa6a9712..ea114d16d 100644 --- a/bi/base.css +++ b/bi/base.css @@ -1252,35 +1252,6 @@ li.CodeMirror-hint-active { /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -.bi-display-tree .ztree * { - color: #808080; -} -.bi-display-tree .ztree li span.button.switch.center_open { - background-image: url("/icon/tree-vertical-line-3.png"); -} -.bi-display-tree .ztree li span.button.switch.roots_open { - background-image: url("/icon/tree-vertical-line-2.png"); -} -.bi-display-tree .ztree li span.button.switch.bottom_open { - background-image: url("/icon/tree-vertical-line-4.png"); -} -.bi-display-tree .ztree li a, -.bi-display-tree .ztree li span { - cursor: default !important; -} -.bi-display-tree .ztree li a:hover { - text-decoration: none; -} -.bi-display-tree .ztree li a.curSelectedNode { - padding-top: 1px; - border: none; - background-color: inherit; - opacity: 1; - filter: alpha(opacity=100); -} -/****添加计算宽度的--运算符直接需要space****/ -/****** common color(常用颜色,可用于普遍场景) *****/ -/**** custom color(自定义颜色,用于特定场景) ****/ .bi-trigger .bi-trigger-icon-button { font-size: 16px; } diff --git a/bi/base.js b/bi/base.js index 715e5e1dd..41080cfba 100644 --- a/bi/base.js +++ b/bi/base.js @@ -30459,10 +30459,6 @@ BI.Table = BI.inherit(BI.Widget, { }]] })))); - //var scrollElement = isRight ? scrollBottomLeft.element : scrollBottomRight.element; - //var scrollTopElement = isRight ? scrollTopLeft.element : scrollTopRight.element; - //var otherElement = isRight ? scrollBottomRight.element : scrollBottomLeft.element; - this._initFreezeScroll(); BI.nextTick(function () { if (self.element.is(":visible")) { @@ -30479,268 +30475,19 @@ BI.Table = BI.inherit(BI.Widget, { _initFreezeScroll: function () { var self = this, o = this.options; scroll(this.scrollBottomRight.element, this.scrollTopRight.element, this.scrollBottomLeft.element); - scroll(this.scrollBottomLeft.element, this.scrollTopLeft.element, this.scrollBottomRight.element); + // scroll(this.scrollBottomLeft.element, this.scrollTopLeft.element, this.scrollBottomRight.element); function scroll(scrollElement, scrollTopElement, otherElement) { - var scrolling, scrollingX; - var fn = function (event, delta, deltaX, deltaY) { - var inf = self._getScrollOffsetAndDur(event); - if (deltaY < 0 || deltaY > 0) { - if (scrolling) { - scrollElement[0].scrollTop = scrolling; - } - scrolling = scrollElement[0].scrollTop - delta * inf.offset; - var stopPropagation = false; - var st = scrollElement[0].scrollTop; - scrollElement[0].scrollTop = scrolling; - if (scrollElement[0].scrollTop !== st) { - stopPropagation = true; - } - scrollElement[0].scrollTop = st; - self._animateScrollTo(scrollElement, scrollElement[0].scrollTop, scrolling, inf.dur, "linear", { - onStart: function () { - }, - onUpdate: function (top) { - otherElement[0].scrollTop = top; - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, top); - }, - onComplete: function () { - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrolling); - scrolling = null; - } - }); - - - //otherElement[0].scrollTop = scrollTop; - //scrollElement[0].scrollTop = scrollTop; - //self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrollTop); - if (stopPropagation === true) { - event.stopPropagation(); - return false; - } - return; - } - //if (deltaX < 0 || deltaX > 0) { - // if (scrollingX) { - // scrollElement[0].scrollLeft = scrollingX; - // } - // scrollingX = scrollElement[0].scrollLeft + delta * inf.offset; - // var stopPropagation = false; - // var sl = scrollElement[0].scrollLeft; - // scrollElement[0].scrollLeft = scrollingX; - // if (scrollElement[0].scrollLeft !== sl) { - // stopPropagation = true; - // } - // scrollElement[0].scrollLeft = sl; - // self._animateScrollTo(scrollElement, scrollElement[0].scrollLeft, scrollingX, inf.dur, "linear", { - // direction: "left", - // onStart: function () { - // }, - // onUpdate: function (left) { - // scrollTopElement[0].scrollLeft = left; - // self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, null, left); - // }, - // onComplete: function () { - // self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, null, scrollingX); - // scrollingX = null; - // } - // }); - // - // - // //otherElement[0].scrollTop = scrollTop; - // //scrollElement[0].scrollTop = scrollTop; - // //self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrollTop); - // if (stopPropagation === true) { - // event.stopPropagation(); - // return false; - // } - //} - }; - scrollElement.mousewheel(fn); - var scrollTop = 0, scrollLeft = 0; scrollElement.scroll(function (e) { - var change = false; - if (scrollElement.scrollTop() != scrollTop) { - var old = otherElement.scrollTop(); - otherElement.scrollTop(scrollElement.scrollTop()); - scrollTop = scrollElement.scrollTop(); - if (Math.abs(old - otherElement[0].scrollTop) > 0.1) { - e.stopPropagation(); - change = true; - } - } - if (scrollElement.scrollLeft() != scrollLeft) { - var old = scrollTopElement.scrollLeft(); - scrollTopElement.scrollLeft(scrollElement.scrollLeft()); - scrollLeft = scrollElement.scrollLeft(); - if (Math.abs(old - scrollTopElement[0].scrollLeft) > 0.1) { - e.stopPropagation(); - change = true; - } - } - // self.fireEvent(BI.Table.EVENT_TABLE_SCROLL); - if (change === true) { - e.stopPropagation(); - //return false; - } + otherElement.scrollTop(scrollElement.scrollTop()); + scrollTopElement.scrollLeft(scrollElement.scrollLeft()); + self.fireEvent(BI.Table.EVENT_TABLE_SCROLL); }); } }, - _animateScrollTo: function (el, from, to, duration, easing, op) { - var self = this; - var onStart = op.onStart, onComplete = op.onComplete, onUpdate = op.onUpdate; - var startTime = BI.getTime(), _delay, progress = 0, _request; - _cancelTween(); - _startTween(); - var diff = to - from; - el._stop = 0; - function _step() { - if (el._stop) { - return; - } - if (!progress) { - onStart.call(); - } - progress = BI.getTime() - startTime; - _tween(); - if (progress >= el.time) { - el.time = (progress > el.time) ? progress + _delay - (progress - el.time) : progress + _delay - 1; - if (el.time < progress + 1) { - el.time = progress + 1; - } - } - if (el.time < duration) { - el._id = _request(_step); - } else { - el[op.direction == 'left' ? "scrollLeft" : "scrollTop"](to); - onComplete.call(); - } - } - - function _tween() { - var top = to; - if (duration > 0) { - el.currVal = _ease(el.time, from, diff, duration, easing); - el[op.direction == 'left' ? "scrollLeft" : "scrollTop"](top = Math.round(el.currVal)); - } else { - el[op.direction == 'left' ? "scrollLeft" : "scrollTop"](to); - } - onUpdate(top); - } - - function _startTween() { - _delay = 1000 / 60; - el.time = progress + _delay; - _request = (!requestAnimationFrame()) ? function (f) { - _tween(); - return setTimeout(f, 0.01); - } : requestAnimationFrame(); - el._id = _request(_step); - } - - function requestAnimationFrame() { - return window.requestAnimationFrame || - window.webkitRequestAnimationFrame || - window.mozRequestAnimationFrame || - window.msRequestAnimationFrame || - window.oRequestAnimationFrame; - } - - function cancelAnimationFrame() { - return window.cancelAnimationFrame || - window.webkitCancelAnimationFrame || - window.mozCancelAnimationFrame || - window.msCancelAnimationFrame || - window.oCancelAnimationFrame || - window.cancelRequestAnimationFrame || - window.webkitCancelRequestAnimationFrame || - window.mozCancelRequestAnimationFrame || - window.msCancelRequestAnimationFrame || - window.oCancelRequestAnimationFrame - } - - function _cancelTween() { - if (el._id == null) { - return; - } - if (!cancelAnimationFrame()) { - clearTimeout(el._id); - } else { - cancelAnimationFrame()(el._id); - } - el._id = null; - } - - function _ease(t, b, c, d, type) { - switch (type) { - case "linear": - return c * t / d + b; - break; - case "mcsLinearOut": - t /= d; - t--; - return c * Math.sqrt(1 - t * t) + b; - break; - case "easeInOutSmooth": - t /= d / 2; - if (t < 1) { - return c / 2 * t * t + b; - } - t--; - return -c / 2 * (t * (t - 2) - 1) + b; - break; - case "easeInOutStrong": - t /= d / 2; - if (t < 1) { - return c / 2 * Math.pow(2, 10 * (t - 1)) + b; - } - t--; - return c / 2 * ( -Math.pow(2, -10 * t) + 2 ) + b; - break; - case "easeInOut": - case "mcsEaseInOut": - t /= d / 2; - if (t < 1) { - return c / 2 * t * t * t + b; - } - t -= 2; - return c / 2 * (t * t * t + 2) + b; - break; - case "easeOutSmooth": - t /= d; - t--; - return -c * (t * t * t * t - 1) + b; - break; - case "easeOutStrong": - return c * ( -Math.pow(2, -10 * t / d) + 1 ) + b; - break; - case "easeOut": - case "mcsEaseOut": - default: - var ts = (t /= d) * t, tc = ts * t; - return b + c * (0.499999999999997 * tc * ts + -2.5 * ts * ts + 5.5 * tc + -6.5 * ts + 4 * t); - } - } - }, - - _getScrollOffsetAndDur: function (event) { - var offset = 40, dur = 200; - if (event.originalEvent.wheelDelta) { - offset = Math.abs(event.originalEvent.wheelDelta); - } - if (event.deltaFactor < 2) { - offset = 3; - dur = 17; - } - return { - offset: offset, - dur: dur - }; - }, - resize: function () { - this._resize(); + this._resize && this._resize(); }, _createCells: function (items, columnSize, mergeCols, TDs, Ws, start, rowSize) { @@ -30992,17 +30739,7 @@ BI.Table = BI.inherit(BI.Widget, { items: [this.scrollBottomRight] }); - this._resize = function () { - if (self.element.is(":visible")) { - self.setColumnSize(o.columnSize); - } - }; - this._initNormalScroll(); - BI.ResizeDetector.addResizeListener(this, function () { - self._resize(); - self.fireEvent(BI.Table.EVENT_TABLE_RESIZE); - }); BI.nextTick(function () { if (self.element.is(":visible")) { self.fireEvent(BI.Table.EVENT_TABLE_AFTER_INIT); @@ -31012,66 +30749,8 @@ BI.Table = BI.inherit(BI.Widget, { _initNormalScroll: function () { var self = this; - var scrolling, scrollX; - this.scrollBottomRight.element.mousewheel(function (event, delta, deltaX, deltaY) { - var inf = self._getScrollOffsetAndDur(event); - if (deltaY < 0 || deltaY > 0) { - var ele = self.scrollBottomRight.element; - if (scrolling) { - ele[0].scrollTop = scrolling; - } - - scrolling = ele[0].scrollTop - delta * inf.offset; - var stopPropagation = false; - var st = ele[0].scrollTop; - ele[0].scrollTop = scrolling; - if (ele[0].scrollTop !== st) { - stopPropagation = true; - } - ele[0].scrollTop = st; - self._animateScrollTo(ele, ele[0].scrollTop, scrolling, inf.dur, "linear", { - onStart: function () { - }, - onUpdate: function (top) { - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, top); - }, - onComplete: function () { - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrolling); - scrolling = null; - } - }); - //var scrollTop = self.scrollBottomRight.element[0].scrollTop = self.scrollBottomRight.element[0].scrollTop - delta * offset; - //self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrollTop); - if (stopPropagation === true) { - event.stopPropagation(); - return false; - } - } - }); - var scrollTop = 0, scrollLeft = 0; this.scrollBottomRight.element.scroll(function (e) { - var change = false; - var scrollElement = self.scrollBottomRight.element; - if (scrollElement.scrollTop() != scrollTop) { - if (Math.abs(scrollElement.scrollTop() - scrollTop) > 0.1) { - e.stopPropagation(); - change = true; - } - scrollTop = scrollElement.scrollTop(); - } - if (scrollElement.scrollLeft() != scrollLeft) { - if (Math.abs(scrollElement.scrollLeft() - scrollLeft) > 0.1) { - e.stopPropagation(); - change = true; - } - scrollLeft = scrollElement.scrollLeft(); - } self.fireEvent(BI.Table.EVENT_TABLE_SCROLL); - if (change === true) { - e.stopPropagation(); - //return false; - } - return false; }); }, @@ -31185,7 +30864,7 @@ BI.Table = BI.inherit(BI.Widget, { } BI.each(colgroupTds, function (i, colgroup) { var width = colgroup.attr("width") | 0; - if (width !== sizes[i]) { + if (sizes[i] !== "" && width !== sizes[i]) { var w = self._calculateWidth(sizes[i]); colgroup.attr("width", w).css("width", w); BI.each(bodyTds, function (j, items) { @@ -31292,7 +30971,7 @@ BI.Table = BI.inherit(BI.Widget, { } else { BI.each(this.colgroupTds, function (i, colgroup) { var width = colgroup.attr("width") | 0; - if (width !== o.columnSize[i]) { + if (o.columnSize[i] !== "" && width !== o.columnSize[i]) { var w = self._calculateWidth(o.columnSize[i]); colgroup.attr("width", w).css("width", w); BI.each(self.bodyTds, function (j, items) { @@ -31499,7 +31178,9 @@ BI.Table = BI.inherit(BI.Widget, { if (w > 1.05) { w += o.columnSize.length; } - this.tableContainer.element.width(w); + if (w > 1.05) { + this.tableContainer.element.width(w); + } } }, @@ -32024,14 +31705,6 @@ BI.Table = BI.inherit(BI.Widget, { } else { this._createNormalTable(); } - }, - - empty: function () { - BI.Table.superclass.empty.apply(this, arguments); - }, - - destroy: function () { - BI.Table.superclass.destroy.apply(this, arguments); } }) ; diff --git a/docs/base.css b/docs/base.css index 6fa6a9712..ea114d16d 100644 --- a/docs/base.css +++ b/docs/base.css @@ -1252,35 +1252,6 @@ li.CodeMirror-hint-active { /****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -.bi-display-tree .ztree * { - color: #808080; -} -.bi-display-tree .ztree li span.button.switch.center_open { - background-image: url("/icon/tree-vertical-line-3.png"); -} -.bi-display-tree .ztree li span.button.switch.roots_open { - background-image: url("/icon/tree-vertical-line-2.png"); -} -.bi-display-tree .ztree li span.button.switch.bottom_open { - background-image: url("/icon/tree-vertical-line-4.png"); -} -.bi-display-tree .ztree li a, -.bi-display-tree .ztree li span { - cursor: default !important; -} -.bi-display-tree .ztree li a:hover { - text-decoration: none; -} -.bi-display-tree .ztree li a.curSelectedNode { - padding-top: 1px; - border: none; - background-color: inherit; - opacity: 1; - filter: alpha(opacity=100); -} -/****添加计算宽度的--运算符直接需要space****/ -/****** common color(常用颜色,可用于普遍场景) *****/ -/**** custom color(自定义颜色,用于特定场景) ****/ .bi-trigger .bi-trigger-icon-button { font-size: 16px; } diff --git a/docs/base.js b/docs/base.js index 715e5e1dd..41080cfba 100644 --- a/docs/base.js +++ b/docs/base.js @@ -30459,10 +30459,6 @@ BI.Table = BI.inherit(BI.Widget, { }]] })))); - //var scrollElement = isRight ? scrollBottomLeft.element : scrollBottomRight.element; - //var scrollTopElement = isRight ? scrollTopLeft.element : scrollTopRight.element; - //var otherElement = isRight ? scrollBottomRight.element : scrollBottomLeft.element; - this._initFreezeScroll(); BI.nextTick(function () { if (self.element.is(":visible")) { @@ -30479,268 +30475,19 @@ BI.Table = BI.inherit(BI.Widget, { _initFreezeScroll: function () { var self = this, o = this.options; scroll(this.scrollBottomRight.element, this.scrollTopRight.element, this.scrollBottomLeft.element); - scroll(this.scrollBottomLeft.element, this.scrollTopLeft.element, this.scrollBottomRight.element); + // scroll(this.scrollBottomLeft.element, this.scrollTopLeft.element, this.scrollBottomRight.element); function scroll(scrollElement, scrollTopElement, otherElement) { - var scrolling, scrollingX; - var fn = function (event, delta, deltaX, deltaY) { - var inf = self._getScrollOffsetAndDur(event); - if (deltaY < 0 || deltaY > 0) { - if (scrolling) { - scrollElement[0].scrollTop = scrolling; - } - scrolling = scrollElement[0].scrollTop - delta * inf.offset; - var stopPropagation = false; - var st = scrollElement[0].scrollTop; - scrollElement[0].scrollTop = scrolling; - if (scrollElement[0].scrollTop !== st) { - stopPropagation = true; - } - scrollElement[0].scrollTop = st; - self._animateScrollTo(scrollElement, scrollElement[0].scrollTop, scrolling, inf.dur, "linear", { - onStart: function () { - }, - onUpdate: function (top) { - otherElement[0].scrollTop = top; - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, top); - }, - onComplete: function () { - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrolling); - scrolling = null; - } - }); - - - //otherElement[0].scrollTop = scrollTop; - //scrollElement[0].scrollTop = scrollTop; - //self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrollTop); - if (stopPropagation === true) { - event.stopPropagation(); - return false; - } - return; - } - //if (deltaX < 0 || deltaX > 0) { - // if (scrollingX) { - // scrollElement[0].scrollLeft = scrollingX; - // } - // scrollingX = scrollElement[0].scrollLeft + delta * inf.offset; - // var stopPropagation = false; - // var sl = scrollElement[0].scrollLeft; - // scrollElement[0].scrollLeft = scrollingX; - // if (scrollElement[0].scrollLeft !== sl) { - // stopPropagation = true; - // } - // scrollElement[0].scrollLeft = sl; - // self._animateScrollTo(scrollElement, scrollElement[0].scrollLeft, scrollingX, inf.dur, "linear", { - // direction: "left", - // onStart: function () { - // }, - // onUpdate: function (left) { - // scrollTopElement[0].scrollLeft = left; - // self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, null, left); - // }, - // onComplete: function () { - // self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, null, scrollingX); - // scrollingX = null; - // } - // }); - // - // - // //otherElement[0].scrollTop = scrollTop; - // //scrollElement[0].scrollTop = scrollTop; - // //self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrollTop); - // if (stopPropagation === true) { - // event.stopPropagation(); - // return false; - // } - //} - }; - scrollElement.mousewheel(fn); - var scrollTop = 0, scrollLeft = 0; scrollElement.scroll(function (e) { - var change = false; - if (scrollElement.scrollTop() != scrollTop) { - var old = otherElement.scrollTop(); - otherElement.scrollTop(scrollElement.scrollTop()); - scrollTop = scrollElement.scrollTop(); - if (Math.abs(old - otherElement[0].scrollTop) > 0.1) { - e.stopPropagation(); - change = true; - } - } - if (scrollElement.scrollLeft() != scrollLeft) { - var old = scrollTopElement.scrollLeft(); - scrollTopElement.scrollLeft(scrollElement.scrollLeft()); - scrollLeft = scrollElement.scrollLeft(); - if (Math.abs(old - scrollTopElement[0].scrollLeft) > 0.1) { - e.stopPropagation(); - change = true; - } - } - // self.fireEvent(BI.Table.EVENT_TABLE_SCROLL); - if (change === true) { - e.stopPropagation(); - //return false; - } + otherElement.scrollTop(scrollElement.scrollTop()); + scrollTopElement.scrollLeft(scrollElement.scrollLeft()); + self.fireEvent(BI.Table.EVENT_TABLE_SCROLL); }); } }, - _animateScrollTo: function (el, from, to, duration, easing, op) { - var self = this; - var onStart = op.onStart, onComplete = op.onComplete, onUpdate = op.onUpdate; - var startTime = BI.getTime(), _delay, progress = 0, _request; - _cancelTween(); - _startTween(); - var diff = to - from; - el._stop = 0; - function _step() { - if (el._stop) { - return; - } - if (!progress) { - onStart.call(); - } - progress = BI.getTime() - startTime; - _tween(); - if (progress >= el.time) { - el.time = (progress > el.time) ? progress + _delay - (progress - el.time) : progress + _delay - 1; - if (el.time < progress + 1) { - el.time = progress + 1; - } - } - if (el.time < duration) { - el._id = _request(_step); - } else { - el[op.direction == 'left' ? "scrollLeft" : "scrollTop"](to); - onComplete.call(); - } - } - - function _tween() { - var top = to; - if (duration > 0) { - el.currVal = _ease(el.time, from, diff, duration, easing); - el[op.direction == 'left' ? "scrollLeft" : "scrollTop"](top = Math.round(el.currVal)); - } else { - el[op.direction == 'left' ? "scrollLeft" : "scrollTop"](to); - } - onUpdate(top); - } - - function _startTween() { - _delay = 1000 / 60; - el.time = progress + _delay; - _request = (!requestAnimationFrame()) ? function (f) { - _tween(); - return setTimeout(f, 0.01); - } : requestAnimationFrame(); - el._id = _request(_step); - } - - function requestAnimationFrame() { - return window.requestAnimationFrame || - window.webkitRequestAnimationFrame || - window.mozRequestAnimationFrame || - window.msRequestAnimationFrame || - window.oRequestAnimationFrame; - } - - function cancelAnimationFrame() { - return window.cancelAnimationFrame || - window.webkitCancelAnimationFrame || - window.mozCancelAnimationFrame || - window.msCancelAnimationFrame || - window.oCancelAnimationFrame || - window.cancelRequestAnimationFrame || - window.webkitCancelRequestAnimationFrame || - window.mozCancelRequestAnimationFrame || - window.msCancelRequestAnimationFrame || - window.oCancelRequestAnimationFrame - } - - function _cancelTween() { - if (el._id == null) { - return; - } - if (!cancelAnimationFrame()) { - clearTimeout(el._id); - } else { - cancelAnimationFrame()(el._id); - } - el._id = null; - } - - function _ease(t, b, c, d, type) { - switch (type) { - case "linear": - return c * t / d + b; - break; - case "mcsLinearOut": - t /= d; - t--; - return c * Math.sqrt(1 - t * t) + b; - break; - case "easeInOutSmooth": - t /= d / 2; - if (t < 1) { - return c / 2 * t * t + b; - } - t--; - return -c / 2 * (t * (t - 2) - 1) + b; - break; - case "easeInOutStrong": - t /= d / 2; - if (t < 1) { - return c / 2 * Math.pow(2, 10 * (t - 1)) + b; - } - t--; - return c / 2 * ( -Math.pow(2, -10 * t) + 2 ) + b; - break; - case "easeInOut": - case "mcsEaseInOut": - t /= d / 2; - if (t < 1) { - return c / 2 * t * t * t + b; - } - t -= 2; - return c / 2 * (t * t * t + 2) + b; - break; - case "easeOutSmooth": - t /= d; - t--; - return -c * (t * t * t * t - 1) + b; - break; - case "easeOutStrong": - return c * ( -Math.pow(2, -10 * t / d) + 1 ) + b; - break; - case "easeOut": - case "mcsEaseOut": - default: - var ts = (t /= d) * t, tc = ts * t; - return b + c * (0.499999999999997 * tc * ts + -2.5 * ts * ts + 5.5 * tc + -6.5 * ts + 4 * t); - } - } - }, - - _getScrollOffsetAndDur: function (event) { - var offset = 40, dur = 200; - if (event.originalEvent.wheelDelta) { - offset = Math.abs(event.originalEvent.wheelDelta); - } - if (event.deltaFactor < 2) { - offset = 3; - dur = 17; - } - return { - offset: offset, - dur: dur - }; - }, - resize: function () { - this._resize(); + this._resize && this._resize(); }, _createCells: function (items, columnSize, mergeCols, TDs, Ws, start, rowSize) { @@ -30992,17 +30739,7 @@ BI.Table = BI.inherit(BI.Widget, { items: [this.scrollBottomRight] }); - this._resize = function () { - if (self.element.is(":visible")) { - self.setColumnSize(o.columnSize); - } - }; - this._initNormalScroll(); - BI.ResizeDetector.addResizeListener(this, function () { - self._resize(); - self.fireEvent(BI.Table.EVENT_TABLE_RESIZE); - }); BI.nextTick(function () { if (self.element.is(":visible")) { self.fireEvent(BI.Table.EVENT_TABLE_AFTER_INIT); @@ -31012,66 +30749,8 @@ BI.Table = BI.inherit(BI.Widget, { _initNormalScroll: function () { var self = this; - var scrolling, scrollX; - this.scrollBottomRight.element.mousewheel(function (event, delta, deltaX, deltaY) { - var inf = self._getScrollOffsetAndDur(event); - if (deltaY < 0 || deltaY > 0) { - var ele = self.scrollBottomRight.element; - if (scrolling) { - ele[0].scrollTop = scrolling; - } - - scrolling = ele[0].scrollTop - delta * inf.offset; - var stopPropagation = false; - var st = ele[0].scrollTop; - ele[0].scrollTop = scrolling; - if (ele[0].scrollTop !== st) { - stopPropagation = true; - } - ele[0].scrollTop = st; - self._animateScrollTo(ele, ele[0].scrollTop, scrolling, inf.dur, "linear", { - onStart: function () { - }, - onUpdate: function (top) { - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, top); - }, - onComplete: function () { - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrolling); - scrolling = null; - } - }); - //var scrollTop = self.scrollBottomRight.element[0].scrollTop = self.scrollBottomRight.element[0].scrollTop - delta * offset; - //self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrollTop); - if (stopPropagation === true) { - event.stopPropagation(); - return false; - } - } - }); - var scrollTop = 0, scrollLeft = 0; this.scrollBottomRight.element.scroll(function (e) { - var change = false; - var scrollElement = self.scrollBottomRight.element; - if (scrollElement.scrollTop() != scrollTop) { - if (Math.abs(scrollElement.scrollTop() - scrollTop) > 0.1) { - e.stopPropagation(); - change = true; - } - scrollTop = scrollElement.scrollTop(); - } - if (scrollElement.scrollLeft() != scrollLeft) { - if (Math.abs(scrollElement.scrollLeft() - scrollLeft) > 0.1) { - e.stopPropagation(); - change = true; - } - scrollLeft = scrollElement.scrollLeft(); - } self.fireEvent(BI.Table.EVENT_TABLE_SCROLL); - if (change === true) { - e.stopPropagation(); - //return false; - } - return false; }); }, @@ -31185,7 +30864,7 @@ BI.Table = BI.inherit(BI.Widget, { } BI.each(colgroupTds, function (i, colgroup) { var width = colgroup.attr("width") | 0; - if (width !== sizes[i]) { + if (sizes[i] !== "" && width !== sizes[i]) { var w = self._calculateWidth(sizes[i]); colgroup.attr("width", w).css("width", w); BI.each(bodyTds, function (j, items) { @@ -31292,7 +30971,7 @@ BI.Table = BI.inherit(BI.Widget, { } else { BI.each(this.colgroupTds, function (i, colgroup) { var width = colgroup.attr("width") | 0; - if (width !== o.columnSize[i]) { + if (o.columnSize[i] !== "" && width !== o.columnSize[i]) { var w = self._calculateWidth(o.columnSize[i]); colgroup.attr("width", w).css("width", w); BI.each(self.bodyTds, function (j, items) { @@ -31499,7 +31178,9 @@ BI.Table = BI.inherit(BI.Widget, { if (w > 1.05) { w += o.columnSize.length; } - this.tableContainer.element.width(w); + if (w > 1.05) { + this.tableContainer.element.width(w); + } } }, @@ -32024,14 +31705,6 @@ BI.Table = BI.inherit(BI.Widget, { } else { this._createNormalTable(); } - }, - - empty: function () { - BI.Table.superclass.empty.apply(this, arguments); - }, - - destroy: function () { - BI.Table.superclass.destroy.apply(this, arguments); } }) ; diff --git a/src/base/table/table.js b/src/base/table/table.js index ed5530110..d112163b8 100644 --- a/src/base/table/table.js +++ b/src/base/table/table.js @@ -348,10 +348,6 @@ BI.Table = BI.inherit(BI.Widget, { }]] })))); - //var scrollElement = isRight ? scrollBottomLeft.element : scrollBottomRight.element; - //var scrollTopElement = isRight ? scrollTopLeft.element : scrollTopRight.element; - //var otherElement = isRight ? scrollBottomRight.element : scrollBottomLeft.element; - this._initFreezeScroll(); BI.nextTick(function () { if (self.element.is(":visible")) { @@ -368,268 +364,19 @@ BI.Table = BI.inherit(BI.Widget, { _initFreezeScroll: function () { var self = this, o = this.options; scroll(this.scrollBottomRight.element, this.scrollTopRight.element, this.scrollBottomLeft.element); - scroll(this.scrollBottomLeft.element, this.scrollTopLeft.element, this.scrollBottomRight.element); + // scroll(this.scrollBottomLeft.element, this.scrollTopLeft.element, this.scrollBottomRight.element); function scroll(scrollElement, scrollTopElement, otherElement) { - var scrolling, scrollingX; - var fn = function (event, delta, deltaX, deltaY) { - var inf = self._getScrollOffsetAndDur(event); - if (deltaY < 0 || deltaY > 0) { - if (scrolling) { - scrollElement[0].scrollTop = scrolling; - } - scrolling = scrollElement[0].scrollTop - delta * inf.offset; - var stopPropagation = false; - var st = scrollElement[0].scrollTop; - scrollElement[0].scrollTop = scrolling; - if (scrollElement[0].scrollTop !== st) { - stopPropagation = true; - } - scrollElement[0].scrollTop = st; - self._animateScrollTo(scrollElement, scrollElement[0].scrollTop, scrolling, inf.dur, "linear", { - onStart: function () { - }, - onUpdate: function (top) { - otherElement[0].scrollTop = top; - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, top); - }, - onComplete: function () { - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrolling); - scrolling = null; - } - }); - - - //otherElement[0].scrollTop = scrollTop; - //scrollElement[0].scrollTop = scrollTop; - //self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrollTop); - if (stopPropagation === true) { - event.stopPropagation(); - return false; - } - return; - } - //if (deltaX < 0 || deltaX > 0) { - // if (scrollingX) { - // scrollElement[0].scrollLeft = scrollingX; - // } - // scrollingX = scrollElement[0].scrollLeft + delta * inf.offset; - // var stopPropagation = false; - // var sl = scrollElement[0].scrollLeft; - // scrollElement[0].scrollLeft = scrollingX; - // if (scrollElement[0].scrollLeft !== sl) { - // stopPropagation = true; - // } - // scrollElement[0].scrollLeft = sl; - // self._animateScrollTo(scrollElement, scrollElement[0].scrollLeft, scrollingX, inf.dur, "linear", { - // direction: "left", - // onStart: function () { - // }, - // onUpdate: function (left) { - // scrollTopElement[0].scrollLeft = left; - // self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, null, left); - // }, - // onComplete: function () { - // self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, null, scrollingX); - // scrollingX = null; - // } - // }); - // - // - // //otherElement[0].scrollTop = scrollTop; - // //scrollElement[0].scrollTop = scrollTop; - // //self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrollTop); - // if (stopPropagation === true) { - // event.stopPropagation(); - // return false; - // } - //} - }; - scrollElement.mousewheel(fn); - var scrollTop = 0, scrollLeft = 0; scrollElement.scroll(function (e) { - var change = false; - if (scrollElement.scrollTop() != scrollTop) { - var old = otherElement.scrollTop(); - otherElement.scrollTop(scrollElement.scrollTop()); - scrollTop = scrollElement.scrollTop(); - if (Math.abs(old - otherElement[0].scrollTop) > 0.1) { - e.stopPropagation(); - change = true; - } - } - if (scrollElement.scrollLeft() != scrollLeft) { - var old = scrollTopElement.scrollLeft(); - scrollTopElement.scrollLeft(scrollElement.scrollLeft()); - scrollLeft = scrollElement.scrollLeft(); - if (Math.abs(old - scrollTopElement[0].scrollLeft) > 0.1) { - e.stopPropagation(); - change = true; - } - } - // self.fireEvent(BI.Table.EVENT_TABLE_SCROLL); - if (change === true) { - e.stopPropagation(); - //return false; - } + otherElement.scrollTop(scrollElement.scrollTop()); + scrollTopElement.scrollLeft(scrollElement.scrollLeft()); + self.fireEvent(BI.Table.EVENT_TABLE_SCROLL); }); } }, - _animateScrollTo: function (el, from, to, duration, easing, op) { - var self = this; - var onStart = op.onStart, onComplete = op.onComplete, onUpdate = op.onUpdate; - var startTime = BI.getTime(), _delay, progress = 0, _request; - _cancelTween(); - _startTween(); - var diff = to - from; - el._stop = 0; - function _step() { - if (el._stop) { - return; - } - if (!progress) { - onStart.call(); - } - progress = BI.getTime() - startTime; - _tween(); - if (progress >= el.time) { - el.time = (progress > el.time) ? progress + _delay - (progress - el.time) : progress + _delay - 1; - if (el.time < progress + 1) { - el.time = progress + 1; - } - } - if (el.time < duration) { - el._id = _request(_step); - } else { - el[op.direction == 'left' ? "scrollLeft" : "scrollTop"](to); - onComplete.call(); - } - } - - function _tween() { - var top = to; - if (duration > 0) { - el.currVal = _ease(el.time, from, diff, duration, easing); - el[op.direction == 'left' ? "scrollLeft" : "scrollTop"](top = Math.round(el.currVal)); - } else { - el[op.direction == 'left' ? "scrollLeft" : "scrollTop"](to); - } - onUpdate(top); - } - - function _startTween() { - _delay = 1000 / 60; - el.time = progress + _delay; - _request = (!requestAnimationFrame()) ? function (f) { - _tween(); - return setTimeout(f, 0.01); - } : requestAnimationFrame(); - el._id = _request(_step); - } - - function requestAnimationFrame() { - return window.requestAnimationFrame || - window.webkitRequestAnimationFrame || - window.mozRequestAnimationFrame || - window.msRequestAnimationFrame || - window.oRequestAnimationFrame; - } - - function cancelAnimationFrame() { - return window.cancelAnimationFrame || - window.webkitCancelAnimationFrame || - window.mozCancelAnimationFrame || - window.msCancelAnimationFrame || - window.oCancelAnimationFrame || - window.cancelRequestAnimationFrame || - window.webkitCancelRequestAnimationFrame || - window.mozCancelRequestAnimationFrame || - window.msCancelRequestAnimationFrame || - window.oCancelRequestAnimationFrame - } - - function _cancelTween() { - if (el._id == null) { - return; - } - if (!cancelAnimationFrame()) { - clearTimeout(el._id); - } else { - cancelAnimationFrame()(el._id); - } - el._id = null; - } - - function _ease(t, b, c, d, type) { - switch (type) { - case "linear": - return c * t / d + b; - break; - case "mcsLinearOut": - t /= d; - t--; - return c * Math.sqrt(1 - t * t) + b; - break; - case "easeInOutSmooth": - t /= d / 2; - if (t < 1) { - return c / 2 * t * t + b; - } - t--; - return -c / 2 * (t * (t - 2) - 1) + b; - break; - case "easeInOutStrong": - t /= d / 2; - if (t < 1) { - return c / 2 * Math.pow(2, 10 * (t - 1)) + b; - } - t--; - return c / 2 * ( -Math.pow(2, -10 * t) + 2 ) + b; - break; - case "easeInOut": - case "mcsEaseInOut": - t /= d / 2; - if (t < 1) { - return c / 2 * t * t * t + b; - } - t -= 2; - return c / 2 * (t * t * t + 2) + b; - break; - case "easeOutSmooth": - t /= d; - t--; - return -c * (t * t * t * t - 1) + b; - break; - case "easeOutStrong": - return c * ( -Math.pow(2, -10 * t / d) + 1 ) + b; - break; - case "easeOut": - case "mcsEaseOut": - default: - var ts = (t /= d) * t, tc = ts * t; - return b + c * (0.499999999999997 * tc * ts + -2.5 * ts * ts + 5.5 * tc + -6.5 * ts + 4 * t); - } - } - }, - - _getScrollOffsetAndDur: function (event) { - var offset = 40, dur = 200; - if (event.originalEvent.wheelDelta) { - offset = Math.abs(event.originalEvent.wheelDelta); - } - if (event.deltaFactor < 2) { - offset = 3; - dur = 17; - } - return { - offset: offset, - dur: dur - }; - }, - resize: function () { - this._resize(); + this._resize && this._resize(); }, _createCells: function (items, columnSize, mergeCols, TDs, Ws, start, rowSize) { @@ -881,17 +628,7 @@ BI.Table = BI.inherit(BI.Widget, { items: [this.scrollBottomRight] }); - this._resize = function () { - if (self.element.is(":visible")) { - self.setColumnSize(o.columnSize); - } - }; - this._initNormalScroll(); - BI.ResizeDetector.addResizeListener(this, function () { - self._resize(); - self.fireEvent(BI.Table.EVENT_TABLE_RESIZE); - }); BI.nextTick(function () { if (self.element.is(":visible")) { self.fireEvent(BI.Table.EVENT_TABLE_AFTER_INIT); @@ -901,66 +638,8 @@ BI.Table = BI.inherit(BI.Widget, { _initNormalScroll: function () { var self = this; - var scrolling, scrollX; - this.scrollBottomRight.element.mousewheel(function (event, delta, deltaX, deltaY) { - var inf = self._getScrollOffsetAndDur(event); - if (deltaY < 0 || deltaY > 0) { - var ele = self.scrollBottomRight.element; - if (scrolling) { - ele[0].scrollTop = scrolling; - } - - scrolling = ele[0].scrollTop - delta * inf.offset; - var stopPropagation = false; - var st = ele[0].scrollTop; - ele[0].scrollTop = scrolling; - if (ele[0].scrollTop !== st) { - stopPropagation = true; - } - ele[0].scrollTop = st; - self._animateScrollTo(ele, ele[0].scrollTop, scrolling, inf.dur, "linear", { - onStart: function () { - }, - onUpdate: function (top) { - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, top); - }, - onComplete: function () { - self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrolling); - scrolling = null; - } - }); - //var scrollTop = self.scrollBottomRight.element[0].scrollTop = self.scrollBottomRight.element[0].scrollTop - delta * offset; - //self.fireEvent(BI.Table.EVENT_TABLE_SCROLL, scrollTop); - if (stopPropagation === true) { - event.stopPropagation(); - return false; - } - } - }); - var scrollTop = 0, scrollLeft = 0; this.scrollBottomRight.element.scroll(function (e) { - var change = false; - var scrollElement = self.scrollBottomRight.element; - if (scrollElement.scrollTop() != scrollTop) { - if (Math.abs(scrollElement.scrollTop() - scrollTop) > 0.1) { - e.stopPropagation(); - change = true; - } - scrollTop = scrollElement.scrollTop(); - } - if (scrollElement.scrollLeft() != scrollLeft) { - if (Math.abs(scrollElement.scrollLeft() - scrollLeft) > 0.1) { - e.stopPropagation(); - change = true; - } - scrollLeft = scrollElement.scrollLeft(); - } self.fireEvent(BI.Table.EVENT_TABLE_SCROLL); - if (change === true) { - e.stopPropagation(); - //return false; - } - return false; }); }, @@ -1074,7 +753,7 @@ BI.Table = BI.inherit(BI.Widget, { } BI.each(colgroupTds, function (i, colgroup) { var width = colgroup.attr("width") | 0; - if (width !== sizes[i]) { + if (sizes[i] !== "" && width !== sizes[i]) { var w = self._calculateWidth(sizes[i]); colgroup.attr("width", w).css("width", w); BI.each(bodyTds, function (j, items) { @@ -1181,7 +860,7 @@ BI.Table = BI.inherit(BI.Widget, { } else { BI.each(this.colgroupTds, function (i, colgroup) { var width = colgroup.attr("width") | 0; - if (width !== o.columnSize[i]) { + if (o.columnSize[i] !== "" && width !== o.columnSize[i]) { var w = self._calculateWidth(o.columnSize[i]); colgroup.attr("width", w).css("width", w); BI.each(self.bodyTds, function (j, items) { @@ -1388,7 +1067,9 @@ BI.Table = BI.inherit(BI.Widget, { if (w > 1.05) { w += o.columnSize.length; } - this.tableContainer.element.width(w); + if (w > 1.05) { + this.tableContainer.element.width(w); + } } }, @@ -1913,14 +1594,6 @@ BI.Table = BI.inherit(BI.Widget, { } else { this._createNormalTable(); } - }, - - empty: function () { - BI.Table.superclass.empty.apply(this, arguments); - }, - - destroy: function () { - BI.Table.superclass.destroy.apply(this, arguments); } }) ; diff --git a/src/css/base/tree/display.tree.css b/src/css/base/tree/display.tree.css deleted file mode 100644 index 6f1815af3..000000000 --- a/src/css/base/tree/display.tree.css +++ /dev/null @@ -1,29 +0,0 @@ -/****添加计算宽度的--运算符直接需要space****/ -/****** common color(常用颜色,可用于普遍场景) *****/ -/**** custom color(自定义颜色,用于特定场景) ****/ -.bi-display-tree .ztree * { - color: #808080; -} -.bi-display-tree .ztree li span.button.switch.center_open { - background-image: url("/icon/tree-vertical-line-3.png"); -} -.bi-display-tree .ztree li span.button.switch.roots_open { - background-image: url("/icon/tree-vertical-line-2.png"); -} -.bi-display-tree .ztree li span.button.switch.bottom_open { - background-image: url("/icon/tree-vertical-line-4.png"); -} -.bi-display-tree .ztree li a, -.bi-display-tree .ztree li span { - cursor: default !important; -} -.bi-display-tree .ztree li a:hover { - text-decoration: none; -} -.bi-display-tree .ztree li a.curSelectedNode { - padding-top: 1px; - border: none; - background-color: inherit; - opacity: 1; - filter: alpha(opacity=100); -} From ceb951501b033313114cf06ce69f88ff2860c17a Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 3 May 2017 15:23:53 +0800 Subject: [PATCH 23/24] add --- bi/core.js | 4 ++-- docs/core.js | 4 ++-- src/config.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bi/core.js b/bi/core.js index fbe93acd9..be8b58fb8 100644 --- a/bi/core.js +++ b/bi/core.js @@ -17812,7 +17812,7 @@ $(function () { //注册控件 BI.Plugin.registerWidget("bi.grid_table", function (ob) { //非chrome下滚动条滑动效果不好,禁止掉 - if (!(BI.isChrome() && BI.isWindows())) { + if (!(BI.isChrome() && BI.isWindows() && !BI.isEdge())) { return BI.extend(ob, {type: "bi.quick_grid_table"}); } else { return ob; @@ -17820,7 +17820,7 @@ $(function () { }); BI.Plugin.registerWidget("bi.collection_table", function (ob) { //非chrome下滚动条滑动效果不好,禁止掉 - if (!(BI.isChrome() && BI.isWindows())) { + if (!(BI.isChrome() && BI.isWindows() && !BI.isEdge())) { return BI.extend(ob, {type: "bi.quick_collection_table"}); } else { return ob; diff --git a/docs/core.js b/docs/core.js index 7457258ad..5801660c2 100644 --- a/docs/core.js +++ b/docs/core.js @@ -28954,7 +28954,7 @@ $(function () { //注册控件 BI.Plugin.registerWidget("bi.grid_table", function (ob) { //非chrome下滚动条滑动效果不好,禁止掉 - if (!(BI.isChrome() && BI.isWindows())) { + if (!(BI.isChrome() && BI.isWindows() && !BI.isEdge())) { return BI.extend(ob, {type: "bi.quick_grid_table"}); } else { return ob; @@ -28962,7 +28962,7 @@ $(function () { }); BI.Plugin.registerWidget("bi.collection_table", function (ob) { //非chrome下滚动条滑动效果不好,禁止掉 - if (!(BI.isChrome() && BI.isWindows())) { + if (!(BI.isChrome() && BI.isWindows() && !BI.isEdge())) { return BI.extend(ob, {type: "bi.quick_collection_table"}); } else { return ob; diff --git a/src/config.js b/src/config.js index 0e0a36110..fa06102d0 100644 --- a/src/config.js +++ b/src/config.js @@ -58,7 +58,7 @@ $(function () { //注册控件 BI.Plugin.registerWidget("bi.grid_table", function (ob) { //非chrome下滚动条滑动效果不好,禁止掉 - if (!(BI.isChrome() && BI.isWindows())) { + if (!(BI.isChrome() && BI.isWindows() && !BI.isEdge())) { return BI.extend(ob, {type: "bi.quick_grid_table"}); } else { return ob; @@ -66,7 +66,7 @@ $(function () { }); BI.Plugin.registerWidget("bi.collection_table", function (ob) { //非chrome下滚动条滑动效果不好,禁止掉 - if (!(BI.isChrome() && BI.isWindows())) { + if (!(BI.isChrome() && BI.isWindows() && !BI.isEdge())) { return BI.extend(ob, {type: "bi.quick_collection_table"}); } else { return ob; From baf92636fd79464e733eb3a880ca98b3369fd5a9 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 4 May 2017 14:17:43 +0800 Subject: [PATCH 24/24] =?UTF-8?q?=E5=85=A8=E5=B1=80=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/base.css | 2 +- bi/case.js | 21 +- bi/core.css | 86 +- docs/base.css | 2 +- docs/case.js | 21 +- docs/core.css | 86 +- docs/resource.css | 3827 +---------------- src/case/button/item.multiselect.js | 21 +- src/css/base/single/button/button.css | 2 +- src/css/core/utils/common.css | 86 +- src/css/resource/font.css | 3827 +---------------- src/less/base/table/table.grid.scrollbar.less | 33 +- src/less/core/utils/common.less | 82 +- src/less/lib/colors.less | 2 - src/less/lib/constant.less | 19 +- src/less/resource/font.less | 297 -- src/less/visual.less | 6 + 17 files changed, 422 insertions(+), 7998 deletions(-) diff --git a/bi/base.css b/bi/base.css index ea114d16d..bb03359ab 100644 --- a/bi/base.css +++ b/bi/base.css @@ -757,7 +757,7 @@ li.CodeMirror-hint-active { .bi-button.button-common.disabled, .bi-button.button-success.disabled, .bi-button.button-warning.disabled { - background: #c4c6c6 !important; + background: #cccccc !important; border-color: #c4c6c6 !important; } .bi-button.button-common.disabled, diff --git a/bi/case.js b/bi/case.js index 8ec3cc70b..a17351e18 100644 --- a/bi/case.js +++ b/bi/case.js @@ -151,7 +151,7 @@ BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);/** * @type {*|void|Object} */ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { - _defaultConfig: function() { + _defaultConfig: function () { return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), { extraCls: "bi-multi-select-item", height: 25, @@ -160,7 +160,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { } }) }, - _init : function() { + _init: function () { BI.MultiSelectItem.superclass._init.apply(this, arguments); var self = this, o = this.options; this.checkbox = BI.createWidget({ @@ -180,8 +180,8 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { value: o.value, py: o.py }); - this.checkbox.on(BI.Controller.EVENT_CHANGE, function(type){ - if(type === BI.Events.CLICK) { + this.checkbox.on(BI.Controller.EVENT_CHANGE, function (type) { + if (type === BI.Events.CLICK) { self.setSelected(self.isSelected()); } }); @@ -193,7 +193,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { type: "bi.center_adapt", items: [this.checkbox], width: 36 - } ,this.text) + }, this.text) })))); }, @@ -202,20 +202,23 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { this.checkbox.setEnable(v); }, - doRedMark: function(){ + doRedMark: function () { this.text.doRedMark.apply(this.text, arguments); }, - unRedMark: function(){ + unRedMark: function () { this.text.unRedMark.apply(this.text, arguments); }, - doClick: function(){ + doClick: function () { BI.MultiSelectItem.superclass.doClick.apply(this, arguments); this.checkbox.setSelected(this.isSelected()); + if (this.isValid()) { + this.fireEvent(BI.MultiSelectItem.EVENT_CHANGE, this.getValue(), this); + } }, - setSelected: function(v){ + setSelected: function (v) { BI.MultiSelectItem.superclass.setSelected.apply(this, arguments); this.checkbox.setSelected(v); } diff --git a/bi/core.css b/bi/core.css index b8d3b3897..1de3c19fc 100644 --- a/bi/core.css +++ b/bi/core.css @@ -3064,14 +3064,15 @@ i { background: #ffffff; } .bi-z-index-mask { - background-color: rgba(26, 26, 26, 0.5); color: #ffffff; + background-color: rgba(26, 26, 26, 0.5); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#801a1a1a,endColorstr=#801a1a1a); } .bi-list-item:hover, .bi-list-item.hover { - background-color: #eff1f4; color: #1a1a1a; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item.disabled, .bi-list-item.disabled:hover, @@ -3086,8 +3087,9 @@ i { } .bi-theme-dark .bi-list-item:hover, .bi-theme-dark .bi-list-item.hover { - background-color: #191b2b; color: #ffffff; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item.disabled, .bi-theme-dark .bi-list-item.disabled:hover, @@ -3100,9 +3102,12 @@ i { .bi-theme-dark .bi-list-item.disabled:active .bi-high-light { color: #666666 !important; } +.bi-list-item-simple { + color: #999999; +} .bi-list-item-simple:hover, .bi-list-item-simple.hover { - color: #1a1a1a; + color: #3f8ce8; } .bi-list-item-simple.disabled, .bi-list-item-simple.disabled:hover, @@ -3114,20 +3119,6 @@ i { .bi-list-item-simple.disabled:active .bi-high-light { color: #cccccc !important; } -.bi-theme-dark .bi-list-item-simple:hover, -.bi-theme-dark .bi-list-item-simple.hover { - color: #ffffff; -} -.bi-theme-dark .bi-list-item-simple.disabled, -.bi-theme-dark .bi-list-item-simple.disabled:hover, -.bi-theme-dark .bi-list-item-simple.disabled:active { - color: #666666 !important; -} -.bi-theme-dark .bi-list-item-simple.disabled .bi-high-light, -.bi-theme-dark .bi-list-item-simple.disabled:hover .bi-high-light, -.bi-theme-dark .bi-list-item-simple.disabled:active .bi-high-light { - color: #666666 !important; -} .bi-list-item-effect:hover { color: #1a1a1a; } @@ -3166,12 +3157,14 @@ i { .bi-list-item-active:hover, .bi-list-item-active.hover { color: #1a1a1a; - background-color: #eff1f4; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item-active.active, .bi-list-item-active:active { color: #3f8ce8; - background-color: #eff1f4; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item-active.disabled, .bi-list-item-active.disabled:hover, @@ -3186,13 +3179,15 @@ i { } .bi-theme-dark .bi-list-item-active:hover, .bi-theme-dark .bi-list-item-active.hover { - background-color: #191b2b; color: #ffffff; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item-active.active, .bi-theme-dark .bi-list-item-active:active { color: #3f8ce8; - background-color: #191b2b; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item-active.disabled, .bi-theme-dark .bi-list-item-active.disabled:hover, @@ -3207,8 +3202,9 @@ i { } .bi-list-item-select:hover, .bi-list-item-select.hover { - color: #3f8ce8; - background-color: #eff1f4; + color: #1a1a1a; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item-select:active, .bi-list-item-select.active { @@ -3232,8 +3228,9 @@ i { } .bi-theme-dark .bi-list-item-select:hover, .bi-theme-dark .bi-list-item-select.hover { - color: #3f8ce8; - background-color: #191b2b; + color: #ffffff; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item-select:active, .bi-theme-dark .bi-list-item-select.active { @@ -3255,43 +3252,6 @@ i { .bi-theme-dark .bi-list-item-select.disabled:active .bi-high-light { color: #666666 !important; } -.bi-list-item-choose:hover { - color: #1a1a1a; -} -.bi-list-item-choose:active, -.bi-list-item-choose.active { - color: #ffffff; - background-color: #3f8ce8; -} -.bi-list-item-choose:active .bi-high-light, -.bi-list-item-choose.active .bi-high-light { - color: #ffffff; -} -.bi-list-item-choose.disabled, -.bi-list-item-choose.disabled:hover, -.bi-list-item-choose.disabled:active { - color: #cccccc !important; - background-color: transparent !important; -} -.bi-list-item-choose.disabled .bi-high-light, -.bi-list-item-choose.disabled:hover .bi-high-light, -.bi-list-item-choose.disabled:active .bi-high-light { - color: #cccccc !important; -} -.bi-theme-dark .bi-list-item-choose:hover { - color: #ffffff; -} -.bi-theme-dark .bi-list-item-choose.disabled, -.bi-theme-dark .bi-list-item-choose.disabled:hover, -.bi-theme-dark .bi-list-item-choose.disabled:active { - color: #666666 !important; - background-color: transparent !important; -} -.bi-theme-dark .bi-list-item-choose.disabled .bi-high-light, -.bi-theme-dark .bi-list-item-choose.disabled:hover .bi-high-light, -.bi-theme-dark .bi-list-item-choose.disabled:active .bi-high-light { - color: #666666 !important; -} /*****************cursor*****************/ .cursor-pointer { cursor: pointer; diff --git a/docs/base.css b/docs/base.css index ea114d16d..bb03359ab 100644 --- a/docs/base.css +++ b/docs/base.css @@ -757,7 +757,7 @@ li.CodeMirror-hint-active { .bi-button.button-common.disabled, .bi-button.button-success.disabled, .bi-button.button-warning.disabled { - background: #c4c6c6 !important; + background: #cccccc !important; border-color: #c4c6c6 !important; } .bi-button.button-common.disabled, diff --git a/docs/case.js b/docs/case.js index 8ec3cc70b..a17351e18 100644 --- a/docs/case.js +++ b/docs/case.js @@ -151,7 +151,7 @@ BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);/** * @type {*|void|Object} */ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { - _defaultConfig: function() { + _defaultConfig: function () { return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), { extraCls: "bi-multi-select-item", height: 25, @@ -160,7 +160,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { } }) }, - _init : function() { + _init: function () { BI.MultiSelectItem.superclass._init.apply(this, arguments); var self = this, o = this.options; this.checkbox = BI.createWidget({ @@ -180,8 +180,8 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { value: o.value, py: o.py }); - this.checkbox.on(BI.Controller.EVENT_CHANGE, function(type){ - if(type === BI.Events.CLICK) { + this.checkbox.on(BI.Controller.EVENT_CHANGE, function (type) { + if (type === BI.Events.CLICK) { self.setSelected(self.isSelected()); } }); @@ -193,7 +193,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { type: "bi.center_adapt", items: [this.checkbox], width: 36 - } ,this.text) + }, this.text) })))); }, @@ -202,20 +202,23 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { this.checkbox.setEnable(v); }, - doRedMark: function(){ + doRedMark: function () { this.text.doRedMark.apply(this.text, arguments); }, - unRedMark: function(){ + unRedMark: function () { this.text.unRedMark.apply(this.text, arguments); }, - doClick: function(){ + doClick: function () { BI.MultiSelectItem.superclass.doClick.apply(this, arguments); this.checkbox.setSelected(this.isSelected()); + if (this.isValid()) { + this.fireEvent(BI.MultiSelectItem.EVENT_CHANGE, this.getValue(), this); + } }, - setSelected: function(v){ + setSelected: function (v) { BI.MultiSelectItem.superclass.setSelected.apply(this, arguments); this.checkbox.setSelected(v); } diff --git a/docs/core.css b/docs/core.css index b8d3b3897..1de3c19fc 100644 --- a/docs/core.css +++ b/docs/core.css @@ -3064,14 +3064,15 @@ i { background: #ffffff; } .bi-z-index-mask { - background-color: rgba(26, 26, 26, 0.5); color: #ffffff; + background-color: rgba(26, 26, 26, 0.5); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#801a1a1a,endColorstr=#801a1a1a); } .bi-list-item:hover, .bi-list-item.hover { - background-color: #eff1f4; color: #1a1a1a; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item.disabled, .bi-list-item.disabled:hover, @@ -3086,8 +3087,9 @@ i { } .bi-theme-dark .bi-list-item:hover, .bi-theme-dark .bi-list-item.hover { - background-color: #191b2b; color: #ffffff; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item.disabled, .bi-theme-dark .bi-list-item.disabled:hover, @@ -3100,9 +3102,12 @@ i { .bi-theme-dark .bi-list-item.disabled:active .bi-high-light { color: #666666 !important; } +.bi-list-item-simple { + color: #999999; +} .bi-list-item-simple:hover, .bi-list-item-simple.hover { - color: #1a1a1a; + color: #3f8ce8; } .bi-list-item-simple.disabled, .bi-list-item-simple.disabled:hover, @@ -3114,20 +3119,6 @@ i { .bi-list-item-simple.disabled:active .bi-high-light { color: #cccccc !important; } -.bi-theme-dark .bi-list-item-simple:hover, -.bi-theme-dark .bi-list-item-simple.hover { - color: #ffffff; -} -.bi-theme-dark .bi-list-item-simple.disabled, -.bi-theme-dark .bi-list-item-simple.disabled:hover, -.bi-theme-dark .bi-list-item-simple.disabled:active { - color: #666666 !important; -} -.bi-theme-dark .bi-list-item-simple.disabled .bi-high-light, -.bi-theme-dark .bi-list-item-simple.disabled:hover .bi-high-light, -.bi-theme-dark .bi-list-item-simple.disabled:active .bi-high-light { - color: #666666 !important; -} .bi-list-item-effect:hover { color: #1a1a1a; } @@ -3166,12 +3157,14 @@ i { .bi-list-item-active:hover, .bi-list-item-active.hover { color: #1a1a1a; - background-color: #eff1f4; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item-active.active, .bi-list-item-active:active { color: #3f8ce8; - background-color: #eff1f4; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item-active.disabled, .bi-list-item-active.disabled:hover, @@ -3186,13 +3179,15 @@ i { } .bi-theme-dark .bi-list-item-active:hover, .bi-theme-dark .bi-list-item-active.hover { - background-color: #191b2b; color: #ffffff; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item-active.active, .bi-theme-dark .bi-list-item-active:active { color: #3f8ce8; - background-color: #191b2b; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item-active.disabled, .bi-theme-dark .bi-list-item-active.disabled:hover, @@ -3207,8 +3202,9 @@ i { } .bi-list-item-select:hover, .bi-list-item-select.hover { - color: #3f8ce8; - background-color: #eff1f4; + color: #1a1a1a; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item-select:active, .bi-list-item-select.active { @@ -3232,8 +3228,9 @@ i { } .bi-theme-dark .bi-list-item-select:hover, .bi-theme-dark .bi-list-item-select.hover { - color: #3f8ce8; - background-color: #191b2b; + color: #ffffff; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item-select:active, .bi-theme-dark .bi-list-item-select.active { @@ -3255,43 +3252,6 @@ i { .bi-theme-dark .bi-list-item-select.disabled:active .bi-high-light { color: #666666 !important; } -.bi-list-item-choose:hover { - color: #1a1a1a; -} -.bi-list-item-choose:active, -.bi-list-item-choose.active { - color: #ffffff; - background-color: #3f8ce8; -} -.bi-list-item-choose:active .bi-high-light, -.bi-list-item-choose.active .bi-high-light { - color: #ffffff; -} -.bi-list-item-choose.disabled, -.bi-list-item-choose.disabled:hover, -.bi-list-item-choose.disabled:active { - color: #cccccc !important; - background-color: transparent !important; -} -.bi-list-item-choose.disabled .bi-high-light, -.bi-list-item-choose.disabled:hover .bi-high-light, -.bi-list-item-choose.disabled:active .bi-high-light { - color: #cccccc !important; -} -.bi-theme-dark .bi-list-item-choose:hover { - color: #ffffff; -} -.bi-theme-dark .bi-list-item-choose.disabled, -.bi-theme-dark .bi-list-item-choose.disabled:hover, -.bi-theme-dark .bi-list-item-choose.disabled:active { - color: #666666 !important; - background-color: transparent !important; -} -.bi-theme-dark .bi-list-item-choose.disabled .bi-high-light, -.bi-theme-dark .bi-list-item-choose.disabled:hover .bi-high-light, -.bi-theme-dark .bi-list-item-choose.disabled:active .bi-high-light { - color: #666666 !important; -} /*****************cursor*****************/ .cursor-pointer { cursor: pointer; diff --git a/docs/resource.css b/docs/resource.css index f86bee895..f48457202 100644 --- a/docs/resource.css +++ b/docs/resource.css @@ -626,18 +626,6 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: inherit; } -.close-red-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.close-red-font .b-font:before { - content: "\e600"; - color: #e85050; -} -.close-red-font.native .b-font:before, -.close-red-font.disabled .b-font:before { - content: "\e600"; - color: #e85050; -} .close-h-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -656,32 +644,6 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: inherit; } -.close-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.close-e-font .b-font:before { - content: "\e600"; - color: inherit; -} -.close-e-font:hover .b-font:before, -.close-e-font:focus .b-font:before, -.close-e-font.hover .b-font:before { - content: "\e600"; - color: inherit; -} -.close-e-font.active .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.close-e-font:active .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.close-e-font.native .b-font:before, -.close-e-font.disabled .b-font:before { - content: "\e600"; - color: inherit; -} .close-ha-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -723,71 +685,6 @@ textarea::-webkit-scrollbar-thumb { content: "\e600"; color: inherit; } -.trigger-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.trigger-font .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-font.native .b-font:before, -.trigger-font.disabled .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.trigger-h-font .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-h-font:hover .b-font:before, -.trigger-h-font:focus .b-font:before, -.trigger-h-font.hover .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-h-font.native .b-font:before, -.trigger-h-font.disabled .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.trigger-ha-font .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-ha-font:hover .b-font:before, -.trigger-ha-font:focus .b-font:before, -.trigger-ha-font.hover .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-ha-font:active .b-font:before, -.trigger-ha-font.active .b-font:before { - content: "\e603"; - color: #3f8ce8; -} -.trigger-ha-font.native .b-font:before, -.trigger-ha-font.disabled .b-font:before { - content: "\e603"; - color: inherit; -} -.pre-page-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pre-page-font .b-font:before { - content: "\e601"; - color: inherit; -} -.pre-page-font.native .b-font:before, -.pre-page-font.disabled .b-font:before { - content: "\e601"; - color: inherit; -} .pre-page-h-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -806,41 +703,6 @@ textarea::-webkit-scrollbar-thumb { content: "\e601"; color: inherit; } -.pre-page-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pre-page-ha-font .b-font:before { - content: "\e601"; - color: inherit; -} -.pre-page-ha-font:hover .b-font:before, -.pre-page-ha-font:focus .b-font:before, -.pre-page-ha-font.hover .b-font:before { - content: "\e601"; - color: inherit; -} -.pre-page-ha-font:active .b-font:before, -.pre-page-ha-font.active .b-font:before { - content: "\e601"; - color: #3f8ce8; -} -.pre-page-ha-font.native .b-font:before, -.pre-page-ha-font.disabled .b-font:before { - content: "\e601"; - color: inherit; -} -.next-page-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.next-page-font .b-font:before { - content: "\e602"; - color: inherit; -} -.next-page-font.native .b-font:before, -.next-page-font.disabled .b-font:before { - content: "\e602"; - color: inherit; -} .next-page-h-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -859,29 +721,6 @@ textarea::-webkit-scrollbar-thumb { content: "\e602"; color: inherit; } -.next-page-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.next-page-ha-font .b-font:before { - content: "\e602"; - color: inherit; -} -.next-page-ha-font:hover .b-font:before, -.next-page-ha-font:focus .b-font:before, -.next-page-ha-font.hover .b-font:before { - content: "\e602"; - color: inherit; -} -.next-page-ha-font:active .b-font:before, -.next-page-ha-font.active .b-font:before { - content: "\e602"; - color: #3f8ce8; -} -.next-page-ha-font.native .b-font:before, -.next-page-ha-font.disabled .b-font:before { - content: "\e602"; - color: inherit; -} .search-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -894,180 +733,6 @@ textarea::-webkit-scrollbar-thumb { content: "\e604"; color: inherit; } -.search-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.search-h-font .b-font:before { - content: "\e604"; - color: inherit; -} -.search-h-font:hover .b-font:before, -.search-h-font:focus .b-font:before, -.search-h-font.hover .b-font:before { - content: "\e604"; - color: inherit; -} -.search-h-font.native .b-font:before, -.search-h-font.disabled .b-font:before { - content: "\e604"; - color: inherit; -} -.search-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.search-ha-font .b-font:before { - content: "\e604"; - color: inherit; -} -.search-ha-font:hover .b-font:before, -.search-ha-font:focus .b-font:before, -.search-ha-font.hover .b-font:before { - content: "\e604"; - color: inherit; -} -.search-ha-font:active .b-font:before, -.search-ha-font.active .b-font:before { - content: "\e604"; - color: #3f8ce8; -} -.search-ha-font.native .b-font:before, -.search-ha-font.disabled .b-font:before { - content: "\e604"; - color: inherit; -} -.share-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.share-font .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-font.native .b-font:before, -.share-font.disabled .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.share-h-font .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-h-font:hover .b-font:before, -.share-h-font:focus .b-font:before, -.share-h-font.hover .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-h-font.native .b-font:before, -.share-h-font.disabled .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.share-ha-font .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-ha-font:hover .b-font:before, -.share-ha-font:focus .b-font:before, -.share-ha-font.hover .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-ha-font:active .b-font:before, -.share-ha-font.active .b-font:before { - content: "\e65a"; - color: #3f8ce8; -} -.share-ha-font.native .b-font:before, -.share-ha-font.disabled .b-font:before { - content: "\e65a"; - color: inherit; -} -/**维度/指标 下拉列表图标字体 ~begin~**/ -.delete-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-font.native .b-font:before, -.delete-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-h-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-h-font:hover .b-font:before, -.delete-h-font:focus .b-font:before, -.delete-h-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-h-font.native .b-font:before, -.delete-h-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-ha-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-ha-font:hover .b-font:before, -.delete-ha-font:focus .b-font:before, -.delete-ha-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-ha-font:active .b-font:before, -.delete-ha-font.active .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.delete-ha-font.native .b-font:before, -.delete-ha-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-e-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-e-font:hover .b-font:before, -.delete-e-font:focus .b-font:before, -.delete-e-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-e-font.active .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.delete-e-font:active .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.delete-e-font.native .b-font:before, -.delete-e-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} .dot-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -1384,3440 +1049,230 @@ textarea::-webkit-scrollbar-thumb { content: "\e611"; color: inherit; } -.dimension-from-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +/** dashboard组件/控件 下拉列表图标字体 ~end~**/ +.tree-node-triangle-expand-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-font .b-font:before { - content: "\e612"; +.tree-node-triangle-expand-font .b-font:before { + content: "\e608"; color: inherit; } -.dimension-from-font.native .b-font:before, -.dimension-from-font.disabled .b-font:before { - content: "\e612"; +.tree-node-triangle-expand-font.native .b-font:before, +.tree-node-triangle-expand-font.disabled .b-font:before { + content: "\e608"; color: inherit; } -.dimension-from-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.dimension-from-h-font .b-font:before { - content: "\e612"; - color: inherit; +.tree-node-triangle-collapse-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-h-font:hover .b-font:before, -.dimension-from-h-font:focus .b-font:before, -.dimension-from-h-font.hover .b-font:before { - content: "\e612"; +.tree-node-triangle-collapse-font .b-font:before { + content: "\e607"; color: inherit; } -.dimension-from-h-font.native .b-font:before, -.dimension-from-h-font.disabled .b-font:before { - content: "\e612"; +.tree-node-triangle-collapse-font.native .b-font:before, +.tree-node-triangle-collapse-font.disabled .b-font:before { + content: "\e607"; color: inherit; } -.dimension-from-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.row-pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-ha-font .b-font:before { - content: "\e612"; +.row-pre-page-h-font .b-font:before { + content: "\e6be"; color: inherit; } -.dimension-from-ha-font:hover .b-font:before, -.dimension-from-ha-font:focus .b-font:before, -.dimension-from-ha-font.hover .b-font:before { - content: "\e612"; +.row-pre-page-h-font:hover .b-font:before, +.row-pre-page-h-font:focus .b-font:before, +.row-pre-page-h-font.hover .b-font:before { + content: "\e6be"; color: inherit; } -.dimension-from-ha-font:active .b-font:before, -.dimension-from-ha-font.active .b-font:before { - content: "\e612"; - color: #3f8ce8; -} -.dimension-from-ha-font.native .b-font:before, -.dimension-from-ha-font.disabled .b-font:before { - content: "\e612"; +.row-pre-page-h-font.native .b-font:before, +.row-pre-page-h-font.disabled .b-font:before { + content: "\e6be"; color: inherit; } -.dimension-from-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.row-next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-e-font .b-font:before { - content: "\e612"; +.row-next-page-h-font .b-font:before { + content: "\e6bd"; color: inherit; } -.dimension-from-e-font:hover .b-font:before, -.dimension-from-e-font:focus .b-font:before, -.dimension-from-e-font.hover .b-font:before { - content: "\e612"; +.row-next-page-h-font:hover .b-font:before, +.row-next-page-h-font:focus .b-font:before, +.row-next-page-h-font.hover .b-font:before { + content: "\e6bd"; color: inherit; } -.dimension-from-e-font.active .b-font:before { - content: "\e612"; - color: #3f8ce8; +.row-next-page-h-font.native .b-font:before, +.row-next-page-h-font.disabled .b-font:before { + content: "\e6bd"; + color: inherit; } -.dimension-from-e-font:active .b-font:before { - content: "\e612"; - color: #3f8ce8; +.column-pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-e-font.native .b-font:before, -.dimension-from-e-font.disabled .b-font:before { - content: "\e612"; +.column-pre-page-h-font .b-font:before { + content: "\e6bc"; color: inherit; } -.chart-type-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-type-font .b-font:before { - content: "\e613"; +.column-pre-page-h-font:hover .b-font:before, +.column-pre-page-h-font:focus .b-font:before, +.column-pre-page-h-font.hover .b-font:before { + content: "\e6bc"; color: inherit; } -.chart-type-font.native .b-font:before, -.chart-type-font.disabled .b-font:before { - content: "\e613"; +.column-pre-page-h-font.native .b-font:before, +.column-pre-page-h-font.disabled .b-font:before { + content: "\e6bc"; color: inherit; } -.chart-type-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.column-next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.chart-type-h-font .b-font:before { - content: "\e613"; +.column-next-page-h-font .b-font:before { + content: "\e6bb"; color: inherit; } -.chart-type-h-font:hover .b-font:before, -.chart-type-h-font:focus .b-font:before, -.chart-type-h-font.hover .b-font:before { - content: "\e613"; +.column-next-page-h-font:hover .b-font:before, +.column-next-page-h-font:focus .b-font:before, +.column-next-page-h-font.hover .b-font:before { + content: "\e6bb"; color: inherit; } -.chart-type-h-font.native .b-font:before, -.chart-type-h-font.disabled .b-font:before { - content: "\e613"; +.column-next-page-h-font.native .b-font:before, +.column-next-page-h-font.disabled .b-font:before { + content: "\e6bb"; color: inherit; } -.chart-type-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.trigger-triangle-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.chart-type-ha-font .b-font:before { - content: "\e613"; - color: inherit; +.trigger-triangle-font .b-font:before { + content: "\e66a"; + color: #999999; } -.chart-type-ha-font:hover .b-font:before, -.chart-type-ha-font:focus .b-font:before, -.chart-type-ha-font.hover .b-font:before { - content: "\e613"; - color: inherit; +.trigger-triangle-font:hover .b-font:before, +.trigger-triangle-font:focus .b-font:before, +.trigger-triangle-font.hover .b-font:before { + content: "\e66a"; + color: #999999; } -.chart-type-ha-font:active .b-font:before, -.chart-type-ha-font.active .b-font:before { - content: "\e613"; +.trigger-triangle-font:active .b-font:before, +.trigger-triangle-font.active .b-font:before { + content: "\e66a"; color: #3f8ce8; } -.chart-type-ha-font.native .b-font:before, -.chart-type-ha-font.disabled .b-font:before { - content: "\e613"; - color: inherit; -} -.chart-type-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.trigger-triangle-font.native .b-font:before, +.trigger-triangle-font.disabled .b-font:before { + content: "\e66a"; + color: #999999; } -.chart-type-e-font .b-font:before { - content: "\e613"; - color: inherit; -} -.chart-type-e-font:hover .b-font:before, -.chart-type-e-font:focus .b-font:before, -.chart-type-e-font.hover .b-font:before { - content: "\e613"; - color: inherit; -} -.chart-type-e-font.active .b-font:before { - content: "\e613"; - color: #3f8ce8; -} -.chart-type-e-font:active .b-font:before { - content: "\e613"; - color: #3f8ce8; -} -.chart-type-e-font.native .b-font:before, -.chart-type-e-font.disabled .b-font:before { - content: "\e613"; - color: inherit; -} -.style-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.style-set-font .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-font.native .b-font:before, -.style-set-font.disabled .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.style-set-h-font .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-h-font:hover .b-font:before, -.style-set-h-font:focus .b-font:before, -.style-set-h-font.hover .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-h-font.native .b-font:before, -.style-set-h-font.disabled .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.style-set-ha-font .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-ha-font:hover .b-font:before, -.style-set-ha-font:focus .b-font:before, -.style-set-ha-font.hover .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-ha-font:active .b-font:before, -.style-set-ha-font.active .b-font:before { - content: "\e60c"; - color: #3f8ce8; -} -.style-set-ha-font.native .b-font:before, -.style-set-ha-font.disabled .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.style-set-e-font .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-e-font:hover .b-font:before, -.style-set-e-font:focus .b-font:before, -.style-set-e-font.hover .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-e-font.active .b-font:before { - content: "\e60c"; - color: #3f8ce8; -} -.style-set-e-font:active .b-font:before { - content: "\e60c"; - color: #3f8ce8; -} -.style-set-e-font.native .b-font:before, -.style-set-e-font.disabled .b-font:before { - content: "\e60c"; - color: inherit; -} -.hyper-link-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.hyper-link-font .b-font:before { - content: "\e688"; - color: inherit; -} -.hyper-link-font.native .b-font:before, -.hyper-link-font.disabled .b-font:before { - content: "\e688"; - color: inherit; -} -.filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.filter-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-font.native .b-font:before, -.filter-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.filter-h-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-h-font:hover .b-font:before, -.filter-h-font:focus .b-font:before, -.filter-h-font.hover .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-h-font.native .b-font:before, -.filter-h-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.filter-ha-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-ha-font:hover .b-font:before, -.filter-ha-font:focus .b-font:before, -.filter-ha-font.hover .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-ha-font:active .b-font:before, -.filter-ha-font.active .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.filter-ha-font.native .b-font:before, -.filter-ha-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.filter-e-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-e-font:hover .b-font:before, -.filter-e-font:focus .b-font:before, -.filter-e-font.hover .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-e-font.active .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.filter-e-font:active .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.filter-e-font.native .b-font:before, -.filter-e-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.classify-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.classify-font .b-font:before { - content: "\e694"; - color: #3f8ce8; -} -.classify-font.native .b-font:before, -.classify-font.disabled .b-font:before { - content: "\e694"; - color: #3f8ce8; -} -.series-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.series-font .b-font:before { - content: "\e695"; - color: #58cc7d; -} -.series-font.native .b-font:before, -.series-font.disabled .b-font:before { - content: "\e695"; - color: #58cc7d; -} -/**维度/指标 下拉列表图标字体 ~end~**/ -/** dashboard组件/控件 下拉列表图标字体 ~begin~**/ -.link-to-widget-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.link-to-widget-h-font .b-font:before { - content: "\e600"; - color: #999999; -} -.link-to-widget-h-font:hover .b-font:before, -.link-to-widget-h-font:focus .b-font:before, -.link-to-widget-h-font.hover .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.link-to-widget-h-font.native .b-font:before, -.link-to-widget-h-font.disabled .b-font:before { - content: "\e600"; - color: #999999; -} -.link-to-detail-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.link-to-detail-h-font .b-font:before { - content: "\e600"; - color: #999999; -} -.link-to-detail-h-font:hover .b-font:before, -.link-to-detail-h-font:focus .b-font:before, -.link-to-detail-h-font.hover .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.link-to-detail-h-font.native .b-font:before, -.link-to-detail-h-font.disabled .b-font:before { - content: "\e600"; - color: #999999; -} -.detail-setting-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.detail-setting-h-font .b-font:before { - content: "\e600"; - color: #999999; -} -.detail-setting-h-font:hover .b-font:before, -.detail-setting-h-font:focus .b-font:before, -.detail-setting-h-font.hover .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.detail-setting-h-font.native .b-font:before, -.detail-setting-h-font.disabled .b-font:before { - content: "\e600"; - color: #999999; -} -.export-to-excel-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.export-to-excel-h-font .b-font:before { - content: "\e600"; - color: #999999; -} -.export-to-excel-h-font:hover .b-font:before, -.export-to-excel-h-font:focus .b-font:before, -.export-to-excel-h-font.hover .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.export-to-excel-h-font.native .b-font:before, -.export-to-excel-h-font.disabled .b-font:before { - content: "\e600"; - color: #999999; -} -.widget-copy-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-copy-h-font .b-font:before { - content: "\e610"; - color: #999999; -} -.widget-copy-h-font:hover .b-font:before, -.widget-copy-h-font:focus .b-font:before, -.widget-copy-h-font.hover .b-font:before { - content: "\e610"; - color: #3f8ce8; -} -.widget-copy-h-font.native .b-font:before, -.widget-copy-h-font.disabled .b-font:before { - content: "\e610"; - color: #999999; -} -.widget-delete-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-delete-h-font .b-font:before { - content: "\e605"; - color: #999999; -} -.widget-delete-h-font:hover .b-font:before, -.widget-delete-h-font:focus .b-font:before, -.widget-delete-h-font.hover .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.widget-delete-h-font.native .b-font:before, -.widget-delete-h-font.disabled .b-font:before { - content: "\e605"; - color: #999999; -} -/** dashboard组件/控件 下拉列表图标字体 ~end~**/ -.tree-node-triangle-expand-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.tree-node-triangle-expand-font .b-font:before { - content: "\e608"; - color: inherit; -} -.tree-node-triangle-expand-font.native .b-font:before, -.tree-node-triangle-expand-font.disabled .b-font:before { - content: "\e608"; - color: inherit; -} -.tree-node-triangle-collapse-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.tree-node-triangle-collapse-font .b-font:before { - content: "\e607"; - color: inherit; -} -.tree-node-triangle-collapse-font.native .b-font:before, -.tree-node-triangle-collapse-font.disabled .b-font:before { - content: "\e607"; - color: inherit; -} -.row-pre-page-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.row-pre-page-h-font .b-font:before { - content: "\e6be"; - color: inherit; -} -.row-pre-page-h-font:hover .b-font:before, -.row-pre-page-h-font:focus .b-font:before, -.row-pre-page-h-font.hover .b-font:before { - content: "\e6be"; - color: inherit; -} -.row-pre-page-h-font.native .b-font:before, -.row-pre-page-h-font.disabled .b-font:before { - content: "\e6be"; - color: inherit; -} -.row-next-page-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.row-next-page-h-font .b-font:before { - content: "\e6bd"; - color: inherit; -} -.row-next-page-h-font:hover .b-font:before, -.row-next-page-h-font:focus .b-font:before, -.row-next-page-h-font.hover .b-font:before { - content: "\e6bd"; - color: inherit; -} -.row-next-page-h-font.native .b-font:before, -.row-next-page-h-font.disabled .b-font:before { - content: "\e6bd"; - color: inherit; -} -.column-pre-page-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.column-pre-page-h-font .b-font:before { - content: "\e6bc"; - color: inherit; -} -.column-pre-page-h-font:hover .b-font:before, -.column-pre-page-h-font:focus .b-font:before, -.column-pre-page-h-font.hover .b-font:before { - content: "\e6bc"; - color: inherit; -} -.column-pre-page-h-font.native .b-font:before, -.column-pre-page-h-font.disabled .b-font:before { - content: "\e6bc"; - color: inherit; -} -.column-next-page-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.column-next-page-h-font .b-font:before { - content: "\e6bb"; - color: inherit; -} -.column-next-page-h-font:hover .b-font:before, -.column-next-page-h-font:focus .b-font:before, -.column-next-page-h-font.hover .b-font:before { - content: "\e6bb"; - color: inherit; -} -.column-next-page-h-font.native .b-font:before, -.column-next-page-h-font.disabled .b-font:before { - content: "\e6bb"; - color: inherit; -} -.trigger-triangle-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.trigger-triangle-font .b-font:before { - content: "\e66a"; - color: #999999; -} -.trigger-triangle-font:hover .b-font:before, -.trigger-triangle-font:focus .b-font:before, -.trigger-triangle-font.hover .b-font:before { - content: "\e66a"; - color: #999999; -} -.trigger-triangle-font:active .b-font:before, -.trigger-triangle-font.active .b-font:before { - content: "\e66a"; - color: #3f8ce8; -} -.trigger-triangle-font.native .b-font:before, -.trigger-triangle-font.disabled .b-font:before { - content: "\e66a"; - color: #999999; -} -.widget-date-next-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-date-next-h-font .b-font:before { - content: "\e62f"; - color: inherit; -} -.widget-date-next-h-font:hover .b-font:before, -.widget-date-next-h-font:focus .b-font:before, -.widget-date-next-h-font.hover .b-font:before { - content: "\e62f"; - color: inherit; -} -.widget-date-next-h-font.native .b-font:before, -.widget-date-next-h-font.disabled .b-font:before { - content: "\e62f"; - color: inherit; -} -.widget-date-pre-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-date-pre-h-font .b-font:before { - content: "\e62e"; - color: inherit; -} -.widget-date-pre-h-font:hover .b-font:before, -.widget-date-pre-h-font:focus .b-font:before, -.widget-date-pre-h-font.hover .b-font:before { - content: "\e62e"; - color: inherit; -} -.widget-date-pre-h-font.native .b-font:before, -.widget-date-pre-h-font.disabled .b-font:before { - content: "\e62e"; - color: inherit; -} -.widget-date-h-change-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-date-h-change-font .b-font:before { - content: "\e660"; - color: inherit; -} -.widget-date-h-change-font:hover .b-font:before, -.widget-date-h-change-font:focus .b-font:before, -.widget-date-h-change-font.hover .b-font:before { - content: "\e660"; - color: inherit; -} -.widget-date-h-change-font.native .b-font:before, -.widget-date-h-change-font.disabled .b-font:before { - content: "\e660"; - color: inherit; -} -.pull-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pull-down-font .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-font.native .b-font:before, -.pull-down-font.disabled .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pull-down-h-font .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-h-font:hover .b-font:before, -.pull-down-h-font:focus .b-font:before, -.pull-down-h-font.hover .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-h-font.native .b-font:before, -.pull-down-h-font.disabled .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pull-down-ha-font .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-ha-font:hover .b-font:before, -.pull-down-ha-font:focus .b-font:before, -.pull-down-ha-font.hover .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-ha-font:active .b-font:before, -.pull-down-ha-font.active .b-font:before { - content: "\e608"; - color: #3f8ce8; -} -.pull-down-ha-font.native .b-font:before, -.pull-down-ha-font.disabled .b-font:before { - content: "\e608"; - color: inherit; -} -.delete-field-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-field-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-font.native .b-font:before, -.delete-field-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-field-h-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-h-font:hover .b-font:before, -.delete-field-h-font:focus .b-font:before, -.delete-field-h-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-h-font.native .b-font:before, -.delete-field-h-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-field-ha-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-ha-font:hover .b-font:before, -.delete-field-ha-font:focus .b-font:before, -.delete-field-ha-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-ha-font:active .b-font:before, -.delete-field-ha-font.active .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.delete-field-ha-font.native .b-font:before, -.delete-field-ha-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.toolbar-save-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-save-font .b-font:before { - content: "\e617"; - color: inherit; -} -.toolbar-save-font:hover .b-font:before, -.toolbar-save-font:focus .b-font:before, -.toolbar-save-font.hover .b-font:before { - content: "\e617"; - color: inherit; -} -.toolbar-save-font.native .b-font:before, -.toolbar-save-font.disabled .b-font:before { - content: "\e617"; - color: inherit; -} -.toolbar-undo-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-undo-font .b-font:before { - content: "\e619"; - color: inherit; -} -.toolbar-undo-font:hover .b-font:before, -.toolbar-undo-font:focus .b-font:before, -.toolbar-undo-font.hover .b-font:before { - content: "\e619"; - color: inherit; -} -.toolbar-undo-font.native .b-font:before, -.toolbar-undo-font.disabled .b-font:before { - content: "\e619"; - color: inherit; -} -.toolbar-redo-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-redo-font .b-font:before { - content: "\e625"; - color: inherit; -} -.toolbar-redo-font:hover .b-font:before, -.toolbar-redo-font:focus .b-font:before, -.toolbar-redo-font.hover .b-font:before { - content: "\e625"; - color: inherit; -} -.toolbar-redo-font.native .b-font:before, -.toolbar-redo-font.disabled .b-font:before { - content: "\e625"; - color: inherit; -} -.toolbar-edit-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-edit-font .b-font:before { - content: "\e631"; - color: inherit; -} -.toolbar-edit-font:hover .b-font:before, -.toolbar-edit-font:focus .b-font:before, -.toolbar-edit-font.hover .b-font:before { - content: "\e631"; - color: inherit; -} -.toolbar-edit-font.native .b-font:before, -.toolbar-edit-font.disabled .b-font:before { - content: "\e631"; - color: inherit; -} -.toolbar-preview-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-preview-font .b-font:before { - content: "\e65f"; - color: inherit; -} -.toolbar-preview-font:hover .b-font:before, -.toolbar-preview-font:focus .b-font:before, -.toolbar-preview-font.hover .b-font:before { - content: "\e65f"; - color: inherit; -} -.toolbar-preview-font.native .b-font:before, -.toolbar-preview-font.disabled .b-font:before { - content: "\e65f"; - color: inherit; -} -.chart-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-table-font .b-font:before { - content: "\e60e"; - color: inherit; -} -.chart-table-font:hover .b-font:before, -.chart-table-font:focus .b-font:before, -.chart-table-font.hover .b-font:before { - content: "\e60e"; - color: inherit; -} -.chart-table-font:active .b-font:before, -.chart-table-font.active .b-font:before { - content: "\e60e"; - color: #3f8ce8; -} -.chart-table-font.native .b-font:before, -.chart-table-font.disabled .b-font:before { - content: "\e60e"; - color: inherit; -} -.chart-axis-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-axis-font .b-font:before { - content: "\e626"; - color: inherit; -} -.chart-axis-font:hover .b-font:before, -.chart-axis-font:focus .b-font:before, -.chart-axis-font.hover .b-font:before { - content: "\e626"; - color: inherit; -} -.chart-axis-font:active .b-font:before, -.chart-axis-font.active .b-font:before { - content: "\e626"; - color: #3f8ce8; -} -.chart-axis-font.native .b-font:before, -.chart-axis-font.disabled .b-font:before { - content: "\e626"; - color: inherit; -} -.chart-bar-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-bar-font .b-font:before { - content: "\e620"; - color: inherit; -} -.chart-bar-font:hover .b-font:before, -.chart-bar-font:focus .b-font:before, -.chart-bar-font.hover .b-font:before { - content: "\e620"; - color: inherit; -} -.chart-bar-font:active .b-font:before, -.chart-bar-font.active .b-font:before { - content: "\e620"; - color: #3f8ce8; -} -.chart-bar-font.native .b-font:before, -.chart-bar-font.disabled .b-font:before { - content: "\e620"; - color: inherit; -} -.chart-accumulate-bar-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-accumulate-bar-font .b-font:before { - content: "\e60a"; - color: inherit; -} -.chart-accumulate-bar-font:hover .b-font:before, -.chart-accumulate-bar-font:focus .b-font:before, -.chart-accumulate-bar-font.hover .b-font:before { - content: "\e60a"; - color: inherit; -} -.chart-accumulate-bar-font:active .b-font:before, -.chart-accumulate-bar-font.active .b-font:before { - content: "\e60a"; - color: #3f8ce8; -} -.chart-accumulate-bar-font.native .b-font:before, -.chart-accumulate-bar-font.disabled .b-font:before { - content: "\e60a"; - color: inherit; -} -.chart-pie-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-pie-font .b-font:before { - content: "\e618"; - color: inherit; -} -.chart-pie-font:hover .b-font:before, -.chart-pie-font:focus .b-font:before, -.chart-pie-font.hover .b-font:before { - content: "\e618"; - color: inherit; -} -.chart-pie-font:active .b-font:before, -.chart-pie-font.active .b-font:before { - content: "\e618"; - color: #3f8ce8; -} -.chart-pie-font.native .b-font:before, -.chart-pie-font.disabled .b-font:before { - content: "\e618"; - color: inherit; -} -.chart-map-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-map-font .b-font:before { - content: "\e62c"; - color: inherit; -} -.chart-map-font:hover .b-font:before, -.chart-map-font:focus .b-font:before, -.chart-map-font.hover .b-font:before { - content: "\e62c"; - color: inherit; -} -.chart-map-font:active .b-font:before, -.chart-map-font.active .b-font:before { - content: "\e62c"; - color: #3f8ce8; -} -.chart-map-font.native .b-font:before, -.chart-map-font.disabled .b-font:before { - content: "\e62c"; - color: inherit; -} -.chart-dashboard-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-dashboard-font .b-font:before { - content: "\e623"; - color: inherit; -} -.chart-dashboard-font:hover .b-font:before, -.chart-dashboard-font:focus .b-font:before, -.chart-dashboard-font.hover .b-font:before { - content: "\e623"; - color: inherit; -} -.chart-dashboard-font:active .b-font:before, -.chart-dashboard-font.active .b-font:before { - content: "\e623"; - color: #3f8ce8; -} -.chart-dashboard-font.native .b-font:before, -.chart-dashboard-font.disabled .b-font:before { - content: "\e623"; - color: inherit; -} -.chart-doughnut-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-doughnut-font .b-font:before { - content: "\e624"; - color: inherit; -} -.chart-doughnut-font:hover .b-font:before, -.chart-doughnut-font:focus .b-font:before, -.chart-doughnut-font.hover .b-font:before { - content: "\e624"; - color: inherit; -} -.chart-doughnut-font:active .b-font:before, -.chart-doughnut-font.active .b-font:before { - content: "\e624"; - color: #3f8ce8; -} -.chart-doughnut-font.native .b-font:before, -.chart-doughnut-font.disabled .b-font:before { - content: "\e624"; - color: inherit; -} -.chart-detail-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-detail-font .b-font:before { - content: "\e615"; - color: inherit; -} -.chart-detail-font:hover .b-font:before, -.chart-detail-font:focus .b-font:before, -.chart-detail-font.hover .b-font:before { - content: "\e615"; - color: inherit; -} -.chart-detail-font:active .b-font:before, -.chart-detail-font.active .b-font:before { - content: "\e615"; - color: #3f8ce8; -} -.chart-detail-font.native .b-font:before, -.chart-detail-font.disabled .b-font:before { - content: "\e615"; - color: inherit; -} -.chart-more-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-more-font .b-font:before { - content: "\e60d"; - color: inherit; -} -.chart-more-font:hover .b-font:before, -.chart-more-font:focus .b-font:before, -.chart-more-font.hover .b-font:before { - content: "\e60d"; - color: inherit; -} -.chart-more-font:active .b-font:before, -.chart-more-font.active .b-font:before { - content: "\e60d"; - color: #3f8ce8; -} -.chart-more-font.native .b-font:before, -.chart-more-font.disabled .b-font:before { - content: "\e60d"; - color: inherit; -} -.chart-bubble-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-bubble-font .b-font:before { - content: "\e62a"; - color: inherit; -} -.chart-bubble-font:hover .b-font:before, -.chart-bubble-font:focus .b-font:before, -.chart-bubble-font.hover .b-font:before { - content: "\e62a"; - color: inherit; -} -.chart-bubble-font:active .b-font:before, -.chart-bubble-font.active .b-font:before { - content: "\e62a"; - color: #3f8ce8; -} -.chart-bubble-font.native .b-font:before, -.chart-bubble-font.disabled .b-font:before { - content: "\e62a"; - color: inherit; -} -.chart-scatter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-scatter-font .b-font:before { - content: "\e61d"; - color: inherit; -} -.chart-scatter-font:hover .b-font:before, -.chart-scatter-font:focus .b-font:before, -.chart-scatter-font.hover .b-font:before { - content: "\e61d"; - color: inherit; -} -.chart-scatter-font:active .b-font:before, -.chart-scatter-font.active .b-font:before { - content: "\e61d"; - color: #3f8ce8; -} -.chart-scatter-font.native .b-font:before, -.chart-scatter-font.disabled .b-font:before { - content: "\e61d"; - color: inherit; -} -.chart-radar-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-radar-font .b-font:before { - content: "\e614"; - color: inherit; -} -.chart-radar-font:hover .b-font:before, -.chart-radar-font:focus .b-font:before, -.chart-radar-font.hover .b-font:before { - content: "\e614"; - color: inherit; -} -.chart-radar-font:active .b-font:before, -.chart-radar-font.active .b-font:before { - content: "\e614"; - color: #3f8ce8; -} -.chart-radar-font.native .b-font:before, -.chart-radar-font.disabled .b-font:before { - content: "\e614"; - color: inherit; -} -.chart-content-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-content-font .b-font:before { - content: "\e621"; - color: inherit; -} -.chart-content-font:hover .b-font:before, -.chart-content-font:focus .b-font:before, -.chart-content-font.hover .b-font:before { - content: "\e621"; - color: inherit; -} -.chart-content-font:active .b-font:before, -.chart-content-font.active .b-font:before { - content: "\e621"; - color: #3f8ce8; -} -.chart-content-font.native .b-font:before, -.chart-content-font.disabled .b-font:before { - content: "\e621"; - color: inherit; -} -.chart-image-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-image-font .b-font:before { - content: "\e68d"; - color: inherit; -} -.chart-image-font:hover .b-font:before, -.chart-image-font:focus .b-font:before, -.chart-image-font.hover .b-font:before { - content: "\e68d"; - color: inherit; -} -.chart-image-font:active .b-font:before, -.chart-image-font.active .b-font:before { - content: "\e68d"; - color: #3f8ce8; -} -.chart-image-font.native .b-font:before, -.chart-image-font.disabled .b-font:before { - content: "\e68d"; - color: inherit; -} -.chart-web-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-web-font .b-font:before { - content: "\e68c"; - color: inherit; -} -.chart-web-font:hover .b-font:before, -.chart-web-font:focus .b-font:before, -.chart-web-font.hover .b-font:before { - content: "\e68c"; - color: inherit; -} -.chart-web-font:active .b-font:before, -.chart-web-font.active .b-font:before { - content: "\e68c"; - color: #3f8ce8; -} -.chart-web-font.native .b-font:before, -.chart-web-font.disabled .b-font:before { - content: "\e68c"; - color: inherit; -} -.chart-string-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-string-font .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-string-font:hover .b-font:before, -.chart-string-font:focus .b-font:before, -.chart-string-font.hover .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-string-font:active .b-font:before, -.chart-string-font.active .b-font:before { - content: "\e622"; - color: #3f8ce8; -} -.chart-string-font.native .b-font:before, -.chart-string-font.disabled .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-number-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-number-font .b-font:before { - content: "\e61f"; - color: inherit; -} -.chart-number-font:hover .b-font:before, -.chart-number-font:focus .b-font:before, -.chart-number-font.hover .b-font:before { - content: "\e61f"; - color: inherit; -} -.chart-number-font:active .b-font:before, -.chart-number-font.active .b-font:before { - content: "\e61f"; - color: #3f8ce8; -} -.chart-number-font.native .b-font:before, -.chart-number-font.disabled .b-font:before { - content: "\e61f"; - color: inherit; -} -.chart-tree-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-tree-font .b-font:before { - content: "\e61e"; - color: inherit; -} -.chart-tree-font:hover .b-font:before, -.chart-tree-font:focus .b-font:before, -.chart-tree-font.hover .b-font:before { - content: "\e61e"; - color: inherit; -} -.chart-tree-font:active .b-font:before, -.chart-tree-font.active .b-font:before { - content: "\e61e"; - color: #3f8ce8; -} -.chart-tree-font.native .b-font:before, -.chart-tree-font.disabled .b-font:before { - content: "\e61e"; - color: inherit; -} -.chart-date-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-date-font .b-font:before { - content: "\e61b"; - color: inherit; -} -.chart-date-font:hover .b-font:before, -.chart-date-font:focus .b-font:before, -.chart-date-font.hover .b-font:before { - content: "\e61b"; - color: inherit; -} -.chart-date-font:active .b-font:before, -.chart-date-font.active .b-font:before { - content: "\e61b"; - color: #3f8ce8; -} -.chart-date-font.native .b-font:before, -.chart-date-font.disabled .b-font:before { - content: "\e61b"; - color: inherit; -} -.chart-year-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-year-font .b-font:before { - content: "\e628"; - color: inherit; -} -.chart-year-font:hover .b-font:before, -.chart-year-font:focus .b-font:before, -.chart-year-font.hover .b-font:before { - content: "\e628"; - color: inherit; -} -.chart-year-font:active .b-font:before, -.chart-year-font.active .b-font:before { - content: "\e628"; - color: #3f8ce8; -} -.chart-year-font.native .b-font:before, -.chart-year-font.disabled .b-font:before { - content: "\e628"; - color: inherit; -} -.chart-month-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-month-font .b-font:before { - content: "\e627"; - color: inherit; -} -.chart-month-font:hover .b-font:before, -.chart-month-font:focus .b-font:before, -.chart-month-font.hover .b-font:before { - content: "\e627"; - color: inherit; -} -.chart-month-font:active .b-font:before, -.chart-month-font.active .b-font:before { - content: "\e627"; - color: #3f8ce8; -} -.chart-month-font.native .b-font:before, -.chart-month-font.disabled .b-font:before { - content: "\e627"; - color: inherit; -} -.chart-quarter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-quarter-font .b-font:before { - content: "\e629"; - color: inherit; -} -.chart-quarter-font:hover .b-font:before, -.chart-quarter-font:focus .b-font:before, -.chart-quarter-font.hover .b-font:before { - content: "\e629"; - color: inherit; -} -.chart-quarter-font:active .b-font:before, -.chart-quarter-font.active .b-font:before { - content: "\e629"; - color: #3f8ce8; -} -.chart-quarter-font.native .b-font:before, -.chart-quarter-font.disabled .b-font:before { - content: "\e629"; - color: inherit; -} -.chart-ymd-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-ymd-font .b-font:before { - content: "\e61c"; - color: inherit; -} -.chart-ymd-font:hover .b-font:before, -.chart-ymd-font:focus .b-font:before, -.chart-ymd-font.hover .b-font:before { - content: "\e61c"; - color: inherit; -} -.chart-ymd-font:active .b-font:before, -.chart-ymd-font.active .b-font:before { - content: "\e61c"; - color: #3f8ce8; -} -.chart-ymd-font.native .b-font:before, -.chart-ymd-font.disabled .b-font:before { - content: "\e61c"; - color: inherit; -} -.chart-date-range-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-date-range-font .b-font:before { - content: "\e616"; - color: inherit; -} -.chart-date-range-font:hover .b-font:before, -.chart-date-range-font:focus .b-font:before, -.chart-date-range-font.hover .b-font:before { - content: "\e616"; - color: inherit; -} -.chart-date-range-font:active .b-font:before, -.chart-date-range-font.active .b-font:before { - content: "\e616"; - color: #3f8ce8; -} -.chart-date-range-font.native .b-font:before, -.chart-date-range-font.disabled .b-font:before { - content: "\e616"; - color: inherit; -} -.chart-general-query-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-general-query-font .b-font:before { - content: "\e62b"; - color: inherit; -} -.chart-general-query-font:hover .b-font:before, -.chart-general-query-font:focus .b-font:before, -.chart-general-query-font.hover .b-font:before { - content: "\e62b"; - color: inherit; -} -.chart-general-query-font:active .b-font:before, -.chart-general-query-font.active .b-font:before { - content: "\e62b"; - color: #3f8ce8; -} -.chart-general-query-font.native .b-font:before, -.chart-general-query-font.disabled .b-font:before { - content: "\e62b"; - color: inherit; -} -.chart-query-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-query-font .b-font:before { - content: "\e609"; - color: inherit; -} -.chart-query-font:hover .b-font:before, -.chart-query-font:focus .b-font:before, -.chart-query-font.hover .b-font:before { - content: "\e609"; - color: inherit; -} -.chart-query-font:active .b-font:before, -.chart-query-font.active .b-font:before { - content: "\e609"; - color: #3f8ce8; -} -.chart-query-font.native .b-font:before, -.chart-query-font.disabled .b-font:before { - content: "\e609"; - color: inherit; -} -.chart-reset-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-reset-font .b-font:before { - content: "\e61a"; - color: inherit; -} -.chart-reset-font:hover .b-font:before, -.chart-reset-font:focus .b-font:before, -.chart-reset-font.hover .b-font:before { - content: "\e61a"; - color: inherit; -} -.chart-reset-font:active .b-font:before, -.chart-reset-font.active .b-font:before { - content: "\e61a"; - color: #3f8ce8; -} -.chart-reset-font.native .b-font:before, -.chart-reset-font.disabled .b-font:before { - content: "\e61a"; - color: inherit; -} -.chart-textarea-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-textarea-font .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-textarea-font:hover .b-font:before, -.chart-textarea-font:focus .b-font:before, -.chart-textarea-font.hover .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-textarea-font:active .b-font:before, -.chart-textarea-font.active .b-font:before { - content: "\e622"; - color: #3f8ce8; -} -.chart-textarea-font.native .b-font:before, -.chart-textarea-font.disabled .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-reuse-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-reuse-font .b-font:before { - content: "\e60b"; - color: inherit; -} -.chart-reuse-font:hover .b-font:before, -.chart-reuse-font:focus .b-font:before, -.chart-reuse-font.hover .b-font:before { - content: "\e60b"; - color: inherit; -} -.chart-reuse-font:active .b-font:before, -.chart-reuse-font.active .b-font:before { - content: "\e60b"; - color: #3f8ce8; -} -.chart-reuse-font.native .b-font:before, -.chart-reuse-font.disabled .b-font:before { - content: "\e60b"; - color: inherit; -} -.chart-date-normal-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-date-normal-font .b-font:before { - content: "\e61b"; - color: inherit; -} -.chart-date-normal-font.native .b-font:before, -.chart-date-normal-font.disabled .b-font:before { - content: "\e61b"; - color: inherit; -} -.less-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.less-font .b-font:before { - content: "\e633"; - color: inherit; -} -.less-font:hover .b-font:before, -.less-font:focus .b-font:before, -.less-font.hover .b-font:before { - content: "\e633"; - color: inherit; -} -.less-font:active .b-font:before, -.less-font.active .b-font:before { - content: "\e633"; - color: #3f8ce8; -} -.less-font.native .b-font:before, -.less-font.disabled .b-font:before { - content: "\e633"; - color: inherit; -} -.less-equal-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.less-equal-font .b-font:before { - content: "\e636"; - color: inherit; -} -.less-equal-font:hover .b-font:before, -.less-equal-font:focus .b-font:before, -.less-equal-font.hover .b-font:before { - content: "\e636"; - color: inherit; -} -.less-equal-font:active .b-font:before, -.less-equal-font.active .b-font:before { - content: "\e636"; - color: #3f8ce8; -} -.less-equal-font.native .b-font:before, -.less-equal-font.disabled .b-font:before { - content: "\e636"; - color: inherit; -} -.check-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.check-font .b-font:before { - content: "\e611"; - color: #3f8ce8; -} -.check-font.native .b-font:before, -.check-font.disabled .b-font:before { - content: "\e611"; - color: #3f8ce8; -} -.move2group-add-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.move2group-add-font .b-font:before { - content: "\e649"; - color: #3f8ce8; -} -.move2group-add-font.native .b-font:before, -.move2group-add-font.disabled .b-font:before { - content: "\e649"; - color: #3f8ce8; -} -.select-data-field-calc-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-calc-font .b-font:before { - content: "\e6a3"; - color: inherit; -} -.select-data-field-calc-font:hover .b-font:before, -.select-data-field-calc-font:focus .b-font:before, -.select-data-field-calc-font.hover .b-font:before { - content: "\e6a3"; - color: inherit; -} -.select-data-field-calc-font:active .b-font:before, -.select-data-field-calc-font.active .b-font:before { - content: "\e6a3"; - color: #ffffff; -} -.select-data-field-calc-font.native .b-font:before, -.select-data-field-calc-font.disabled .b-font:before { - content: "\e6a3"; - color: inherit; -} -.select-data-field-string-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-string-font .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-string-font:hover .b-font:before, -.select-data-field-string-font:focus .b-font:before, -.select-data-field-string-font.hover .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-string-font:active .b-font:before, -.select-data-field-string-font.active .b-font:before { - content: "\e642"; - color: #ffffff; -} -.select-data-field-string-font.native .b-font:before, -.select-data-field-string-font.disabled .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-number-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-number-font .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-number-font:hover .b-font:before, -.select-data-field-number-font:focus .b-font:before, -.select-data-field-number-font.hover .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-number-font:active .b-font:before, -.select-data-field-number-font.active .b-font:before { - content: "\e641"; - color: #ffffff; -} -.select-data-field-number-font.native .b-font:before, -.select-data-field-number-font.disabled .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-date-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-date-font .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-field-date-font:hover .b-font:before, -.select-data-field-date-font:focus .b-font:before, -.select-data-field-date-font.hover .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-field-date-font:active .b-font:before, -.select-data-field-date-font.active .b-font:before { - content: "\e640"; - color: #ffffff; -} -.select-data-field-date-font.native .b-font:before, -.select-data-field-date-font.disabled .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-field-string-group-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-string-group-font .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-string-group-font.native .b-font:before, -.select-data-field-string-group-font.disabled .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-number-group-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-number-group-font .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-number-group-font.native .b-font:before, -.select-data-field-number-group-font.disabled .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-date-group-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-date-group-font .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-field-date-group-font.native .b-font:before, -.select-data-field-date-group-font.disabled .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-preview-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-preview-font .b-font:before { - content: "\e65f"; - color: #999999; -} -.select-data-preview-font:hover .b-font:before, -.select-data-preview-font:focus .b-font:before, -.select-data-preview-font.hover .b-font:before { - content: "\e65f"; - color: #3f8ce8; -} -.select-data-preview-font:active .b-font:before, -.select-data-preview-font.active .b-font:before { - content: "\e65f"; - color: #3f8ce8; -} -.select-data-preview-font.native .b-font:before, -.select-data-preview-font.disabled .b-font:before { - content: "\e65f"; - color: #999999; -} -.detail-dimension-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.detail-dimension-set-font .b-font:before { - content: "\e678"; - color: inherit; -} -.detail-dimension-set-font:hover .b-font:before, -.detail-dimension-set-font:focus .b-font:before, -.detail-dimension-set-font.hover .b-font:before { - content: "\e678"; - color: inherit; -} -.detail-dimension-set-font.native .b-font:before, -.detail-dimension-set-font.disabled .b-font:before { - content: "\e678"; - color: inherit; -} -.detail-real-data-warning-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.detail-real-data-warning-font .b-font:before { - content: "\e64e"; - color: #f07d0a; -} -.detail-real-data-warning-font:hover .b-font:before, -.detail-real-data-warning-font:focus .b-font:before, -.detail-real-data-warning-font.hover .b-font:before { - content: "\e64e"; - color: #f07d0a; -} -.detail-real-data-warning-font.native .b-font:before, -.detail-real-data-warning-font.disabled .b-font:before { - content: "\e64e"; - color: #f07d0a; -} -.select-group-field-string-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-group-field-string-font .b-font:before { - content: "\e642"; - color: #3f8ce8; -} -.select-group-field-string-font:hover .b-font:before, -.select-group-field-string-font:focus .b-font:before, -.select-group-field-string-font.hover .b-font:before { - content: "\e642"; - color: #3f8ce8; -} -.select-group-field-string-font:active .b-font:before, -.select-group-field-string-font.active .b-font:before { - content: "\e642"; - color: #3f8ce8; -} -.select-group-field-string-font.native .b-font:before, -.select-group-field-string-font.disabled .b-font:before { - content: "\e642"; - color: #3f8ce8; -} -.select-group-field-number-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-group-field-number-font .b-font:before { - content: "\e641"; - color: #3f8ce8; -} -.select-group-field-number-font:hover .b-font:before, -.select-group-field-number-font:focus .b-font:before, -.select-group-field-number-font.hover .b-font:before { - content: "\e641"; - color: #3f8ce8; -} -.select-group-field-number-font:active .b-font:before, -.select-group-field-number-font.active .b-font:before { - content: "\e641"; - color: #3f8ce8; -} -.select-group-field-number-font.native .b-font:before, -.select-group-field-number-font.disabled .b-font:before { - content: "\e641"; - color: #3f8ce8; -} -.select-group-field-date-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-group-field-date-font .b-font:before { - content: "\e640"; - color: #3f8ce8; -} -.select-group-field-date-font:hover .b-font:before, -.select-group-field-date-font:focus .b-font:before, -.select-group-field-date-font.hover .b-font:before { - content: "\e640"; - color: #3f8ce8; -} -.select-group-field-date-font:active .b-font:before, -.select-group-field-date-font.active .b-font:before { - content: "\e640"; - color: #3f8ce8; -} -.select-group-field-date-font.native .b-font:before, -.select-group-field-date-font.disabled .b-font:before { - content: "\e640"; - color: #3f8ce8; -} -.dashboard-widget-combo-detail-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.dashboard-widget-combo-detail-set-font .b-font:before { - content: "\e634"; - color: inherit; -} -.dashboard-widget-combo-detail-set-font:hover .b-font:before, -.dashboard-widget-combo-detail-set-font:focus .b-font:before, -.dashboard-widget-combo-detail-set-font.hover .b-font:before { - content: "\e634"; - color: inherit; -} -.dashboard-widget-combo-detail-set-font.native .b-font:before, -.dashboard-widget-combo-detail-set-font.disabled .b-font:before { - content: "\e634"; - color: inherit; -} -.group-add-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.group-add-font .b-font:before { - content: "\e649"; - color: #999999; -} -.group-add-font.native .b-font:before, -.group-add-font.disabled .b-font:before { - content: "\e649"; - color: #999999; -} -.sortable-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.sortable-font .b-font:before { - content: "\e63b"; - color: inherit; -} -.sortable-font.native .b-font:before, -.sortable-font.disabled .b-font:before { - content: "\e63b"; - color: inherit; -} -.text-bold-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-bold-font .b-font:before { - content: "\e64d"; - color: inherit; -} -.text-bold-font.native .b-font:before, -.text-bold-font.disabled .b-font:before { - content: "\e64d"; - color: inherit; -} -.text-italic-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-italic-font .b-font:before { - content: "\e656"; - color: inherit; -} -.text-italic-font.native .b-font:before, -.text-italic-font.disabled .b-font:before { - content: "\e656"; - color: inherit; -} -.text-underline-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-underline-font .b-font:before { - content: "\e650"; - color: inherit; -} -.text-underline-font.native .b-font:before, -.text-underline-font.disabled .b-font:before { - content: "\e650"; - color: inherit; -} -.text-color-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-color-font .b-font:before { - content: "\e69c"; - color: inherit; -} -.text-color-font.native .b-font:before, -.text-color-font.disabled .b-font:before { - content: "\e69c"; - color: inherit; -} -.text-background-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-background-font .b-font:before { - content: "\e696"; - color: inherit; -} -.text-background-font.native .b-font:before, -.text-background-font.disabled .b-font:before { - content: "\e696"; - color: inherit; -} -.text-color-underline-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-color-underline-font .b-font:before { - content: "\e69d"; - color: inherit; -} -.text-color-underline-font.native .b-font:before, -.text-color-underline-font.disabled .b-font:before { - content: "\e69d"; - color: inherit; -} -.text-align-left-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-align-left-font .b-font:before { - content: "\e654"; - color: inherit; -} -.text-align-left-font.native .b-font:before, -.text-align-left-font.disabled .b-font:before { - content: "\e654"; - color: inherit; -} -.text-align-center-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-align-center-font .b-font:before { - content: "\e64f"; - color: inherit; -} -.text-align-center-font.native .b-font:before, -.text-align-center-font.disabled .b-font:before { - content: "\e64f"; - color: inherit; -} -.text-align-right-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-align-right-font .b-font:before { - content: "\e651"; - color: inherit; -} -.text-align-right-font.native .b-font:before, -.text-align-right-font.disabled .b-font:before { - content: "\e651"; - color: inherit; -} -.img-upload-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.img-upload-font .b-font:before { - content: "\e6ba"; - color: #3f8ce8; -} -.img-upload-font.native .b-font:before, -.img-upload-font.disabled .b-font:before { - content: "\e6ba"; - color: #3f8ce8; -} -.img-size-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.img-size-font .b-font:before { - content: "\e68b"; - color: #3f8ce8; -} -.img-size-font.native .b-font:before, -.img-size-font.disabled .b-font:before { - content: "\e68b"; - color: #3f8ce8; -} -.img-href-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.img-href-font .b-font:before { - content: "\e688"; - color: #3f8ce8; -} -.img-href-font.native .b-font:before, -.img-href-font.disabled .b-font:before { - content: "\e688"; - color: #3f8ce8; -} -.img-shutdown-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.img-shutdown-font .b-font:before { - content: "\e689"; - color: #3f8ce8; -} -.img-shutdown-font.native .b-font:before, -.img-shutdown-font.disabled .b-font:before { - content: "\e689"; - color: #3f8ce8; -} -.move-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.move-font .b-font:before { - content: "\e65e"; - color: inherit; -} -.move-font.native .b-font:before, -.move-font.disabled .b-font:before { - content: "\e65e"; - color: inherit; -} -.share-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.share-font .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-font.native .b-font:before, -.share-font.disabled .b-font:before { - content: "\e65a"; - color: inherit; -} -.new-file-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.new-file-font .b-font:before { - content: "\e65d"; - color: inherit; -} -.new-file-font.native .b-font:before, -.new-file-font.disabled .b-font:before { - content: "\e65d"; - color: inherit; -} -.file-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.file-font .b-font:before { - content: "\e65b"; - color: #fcc550; -} -.file-font.native .b-font:before, -.file-font.disabled .b-font:before { - content: "\e65b"; - color: #fcc550; -} -.folder-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.folder-font .b-font:before { - content: "\e65c"; - color: #3f8ce8; -} -.folder-font.native .b-font:before, -.folder-font.disabled .b-font:before { - content: "\e65c"; - color: #3f8ce8; -} -.letter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.letter-font .b-font:before { - content: "\e659"; - color: inherit; -} -.letter-font:hover .b-font:before, -.letter-font:focus .b-font:before, -.letter-font.hover .b-font:before { - content: "\e659"; - color: inherit; -} -.letter-font:active .b-font:before, -.letter-font.active .b-font:before { - content: "\e659"; - color: #3f8ce8; -} -.letter-font.native .b-font:before, -.letter-font.disabled .b-font:before { - content: "\e659"; - color: inherit; -} -.time-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.time-font .b-font:before { - content: "\e658"; - color: inherit; -} -.time-font:hover .b-font:before, -.time-font:focus .b-font:before, -.time-font.hover .b-font:before { - content: "\e658"; - color: inherit; -} -.time-font:active .b-font:before, -.time-font.active .b-font:before { - content: "\e658"; - color: #3f8ce8; -} -.time-font.native .b-font:before, -.time-font.disabled .b-font:before { - content: "\e658"; - color: inherit; -} -.rename-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.rename-font .b-font:before { - content: "\e687"; - color: inherit; -} -.rename-font.native .b-font:before, -.rename-font.disabled .b-font:before { - content: "\e687"; - color: inherit; -} -.delete-template-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-template-font .b-font:before { - content: "\e605"; - color: #999999; -} -.delete-template-font.native .b-font:before, -.delete-template-font.disabled .b-font:before { - content: "\e605"; - color: #999999; -} -.real-time-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.real-time-font .b-font:before { - content: "\e6af"; - color: #fcc550; -} -.real-time-font.native .b-font:before, -.real-time-font.disabled .b-font:before { - content: "\e6af"; - color: #fcc550; -} -.data-source-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-source-table-font .b-font:before { - content: "\e67b"; - color: #3f8ce8; -} -.data-source-table-font:hover .b-font:before, -.data-source-table-font:focus .b-font:before, -.data-source-table-font.hover .b-font:before { - content: "\e67b"; - color: #3f8ce8; -} -.data-source-table-font:active .b-font:before, -.data-source-table-font.active .b-font:before { - content: "\e67b"; - color: #ffffff; -} -.data-source-table-font.native .b-font:before, -.data-source-table-font.disabled .b-font:before { - content: "\e67b"; - color: #3f8ce8; -} -.etl-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.etl-table-font .b-font:before { - content: "\e680"; - color: #3f8ce8; -} -.etl-table-font:hover .b-font:before, -.etl-table-font:focus .b-font:before, -.etl-table-font.hover .b-font:before { - content: "\e680"; - color: #3f8ce8; -} -.etl-table-font:active .b-font:before, -.etl-table-font.active .b-font:before { - content: "\e680"; - color: #ffffff; -} -.etl-table-font.native .b-font:before, -.etl-table-font.disabled .b-font:before { - content: "\e680"; - color: #3f8ce8; -} -.excel-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-table-font .b-font:before { - content: "\e682"; - color: #3f8ce8; -} -.excel-table-font:hover .b-font:before, -.excel-table-font:focus .b-font:before, -.excel-table-font.hover .b-font:before { - content: "\e682"; - color: #3f8ce8; -} -.excel-table-font:active .b-font:before, -.excel-table-font.active .b-font:before { - content: "\e682"; - color: #ffffff; -} -.excel-table-font.native .b-font:before, -.excel-table-font.disabled .b-font:before { - content: "\e682"; - color: #3f8ce8; -} -.sql-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.sql-table-font .b-font:before { - content: "\e681"; - color: #3f8ce8; -} -.sql-table-font:hover .b-font:before, -.sql-table-font:focus .b-font:before, -.sql-table-font.hover .b-font:before { - content: "\e681"; - color: #3f8ce8; -} -.sql-table-font:active .b-font:before, -.sql-table-font.active .b-font:before { - content: "\e681"; - color: #ffffff; -} -.sql-table-font.native .b-font:before, -.sql-table-font.disabled .b-font:before { - content: "\e681"; - color: #3f8ce8; -} -.refresh-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.refresh-table-font .b-font:before { - content: "\e683"; - color: inherit; -} -.refresh-table-font.native .b-font:before, -.refresh-table-font.disabled .b-font:before { - content: "\e683"; - color: inherit; -} -.recover-chart-font-hightlight .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.recover-chart-font-hightlight .b-font:before { - content: "\e6b4"; - color: inherit; -} -.recover-chart-font-hightlight.native .b-font:before, -.recover-chart-font-hightlight.disabled .b-font:before { - content: "\e6b4"; - color: inherit; -} -.tables-tile-view-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.tables-tile-view-font .b-font:before { - content: "\e685"; - color: inherit; -} -.tables-tile-view-font:hover .b-font:before, -.tables-tile-view-font:focus .b-font:before, -.tables-tile-view-font.hover .b-font:before { - content: "\e685"; - color: inherit; -} -.tables-tile-view-font:active .b-font:before, -.tables-tile-view-font.active .b-font:before { - content: "\e685"; - color: #ffffff; -} -.tables-tile-view-font.native .b-font:before, -.tables-tile-view-font.disabled .b-font:before { - content: "\e685"; - color: inherit; -} -.tables-relation-view-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.tables-relation-view-font .b-font:before { - content: "\e684"; - color: inherit; -} -.tables-relation-view-font:hover .b-font:before, -.tables-relation-view-font:focus .b-font:before, -.tables-relation-view-font.hover .b-font:before { - content: "\e684"; - color: inherit; -} -.tables-relation-view-font:active .b-font:before, -.tables-relation-view-font.active .b-font:before { - content: "\e684"; - color: #ffffff; -} -.tables-relation-view-font.native .b-font:before, -.tables-relation-view-font.disabled .b-font:before { - content: "\e684"; - color: inherit; -} -.add-new-table-pull-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.add-new-table-pull-down-font .b-font:before { - content: "\e62d"; - color: #ffffff; -} -.add-new-table-pull-down-font.native .b-font:before, -.add-new-table-pull-down-font.disabled .b-font:before { - content: "\e62d"; - color: #ffffff; -} -.data-link-check-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-check-font .b-font:before { - content: "\e611"; - color: #ffffff; -} -.data-link-check-font:hover .b-font:before, -.data-link-check-font:focus .b-font:before, -.data-link-check-font.hover .b-font:before { - content: "\e611"; - color: #999999; -} -.data-link-check-font:active .b-font:before, -.data-link-check-font.active .b-font:before { - content: "\e611"; - color: #3f8ce8; -} -.data-link-check-font.native .b-font:before, -.data-link-check-font.disabled .b-font:before { - content: "\e611"; - color: #ffffff; -} -.edit-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.edit-set-font .b-font:before { - content: "\e634"; - color: inherit; -} -.edit-set-font:hover .b-font:before, -.edit-set-font:focus .b-font:before, -.edit-set-font.hover .b-font:before { - content: "\e634"; - color: inherit; -} -.edit-set-font.native .b-font:before, -.edit-set-font.disabled .b-font:before { - content: "\e634"; - color: inherit; -} -.new-analysis-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.new-analysis-font .b-font:before { - content: "\e692"; - color: #ffffff; -} -.new-analysis-font:hover .b-font:before, -.new-analysis-font:focus .b-font:before, -.new-analysis-font.hover .b-font:before { - content: "\e692"; - color: #ffffff; -} -.new-analysis-font.native .b-font:before, -.new-analysis-font.disabled .b-font:before { - content: "\e692"; - color: #ffffff; -} -.data-config-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-config-font .b-font:before { - content: "\e693"; - color: #ffffff; -} -.data-config-font:hover .b-font:before, -.data-config-font:focus .b-font:before, -.data-config-font.hover .b-font:before { - content: "\e693"; - color: #ffffff; -} -.data-config-font.native .b-font:before, -.data-config-font.disabled .b-font:before { - content: "\e693"; - color: #ffffff; -} -.folder-list-view .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.folder-list-view .b-font:before { - content: "\e694"; - color: inherit; -} -.folder-list-view:hover .b-font:before, -.folder-list-view:focus .b-font:before, -.folder-list-view.hover .b-font:before { - content: "\e694"; - color: inherit; -} -.folder-list-view:active .b-font:before, -.folder-list-view.active .b-font:before { - content: "\e694"; - color: #ffffff; -} -.folder-list-view.native .b-font:before, -.folder-list-view.disabled .b-font:before { - content: "\e694"; - color: inherit; -} -.folder-card-view .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.folder-card-view .b-font:before { - content: "\e685"; - color: inherit; -} -.folder-card-view:hover .b-font:before, -.folder-card-view:focus .b-font:before, -.folder-card-view.hover .b-font:before { - content: "\e685"; - color: inherit; -} -.folder-card-view:active .b-font:before, -.folder-card-view.active .b-font:before { - content: "\e685"; - color: #ffffff; -} -.folder-card-view.native .b-font:before, -.folder-card-view.disabled .b-font:before { - content: "\e685"; - color: inherit; -} -.item-check-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.item-check-font .b-font:before { - content: "\e611"; - color: #ffffff; -} -.item-check-font:hover .b-font:before, -.item-check-font:focus .b-font:before, -.item-check-font.hover .b-font:before { - content: "\e611"; - color: #999999; -} -.item-check-font:active .b-font:before, -.item-check-font.active .b-font:before { - content: "\e611"; - color: #3f8ce8; -} -.item-check-font.native .b-font:before, -.item-check-font.disabled .b-font:before { - content: "\e611"; - color: #ffffff; -} -.table-no-sort-no-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-no-sort-no-filter-font .b-font:before { - content: "\e66a"; - color: inherit; -} -.table-no-sort-no-filter-font:hover .b-font:before, -.table-no-sort-no-filter-font:focus .b-font:before, -.table-no-sort-no-filter-font.hover .b-font:before { - content: "\e66a"; - color: inherit; -} -.table-no-sort-no-filter-font.native .b-font:before, -.table-no-sort-no-filter-font.disabled .b-font:before { - content: "\e66a"; - color: inherit; -} -.table-no-sort-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-no-sort-filter-font .b-font:before { - content: "\e66b"; - color: inherit; -} -.table-no-sort-filter-font:hover .b-font:before, -.table-no-sort-filter-font:focus .b-font:before, -.table-no-sort-filter-font.hover .b-font:before { - content: "\e66b"; - color: inherit; -} -.table-no-sort-filter-font.native .b-font:before, -.table-no-sort-filter-font.disabled .b-font:before { - content: "\e66b"; - color: inherit; -} -.table-descending-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-descending-filter-font .b-font:before { - content: "\e667"; - color: inherit; -} -.table-descending-filter-font:hover .b-font:before, -.table-descending-filter-font:focus .b-font:before, -.table-descending-filter-font.hover .b-font:before { - content: "\e667"; - color: inherit; -} -.table-descending-filter-font.native .b-font:before, -.table-descending-filter-font.disabled .b-font:before { - content: "\e667"; - color: inherit; -} -.table-ascending-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-ascending-filter-font .b-font:before { - content: "\e669"; - color: inherit; -} -.table-ascending-filter-font:hover .b-font:before, -.table-ascending-filter-font:focus .b-font:before, -.table-ascending-filter-font.hover .b-font:before { - content: "\e669"; - color: inherit; -} -.table-ascending-filter-font.native .b-font:before, -.table-ascending-filter-font.disabled .b-font:before { - content: "\e669"; - color: inherit; -} -.table-descending-no-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-descending-no-filter-font .b-font:before { - content: "\e666"; - color: inherit; -} -.table-descending-no-filter-font:hover .b-font:before, -.table-descending-no-filter-font:focus .b-font:before, -.table-descending-no-filter-font.hover .b-font:before { - content: "\e666"; - color: inherit; -} -.table-descending-no-filter-font.native .b-font:before, -.table-descending-no-filter-font.disabled .b-font:before { - content: "\e666"; - color: inherit; -} -.table-ascending-no-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-ascending-no-filter-font .b-font:before { - content: "\e668"; - color: inherit; -} -.table-ascending-no-filter-font:hover .b-font:before, -.table-ascending-no-filter-font:focus .b-font:before, -.table-ascending-no-filter-font.hover .b-font:before { - content: "\e668"; - color: inherit; -} -.table-ascending-no-filter-font.native .b-font:before, -.table-ascending-no-filter-font.disabled .b-font:before { - content: "\e668"; - color: inherit; -} -.table-no-sort-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-no-sort-font .b-font:before { - content: "\e66c"; - color: inherit; -} -.table-no-sort-font:hover .b-font:before, -.table-no-sort-font:focus .b-font:before, -.table-no-sort-font.hover .b-font:before { - content: "\e66c"; - color: inherit; -} -.table-no-sort-font.native .b-font:before, -.table-no-sort-font.disabled .b-font:before { - content: "\e66c"; - color: inherit; -} -.primary-key-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.primary-key-font .b-font:before { - content: "\e67d;"; - color: inherit; -} -.primary-key-font:hover .b-font:before, -.primary-key-font:focus .b-font:before, -.primary-key-font.hover .b-font:before { - content: "\e67d;"; - color: inherit; -} -.primary-key-font.native .b-font:before, -.primary-key-font.disabled .b-font:before { - content: "\e67d;"; - color: inherit; -} -.table-open-row-style-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-open-row-style-font .b-font:before { - content: "\e671"; - color: inherit; -} -.table-open-row-style-font:hover .b-font:before, -.table-open-row-style-font:focus .b-font:before, -.table-open-row-style-font.hover .b-font:before { - content: "\e671"; - color: inherit; -} -.table-open-row-style-font:active .b-font:before, -.table-open-row-style-font.active .b-font:before { - content: "\e671"; - color: #3f8ce8; -} -.table-open-row-style-font.native .b-font:before, -.table-open-row-style-font.disabled .b-font:before { - content: "\e671"; - color: inherit; -} -.table-open-col-style-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-open-col-style-font .b-font:before { - content: "\e672"; - color: inherit; -} -.table-open-col-style-font:hover .b-font:before, -.table-open-col-style-font:focus .b-font:before, -.table-open-col-style-font.hover .b-font:before { - content: "\e672"; - color: inherit; -} -.table-open-col-style-font:active .b-font:before, -.table-open-col-style-font.active .b-font:before { - content: "\e672"; - color: #3f8ce8; -} -.table-open-col-style-font.native .b-font:before, -.table-open-col-style-font.disabled .b-font:before { - content: "\e672"; - color: inherit; -} -.calculate-function-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.calculate-function-font .b-font:before { - content: "\e6a3"; - color: #666666; -} -.calculate-function-font.native .b-font:before, -.calculate-function-font.disabled .b-font:before { - content: "\e6a3"; - color: #666666; -} -.path-set-doubt .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.path-set-doubt .b-font:before { - content: "\e69a"; - color: #3f8ce8; -} -.path-set-doubt.native .b-font:before, -.path-set-doubt.disabled .b-font:before { - content: "\e69a"; - color: #3f8ce8; -} -.rename-report-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.rename-report-font .b-font:before { - content: "\e687"; - color: #3f8ce8; -} -.rename-report-font.native .b-font:before, -.rename-report-font.disabled .b-font:before { - content: "\e687"; - color: #3f8ce8; -} -.remove-report-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.remove-report-font .b-font:before { - content: "\e605"; - color: #e85050; -} -.remove-report-font.native .b-font:before, -.remove-report-font.disabled .b-font:before { - content: "\e605"; - color: #e85050; -} -.excel-upload-tip-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-upload-tip-font .b-font:before { - content: "\e69e"; - color: #3f8ce8; -} -.excel-upload-tip-font.native .b-font:before, -.excel-upload-tip-font.disabled .b-font:before { - content: "\e69e"; - color: #3f8ce8; -} -.excel-field-type-string-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-field-type-string-font .b-font:before { - content: "\e622"; - color: #3f8ce8; -} -.excel-field-type-string-font.native .b-font:before, -.excel-field-type-string-font.disabled .b-font:before { - content: "\e622"; - color: #3f8ce8; -} -.excel-field-type-number-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-field-type-number-font .b-font:before { - content: "\e61f"; - color: #3f8ce8; -} -.excel-field-type-number-font.native .b-font:before, -.excel-field-type-number-font.disabled .b-font:before { - content: "\e61f"; - color: #3f8ce8; -} -.excel-field-type-date-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-field-type-date-font .b-font:before { - content: "\e61b"; - color: #3f8ce8; -} -.excel-field-type-date-font.native .b-font:before, -.excel-field-type-date-font.disabled .b-font:before { - content: "\e61b"; - color: #3f8ce8; -} -.excel-field-type-pull-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-field-type-pull-down-font .b-font:before { - content: "\e608"; - color: #3f8ce8; -} -.excel-field-type-pull-down-font.native .b-font:before, -.excel-field-type-pull-down-font.disabled .b-font:before { - content: "\e608"; - color: #3f8ce8; -} -.data-link-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-set-font .b-font:before { - content: "\e678"; - color: #3f8ce8; -} -.data-link-set-font.native .b-font:before, -.data-link-set-font.disabled .b-font:before { - content: "\e678"; - color: #3f8ce8; -} -.data-link-test-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-test-font .b-font:before { - content: "\e686"; - color: #3f8ce8; -} -.data-link-test-font.native .b-font:before, -.data-link-test-font.disabled .b-font:before { - content: "\e686"; - color: #3f8ce8; -} -.data-link-copy-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-copy-font .b-font:before { - content: "\e610"; - color: #58cc7d; -} -.data-link-copy-font.native .b-font:before, -.data-link-copy-font.disabled .b-font:before { - content: "\e610"; - color: #58cc7d; -} -.data-link-remove-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-remove-font .b-font:before { - content: "\e600"; - color: #e85050; -} -.data-link-remove-font.native .b-font:before, -.data-link-remove-font.disabled .b-font:before { - content: "\e600"; - color: #e85050; -} -.cube-path-confirm-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.cube-path-confirm-font .b-font:before { - content: "\e64e"; - color: #fbb03b; -} -.cube-path-confirm-font.native .b-font:before, -.cube-path-confirm-font.disabled .b-font:before { - content: "\e64e"; - color: #fbb03b; -} -.target-style-less-dot-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-less-dot-font .b-font:before { - content: "\e6a2"; - color: #e85050; -} -.target-style-less-dot-font.native .b-font:before, -.target-style-less-dot-font.disabled .b-font:before { - content: "\e6a2"; - color: #e85050; -} -.target-style-equal-dot-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-equal-dot-font .b-font:before { - content: "\e6a2"; - color: #f9a744; -} -.target-style-equal-dot-font.native .b-font:before, -.target-style-equal-dot-font.disabled .b-font:before { - content: "\e6a2"; - color: #f9a744; -} -.target-style-more-dot-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-more-dot-font .b-font:before { - content: "\e6a2"; - color: #58cc7d; -} -.target-style-more-dot-font.native .b-font:before, -.target-style-more-dot-font.disabled .b-font:before { - content: "\e6a2"; - color: #58cc7d; -} -.target-style-less-arrow-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-less-arrow-font .b-font:before { - content: "\e6a1"; - color: #e85050; -} -.target-style-less-arrow-font.native .b-font:before, -.target-style-less-arrow-font.disabled .b-font:before { - content: "\e6a1"; - color: #e85050; -} -.target-style-equal-arrow-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-equal-arrow-font .b-font:before { - content: "\e69f"; - color: #f9a744; -} -.target-style-equal-arrow-font.native .b-font:before, -.target-style-equal-arrow-font.disabled .b-font:before { - content: "\e69f"; - color: #f9a744; -} -.target-style-more-arrow-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-more-arrow-font .b-font:before { - content: "\e6a0"; - color: #58cc7d; -} -.target-style-more-arrow-font.native .b-font:before, -.target-style-more-arrow-font.disabled .b-font:before { - content: "\e6a0"; - color: #58cc7d; -} -.calculate-target-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.calculate-target-font .b-font:before { - content: "\e6a3"; - color: inherit; -} -.calculate-target-font.native .b-font:before, -.calculate-target-font.disabled .b-font:before { - content: "\e6a3"; - color: inherit; -} -.task-list-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.task-list-font .b-font:before { - content: "\e694"; - color: #3f8ce8; -} -.task-list-font.native .b-font:before, -.task-list-font.disabled .b-font:before { - content: "\e694"; - color: #3f8ce8; -} -.widget-combo-detail-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-detail-font .b-font:before { - content: "\e697"; - color: #3f8ce8; -} -.widget-combo-detail-font.native .b-font:before, -.widget-combo-detail-font.disabled .b-font:before { - content: "\e697"; - color: #3f8ce8; -} -.widget-combo-pull-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-pull-down-font .b-font:before { - content: "\e6ab"; - color: #3f8ce8; -} -.widget-combo-pull-down-font.native .b-font:before, -.widget-combo-pull-down-font.disabled .b-font:before { - content: "\e6ab"; - color: #3f8ce8; -} -.widget-tools-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-tools-filter-font .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.widget-tools-filter-font.native .b-font:before, -.widget-tools-filter-font.disabled .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.widget-tools-clear-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-tools-clear-font .b-font:before { - content: "\e63d"; - color: #3f8ce8; -} -.widget-tools-clear-font.native .b-font:before, -.widget-tools-clear-font.disabled .b-font:before { - content: "\e63d"; - color: #3f8ce8; -} -.widget-tools-export-excel-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-tools-export-excel-font .b-font:before { - content: "\e635"; - color: #3f8ce8; -} -.widget-tools-export-excel-font.native .b-font:before, -.widget-tools-export-excel-font.disabled .b-font:before { - content: "\e635"; - color: #3f8ce8; -} -.widget-combo-expand-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-expand-font .b-font:before { - content: "\e697"; - color: inherit; -} -.widget-combo-expand-font.native .b-font:before, -.widget-combo-expand-font.disabled .b-font:before { - content: "\e697"; - color: inherit; -} -.widget-combo-linkage-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-linkage-font .b-font:before { - content: "\e63c"; - color: inherit; -} -.widget-combo-linkage-font.native .b-font:before, -.widget-combo-linkage-font.disabled .b-font:before { - content: "\e63c"; - color: inherit; -} -.widget-combo-rename-edit-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-rename-edit-font .b-font:before { - content: "\e670"; - color: inherit; -} -.widget-combo-rename-edit-font.native .b-font:before, -.widget-combo-rename-edit-font.disabled .b-font:before { - content: "\e670"; - color: inherit; -} -.widget-combo-show-title-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-show-title-font .b-font:before { - content: "\e64c"; - color: inherit; -} -.widget-combo-show-title-font.native .b-font:before, -.widget-combo-show-title-font.disabled .b-font:before { - content: "\e64c"; - color: inherit; -} -.widget-combo-title-left-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-title-left-font .b-font:before { - content: "\e654"; - color: inherit; -} -.widget-combo-title-left-font.native .b-font:before, -.widget-combo-title-left-font.disabled .b-font:before { - content: "\e654"; - color: inherit; -} -.widget-combo-title-center-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-title-center-font .b-font:before { - content: "\e64f"; - color: inherit; -} -.widget-combo-title-center-font.native .b-font:before, -.widget-combo-title-center-font.disabled .b-font:before { - content: "\e64f"; - color: inherit; -} -.widget-combo-show-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-show-filter-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.widget-combo-show-filter-font.native .b-font:before, -.widget-combo-show-filter-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.widget-combo-export-excel-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-export-excel-font .b-font:before { - content: "\e635"; - color: inherit; -} -.widget-combo-export-excel-font.native .b-font:before, -.widget-combo-export-excel-font.disabled .b-font:before { - content: "\e635"; - color: inherit; -} -.widget-combo-copy .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-copy .b-font:before { - content: "\e610"; - color: inherit; -} -.widget-combo-copy.native .b-font:before, -.widget-combo-copy.disabled .b-font:before { - content: "\e610"; - color: inherit; -} -.widget-combo-delete .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-delete .b-font:before { - content: "\e605"; - color: inherit; -} -.widget-combo-delete.native .b-font:before, -.widget-combo-delete.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.widget-combo-asc-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-asc-font .b-font:before { - content: "\e63f"; - color: inherit; -} -.widget-combo-asc-font.native .b-font:before, -.widget-combo-asc-font.disabled .b-font:before { - content: "\e63f"; - color: inherit; -} -.widget-combo-des-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-des-font .b-font:before { - content: "\e63a"; - color: inherit; -} -.widget-combo-des-font.native .b-font:before, -.widget-combo-des-font.disabled .b-font:before { - content: "\e63a"; - color: inherit; -} -.widget-combo-clear-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-clear-font .b-font:before { - content: "\e63d"; - color: inherit; +.pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.widget-combo-clear-font.native .b-font:before, -.widget-combo-clear-font.disabled .b-font:before { - content: "\e63d"; +.pull-down-font .b-font:before { + content: "\e608"; color: inherit; } -.detail-table-popup-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.detail-table-popup-font .b-font:before { - content: "\e6ac"; +.pull-down-font.native .b-font:before, +.pull-down-font.disabled .b-font:before { + content: "\e608"; color: inherit; } -.detail-table-popup-font:hover .b-font:before, -.detail-table-popup-font:focus .b-font:before, -.detail-table-popup-font.hover .b-font:before { - content: "\e6ac"; - color: #3f8ce8; +.pull-down-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.detail-table-popup-font.native .b-font:before, -.detail-table-popup-font.disabled .b-font:before { - content: "\e6ac"; +.pull-down-h-font .b-font:before { + content: "\e608"; color: inherit; } -.chart-drill-up .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-drill-up .b-font:before { - content: "\e6ad"; +.pull-down-h-font:hover .b-font:before, +.pull-down-h-font:focus .b-font:before, +.pull-down-h-font.hover .b-font:before { + content: "\e608"; color: inherit; } -.chart-drill-up.native .b-font:before, -.chart-drill-up.disabled .b-font:before { - content: "\e6ad"; +.pull-down-h-font.native .b-font:before, +.pull-down-h-font.disabled .b-font:before { + content: "\e608"; color: inherit; } -.chart-drill-down .b-font { +.pull-down-ha-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.chart-drill-down .b-font:before { +.pull-down-ha-font .b-font:before { content: "\e608"; color: inherit; } -.chart-drill-down.native .b-font:before, -.chart-drill-down.disabled .b-font:before { +.pull-down-ha-font:hover .b-font:before, +.pull-down-ha-font:focus .b-font:before, +.pull-down-ha-font.hover .b-font:before { content: "\e608"; color: inherit; } -.report-filter-open-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-filter-open-font .b-font:before { - content: "\e648"; - color: inherit; -} -.report-filter-open-font.native .b-font:before, -.report-filter-open-font.disabled .b-font:before { - content: "\e648"; - color: inherit; -} -.report-filter-close-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-filter-close-font .b-font:before { - content: "\e645"; - color: inherit; +.pull-down-ha-font:active .b-font:before, +.pull-down-ha-font.active .b-font:before { + content: "\e608"; + color: #3f8ce8; } -.report-filter-close-font.native .b-font:before, -.report-filter-close-font.disabled .b-font:before { - content: "\e645"; +.pull-down-ha-font.native .b-font:before, +.pull-down-ha-font.disabled .b-font:before { + content: "\e608"; color: inherit; } -.report-apply-hangout-normal-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-apply-hangout-normal-font .b-font:before { - content: "\e66d"; - color: #999999; -} -.report-apply-hangout-normal-font.native .b-font:before, -.report-apply-hangout-normal-font.disabled .b-font:before { - content: "\e66d"; - color: #999999; -} -.report-apply-hangout-ing-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.report-apply-hangout-ing-font .b-font:before { - content: "\e66d"; +.check-font .b-font:before { + content: "\e611"; color: #3f8ce8; } -.report-apply-hangout-ing-font.native .b-font:before, -.report-apply-hangout-ing-font.disabled .b-font:before { - content: "\e66d"; +.check-font.native .b-font:before, +.check-font.disabled .b-font:before { + content: "\e611"; color: #3f8ce8; } -.report-hangout-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-hangout-font .b-font:before { - content: "\e64b"; - color: #58cc7d; -} -.report-hangout-font.native .b-font:before, -.report-hangout-font.disabled .b-font:before { - content: "\e64b"; - color: #58cc7d; -} -.report-cancel-hangout-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.item-check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.report-cancel-hangout-font .b-font:before { - content: "\e64b"; - color: #999999; +.item-check-font .b-font:before { + content: "\e611"; + color: #ffffff; } -.report-cancel-hangout-font.native .b-font:before, -.report-cancel-hangout-font.disabled .b-font:before { - content: "\e64b"; +.item-check-font:hover .b-font:before, +.item-check-font:focus .b-font:before, +.item-check-font.hover .b-font:before { + content: "\e611"; color: #999999; } -.report-hangout-ing-mark-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-hangout-ing-mark-font .b-font:before { - content: "\e64b"; - color: #3f8ce8; -} -.report-hangout-ing-mark-font.native .b-font:before, -.report-hangout-ing-mark-font.disabled .b-font:before { - content: "\e64b"; - color: #3f8ce8; -} -.delete-font-package .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-font-package .b-font:before { - content: "\e605"; - color: #e85050; -} -.delete-font-package.native .b-font:before, -.delete-font-package.disabled .b-font:before { - content: "\e605"; - color: #e85050; -} -.delete-h-font-package .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-h-font-package .b-font:before { - content: "\e605"; - color: #e85050; -} -.delete-h-font-package.native .b-font:before, -.delete-h-font-package.disabled .b-font:before { - content: "\e605"; - color: #e85050; -} -.rename-font-package .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.rename-font-package .b-font:before { - content: "\e687"; - color: #3f8ce8; -} -.rename-font-package.native .b-font:before, -.rename-font-package.disabled .b-font:before { - content: "\e687"; - color: #3f8ce8; -} -.package-selected-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.package-selected-font .b-font:before { - content: "\e6b3"; - color: #3f8ce8; -} -.package-selected-font.native .b-font:before, -.package-selected-font.disabled .b-font:before { - content: "\e6b3"; - color: #3f8ce8; -} -.package-not-selected-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.package-not-selected-font .b-font:before { - content: "\e6b2"; - color: #3f8ce8; -} -.package-not-selected-font.native .b-font:before, -.package-not-selected-font.disabled .b-font:before { - content: "\e6b2"; - color: #3f8ce8; -} -.report-detail-info-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-detail-info-font .b-font:before { - content: "\e66e"; - color: #f07d0a; -} -.report-detail-info-font.native .b-font:before, -.report-detail-info-font.disabled .b-font:before { - content: "\e66e"; - color: #f07d0a; -} -.report-rename-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-rename-font .b-font:before { - content: "\e670"; - color: #58cc7d; -} -.report-rename-font.native .b-font:before, -.report-rename-font.disabled .b-font:before { - content: "\e670"; - color: #58cc7d; -} -.report-cancel-share-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-cancel-share-font .b-font:before { - content: "\e6b5"; - color: #3f8ce8; -} -.report-cancel-share-font.native .b-font:before, -.report-cancel-share-font.disabled .b-font:before { - content: "\e6b5"; +.item-check-font:active .b-font:before, +.item-check-font.active .b-font:before { + content: "\e611"; color: #3f8ce8; } -.drill-push-up-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.item-check-font.native .b-font:before, +.item-check-font.disabled .b-font:before { + content: "\e611"; + color: #ffffff; } -.drill-push-up-font .b-font:before { - content: "\e630"; - color: inherit; +.primary-key-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.drill-push-up-font.native .b-font:before, -.drill-push-up-font.disabled .b-font:before { - content: "\e630"; +.primary-key-font .b-font:before { + content: "\e67d;"; color: inherit; } -.drill-push-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.drill-push-down-font .b-font:before { - content: "\e62d"; +.primary-key-font:hover .b-font:before, +.primary-key-font:focus .b-font:before, +.primary-key-font.hover .b-font:before { + content: "\e67d;"; color: inherit; } -.drill-push-down-font.native .b-font:before, -.drill-push-down-font.disabled .b-font:before { - content: "\e62d"; +.primary-key-font.native .b-font:before, +.primary-key-font.disabled .b-font:before { + content: "\e67d;"; color: inherit; } .drag-tag-font .b-font { diff --git a/src/case/button/item.multiselect.js b/src/case/button/item.multiselect.js index a66055735..b7b7eed42 100644 --- a/src/case/button/item.multiselect.js +++ b/src/case/button/item.multiselect.js @@ -4,7 +4,7 @@ * @type {*|void|Object} */ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { - _defaultConfig: function() { + _defaultConfig: function () { return BI.extend(BI.MultiSelectItem.superclass._defaultConfig.apply(this, arguments), { extraCls: "bi-multi-select-item", height: 25, @@ -13,7 +13,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { } }) }, - _init : function() { + _init: function () { BI.MultiSelectItem.superclass._init.apply(this, arguments); var self = this, o = this.options; this.checkbox = BI.createWidget({ @@ -33,8 +33,8 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { value: o.value, py: o.py }); - this.checkbox.on(BI.Controller.EVENT_CHANGE, function(type){ - if(type === BI.Events.CLICK) { + this.checkbox.on(BI.Controller.EVENT_CHANGE, function (type) { + if (type === BI.Events.CLICK) { self.setSelected(self.isSelected()); } }); @@ -46,7 +46,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { type: "bi.center_adapt", items: [this.checkbox], width: 36 - } ,this.text) + }, this.text) })))); }, @@ -55,20 +55,23 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { this.checkbox.setEnable(v); }, - doRedMark: function(){ + doRedMark: function () { this.text.doRedMark.apply(this.text, arguments); }, - unRedMark: function(){ + unRedMark: function () { this.text.unRedMark.apply(this.text, arguments); }, - doClick: function(){ + doClick: function () { BI.MultiSelectItem.superclass.doClick.apply(this, arguments); this.checkbox.setSelected(this.isSelected()); + if (this.isValid()) { + this.fireEvent(BI.MultiSelectItem.EVENT_CHANGE, this.getValue(), this); + } }, - setSelected: function(v){ + setSelected: function (v) { BI.MultiSelectItem.superclass.setSelected.apply(this, arguments); this.checkbox.setSelected(v); } diff --git a/src/css/base/single/button/button.css b/src/css/base/single/button/button.css index 72c8297ee..fbf356999 100644 --- a/src/css/base/single/button/button.css +++ b/src/css/base/single/button/button.css @@ -52,7 +52,7 @@ .bi-button.button-common.disabled, .bi-button.button-success.disabled, .bi-button.button-warning.disabled { - background: #c4c6c6 !important; + background: #cccccc !important; border-color: #c4c6c6 !important; } .bi-button.button-common.disabled, diff --git a/src/css/core/utils/common.css b/src/css/core/utils/common.css index 0f4970317..e370a07fb 100644 --- a/src/css/core/utils/common.css +++ b/src/css/core/utils/common.css @@ -111,14 +111,15 @@ background: #ffffff; } .bi-z-index-mask { - background-color: rgba(26, 26, 26, 0.5); color: #ffffff; + background-color: rgba(26, 26, 26, 0.5); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#801a1a1a,endColorstr=#801a1a1a); } .bi-list-item:hover, .bi-list-item.hover { - background-color: #eff1f4; color: #1a1a1a; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item.disabled, .bi-list-item.disabled:hover, @@ -133,8 +134,9 @@ } .bi-theme-dark .bi-list-item:hover, .bi-theme-dark .bi-list-item.hover { - background-color: #191b2b; color: #ffffff; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item.disabled, .bi-theme-dark .bi-list-item.disabled:hover, @@ -147,9 +149,12 @@ .bi-theme-dark .bi-list-item.disabled:active .bi-high-light { color: #666666 !important; } +.bi-list-item-simple { + color: #999999; +} .bi-list-item-simple:hover, .bi-list-item-simple.hover { - color: #1a1a1a; + color: #3f8ce8; } .bi-list-item-simple.disabled, .bi-list-item-simple.disabled:hover, @@ -161,20 +166,6 @@ .bi-list-item-simple.disabled:active .bi-high-light { color: #cccccc !important; } -.bi-theme-dark .bi-list-item-simple:hover, -.bi-theme-dark .bi-list-item-simple.hover { - color: #ffffff; -} -.bi-theme-dark .bi-list-item-simple.disabled, -.bi-theme-dark .bi-list-item-simple.disabled:hover, -.bi-theme-dark .bi-list-item-simple.disabled:active { - color: #666666 !important; -} -.bi-theme-dark .bi-list-item-simple.disabled .bi-high-light, -.bi-theme-dark .bi-list-item-simple.disabled:hover .bi-high-light, -.bi-theme-dark .bi-list-item-simple.disabled:active .bi-high-light { - color: #666666 !important; -} .bi-list-item-effect:hover { color: #1a1a1a; } @@ -213,12 +204,14 @@ .bi-list-item-active:hover, .bi-list-item-active.hover { color: #1a1a1a; - background-color: #eff1f4; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item-active.active, .bi-list-item-active:active { color: #3f8ce8; - background-color: #eff1f4; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item-active.disabled, .bi-list-item-active.disabled:hover, @@ -233,13 +226,15 @@ } .bi-theme-dark .bi-list-item-active:hover, .bi-theme-dark .bi-list-item-active.hover { - background-color: #191b2b; color: #ffffff; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item-active.active, .bi-theme-dark .bi-list-item-active:active { color: #3f8ce8; - background-color: #191b2b; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item-active.disabled, .bi-theme-dark .bi-list-item-active.disabled:hover, @@ -254,8 +249,9 @@ } .bi-list-item-select:hover, .bi-list-item-select.hover { - color: #3f8ce8; - background-color: #eff1f4; + color: #1a1a1a; + background-color: rgba(26, 26, 26, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0d1a1a1a,endColorstr=#0d1a1a1a); } .bi-list-item-select:active, .bi-list-item-select.active { @@ -279,8 +275,9 @@ } .bi-theme-dark .bi-list-item-select:hover, .bi-theme-dark .bi-list-item-select.hover { - color: #3f8ce8; - background-color: #191b2b; + color: #ffffff; + background-color: rgba(255, 255, 255, 0.05); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0dffffff,endColorstr=#0dffffff); } .bi-theme-dark .bi-list-item-select:active, .bi-theme-dark .bi-list-item-select.active { @@ -302,40 +299,3 @@ .bi-theme-dark .bi-list-item-select.disabled:active .bi-high-light { color: #666666 !important; } -.bi-list-item-choose:hover { - color: #1a1a1a; -} -.bi-list-item-choose:active, -.bi-list-item-choose.active { - color: #ffffff; - background-color: #3f8ce8; -} -.bi-list-item-choose:active .bi-high-light, -.bi-list-item-choose.active .bi-high-light { - color: #ffffff; -} -.bi-list-item-choose.disabled, -.bi-list-item-choose.disabled:hover, -.bi-list-item-choose.disabled:active { - color: #cccccc !important; - background-color: transparent !important; -} -.bi-list-item-choose.disabled .bi-high-light, -.bi-list-item-choose.disabled:hover .bi-high-light, -.bi-list-item-choose.disabled:active .bi-high-light { - color: #cccccc !important; -} -.bi-theme-dark .bi-list-item-choose:hover { - color: #ffffff; -} -.bi-theme-dark .bi-list-item-choose.disabled, -.bi-theme-dark .bi-list-item-choose.disabled:hover, -.bi-theme-dark .bi-list-item-choose.disabled:active { - color: #666666 !important; - background-color: transparent !important; -} -.bi-theme-dark .bi-list-item-choose.disabled .bi-high-light, -.bi-theme-dark .bi-list-item-choose.disabled:hover .bi-high-light, -.bi-theme-dark .bi-list-item-choose.disabled:active .bi-high-light { - color: #666666 !important; -} diff --git a/src/css/resource/font.css b/src/css/resource/font.css index e88b35ca5..9015e9501 100644 --- a/src/css/resource/font.css +++ b/src/css/resource/font.css @@ -12,18 +12,6 @@ content: "\e600"; color: inherit; } -.close-red-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.close-red-font .b-font:before { - content: "\e600"; - color: #e85050; -} -.close-red-font.native .b-font:before, -.close-red-font.disabled .b-font:before { - content: "\e600"; - color: #e85050; -} .close-h-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -42,32 +30,6 @@ content: "\e600"; color: inherit; } -.close-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.close-e-font .b-font:before { - content: "\e600"; - color: inherit; -} -.close-e-font:hover .b-font:before, -.close-e-font:focus .b-font:before, -.close-e-font.hover .b-font:before { - content: "\e600"; - color: inherit; -} -.close-e-font.active .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.close-e-font:active .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.close-e-font.native .b-font:before, -.close-e-font.disabled .b-font:before { - content: "\e600"; - color: inherit; -} .close-ha-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -109,71 +71,6 @@ content: "\e600"; color: inherit; } -.trigger-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.trigger-font .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-font.native .b-font:before, -.trigger-font.disabled .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.trigger-h-font .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-h-font:hover .b-font:before, -.trigger-h-font:focus .b-font:before, -.trigger-h-font.hover .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-h-font.native .b-font:before, -.trigger-h-font.disabled .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.trigger-ha-font .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-ha-font:hover .b-font:before, -.trigger-ha-font:focus .b-font:before, -.trigger-ha-font.hover .b-font:before { - content: "\e603"; - color: inherit; -} -.trigger-ha-font:active .b-font:before, -.trigger-ha-font.active .b-font:before { - content: "\e603"; - color: #3f8ce8; -} -.trigger-ha-font.native .b-font:before, -.trigger-ha-font.disabled .b-font:before { - content: "\e603"; - color: inherit; -} -.pre-page-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pre-page-font .b-font:before { - content: "\e601"; - color: inherit; -} -.pre-page-font.native .b-font:before, -.pre-page-font.disabled .b-font:before { - content: "\e601"; - color: inherit; -} .pre-page-h-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -192,41 +89,6 @@ content: "\e601"; color: inherit; } -.pre-page-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pre-page-ha-font .b-font:before { - content: "\e601"; - color: inherit; -} -.pre-page-ha-font:hover .b-font:before, -.pre-page-ha-font:focus .b-font:before, -.pre-page-ha-font.hover .b-font:before { - content: "\e601"; - color: inherit; -} -.pre-page-ha-font:active .b-font:before, -.pre-page-ha-font.active .b-font:before { - content: "\e601"; - color: #3f8ce8; -} -.pre-page-ha-font.native .b-font:before, -.pre-page-ha-font.disabled .b-font:before { - content: "\e601"; - color: inherit; -} -.next-page-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.next-page-font .b-font:before { - content: "\e602"; - color: inherit; -} -.next-page-font.native .b-font:before, -.next-page-font.disabled .b-font:before { - content: "\e602"; - color: inherit; -} .next-page-h-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -245,29 +107,6 @@ content: "\e602"; color: inherit; } -.next-page-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.next-page-ha-font .b-font:before { - content: "\e602"; - color: inherit; -} -.next-page-ha-font:hover .b-font:before, -.next-page-ha-font:focus .b-font:before, -.next-page-ha-font.hover .b-font:before { - content: "\e602"; - color: inherit; -} -.next-page-ha-font:active .b-font:before, -.next-page-ha-font.active .b-font:before { - content: "\e602"; - color: #3f8ce8; -} -.next-page-ha-font.native .b-font:before, -.next-page-ha-font.disabled .b-font:before { - content: "\e602"; - color: inherit; -} .search-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -280,180 +119,6 @@ content: "\e604"; color: inherit; } -.search-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.search-h-font .b-font:before { - content: "\e604"; - color: inherit; -} -.search-h-font:hover .b-font:before, -.search-h-font:focus .b-font:before, -.search-h-font.hover .b-font:before { - content: "\e604"; - color: inherit; -} -.search-h-font.native .b-font:before, -.search-h-font.disabled .b-font:before { - content: "\e604"; - color: inherit; -} -.search-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.search-ha-font .b-font:before { - content: "\e604"; - color: inherit; -} -.search-ha-font:hover .b-font:before, -.search-ha-font:focus .b-font:before, -.search-ha-font.hover .b-font:before { - content: "\e604"; - color: inherit; -} -.search-ha-font:active .b-font:before, -.search-ha-font.active .b-font:before { - content: "\e604"; - color: #3f8ce8; -} -.search-ha-font.native .b-font:before, -.search-ha-font.disabled .b-font:before { - content: "\e604"; - color: inherit; -} -.share-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.share-font .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-font.native .b-font:before, -.share-font.disabled .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.share-h-font .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-h-font:hover .b-font:before, -.share-h-font:focus .b-font:before, -.share-h-font.hover .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-h-font.native .b-font:before, -.share-h-font.disabled .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.share-ha-font .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-ha-font:hover .b-font:before, -.share-ha-font:focus .b-font:before, -.share-ha-font.hover .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-ha-font:active .b-font:before, -.share-ha-font.active .b-font:before { - content: "\e65a"; - color: #3f8ce8; -} -.share-ha-font.native .b-font:before, -.share-ha-font.disabled .b-font:before { - content: "\e65a"; - color: inherit; -} -/**维度/指标 下拉列表图标字体 ~begin~**/ -.delete-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-font.native .b-font:before, -.delete-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-h-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-h-font:hover .b-font:before, -.delete-h-font:focus .b-font:before, -.delete-h-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-h-font.native .b-font:before, -.delete-h-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-ha-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-ha-font:hover .b-font:before, -.delete-ha-font:focus .b-font:before, -.delete-ha-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-ha-font:active .b-font:before, -.delete-ha-font.active .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.delete-ha-font.native .b-font:before, -.delete-ha-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-e-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-e-font:hover .b-font:before, -.delete-e-font:focus .b-font:before, -.delete-e-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-e-font.active .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.delete-e-font:active .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.delete-e-font.native .b-font:before, -.delete-e-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} .dot-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } @@ -770,3440 +435,230 @@ content: "\e611"; color: inherit; } -.dimension-from-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +/** dashboard组件/控件 下拉列表图标字体 ~end~**/ +.tree-node-triangle-expand-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-font .b-font:before { - content: "\e612"; +.tree-node-triangle-expand-font .b-font:before { + content: "\e608"; color: inherit; } -.dimension-from-font.native .b-font:before, -.dimension-from-font.disabled .b-font:before { - content: "\e612"; +.tree-node-triangle-expand-font.native .b-font:before, +.tree-node-triangle-expand-font.disabled .b-font:before { + content: "\e608"; color: inherit; } -.dimension-from-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.dimension-from-h-font .b-font:before { - content: "\e612"; - color: inherit; +.tree-node-triangle-collapse-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-h-font:hover .b-font:before, -.dimension-from-h-font:focus .b-font:before, -.dimension-from-h-font.hover .b-font:before { - content: "\e612"; +.tree-node-triangle-collapse-font .b-font:before { + content: "\e607"; color: inherit; } -.dimension-from-h-font.native .b-font:before, -.dimension-from-h-font.disabled .b-font:before { - content: "\e612"; +.tree-node-triangle-collapse-font.native .b-font:before, +.tree-node-triangle-collapse-font.disabled .b-font:before { + content: "\e607"; color: inherit; } -.dimension-from-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.row-pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-ha-font .b-font:before { - content: "\e612"; +.row-pre-page-h-font .b-font:before { + content: "\e6be"; color: inherit; } -.dimension-from-ha-font:hover .b-font:before, -.dimension-from-ha-font:focus .b-font:before, -.dimension-from-ha-font.hover .b-font:before { - content: "\e612"; +.row-pre-page-h-font:hover .b-font:before, +.row-pre-page-h-font:focus .b-font:before, +.row-pre-page-h-font.hover .b-font:before { + content: "\e6be"; color: inherit; } -.dimension-from-ha-font:active .b-font:before, -.dimension-from-ha-font.active .b-font:before { - content: "\e612"; - color: #3f8ce8; -} -.dimension-from-ha-font.native .b-font:before, -.dimension-from-ha-font.disabled .b-font:before { - content: "\e612"; +.row-pre-page-h-font.native .b-font:before, +.row-pre-page-h-font.disabled .b-font:before { + content: "\e6be"; color: inherit; } -.dimension-from-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.row-next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-e-font .b-font:before { - content: "\e612"; +.row-next-page-h-font .b-font:before { + content: "\e6bd"; color: inherit; } -.dimension-from-e-font:hover .b-font:before, -.dimension-from-e-font:focus .b-font:before, -.dimension-from-e-font.hover .b-font:before { - content: "\e612"; +.row-next-page-h-font:hover .b-font:before, +.row-next-page-h-font:focus .b-font:before, +.row-next-page-h-font.hover .b-font:before { + content: "\e6bd"; color: inherit; } -.dimension-from-e-font.active .b-font:before { - content: "\e612"; - color: #3f8ce8; +.row-next-page-h-font.native .b-font:before, +.row-next-page-h-font.disabled .b-font:before { + content: "\e6bd"; + color: inherit; } -.dimension-from-e-font:active .b-font:before { - content: "\e612"; - color: #3f8ce8; +.column-pre-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.dimension-from-e-font.native .b-font:before, -.dimension-from-e-font.disabled .b-font:before { - content: "\e612"; +.column-pre-page-h-font .b-font:before { + content: "\e6bc"; color: inherit; } -.chart-type-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-type-font .b-font:before { - content: "\e613"; +.column-pre-page-h-font:hover .b-font:before, +.column-pre-page-h-font:focus .b-font:before, +.column-pre-page-h-font.hover .b-font:before { + content: "\e6bc"; color: inherit; } -.chart-type-font.native .b-font:before, -.chart-type-font.disabled .b-font:before { - content: "\e613"; +.column-pre-page-h-font.native .b-font:before, +.column-pre-page-h-font.disabled .b-font:before { + content: "\e6bc"; color: inherit; } -.chart-type-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.column-next-page-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.chart-type-h-font .b-font:before { - content: "\e613"; +.column-next-page-h-font .b-font:before { + content: "\e6bb"; color: inherit; } -.chart-type-h-font:hover .b-font:before, -.chart-type-h-font:focus .b-font:before, -.chart-type-h-font.hover .b-font:before { - content: "\e613"; +.column-next-page-h-font:hover .b-font:before, +.column-next-page-h-font:focus .b-font:before, +.column-next-page-h-font.hover .b-font:before { + content: "\e6bb"; color: inherit; } -.chart-type-h-font.native .b-font:before, -.chart-type-h-font.disabled .b-font:before { - content: "\e613"; +.column-next-page-h-font.native .b-font:before, +.column-next-page-h-font.disabled .b-font:before { + content: "\e6bb"; color: inherit; } -.chart-type-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.trigger-triangle-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.chart-type-ha-font .b-font:before { - content: "\e613"; - color: inherit; +.trigger-triangle-font .b-font:before { + content: "\e66a"; + color: #999999; } -.chart-type-ha-font:hover .b-font:before, -.chart-type-ha-font:focus .b-font:before, -.chart-type-ha-font.hover .b-font:before { - content: "\e613"; - color: inherit; +.trigger-triangle-font:hover .b-font:before, +.trigger-triangle-font:focus .b-font:before, +.trigger-triangle-font.hover .b-font:before { + content: "\e66a"; + color: #999999; } -.chart-type-ha-font:active .b-font:before, -.chart-type-ha-font.active .b-font:before { - content: "\e613"; +.trigger-triangle-font:active .b-font:before, +.trigger-triangle-font.active .b-font:before { + content: "\e66a"; color: #3f8ce8; } -.chart-type-ha-font.native .b-font:before, -.chart-type-ha-font.disabled .b-font:before { - content: "\e613"; - color: inherit; -} -.chart-type-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.trigger-triangle-font.native .b-font:before, +.trigger-triangle-font.disabled .b-font:before { + content: "\e66a"; + color: #999999; } -.chart-type-e-font .b-font:before { - content: "\e613"; - color: inherit; -} -.chart-type-e-font:hover .b-font:before, -.chart-type-e-font:focus .b-font:before, -.chart-type-e-font.hover .b-font:before { - content: "\e613"; - color: inherit; -} -.chart-type-e-font.active .b-font:before { - content: "\e613"; - color: #3f8ce8; -} -.chart-type-e-font:active .b-font:before { - content: "\e613"; - color: #3f8ce8; -} -.chart-type-e-font.native .b-font:before, -.chart-type-e-font.disabled .b-font:before { - content: "\e613"; - color: inherit; -} -.style-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.style-set-font .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-font.native .b-font:before, -.style-set-font.disabled .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.style-set-h-font .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-h-font:hover .b-font:before, -.style-set-h-font:focus .b-font:before, -.style-set-h-font.hover .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-h-font.native .b-font:before, -.style-set-h-font.disabled .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.style-set-ha-font .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-ha-font:hover .b-font:before, -.style-set-ha-font:focus .b-font:before, -.style-set-ha-font.hover .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-ha-font:active .b-font:before, -.style-set-ha-font.active .b-font:before { - content: "\e60c"; - color: #3f8ce8; -} -.style-set-ha-font.native .b-font:before, -.style-set-ha-font.disabled .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.style-set-e-font .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-e-font:hover .b-font:before, -.style-set-e-font:focus .b-font:before, -.style-set-e-font.hover .b-font:before { - content: "\e60c"; - color: inherit; -} -.style-set-e-font.active .b-font:before { - content: "\e60c"; - color: #3f8ce8; -} -.style-set-e-font:active .b-font:before { - content: "\e60c"; - color: #3f8ce8; -} -.style-set-e-font.native .b-font:before, -.style-set-e-font.disabled .b-font:before { - content: "\e60c"; - color: inherit; -} -.hyper-link-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.hyper-link-font .b-font:before { - content: "\e688"; - color: inherit; -} -.hyper-link-font.native .b-font:before, -.hyper-link-font.disabled .b-font:before { - content: "\e688"; - color: inherit; -} -.filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.filter-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-font.native .b-font:before, -.filter-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.filter-h-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-h-font:hover .b-font:before, -.filter-h-font:focus .b-font:before, -.filter-h-font.hover .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-h-font.native .b-font:before, -.filter-h-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.filter-ha-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-ha-font:hover .b-font:before, -.filter-ha-font:focus .b-font:before, -.filter-ha-font.hover .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-ha-font:active .b-font:before, -.filter-ha-font.active .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.filter-ha-font.native .b-font:before, -.filter-ha-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-e-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.filter-e-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-e-font:hover .b-font:before, -.filter-e-font:focus .b-font:before, -.filter-e-font.hover .b-font:before { - content: "\e60f"; - color: inherit; -} -.filter-e-font.active .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.filter-e-font:active .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.filter-e-font.native .b-font:before, -.filter-e-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.classify-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.classify-font .b-font:before { - content: "\e694"; - color: #3f8ce8; -} -.classify-font.native .b-font:before, -.classify-font.disabled .b-font:before { - content: "\e694"; - color: #3f8ce8; -} -.series-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.series-font .b-font:before { - content: "\e695"; - color: #58cc7d; -} -.series-font.native .b-font:before, -.series-font.disabled .b-font:before { - content: "\e695"; - color: #58cc7d; -} -/**维度/指标 下拉列表图标字体 ~end~**/ -/** dashboard组件/控件 下拉列表图标字体 ~begin~**/ -.link-to-widget-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.link-to-widget-h-font .b-font:before { - content: "\e600"; - color: #999999; -} -.link-to-widget-h-font:hover .b-font:before, -.link-to-widget-h-font:focus .b-font:before, -.link-to-widget-h-font.hover .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.link-to-widget-h-font.native .b-font:before, -.link-to-widget-h-font.disabled .b-font:before { - content: "\e600"; - color: #999999; -} -.link-to-detail-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.link-to-detail-h-font .b-font:before { - content: "\e600"; - color: #999999; -} -.link-to-detail-h-font:hover .b-font:before, -.link-to-detail-h-font:focus .b-font:before, -.link-to-detail-h-font.hover .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.link-to-detail-h-font.native .b-font:before, -.link-to-detail-h-font.disabled .b-font:before { - content: "\e600"; - color: #999999; -} -.detail-setting-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.detail-setting-h-font .b-font:before { - content: "\e600"; - color: #999999; -} -.detail-setting-h-font:hover .b-font:before, -.detail-setting-h-font:focus .b-font:before, -.detail-setting-h-font.hover .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.detail-setting-h-font.native .b-font:before, -.detail-setting-h-font.disabled .b-font:before { - content: "\e600"; - color: #999999; -} -.export-to-excel-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.export-to-excel-h-font .b-font:before { - content: "\e600"; - color: #999999; -} -.export-to-excel-h-font:hover .b-font:before, -.export-to-excel-h-font:focus .b-font:before, -.export-to-excel-h-font.hover .b-font:before { - content: "\e600"; - color: #3f8ce8; -} -.export-to-excel-h-font.native .b-font:before, -.export-to-excel-h-font.disabled .b-font:before { - content: "\e600"; - color: #999999; -} -.widget-copy-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-copy-h-font .b-font:before { - content: "\e610"; - color: #999999; -} -.widget-copy-h-font:hover .b-font:before, -.widget-copy-h-font:focus .b-font:before, -.widget-copy-h-font.hover .b-font:before { - content: "\e610"; - color: #3f8ce8; -} -.widget-copy-h-font.native .b-font:before, -.widget-copy-h-font.disabled .b-font:before { - content: "\e610"; - color: #999999; -} -.widget-delete-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-delete-h-font .b-font:before { - content: "\e605"; - color: #999999; -} -.widget-delete-h-font:hover .b-font:before, -.widget-delete-h-font:focus .b-font:before, -.widget-delete-h-font.hover .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.widget-delete-h-font.native .b-font:before, -.widget-delete-h-font.disabled .b-font:before { - content: "\e605"; - color: #999999; -} -/** dashboard组件/控件 下拉列表图标字体 ~end~**/ -.tree-node-triangle-expand-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.tree-node-triangle-expand-font .b-font:before { - content: "\e608"; - color: inherit; -} -.tree-node-triangle-expand-font.native .b-font:before, -.tree-node-triangle-expand-font.disabled .b-font:before { - content: "\e608"; - color: inherit; -} -.tree-node-triangle-collapse-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.tree-node-triangle-collapse-font .b-font:before { - content: "\e607"; - color: inherit; -} -.tree-node-triangle-collapse-font.native .b-font:before, -.tree-node-triangle-collapse-font.disabled .b-font:before { - content: "\e607"; - color: inherit; -} -.row-pre-page-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.row-pre-page-h-font .b-font:before { - content: "\e6be"; - color: inherit; -} -.row-pre-page-h-font:hover .b-font:before, -.row-pre-page-h-font:focus .b-font:before, -.row-pre-page-h-font.hover .b-font:before { - content: "\e6be"; - color: inherit; -} -.row-pre-page-h-font.native .b-font:before, -.row-pre-page-h-font.disabled .b-font:before { - content: "\e6be"; - color: inherit; -} -.row-next-page-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.row-next-page-h-font .b-font:before { - content: "\e6bd"; - color: inherit; -} -.row-next-page-h-font:hover .b-font:before, -.row-next-page-h-font:focus .b-font:before, -.row-next-page-h-font.hover .b-font:before { - content: "\e6bd"; - color: inherit; -} -.row-next-page-h-font.native .b-font:before, -.row-next-page-h-font.disabled .b-font:before { - content: "\e6bd"; - color: inherit; -} -.column-pre-page-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.column-pre-page-h-font .b-font:before { - content: "\e6bc"; - color: inherit; -} -.column-pre-page-h-font:hover .b-font:before, -.column-pre-page-h-font:focus .b-font:before, -.column-pre-page-h-font.hover .b-font:before { - content: "\e6bc"; - color: inherit; -} -.column-pre-page-h-font.native .b-font:before, -.column-pre-page-h-font.disabled .b-font:before { - content: "\e6bc"; - color: inherit; -} -.column-next-page-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.column-next-page-h-font .b-font:before { - content: "\e6bb"; - color: inherit; -} -.column-next-page-h-font:hover .b-font:before, -.column-next-page-h-font:focus .b-font:before, -.column-next-page-h-font.hover .b-font:before { - content: "\e6bb"; - color: inherit; -} -.column-next-page-h-font.native .b-font:before, -.column-next-page-h-font.disabled .b-font:before { - content: "\e6bb"; - color: inherit; -} -.trigger-triangle-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.trigger-triangle-font .b-font:before { - content: "\e66a"; - color: #999999; -} -.trigger-triangle-font:hover .b-font:before, -.trigger-triangle-font:focus .b-font:before, -.trigger-triangle-font.hover .b-font:before { - content: "\e66a"; - color: #999999; -} -.trigger-triangle-font:active .b-font:before, -.trigger-triangle-font.active .b-font:before { - content: "\e66a"; - color: #3f8ce8; -} -.trigger-triangle-font.native .b-font:before, -.trigger-triangle-font.disabled .b-font:before { - content: "\e66a"; - color: #999999; -} -.widget-date-next-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-date-next-h-font .b-font:before { - content: "\e62f"; - color: inherit; -} -.widget-date-next-h-font:hover .b-font:before, -.widget-date-next-h-font:focus .b-font:before, -.widget-date-next-h-font.hover .b-font:before { - content: "\e62f"; - color: inherit; -} -.widget-date-next-h-font.native .b-font:before, -.widget-date-next-h-font.disabled .b-font:before { - content: "\e62f"; - color: inherit; -} -.widget-date-pre-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-date-pre-h-font .b-font:before { - content: "\e62e"; - color: inherit; -} -.widget-date-pre-h-font:hover .b-font:before, -.widget-date-pre-h-font:focus .b-font:before, -.widget-date-pre-h-font.hover .b-font:before { - content: "\e62e"; - color: inherit; -} -.widget-date-pre-h-font.native .b-font:before, -.widget-date-pre-h-font.disabled .b-font:before { - content: "\e62e"; - color: inherit; -} -.widget-date-h-change-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-date-h-change-font .b-font:before { - content: "\e660"; - color: inherit; -} -.widget-date-h-change-font:hover .b-font:before, -.widget-date-h-change-font:focus .b-font:before, -.widget-date-h-change-font.hover .b-font:before { - content: "\e660"; - color: inherit; -} -.widget-date-h-change-font.native .b-font:before, -.widget-date-h-change-font.disabled .b-font:before { - content: "\e660"; - color: inherit; -} -.pull-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pull-down-font .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-font.native .b-font:before, -.pull-down-font.disabled .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pull-down-h-font .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-h-font:hover .b-font:before, -.pull-down-h-font:focus .b-font:before, -.pull-down-h-font.hover .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-h-font.native .b-font:before, -.pull-down-h-font.disabled .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.pull-down-ha-font .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-ha-font:hover .b-font:before, -.pull-down-ha-font:focus .b-font:before, -.pull-down-ha-font.hover .b-font:before { - content: "\e608"; - color: inherit; -} -.pull-down-ha-font:active .b-font:before, -.pull-down-ha-font.active .b-font:before { - content: "\e608"; - color: #3f8ce8; -} -.pull-down-ha-font.native .b-font:before, -.pull-down-ha-font.disabled .b-font:before { - content: "\e608"; - color: inherit; -} -.delete-field-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-field-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-font.native .b-font:before, -.delete-field-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-h-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-field-h-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-h-font:hover .b-font:before, -.delete-field-h-font:focus .b-font:before, -.delete-field-h-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-h-font.native .b-font:before, -.delete-field-h-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-ha-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-field-ha-font .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-ha-font:hover .b-font:before, -.delete-field-ha-font:focus .b-font:before, -.delete-field-ha-font.hover .b-font:before { - content: "\e605"; - color: inherit; -} -.delete-field-ha-font:active .b-font:before, -.delete-field-ha-font.active .b-font:before { - content: "\e605"; - color: #3f8ce8; -} -.delete-field-ha-font.native .b-font:before, -.delete-field-ha-font.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.toolbar-save-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-save-font .b-font:before { - content: "\e617"; - color: inherit; -} -.toolbar-save-font:hover .b-font:before, -.toolbar-save-font:focus .b-font:before, -.toolbar-save-font.hover .b-font:before { - content: "\e617"; - color: inherit; -} -.toolbar-save-font.native .b-font:before, -.toolbar-save-font.disabled .b-font:before { - content: "\e617"; - color: inherit; -} -.toolbar-undo-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-undo-font .b-font:before { - content: "\e619"; - color: inherit; -} -.toolbar-undo-font:hover .b-font:before, -.toolbar-undo-font:focus .b-font:before, -.toolbar-undo-font.hover .b-font:before { - content: "\e619"; - color: inherit; -} -.toolbar-undo-font.native .b-font:before, -.toolbar-undo-font.disabled .b-font:before { - content: "\e619"; - color: inherit; -} -.toolbar-redo-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-redo-font .b-font:before { - content: "\e625"; - color: inherit; -} -.toolbar-redo-font:hover .b-font:before, -.toolbar-redo-font:focus .b-font:before, -.toolbar-redo-font.hover .b-font:before { - content: "\e625"; - color: inherit; -} -.toolbar-redo-font.native .b-font:before, -.toolbar-redo-font.disabled .b-font:before { - content: "\e625"; - color: inherit; -} -.toolbar-edit-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-edit-font .b-font:before { - content: "\e631"; - color: inherit; -} -.toolbar-edit-font:hover .b-font:before, -.toolbar-edit-font:focus .b-font:before, -.toolbar-edit-font.hover .b-font:before { - content: "\e631"; - color: inherit; -} -.toolbar-edit-font.native .b-font:before, -.toolbar-edit-font.disabled .b-font:before { - content: "\e631"; - color: inherit; -} -.toolbar-preview-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.toolbar-preview-font .b-font:before { - content: "\e65f"; - color: inherit; -} -.toolbar-preview-font:hover .b-font:before, -.toolbar-preview-font:focus .b-font:before, -.toolbar-preview-font.hover .b-font:before { - content: "\e65f"; - color: inherit; -} -.toolbar-preview-font.native .b-font:before, -.toolbar-preview-font.disabled .b-font:before { - content: "\e65f"; - color: inherit; -} -.chart-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-table-font .b-font:before { - content: "\e60e"; - color: inherit; -} -.chart-table-font:hover .b-font:before, -.chart-table-font:focus .b-font:before, -.chart-table-font.hover .b-font:before { - content: "\e60e"; - color: inherit; -} -.chart-table-font:active .b-font:before, -.chart-table-font.active .b-font:before { - content: "\e60e"; - color: #3f8ce8; -} -.chart-table-font.native .b-font:before, -.chart-table-font.disabled .b-font:before { - content: "\e60e"; - color: inherit; -} -.chart-axis-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-axis-font .b-font:before { - content: "\e626"; - color: inherit; -} -.chart-axis-font:hover .b-font:before, -.chart-axis-font:focus .b-font:before, -.chart-axis-font.hover .b-font:before { - content: "\e626"; - color: inherit; -} -.chart-axis-font:active .b-font:before, -.chart-axis-font.active .b-font:before { - content: "\e626"; - color: #3f8ce8; -} -.chart-axis-font.native .b-font:before, -.chart-axis-font.disabled .b-font:before { - content: "\e626"; - color: inherit; -} -.chart-bar-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-bar-font .b-font:before { - content: "\e620"; - color: inherit; -} -.chart-bar-font:hover .b-font:before, -.chart-bar-font:focus .b-font:before, -.chart-bar-font.hover .b-font:before { - content: "\e620"; - color: inherit; -} -.chart-bar-font:active .b-font:before, -.chart-bar-font.active .b-font:before { - content: "\e620"; - color: #3f8ce8; -} -.chart-bar-font.native .b-font:before, -.chart-bar-font.disabled .b-font:before { - content: "\e620"; - color: inherit; -} -.chart-accumulate-bar-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-accumulate-bar-font .b-font:before { - content: "\e60a"; - color: inherit; -} -.chart-accumulate-bar-font:hover .b-font:before, -.chart-accumulate-bar-font:focus .b-font:before, -.chart-accumulate-bar-font.hover .b-font:before { - content: "\e60a"; - color: inherit; -} -.chart-accumulate-bar-font:active .b-font:before, -.chart-accumulate-bar-font.active .b-font:before { - content: "\e60a"; - color: #3f8ce8; -} -.chart-accumulate-bar-font.native .b-font:before, -.chart-accumulate-bar-font.disabled .b-font:before { - content: "\e60a"; - color: inherit; -} -.chart-pie-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-pie-font .b-font:before { - content: "\e618"; - color: inherit; -} -.chart-pie-font:hover .b-font:before, -.chart-pie-font:focus .b-font:before, -.chart-pie-font.hover .b-font:before { - content: "\e618"; - color: inherit; -} -.chart-pie-font:active .b-font:before, -.chart-pie-font.active .b-font:before { - content: "\e618"; - color: #3f8ce8; -} -.chart-pie-font.native .b-font:before, -.chart-pie-font.disabled .b-font:before { - content: "\e618"; - color: inherit; -} -.chart-map-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-map-font .b-font:before { - content: "\e62c"; - color: inherit; -} -.chart-map-font:hover .b-font:before, -.chart-map-font:focus .b-font:before, -.chart-map-font.hover .b-font:before { - content: "\e62c"; - color: inherit; -} -.chart-map-font:active .b-font:before, -.chart-map-font.active .b-font:before { - content: "\e62c"; - color: #3f8ce8; -} -.chart-map-font.native .b-font:before, -.chart-map-font.disabled .b-font:before { - content: "\e62c"; - color: inherit; -} -.chart-dashboard-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-dashboard-font .b-font:before { - content: "\e623"; - color: inherit; -} -.chart-dashboard-font:hover .b-font:before, -.chart-dashboard-font:focus .b-font:before, -.chart-dashboard-font.hover .b-font:before { - content: "\e623"; - color: inherit; -} -.chart-dashboard-font:active .b-font:before, -.chart-dashboard-font.active .b-font:before { - content: "\e623"; - color: #3f8ce8; -} -.chart-dashboard-font.native .b-font:before, -.chart-dashboard-font.disabled .b-font:before { - content: "\e623"; - color: inherit; -} -.chart-doughnut-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-doughnut-font .b-font:before { - content: "\e624"; - color: inherit; -} -.chart-doughnut-font:hover .b-font:before, -.chart-doughnut-font:focus .b-font:before, -.chart-doughnut-font.hover .b-font:before { - content: "\e624"; - color: inherit; -} -.chart-doughnut-font:active .b-font:before, -.chart-doughnut-font.active .b-font:before { - content: "\e624"; - color: #3f8ce8; -} -.chart-doughnut-font.native .b-font:before, -.chart-doughnut-font.disabled .b-font:before { - content: "\e624"; - color: inherit; -} -.chart-detail-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-detail-font .b-font:before { - content: "\e615"; - color: inherit; -} -.chart-detail-font:hover .b-font:before, -.chart-detail-font:focus .b-font:before, -.chart-detail-font.hover .b-font:before { - content: "\e615"; - color: inherit; -} -.chart-detail-font:active .b-font:before, -.chart-detail-font.active .b-font:before { - content: "\e615"; - color: #3f8ce8; -} -.chart-detail-font.native .b-font:before, -.chart-detail-font.disabled .b-font:before { - content: "\e615"; - color: inherit; -} -.chart-more-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-more-font .b-font:before { - content: "\e60d"; - color: inherit; -} -.chart-more-font:hover .b-font:before, -.chart-more-font:focus .b-font:before, -.chart-more-font.hover .b-font:before { - content: "\e60d"; - color: inherit; -} -.chart-more-font:active .b-font:before, -.chart-more-font.active .b-font:before { - content: "\e60d"; - color: #3f8ce8; -} -.chart-more-font.native .b-font:before, -.chart-more-font.disabled .b-font:before { - content: "\e60d"; - color: inherit; -} -.chart-bubble-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-bubble-font .b-font:before { - content: "\e62a"; - color: inherit; -} -.chart-bubble-font:hover .b-font:before, -.chart-bubble-font:focus .b-font:before, -.chart-bubble-font.hover .b-font:before { - content: "\e62a"; - color: inherit; -} -.chart-bubble-font:active .b-font:before, -.chart-bubble-font.active .b-font:before { - content: "\e62a"; - color: #3f8ce8; -} -.chart-bubble-font.native .b-font:before, -.chart-bubble-font.disabled .b-font:before { - content: "\e62a"; - color: inherit; -} -.chart-scatter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-scatter-font .b-font:before { - content: "\e61d"; - color: inherit; -} -.chart-scatter-font:hover .b-font:before, -.chart-scatter-font:focus .b-font:before, -.chart-scatter-font.hover .b-font:before { - content: "\e61d"; - color: inherit; -} -.chart-scatter-font:active .b-font:before, -.chart-scatter-font.active .b-font:before { - content: "\e61d"; - color: #3f8ce8; -} -.chart-scatter-font.native .b-font:before, -.chart-scatter-font.disabled .b-font:before { - content: "\e61d"; - color: inherit; -} -.chart-radar-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-radar-font .b-font:before { - content: "\e614"; - color: inherit; -} -.chart-radar-font:hover .b-font:before, -.chart-radar-font:focus .b-font:before, -.chart-radar-font.hover .b-font:before { - content: "\e614"; - color: inherit; -} -.chart-radar-font:active .b-font:before, -.chart-radar-font.active .b-font:before { - content: "\e614"; - color: #3f8ce8; -} -.chart-radar-font.native .b-font:before, -.chart-radar-font.disabled .b-font:before { - content: "\e614"; - color: inherit; -} -.chart-content-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-content-font .b-font:before { - content: "\e621"; - color: inherit; -} -.chart-content-font:hover .b-font:before, -.chart-content-font:focus .b-font:before, -.chart-content-font.hover .b-font:before { - content: "\e621"; - color: inherit; -} -.chart-content-font:active .b-font:before, -.chart-content-font.active .b-font:before { - content: "\e621"; - color: #3f8ce8; -} -.chart-content-font.native .b-font:before, -.chart-content-font.disabled .b-font:before { - content: "\e621"; - color: inherit; -} -.chart-image-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-image-font .b-font:before { - content: "\e68d"; - color: inherit; -} -.chart-image-font:hover .b-font:before, -.chart-image-font:focus .b-font:before, -.chart-image-font.hover .b-font:before { - content: "\e68d"; - color: inherit; -} -.chart-image-font:active .b-font:before, -.chart-image-font.active .b-font:before { - content: "\e68d"; - color: #3f8ce8; -} -.chart-image-font.native .b-font:before, -.chart-image-font.disabled .b-font:before { - content: "\e68d"; - color: inherit; -} -.chart-web-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-web-font .b-font:before { - content: "\e68c"; - color: inherit; -} -.chart-web-font:hover .b-font:before, -.chart-web-font:focus .b-font:before, -.chart-web-font.hover .b-font:before { - content: "\e68c"; - color: inherit; -} -.chart-web-font:active .b-font:before, -.chart-web-font.active .b-font:before { - content: "\e68c"; - color: #3f8ce8; -} -.chart-web-font.native .b-font:before, -.chart-web-font.disabled .b-font:before { - content: "\e68c"; - color: inherit; -} -.chart-string-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-string-font .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-string-font:hover .b-font:before, -.chart-string-font:focus .b-font:before, -.chart-string-font.hover .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-string-font:active .b-font:before, -.chart-string-font.active .b-font:before { - content: "\e622"; - color: #3f8ce8; -} -.chart-string-font.native .b-font:before, -.chart-string-font.disabled .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-number-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-number-font .b-font:before { - content: "\e61f"; - color: inherit; -} -.chart-number-font:hover .b-font:before, -.chart-number-font:focus .b-font:before, -.chart-number-font.hover .b-font:before { - content: "\e61f"; - color: inherit; -} -.chart-number-font:active .b-font:before, -.chart-number-font.active .b-font:before { - content: "\e61f"; - color: #3f8ce8; -} -.chart-number-font.native .b-font:before, -.chart-number-font.disabled .b-font:before { - content: "\e61f"; - color: inherit; -} -.chart-tree-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-tree-font .b-font:before { - content: "\e61e"; - color: inherit; -} -.chart-tree-font:hover .b-font:before, -.chart-tree-font:focus .b-font:before, -.chart-tree-font.hover .b-font:before { - content: "\e61e"; - color: inherit; -} -.chart-tree-font:active .b-font:before, -.chart-tree-font.active .b-font:before { - content: "\e61e"; - color: #3f8ce8; -} -.chart-tree-font.native .b-font:before, -.chart-tree-font.disabled .b-font:before { - content: "\e61e"; - color: inherit; -} -.chart-date-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-date-font .b-font:before { - content: "\e61b"; - color: inherit; -} -.chart-date-font:hover .b-font:before, -.chart-date-font:focus .b-font:before, -.chart-date-font.hover .b-font:before { - content: "\e61b"; - color: inherit; -} -.chart-date-font:active .b-font:before, -.chart-date-font.active .b-font:before { - content: "\e61b"; - color: #3f8ce8; -} -.chart-date-font.native .b-font:before, -.chart-date-font.disabled .b-font:before { - content: "\e61b"; - color: inherit; -} -.chart-year-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-year-font .b-font:before { - content: "\e628"; - color: inherit; -} -.chart-year-font:hover .b-font:before, -.chart-year-font:focus .b-font:before, -.chart-year-font.hover .b-font:before { - content: "\e628"; - color: inherit; -} -.chart-year-font:active .b-font:before, -.chart-year-font.active .b-font:before { - content: "\e628"; - color: #3f8ce8; -} -.chart-year-font.native .b-font:before, -.chart-year-font.disabled .b-font:before { - content: "\e628"; - color: inherit; -} -.chart-month-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-month-font .b-font:before { - content: "\e627"; - color: inherit; -} -.chart-month-font:hover .b-font:before, -.chart-month-font:focus .b-font:before, -.chart-month-font.hover .b-font:before { - content: "\e627"; - color: inherit; -} -.chart-month-font:active .b-font:before, -.chart-month-font.active .b-font:before { - content: "\e627"; - color: #3f8ce8; -} -.chart-month-font.native .b-font:before, -.chart-month-font.disabled .b-font:before { - content: "\e627"; - color: inherit; -} -.chart-quarter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-quarter-font .b-font:before { - content: "\e629"; - color: inherit; -} -.chart-quarter-font:hover .b-font:before, -.chart-quarter-font:focus .b-font:before, -.chart-quarter-font.hover .b-font:before { - content: "\e629"; - color: inherit; -} -.chart-quarter-font:active .b-font:before, -.chart-quarter-font.active .b-font:before { - content: "\e629"; - color: #3f8ce8; -} -.chart-quarter-font.native .b-font:before, -.chart-quarter-font.disabled .b-font:before { - content: "\e629"; - color: inherit; -} -.chart-ymd-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-ymd-font .b-font:before { - content: "\e61c"; - color: inherit; -} -.chart-ymd-font:hover .b-font:before, -.chart-ymd-font:focus .b-font:before, -.chart-ymd-font.hover .b-font:before { - content: "\e61c"; - color: inherit; -} -.chart-ymd-font:active .b-font:before, -.chart-ymd-font.active .b-font:before { - content: "\e61c"; - color: #3f8ce8; -} -.chart-ymd-font.native .b-font:before, -.chart-ymd-font.disabled .b-font:before { - content: "\e61c"; - color: inherit; -} -.chart-date-range-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-date-range-font .b-font:before { - content: "\e616"; - color: inherit; -} -.chart-date-range-font:hover .b-font:before, -.chart-date-range-font:focus .b-font:before, -.chart-date-range-font.hover .b-font:before { - content: "\e616"; - color: inherit; -} -.chart-date-range-font:active .b-font:before, -.chart-date-range-font.active .b-font:before { - content: "\e616"; - color: #3f8ce8; -} -.chart-date-range-font.native .b-font:before, -.chart-date-range-font.disabled .b-font:before { - content: "\e616"; - color: inherit; -} -.chart-general-query-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-general-query-font .b-font:before { - content: "\e62b"; - color: inherit; -} -.chart-general-query-font:hover .b-font:before, -.chart-general-query-font:focus .b-font:before, -.chart-general-query-font.hover .b-font:before { - content: "\e62b"; - color: inherit; -} -.chart-general-query-font:active .b-font:before, -.chart-general-query-font.active .b-font:before { - content: "\e62b"; - color: #3f8ce8; -} -.chart-general-query-font.native .b-font:before, -.chart-general-query-font.disabled .b-font:before { - content: "\e62b"; - color: inherit; -} -.chart-query-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-query-font .b-font:before { - content: "\e609"; - color: inherit; -} -.chart-query-font:hover .b-font:before, -.chart-query-font:focus .b-font:before, -.chart-query-font.hover .b-font:before { - content: "\e609"; - color: inherit; -} -.chart-query-font:active .b-font:before, -.chart-query-font.active .b-font:before { - content: "\e609"; - color: #3f8ce8; -} -.chart-query-font.native .b-font:before, -.chart-query-font.disabled .b-font:before { - content: "\e609"; - color: inherit; -} -.chart-reset-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-reset-font .b-font:before { - content: "\e61a"; - color: inherit; -} -.chart-reset-font:hover .b-font:before, -.chart-reset-font:focus .b-font:before, -.chart-reset-font.hover .b-font:before { - content: "\e61a"; - color: inherit; -} -.chart-reset-font:active .b-font:before, -.chart-reset-font.active .b-font:before { - content: "\e61a"; - color: #3f8ce8; -} -.chart-reset-font.native .b-font:before, -.chart-reset-font.disabled .b-font:before { - content: "\e61a"; - color: inherit; -} -.chart-textarea-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-textarea-font .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-textarea-font:hover .b-font:before, -.chart-textarea-font:focus .b-font:before, -.chart-textarea-font.hover .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-textarea-font:active .b-font:before, -.chart-textarea-font.active .b-font:before { - content: "\e622"; - color: #3f8ce8; -} -.chart-textarea-font.native .b-font:before, -.chart-textarea-font.disabled .b-font:before { - content: "\e622"; - color: inherit; -} -.chart-reuse-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-reuse-font .b-font:before { - content: "\e60b"; - color: inherit; -} -.chart-reuse-font:hover .b-font:before, -.chart-reuse-font:focus .b-font:before, -.chart-reuse-font.hover .b-font:before { - content: "\e60b"; - color: inherit; -} -.chart-reuse-font:active .b-font:before, -.chart-reuse-font.active .b-font:before { - content: "\e60b"; - color: #3f8ce8; -} -.chart-reuse-font.native .b-font:before, -.chart-reuse-font.disabled .b-font:before { - content: "\e60b"; - color: inherit; -} -.chart-date-normal-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-date-normal-font .b-font:before { - content: "\e61b"; - color: inherit; -} -.chart-date-normal-font.native .b-font:before, -.chart-date-normal-font.disabled .b-font:before { - content: "\e61b"; - color: inherit; -} -.less-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.less-font .b-font:before { - content: "\e633"; - color: inherit; -} -.less-font:hover .b-font:before, -.less-font:focus .b-font:before, -.less-font.hover .b-font:before { - content: "\e633"; - color: inherit; -} -.less-font:active .b-font:before, -.less-font.active .b-font:before { - content: "\e633"; - color: #3f8ce8; -} -.less-font.native .b-font:before, -.less-font.disabled .b-font:before { - content: "\e633"; - color: inherit; -} -.less-equal-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.less-equal-font .b-font:before { - content: "\e636"; - color: inherit; -} -.less-equal-font:hover .b-font:before, -.less-equal-font:focus .b-font:before, -.less-equal-font.hover .b-font:before { - content: "\e636"; - color: inherit; -} -.less-equal-font:active .b-font:before, -.less-equal-font.active .b-font:before { - content: "\e636"; - color: #3f8ce8; -} -.less-equal-font.native .b-font:before, -.less-equal-font.disabled .b-font:before { - content: "\e636"; - color: inherit; -} -.check-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.check-font .b-font:before { - content: "\e611"; - color: #3f8ce8; -} -.check-font.native .b-font:before, -.check-font.disabled .b-font:before { - content: "\e611"; - color: #3f8ce8; -} -.move2group-add-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.move2group-add-font .b-font:before { - content: "\e649"; - color: #3f8ce8; -} -.move2group-add-font.native .b-font:before, -.move2group-add-font.disabled .b-font:before { - content: "\e649"; - color: #3f8ce8; -} -.select-data-field-calc-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-calc-font .b-font:before { - content: "\e6a3"; - color: inherit; -} -.select-data-field-calc-font:hover .b-font:before, -.select-data-field-calc-font:focus .b-font:before, -.select-data-field-calc-font.hover .b-font:before { - content: "\e6a3"; - color: inherit; -} -.select-data-field-calc-font:active .b-font:before, -.select-data-field-calc-font.active .b-font:before { - content: "\e6a3"; - color: #ffffff; -} -.select-data-field-calc-font.native .b-font:before, -.select-data-field-calc-font.disabled .b-font:before { - content: "\e6a3"; - color: inherit; -} -.select-data-field-string-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-string-font .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-string-font:hover .b-font:before, -.select-data-field-string-font:focus .b-font:before, -.select-data-field-string-font.hover .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-string-font:active .b-font:before, -.select-data-field-string-font.active .b-font:before { - content: "\e642"; - color: #ffffff; -} -.select-data-field-string-font.native .b-font:before, -.select-data-field-string-font.disabled .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-number-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-number-font .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-number-font:hover .b-font:before, -.select-data-field-number-font:focus .b-font:before, -.select-data-field-number-font.hover .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-number-font:active .b-font:before, -.select-data-field-number-font.active .b-font:before { - content: "\e641"; - color: #ffffff; -} -.select-data-field-number-font.native .b-font:before, -.select-data-field-number-font.disabled .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-date-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-date-font .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-field-date-font:hover .b-font:before, -.select-data-field-date-font:focus .b-font:before, -.select-data-field-date-font.hover .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-field-date-font:active .b-font:before, -.select-data-field-date-font.active .b-font:before { - content: "\e640"; - color: #ffffff; -} -.select-data-field-date-font.native .b-font:before, -.select-data-field-date-font.disabled .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-field-string-group-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-string-group-font .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-string-group-font.native .b-font:before, -.select-data-field-string-group-font.disabled .b-font:before { - content: "\e642"; - color: inherit; -} -.select-data-field-number-group-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-number-group-font .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-number-group-font.native .b-font:before, -.select-data-field-number-group-font.disabled .b-font:before { - content: "\e641"; - color: inherit; -} -.select-data-field-date-group-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-field-date-group-font .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-field-date-group-font.native .b-font:before, -.select-data-field-date-group-font.disabled .b-font:before { - content: "\e640"; - color: inherit; -} -.select-data-preview-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-data-preview-font .b-font:before { - content: "\e65f"; - color: #999999; -} -.select-data-preview-font:hover .b-font:before, -.select-data-preview-font:focus .b-font:before, -.select-data-preview-font.hover .b-font:before { - content: "\e65f"; - color: #3f8ce8; -} -.select-data-preview-font:active .b-font:before, -.select-data-preview-font.active .b-font:before { - content: "\e65f"; - color: #3f8ce8; -} -.select-data-preview-font.native .b-font:before, -.select-data-preview-font.disabled .b-font:before { - content: "\e65f"; - color: #999999; -} -.detail-dimension-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.detail-dimension-set-font .b-font:before { - content: "\e678"; - color: inherit; -} -.detail-dimension-set-font:hover .b-font:before, -.detail-dimension-set-font:focus .b-font:before, -.detail-dimension-set-font.hover .b-font:before { - content: "\e678"; - color: inherit; -} -.detail-dimension-set-font.native .b-font:before, -.detail-dimension-set-font.disabled .b-font:before { - content: "\e678"; - color: inherit; -} -.detail-real-data-warning-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.detail-real-data-warning-font .b-font:before { - content: "\e64e"; - color: #f07d0a; -} -.detail-real-data-warning-font:hover .b-font:before, -.detail-real-data-warning-font:focus .b-font:before, -.detail-real-data-warning-font.hover .b-font:before { - content: "\e64e"; - color: #f07d0a; -} -.detail-real-data-warning-font.native .b-font:before, -.detail-real-data-warning-font.disabled .b-font:before { - content: "\e64e"; - color: #f07d0a; -} -.select-group-field-string-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-group-field-string-font .b-font:before { - content: "\e642"; - color: #3f8ce8; -} -.select-group-field-string-font:hover .b-font:before, -.select-group-field-string-font:focus .b-font:before, -.select-group-field-string-font.hover .b-font:before { - content: "\e642"; - color: #3f8ce8; -} -.select-group-field-string-font:active .b-font:before, -.select-group-field-string-font.active .b-font:before { - content: "\e642"; - color: #3f8ce8; -} -.select-group-field-string-font.native .b-font:before, -.select-group-field-string-font.disabled .b-font:before { - content: "\e642"; - color: #3f8ce8; -} -.select-group-field-number-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-group-field-number-font .b-font:before { - content: "\e641"; - color: #3f8ce8; -} -.select-group-field-number-font:hover .b-font:before, -.select-group-field-number-font:focus .b-font:before, -.select-group-field-number-font.hover .b-font:before { - content: "\e641"; - color: #3f8ce8; -} -.select-group-field-number-font:active .b-font:before, -.select-group-field-number-font.active .b-font:before { - content: "\e641"; - color: #3f8ce8; -} -.select-group-field-number-font.native .b-font:before, -.select-group-field-number-font.disabled .b-font:before { - content: "\e641"; - color: #3f8ce8; -} -.select-group-field-date-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.select-group-field-date-font .b-font:before { - content: "\e640"; - color: #3f8ce8; -} -.select-group-field-date-font:hover .b-font:before, -.select-group-field-date-font:focus .b-font:before, -.select-group-field-date-font.hover .b-font:before { - content: "\e640"; - color: #3f8ce8; -} -.select-group-field-date-font:active .b-font:before, -.select-group-field-date-font.active .b-font:before { - content: "\e640"; - color: #3f8ce8; -} -.select-group-field-date-font.native .b-font:before, -.select-group-field-date-font.disabled .b-font:before { - content: "\e640"; - color: #3f8ce8; -} -.dashboard-widget-combo-detail-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.dashboard-widget-combo-detail-set-font .b-font:before { - content: "\e634"; - color: inherit; -} -.dashboard-widget-combo-detail-set-font:hover .b-font:before, -.dashboard-widget-combo-detail-set-font:focus .b-font:before, -.dashboard-widget-combo-detail-set-font.hover .b-font:before { - content: "\e634"; - color: inherit; -} -.dashboard-widget-combo-detail-set-font.native .b-font:before, -.dashboard-widget-combo-detail-set-font.disabled .b-font:before { - content: "\e634"; - color: inherit; -} -.group-add-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.group-add-font .b-font:before { - content: "\e649"; - color: #999999; -} -.group-add-font.native .b-font:before, -.group-add-font.disabled .b-font:before { - content: "\e649"; - color: #999999; -} -.sortable-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.sortable-font .b-font:before { - content: "\e63b"; - color: inherit; -} -.sortable-font.native .b-font:before, -.sortable-font.disabled .b-font:before { - content: "\e63b"; - color: inherit; -} -.text-bold-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-bold-font .b-font:before { - content: "\e64d"; - color: inherit; -} -.text-bold-font.native .b-font:before, -.text-bold-font.disabled .b-font:before { - content: "\e64d"; - color: inherit; -} -.text-italic-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-italic-font .b-font:before { - content: "\e656"; - color: inherit; -} -.text-italic-font.native .b-font:before, -.text-italic-font.disabled .b-font:before { - content: "\e656"; - color: inherit; -} -.text-underline-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-underline-font .b-font:before { - content: "\e650"; - color: inherit; -} -.text-underline-font.native .b-font:before, -.text-underline-font.disabled .b-font:before { - content: "\e650"; - color: inherit; -} -.text-color-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-color-font .b-font:before { - content: "\e69c"; - color: inherit; -} -.text-color-font.native .b-font:before, -.text-color-font.disabled .b-font:before { - content: "\e69c"; - color: inherit; -} -.text-background-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-background-font .b-font:before { - content: "\e696"; - color: inherit; -} -.text-background-font.native .b-font:before, -.text-background-font.disabled .b-font:before { - content: "\e696"; - color: inherit; -} -.text-color-underline-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-color-underline-font .b-font:before { - content: "\e69d"; - color: inherit; -} -.text-color-underline-font.native .b-font:before, -.text-color-underline-font.disabled .b-font:before { - content: "\e69d"; - color: inherit; -} -.text-align-left-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-align-left-font .b-font:before { - content: "\e654"; - color: inherit; -} -.text-align-left-font.native .b-font:before, -.text-align-left-font.disabled .b-font:before { - content: "\e654"; - color: inherit; -} -.text-align-center-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-align-center-font .b-font:before { - content: "\e64f"; - color: inherit; -} -.text-align-center-font.native .b-font:before, -.text-align-center-font.disabled .b-font:before { - content: "\e64f"; - color: inherit; -} -.text-align-right-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.text-align-right-font .b-font:before { - content: "\e651"; - color: inherit; -} -.text-align-right-font.native .b-font:before, -.text-align-right-font.disabled .b-font:before { - content: "\e651"; - color: inherit; -} -.img-upload-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.img-upload-font .b-font:before { - content: "\e6ba"; - color: #3f8ce8; -} -.img-upload-font.native .b-font:before, -.img-upload-font.disabled .b-font:before { - content: "\e6ba"; - color: #3f8ce8; -} -.img-size-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.img-size-font .b-font:before { - content: "\e68b"; - color: #3f8ce8; -} -.img-size-font.native .b-font:before, -.img-size-font.disabled .b-font:before { - content: "\e68b"; - color: #3f8ce8; -} -.img-href-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.img-href-font .b-font:before { - content: "\e688"; - color: #3f8ce8; -} -.img-href-font.native .b-font:before, -.img-href-font.disabled .b-font:before { - content: "\e688"; - color: #3f8ce8; -} -.img-shutdown-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.img-shutdown-font .b-font:before { - content: "\e689"; - color: #3f8ce8; -} -.img-shutdown-font.native .b-font:before, -.img-shutdown-font.disabled .b-font:before { - content: "\e689"; - color: #3f8ce8; -} -.move-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.move-font .b-font:before { - content: "\e65e"; - color: inherit; -} -.move-font.native .b-font:before, -.move-font.disabled .b-font:before { - content: "\e65e"; - color: inherit; -} -.share-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.share-font .b-font:before { - content: "\e65a"; - color: inherit; -} -.share-font.native .b-font:before, -.share-font.disabled .b-font:before { - content: "\e65a"; - color: inherit; -} -.new-file-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.new-file-font .b-font:before { - content: "\e65d"; - color: inherit; -} -.new-file-font.native .b-font:before, -.new-file-font.disabled .b-font:before { - content: "\e65d"; - color: inherit; -} -.file-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.file-font .b-font:before { - content: "\e65b"; - color: #fcc550; -} -.file-font.native .b-font:before, -.file-font.disabled .b-font:before { - content: "\e65b"; - color: #fcc550; -} -.folder-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.folder-font .b-font:before { - content: "\e65c"; - color: #3f8ce8; -} -.folder-font.native .b-font:before, -.folder-font.disabled .b-font:before { - content: "\e65c"; - color: #3f8ce8; -} -.letter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.letter-font .b-font:before { - content: "\e659"; - color: inherit; -} -.letter-font:hover .b-font:before, -.letter-font:focus .b-font:before, -.letter-font.hover .b-font:before { - content: "\e659"; - color: inherit; -} -.letter-font:active .b-font:before, -.letter-font.active .b-font:before { - content: "\e659"; - color: #3f8ce8; -} -.letter-font.native .b-font:before, -.letter-font.disabled .b-font:before { - content: "\e659"; - color: inherit; -} -.time-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.time-font .b-font:before { - content: "\e658"; - color: inherit; -} -.time-font:hover .b-font:before, -.time-font:focus .b-font:before, -.time-font.hover .b-font:before { - content: "\e658"; - color: inherit; -} -.time-font:active .b-font:before, -.time-font.active .b-font:before { - content: "\e658"; - color: #3f8ce8; -} -.time-font.native .b-font:before, -.time-font.disabled .b-font:before { - content: "\e658"; - color: inherit; -} -.rename-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.rename-font .b-font:before { - content: "\e687"; - color: inherit; -} -.rename-font.native .b-font:before, -.rename-font.disabled .b-font:before { - content: "\e687"; - color: inherit; -} -.delete-template-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-template-font .b-font:before { - content: "\e605"; - color: #999999; -} -.delete-template-font.native .b-font:before, -.delete-template-font.disabled .b-font:before { - content: "\e605"; - color: #999999; -} -.real-time-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.real-time-font .b-font:before { - content: "\e6af"; - color: #fcc550; -} -.real-time-font.native .b-font:before, -.real-time-font.disabled .b-font:before { - content: "\e6af"; - color: #fcc550; -} -.data-source-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-source-table-font .b-font:before { - content: "\e67b"; - color: #3f8ce8; -} -.data-source-table-font:hover .b-font:before, -.data-source-table-font:focus .b-font:before, -.data-source-table-font.hover .b-font:before { - content: "\e67b"; - color: #3f8ce8; -} -.data-source-table-font:active .b-font:before, -.data-source-table-font.active .b-font:before { - content: "\e67b"; - color: #ffffff; -} -.data-source-table-font.native .b-font:before, -.data-source-table-font.disabled .b-font:before { - content: "\e67b"; - color: #3f8ce8; -} -.etl-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.etl-table-font .b-font:before { - content: "\e680"; - color: #3f8ce8; -} -.etl-table-font:hover .b-font:before, -.etl-table-font:focus .b-font:before, -.etl-table-font.hover .b-font:before { - content: "\e680"; - color: #3f8ce8; -} -.etl-table-font:active .b-font:before, -.etl-table-font.active .b-font:before { - content: "\e680"; - color: #ffffff; -} -.etl-table-font.native .b-font:before, -.etl-table-font.disabled .b-font:before { - content: "\e680"; - color: #3f8ce8; -} -.excel-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-table-font .b-font:before { - content: "\e682"; - color: #3f8ce8; -} -.excel-table-font:hover .b-font:before, -.excel-table-font:focus .b-font:before, -.excel-table-font.hover .b-font:before { - content: "\e682"; - color: #3f8ce8; -} -.excel-table-font:active .b-font:before, -.excel-table-font.active .b-font:before { - content: "\e682"; - color: #ffffff; -} -.excel-table-font.native .b-font:before, -.excel-table-font.disabled .b-font:before { - content: "\e682"; - color: #3f8ce8; -} -.sql-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.sql-table-font .b-font:before { - content: "\e681"; - color: #3f8ce8; -} -.sql-table-font:hover .b-font:before, -.sql-table-font:focus .b-font:before, -.sql-table-font.hover .b-font:before { - content: "\e681"; - color: #3f8ce8; -} -.sql-table-font:active .b-font:before, -.sql-table-font.active .b-font:before { - content: "\e681"; - color: #ffffff; -} -.sql-table-font.native .b-font:before, -.sql-table-font.disabled .b-font:before { - content: "\e681"; - color: #3f8ce8; -} -.refresh-table-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.refresh-table-font .b-font:before { - content: "\e683"; - color: inherit; -} -.refresh-table-font.native .b-font:before, -.refresh-table-font.disabled .b-font:before { - content: "\e683"; - color: inherit; -} -.recover-chart-font-hightlight .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.recover-chart-font-hightlight .b-font:before { - content: "\e6b4"; - color: inherit; -} -.recover-chart-font-hightlight.native .b-font:before, -.recover-chart-font-hightlight.disabled .b-font:before { - content: "\e6b4"; - color: inherit; -} -.tables-tile-view-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.tables-tile-view-font .b-font:before { - content: "\e685"; - color: inherit; -} -.tables-tile-view-font:hover .b-font:before, -.tables-tile-view-font:focus .b-font:before, -.tables-tile-view-font.hover .b-font:before { - content: "\e685"; - color: inherit; -} -.tables-tile-view-font:active .b-font:before, -.tables-tile-view-font.active .b-font:before { - content: "\e685"; - color: #ffffff; -} -.tables-tile-view-font.native .b-font:before, -.tables-tile-view-font.disabled .b-font:before { - content: "\e685"; - color: inherit; -} -.tables-relation-view-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.tables-relation-view-font .b-font:before { - content: "\e684"; - color: inherit; -} -.tables-relation-view-font:hover .b-font:before, -.tables-relation-view-font:focus .b-font:before, -.tables-relation-view-font.hover .b-font:before { - content: "\e684"; - color: inherit; -} -.tables-relation-view-font:active .b-font:before, -.tables-relation-view-font.active .b-font:before { - content: "\e684"; - color: #ffffff; -} -.tables-relation-view-font.native .b-font:before, -.tables-relation-view-font.disabled .b-font:before { - content: "\e684"; - color: inherit; -} -.add-new-table-pull-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.add-new-table-pull-down-font .b-font:before { - content: "\e62d"; - color: #ffffff; -} -.add-new-table-pull-down-font.native .b-font:before, -.add-new-table-pull-down-font.disabled .b-font:before { - content: "\e62d"; - color: #ffffff; -} -.data-link-check-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-check-font .b-font:before { - content: "\e611"; - color: #ffffff; -} -.data-link-check-font:hover .b-font:before, -.data-link-check-font:focus .b-font:before, -.data-link-check-font.hover .b-font:before { - content: "\e611"; - color: #999999; -} -.data-link-check-font:active .b-font:before, -.data-link-check-font.active .b-font:before { - content: "\e611"; - color: #3f8ce8; -} -.data-link-check-font.native .b-font:before, -.data-link-check-font.disabled .b-font:before { - content: "\e611"; - color: #ffffff; -} -.edit-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.edit-set-font .b-font:before { - content: "\e634"; - color: inherit; -} -.edit-set-font:hover .b-font:before, -.edit-set-font:focus .b-font:before, -.edit-set-font.hover .b-font:before { - content: "\e634"; - color: inherit; -} -.edit-set-font.native .b-font:before, -.edit-set-font.disabled .b-font:before { - content: "\e634"; - color: inherit; -} -.new-analysis-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.new-analysis-font .b-font:before { - content: "\e692"; - color: #ffffff; -} -.new-analysis-font:hover .b-font:before, -.new-analysis-font:focus .b-font:before, -.new-analysis-font.hover .b-font:before { - content: "\e692"; - color: #ffffff; -} -.new-analysis-font.native .b-font:before, -.new-analysis-font.disabled .b-font:before { - content: "\e692"; - color: #ffffff; -} -.data-config-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-config-font .b-font:before { - content: "\e693"; - color: #ffffff; -} -.data-config-font:hover .b-font:before, -.data-config-font:focus .b-font:before, -.data-config-font.hover .b-font:before { - content: "\e693"; - color: #ffffff; -} -.data-config-font.native .b-font:before, -.data-config-font.disabled .b-font:before { - content: "\e693"; - color: #ffffff; -} -.folder-list-view .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.folder-list-view .b-font:before { - content: "\e694"; - color: inherit; -} -.folder-list-view:hover .b-font:before, -.folder-list-view:focus .b-font:before, -.folder-list-view.hover .b-font:before { - content: "\e694"; - color: inherit; -} -.folder-list-view:active .b-font:before, -.folder-list-view.active .b-font:before { - content: "\e694"; - color: #ffffff; -} -.folder-list-view.native .b-font:before, -.folder-list-view.disabled .b-font:before { - content: "\e694"; - color: inherit; -} -.folder-card-view .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.folder-card-view .b-font:before { - content: "\e685"; - color: inherit; -} -.folder-card-view:hover .b-font:before, -.folder-card-view:focus .b-font:before, -.folder-card-view.hover .b-font:before { - content: "\e685"; - color: inherit; -} -.folder-card-view:active .b-font:before, -.folder-card-view.active .b-font:before { - content: "\e685"; - color: #ffffff; -} -.folder-card-view.native .b-font:before, -.folder-card-view.disabled .b-font:before { - content: "\e685"; - color: inherit; -} -.item-check-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.item-check-font .b-font:before { - content: "\e611"; - color: #ffffff; -} -.item-check-font:hover .b-font:before, -.item-check-font:focus .b-font:before, -.item-check-font.hover .b-font:before { - content: "\e611"; - color: #999999; -} -.item-check-font:active .b-font:before, -.item-check-font.active .b-font:before { - content: "\e611"; - color: #3f8ce8; -} -.item-check-font.native .b-font:before, -.item-check-font.disabled .b-font:before { - content: "\e611"; - color: #ffffff; -} -.table-no-sort-no-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-no-sort-no-filter-font .b-font:before { - content: "\e66a"; - color: inherit; -} -.table-no-sort-no-filter-font:hover .b-font:before, -.table-no-sort-no-filter-font:focus .b-font:before, -.table-no-sort-no-filter-font.hover .b-font:before { - content: "\e66a"; - color: inherit; -} -.table-no-sort-no-filter-font.native .b-font:before, -.table-no-sort-no-filter-font.disabled .b-font:before { - content: "\e66a"; - color: inherit; -} -.table-no-sort-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-no-sort-filter-font .b-font:before { - content: "\e66b"; - color: inherit; -} -.table-no-sort-filter-font:hover .b-font:before, -.table-no-sort-filter-font:focus .b-font:before, -.table-no-sort-filter-font.hover .b-font:before { - content: "\e66b"; - color: inherit; -} -.table-no-sort-filter-font.native .b-font:before, -.table-no-sort-filter-font.disabled .b-font:before { - content: "\e66b"; - color: inherit; -} -.table-descending-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-descending-filter-font .b-font:before { - content: "\e667"; - color: inherit; -} -.table-descending-filter-font:hover .b-font:before, -.table-descending-filter-font:focus .b-font:before, -.table-descending-filter-font.hover .b-font:before { - content: "\e667"; - color: inherit; -} -.table-descending-filter-font.native .b-font:before, -.table-descending-filter-font.disabled .b-font:before { - content: "\e667"; - color: inherit; -} -.table-ascending-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-ascending-filter-font .b-font:before { - content: "\e669"; - color: inherit; -} -.table-ascending-filter-font:hover .b-font:before, -.table-ascending-filter-font:focus .b-font:before, -.table-ascending-filter-font.hover .b-font:before { - content: "\e669"; - color: inherit; -} -.table-ascending-filter-font.native .b-font:before, -.table-ascending-filter-font.disabled .b-font:before { - content: "\e669"; - color: inherit; -} -.table-descending-no-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-descending-no-filter-font .b-font:before { - content: "\e666"; - color: inherit; -} -.table-descending-no-filter-font:hover .b-font:before, -.table-descending-no-filter-font:focus .b-font:before, -.table-descending-no-filter-font.hover .b-font:before { - content: "\e666"; - color: inherit; -} -.table-descending-no-filter-font.native .b-font:before, -.table-descending-no-filter-font.disabled .b-font:before { - content: "\e666"; - color: inherit; -} -.table-ascending-no-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-ascending-no-filter-font .b-font:before { - content: "\e668"; - color: inherit; -} -.table-ascending-no-filter-font:hover .b-font:before, -.table-ascending-no-filter-font:focus .b-font:before, -.table-ascending-no-filter-font.hover .b-font:before { - content: "\e668"; - color: inherit; -} -.table-ascending-no-filter-font.native .b-font:before, -.table-ascending-no-filter-font.disabled .b-font:before { - content: "\e668"; - color: inherit; -} -.table-no-sort-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-no-sort-font .b-font:before { - content: "\e66c"; - color: inherit; -} -.table-no-sort-font:hover .b-font:before, -.table-no-sort-font:focus .b-font:before, -.table-no-sort-font.hover .b-font:before { - content: "\e66c"; - color: inherit; -} -.table-no-sort-font.native .b-font:before, -.table-no-sort-font.disabled .b-font:before { - content: "\e66c"; - color: inherit; -} -.primary-key-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.primary-key-font .b-font:before { - content: "\e67d;"; - color: inherit; -} -.primary-key-font:hover .b-font:before, -.primary-key-font:focus .b-font:before, -.primary-key-font.hover .b-font:before { - content: "\e67d;"; - color: inherit; -} -.primary-key-font.native .b-font:before, -.primary-key-font.disabled .b-font:before { - content: "\e67d;"; - color: inherit; -} -.table-open-row-style-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-open-row-style-font .b-font:before { - content: "\e671"; - color: inherit; -} -.table-open-row-style-font:hover .b-font:before, -.table-open-row-style-font:focus .b-font:before, -.table-open-row-style-font.hover .b-font:before { - content: "\e671"; - color: inherit; -} -.table-open-row-style-font:active .b-font:before, -.table-open-row-style-font.active .b-font:before { - content: "\e671"; - color: #3f8ce8; -} -.table-open-row-style-font.native .b-font:before, -.table-open-row-style-font.disabled .b-font:before { - content: "\e671"; - color: inherit; -} -.table-open-col-style-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.table-open-col-style-font .b-font:before { - content: "\e672"; - color: inherit; -} -.table-open-col-style-font:hover .b-font:before, -.table-open-col-style-font:focus .b-font:before, -.table-open-col-style-font.hover .b-font:before { - content: "\e672"; - color: inherit; -} -.table-open-col-style-font:active .b-font:before, -.table-open-col-style-font.active .b-font:before { - content: "\e672"; - color: #3f8ce8; -} -.table-open-col-style-font.native .b-font:before, -.table-open-col-style-font.disabled .b-font:before { - content: "\e672"; - color: inherit; -} -.calculate-function-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.calculate-function-font .b-font:before { - content: "\e6a3"; - color: #666666; -} -.calculate-function-font.native .b-font:before, -.calculate-function-font.disabled .b-font:before { - content: "\e6a3"; - color: #666666; -} -.path-set-doubt .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.path-set-doubt .b-font:before { - content: "\e69a"; - color: #3f8ce8; -} -.path-set-doubt.native .b-font:before, -.path-set-doubt.disabled .b-font:before { - content: "\e69a"; - color: #3f8ce8; -} -.rename-report-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.rename-report-font .b-font:before { - content: "\e687"; - color: #3f8ce8; -} -.rename-report-font.native .b-font:before, -.rename-report-font.disabled .b-font:before { - content: "\e687"; - color: #3f8ce8; -} -.remove-report-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.remove-report-font .b-font:before { - content: "\e605"; - color: #e85050; -} -.remove-report-font.native .b-font:before, -.remove-report-font.disabled .b-font:before { - content: "\e605"; - color: #e85050; -} -.excel-upload-tip-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-upload-tip-font .b-font:before { - content: "\e69e"; - color: #3f8ce8; -} -.excel-upload-tip-font.native .b-font:before, -.excel-upload-tip-font.disabled .b-font:before { - content: "\e69e"; - color: #3f8ce8; -} -.excel-field-type-string-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-field-type-string-font .b-font:before { - content: "\e622"; - color: #3f8ce8; -} -.excel-field-type-string-font.native .b-font:before, -.excel-field-type-string-font.disabled .b-font:before { - content: "\e622"; - color: #3f8ce8; -} -.excel-field-type-number-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-field-type-number-font .b-font:before { - content: "\e61f"; - color: #3f8ce8; -} -.excel-field-type-number-font.native .b-font:before, -.excel-field-type-number-font.disabled .b-font:before { - content: "\e61f"; - color: #3f8ce8; -} -.excel-field-type-date-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-field-type-date-font .b-font:before { - content: "\e61b"; - color: #3f8ce8; -} -.excel-field-type-date-font.native .b-font:before, -.excel-field-type-date-font.disabled .b-font:before { - content: "\e61b"; - color: #3f8ce8; -} -.excel-field-type-pull-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.excel-field-type-pull-down-font .b-font:before { - content: "\e608"; - color: #3f8ce8; -} -.excel-field-type-pull-down-font.native .b-font:before, -.excel-field-type-pull-down-font.disabled .b-font:before { - content: "\e608"; - color: #3f8ce8; -} -.data-link-set-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-set-font .b-font:before { - content: "\e678"; - color: #3f8ce8; -} -.data-link-set-font.native .b-font:before, -.data-link-set-font.disabled .b-font:before { - content: "\e678"; - color: #3f8ce8; -} -.data-link-test-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-test-font .b-font:before { - content: "\e686"; - color: #3f8ce8; -} -.data-link-test-font.native .b-font:before, -.data-link-test-font.disabled .b-font:before { - content: "\e686"; - color: #3f8ce8; -} -.data-link-copy-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-copy-font .b-font:before { - content: "\e610"; - color: #58cc7d; -} -.data-link-copy-font.native .b-font:before, -.data-link-copy-font.disabled .b-font:before { - content: "\e610"; - color: #58cc7d; -} -.data-link-remove-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.data-link-remove-font .b-font:before { - content: "\e600"; - color: #e85050; -} -.data-link-remove-font.native .b-font:before, -.data-link-remove-font.disabled .b-font:before { - content: "\e600"; - color: #e85050; -} -.cube-path-confirm-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.cube-path-confirm-font .b-font:before { - content: "\e64e"; - color: #fbb03b; -} -.cube-path-confirm-font.native .b-font:before, -.cube-path-confirm-font.disabled .b-font:before { - content: "\e64e"; - color: #fbb03b; -} -.target-style-less-dot-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-less-dot-font .b-font:before { - content: "\e6a2"; - color: #e85050; -} -.target-style-less-dot-font.native .b-font:before, -.target-style-less-dot-font.disabled .b-font:before { - content: "\e6a2"; - color: #e85050; -} -.target-style-equal-dot-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-equal-dot-font .b-font:before { - content: "\e6a2"; - color: #f9a744; -} -.target-style-equal-dot-font.native .b-font:before, -.target-style-equal-dot-font.disabled .b-font:before { - content: "\e6a2"; - color: #f9a744; -} -.target-style-more-dot-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-more-dot-font .b-font:before { - content: "\e6a2"; - color: #58cc7d; -} -.target-style-more-dot-font.native .b-font:before, -.target-style-more-dot-font.disabled .b-font:before { - content: "\e6a2"; - color: #58cc7d; -} -.target-style-less-arrow-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-less-arrow-font .b-font:before { - content: "\e6a1"; - color: #e85050; -} -.target-style-less-arrow-font.native .b-font:before, -.target-style-less-arrow-font.disabled .b-font:before { - content: "\e6a1"; - color: #e85050; -} -.target-style-equal-arrow-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-equal-arrow-font .b-font:before { - content: "\e69f"; - color: #f9a744; -} -.target-style-equal-arrow-font.native .b-font:before, -.target-style-equal-arrow-font.disabled .b-font:before { - content: "\e69f"; - color: #f9a744; -} -.target-style-more-arrow-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.target-style-more-arrow-font .b-font:before { - content: "\e6a0"; - color: #58cc7d; -} -.target-style-more-arrow-font.native .b-font:before, -.target-style-more-arrow-font.disabled .b-font:before { - content: "\e6a0"; - color: #58cc7d; -} -.calculate-target-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.calculate-target-font .b-font:before { - content: "\e6a3"; - color: inherit; -} -.calculate-target-font.native .b-font:before, -.calculate-target-font.disabled .b-font:before { - content: "\e6a3"; - color: inherit; -} -.task-list-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.task-list-font .b-font:before { - content: "\e694"; - color: #3f8ce8; -} -.task-list-font.native .b-font:before, -.task-list-font.disabled .b-font:before { - content: "\e694"; - color: #3f8ce8; -} -.widget-combo-detail-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-detail-font .b-font:before { - content: "\e697"; - color: #3f8ce8; -} -.widget-combo-detail-font.native .b-font:before, -.widget-combo-detail-font.disabled .b-font:before { - content: "\e697"; - color: #3f8ce8; -} -.widget-combo-pull-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-pull-down-font .b-font:before { - content: "\e6ab"; - color: #3f8ce8; -} -.widget-combo-pull-down-font.native .b-font:before, -.widget-combo-pull-down-font.disabled .b-font:before { - content: "\e6ab"; - color: #3f8ce8; -} -.widget-tools-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-tools-filter-font .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.widget-tools-filter-font.native .b-font:before, -.widget-tools-filter-font.disabled .b-font:before { - content: "\e60f"; - color: #3f8ce8; -} -.widget-tools-clear-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-tools-clear-font .b-font:before { - content: "\e63d"; - color: #3f8ce8; -} -.widget-tools-clear-font.native .b-font:before, -.widget-tools-clear-font.disabled .b-font:before { - content: "\e63d"; - color: #3f8ce8; -} -.widget-tools-export-excel-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-tools-export-excel-font .b-font:before { - content: "\e635"; - color: #3f8ce8; -} -.widget-tools-export-excel-font.native .b-font:before, -.widget-tools-export-excel-font.disabled .b-font:before { - content: "\e635"; - color: #3f8ce8; -} -.widget-combo-expand-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-expand-font .b-font:before { - content: "\e697"; - color: inherit; -} -.widget-combo-expand-font.native .b-font:before, -.widget-combo-expand-font.disabled .b-font:before { - content: "\e697"; - color: inherit; -} -.widget-combo-linkage-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-linkage-font .b-font:before { - content: "\e63c"; - color: inherit; -} -.widget-combo-linkage-font.native .b-font:before, -.widget-combo-linkage-font.disabled .b-font:before { - content: "\e63c"; - color: inherit; -} -.widget-combo-rename-edit-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-rename-edit-font .b-font:before { - content: "\e670"; - color: inherit; -} -.widget-combo-rename-edit-font.native .b-font:before, -.widget-combo-rename-edit-font.disabled .b-font:before { - content: "\e670"; - color: inherit; -} -.widget-combo-show-title-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-show-title-font .b-font:before { - content: "\e64c"; - color: inherit; -} -.widget-combo-show-title-font.native .b-font:before, -.widget-combo-show-title-font.disabled .b-font:before { - content: "\e64c"; - color: inherit; -} -.widget-combo-title-left-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-title-left-font .b-font:before { - content: "\e654"; - color: inherit; -} -.widget-combo-title-left-font.native .b-font:before, -.widget-combo-title-left-font.disabled .b-font:before { - content: "\e654"; - color: inherit; -} -.widget-combo-title-center-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-title-center-font .b-font:before { - content: "\e64f"; - color: inherit; -} -.widget-combo-title-center-font.native .b-font:before, -.widget-combo-title-center-font.disabled .b-font:before { - content: "\e64f"; - color: inherit; -} -.widget-combo-show-filter-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-show-filter-font .b-font:before { - content: "\e60f"; - color: inherit; -} -.widget-combo-show-filter-font.native .b-font:before, -.widget-combo-show-filter-font.disabled .b-font:before { - content: "\e60f"; - color: inherit; -} -.widget-combo-export-excel-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-export-excel-font .b-font:before { - content: "\e635"; - color: inherit; -} -.widget-combo-export-excel-font.native .b-font:before, -.widget-combo-export-excel-font.disabled .b-font:before { - content: "\e635"; - color: inherit; -} -.widget-combo-copy .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-copy .b-font:before { - content: "\e610"; - color: inherit; -} -.widget-combo-copy.native .b-font:before, -.widget-combo-copy.disabled .b-font:before { - content: "\e610"; - color: inherit; -} -.widget-combo-delete .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-delete .b-font:before { - content: "\e605"; - color: inherit; -} -.widget-combo-delete.native .b-font:before, -.widget-combo-delete.disabled .b-font:before { - content: "\e605"; - color: inherit; -} -.widget-combo-asc-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-asc-font .b-font:before { - content: "\e63f"; - color: inherit; -} -.widget-combo-asc-font.native .b-font:before, -.widget-combo-asc-font.disabled .b-font:before { - content: "\e63f"; - color: inherit; -} -.widget-combo-des-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-des-font .b-font:before { - content: "\e63a"; - color: inherit; -} -.widget-combo-des-font.native .b-font:before, -.widget-combo-des-font.disabled .b-font:before { - content: "\e63a"; - color: inherit; -} -.widget-combo-clear-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.widget-combo-clear-font .b-font:before { - content: "\e63d"; - color: inherit; +.pull-down-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.widget-combo-clear-font.native .b-font:before, -.widget-combo-clear-font.disabled .b-font:before { - content: "\e63d"; +.pull-down-font .b-font:before { + content: "\e608"; color: inherit; } -.detail-table-popup-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.detail-table-popup-font .b-font:before { - content: "\e6ac"; +.pull-down-font.native .b-font:before, +.pull-down-font.disabled .b-font:before { + content: "\e608"; color: inherit; } -.detail-table-popup-font:hover .b-font:before, -.detail-table-popup-font:focus .b-font:before, -.detail-table-popup-font.hover .b-font:before { - content: "\e6ac"; - color: #3f8ce8; +.pull-down-h-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.detail-table-popup-font.native .b-font:before, -.detail-table-popup-font.disabled .b-font:before { - content: "\e6ac"; +.pull-down-h-font .b-font:before { + content: "\e608"; color: inherit; } -.chart-drill-up .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.chart-drill-up .b-font:before { - content: "\e6ad"; +.pull-down-h-font:hover .b-font:before, +.pull-down-h-font:focus .b-font:before, +.pull-down-h-font.hover .b-font:before { + content: "\e608"; color: inherit; } -.chart-drill-up.native .b-font:before, -.chart-drill-up.disabled .b-font:before { - content: "\e6ad"; +.pull-down-h-font.native .b-font:before, +.pull-down-h-font.disabled .b-font:before { + content: "\e608"; color: inherit; } -.chart-drill-down .b-font { +.pull-down-ha-font .b-font { *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.chart-drill-down .b-font:before { +.pull-down-ha-font .b-font:before { content: "\e608"; color: inherit; } -.chart-drill-down.native .b-font:before, -.chart-drill-down.disabled .b-font:before { +.pull-down-ha-font:hover .b-font:before, +.pull-down-ha-font:focus .b-font:before, +.pull-down-ha-font.hover .b-font:before { content: "\e608"; color: inherit; } -.report-filter-open-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-filter-open-font .b-font:before { - content: "\e648"; - color: inherit; -} -.report-filter-open-font.native .b-font:before, -.report-filter-open-font.disabled .b-font:before { - content: "\e648"; - color: inherit; -} -.report-filter-close-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-filter-close-font .b-font:before { - content: "\e645"; - color: inherit; +.pull-down-ha-font:active .b-font:before, +.pull-down-ha-font.active .b-font:before { + content: "\e608"; + color: #3f8ce8; } -.report-filter-close-font.native .b-font:before, -.report-filter-close-font.disabled .b-font:before { - content: "\e645"; +.pull-down-ha-font.native .b-font:before, +.pull-down-ha-font.disabled .b-font:before { + content: "\e608"; color: inherit; } -.report-apply-hangout-normal-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-apply-hangout-normal-font .b-font:before { - content: "\e66d"; - color: #999999; -} -.report-apply-hangout-normal-font.native .b-font:before, -.report-apply-hangout-normal-font.disabled .b-font:before { - content: "\e66d"; - color: #999999; -} -.report-apply-hangout-ing-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.report-apply-hangout-ing-font .b-font:before { - content: "\e66d"; +.check-font .b-font:before { + content: "\e611"; color: #3f8ce8; } -.report-apply-hangout-ing-font.native .b-font:before, -.report-apply-hangout-ing-font.disabled .b-font:before { - content: "\e66d"; +.check-font.native .b-font:before, +.check-font.disabled .b-font:before { + content: "\e611"; color: #3f8ce8; } -.report-hangout-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-hangout-font .b-font:before { - content: "\e64b"; - color: #58cc7d; -} -.report-hangout-font.native .b-font:before, -.report-hangout-font.disabled .b-font:before { - content: "\e64b"; - color: #58cc7d; -} -.report-cancel-hangout-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.item-check-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.report-cancel-hangout-font .b-font:before { - content: "\e64b"; - color: #999999; +.item-check-font .b-font:before { + content: "\e611"; + color: #ffffff; } -.report-cancel-hangout-font.native .b-font:before, -.report-cancel-hangout-font.disabled .b-font:before { - content: "\e64b"; +.item-check-font:hover .b-font:before, +.item-check-font:focus .b-font:before, +.item-check-font.hover .b-font:before { + content: "\e611"; color: #999999; } -.report-hangout-ing-mark-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-hangout-ing-mark-font .b-font:before { - content: "\e64b"; - color: #3f8ce8; -} -.report-hangout-ing-mark-font.native .b-font:before, -.report-hangout-ing-mark-font.disabled .b-font:before { - content: "\e64b"; - color: #3f8ce8; -} -.delete-font-package .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-font-package .b-font:before { - content: "\e605"; - color: #e85050; -} -.delete-font-package.native .b-font:before, -.delete-font-package.disabled .b-font:before { - content: "\e605"; - color: #e85050; -} -.delete-h-font-package .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.delete-h-font-package .b-font:before { - content: "\e605"; - color: #e85050; -} -.delete-h-font-package.native .b-font:before, -.delete-h-font-package.disabled .b-font:before { - content: "\e605"; - color: #e85050; -} -.rename-font-package .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.rename-font-package .b-font:before { - content: "\e687"; - color: #3f8ce8; -} -.rename-font-package.native .b-font:before, -.rename-font-package.disabled .b-font:before { - content: "\e687"; - color: #3f8ce8; -} -.package-selected-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.package-selected-font .b-font:before { - content: "\e6b3"; - color: #3f8ce8; -} -.package-selected-font.native .b-font:before, -.package-selected-font.disabled .b-font:before { - content: "\e6b3"; - color: #3f8ce8; -} -.package-not-selected-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.package-not-selected-font .b-font:before { - content: "\e6b2"; - color: #3f8ce8; -} -.package-not-selected-font.native .b-font:before, -.package-not-selected-font.disabled .b-font:before { - content: "\e6b2"; - color: #3f8ce8; -} -.report-detail-info-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-detail-info-font .b-font:before { - content: "\e66e"; - color: #f07d0a; -} -.report-detail-info-font.native .b-font:before, -.report-detail-info-font.disabled .b-font:before { - content: "\e66e"; - color: #f07d0a; -} -.report-rename-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-rename-font .b-font:before { - content: "\e670"; - color: #58cc7d; -} -.report-rename-font.native .b-font:before, -.report-rename-font.disabled .b-font:before { - content: "\e670"; - color: #58cc7d; -} -.report-cancel-share-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.report-cancel-share-font .b-font:before { - content: "\e6b5"; - color: #3f8ce8; -} -.report-cancel-share-font.native .b-font:before, -.report-cancel-share-font.disabled .b-font:before { - content: "\e6b5"; +.item-check-font:active .b-font:before, +.item-check-font.active .b-font:before { + content: "\e611"; color: #3f8ce8; } -.drill-push-up-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); +.item-check-font.native .b-font:before, +.item-check-font.disabled .b-font:before { + content: "\e611"; + color: #ffffff; } -.drill-push-up-font .b-font:before { - content: "\e630"; - color: inherit; +.primary-key-font .b-font { + *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); } -.drill-push-up-font.native .b-font:before, -.drill-push-up-font.disabled .b-font:before { - content: "\e630"; +.primary-key-font .b-font:before { + content: "\e67d;"; color: inherit; } -.drill-push-down-font .b-font { - *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); -} -.drill-push-down-font .b-font:before { - content: "\e62d"; +.primary-key-font:hover .b-font:before, +.primary-key-font:focus .b-font:before, +.primary-key-font.hover .b-font:before { + content: "\e67d;"; color: inherit; } -.drill-push-down-font.native .b-font:before, -.drill-push-down-font.disabled .b-font:before { - content: "\e62d"; +.primary-key-font.native .b-font:before, +.primary-key-font.disabled .b-font:before { + content: "\e67d;"; color: inherit; } .drag-tag-font .b-font { diff --git a/src/less/base/table/table.grid.scrollbar.less b/src/less/base/table/table.grid.scrollbar.less index 577921b64..950bf8b2f 100644 --- a/src/less/base/table/table.grid.scrollbar.less +++ b/src/less/base/table/table.grid.scrollbar.less @@ -1,4 +1,5 @@ @import "../../bibase"; + .scrollbar-layout-main { box-sizing: border-box; outline: none; @@ -7,17 +8,13 @@ transition-duration: 250ms; transition-timing-function: ease; user-select: none; - background-color: @scroll-color; - @ieColor: argb(@scroll-color); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; + .background-color(@scroll-color, 5%); border-radius: 5px; } .bi-theme-dark { .scrollbar-layout-main { - background-color: @scroll-color-theme-dark; - @ieColor: argb(@scroll-color-theme-dark); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; + .background-color(@scroll-color-theme-dark, 5%); } } @@ -39,16 +36,12 @@ height: 10px; left: 0; transition-property: background-color; - background-color: @scroll-color; - @ieColor: argb(@scroll-color); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; + .background-color(@scroll-color, 5%); } .bi-theme-dark { .scrollbar-layout-main-horizontal { - background-color: @scroll-color-theme-dark; - @ieColor: argb(@scroll-color-theme-dark); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; + .background-color(@scroll-color-theme-dark, 5%); } } @@ -122,34 +115,26 @@ } .public-scrollbar-face:after { - background-color: @scroll-thumb-color; - @ieColor: argb(@scroll-thumb-color); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; + .background-color(@scroll-color, 30%); } .bi-theme-dark { .public-scrollbar-face:after { - background-color: @scroll-thumb-color-theme-dark; - @ieColor: argb(@scroll-thumb-color-theme-dark); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; + .background-color(@scroll-color-theme-dark, 30%); } } .public-scrollbar-main:hover .public-scrollbar-face:after, .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { - background-color: @scroll-thumb-focus-color; - @ieColor: argb(@scroll-thumb-focus-color); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; + .background-color(@scroll-color, 70%); } .bi-theme-dark { .public-scrollbar-main:hover .public-scrollbar-face:after, .public-scrollbar-main-active .public-scrollbar-face:after, .public-scrollbar-faceActive:after { - background-color: @scroll-thumb-focus-color-theme-dark; - @ieColor: argb(@scroll-thumb-focus-color-theme-dark); - filter:~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; + .background-color(@scroll-color-theme-dark, 70%); } } diff --git a/src/less/core/utils/common.less b/src/less/core/utils/common.less index d5a7b4a0a..e02726723 100644 --- a/src/less/core/utils/common.less +++ b/src/less/core/utils/common.less @@ -158,17 +158,15 @@ } .bi-z-index-mask { - background-color: fade(@color-bi-background-black, 50%); color: @color-bi-background-default; - @ieColor: argb(fade(@color-bi-background-black, 50%)); - filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; + .background-color(@color-bi-background-black, 50%); } //只有背景变化 .bi-list-item { &:hover, &.hover { - background-color: @color-bi-background-normal; color: @color-bi-text-black; + .background-color(@color-bi-background-black, 5%); } &.disabled { &, &:hover, &:active { @@ -184,8 +182,8 @@ .bi-theme-dark { .bi-list-item { &:hover, &.hover { - background-color: @color-bi-background-normal-theme-dark; color: @color-bi-text; + .background-color(@color-bi-background-default, 5%); } &.disabled { &, &:hover, &:active { @@ -201,8 +199,9 @@ //极简 .bi-list-item-simple { + color: @color-bi-text-tips; &:hover, &.hover { - color: @color-bi-text-black; + color: @color-bi-text-highlight; } &.disabled { &, &:hover, &:active { @@ -214,22 +213,6 @@ } } -.bi-theme-dark { - .bi-list-item-simple { - &:hover, &.hover { - color: @color-bi-text; - } - &.disabled { - &, &:hover, &:active { - color: @color-bi-text-disabled-theme-dark !important; - & .bi-high-light { - color: @color-bi-text-disabled-theme-dark !important; - } - } - } - } -} - //文字active时变化 .bi-list-item-effect { &:hover { @@ -272,11 +255,11 @@ .bi-list-item-active { &:hover, &.hover { color: @color-bi-text-black; - background-color: @color-bi-background-normal; + .background-color(@color-bi-background-black, 5%); } &.active, &:active { color: @color-bi-text-highlight; - background-color: @color-bi-background-normal; + .background-color(@color-bi-background-black, 5%); } &.disabled { &, &:hover, &:active { @@ -292,12 +275,12 @@ .bi-theme-dark { .bi-list-item-active { &:hover, &.hover { - background-color: @color-bi-background-normal-theme-dark; color: @color-bi-text; + .background-color(@color-bi-background-default, 5%); } &.active, &:active { color: @color-bi-text-highlight; - background-color: @color-bi-background-normal-theme-dark; + .background-color(@color-bi-background-default, 5%); } &.disabled { &, &:hover, &:active { @@ -314,8 +297,8 @@ //有选中效果 .bi-list-item-select { &:hover, &.hover { - color: @color-bi-text-highlight; - background-color: @color-bi-background-normal; + color: @color-bi-text-black; + .background-color(@color-bi-background-black, 5%); } &:active, &.active { color: @color-bi-text; @@ -338,8 +321,8 @@ .bi-theme-dark { .bi-list-item-select { &:hover, &.hover { - color: @color-bi-text-highlight; - background-color: @color-bi-background-normal-theme-dark; + color: @color-bi-text; + .background-color(@color-bi-background-default, 5%); } &:active, &.active { color: @color-bi-text; @@ -359,42 +342,3 @@ } } } - -.bi-list-item-choose { - &:hover { - color: @color-bi-text-black; - } - &:active, &.active { - color: @color-bi-text; - background-color: @color-bi-background-highlight; - & .bi-high-light { - color: @color-bi-text; - } - } - &.disabled { - &, &:hover, &:active { - color: @color-bi-text-disabled !important; - background-color: transparent !important; - & .bi-high-light { - color: @color-bi-text-disabled !important; - } - } - } -} - -.bi-theme-dark { - .bi-list-item-choose { - &:hover { - color: @color-bi-text; - } - &.disabled { - &, &:hover, &:active { - color: @color-bi-text-disabled-theme-dark !important; - background-color: transparent !important; - & .bi-high-light { - color: @color-bi-text-disabled-theme-dark !important; - } - } - } - } -} \ No newline at end of file diff --git a/src/less/lib/colors.less b/src/less/lib/colors.less index 578f333d3..bc7c6b0cb 100644 --- a/src/less/lib/colors.less +++ b/src/less/lib/colors.less @@ -85,8 +85,6 @@ @color-bi-border-delete: @border-color-negative; //警示边框色 @color-bi-border-warning: @border-color-warning; -//拖拽边框 -@color-bi-border-resize: @border-color-resize; //边框提亮 @color-bi-border-highlight: @border-color-highlight; diff --git a/src/less/lib/constant.less b/src/less/lib/constant.less index 9e9341b59..71f7758a5 100644 --- a/src/less/lib/constant.less +++ b/src/less/lib/constant.less @@ -31,10 +31,6 @@ @font-color-redmark: #f07d0a; @font-color-orange: #fcc550; -//font-icon color -@icon-color-normal: #999999; -@icon-color-active: #3f8ce8; - //background color @background-color-black: #1a1a1a;// @background-color-default: #ffffff;// @@ -43,8 +39,7 @@ @background-color-normal-theme-dark: #191B2B;// @background-color-highlight: #3f8ce8; @background-color-dark: #d4dadd; -@background-color-disabled: #c4c6c6; -@background-color-alert: #fddddd; +@background-color-disabled: #cccccc; @background-color-light-blue: #d8f2fd;// @background-color-light-green: #e1f4e7;// @@ -56,6 +51,7 @@ @background-color-yellow: #f9a744; @background-color-virtual-blue: #d8f3fe; +@background-color-alert: #fddddd; @background-color-warning: #fbb03b; @background-color-negative: #e85050; @@ -66,12 +62,10 @@ //border color @border-color-default: #ffffff; @border-color-black: #1a1a1a; -@border-color-normal: #d4dadd; @border-color-line: #d4dadd; @border-color-line-theme-dark: #525466; @border-color-outline: #3f8ce8; @border-color-highlight: #178cdf; -@border-color-resize: #e85050; @border-color-warning: #fbb03b; @border-color-negative: #e85050; @@ -87,13 +81,8 @@ @border-color-dark: #c4c6c6; //scroll color -@scroll-color: rgba(102,102,102,.05); -@scroll-thumb-color: rgba(102,102,102,.3); -@scroll-thumb-focus-color: rgba(102,102,102,.7); - -@scroll-color-theme-dark: rgba(204,204,204,.05); -@scroll-thumb-color-theme-dark: rgba(204,204,204,.3); -@scroll-thumb-focus-color-theme-dark: rgba(204,204,204,.7); +@scroll-color: #666666; +@scroll-color-theme-dark: #cccccc; @water-mark-color: #cccccc; @water-mark-color-theme-dark: #666666; diff --git a/src/less/resource/font.less b/src/less/resource/font.less index ad9bf4215..1d63e9402 100644 --- a/src/less/resource/font.less +++ b/src/less/resource/font.less @@ -3,39 +3,18 @@ @import "../image"; .font(close-font, @font-cross); -.font(close-red-font, @font-cross, @color-bi-text-warning); .font-hover(close-h-font, @font-cross); -.font-effect(close-e-font, @font-cross); .font-hover-active(close-ha-font, @font-cross); //搜索框中的带有hover后颜色变红的图标 .font-hover(search-close-h-font, @font-cross, inherit, @color-bi-text-warning); -.font(trigger-font, @font-arrow-down); -.font-hover(trigger-h-font, @font-arrow-down); -.font-hover-active(trigger-ha-font, @font-arrow-down); - -.font(pre-page-font, @font-arrow-left); .font-hover(pre-page-h-font, @font-arrow-left); -.font-hover-active(pre-page-ha-font, @font-arrow-left); -.font(next-page-font, @font-arrow-right); .font-hover(next-page-h-font, @font-arrow-right); -.font-hover-active(next-page-ha-font, @font-arrow-right); .font(search-font, @font-search); -.font-hover(search-h-font, @font-search); -.font-hover-active(search-ha-font, @font-search); -.font(share-font, @font-share); -.font-hover(share-h-font, @font-share); -.font-hover-active(share-ha-font, @font-share); -/**维度/指标 下拉列表图标字体 ~begin~**/ -//删除 -.font(delete-font, @font-delete); -.font-hover(delete-h-font, @font-delete); -.font-hover-active(delete-ha-font, @font-delete); -.font-effect(delete-e-font, @font-delete); //子菜单选中 .font(dot-font, @font-dot, @color-bi-text-black); .font-hover(dot-h-font, @font-dot, @color-bi-text-black); @@ -60,46 +39,6 @@ .font-hover-active(check-mark-ha-font, @font-check-mark); .font-effect(check-mark-e-font, @font-check-mark); -//指标来自 -.font(dimension-from-font, @font-dimension-from); -.font-hover(dimension-from-h-font, @font-dimension-from); -.font-hover-active(dimension-from-ha-font, @font-dimension-from); -.font-effect(dimension-from-e-font, @font-dimension-from); - -//图表类型选择 -.font(chart-type-font, @font-chart-type); -.font-hover(chart-type-h-font, @font-chart-type); -.font-hover-active(chart-type-ha-font, @font-chart-type); -.font-effect(chart-type-e-font, @font-chart-type); - -//样式设置 -.font(style-set-font, @font-style-set); -.font-hover(style-set-h-font, @font-style-set); -.font-hover-active(style-set-ha-font, @font-style-set); -.font-effect(style-set-e-font, @font-style-set); - -//超级链接 -.font(hyper-link-font, @font-href); - -//过滤 -.font(filter-font, @font-filter); -.font-hover(filter-h-font, @font-filter); -.font-hover-active(filter-ha-font, @font-filter); -.font-effect(filter-e-font, @font-filter); - -//维度过滤 -.font(classify-font, @font-classify, @color-bi-text-highlight); -.font(series-font, @font-series, @color-bi-border-success); -/**维度/指标 下拉列表图标字体 ~end~**/ - -/** dashboard组件/控件 下拉列表图标字体 ~begin~**/ -.font-hover(link-to-widget-h-font, @font-cross, @color-bi-text-gray, @color-bi-text-highlight); -.font-hover(link-to-detail-h-font, @font-cross, @color-bi-text-gray, @color-bi-text-highlight); -.font-hover(detail-setting-h-font, @font-cross, @color-bi-text-gray, @color-bi-text-highlight); -.font-hover(export-to-excel-h-font, @font-cross, @color-bi-text-gray, @color-bi-text-highlight); -.font-hover(widget-copy-h-font, @font-copy, @color-bi-text-gray, @color-bi-text-highlight); -.font-hover(widget-delete-h-font, @font-delete, @color-bi-text-gray, @color-bi-text-highlight); - /** dashboard组件/控件 下拉列表图标字体 ~end~**/ //树控件图标 @@ -115,252 +54,16 @@ //下拉框小小三角 .font-hover-active(trigger-triangle-font, @font-no-sort-no-filter, @color-bi-text-gray, @color-bi-text-gray, @color-bi-text-highlight); -//日期控件字体图标 -.font-hover(widget-date-next-h-font, @font-right); -.font-hover(widget-date-pre-h-font, @font-left); -.font-hover(widget-date-h-change-font, @font-change); - //单选下拉框 //向下展开子菜单 .font(pull-down-font, @font-down-triangle); .font-hover(pull-down-h-font, @font-down-triangle); .font-hover-active(pull-down-ha-font, @font-down-triangle); -//字段区域 -//TODO 向下展开的图表暂时没有(不同于普通的向下箭头,角度应该更小一点) -.font(delete-field-font, @font-delete); -.font-hover(delete-field-h-font, @font-delete); -.font-hover-active(delete-field-ha-font, @font-delete); - -//dashboard -.font-hover(toolbar-save-font, @font-save); -.font-hover(toolbar-undo-font, @font-undo); -.font-hover(toolbar-redo-font, @font-redo); -.font-hover(toolbar-edit-font, @font-edit); -.font-hover(toolbar-preview-font, @font-preview); - -.font-hover-active(chart-table-font, @font-summary); -.font-hover-active(chart-axis-font, @font-axis); -.font-hover-active(chart-bar-font, @font-bar); -.font-hover-active(chart-accumulate-bar-font, @font-accumulate-bar); -.font-hover-active(chart-pie-font, @font-pie); -.font-hover-active(chart-map-font, @font-map); -.font-hover-active(chart-dashboard-font, @font-dashboard); -.font-hover-active(chart-doughnut-font, @font-doughnut); -.font-hover-active(chart-detail-font, @font-detail); -.font-hover-active(chart-more-font, @font-more-cn); -.font-hover-active(chart-bubble-font, @font-bubble); -.font-hover-active(chart-scatter-font, @font-scatter); -.font-hover-active(chart-radar-font, @font-radar); -.font-hover-active(chart-content-font, @font-content); -.font-hover-active(chart-image-font, @font-image); -.font-hover-active(chart-web-font, @font-web); - -.font-hover-active(chart-string-font, @font-text); -.font-hover-active(chart-number-font, @font-number); -.font-hover-active(chart-tree-font, @font-tree); -.font-hover-active(chart-date-font, @font-date); -.font-hover-active(chart-year-font, @font-year); -.font-hover-active(chart-month-font, @font-year-month); -.font-hover-active(chart-quarter-font, @font-quarter); -.font-hover-active(chart-ymd-font, @font-YMD); -.font-hover-active(chart-date-range-font, @font-date-range); -.font-hover-active(chart-general-query-font, @font-and-or); -.font-hover-active(chart-query-font, @font-query-cn); -.font-hover-active(chart-reset-font, @font-reset-cn); -.font-hover-active(chart-textarea-font, @font-text-area); -.font-hover-active(chart-reuse-font, @font-reuse); - -.font(chart-date-normal-font, @font-date); - -//数值区间 -.font-hover-active(less-font, @font-less); -.font-hover-active(less-equal-font, @font-less-equal); - .font(check-font, @font-check-mark, @color-bi-text-highlight); -//移动到分组 -.font(move2group-add-font, @font-add, @color-bi-text-highlight); - -//选择字段 -.font-hover-active(select-data-field-calc-font, @font-field-calc, inherit, inherit, @color-bi-text); -.font-hover-active(select-data-field-string-font, @font-field-string, inherit, inherit, @color-bi-text); -.font-hover-active(select-data-field-number-font, @font-field-number, inherit, inherit, @color-bi-text); -.font-hover-active(select-data-field-date-font, @font-field-date, inherit, inherit, @color-bi-text); -.font(select-data-field-string-group-font, @font-field-string); -.font(select-data-field-number-group-font, @font-field-number); -.font(select-data-field-date-group-font, @font-field-date); -.font-hover-active(select-data-preview-font, @font-preview, @color-bi-text-gray, @color-bi-text-highlight, @color-bi-text-highlight); - -.font-hover(detail-dimension-set-font, @font-setting); -.font-hover(detail-real-data-warning-font, @font-warning, @color-bi-text-redmark, @color-bi-text-redmark); - -//数据配置分组统计中的选择字段 -.font-hover-active(select-group-field-string-font, @font-field-string, @color-bi-text-highlight, @color-bi-text-highlight, @color-bi-text-highlight); -.font-hover-active(select-group-field-number-font, @font-field-number, @color-bi-text-highlight, @color-bi-text-highlight, @color-bi-text-highlight); -.font-hover-active(select-group-field-date-font, @font-field-date, @color-bi-text-highlight, @color-bi-text-highlight, @color-bi-text-highlight); - -//详细设置 -.font-hover(dashboard-widget-combo-detail-set-font, @font-detail-set); - -.font(group-add-font, @font-add, @icon-color-normal); - -//自定义排序 -.font(sortable-font, @font-sortable); - -//文本控件 -.font(text-bold-font, @font-bold); -.font(text-italic-font, @font-italic); -.font(text-underline-font, @font-underline); -.font(text-color-font, @font-color); -.font(text-background-font, @font-background); -.font(text-color-underline-font, @font-color-underline); -.font(text-align-left-font, @font-align-left); -.font(text-align-center-font, @font-align-center); -.font(text-align-right-font, @font-align-right); - -//图片控件 -.font(img-upload-font, @font-upload, @icon-color-active); -.font(img-size-font, @font-image-size, @icon-color-active); -.font(img-href-font, @font-href, @icon-color-active); -.font(img-shutdown-font, @font-shutdown, @icon-color-active); - -//平台-我创建的 -.font(move-font, @font-move); -.font(share-font, @font-share); -.font(new-file-font, @font-new-folder); -.font(file-font, @font-file, @color-create-file-text); -.font(folder-font, @font-folder, @color-bi-text-highlight); -.font-hover-active(letter-font, @font-letter); -.font-hover-active(time-font, @font-time); -.font(rename-font, @font-rename); -.font(delete-template-font, @font-delete, @color-bi-text-gray); -.font(real-time-font, @font-real-time, @color-create-file-text); - -//选择表 -.font-hover-active(data-source-table-font, @font-source-table, @color-bi-text-highlight, @color-bi-text-highlight, @color-bi-text); -.font-hover-active(etl-table-font, @font-etl-table, @color-bi-text-highlight, @color-bi-text-highlight, @color-bi-text); -.font-hover-active(excel-table-font, @font-excel-table, @color-bi-text-highlight, @color-bi-text-highlight, @color-bi-text); -.font-hover-active(sql-table-font, @font-sql-table, @color-bi-text-highlight, @color-bi-text-highlight, @color-bi-text); - -.font(refresh-table-font, @font-refresh); -.font(recover-chart-font-hightlight, @font-recover-chart); - -.font-hover-active(tables-tile-view-font, @font-tile-view, inherit, inherit, @color-bi-text); -.font-hover-active(tables-relation-view-font, @font-relation-view, inherit, inherit, @color-bi-text); - -.font(add-new-table-pull-down-font, @font-down, @color-bi-text); - -.font-hover-active(data-link-check-font, @font-check-mark, @color-bi-text, @color-bi-text-gray, @color-bi-text-highlight); - -//点击编辑 -.font-hover(edit-set-font, @font-detail-set); - -//新建分析、数据配置 -.font-hover(new-analysis-font, @font-new, @color-bi-text, @color-bi-text); -.font-hover(data-config-font, @font-database, @color-bi-text, @color-bi-text); - -//切换文件夹视图 -.font-hover-active(folder-list-view, @font-classify, inherit, inherit, @color-bi-text); -.font-hover-active(folder-card-view, @font-tile-view, inherit, inherit, @color-bi-text); - .font-hover-active(item-check-font, @font-check-mark, @color-bi-text, @color-bi-text-gray, @color-bi-font-active); -//表格上面的相关操作——升序、降序、不排序、过滤 -.font-hover(table-no-sort-no-filter-font, @font-no-sort-no-filter); -.font-hover(table-no-sort-filter-font, @font-no-sort-filter); -.font-hover(table-descending-filter-font, @font-descending-filter); -.font-hover(table-ascending-filter-font, @font-ascending-filter); -.font-hover(table-descending-no-filter-font, @font-descending-no-filter); -.font-hover(table-ascending-no-filter-font, @font-ascending-no-filter); -.font-hover(table-no-sort-font, @font-no-sort); - .font-hover(primary-key-font, @font-key); -.font-hover-active(table-open-row-style-font, @font-table-row-open); -.font-hover-active(table-open-col-style-font, @font-table-col-open); - -//气泡图计算函数 -.font(calculate-function-font, @font-field-calc, @font-color-normal); - -//匹配关系 -.font(path-set-doubt, @font-doubt, @color-bi-text-highlight); - -.font(rename-report-font, @font-rename, @color-bi-text-highlight); -.font(remove-report-font, @font-delete, @color-bi-text-warning); - -.font(excel-upload-tip-font, @font-tip, @color-bi-text-highlight); -.font(excel-field-type-string-font, @font-text, @color-bi-text-highlight); -.font(excel-field-type-number-font, @font-number, @color-bi-text-highlight); -.font(excel-field-type-date-font, @font-date, @color-bi-text-highlight); -.font(excel-field-type-pull-down-font, @font-down-triangle, @color-bi-text-highlight); - -.font(data-link-set-font, @font-setting, @color-bi-text-highlight); -.font(data-link-test-font, @font-test-link, @color-bi-text-highlight); -.font(data-link-copy-font, @font-copy, @color-bi-background-success); -.font(data-link-remove-font, @font-cross, @color-bi-text-warning); - -.font(cube-path-confirm-font, @font-warning, @color-bi-background-warning); - -.font(target-style-less-dot-font, @font-mark-dot, @color-target-style-less); -.font(target-style-equal-dot-font, @font-mark-dot, @color-target-style-equal); -.font(target-style-more-dot-font, @font-mark-dot, @color-target-style-more); -.font(target-style-less-arrow-font, @font-mark-down-arrow, @color-target-style-less); -.font(target-style-equal-arrow-font, @font-mark-equal, @color-target-style-equal); -.font(target-style-more-arrow-font, @font-mark-up-arrow, @color-target-style-more); - -.font(calculate-target-font, @font-field-calc); - -.font(task-list-font, @font-classify, @color-bi-text-highlight); - -.font(widget-combo-detail-font, @font-solid-setting, @color-bi-text-highlight); -.font(widget-combo-pull-down-font, @font-pull-down, @color-bi-text-highlight); -.font(widget-tools-filter-font, @font-filter, @color-bi-text-highlight); -.font(widget-tools-clear-font, @font-clear, @color-bi-text-highlight); -.font(widget-tools-export-excel-font, @font-export-excel, @color-bi-text-highlight); - -.font(widget-combo-expand-font, @font-solid-setting); -.font(widget-combo-linkage-font, @font-linkage); -.font(widget-combo-rename-edit-font, @font-rename-edit); -.font(widget-combo-show-title-font, @font-check); -.font(widget-combo-title-left-font, @font-align-left); -.font(widget-combo-title-center-font, @font-align-center); -.font(widget-combo-show-filter-font, @font-filter); -.font(widget-combo-export-excel-font, @font-export-excel); -.font(widget-combo-copy, @font-copy); -.font(widget-combo-delete, @font-delete); - -.font(widget-combo-asc-font, @font-asc); -.font(widget-combo-des-font, @font-des); -.font(widget-combo-clear-font, @font-clear); - -.font-hover(detail-table-popup-font, @font-hellip, inherit, @color-bi-font-active); - -.font(chart-drill-up, @font-top-triangle); -.font(chart-drill-down, @font-down-triangle); - -.font(report-filter-open-font, @font-report-filter-open); -.font(report-filter-close-font, @font-report-filter-close); - -.font(report-apply-hangout-normal-font, @font-apply-hangout, @color-bi-text-gray); -.font(report-apply-hangout-ing-font, @font-apply-hangout, @color-bi-text-highlight); -.font(report-hangout-font, @font-hangout, @color-bi-background-success); -.font(report-cancel-hangout-font, @font-hangout, @color-bi-text-gray); -.font(report-hangout-ing-mark-font, @font-hangout, @color-bi-background-highlight); - -//业务包管理 -.font(delete-font-package, @font-delete, @color-bi-text-warning); -.font(delete-h-font-package, @font-delete, @color-bi-text-warning); -.font(rename-font-package, @font-rename, @color-bi-text-highlight); -.font(package-selected-font, @font-check-box-selected, @color-bi-text-highlight); -.font(package-not-selected-font, @font-check-box-not-selected, @color-bi-text-highlight); - -.font(report-detail-info-font, @font-info, @color-bi-text-redmark); -.font(report-rename-font, @font-rename-edit, @color-bi-background-success); - -.font(report-cancel-share-font, @font-cancel-share, @color-bi-text-highlight); - -.font(drill-push-up-font, @font-up); -.font(drill-push-down-font, @font-down); - .font(drag-tag-font, @font-cross, @color-bi-text-redmark); \ No newline at end of file diff --git a/src/less/visual.less b/src/less/visual.less index 8865353bb..a5fbd7e87 100644 --- a/src/less/visual.less +++ b/src/less/visual.less @@ -28,6 +28,12 @@ -moz-box-shadow: @arguments; } +.background-color(@color, @alpha) { + background-color: fade(@color, @alpha); + @ieColor: argb(fade(@color, @alpha)); + filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})"; +} + .opacity(@opa) { opacity: @opa; @opa-ie: @opa*100;