From ba7315ac15b13409c227b3f573b54f1c8013cdc6 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 13 Jun 2017 09:23:23 +0800 Subject: [PATCH 01/16] add --- bi/case.js | 18 +++++++++--------- docs/case.js | 18 +++++++++--------- src/case/segment/button.segment.js | 18 +++++++++--------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/bi/case.js b/bi/case.js index 974f1f22a..4ea3bd985 100644 --- a/bi/case.js +++ b/bi/case.js @@ -9896,17 +9896,17 @@ BI.shortcut("bi.detail_pager", BI.DetailPager);/** */ BI.SegmentButton = BI.inherit(BI.BasicButton, { - _defaultConfig: function() { + _defaultConfig: function () { var conf = BI.SegmentButton.superclass._defaultConfig.apply(this, arguments); - return BI.extend( conf, { - baseCls : (conf.baseCls ||"")+' bi-segment-button bi-list-item-active', + return BI.extend(conf, { + baseCls: (conf.baseCls || "") + ' bi-segment-button bi-list-item-active', shadow: true, readonly: true, - hgap: 10 + hgap: 5 }) }, - _init:function() { + _init: function () { BI.SegmentButton.superclass._init.apply(this, arguments); var opts = this.options, self = this; //if (BI.isNumber(opts.height) && BI.isNull(opts.lineHeight)) { @@ -9915,7 +9915,7 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, { this.text = BI.createWidget({ type: "bi.label", element: this, - height: opts.height-2, + height: opts.height - 2, whiteSpace: opts.whiteSpace, text: opts.text, value: opts.value, @@ -9923,16 +9923,16 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, { }) }, - setSelected: function(){ + setSelected: function () { BI.SegmentButton.superclass.setSelected.apply(this, arguments); }, - setText : function(text) { + setText: function (text) { BI.SegmentButton.superclass.setText.apply(this, arguments); this.text.setText(text); }, - destroy : function() { + destroy: function () { BI.SegmentButton.superclass.destroy.apply(this, arguments); } }); diff --git a/docs/case.js b/docs/case.js index 974f1f22a..4ea3bd985 100644 --- a/docs/case.js +++ b/docs/case.js @@ -9896,17 +9896,17 @@ BI.shortcut("bi.detail_pager", BI.DetailPager);/** */ BI.SegmentButton = BI.inherit(BI.BasicButton, { - _defaultConfig: function() { + _defaultConfig: function () { var conf = BI.SegmentButton.superclass._defaultConfig.apply(this, arguments); - return BI.extend( conf, { - baseCls : (conf.baseCls ||"")+' bi-segment-button bi-list-item-active', + return BI.extend(conf, { + baseCls: (conf.baseCls || "") + ' bi-segment-button bi-list-item-active', shadow: true, readonly: true, - hgap: 10 + hgap: 5 }) }, - _init:function() { + _init: function () { BI.SegmentButton.superclass._init.apply(this, arguments); var opts = this.options, self = this; //if (BI.isNumber(opts.height) && BI.isNull(opts.lineHeight)) { @@ -9915,7 +9915,7 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, { this.text = BI.createWidget({ type: "bi.label", element: this, - height: opts.height-2, + height: opts.height - 2, whiteSpace: opts.whiteSpace, text: opts.text, value: opts.value, @@ -9923,16 +9923,16 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, { }) }, - setSelected: function(){ + setSelected: function () { BI.SegmentButton.superclass.setSelected.apply(this, arguments); }, - setText : function(text) { + setText: function (text) { BI.SegmentButton.superclass.setText.apply(this, arguments); this.text.setText(text); }, - destroy : function() { + destroy: function () { BI.SegmentButton.superclass.destroy.apply(this, arguments); } }); diff --git a/src/case/segment/button.segment.js b/src/case/segment/button.segment.js index 95fb94ca0..a90cef7c7 100644 --- a/src/case/segment/button.segment.js +++ b/src/case/segment/button.segment.js @@ -7,17 +7,17 @@ */ BI.SegmentButton = BI.inherit(BI.BasicButton, { - _defaultConfig: function() { + _defaultConfig: function () { var conf = BI.SegmentButton.superclass._defaultConfig.apply(this, arguments); - return BI.extend( conf, { - baseCls : (conf.baseCls ||"")+' bi-segment-button bi-list-item-active', + return BI.extend(conf, { + baseCls: (conf.baseCls || "") + ' bi-segment-button bi-list-item-active', shadow: true, readonly: true, - hgap: 10 + hgap: 5 }) }, - _init:function() { + _init: function () { BI.SegmentButton.superclass._init.apply(this, arguments); var opts = this.options, self = this; //if (BI.isNumber(opts.height) && BI.isNull(opts.lineHeight)) { @@ -26,7 +26,7 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, { this.text = BI.createWidget({ type: "bi.label", element: this, - height: opts.height-2, + height: opts.height - 2, whiteSpace: opts.whiteSpace, text: opts.text, value: opts.value, @@ -34,16 +34,16 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, { }) }, - setSelected: function(){ + setSelected: function () { BI.SegmentButton.superclass.setSelected.apply(this, arguments); }, - setText : function(text) { + setText: function (text) { BI.SegmentButton.superclass.setText.apply(this, arguments); this.text.setText(text); }, - destroy : function() { + destroy: function () { BI.SegmentButton.superclass.destroy.apply(this, arguments); } }); From ef971540100752893441f6136bbaa6bcfa5e47e0 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 13 Jun 2017 16:15:46 +0800 Subject: [PATCH 02/16] add --- bi/case.js | 53 ++++++++++++++++--- bi/core.js | 8 ++- docs/case.js | 53 ++++++++++++++++--- docs/core.js | 8 ++- src/case/colorchooser/colorchooser.trigger.js | 5 +- .../colorpicker/editor.colorpicker.js | 48 ++++++++++++++--- src/core/func/function.js | 8 ++- 7 files changed, 156 insertions(+), 27 deletions(-) diff --git a/bi/case.js b/bi/case.js index 4ea3bd985..feda5e08b 100644 --- a/bi/case.js +++ b/bi/case.js @@ -3940,7 +3940,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { _defaultConfig: function () { var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { - baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger bi-card", + baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", height: 30 }) }, @@ -3948,7 +3948,8 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { _init: function () { BI.ColorChooserTrigger.superclass._init.apply(this, arguments); this.colorContainer = BI.createWidget({ - type: "bi.layout" + type: "bi.layout", + cls: "bi-card" }); var down = BI.createWidget({ @@ -4274,7 +4275,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { errorText: BI.i18nText("BI-Color_Picker_Error_Text"), allowBlank: true, value: 255, - width: 35, + width: 32, height: 20 }); BI.each(Ws, function (i, w) { @@ -4290,7 +4291,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { this.B = Ws[2]; this.none = BI.createWidget({ - type: "bi.checkbox" + type: "bi.checkbox", + title: BI.i18nText("BI-Basic_Auto") }); this.none.on(BI.Checkbox.EVENT_CHANGE, function () { if (this.isSelected()) { @@ -4305,6 +4307,23 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { } }); + this.transparent = BI.createWidget({ + type: "bi.checkbox", + title: BI.i18nText("BI-Transparent_Color") + }); + this.transparent.on(BI.Checkbox.EVENT_CHANGE, function () { + if (this.isSelected()) { + self.lastColor = self.getValue(); + self.setValue("transparent"); + } else { + self.setValue(self.lastColor || "#000000"); + } + if (self.R.isValid() && self.G.isValid() && self.B.isValid()) { + self.colorShow.element.css("background-color", self.getValue()); + self.fireEvent(BI.ColorPickerEditor.EVENT_CHANGE); + } + }); + BI.createWidget({ type: "bi.htape", element: this, @@ -4314,21 +4333,21 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { }, { el: RGB[0], lgap: 10, - width: 20 + width: 16 }, { el: this.R, width: 32 }, { el: RGB[1], lgap: 10, - width: 20 + width: 16 }, { el: this.G, width: 32 }, { el: RGB[2], lgap: 10, - width: 20 + width: 16 }, { el: this.B, width: 32 @@ -4337,18 +4356,33 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { type: "bi.center_adapt", items: [this.none] }, - width: 20 + width: 18 + }, { + el: { + type: "bi.center_adapt", + items: [this.transparent] + }, + width: 18 }] }) }, setValue: function (color) { + if (color === "transparent") { + this.transparent.setSelected(true); + this.none.setSelected(false); + this.R.setValue(""); + this.G.setValue(""); + this.B.setValue(""); + return; + } if (!color) { color = ""; this.none.setSelected(true); } else { this.none.setSelected(false); } + this.transparent.setSelected(false); this.colorShow.element.css("background-color", color); var json = BI.DOM.rgb2json(BI.DOM.hex2rgb(color)); this.R.setValue(BI.isNull(json.r) ? "" : json.r); @@ -4357,6 +4391,9 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { }, getValue: function () { + if (this.transparent.isSelected()) { + return "transparent"; + } return BI.DOM.rgb2hex(BI.DOM.json2rgb({ r: this.R.getValue(), g: this.G.getValue(), diff --git a/bi/core.js b/bi/core.js index ece344eed..8cb222b3d 100644 --- a/bi/core.js +++ b/bi/core.js @@ -16840,7 +16840,7 @@ BI.extend(BI.DOM, { }, isDarkColor: function (hex) { - if (!hex) { + if (!hex || !this.isHexColor(hex)) { return false; } var rgb = this.rgb2json(this.hex2rgb(hex)); @@ -16880,6 +16880,9 @@ BI.extend(BI.DOM, { if (!rgbColour) { return {}; } + if (!this.isRGBColor(rgbColour)) { + return {}; + } var rgbValues = rgbColour.match(/\d+(\.\d+)?/g); return { r: BI.parseInt(rgbValues[0]), @@ -16925,6 +16928,9 @@ BI.extend(BI.DOM, { if (!color) { return ""; } + if (!this.isHexColor(color)) { + return color; + } var tempValue = "rgb(", colorArray; if (color.length === 7) { diff --git a/docs/case.js b/docs/case.js index 4ea3bd985..feda5e08b 100644 --- a/docs/case.js +++ b/docs/case.js @@ -3940,7 +3940,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { _defaultConfig: function () { var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { - baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger bi-card", + baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", height: 30 }) }, @@ -3948,7 +3948,8 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { _init: function () { BI.ColorChooserTrigger.superclass._init.apply(this, arguments); this.colorContainer = BI.createWidget({ - type: "bi.layout" + type: "bi.layout", + cls: "bi-card" }); var down = BI.createWidget({ @@ -4274,7 +4275,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { errorText: BI.i18nText("BI-Color_Picker_Error_Text"), allowBlank: true, value: 255, - width: 35, + width: 32, height: 20 }); BI.each(Ws, function (i, w) { @@ -4290,7 +4291,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { this.B = Ws[2]; this.none = BI.createWidget({ - type: "bi.checkbox" + type: "bi.checkbox", + title: BI.i18nText("BI-Basic_Auto") }); this.none.on(BI.Checkbox.EVENT_CHANGE, function () { if (this.isSelected()) { @@ -4305,6 +4307,23 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { } }); + this.transparent = BI.createWidget({ + type: "bi.checkbox", + title: BI.i18nText("BI-Transparent_Color") + }); + this.transparent.on(BI.Checkbox.EVENT_CHANGE, function () { + if (this.isSelected()) { + self.lastColor = self.getValue(); + self.setValue("transparent"); + } else { + self.setValue(self.lastColor || "#000000"); + } + if (self.R.isValid() && self.G.isValid() && self.B.isValid()) { + self.colorShow.element.css("background-color", self.getValue()); + self.fireEvent(BI.ColorPickerEditor.EVENT_CHANGE); + } + }); + BI.createWidget({ type: "bi.htape", element: this, @@ -4314,21 +4333,21 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { }, { el: RGB[0], lgap: 10, - width: 20 + width: 16 }, { el: this.R, width: 32 }, { el: RGB[1], lgap: 10, - width: 20 + width: 16 }, { el: this.G, width: 32 }, { el: RGB[2], lgap: 10, - width: 20 + width: 16 }, { el: this.B, width: 32 @@ -4337,18 +4356,33 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { type: "bi.center_adapt", items: [this.none] }, - width: 20 + width: 18 + }, { + el: { + type: "bi.center_adapt", + items: [this.transparent] + }, + width: 18 }] }) }, setValue: function (color) { + if (color === "transparent") { + this.transparent.setSelected(true); + this.none.setSelected(false); + this.R.setValue(""); + this.G.setValue(""); + this.B.setValue(""); + return; + } if (!color) { color = ""; this.none.setSelected(true); } else { this.none.setSelected(false); } + this.transparent.setSelected(false); this.colorShow.element.css("background-color", color); var json = BI.DOM.rgb2json(BI.DOM.hex2rgb(color)); this.R.setValue(BI.isNull(json.r) ? "" : json.r); @@ -4357,6 +4391,9 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { }, getValue: function () { + if (this.transparent.isSelected()) { + return "transparent"; + } return BI.DOM.rgb2hex(BI.DOM.json2rgb({ r: this.R.getValue(), g: this.G.getValue(), diff --git a/docs/core.js b/docs/core.js index be104363d..0c3403acc 100644 --- a/docs/core.js +++ b/docs/core.js @@ -22858,7 +22858,7 @@ BI.extend(BI.DOM, { }, isDarkColor: function (hex) { - if (!hex) { + if (!hex || !this.isHexColor(hex)) { return false; } var rgb = this.rgb2json(this.hex2rgb(hex)); @@ -22898,6 +22898,9 @@ BI.extend(BI.DOM, { if (!rgbColour) { return {}; } + if (!this.isRGBColor(rgbColour)) { + return {}; + } var rgbValues = rgbColour.match(/\d+(\.\d+)?/g); return { r: BI.parseInt(rgbValues[0]), @@ -22943,6 +22946,9 @@ BI.extend(BI.DOM, { if (!color) { return ""; } + if (!this.isHexColor(color)) { + return color; + } var tempValue = "rgb(", colorArray; if (color.length === 7) { diff --git a/src/case/colorchooser/colorchooser.trigger.js b/src/case/colorchooser/colorchooser.trigger.js index af4de6b9e..93e1c3583 100644 --- a/src/case/colorchooser/colorchooser.trigger.js +++ b/src/case/colorchooser/colorchooser.trigger.js @@ -10,7 +10,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { _defaultConfig: function () { var conf = BI.ColorChooserTrigger.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { - baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger bi-card", + baseCls: (conf.baseCls || "") + " bi-color-chooser-trigger", height: 30 }) }, @@ -18,7 +18,8 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { _init: function () { BI.ColorChooserTrigger.superclass._init.apply(this, arguments); this.colorContainer = BI.createWidget({ - type: "bi.layout" + type: "bi.layout", + cls: "bi-card" }); var down = BI.createWidget({ diff --git a/src/case/colorchooser/colorpicker/editor.colorpicker.js b/src/case/colorchooser/colorpicker/editor.colorpicker.js index 27c07f34b..adca241d6 100644 --- a/src/case/colorchooser/colorpicker/editor.colorpicker.js +++ b/src/case/colorchooser/colorpicker/editor.colorpicker.js @@ -40,7 +40,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { errorText: BI.i18nText("BI-Color_Picker_Error_Text"), allowBlank: true, value: 255, - width: 35, + width: 32, height: 20 }); BI.each(Ws, function (i, w) { @@ -56,7 +56,8 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { this.B = Ws[2]; this.none = BI.createWidget({ - type: "bi.checkbox" + type: "bi.checkbox", + title: BI.i18nText("BI-Basic_Auto") }); this.none.on(BI.Checkbox.EVENT_CHANGE, function () { if (this.isSelected()) { @@ -71,6 +72,23 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { } }); + this.transparent = BI.createWidget({ + type: "bi.checkbox", + title: BI.i18nText("BI-Transparent_Color") + }); + this.transparent.on(BI.Checkbox.EVENT_CHANGE, function () { + if (this.isSelected()) { + self.lastColor = self.getValue(); + self.setValue("transparent"); + } else { + self.setValue(self.lastColor || "#000000"); + } + if (self.R.isValid() && self.G.isValid() && self.B.isValid()) { + self.colorShow.element.css("background-color", self.getValue()); + self.fireEvent(BI.ColorPickerEditor.EVENT_CHANGE); + } + }); + BI.createWidget({ type: "bi.htape", element: this, @@ -80,21 +98,21 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { }, { el: RGB[0], lgap: 10, - width: 20 + width: 16 }, { el: this.R, width: 32 }, { el: RGB[1], lgap: 10, - width: 20 + width: 16 }, { el: this.G, width: 32 }, { el: RGB[2], lgap: 10, - width: 20 + width: 16 }, { el: this.B, width: 32 @@ -103,18 +121,33 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { type: "bi.center_adapt", items: [this.none] }, - width: 20 + width: 18 + }, { + el: { + type: "bi.center_adapt", + items: [this.transparent] + }, + width: 18 }] }) }, setValue: function (color) { + if (color === "transparent") { + this.transparent.setSelected(true); + this.none.setSelected(false); + this.R.setValue(""); + this.G.setValue(""); + this.B.setValue(""); + return; + } if (!color) { color = ""; this.none.setSelected(true); } else { this.none.setSelected(false); } + this.transparent.setSelected(false); this.colorShow.element.css("background-color", color); var json = BI.DOM.rgb2json(BI.DOM.hex2rgb(color)); this.R.setValue(BI.isNull(json.r) ? "" : json.r); @@ -123,6 +156,9 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { }, getValue: function () { + if (this.transparent.isSelected()) { + return "transparent"; + } return BI.DOM.rgb2hex(BI.DOM.json2rgb({ r: this.R.getValue(), g: this.G.getValue(), diff --git a/src/core/func/function.js b/src/core/func/function.js index dee83d9db..b26cb99df 100644 --- a/src/core/func/function.js +++ b/src/core/func/function.js @@ -122,7 +122,7 @@ BI.extend(BI.DOM, { }, isDarkColor: function (hex) { - if (!hex) { + if (!hex || !this.isHexColor(hex)) { return false; } var rgb = this.rgb2json(this.hex2rgb(hex)); @@ -162,6 +162,9 @@ BI.extend(BI.DOM, { if (!rgbColour) { return {}; } + if (!this.isRGBColor(rgbColour)) { + return {}; + } var rgbValues = rgbColour.match(/\d+(\.\d+)?/g); return { r: BI.parseInt(rgbValues[0]), @@ -207,6 +210,9 @@ BI.extend(BI.DOM, { if (!color) { return ""; } + if (!this.isHexColor(color)) { + return color; + } var tempValue = "rgb(", colorArray; if (color.length === 7) { From d7733adab166b09b7d45b3b1bb1a7c71fb3be7a0 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 13 Jun 2017 17:08:36 +0800 Subject: [PATCH 03/16] =?UTF-8?q?=E7=BB=99code=20editor=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E6=A0=87=E7=BA=A2=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/editor/editor.code.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/base/single/editor/editor.code.js b/src/base/single/editor/editor.code.js index 3a8292d0c..3acb4b164 100644 --- a/src/base/single/editor/editor.code.js +++ b/src/base/single/editor/editor.code.js @@ -85,7 +85,11 @@ BI.CodeEditor = BI.inherit(BI.Single, { var from = this.editor.getCursor(); this.editor.replaceSelection(param); var to = this.editor.getCursor(); - this.editor.markText(from, to, {className: 'param', atomic: true}); + var options = {className: 'param', atomic: true}; + if(BI.isNotNull(param.match(//))){ + options.className = 'error-param'; + } + this.editor.markText(from, to, options); this.editor.replaceSelection(" "); this.editor.focus(); }, @@ -102,6 +106,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { _.forEach(line.markedSpans, function (i, ms) { switch (i.marker.className) { case "param": + case "error-param": var fieldNameLength = i.to - i.from; value = value.substr(0, i.from + num) + "$\{" + value.substr(i.from + num, fieldNameLength) + "\}" + value.substr(i.to + num, value.length); num += 3; From 924bcc734d562885084d9b909ed3bb5ad3fa8f1c Mon Sep 17 00:00:00 2001 From: guy <141592Wc> Date: Tue, 13 Jun 2017 19:36:02 +0800 Subject: [PATCH 04/16] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E5=8A=A0=E5=85=A5?= =?UTF-8?q?=E6=A8=AA=E5=90=91=E6=BB=9A=E5=8A=A8=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/widget.js | 6 ++++-- docs/widget.js | 6 ++++-- src/component/treevaluechooser/abstract.treevaluechooser.js | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/bi/widget.js b/bi/widget.js index 7e8266319..f3b230dd3 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -17790,14 +17790,16 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree var name = values[values.length - 1]; var p = values.slice(0, values.length - 1); var pNode = this._getNode(selectedValues, p); - if (pNode[name]) { + if (pNode != null && pNode[name]) { delete pNode[name]; //递归删掉空父节点 while (p.length > 0 && BI.isEmpty(pNode)) { name = p[p.length - 1]; p = p.slice(0, p.length - 1); pNode = this._getNode(selectedValues, p); - delete pNode[name]; + if (pNode != null) { + delete pNode[name]; + } } } }, diff --git a/docs/widget.js b/docs/widget.js index 7e8266319..f3b230dd3 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -17790,14 +17790,16 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree var name = values[values.length - 1]; var p = values.slice(0, values.length - 1); var pNode = this._getNode(selectedValues, p); - if (pNode[name]) { + if (pNode != null && pNode[name]) { delete pNode[name]; //递归删掉空父节点 while (p.length > 0 && BI.isEmpty(pNode)) { name = p[p.length - 1]; p = p.slice(0, p.length - 1); pNode = this._getNode(selectedValues, p); - delete pNode[name]; + if (pNode != null) { + delete pNode[name]; + } } } }, diff --git a/src/component/treevaluechooser/abstract.treevaluechooser.js b/src/component/treevaluechooser/abstract.treevaluechooser.js index e32b1fdd1..14a083f15 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -551,14 +551,16 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { var name = values[values.length - 1]; var p = values.slice(0, values.length - 1); var pNode = this._getNode(selectedValues, p); - if (pNode[name]) { + if (pNode != null && pNode[name]) { delete pNode[name]; //递归删掉空父节点 while (p.length > 0 && BI.isEmpty(pNode)) { name = p[p.length - 1]; p = p.slice(0, p.length - 1); pNode = this._getNode(selectedValues, p); - delete pNode[name]; + if (pNode != null) { + delete pNode[name]; + } } } }, From c418d2db832164440f3f40839a3d2e62ecc35ece Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 13 Jun 2017 19:48:57 +0800 Subject: [PATCH 05/16] add --- bi/base.js | 7 ++++++- docs/base.js | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/bi/base.js b/bi/base.js index 23c9a67c6..5eda2b82f 100644 --- a/bi/base.js +++ b/bi/base.js @@ -17784,7 +17784,11 @@ BI.CodeEditor = BI.inherit(BI.Single, { var from = this.editor.getCursor(); this.editor.replaceSelection(param); var to = this.editor.getCursor(); - this.editor.markText(from, to, {className: 'param', atomic: true}); + var options = {className: 'param', atomic: true}; + if(BI.isNotNull(param.match(//))){ + options.className = 'error-param'; + } + this.editor.markText(from, to, options); this.editor.replaceSelection(" "); this.editor.focus(); }, @@ -17801,6 +17805,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { _.forEach(line.markedSpans, function (i, ms) { switch (i.marker.className) { case "param": + case "error-param": var fieldNameLength = i.to - i.from; value = value.substr(0, i.from + num) + "$\{" + value.substr(i.from + num, fieldNameLength) + "\}" + value.substr(i.to + num, value.length); num += 3; diff --git a/docs/base.js b/docs/base.js index 23c9a67c6..5eda2b82f 100644 --- a/docs/base.js +++ b/docs/base.js @@ -17784,7 +17784,11 @@ BI.CodeEditor = BI.inherit(BI.Single, { var from = this.editor.getCursor(); this.editor.replaceSelection(param); var to = this.editor.getCursor(); - this.editor.markText(from, to, {className: 'param', atomic: true}); + var options = {className: 'param', atomic: true}; + if(BI.isNotNull(param.match(//))){ + options.className = 'error-param'; + } + this.editor.markText(from, to, options); this.editor.replaceSelection(" "); this.editor.focus(); }, @@ -17801,6 +17805,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { _.forEach(line.markedSpans, function (i, ms) { switch (i.marker.className) { case "param": + case "error-param": var fieldNameLength = i.to - i.from; value = value.substr(0, i.from + num) + "$\{" + value.substr(i.from + num, fieldNameLength) + "\}" + value.substr(i.to + num, value.length); num += 3; From 0bcd43f35e71d8eb98e6c629340287c4af345811 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 14 Jun 2017 14:46:29 +0800 Subject: [PATCH 06/16] add --- bi/core.js | 4 ++-- docs/core.js | 4 ++-- src/core/func/function.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bi/core.js b/bi/core.js index 8cb222b3d..74a546c95 100644 --- a/bi/core.js +++ b/bi/core.js @@ -16822,7 +16822,7 @@ BI.extend(BI.DOM, { }, isColor: function (color) { - return this.isRGBColor(color) || this.isHexColor(color); + return color && (this.isRGBColor(color) || this.isHexColor(color)); }, isRGBColor: function (color) { @@ -16853,7 +16853,7 @@ BI.extend(BI.DOM, { //获取对比颜色 getContrastColor: function (color) { - if (!color) { + if (!color || !this.isColor(color)) { return ""; } if (this.isDarkColor(color)) { diff --git a/docs/core.js b/docs/core.js index 0c3403acc..43424df7d 100644 --- a/docs/core.js +++ b/docs/core.js @@ -22840,7 +22840,7 @@ BI.extend(BI.DOM, { }, isColor: function (color) { - return this.isRGBColor(color) || this.isHexColor(color); + return color && (this.isRGBColor(color) || this.isHexColor(color)); }, isRGBColor: function (color) { @@ -22871,7 +22871,7 @@ BI.extend(BI.DOM, { //获取对比颜色 getContrastColor: function (color) { - if (!color) { + if (!color || !this.isColor(color)) { return ""; } if (this.isDarkColor(color)) { diff --git a/src/core/func/function.js b/src/core/func/function.js index b26cb99df..5cb7acfab 100644 --- a/src/core/func/function.js +++ b/src/core/func/function.js @@ -104,7 +104,7 @@ BI.extend(BI.DOM, { }, isColor: function (color) { - return this.isRGBColor(color) || this.isHexColor(color); + return color && (this.isRGBColor(color) || this.isHexColor(color)); }, isRGBColor: function (color) { @@ -135,7 +135,7 @@ BI.extend(BI.DOM, { //获取对比颜色 getContrastColor: function (color) { - if (!color) { + if (!color || !this.isColor(color)) { return ""; } if (this.isDarkColor(color)) { From 3c1944b30cc3108c7b455dc900eb8e691b8d8d88 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 14 Jun 2017 16:06:59 +0800 Subject: [PATCH 07/16] update --- src/base/single/editor/editor.code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/single/editor/editor.code.js b/src/base/single/editor/editor.code.js index 3acb4b164..51579c702 100644 --- a/src/base/single/editor/editor.code.js +++ b/src/base/single/editor/editor.code.js @@ -86,7 +86,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { this.editor.replaceSelection(param); var to = this.editor.getCursor(); var options = {className: 'param', atomic: true}; - if(BI.isNotNull(param.match(//))){ + if(BI.isNotNull(param.match(/^$/))){ options.className = 'error-param'; } this.editor.markText(from, to, options); From 94591811d25593e1184b55cc9f75213f14ce7114 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 14 Jun 2017 18:19:19 +0800 Subject: [PATCH 08/16] add --- bi/widget.js | 66 ++++++++++++------- docs/widget.js | 66 ++++++++++++------- .../abstract.treevaluechooser.js | 66 ++++++++++++------- 3 files changed, 126 insertions(+), 72 deletions(-) diff --git a/bi/widget.js b/bi/widget.js index f3b230dd3..5590018e9 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -17365,22 +17365,34 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree function dealWithSelectedValues(selectedValues) { var p = parentValues.concat(notSelectedValue); //存储的值中存在这个值就把它删掉 + //例如选中了中国-江苏-南京, 取消中国或江苏或南京 if (canFindKey(selectedValues, p)) { //如果搜索的值在父亲链中 if (isSearchValueInParent(p)) { + //例如选中了 中国-江苏, 搜索江苏, 取消江苏 + //例如选中了 中国-江苏, 搜索江苏, 取消中国 self._deleteNode(selectedValues, p); } else { var searched = []; var finded = search(parentValues, notSelectedValue, [], searched); if (finded && BI.isNotEmptyArray(searched)) { BI.each(searched, function (i, arr) { - self._deleteNode(selectedValues, arr); + var node = self._getNode(selectedValues, arr); + if (node) { + //例如选中了 中国-江苏-南京,搜索南京,取消中国 + self._deleteNode(selectedValues, arr); + } else { + //例如选中了 中国-江苏,搜索南京,取消中国 + expandSelectedValue(selectedValues, arr, BI.last(arr)); + } }) } } } //存储的值中不存在这个值,但父亲节点是全选的情况 + //例如选中了中国-江苏,取消南京 + //important 选中了中国-江苏,取消了江苏,但是搜索的是南京 if (isChild(selectedValues, p)) { var result = [], finded = false; //如果parentValues中有匹配的值,说明搜索结果不在当前值下 @@ -17393,29 +17405,9 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree } if (finded === true) { - var next = selectedValues; - BI.each(p, function (i, v) { - var t = next[v]; - if (t == null) { - if (BI.isEmpty(next)) { - var split = p.slice(0, i); - var expanded = self._getChildren(split); - BI.each(expanded, function (m, child) { - if (i === p.length - 1 && child.value === notSelectedValue) { - return true; - } - next[child.value] = {}; - }); - next = next[v]; - } else { - next = {}; - next[v] = {}; - } - } else { - next = t; - } - }); - + //去掉点击的节点之后的结果集 + expandSelectedValue(selectedValues, p, notSelectedValue); + //添加去掉搜索的结果集 if (result.length > 0) { BI.each(result, function (i, strs) { self._buildTree(selectedValues, strs); @@ -17426,6 +17418,32 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree } + function expandSelectedValue(selectedValues, parents, notSelectedValue) { + var next = selectedValues; + //去掉点击的节点之后的结果集 + BI.each(parents, function (i, v) { + var t = next[v]; + if (t == null) { + if (BI.isEmpty(next)) { + var split = parents.slice(0, i); + var expanded = self._getChildren(split); + BI.each(expanded, function (m, child) { + if (i === parents.length - 1 && child.value === notSelectedValue) { + return true; + } + next[child.value] = {}; + }); + next = next[v]; + } else { + next = {}; + next[v] = {}; + } + } else { + next = t; + } + }); + } + function search(parents, current, result, searched) { var newParents = BI.clone(parents); newParents.push(current); diff --git a/docs/widget.js b/docs/widget.js index f3b230dd3..5590018e9 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -17365,22 +17365,34 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree function dealWithSelectedValues(selectedValues) { var p = parentValues.concat(notSelectedValue); //存储的值中存在这个值就把它删掉 + //例如选中了中国-江苏-南京, 取消中国或江苏或南京 if (canFindKey(selectedValues, p)) { //如果搜索的值在父亲链中 if (isSearchValueInParent(p)) { + //例如选中了 中国-江苏, 搜索江苏, 取消江苏 + //例如选中了 中国-江苏, 搜索江苏, 取消中国 self._deleteNode(selectedValues, p); } else { var searched = []; var finded = search(parentValues, notSelectedValue, [], searched); if (finded && BI.isNotEmptyArray(searched)) { BI.each(searched, function (i, arr) { - self._deleteNode(selectedValues, arr); + var node = self._getNode(selectedValues, arr); + if (node) { + //例如选中了 中国-江苏-南京,搜索南京,取消中国 + self._deleteNode(selectedValues, arr); + } else { + //例如选中了 中国-江苏,搜索南京,取消中国 + expandSelectedValue(selectedValues, arr, BI.last(arr)); + } }) } } } //存储的值中不存在这个值,但父亲节点是全选的情况 + //例如选中了中国-江苏,取消南京 + //important 选中了中国-江苏,取消了江苏,但是搜索的是南京 if (isChild(selectedValues, p)) { var result = [], finded = false; //如果parentValues中有匹配的值,说明搜索结果不在当前值下 @@ -17393,29 +17405,9 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree } if (finded === true) { - var next = selectedValues; - BI.each(p, function (i, v) { - var t = next[v]; - if (t == null) { - if (BI.isEmpty(next)) { - var split = p.slice(0, i); - var expanded = self._getChildren(split); - BI.each(expanded, function (m, child) { - if (i === p.length - 1 && child.value === notSelectedValue) { - return true; - } - next[child.value] = {}; - }); - next = next[v]; - } else { - next = {}; - next[v] = {}; - } - } else { - next = t; - } - }); - + //去掉点击的节点之后的结果集 + expandSelectedValue(selectedValues, p, notSelectedValue); + //添加去掉搜索的结果集 if (result.length > 0) { BI.each(result, function (i, strs) { self._buildTree(selectedValues, strs); @@ -17426,6 +17418,32 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree } + function expandSelectedValue(selectedValues, parents, notSelectedValue) { + var next = selectedValues; + //去掉点击的节点之后的结果集 + BI.each(parents, function (i, v) { + var t = next[v]; + if (t == null) { + if (BI.isEmpty(next)) { + var split = parents.slice(0, i); + var expanded = self._getChildren(split); + BI.each(expanded, function (m, child) { + if (i === parents.length - 1 && child.value === notSelectedValue) { + return true; + } + next[child.value] = {}; + }); + next = next[v]; + } else { + next = {}; + next[v] = {}; + } + } else { + next = t; + } + }); + } + function search(parents, current, result, searched) { var newParents = BI.clone(parents); newParents.push(current); diff --git a/src/component/treevaluechooser/abstract.treevaluechooser.js b/src/component/treevaluechooser/abstract.treevaluechooser.js index 14a083f15..669713eef 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -126,22 +126,34 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { function dealWithSelectedValues(selectedValues) { var p = parentValues.concat(notSelectedValue); //存储的值中存在这个值就把它删掉 + //例如选中了中国-江苏-南京, 取消中国或江苏或南京 if (canFindKey(selectedValues, p)) { //如果搜索的值在父亲链中 if (isSearchValueInParent(p)) { + //例如选中了 中国-江苏, 搜索江苏, 取消江苏 + //例如选中了 中国-江苏, 搜索江苏, 取消中国 self._deleteNode(selectedValues, p); } else { var searched = []; var finded = search(parentValues, notSelectedValue, [], searched); if (finded && BI.isNotEmptyArray(searched)) { BI.each(searched, function (i, arr) { - self._deleteNode(selectedValues, arr); + var node = self._getNode(selectedValues, arr); + if (node) { + //例如选中了 中国-江苏-南京,搜索南京,取消中国 + self._deleteNode(selectedValues, arr); + } else { + //例如选中了 中国-江苏,搜索南京,取消中国 + expandSelectedValue(selectedValues, arr, BI.last(arr)); + } }) } } } //存储的值中不存在这个值,但父亲节点是全选的情况 + //例如选中了中国-江苏,取消南京 + //important 选中了中国-江苏,取消了江苏,但是搜索的是南京 if (isChild(selectedValues, p)) { var result = [], finded = false; //如果parentValues中有匹配的值,说明搜索结果不在当前值下 @@ -154,29 +166,9 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { } if (finded === true) { - var next = selectedValues; - BI.each(p, function (i, v) { - var t = next[v]; - if (t == null) { - if (BI.isEmpty(next)) { - var split = p.slice(0, i); - var expanded = self._getChildren(split); - BI.each(expanded, function (m, child) { - if (i === p.length - 1 && child.value === notSelectedValue) { - return true; - } - next[child.value] = {}; - }); - next = next[v]; - } else { - next = {}; - next[v] = {}; - } - } else { - next = t; - } - }); - + //去掉点击的节点之后的结果集 + expandSelectedValue(selectedValues, p, notSelectedValue); + //添加去掉搜索的结果集 if (result.length > 0) { BI.each(result, function (i, strs) { self._buildTree(selectedValues, strs); @@ -187,6 +179,32 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { } + function expandSelectedValue(selectedValues, parents, notSelectedValue) { + var next = selectedValues; + //去掉点击的节点之后的结果集 + BI.each(parents, function (i, v) { + var t = next[v]; + if (t == null) { + if (BI.isEmpty(next)) { + var split = parents.slice(0, i); + var expanded = self._getChildren(split); + BI.each(expanded, function (m, child) { + if (i === parents.length - 1 && child.value === notSelectedValue) { + return true; + } + next[child.value] = {}; + }); + next = next[v]; + } else { + next = {}; + next[v] = {}; + } + } else { + next = t; + } + }); + } + function search(parents, current, result, searched) { var newParents = BI.clone(parents); newParents.push(current); From 9b73cd55ee0d0f665af8c6d1bf3bea68255d342f Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 14 Jun 2017 18:19:37 +0800 Subject: [PATCH 09/16] add --- bi/base.js | 2 +- docs/base.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bi/base.js b/bi/base.js index 5eda2b82f..61c06e30a 100644 --- a/bi/base.js +++ b/bi/base.js @@ -17785,7 +17785,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { this.editor.replaceSelection(param); var to = this.editor.getCursor(); var options = {className: 'param', atomic: true}; - if(BI.isNotNull(param.match(//))){ + if(BI.isNotNull(param.match(/^$/))){ options.className = 'error-param'; } this.editor.markText(from, to, options); diff --git a/docs/base.js b/docs/base.js index 5eda2b82f..61c06e30a 100644 --- a/docs/base.js +++ b/docs/base.js @@ -17785,7 +17785,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { this.editor.replaceSelection(param); var to = this.editor.getCursor(); var options = {className: 'param', atomic: true}; - if(BI.isNotNull(param.match(//))){ + if(BI.isNotNull(param.match(/^$/))){ options.className = 'error-param'; } this.editor.markText(from, to, options); From e676619b12e80af21154a82160cd59f9ef90623b Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 15 Jun 2017 10:21:43 +0800 Subject: [PATCH 10/16] codeeditor --- bi/base.css | 6 ------ bi/base.js | 19 ++++++++++++++----- bi/widget.js | 2 +- docs/base.css | 6 ------ docs/base.js | 19 ++++++++++++++----- docs/widget.js | 2 +- src/base/single/editor/editor.code.js | 19 ++++++++++++++----- .../abstract.treevaluechooser.js | 2 +- src/css/base/formula/codemirror.css | 6 ------ src/less/base/formula/codemirror.less | 9 --------- 10 files changed, 45 insertions(+), 45 deletions(-) diff --git a/bi/base.css b/bi/base.css index 5d30a881e..6644ebae9 100644 --- a/bi/base.css +++ b/bi/base.css @@ -129,12 +129,6 @@ cursor: text; width: 100%; height: 100%; - color: #1a1a1a; - background-color: #ffffff; -} -.bi-theme-dark .CodeMirror { - color: #ffffff; - background-color: #242640; } /* PADDING */ .CodeMirror-lines { diff --git a/bi/base.js b/bi/base.js index 61c06e30a..1b93930aa 100644 --- a/bi/base.js +++ b/bi/base.js @@ -17706,7 +17706,7 @@ BI.shortcut("bi.text_node", BI.TextNode);/** BI.CodeEditor = BI.inherit(BI.Single, { _defaultConfig: function () { return $.extend(BI.CodeEditor.superclass._defaultConfig.apply(), { - baseCls: 'bi-code-editor', + baseCls: 'bi-code-editor bi-card', value: '', watermark: "" }); @@ -17780,12 +17780,12 @@ BI.CodeEditor = BI.inherit(BI.Single, { this.editor.setOption("readOnly", b === true ? false : "nocursor") }, - insertParam: function(param){ + insertParam: function (param) { var from = this.editor.getCursor(); this.editor.replaceSelection(param); var to = this.editor.getCursor(); var options = {className: 'param', atomic: true}; - if(BI.isNotNull(param.match(/^$/))){ + if (BI.isNotNull(param.match(/^$/))) { options.className = 'error-param'; } this.editor.markText(from, to, options); @@ -17793,7 +17793,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { this.editor.focus(); }, - insertString: function(str){ + insertString: function (str) { this.editor.replaceSelection(str); this.editor.focus(); }, @@ -17837,7 +17837,16 @@ BI.CodeEditor = BI.inherit(BI.Single, { }) }, - refresh: function(){ + setStyle: function (style) { + this.style = style; + this.element.css(style); + }, + + getStyle: function () { + return this.style; + }, + + refresh: function () { var self = this; BI.nextTick(function () { self.editor.refresh(); diff --git a/bi/widget.js b/bi/widget.js index 5590018e9..c80a93cea 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -17319,7 +17319,7 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree var node = self._getTreeNode(parentValues, k); var newParents = BI.clone(parentValues); newParents.push(node.value); - createOneJson(node, BI.last(parentValues), getCount(selected[k], newParents)); + createOneJson(node, node.parent && node.parent.id, getCount(selected[k], newParents)); doCheck(newParents, node, selected[k]); }) } diff --git a/docs/base.css b/docs/base.css index 5d30a881e..6644ebae9 100644 --- a/docs/base.css +++ b/docs/base.css @@ -129,12 +129,6 @@ cursor: text; width: 100%; height: 100%; - color: #1a1a1a; - background-color: #ffffff; -} -.bi-theme-dark .CodeMirror { - color: #ffffff; - background-color: #242640; } /* PADDING */ .CodeMirror-lines { diff --git a/docs/base.js b/docs/base.js index 61c06e30a..1b93930aa 100644 --- a/docs/base.js +++ b/docs/base.js @@ -17706,7 +17706,7 @@ BI.shortcut("bi.text_node", BI.TextNode);/** BI.CodeEditor = BI.inherit(BI.Single, { _defaultConfig: function () { return $.extend(BI.CodeEditor.superclass._defaultConfig.apply(), { - baseCls: 'bi-code-editor', + baseCls: 'bi-code-editor bi-card', value: '', watermark: "" }); @@ -17780,12 +17780,12 @@ BI.CodeEditor = BI.inherit(BI.Single, { this.editor.setOption("readOnly", b === true ? false : "nocursor") }, - insertParam: function(param){ + insertParam: function (param) { var from = this.editor.getCursor(); this.editor.replaceSelection(param); var to = this.editor.getCursor(); var options = {className: 'param', atomic: true}; - if(BI.isNotNull(param.match(/^$/))){ + if (BI.isNotNull(param.match(/^$/))) { options.className = 'error-param'; } this.editor.markText(from, to, options); @@ -17793,7 +17793,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { this.editor.focus(); }, - insertString: function(str){ + insertString: function (str) { this.editor.replaceSelection(str); this.editor.focus(); }, @@ -17837,7 +17837,16 @@ BI.CodeEditor = BI.inherit(BI.Single, { }) }, - refresh: function(){ + setStyle: function (style) { + this.style = style; + this.element.css(style); + }, + + getStyle: function () { + return this.style; + }, + + refresh: function () { var self = this; BI.nextTick(function () { self.editor.refresh(); diff --git a/docs/widget.js b/docs/widget.js index 5590018e9..c80a93cea 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -17319,7 +17319,7 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree var node = self._getTreeNode(parentValues, k); var newParents = BI.clone(parentValues); newParents.push(node.value); - createOneJson(node, BI.last(parentValues), getCount(selected[k], newParents)); + createOneJson(node, node.parent && node.parent.id, getCount(selected[k], newParents)); doCheck(newParents, node, selected[k]); }) } diff --git a/src/base/single/editor/editor.code.js b/src/base/single/editor/editor.code.js index 51579c702..ab2dc122b 100644 --- a/src/base/single/editor/editor.code.js +++ b/src/base/single/editor/editor.code.js @@ -7,7 +7,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { _defaultConfig: function () { return $.extend(BI.CodeEditor.superclass._defaultConfig.apply(), { - baseCls: 'bi-code-editor', + baseCls: 'bi-code-editor bi-card', value: '', watermark: "" }); @@ -81,12 +81,12 @@ BI.CodeEditor = BI.inherit(BI.Single, { this.editor.setOption("readOnly", b === true ? false : "nocursor") }, - insertParam: function(param){ + insertParam: function (param) { var from = this.editor.getCursor(); this.editor.replaceSelection(param); var to = this.editor.getCursor(); var options = {className: 'param', atomic: true}; - if(BI.isNotNull(param.match(/^$/))){ + if (BI.isNotNull(param.match(/^$/))) { options.className = 'error-param'; } this.editor.markText(from, to, options); @@ -94,7 +94,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { this.editor.focus(); }, - insertString: function(str){ + insertString: function (str) { this.editor.replaceSelection(str); this.editor.focus(); }, @@ -138,7 +138,16 @@ BI.CodeEditor = BI.inherit(BI.Single, { }) }, - refresh: function(){ + setStyle: function (style) { + this.style = style; + this.element.css(style); + }, + + getStyle: function () { + return this.style; + }, + + refresh: function () { var self = this; BI.nextTick(function () { self.editor.refresh(); diff --git a/src/component/treevaluechooser/abstract.treevaluechooser.js b/src/component/treevaluechooser/abstract.treevaluechooser.js index 669713eef..b600f60d6 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -80,7 +80,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { var node = self._getTreeNode(parentValues, k); var newParents = BI.clone(parentValues); newParents.push(node.value); - createOneJson(node, BI.last(parentValues), getCount(selected[k], newParents)); + createOneJson(node, node.parent && node.parent.id, getCount(selected[k], newParents)); doCheck(newParents, node, selected[k]); }) } diff --git a/src/css/base/formula/codemirror.css b/src/css/base/formula/codemirror.css index 7142bfbe8..6cece7573 100644 --- a/src/css/base/formula/codemirror.css +++ b/src/css/base/formula/codemirror.css @@ -8,12 +8,6 @@ cursor: text; width: 100%; height: 100%; - color: #1a1a1a; - background-color: #ffffff; -} -.bi-theme-dark .CodeMirror { - color: #ffffff; - background-color: #242640; } /* PADDING */ .CodeMirror-lines { diff --git a/src/less/base/formula/codemirror.less b/src/less/base/formula/codemirror.less index 7c8fc3117..5daabc070 100644 --- a/src/less/base/formula/codemirror.less +++ b/src/less/base/formula/codemirror.less @@ -8,15 +8,6 @@ cursor: text; // .border-radius(4px); .size(100%, 100%); - color: @color-bi-text-black; - background-color: @color-bi-background-default; -} - -.bi-theme-dark { - .CodeMirror { - color: @color-bi-text; - background-color: @color-bi-background-default-theme-dark; - } } /* PADDING */ From 0bd56bb8c2bb302fd874582434993dde4a72d1fe Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 15 Jun 2017 10:30:41 +0800 Subject: [PATCH 11/16] add --- bi/base.js | 6 +++--- docs/base.js | 6 +++--- src/base/formula/formulaeditor.js | 2 +- src/base/single/editor/editor.textarea.js | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bi/base.js b/bi/base.js index 1b93930aa..08d29be21 100644 --- a/bi/base.js +++ b/bi/base.js @@ -14254,7 +14254,7 @@ BI.FormulaCollections = ["abs","ABS","acos","ACOS","acosh","ACOSH","add2array"," BI.FormulaEditor = BI.inherit(BI.Single, { _defaultConfig: function () { return $.extend(BI.FormulaEditor.superclass._defaultConfig.apply(), { - baseCls: 'bi-formula-editor', + baseCls: 'bi-formula-editor bi-card', watermark: '', value: '', fieldTextValueMap: {}, @@ -18274,7 +18274,7 @@ BI.shortcut("bi.multifile_editor", BI.MultifileEditor);/** BI.TextAreaEditor = BI.inherit(BI.Single, { _defaultConfig: function () { return $.extend(BI.TextAreaEditor.superclass._defaultConfig.apply(), { - baseCls: 'bi-textarea-editor', + baseCls: 'bi-textarea-editor bi-card', value: '' }); }, @@ -18286,7 +18286,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { tagName: "textarea", width: "100%", height: "100%", - cls: "textarea-editor-content display-block bi-card" + cls: "textarea-editor-content display-block" }); this.content.element.css({"resize": "none"}); BI.createWidget({ diff --git a/docs/base.js b/docs/base.js index 1b93930aa..08d29be21 100644 --- a/docs/base.js +++ b/docs/base.js @@ -14254,7 +14254,7 @@ BI.FormulaCollections = ["abs","ABS","acos","ACOS","acosh","ACOSH","add2array"," BI.FormulaEditor = BI.inherit(BI.Single, { _defaultConfig: function () { return $.extend(BI.FormulaEditor.superclass._defaultConfig.apply(), { - baseCls: 'bi-formula-editor', + baseCls: 'bi-formula-editor bi-card', watermark: '', value: '', fieldTextValueMap: {}, @@ -18274,7 +18274,7 @@ BI.shortcut("bi.multifile_editor", BI.MultifileEditor);/** BI.TextAreaEditor = BI.inherit(BI.Single, { _defaultConfig: function () { return $.extend(BI.TextAreaEditor.superclass._defaultConfig.apply(), { - baseCls: 'bi-textarea-editor', + baseCls: 'bi-textarea-editor bi-card', value: '' }); }, @@ -18286,7 +18286,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { tagName: "textarea", width: "100%", height: "100%", - cls: "textarea-editor-content display-block bi-card" + cls: "textarea-editor-content display-block" }); this.content.element.css({"resize": "none"}); BI.createWidget({ diff --git a/src/base/formula/formulaeditor.js b/src/base/formula/formulaeditor.js index fa3c7de1c..9d721e420 100644 --- a/src/base/formula/formulaeditor.js +++ b/src/base/formula/formulaeditor.js @@ -6,7 +6,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, { _defaultConfig: function () { return $.extend(BI.FormulaEditor.superclass._defaultConfig.apply(), { - baseCls: 'bi-formula-editor', + baseCls: 'bi-formula-editor bi-card', watermark: '', value: '', fieldTextValueMap: {}, diff --git a/src/base/single/editor/editor.textarea.js b/src/base/single/editor/editor.textarea.js index 97d94290c..5efc3fae5 100644 --- a/src/base/single/editor/editor.textarea.js +++ b/src/base/single/editor/editor.textarea.js @@ -7,7 +7,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { _defaultConfig: function () { return $.extend(BI.TextAreaEditor.superclass._defaultConfig.apply(), { - baseCls: 'bi-textarea-editor', + baseCls: 'bi-textarea-editor bi-card', value: '' }); }, @@ -19,7 +19,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { tagName: "textarea", width: "100%", height: "100%", - cls: "textarea-editor-content display-block bi-card" + cls: "textarea-editor-content display-block" }); this.content.element.css({"resize": "none"}); BI.createWidget({ From b24fe4d33db10add8f15d92cc461d26b235d121b Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 15 Jun 2017 10:33:00 +0800 Subject: [PATCH 12/16] add --- bi/base.js | 4 ++-- docs/base.js | 4 ++-- src/base/foundation/message.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bi/base.js b/bi/base.js index 08d29be21..1ac498a6c 100644 --- a/bi/base.js +++ b/bi/base.js @@ -14492,11 +14492,11 @@ $.extend(BI, { alert: function (title, message, callback) { this._show(false, title, message, callback); }, - confirm: function (title, message, callback, min_width) { + confirm: function (title, message, callback) { this._show(true, title, message, callback); }, prompt: function (title, message, value, callback, min_width) { - BI.Msg.prompt(title, message, value, callback, min_width); + // BI.Msg.prompt(title, message, value, callback, min_width); }, toast: function (message, level, context) { context = context || $("body"); diff --git a/docs/base.js b/docs/base.js index 08d29be21..1ac498a6c 100644 --- a/docs/base.js +++ b/docs/base.js @@ -14492,11 +14492,11 @@ $.extend(BI, { alert: function (title, message, callback) { this._show(false, title, message, callback); }, - confirm: function (title, message, callback, min_width) { + confirm: function (title, message, callback) { this._show(true, title, message, callback); }, prompt: function (title, message, value, callback, min_width) { - BI.Msg.prompt(title, message, value, callback, min_width); + // BI.Msg.prompt(title, message, value, callback, min_width); }, toast: function (message, level, context) { context = context || $("body"); diff --git a/src/base/foundation/message.js b/src/base/foundation/message.js index 5ea5234f1..e22ab89c6 100644 --- a/src/base/foundation/message.js +++ b/src/base/foundation/message.js @@ -12,11 +12,11 @@ $.extend(BI, { alert: function (title, message, callback) { this._show(false, title, message, callback); }, - confirm: function (title, message, callback, min_width) { + confirm: function (title, message, callback) { this._show(true, title, message, callback); }, prompt: function (title, message, value, callback, min_width) { - BI.Msg.prompt(title, message, value, callback, min_width); + // BI.Msg.prompt(title, message, value, callback, min_width); }, toast: function (message, level, context) { context = context || $("body"); From 14e2485b9578f92f262c0e85bca8cd1e8ee32504 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 15 Jun 2017 11:06:34 +0800 Subject: [PATCH 13/16] add --- demo/css/main.css | 2 +- demo/js/north.js | 4 ++-- demo/less/main.less | 2 +- docs/demo.css | 2 +- docs/demo.js | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/demo/css/main.css b/demo/css/main.css index a7c674685..f230d2481 100644 --- a/demo/css/main.css +++ b/demo/css/main.css @@ -45,6 +45,6 @@ body { background-color: #eff1f4; } -body.bi-theme-dark { +.bi-theme-dark body { background-color: #191B2B; } diff --git a/demo/js/north.js b/demo/js/north.js index 84b2d2078..d214cdf14 100644 --- a/demo/js/north.js +++ b/demo/js/north.js @@ -28,13 +28,13 @@ Demo.North = BI.inherit(BI.Widget, { type: "bi.text_button", text: "星空蓝", handler: function () { - $("body").removeClass("bi-theme-default").addClass("bi-theme-dark"); + $("html").removeClass("bi-theme-default").addClass("bi-theme-dark"); } }, { type: "bi.text_button", text: "典雅白", handler: function () { - $("body").removeClass("bi-theme-dark").addClass("bi-theme-default"); + $("html").removeClass("bi-theme-dark").addClass("bi-theme-default"); } }] } diff --git a/demo/less/main.less b/demo/less/main.less index afdeded82..662c65ed7 100644 --- a/demo/less/main.less +++ b/demo/less/main.less @@ -58,6 +58,6 @@ body { background-color: @color-bi-background-normal; } -body.bi-theme-dark { +.bi-theme-dark body { background-color: @color-bi-background-normal-theme-dark; } \ No newline at end of file diff --git a/docs/demo.css b/docs/demo.css index 2c14653b2..0ce1e8299 100644 --- a/docs/demo.css +++ b/docs/demo.css @@ -54,7 +54,7 @@ body { background-color: #eff1f4; } -body.bi-theme-dark { +.bi-theme-dark body { background-color: #191B2B; } /****添加计算宽度的--运算符直接需要space****/ diff --git a/docs/demo.js b/docs/demo.js index a185cd476..0faea58a3 100644 --- a/docs/demo.js +++ b/docs/demo.js @@ -5585,13 +5585,13 @@ BI.shortcut("demo.main", Demo.Main);Demo.North = BI.inherit(BI.Widget, { type: "bi.text_button", text: "星空蓝", handler: function () { - $("body").removeClass("bi-theme-default").addClass("bi-theme-dark"); + $("html").removeClass("bi-theme-default").addClass("bi-theme-dark"); } }, { type: "bi.text_button", text: "典雅白", handler: function () { - $("body").removeClass("bi-theme-dark").addClass("bi-theme-default"); + $("html").removeClass("bi-theme-dark").addClass("bi-theme-default"); } }] } From 58839a6105d48e0c45bd987cd40d0086db68e1e3 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 15 Jun 2017 11:18:58 +0800 Subject: [PATCH 14/16] =?UTF-8?q?=E8=BE=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/editor/editor.code.js | 4 ++++ src/widget/date/combo.date.js | 2 +- src/widget/date/trigger.date.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/base/single/editor/editor.code.js b/src/base/single/editor/editor.code.js index ab2dc122b..2852399c0 100644 --- a/src/base/single/editor/editor.code.js +++ b/src/base/single/editor/editor.code.js @@ -138,6 +138,10 @@ BI.CodeEditor = BI.inherit(BI.Single, { }) }, + focus: function () { + this.editor.focus(); + }, + setStyle: function (style) { this.style = style; this.element.css(style); diff --git a/src/widget/date/combo.date.js b/src/widget/date/combo.date.js index d52739790..e70e30138 100644 --- a/src/widget/date/combo.date.js +++ b/src/widget/date/combo.date.js @@ -8,7 +8,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-date-combo", + baseCls: "bi-date-combo bi-border", height: 30 }); }, diff --git a/src/widget/date/trigger.date.js b/src/widget/date/trigger.date.js index 8d746bbd1..8a87465a8 100644 --- a/src/widget/date/trigger.date.js +++ b/src/widget/date/trigger.date.js @@ -9,7 +9,7 @@ BI.DateTrigger = BI.inherit(BI.Trigger, { _defaultConfig: function () { return BI.extend(BI.DateTrigger.superclass._defaultConfig.apply(this, arguments), { - extraCls: "bi-date-trigger bi-border", + extraCls: "bi-date-trigger", min: '1900-01-01', //最小日期 max: '2099-12-31', //最大日期 height: 25 From bf78f5c5d8e2f565215e4421e9cdf61f753cc0b6 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 15 Jun 2017 17:47:17 +0800 Subject: [PATCH 15/16] add --- bi/base.css | 57 ------------------- bi/core.css | 10 ---- bi/widget.css | 57 ------------------- demo/css/face.css | 1 - demo/css/index.css | 1 - demo/css/main.css | 1 - demo/css/north.css | 1 - demo/css/preview.css | 1 - demo/css/west.css | 1 - docs/base.css | 57 ------------------- docs/core.css | 10 ---- docs/demo.css | 6 -- docs/resource.css | 4 -- docs/widget.css | 57 ------------------- .../colorchooser/colorchooser.trigger.css | 1 - .../colorpicker/button.colorpicker.css | 1 - .../colorpicker/editor.colorpicker.css | 1 - src/css/base/combo/combo.bubble.css | 1 - src/css/base/combo/popup.bubble.css | 1 - src/css/base/dom.css | 1 - src/css/base/editor/editor.adapt.css | 1 - src/css/base/editor/editor.search.css | 1 - src/css/base/editor/editor.search.small.css | 1 - src/css/base/editor/editor.sign.initial.css | 1 - src/css/base/formula/codemirror.css | 1 - src/css/base/foundation/bi.message.css | 1 - src/css/base/layer/layer.multiselect.css | 1 - src/css/base/layer/panel.css | 1 - src/css/base/pager/pager.all.count.css | 1 - src/css/base/pager/pager.css | 1 - src/css/base/pager/pager.direction.css | 1 - src/css/base/segment/button.segment.css | 1 - src/css/base/segment/segment.css | 1 - src/css/base/single/bar/bar.css | 1 - src/css/base/single/button/button.css | 1 - .../base/single/button/item.multiselect.css | 1 - .../button/item.singleselect.icontext.css | 1 - .../single/button/item.singleselectradio.css | 1 - src/css/base/single/button/item.texticon.css | 1 - src/css/base/single/button/listitem.css | 1 - src/css/base/single/editor/editor.css | 1 - .../base/single/editor/editor.multifile.css | 1 - src/css/base/single/editor/editor.shelter.css | 1 - src/css/base/single/editor/editor.sign.css | 1 - src/css/base/single/editor/editor.state.css | 1 - .../single/editor/editor.state.simple.css | 1 - .../base/single/editor/editor.textarea.css | 1 - src/css/base/single/input/file.css | 1 - src/css/base/single/input/input.css | 1 - src/css/base/single/single.css | 1 - src/css/base/single/text.css | 1 - src/css/base/single/tip/tip.bubble.css | 1 - src/css/base/single/tip/tip.css | 1 - src/css/base/single/tip/tip.toast.css | 1 - src/css/base/single/tip/tip.tooltip.css | 1 - src/css/base/table/table.collection.cell.css | 1 - src/css/base/table/table.collection.quick.css | 1 - src/css/base/table/table.css | 1 - src/css/base/table/table.grid.cell.css | 1 - src/css/base/table/table.grid.scrollbar.css | 1 - src/css/base/table/table.resizable.cell.css | 1 - src/css/base/table/table.resizable.css | 1 - src/css/base/table/table.tree.css | 1 - src/css/base/tree/branch.tree.css | 1 - src/css/base/trigger/trigger.css | 1 - src/css/base/trigger/trigger.editor.css | 1 - src/css/base/trigger/trigger.icon.css | 1 - src/css/base/trigger/trigger.selecttext.css | 1 - .../base/trigger/trigger.selecttextsmall.css | 1 - src/css/base/view/floatboxview.css | 1 - src/css/base/view/popupview.css | 1 - src/css/bibase.css | 1 - src/css/core/normal.css | 1 - src/css/core/utils/common.css | 1 - src/css/core/utils/overflow.css | 1 - src/css/core/utils/pos.css | 1 - src/css/core/utils/sizing.css | 1 - src/css/core/wrapper/inline.center.css | 1 - src/css/core/wrapper/inline.vertical.css | 1 - src/css/resource/app.css | 1 - .../resource/third/farbtastic/farbtastic.css | 1 - src/css/resource/third/ztree/display.tree.css | 1 - src/css/resource/third/ztree/zTreeStyle.css | 1 - src/css/theme/dark.css | 1 - src/css/theme/default.css | 1 - src/css/theme/light.css | 1 - .../widget/arrangement/arrangement.block.css | 1 - src/css/widget/arrangement/arrangement.css | 1 - .../arrangement/arrangement.droppable.css | 1 - src/css/widget/date/calendar/picker.date.css | 1 - src/css/widget/date/trigger.date.css | 1 - src/css/widget/downlist/combo.downlist.css | 1 - src/css/widget/downlist/popup.downlist.css | 1 - src/css/widget/exceltable/exceltable.cell.css | 1 - src/css/widget/exceltable/exceltable.css | 1 - .../exceltable/exceltable.header.cell.css | 1 - src/css/widget/filemanager/filemanager.css | 1 - .../items/item.file.filemanager.css | 1 - .../items/item.folder.filemanager.css | 1 - .../nav/button/button.nav.filemanager.css | 1 - .../filemanager/nav/nav.filemanager.css | 1 - .../finetuning.number.editor.css | 1 - .../interactivearrangement.css | 1 - src/css/widget/month/combo.month.css | 1 - src/css/widget/month/popup.month.css | 1 - src/css/widget/month/trigger.month.css | 1 - .../check/multiselect.check.pane.css | 1 - .../multiselect/check/multiselect.display.css | 1 - .../widget/multiselect/multiselect.combo.css | 1 - .../multiselect/multiselect.popup.view.css | 1 - .../multiselect/multiselect.trigger.css | 1 - .../search/multiselect.search.pane.css | 1 - .../trigger/button.checkselected.css | 1 - .../multistringlist/multistringlist.css | 1 - .../multitree/check/multi.tree.check.pane.css | 1 - .../widget/multitree/display.multi.tree.css | 1 - src/css/widget/multitree/multi.tree.combo.css | 1 - src/css/widget/multitree/popup.multi.tree.css | 1 - .../widget/multitree/search.multi.tree.css | 1 - .../multi.tree.button.checkselected.css | 1 - .../multitreelist/multitreelist.popup.css | 1 - .../numericalinterval/numericalinterval.css | 1 - .../popup.numericalinterval.css | 1 - src/css/widget/pagetable/pagetable.cell.css | 1 - src/css/widget/pagetable/pagetable.css | 1 - src/css/widget/pathchooser/pathchooser.css | 1 - src/css/widget/pathchooser/pathregion.css | 1 - .../widget/previewtable/previewtable.cell.css | 1 - src/css/widget/previewtable/previewtable.css | 1 - .../previewtable/previewtable.header.cell.css | 1 - src/css/widget/quarter/combo.quarter.css | 1 - src/css/widget/quarter/popup.quarter.css | 1 - src/css/widget/quarter/trigger.quarter.css | 1 - .../widget/relationview/relationview.item.css | 1 - .../relationview/relationview.region.css | 1 - .../dynamicnumber.sequencetable.css | 1 - .../listnumber.sequencetable.css | 1 - .../widget/sequencetable/sequencetable.css | 1 - .../treenumber.sequencetable.css | 1 - .../widget/singletree/combo.single.tree.css | 1 - src/css/widget/year/combo.year.css | 1 - src/css/widget/year/popup.year.css | 1 - src/css/widget/year/trigger.year.css | 1 - src/less/box-model.less | 1 - 144 files changed, 394 deletions(-) diff --git a/bi/base.css b/bi/base.css index 6644ebae9..18fca5193 100644 --- a/bi/base.css +++ b/bi/base.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-color-chooser-trigger { @@ -9,7 +8,6 @@ -webkit-box-shadow: 0px 0px 2px 1px #d4dadd inset; -moz-box-shadow: 0px 0px 2px 1px #d4dadd inset; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-color-picker-button .color-picker-button-mask { @@ -18,7 +16,6 @@ .bi-theme-dark .bi-color-picker-button .color-picker-button-mask { border: 1px solid #ffffff; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-color-picker-editor .color-picker-editor-display { @@ -29,7 +26,6 @@ -webkit-box-shadow: 0px 0px 2px 1px #d4dadd inset; -moz-box-shadow: 0px 0px 2px 1px #d4dadd inset; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-bubble-combo .button-combo-triangle-wrapper { @@ -67,7 +63,6 @@ border-right: 6px solid transparent; border-bottom: 6px solid #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-bubble-popup-view { @@ -75,16 +70,13 @@ -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-adapt-editor .adapt-editor-text { font-size: 14px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*************BI.SearchEditor******************/ @@ -94,7 +86,6 @@ .bi-search-editor .search-font { font-size: 20px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*************BI.SearchEditor******************/ @@ -113,13 +104,11 @@ .bi-small-search-editor .search-font { font-size: 18px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sign-initial-editor .sign-initial-editor-text { font-size: 14px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /* BASICS */ @@ -593,7 +582,6 @@ li.CodeMirror-hint-active { background: #08f; color: white; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-message-title { @@ -615,14 +603,12 @@ li.CodeMirror-hint-active { .bi-message-close { font-size: 25px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-list-view .bi-button-mask { opacity: 0.1; filter: alpha(opacity=10); } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-panel { @@ -634,7 +620,6 @@ li.CodeMirror-hint-active { cursor: text; font-size: 14px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-all-count-pager .all-pager-prev { @@ -643,7 +628,6 @@ li.CodeMirror-hint-active { .bi-all-count-pager .all-pager-next { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-pager .page-item { @@ -651,7 +635,6 @@ li.CodeMirror-hint-active { -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-direction-pager .direction-pager-prev { @@ -660,10 +643,8 @@ li.CodeMirror-hint-active { .bi-direction-pager .direction-pager-next { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-segment > .center-element { @@ -698,10 +679,8 @@ li.CodeMirror-hint-active { .bi-theme-dark .bi-segment > .first-element { border-left: 1px solid #242640; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-button { @@ -855,32 +834,25 @@ li.CodeMirror-hint-active { filter: alpha(opacity=20); background-color: #1a1a1a; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-single-select-icon-text-item:active .b-font:before, .bi-single-select-icon-text-item.active .b-font:before { color: #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-editor { font-size: 12px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multifile-editor .multifile-editor { @@ -889,25 +861,20 @@ li.CodeMirror-hint-active { font-size: 100px; z-index: 2; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-shelter-editor .shelter-editor-text { font-size: 12px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sign-editor .sign-editor-text { font-size: 12px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-textarea-editor { @@ -921,7 +888,6 @@ li.CodeMirror-hint-active { .bi-textarea-editor .textarea-editor-content { border: none; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-file { @@ -929,7 +895,6 @@ li.CodeMirror-hint-active { filter: alpha(opacity=0); z-index: 2; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-input { @@ -948,10 +913,8 @@ li.CodeMirror-hint-active { border: none; color: #e85050 !important; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-text { @@ -961,7 +924,6 @@ li.CodeMirror-hint-active { white-space: nowrap; word-break: break-word; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-bubble { @@ -974,13 +936,11 @@ li.CodeMirror-hint-active { background: #fddddd; color: #e85050; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-tip { position: fixed !important; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-toast { @@ -997,7 +957,6 @@ li.CodeMirror-hint-active { background: #fddddd; color: #e85050; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-tooltip { @@ -1017,7 +976,6 @@ li.CodeMirror-hint-active { color: #e85050; border: 1px solid #f4cbcb; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-collection-table-cell { @@ -1042,7 +1000,6 @@ li.CodeMirror-hint-active { .bi-theme-dark .bi-collection-table-cell.first-col { border-left: 1px solid #525466; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-quick-collection-table > div > .bi-collection { @@ -1050,7 +1007,6 @@ li.CodeMirror-hint-active { overflow-x: hidden !important; overflow-y: hidden !important; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-table > .first-col { @@ -1131,7 +1087,6 @@ li.CodeMirror-hint-active { border-top: 1px solid #525466; border-left: 1px solid #525466; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-grid-table-cell { @@ -1156,7 +1111,6 @@ li.CodeMirror-hint-active { .bi-theme-dark .bi-grid-table-cell.first-col { border-left: 1px solid #525466; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .scrollbar-layout-main { @@ -1272,7 +1226,6 @@ li.CodeMirror-hint-active { bottom: 0; position: absolute; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-resizable-table-cell .resizable-table-cell-resizer-container { @@ -1286,7 +1239,6 @@ li.CodeMirror-hint-active { .bi-resizable-table-cell .resizable-table-cell-resizer-container.suitable .resizable-table-cell-resizer-knob { background-color: #58cc7d; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-resizable-table .resizable-table-resizer { @@ -1305,28 +1257,22 @@ li.CodeMirror-hint-active { .bi-resizable-table .resizable-table-region-resizer.dragging .resizable-table-region-resizer-knob { background-color: #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-branch-tree .bi-branch-tree-view { min-width: 300px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-trigger .bi-trigger-icon-button { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-select-text-trigger { @@ -1334,7 +1280,6 @@ li.CodeMirror-hint-active { -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-small-select-text-trigger { @@ -1342,10 +1287,8 @@ li.CodeMirror-hint-active { -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /**********BI.BIListView*************/ diff --git a/bi/core.css b/bi/core.css index 47b33cda3..0ca0bec5d 100644 --- a/bi/core.css +++ b/bi/core.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ html, @@ -2951,7 +2950,6 @@ i { -webkit-animation-name: slideOutUp; animation-name: slideOutUp; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .base-disabled { @@ -3505,7 +3503,6 @@ i { cursor: move; } /*****************cursor*****************/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .y-overflow-auto { @@ -3546,7 +3543,6 @@ i { overflow-y: hidden; white-space: nowrap; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .display-block { @@ -3570,7 +3566,6 @@ i { .horizon-left { text-align: left; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*类似ie6的盒子模型 可以在有百分比的时候加border 支持到ie8*/ @@ -3900,7 +3895,6 @@ i { min-height: 100%; float: left; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-inline-center-adapt-layout:after { @@ -3910,7 +3904,6 @@ i { vertical-align: middle; content: ' '; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-inline-vertical-adapt-layout:after { @@ -3920,7 +3913,6 @@ i { vertical-align: middle; content: ' '; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-theme-dark { @@ -3930,9 +3922,7 @@ i { .bi-theme-dark .bi-input { color: #ffffff; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/bi/widget.css b/bi/widget.css index 85b1f4c3e..8d4a04925 100644 --- a/bi/widget.css +++ b/bi/widget.css @@ -1,7 +1,5 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-arrangement .arrangement-helper { @@ -40,7 +38,6 @@ z-index: 1000000001; background: #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-arrangement-droppable { @@ -112,10 +109,8 @@ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*************BI.SearchEditor******************/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-date-trigger { @@ -123,19 +118,15 @@ -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-down-list-popup .bi-down-list-item .list-item-text { max-width: 203px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-excel-table > div.bottom-right > div > div > table { @@ -144,22 +135,17 @@ .bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table { border-right: 1px solid #525466; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-excel-table-header-cell { font-weight: bold; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-file-manager-nav-button .file-manager-nav-button-text { @@ -176,10 +162,8 @@ background-color: #191b2b; color: #999999; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-fine-tuning-number-editor { @@ -187,7 +171,6 @@ -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-interactive-arrangement .interactive-arrangement-dragtag-line { @@ -197,13 +180,10 @@ .bi-interactive-arrangement .interactive-arrangement-dragtag-icon { z-index: 1000000000; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-month-trigger { @@ -211,25 +191,20 @@ -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-check-pane .multi-select-check-selected { text-decoration: underline; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-combo .multi-select-trigger-icon-button { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-trigger { @@ -237,56 +212,45 @@ -moz-border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-search-pane .multi-select-toolbar { color: #e85050; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-check-selected-button { z-index: 1; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-check-pane .multi-tree-check-selected { color: #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-combo .multi-select-trigger-icon-button { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-popup .popup-view-tree { min-height: 170px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-check-selected-button .trigger-check-selected { color: #3f8ce8; z-index: 1; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-numerical-interval .numerical-interval-small-editor { @@ -330,10 +294,8 @@ .bi-numerical-interval.number-error .bi-input { color: #e85050; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-page-table-cell { @@ -344,22 +306,18 @@ -o-user-select: initial; user-select: initial; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-path-chooser .path-chooser-radio { z-index: 1; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-path-region .path-region-label { z-index: 1; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-preview-table-cell { @@ -367,7 +325,6 @@ min-width: 80px; max-width: 220px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-preview-table { @@ -386,7 +343,6 @@ .bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd { background-color: #191b2b; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-preview-table-header-cell { @@ -395,13 +351,10 @@ min-width: 80px; max-width: 220px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-quarter-trigger { @@ -409,10 +362,8 @@ -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-relation-view-region .relation-view-region-container { @@ -424,7 +375,6 @@ .bi-relation-view-region .relation-view-region-container.other-package { border-style: dashed; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sequence-table-dynamic-number .sequence-table-title-cell { @@ -450,7 +400,6 @@ box-sizing: border-box; /*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sequence-table-list-number .sequence-table-title-cell { @@ -476,10 +425,8 @@ box-sizing: border-box; /*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sequence-table-tree-number .sequence-table-title-cell { @@ -505,13 +452,10 @@ box-sizing: border-box; /*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-year-popup .year-popup-navigation { @@ -529,7 +473,6 @@ .bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element { border-left: none; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-year-trigger { diff --git a/demo/css/face.css b/demo/css/face.css index 310c89450..2007b962c 100644 --- a/demo/css/face.css +++ b/demo/css/face.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .demo-face .face-config .config-label { diff --git a/demo/css/index.css b/demo/css/index.css index 2f6491e13..6dfa999cc 100644 --- a/demo/css/index.css +++ b/demo/css/index.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/demo/css/main.css b/demo/css/main.css index f230d2481..72ec6f198 100644 --- a/demo/css/main.css +++ b/demo/css/main.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .layout-bg-white { diff --git a/demo/css/north.css b/demo/css/north.css index ffd6fe0a3..cb5930374 100644 --- a/demo/css/north.css +++ b/demo/css/north.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .demo-north { diff --git a/demo/css/preview.css b/demo/css/preview.css index 2f6491e13..6dfa999cc 100644 --- a/demo/css/preview.css +++ b/demo/css/preview.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/demo/css/west.css b/demo/css/west.css index 2f6491e13..6dfa999cc 100644 --- a/demo/css/west.css +++ b/demo/css/west.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/docs/base.css b/docs/base.css index 6644ebae9..18fca5193 100644 --- a/docs/base.css +++ b/docs/base.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-color-chooser-trigger { @@ -9,7 +8,6 @@ -webkit-box-shadow: 0px 0px 2px 1px #d4dadd inset; -moz-box-shadow: 0px 0px 2px 1px #d4dadd inset; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-color-picker-button .color-picker-button-mask { @@ -18,7 +16,6 @@ .bi-theme-dark .bi-color-picker-button .color-picker-button-mask { border: 1px solid #ffffff; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-color-picker-editor .color-picker-editor-display { @@ -29,7 +26,6 @@ -webkit-box-shadow: 0px 0px 2px 1px #d4dadd inset; -moz-box-shadow: 0px 0px 2px 1px #d4dadd inset; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-bubble-combo .button-combo-triangle-wrapper { @@ -67,7 +63,6 @@ border-right: 6px solid transparent; border-bottom: 6px solid #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-bubble-popup-view { @@ -75,16 +70,13 @@ -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-adapt-editor .adapt-editor-text { font-size: 14px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*************BI.SearchEditor******************/ @@ -94,7 +86,6 @@ .bi-search-editor .search-font { font-size: 20px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*************BI.SearchEditor******************/ @@ -113,13 +104,11 @@ .bi-small-search-editor .search-font { font-size: 18px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sign-initial-editor .sign-initial-editor-text { font-size: 14px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /* BASICS */ @@ -593,7 +582,6 @@ li.CodeMirror-hint-active { background: #08f; color: white; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-message-title { @@ -615,14 +603,12 @@ li.CodeMirror-hint-active { .bi-message-close { font-size: 25px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-list-view .bi-button-mask { opacity: 0.1; filter: alpha(opacity=10); } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-panel { @@ -634,7 +620,6 @@ li.CodeMirror-hint-active { cursor: text; font-size: 14px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-all-count-pager .all-pager-prev { @@ -643,7 +628,6 @@ li.CodeMirror-hint-active { .bi-all-count-pager .all-pager-next { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-pager .page-item { @@ -651,7 +635,6 @@ li.CodeMirror-hint-active { -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-direction-pager .direction-pager-prev { @@ -660,10 +643,8 @@ li.CodeMirror-hint-active { .bi-direction-pager .direction-pager-next { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-segment > .center-element { @@ -698,10 +679,8 @@ li.CodeMirror-hint-active { .bi-theme-dark .bi-segment > .first-element { border-left: 1px solid #242640; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-button { @@ -855,32 +834,25 @@ li.CodeMirror-hint-active { filter: alpha(opacity=20); background-color: #1a1a1a; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-single-select-icon-text-item:active .b-font:before, .bi-single-select-icon-text-item.active .b-font:before { color: #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-editor { font-size: 12px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multifile-editor .multifile-editor { @@ -889,25 +861,20 @@ li.CodeMirror-hint-active { font-size: 100px; z-index: 2; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-shelter-editor .shelter-editor-text { font-size: 12px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sign-editor .sign-editor-text { font-size: 12px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-textarea-editor { @@ -921,7 +888,6 @@ li.CodeMirror-hint-active { .bi-textarea-editor .textarea-editor-content { border: none; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-file { @@ -929,7 +895,6 @@ li.CodeMirror-hint-active { filter: alpha(opacity=0); z-index: 2; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-input { @@ -948,10 +913,8 @@ li.CodeMirror-hint-active { border: none; color: #e85050 !important; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-text { @@ -961,7 +924,6 @@ li.CodeMirror-hint-active { white-space: nowrap; word-break: break-word; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-bubble { @@ -974,13 +936,11 @@ li.CodeMirror-hint-active { background: #fddddd; color: #e85050; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-tip { position: fixed !important; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-toast { @@ -997,7 +957,6 @@ li.CodeMirror-hint-active { background: #fddddd; color: #e85050; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-tooltip { @@ -1017,7 +976,6 @@ li.CodeMirror-hint-active { color: #e85050; border: 1px solid #f4cbcb; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-collection-table-cell { @@ -1042,7 +1000,6 @@ li.CodeMirror-hint-active { .bi-theme-dark .bi-collection-table-cell.first-col { border-left: 1px solid #525466; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-quick-collection-table > div > .bi-collection { @@ -1050,7 +1007,6 @@ li.CodeMirror-hint-active { overflow-x: hidden !important; overflow-y: hidden !important; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-table > .first-col { @@ -1131,7 +1087,6 @@ li.CodeMirror-hint-active { border-top: 1px solid #525466; border-left: 1px solid #525466; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-grid-table-cell { @@ -1156,7 +1111,6 @@ li.CodeMirror-hint-active { .bi-theme-dark .bi-grid-table-cell.first-col { border-left: 1px solid #525466; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .scrollbar-layout-main { @@ -1272,7 +1226,6 @@ li.CodeMirror-hint-active { bottom: 0; position: absolute; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-resizable-table-cell .resizable-table-cell-resizer-container { @@ -1286,7 +1239,6 @@ li.CodeMirror-hint-active { .bi-resizable-table-cell .resizable-table-cell-resizer-container.suitable .resizable-table-cell-resizer-knob { background-color: #58cc7d; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-resizable-table .resizable-table-resizer { @@ -1305,28 +1257,22 @@ li.CodeMirror-hint-active { .bi-resizable-table .resizable-table-region-resizer.dragging .resizable-table-region-resizer-knob { background-color: #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-branch-tree .bi-branch-tree-view { min-width: 300px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-trigger .bi-trigger-icon-button { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-select-text-trigger { @@ -1334,7 +1280,6 @@ li.CodeMirror-hint-active { -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-small-select-text-trigger { @@ -1342,10 +1287,8 @@ li.CodeMirror-hint-active { -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /**********BI.BIListView*************/ diff --git a/docs/core.css b/docs/core.css index 47b33cda3..0ca0bec5d 100644 --- a/docs/core.css +++ b/docs/core.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ html, @@ -2951,7 +2950,6 @@ i { -webkit-animation-name: slideOutUp; animation-name: slideOutUp; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .base-disabled { @@ -3505,7 +3503,6 @@ i { cursor: move; } /*****************cursor*****************/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .y-overflow-auto { @@ -3546,7 +3543,6 @@ i { overflow-y: hidden; white-space: nowrap; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .display-block { @@ -3570,7 +3566,6 @@ i { .horizon-left { text-align: left; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*类似ie6的盒子模型 可以在有百分比的时候加border 支持到ie8*/ @@ -3900,7 +3895,6 @@ i { min-height: 100%; float: left; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-inline-center-adapt-layout:after { @@ -3910,7 +3904,6 @@ i { vertical-align: middle; content: ' '; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-inline-vertical-adapt-layout:after { @@ -3920,7 +3913,6 @@ i { vertical-align: middle; content: ' '; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-theme-dark { @@ -3930,9 +3922,7 @@ i { .bi-theme-dark .bi-input { color: #ffffff; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/docs/demo.css b/docs/demo.css index 0ce1e8299..d822c0d6c 100644 --- a/docs/demo.css +++ b/docs/demo.css @@ -1,13 +1,10 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .demo-face .face-config .config-label { font-size: 14px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .layout-bg-white { @@ -57,7 +54,6 @@ body { .bi-theme-dark body { background-color: #191B2B; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .demo-north { @@ -70,9 +66,7 @@ body { font-size: 20px; font-weight: 300; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/docs/resource.css b/docs/resource.css index 534b4c244..a0cfd2751 100644 --- a/docs/resource.css +++ b/docs/resource.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ html, @@ -1246,7 +1245,6 @@ textarea::-webkit-scrollbar-thumb:hover { * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .farbtastic { @@ -1283,7 +1281,6 @@ textarea::-webkit-scrollbar-thumb:hover { overflow: hidden; background: url("third/farbtastic/marker.png") no-repeat; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-display-tree .ztree * { @@ -1321,7 +1318,6 @@ email: hunter.z@263.net website: http://code.google.com/p/jquerytree/ -------------------------------------*/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .ztree * { diff --git a/docs/widget.css b/docs/widget.css index 85b1f4c3e..8d4a04925 100644 --- a/docs/widget.css +++ b/docs/widget.css @@ -1,7 +1,5 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-arrangement .arrangement-helper { @@ -40,7 +38,6 @@ z-index: 1000000001; background: #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-arrangement-droppable { @@ -112,10 +109,8 @@ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*************BI.SearchEditor******************/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-date-trigger { @@ -123,19 +118,15 @@ -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-down-list-popup .bi-down-list-item .list-item-text { max-width: 203px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-excel-table > div.bottom-right > div > div > table { @@ -144,22 +135,17 @@ .bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table { border-right: 1px solid #525466; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-excel-table-header-cell { font-weight: bold; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-file-manager-nav-button .file-manager-nav-button-text { @@ -176,10 +162,8 @@ background-color: #191b2b; color: #999999; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-fine-tuning-number-editor { @@ -187,7 +171,6 @@ -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-interactive-arrangement .interactive-arrangement-dragtag-line { @@ -197,13 +180,10 @@ .bi-interactive-arrangement .interactive-arrangement-dragtag-icon { z-index: 1000000000; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-month-trigger { @@ -211,25 +191,20 @@ -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-check-pane .multi-select-check-selected { text-decoration: underline; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-combo .multi-select-trigger-icon-button { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-trigger { @@ -237,56 +212,45 @@ -moz-border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-search-pane .multi-select-toolbar { color: #e85050; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-check-selected-button { z-index: 1; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-check-pane .multi-tree-check-selected { color: #3f8ce8; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-combo .multi-select-trigger-icon-button { font-size: 16px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-popup .popup-view-tree { min-height: 170px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-check-selected-button .trigger-check-selected { color: #3f8ce8; z-index: 1; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-numerical-interval .numerical-interval-small-editor { @@ -330,10 +294,8 @@ .bi-numerical-interval.number-error .bi-input { color: #e85050; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-page-table-cell { @@ -344,22 +306,18 @@ -o-user-select: initial; user-select: initial; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-path-chooser .path-chooser-radio { z-index: 1; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-path-region .path-region-label { z-index: 1; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-preview-table-cell { @@ -367,7 +325,6 @@ min-width: 80px; max-width: 220px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-preview-table { @@ -386,7 +343,6 @@ .bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd { background-color: #191b2b; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-preview-table-header-cell { @@ -395,13 +351,10 @@ min-width: 80px; max-width: 220px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-quarter-trigger { @@ -409,10 +362,8 @@ -moz-border-radius: 2px; border-radius: 2px; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-relation-view-region .relation-view-region-container { @@ -424,7 +375,6 @@ .bi-relation-view-region .relation-view-region-container.other-package { border-style: dashed; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sequence-table-dynamic-number .sequence-table-title-cell { @@ -450,7 +400,6 @@ box-sizing: border-box; /*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sequence-table-list-number .sequence-table-title-cell { @@ -476,10 +425,8 @@ box-sizing: border-box; /*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sequence-table-tree-number .sequence-table-title-cell { @@ -505,13 +452,10 @@ box-sizing: border-box; /*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-year-popup .year-popup-navigation { @@ -529,7 +473,6 @@ .bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element { border-left: none; } -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-year-trigger { diff --git a/src/css/base/colorchooser/colorchooser.trigger.css b/src/css/base/colorchooser/colorchooser.trigger.css index e466f14dd..ce43156fa 100644 --- a/src/css/base/colorchooser/colorchooser.trigger.css +++ b/src/css/base/colorchooser/colorchooser.trigger.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-color-chooser-trigger { diff --git a/src/css/base/colorchooser/colorpicker/button.colorpicker.css b/src/css/base/colorchooser/colorpicker/button.colorpicker.css index 90758e051..47deb8dcc 100644 --- a/src/css/base/colorchooser/colorpicker/button.colorpicker.css +++ b/src/css/base/colorchooser/colorpicker/button.colorpicker.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-color-picker-button .color-picker-button-mask { diff --git a/src/css/base/colorchooser/colorpicker/editor.colorpicker.css b/src/css/base/colorchooser/colorpicker/editor.colorpicker.css index 535f9b56c..780132508 100644 --- a/src/css/base/colorchooser/colorpicker/editor.colorpicker.css +++ b/src/css/base/colorchooser/colorpicker/editor.colorpicker.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-color-picker-editor .color-picker-editor-display { diff --git a/src/css/base/combo/combo.bubble.css b/src/css/base/combo/combo.bubble.css index bb4e3c4db..e787b253e 100644 --- a/src/css/base/combo/combo.bubble.css +++ b/src/css/base/combo/combo.bubble.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-bubble-combo .button-combo-triangle-wrapper { diff --git a/src/css/base/combo/popup.bubble.css b/src/css/base/combo/popup.bubble.css index c1a8d419c..51a6bd22c 100644 --- a/src/css/base/combo/popup.bubble.css +++ b/src/css/base/combo/popup.bubble.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-bubble-popup-view { diff --git a/src/css/base/dom.css b/src/css/base/dom.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/dom.css +++ b/src/css/base/dom.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/editor/editor.adapt.css b/src/css/base/editor/editor.adapt.css index 70e3792fe..7d4f14538 100644 --- a/src/css/base/editor/editor.adapt.css +++ b/src/css/base/editor/editor.adapt.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-adapt-editor .adapt-editor-text { diff --git a/src/css/base/editor/editor.search.css b/src/css/base/editor/editor.search.css index 1e97d6318..d429e6f7d 100644 --- a/src/css/base/editor/editor.search.css +++ b/src/css/base/editor/editor.search.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*************BI.SearchEditor******************/ diff --git a/src/css/base/editor/editor.search.small.css b/src/css/base/editor/editor.search.small.css index 75ffc8c06..1bc1fc606 100644 --- a/src/css/base/editor/editor.search.small.css +++ b/src/css/base/editor/editor.search.small.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*************BI.SearchEditor******************/ diff --git a/src/css/base/editor/editor.sign.initial.css b/src/css/base/editor/editor.sign.initial.css index e1bb436f7..ba088ee8a 100644 --- a/src/css/base/editor/editor.sign.initial.css +++ b/src/css/base/editor/editor.sign.initial.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sign-initial-editor .sign-initial-editor-text { diff --git a/src/css/base/formula/codemirror.css b/src/css/base/formula/codemirror.css index 6cece7573..574fdbd13 100644 --- a/src/css/base/formula/codemirror.css +++ b/src/css/base/formula/codemirror.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /* BASICS */ diff --git a/src/css/base/foundation/bi.message.css b/src/css/base/foundation/bi.message.css index 38bbd163f..30e9fb8f1 100644 --- a/src/css/base/foundation/bi.message.css +++ b/src/css/base/foundation/bi.message.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-message-title { diff --git a/src/css/base/layer/layer.multiselect.css b/src/css/base/layer/layer.multiselect.css index e2d23e454..d42f65ad2 100644 --- a/src/css/base/layer/layer.multiselect.css +++ b/src/css/base/layer/layer.multiselect.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-list-view .bi-button-mask { diff --git a/src/css/base/layer/panel.css b/src/css/base/layer/panel.css index a1ef3cc42..614afdc65 100644 --- a/src/css/base/layer/panel.css +++ b/src/css/base/layer/panel.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-panel { diff --git a/src/css/base/pager/pager.all.count.css b/src/css/base/pager/pager.all.count.css index 61dead711..06af92b86 100644 --- a/src/css/base/pager/pager.all.count.css +++ b/src/css/base/pager/pager.all.count.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-all-count-pager .all-pager-prev { diff --git a/src/css/base/pager/pager.css b/src/css/base/pager/pager.css index 8db6b20c1..ec2224d60 100644 --- a/src/css/base/pager/pager.css +++ b/src/css/base/pager/pager.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-pager .page-item { diff --git a/src/css/base/pager/pager.direction.css b/src/css/base/pager/pager.direction.css index 1984a00e9..b456a19d4 100644 --- a/src/css/base/pager/pager.direction.css +++ b/src/css/base/pager/pager.direction.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-direction-pager .direction-pager-prev { diff --git a/src/css/base/segment/button.segment.css b/src/css/base/segment/button.segment.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/segment/button.segment.css +++ b/src/css/base/segment/button.segment.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/segment/segment.css b/src/css/base/segment/segment.css index 8aaa25a96..4a342dd22 100644 --- a/src/css/base/segment/segment.css +++ b/src/css/base/segment/segment.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-segment > .center-element { diff --git a/src/css/base/single/bar/bar.css b/src/css/base/single/bar/bar.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/single/bar/bar.css +++ b/src/css/base/single/bar/bar.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/single/button/button.css b/src/css/base/single/button/button.css index b638bcd52..fd579d710 100644 --- a/src/css/base/single/button/button.css +++ b/src/css/base/single/button/button.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-button { diff --git a/src/css/base/single/button/item.multiselect.css b/src/css/base/single/button/item.multiselect.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/single/button/item.multiselect.css +++ b/src/css/base/single/button/item.multiselect.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/single/button/item.singleselect.icontext.css b/src/css/base/single/button/item.singleselect.icontext.css index f3adc7949..4f897ffb2 100644 --- a/src/css/base/single/button/item.singleselect.icontext.css +++ b/src/css/base/single/button/item.singleselect.icontext.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-single-select-icon-text-item:active .b-font:before, diff --git a/src/css/base/single/button/item.singleselectradio.css b/src/css/base/single/button/item.singleselectradio.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/single/button/item.singleselectradio.css +++ b/src/css/base/single/button/item.singleselectradio.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/single/button/item.texticon.css b/src/css/base/single/button/item.texticon.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/single/button/item.texticon.css +++ b/src/css/base/single/button/item.texticon.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/single/button/listitem.css b/src/css/base/single/button/listitem.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/single/button/listitem.css +++ b/src/css/base/single/button/listitem.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/single/editor/editor.css b/src/css/base/single/editor/editor.css index 149e666fb..b3752482a 100644 --- a/src/css/base/single/editor/editor.css +++ b/src/css/base/single/editor/editor.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-editor { diff --git a/src/css/base/single/editor/editor.multifile.css b/src/css/base/single/editor/editor.multifile.css index 6f335ad86..4dc8a0e6c 100644 --- a/src/css/base/single/editor/editor.multifile.css +++ b/src/css/base/single/editor/editor.multifile.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multifile-editor .multifile-editor { diff --git a/src/css/base/single/editor/editor.shelter.css b/src/css/base/single/editor/editor.shelter.css index 30e8290f1..f8413c9cd 100644 --- a/src/css/base/single/editor/editor.shelter.css +++ b/src/css/base/single/editor/editor.shelter.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-shelter-editor .shelter-editor-text { diff --git a/src/css/base/single/editor/editor.sign.css b/src/css/base/single/editor/editor.sign.css index 5593ed199..d25096214 100644 --- a/src/css/base/single/editor/editor.sign.css +++ b/src/css/base/single/editor/editor.sign.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sign-editor .sign-editor-text { diff --git a/src/css/base/single/editor/editor.state.css b/src/css/base/single/editor/editor.state.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/single/editor/editor.state.css +++ b/src/css/base/single/editor/editor.state.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/single/editor/editor.state.simple.css b/src/css/base/single/editor/editor.state.simple.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/single/editor/editor.state.simple.css +++ b/src/css/base/single/editor/editor.state.simple.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/single/editor/editor.textarea.css b/src/css/base/single/editor/editor.textarea.css index 13e82616c..a2ead3d4b 100644 --- a/src/css/base/single/editor/editor.textarea.css +++ b/src/css/base/single/editor/editor.textarea.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-textarea-editor { diff --git a/src/css/base/single/input/file.css b/src/css/base/single/input/file.css index d4577ee62..8b414d1f3 100644 --- a/src/css/base/single/input/file.css +++ b/src/css/base/single/input/file.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-file { diff --git a/src/css/base/single/input/input.css b/src/css/base/single/input/input.css index fa262401b..1edaa2c7d 100644 --- a/src/css/base/single/input/input.css +++ b/src/css/base/single/input/input.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-input { diff --git a/src/css/base/single/single.css b/src/css/base/single/single.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/single/single.css +++ b/src/css/base/single/single.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/single/text.css b/src/css/base/single/text.css index ce71f6ee5..d07bf58c9 100644 --- a/src/css/base/single/text.css +++ b/src/css/base/single/text.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-text { diff --git a/src/css/base/single/tip/tip.bubble.css b/src/css/base/single/tip/tip.bubble.css index 80c0ed1e9..68f478310 100644 --- a/src/css/base/single/tip/tip.bubble.css +++ b/src/css/base/single/tip/tip.bubble.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-bubble { diff --git a/src/css/base/single/tip/tip.css b/src/css/base/single/tip/tip.css index 0ba90bfd9..d62f2f503 100644 --- a/src/css/base/single/tip/tip.css +++ b/src/css/base/single/tip/tip.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-tip { diff --git a/src/css/base/single/tip/tip.toast.css b/src/css/base/single/tip/tip.toast.css index 5556804e8..f2ec5102e 100644 --- a/src/css/base/single/tip/tip.toast.css +++ b/src/css/base/single/tip/tip.toast.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-toast { diff --git a/src/css/base/single/tip/tip.tooltip.css b/src/css/base/single/tip/tip.tooltip.css index 359708688..3902d6780 100644 --- a/src/css/base/single/tip/tip.tooltip.css +++ b/src/css/base/single/tip/tip.tooltip.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-tooltip { diff --git a/src/css/base/table/table.collection.cell.css b/src/css/base/table/table.collection.cell.css index 5cdf9ea68..560bd3418 100644 --- a/src/css/base/table/table.collection.cell.css +++ b/src/css/base/table/table.collection.cell.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-collection-table-cell { diff --git a/src/css/base/table/table.collection.quick.css b/src/css/base/table/table.collection.quick.css index abee99d39..b10f62061 100644 --- a/src/css/base/table/table.collection.quick.css +++ b/src/css/base/table/table.collection.quick.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-quick-collection-table > div > .bi-collection { diff --git a/src/css/base/table/table.css b/src/css/base/table/table.css index 00bf93078..8c983972e 100644 --- a/src/css/base/table/table.css +++ b/src/css/base/table/table.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-table > .first-col { diff --git a/src/css/base/table/table.grid.cell.css b/src/css/base/table/table.grid.cell.css index d4b8f6672..06c918d1f 100644 --- a/src/css/base/table/table.grid.cell.css +++ b/src/css/base/table/table.grid.cell.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-grid-table-cell { diff --git a/src/css/base/table/table.grid.scrollbar.css b/src/css/base/table/table.grid.scrollbar.css index 9bef8681d..c5afd5c08 100644 --- a/src/css/base/table/table.grid.scrollbar.css +++ b/src/css/base/table/table.grid.scrollbar.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .scrollbar-layout-main { diff --git a/src/css/base/table/table.resizable.cell.css b/src/css/base/table/table.resizable.cell.css index 214340d95..d06885623 100644 --- a/src/css/base/table/table.resizable.cell.css +++ b/src/css/base/table/table.resizable.cell.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-resizable-table-cell .resizable-table-cell-resizer-container { diff --git a/src/css/base/table/table.resizable.css b/src/css/base/table/table.resizable.css index fc7321608..c49afd3fb 100644 --- a/src/css/base/table/table.resizable.css +++ b/src/css/base/table/table.resizable.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-resizable-table .resizable-table-resizer { diff --git a/src/css/base/table/table.tree.css b/src/css/base/table/table.tree.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/table/table.tree.css +++ b/src/css/base/table/table.tree.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/tree/branch.tree.css b/src/css/base/tree/branch.tree.css index b23b28b83..68f22306a 100644 --- a/src/css/base/tree/branch.tree.css +++ b/src/css/base/tree/branch.tree.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-branch-tree .bi-branch-tree-view { diff --git a/src/css/base/trigger/trigger.css b/src/css/base/trigger/trigger.css index 780b08de6..cb974136a 100644 --- a/src/css/base/trigger/trigger.css +++ b/src/css/base/trigger/trigger.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-trigger .bi-trigger-icon-button { diff --git a/src/css/base/trigger/trigger.editor.css b/src/css/base/trigger/trigger.editor.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/trigger/trigger.editor.css +++ b/src/css/base/trigger/trigger.editor.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/trigger/trigger.icon.css b/src/css/base/trigger/trigger.icon.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/trigger/trigger.icon.css +++ b/src/css/base/trigger/trigger.icon.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/trigger/trigger.selecttext.css b/src/css/base/trigger/trigger.selecttext.css index ac7ded09e..7e3adadc1 100644 --- a/src/css/base/trigger/trigger.selecttext.css +++ b/src/css/base/trigger/trigger.selecttext.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-select-text-trigger { diff --git a/src/css/base/trigger/trigger.selecttextsmall.css b/src/css/base/trigger/trigger.selecttextsmall.css index 009efb741..a0993e840 100644 --- a/src/css/base/trigger/trigger.selecttextsmall.css +++ b/src/css/base/trigger/trigger.selecttextsmall.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-small-select-text-trigger { diff --git a/src/css/base/view/floatboxview.css b/src/css/base/view/floatboxview.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/base/view/floatboxview.css +++ b/src/css/base/view/floatboxview.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/base/view/popupview.css b/src/css/base/view/popupview.css index 272a716bf..76d80e817 100644 --- a/src/css/base/view/popupview.css +++ b/src/css/base/view/popupview.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /**********BI.BIListView*************/ diff --git a/src/css/bibase.css b/src/css/bibase.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/bibase.css +++ b/src/css/bibase.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/core/normal.css b/src/css/core/normal.css index 6f34ac161..330984f77 100644 --- a/src/css/core/normal.css +++ b/src/css/core/normal.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ html, diff --git a/src/css/core/utils/common.css b/src/css/core/utils/common.css index db1d0a753..d00ff860a 100644 --- a/src/css/core/utils/common.css +++ b/src/css/core/utils/common.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .base-disabled { diff --git a/src/css/core/utils/overflow.css b/src/css/core/utils/overflow.css index c7feb6550..54507c5d3 100644 --- a/src/css/core/utils/overflow.css +++ b/src/css/core/utils/overflow.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .y-overflow-auto { diff --git a/src/css/core/utils/pos.css b/src/css/core/utils/pos.css index 94f8e4148..89e984e5b 100644 --- a/src/css/core/utils/pos.css +++ b/src/css/core/utils/pos.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .display-block { diff --git a/src/css/core/utils/sizing.css b/src/css/core/utils/sizing.css index b2d0e01d6..67a1f6476 100644 --- a/src/css/core/utils/sizing.css +++ b/src/css/core/utils/sizing.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ /*类似ie6的盒子模型 可以在有百分比的时候加border 支持到ie8*/ diff --git a/src/css/core/wrapper/inline.center.css b/src/css/core/wrapper/inline.center.css index e59191dcb..ed70149fa 100644 --- a/src/css/core/wrapper/inline.center.css +++ b/src/css/core/wrapper/inline.center.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-inline-center-adapt-layout:after { diff --git a/src/css/core/wrapper/inline.vertical.css b/src/css/core/wrapper/inline.vertical.css index e9729c497..183754a10 100644 --- a/src/css/core/wrapper/inline.vertical.css +++ b/src/css/core/wrapper/inline.vertical.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-inline-vertical-adapt-layout:after { diff --git a/src/css/resource/app.css b/src/css/resource/app.css index bdc9f44d8..434165158 100644 --- a/src/css/resource/app.css +++ b/src/css/resource/app.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ html, diff --git a/src/css/resource/third/farbtastic/farbtastic.css b/src/css/resource/third/farbtastic/farbtastic.css index 4cc3633d3..c5c0e692b 100644 --- a/src/css/resource/third/farbtastic/farbtastic.css +++ b/src/css/resource/third/farbtastic/farbtastic.css @@ -16,7 +16,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .farbtastic { diff --git a/src/css/resource/third/ztree/display.tree.css b/src/css/resource/third/ztree/display.tree.css index 6a9358e89..b3131157e 100644 --- a/src/css/resource/third/ztree/display.tree.css +++ b/src/css/resource/third/ztree/display.tree.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-display-tree .ztree * { diff --git a/src/css/resource/third/ztree/zTreeStyle.css b/src/css/resource/third/ztree/zTreeStyle.css index e61265f27..d39416c76 100644 --- a/src/css/resource/third/ztree/zTreeStyle.css +++ b/src/css/resource/third/ztree/zTreeStyle.css @@ -7,7 +7,6 @@ email: hunter.z@263.net website: http://code.google.com/p/jquerytree/ -------------------------------------*/ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .ztree * { diff --git a/src/css/theme/dark.css b/src/css/theme/dark.css index f4afbe1bb..484459e4b 100644 --- a/src/css/theme/dark.css +++ b/src/css/theme/dark.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-theme-dark { diff --git a/src/css/theme/default.css b/src/css/theme/default.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/theme/default.css +++ b/src/css/theme/default.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/theme/light.css b/src/css/theme/light.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/theme/light.css +++ b/src/css/theme/light.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/arrangement/arrangement.block.css b/src/css/widget/arrangement/arrangement.block.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/arrangement/arrangement.block.css +++ b/src/css/widget/arrangement/arrangement.block.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/arrangement/arrangement.css b/src/css/widget/arrangement/arrangement.css index f63544ae6..6974ec944 100644 --- a/src/css/widget/arrangement/arrangement.css +++ b/src/css/widget/arrangement/arrangement.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-arrangement .arrangement-helper { diff --git a/src/css/widget/arrangement/arrangement.droppable.css b/src/css/widget/arrangement/arrangement.droppable.css index bc396ebf5..0ce46cb82 100644 --- a/src/css/widget/arrangement/arrangement.droppable.css +++ b/src/css/widget/arrangement/arrangement.droppable.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-arrangement-droppable { diff --git a/src/css/widget/date/calendar/picker.date.css b/src/css/widget/date/calendar/picker.date.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/date/calendar/picker.date.css +++ b/src/css/widget/date/calendar/picker.date.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/date/trigger.date.css b/src/css/widget/date/trigger.date.css index cc713058e..beec6fb76 100644 --- a/src/css/widget/date/trigger.date.css +++ b/src/css/widget/date/trigger.date.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-date-trigger { diff --git a/src/css/widget/downlist/combo.downlist.css b/src/css/widget/downlist/combo.downlist.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/downlist/combo.downlist.css +++ b/src/css/widget/downlist/combo.downlist.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/downlist/popup.downlist.css b/src/css/widget/downlist/popup.downlist.css index 0e82c44b1..7a6c5ee1f 100644 --- a/src/css/widget/downlist/popup.downlist.css +++ b/src/css/widget/downlist/popup.downlist.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-down-list-popup .bi-down-list-item .list-item-text { diff --git a/src/css/widget/exceltable/exceltable.cell.css b/src/css/widget/exceltable/exceltable.cell.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/exceltable/exceltable.cell.css +++ b/src/css/widget/exceltable/exceltable.cell.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/exceltable/exceltable.css b/src/css/widget/exceltable/exceltable.css index 63eab110e..118b42cbe 100644 --- a/src/css/widget/exceltable/exceltable.css +++ b/src/css/widget/exceltable/exceltable.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-excel-table > div.bottom-right > div > div > table { diff --git a/src/css/widget/exceltable/exceltable.header.cell.css b/src/css/widget/exceltable/exceltable.header.cell.css index b50b6baf6..ff64e9da1 100644 --- a/src/css/widget/exceltable/exceltable.header.cell.css +++ b/src/css/widget/exceltable/exceltable.header.cell.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-excel-table-header-cell { diff --git a/src/css/widget/filemanager/filemanager.css b/src/css/widget/filemanager/filemanager.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/filemanager/filemanager.css +++ b/src/css/widget/filemanager/filemanager.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/filemanager/items/item.file.filemanager.css b/src/css/widget/filemanager/items/item.file.filemanager.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/filemanager/items/item.file.filemanager.css +++ b/src/css/widget/filemanager/items/item.file.filemanager.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/filemanager/items/item.folder.filemanager.css b/src/css/widget/filemanager/items/item.folder.filemanager.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/filemanager/items/item.folder.filemanager.css +++ b/src/css/widget/filemanager/items/item.folder.filemanager.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/filemanager/nav/button/button.nav.filemanager.css b/src/css/widget/filemanager/nav/button/button.nav.filemanager.css index ac90ed309..76c979412 100644 --- a/src/css/widget/filemanager/nav/button/button.nav.filemanager.css +++ b/src/css/widget/filemanager/nav/button/button.nav.filemanager.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-file-manager-nav-button .file-manager-nav-button-text { diff --git a/src/css/widget/filemanager/nav/nav.filemanager.css b/src/css/widget/filemanager/nav/nav.filemanager.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/filemanager/nav/nav.filemanager.css +++ b/src/css/widget/filemanager/nav/nav.filemanager.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/finetuningnumbereditor/finetuning.number.editor.css b/src/css/widget/finetuningnumbereditor/finetuning.number.editor.css index 248f3fd6a..3a5738157 100644 --- a/src/css/widget/finetuningnumbereditor/finetuning.number.editor.css +++ b/src/css/widget/finetuningnumbereditor/finetuning.number.editor.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-fine-tuning-number-editor { diff --git a/src/css/widget/interactivearrangement/interactivearrangement.css b/src/css/widget/interactivearrangement/interactivearrangement.css index f7ee4d771..265625ccc 100644 --- a/src/css/widget/interactivearrangement/interactivearrangement.css +++ b/src/css/widget/interactivearrangement/interactivearrangement.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-interactive-arrangement .interactive-arrangement-dragtag-line { diff --git a/src/css/widget/month/combo.month.css b/src/css/widget/month/combo.month.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/month/combo.month.css +++ b/src/css/widget/month/combo.month.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/month/popup.month.css b/src/css/widget/month/popup.month.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/month/popup.month.css +++ b/src/css/widget/month/popup.month.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/month/trigger.month.css b/src/css/widget/month/trigger.month.css index 99c26226b..c706915fa 100644 --- a/src/css/widget/month/trigger.month.css +++ b/src/css/widget/month/trigger.month.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-month-trigger { diff --git a/src/css/widget/multiselect/check/multiselect.check.pane.css b/src/css/widget/multiselect/check/multiselect.check.pane.css index 3dea79fd0..aa0164de2 100644 --- a/src/css/widget/multiselect/check/multiselect.check.pane.css +++ b/src/css/widget/multiselect/check/multiselect.check.pane.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-check-pane .multi-select-check-selected { diff --git a/src/css/widget/multiselect/check/multiselect.display.css b/src/css/widget/multiselect/check/multiselect.display.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/multiselect/check/multiselect.display.css +++ b/src/css/widget/multiselect/check/multiselect.display.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/multiselect/multiselect.combo.css b/src/css/widget/multiselect/multiselect.combo.css index cd82f0231..90ba9ba3e 100644 --- a/src/css/widget/multiselect/multiselect.combo.css +++ b/src/css/widget/multiselect/multiselect.combo.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-combo .multi-select-trigger-icon-button { diff --git a/src/css/widget/multiselect/multiselect.popup.view.css b/src/css/widget/multiselect/multiselect.popup.view.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/multiselect/multiselect.popup.view.css +++ b/src/css/widget/multiselect/multiselect.popup.view.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/multiselect/multiselect.trigger.css b/src/css/widget/multiselect/multiselect.trigger.css index fd2e089eb..5c2866e08 100644 --- a/src/css/widget/multiselect/multiselect.trigger.css +++ b/src/css/widget/multiselect/multiselect.trigger.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-trigger { diff --git a/src/css/widget/multiselect/search/multiselect.search.pane.css b/src/css/widget/multiselect/search/multiselect.search.pane.css index 7ddbf96cd..75228fd4d 100644 --- a/src/css/widget/multiselect/search/multiselect.search.pane.css +++ b/src/css/widget/multiselect/search/multiselect.search.pane.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-search-pane .multi-select-toolbar { diff --git a/src/css/widget/multiselect/trigger/button.checkselected.css b/src/css/widget/multiselect/trigger/button.checkselected.css index 5854f1418..0f2617a98 100644 --- a/src/css/widget/multiselect/trigger/button.checkselected.css +++ b/src/css/widget/multiselect/trigger/button.checkselected.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-select-check-selected-button { diff --git a/src/css/widget/multistringlist/multistringlist.css b/src/css/widget/multistringlist/multistringlist.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/multistringlist/multistringlist.css +++ b/src/css/widget/multistringlist/multistringlist.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/multitree/check/multi.tree.check.pane.css b/src/css/widget/multitree/check/multi.tree.check.pane.css index 918bd39ce..f184e254f 100644 --- a/src/css/widget/multitree/check/multi.tree.check.pane.css +++ b/src/css/widget/multitree/check/multi.tree.check.pane.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-check-pane .multi-tree-check-selected { diff --git a/src/css/widget/multitree/display.multi.tree.css b/src/css/widget/multitree/display.multi.tree.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/multitree/display.multi.tree.css +++ b/src/css/widget/multitree/display.multi.tree.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/multitree/multi.tree.combo.css b/src/css/widget/multitree/multi.tree.combo.css index ade64a766..3ed3318b3 100644 --- a/src/css/widget/multitree/multi.tree.combo.css +++ b/src/css/widget/multitree/multi.tree.combo.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-combo .multi-select-trigger-icon-button { diff --git a/src/css/widget/multitree/popup.multi.tree.css b/src/css/widget/multitree/popup.multi.tree.css index 3367584e4..8fd35668f 100644 --- a/src/css/widget/multitree/popup.multi.tree.css +++ b/src/css/widget/multitree/popup.multi.tree.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-popup .popup-view-tree { diff --git a/src/css/widget/multitree/search.multi.tree.css b/src/css/widget/multitree/search.multi.tree.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/multitree/search.multi.tree.css +++ b/src/css/widget/multitree/search.multi.tree.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/multitree/trigger/multi.tree.button.checkselected.css b/src/css/widget/multitree/trigger/multi.tree.button.checkselected.css index 82169c70c..96e43b8b9 100644 --- a/src/css/widget/multitree/trigger/multi.tree.button.checkselected.css +++ b/src/css/widget/multitree/trigger/multi.tree.button.checkselected.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-multi-tree-check-selected-button .trigger-check-selected { diff --git a/src/css/widget/multitreelist/multitreelist.popup.css b/src/css/widget/multitreelist/multitreelist.popup.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/multitreelist/multitreelist.popup.css +++ b/src/css/widget/multitreelist/multitreelist.popup.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/numericalinterval/numericalinterval.css b/src/css/widget/numericalinterval/numericalinterval.css index da3818bef..9367fa1c7 100644 --- a/src/css/widget/numericalinterval/numericalinterval.css +++ b/src/css/widget/numericalinterval/numericalinterval.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-numerical-interval .numerical-interval-small-editor { diff --git a/src/css/widget/numericalinterval/popup.numericalinterval.css b/src/css/widget/numericalinterval/popup.numericalinterval.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/numericalinterval/popup.numericalinterval.css +++ b/src/css/widget/numericalinterval/popup.numericalinterval.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/pagetable/pagetable.cell.css b/src/css/widget/pagetable/pagetable.cell.css index caa1a6ddc..462fc3e58 100644 --- a/src/css/widget/pagetable/pagetable.cell.css +++ b/src/css/widget/pagetable/pagetable.cell.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-page-table-cell { diff --git a/src/css/widget/pagetable/pagetable.css b/src/css/widget/pagetable/pagetable.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/pagetable/pagetable.css +++ b/src/css/widget/pagetable/pagetable.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/pathchooser/pathchooser.css b/src/css/widget/pathchooser/pathchooser.css index 06171e32b..e66595c26 100644 --- a/src/css/widget/pathchooser/pathchooser.css +++ b/src/css/widget/pathchooser/pathchooser.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-path-chooser .path-chooser-radio { diff --git a/src/css/widget/pathchooser/pathregion.css b/src/css/widget/pathchooser/pathregion.css index 26e578a48..f03f4af61 100644 --- a/src/css/widget/pathchooser/pathregion.css +++ b/src/css/widget/pathchooser/pathregion.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-path-region .path-region-label { diff --git a/src/css/widget/previewtable/previewtable.cell.css b/src/css/widget/previewtable/previewtable.cell.css index 9af2d6d71..1b02d1f7a 100644 --- a/src/css/widget/previewtable/previewtable.cell.css +++ b/src/css/widget/previewtable/previewtable.cell.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-preview-table-cell { diff --git a/src/css/widget/previewtable/previewtable.css b/src/css/widget/previewtable/previewtable.css index 676a963ad..558935f75 100644 --- a/src/css/widget/previewtable/previewtable.css +++ b/src/css/widget/previewtable/previewtable.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-preview-table { diff --git a/src/css/widget/previewtable/previewtable.header.cell.css b/src/css/widget/previewtable/previewtable.header.cell.css index 3b5af9d0d..53f719b2b 100644 --- a/src/css/widget/previewtable/previewtable.header.cell.css +++ b/src/css/widget/previewtable/previewtable.header.cell.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-preview-table-header-cell { diff --git a/src/css/widget/quarter/combo.quarter.css b/src/css/widget/quarter/combo.quarter.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/quarter/combo.quarter.css +++ b/src/css/widget/quarter/combo.quarter.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/quarter/popup.quarter.css b/src/css/widget/quarter/popup.quarter.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/quarter/popup.quarter.css +++ b/src/css/widget/quarter/popup.quarter.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/quarter/trigger.quarter.css b/src/css/widget/quarter/trigger.quarter.css index 90b9674df..98ff5fc99 100644 --- a/src/css/widget/quarter/trigger.quarter.css +++ b/src/css/widget/quarter/trigger.quarter.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-quarter-trigger { diff --git a/src/css/widget/relationview/relationview.item.css b/src/css/widget/relationview/relationview.item.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/relationview/relationview.item.css +++ b/src/css/widget/relationview/relationview.item.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/relationview/relationview.region.css b/src/css/widget/relationview/relationview.region.css index 0285c6306..4fe1f498c 100644 --- a/src/css/widget/relationview/relationview.region.css +++ b/src/css/widget/relationview/relationview.region.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-relation-view-region .relation-view-region-container { diff --git a/src/css/widget/sequencetable/dynamicnumber.sequencetable.css b/src/css/widget/sequencetable/dynamicnumber.sequencetable.css index e34204e39..8ae9b91c6 100644 --- a/src/css/widget/sequencetable/dynamicnumber.sequencetable.css +++ b/src/css/widget/sequencetable/dynamicnumber.sequencetable.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sequence-table-dynamic-number .sequence-table-title-cell { diff --git a/src/css/widget/sequencetable/listnumber.sequencetable.css b/src/css/widget/sequencetable/listnumber.sequencetable.css index 8906c05f1..25775b835 100644 --- a/src/css/widget/sequencetable/listnumber.sequencetable.css +++ b/src/css/widget/sequencetable/listnumber.sequencetable.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sequence-table-list-number .sequence-table-title-cell { diff --git a/src/css/widget/sequencetable/sequencetable.css b/src/css/widget/sequencetable/sequencetable.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/sequencetable/sequencetable.css +++ b/src/css/widget/sequencetable/sequencetable.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/sequencetable/treenumber.sequencetable.css b/src/css/widget/sequencetable/treenumber.sequencetable.css index fcceb1198..50563c81e 100644 --- a/src/css/widget/sequencetable/treenumber.sequencetable.css +++ b/src/css/widget/sequencetable/treenumber.sequencetable.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-sequence-table-tree-number .sequence-table-title-cell { diff --git a/src/css/widget/singletree/combo.single.tree.css b/src/css/widget/singletree/combo.single.tree.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/singletree/combo.single.tree.css +++ b/src/css/widget/singletree/combo.single.tree.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/year/combo.year.css b/src/css/widget/year/combo.year.css index 2f6491e13..6dfa999cc 100644 --- a/src/css/widget/year/combo.year.css +++ b/src/css/widget/year/combo.year.css @@ -1,3 +1,2 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ diff --git a/src/css/widget/year/popup.year.css b/src/css/widget/year/popup.year.css index f68a42e69..62c054205 100644 --- a/src/css/widget/year/popup.year.css +++ b/src/css/widget/year/popup.year.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-year-popup .year-popup-navigation { diff --git a/src/css/widget/year/trigger.year.css b/src/css/widget/year/trigger.year.css index d5252b915..24fa560f2 100644 --- a/src/css/widget/year/trigger.year.css +++ b/src/css/widget/year/trigger.year.css @@ -1,4 +1,3 @@ -/****添加计算宽度的--运算符直接需要space****/ /****** common color(常用颜色,可用于普遍场景) *****/ /**** custom color(自定义颜色,用于特定场景) ****/ .bi-year-trigger { diff --git a/src/less/box-model.less b/src/less/box-model.less index d05ce2258..2d0e5815a 100644 --- a/src/less/box-model.less +++ b/src/less/box-model.less @@ -16,7 +16,6 @@ clear: both; } } -/****添加计算宽度的--运算符直接需要space****/ .calc( @expression) { /*Firefox*/ width: -moz-calc(@expression); From a3145b714478eeaf336a367e99c6218cadd4aa1e Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 15 Jun 2017 17:47:49 +0800 Subject: [PATCH 16/16] add --- bi/base.js | 4 ++++ bi/widget.js | 4 ++-- docs/base.js | 4 ++++ docs/widget.js | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/bi/base.js b/bi/base.js index 1ac498a6c..7d9636626 100644 --- a/bi/base.js +++ b/bi/base.js @@ -17837,6 +17837,10 @@ BI.CodeEditor = BI.inherit(BI.Single, { }) }, + focus: function () { + this.editor.focus(); + }, + setStyle: function (style) { this.style = style; this.element.css(style); diff --git a/bi/widget.js b/bi/widget.js index c80a93cea..65d1aa25a 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -4860,7 +4860,7 @@ BI.shortcut('bi.date_triangle_trigger', BI.DateTriangleTrigger);/** BI.DateCombo = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-date-combo", + baseCls: "bi-date-combo bi-border", height: 30 }); }, @@ -4919,7 +4919,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge _defaultConfig: function () { return BI.extend(BI.DateTrigger.superclass._defaultConfig.apply(this, arguments), { - extraCls: "bi-date-trigger bi-border", + extraCls: "bi-date-trigger", min: '1900-01-01', //最小日期 max: '2099-12-31', //最大日期 height: 25 diff --git a/docs/base.js b/docs/base.js index 1ac498a6c..7d9636626 100644 --- a/docs/base.js +++ b/docs/base.js @@ -17837,6 +17837,10 @@ BI.CodeEditor = BI.inherit(BI.Single, { }) }, + focus: function () { + this.editor.focus(); + }, + setStyle: function (style) { this.style = style; this.element.css(style); diff --git a/docs/widget.js b/docs/widget.js index c80a93cea..65d1aa25a 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -4860,7 +4860,7 @@ BI.shortcut('bi.date_triangle_trigger', BI.DateTriangleTrigger);/** BI.DateCombo = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-date-combo", + baseCls: "bi-date-combo bi-border", height: 30 }); }, @@ -4919,7 +4919,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge _defaultConfig: function () { return BI.extend(BI.DateTrigger.superclass._defaultConfig.apply(this, arguments), { - extraCls: "bi-date-trigger bi-border", + extraCls: "bi-date-trigger", min: '1900-01-01', //最小日期 max: '2099-12-31', //最大日期 height: 25