Browse Source

BI-24098

es6
windy 7 years ago
parent
commit
9fee4e5149
  1. 2
      dist/_fineui.min.js
  2. 7
      dist/base.css
  3. 18
      dist/bundle.css
  4. 7
      dist/bundle.js
  5. 2
      dist/bundle.min.css
  6. 2
      dist/bundle.min.js
  7. 18
      dist/fineui.css
  8. 7
      dist/fineui.js
  9. 2
      dist/fineui.min.css
  10. 2
      dist/fineui.min.js
  11. 11
      dist/resource.css
  12. 7
      dist/widget.js
  13. 11
      public/css/font.css
  14. 7
      src/css/base/editor/editor.css
  15. 11
      src/css/resource/font.css
  16. 3
      src/less/base/editor/editor.search.less
  17. 3
      src/less/lib/font.less
  18. 2
      src/less/resource/font.less
  19. 7
      src/widget/editor/editor.search.js
  20. 11
      ui/css/font.css

2
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/base.css vendored

@ -192,7 +192,12 @@
color: #ff4949; color: #ff4949;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
.bi-search-editor .search-close-h-font { .bi-search-editor {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-search-editor .circle-close-font {
font-size: 16px; font-size: 16px;
} }
.bi-search-editor .search-font { .bi-search-editor .search-font {

18
dist/bundle.css vendored

@ -1863,7 +1863,12 @@ textarea {
color: #ff4949; color: #ff4949;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
.bi-search-editor .search-close-h-font { .bi-search-editor {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-search-editor .circle-close-font {
font-size: 16px; font-size: 16px;
} }
.bi-search-editor .search-font { .bi-search-editor .search-font {
@ -4474,6 +4479,17 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d0"; content: "\e6d0";
color: inherit; color: inherit;
} }
.circle-close-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font { .search-close-h-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

7
dist/bundle.js vendored

@ -92655,6 +92655,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
height: o.height, height: o.height,
watermark: o.watermark, watermark: o.watermark,
allowBlank: true, allowBlank: true,
hgap: 1,
errorText: o.errorText, errorText: o.errorText,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker quitChecker: o.quitChecker
@ -92662,7 +92663,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear = BI.createWidget({ this.clear = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
stopEvent: true, stopEvent: true,
cls: "search-close-h-font" cls: "circle-close-font"
}); });
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
@ -92683,14 +92684,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
} }
}] }]
}, },
width: 25 width: 24
}, },
{ {
el: self.editor el: self.editor
}, },
{ {
el: this.clear, el: this.clear,
width: 25 width: 24
} }
] ]
}); });

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

18
dist/fineui.css vendored

@ -1863,7 +1863,12 @@ textarea {
color: #ff4949; color: #ff4949;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
.bi-search-editor .search-close-h-font { .bi-search-editor {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-search-editor .circle-close-font {
font-size: 16px; font-size: 16px;
} }
.bi-search-editor .search-font { .bi-search-editor .search-font {
@ -4474,6 +4479,17 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d0"; content: "\e6d0";
color: inherit; color: inherit;
} }
.circle-close-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font { .search-close-h-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

7
dist/fineui.js vendored

@ -92898,6 +92898,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
height: o.height, height: o.height,
watermark: o.watermark, watermark: o.watermark,
allowBlank: true, allowBlank: true,
hgap: 1,
errorText: o.errorText, errorText: o.errorText,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker quitChecker: o.quitChecker
@ -92905,7 +92906,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear = BI.createWidget({ this.clear = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
stopEvent: true, stopEvent: true,
cls: "search-close-h-font" cls: "circle-close-font"
}); });
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
@ -92926,14 +92927,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
} }
}] }]
}, },
width: 25 width: 24
}, },
{ {
el: self.editor el: self.editor
}, },
{ {
el: this.clear, el: this.clear,
width: 25 width: 24
} }
] ]
}); });

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

11
dist/resource.css vendored

@ -385,6 +385,17 @@ textarea::-webkit-scrollbar-thumb:hover {
content: "\e6d0"; content: "\e6d0";
color: inherit; color: inherit;
} }
.circle-close-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font { .search-close-h-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

7
dist/widget.js vendored

@ -5033,6 +5033,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
height: o.height, height: o.height,
watermark: o.watermark, watermark: o.watermark,
allowBlank: true, allowBlank: true,
hgap: 1,
errorText: o.errorText, errorText: o.errorText,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker quitChecker: o.quitChecker
@ -5040,7 +5041,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear = BI.createWidget({ this.clear = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
stopEvent: true, stopEvent: true,
cls: "search-close-h-font" cls: "circle-close-font"
}); });
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
@ -5061,14 +5062,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
} }
}] }]
}, },
width: 25 width: 24
}, },
{ {
el: self.editor el: self.editor
}, },
{ {
el: this.clear, el: this.clear,
width: 25 width: 24
} }
] ]
}); });

11
public/css/font.css

@ -59,6 +59,17 @@
content: "\e6d0"; content: "\e6d0";
color: inherit; color: inherit;
} }
.circle-close-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font { .search-close-h-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

7
src/css/base/editor/editor.css

@ -1,5 +1,10 @@
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
.bi-search-editor .search-close-h-font { .bi-search-editor {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-search-editor .circle-close-font {
font-size: 16px; font-size: 16px;
} }
.bi-search-editor .search-font { .bi-search-editor .search-font {

11
src/css/resource/font.css

@ -59,6 +59,17 @@
content: "\e6d0"; content: "\e6d0";
color: inherit; color: inherit;
} }
.circle-close-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font { .search-close-h-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

3
src/less/base/editor/editor.search.less

@ -1,7 +1,8 @@
@import "../../index"; @import "../../index";
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
.bi-search-editor { .bi-search-editor {
& .search-close-h-font{ .border-radius(2px);
& .circle-close-font{
font-size: @font-size-16; font-size: @font-size-16;
} }
& .search-font{ & .search-font{

3
src/less/lib/font.less

@ -38,5 +38,4 @@
@font-tip-warning: "e755"; @font-tip-warning: "e755";
@font-tip-message: "e74b"; @font-tip-message: "e74b";
@font-add: "e6dd"; @font-add: "e6dd";
@font-circle-close: "e6d5";

2
src/less/resource/font.less

@ -20,6 +20,8 @@
.font-hover(close-h-font, @font-cross); .font-hover(close-h-font, @font-cross);
.font-hover-active(close-ha-font, @font-cross); .font-hover-active(close-ha-font, @font-cross);
.font(circle-close-font, @font-circle-close);
//搜索框中的带有hover后颜色变红的图标 //搜索框中的带有hover后颜色变红的图标
.font-hover(search-close-h-font, @font-cross, inherit, @color-bi-text-failure); .font-hover(search-close-h-font, @font-cross, inherit, @color-bi-text-failure);

7
src/widget/editor/editor.search.js

@ -22,6 +22,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
height: o.height, height: o.height,
watermark: o.watermark, watermark: o.watermark,
allowBlank: true, allowBlank: true,
hgap: 1,
errorText: o.errorText, errorText: o.errorText,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker quitChecker: o.quitChecker
@ -29,7 +30,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear = BI.createWidget({ this.clear = BI.createWidget({
type: "bi.icon_button", type: "bi.icon_button",
stopEvent: true, stopEvent: true,
cls: "search-close-h-font" cls: "circle-close-font"
}); });
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
@ -50,14 +51,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
} }
}] }]
}, },
width: 25 width: 24
}, },
{ {
el: self.editor el: self.editor
}, },
{ {
el: this.clear, el: this.clear,
width: 25 width: 24
} }
] ]
}); });

11
ui/css/font.css

@ -59,6 +59,17 @@
content: "\e6d0"; content: "\e6d0";
color: inherit; color: inherit;
} }
.circle-close-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.circle-close-font .b-font:before {
content: "\e6d5";
color: inherit;
}
.circle-close-font.disabled .b-font:before {
content: "\e6d5";
color: inherit;
}
.search-close-h-font .b-font { .search-close-h-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = ''); *zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
} }

Loading…
Cancel
Save