Browse Source

Merge pull request #570 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit 'ad205f32aaa8570eaf389777b7923d7e715eeb88':
  update
  update
  update
  改一下改一下
  update
  update
  update
  update
es6
windy 6 years ago
parent
commit
8143e2e169
  1. 7
      demo/js/case/demo.click.effect.js
  2. 58
      dist/_fineui.min.js
  3. 105
      dist/base.css
  4. 3
      dist/base.js
  5. 481
      dist/bundle.css
  6. 96
      dist/bundle.js
  7. 2
      dist/bundle.min.css
  8. 60
      dist/bundle.min.js
  9. 34
      dist/case.js
  10. 287
      dist/core.css
  11. 4
      dist/core.js
  12. 287
      dist/core_without_normalize.css
  13. 7
      dist/demo.js
  14. 481
      dist/fineui.css
  15. 96
      dist/fineui.js
  16. 2
      dist/fineui.min.css
  17. 58
      dist/fineui.min.js
  18. 62
      dist/resource.css
  19. 2
      dist/utils.min.js
  20. 27
      dist/widget.css
  21. 55
      dist/widget.js
  22. 62
      public/css/background.css
  23. 3
      src/base/tree/treeview.js
  24. 1
      src/case/combo/icontextvaluecombo/combo.icontextvalue.js
  25. 9
      src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js
  26. 2
      src/case/combo/searchtextvaluecombo/trigger.searchtextvalue.js
  27. 7
      src/case/combo/staticcombo/combo.static.js
  28. 8
      src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js
  29. 1
      src/case/combo/textvaluecombo/combo.textvalue.js
  30. 6
      src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js
  31. 4
      src/core/controller/controller.tooltips.js
  32. 62
      src/css/base/colorchooser/colorpicker/editor.css
  33. 43
      src/css/base/combo/combo.css
  34. 287
      src/css/core/utils/common.css
  35. 62
      src/css/resource/background.css
  36. 6
      src/css/widget/multiselect/multiselect.css
  37. 3
      src/css/widget/singleselect/multiselect.css
  38. 18
      src/css/widget/singleselect/singleselect.css
  39. 6
      src/less/base/combo/combo.less
  40. 6
      src/less/base/combo/combo.searchtextvalue.less
  41. 5
      src/less/base/combo/combo.static.less
  42. 12
      src/less/base/combo/combo.textvalue.less
  43. 9
      src/less/base/combo/combo.textvaluecheck.less
  44. 9
      src/less/base/combo/combo.textvaluedownlist.less
  45. 209
      src/less/core/utils/common.less
  46. 46
      src/less/resource/background.less
  47. 12
      src/less/visual.less
  48. 11
      src/less/widget/multiselect/multiselect.combo.less
  49. 6
      src/less/widget/multiselect/multiselect.insert.combo.less
  50. 11
      src/less/widget/singleselect/singleselect.combo.less
  51. 6
      src/widget/dynamicdate/dynamicdate.combo.js
  52. 2
      src/widget/dynamicdatetime/dynamicdatetime.combo.js
  53. 5
      src/widget/multilayerselecttree/multilayerselecttree.combo.js
  54. 5
      src/widget/multilayersingletree/multilayersingletree.combo.js
  55. 5
      src/widget/multiselect/multiselect.combo.js
  56. 5
      src/widget/multiselect/multiselect.insert.combo.js
  57. 5
      src/widget/multiselect/multiselect.insert.combo.nobar.js
  58. 4
      src/widget/numbereditor/number.editor.js
  59. 5
      src/widget/singleselect/singleselect.combo.js
  60. 5
      src/widget/singleselect/singleselect.insert.combo.js
  61. 2
      src/widget/singleslider/button/iconbutton.slider.js
  62. 2
      src/widget/year/combo.year.js
  63. 2
      src/widget/yearmonth/combo.yearmonth.js
  64. 2
      src/widget/yearquarter/combo.yearquarter.js
  65. 62
      ui/css/background.css

7
demo/js/case/demo.click.effect.js

@ -21,15 +21,14 @@ Demo.Func = BI.inherit(BI.Widget, {
}, { }, {
text: "bi-list-item-active2", text: "bi-list-item-active2",
cls: "bi-list-item-active2 close-font" cls: "bi-list-item-active2 close-font"
}, {
text: "bi-list-item-active3",
cls: "bi-list-item-active3 close-font"
}, { }, {
text: "bi-list-item-select", text: "bi-list-item-select",
cls: "bi-list-item-select close-font" cls: "bi-list-item-select close-font"
}, {
text: "bi-list-item-select2",
cls: "bi-list-item-select2 close-font"
}], { }], {
type: "bi.icon_text_item", type: "bi.icon_text_item",
disabled: true,
logic: { logic: {
dynamic: true dynamic: true
} }

58
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

105
dist/base.css vendored

@ -63,41 +63,89 @@
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
@ -350,9 +398,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-45deg); transform: rotate(-45deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-right { .bi-bubble-combo .bubble-combo-triangle-right {
z-index: 1; z-index: 1;
@ -369,9 +416,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(135deg); transform: rotate(135deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-top { .bi-bubble-combo .bubble-combo-triangle-top {
z-index: 1; z-index: 1;
@ -388,9 +434,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(45deg); transform: rotate(45deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-bottom { .bi-bubble-combo .bubble-combo-triangle-bottom {
z-index: 1; z-index: 1;
@ -407,9 +452,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-135deg); transform: rotate(-135deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-left:before, .bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-left:before,
.bi-theme-dark .bi-bubble-combo.bubble-combo-triangle-right:before, .bi-theme-dark .bi-bubble-combo.bubble-combo-triangle-right:before,
@ -422,11 +466,10 @@
display: block !important; display: block !important;
visibility: visible !important; visibility: visible !important;
} }
.bi-combo.bi-combo-popup:focus, .bi-combo.bi-combo-popup > .bi-border,
.bi-combo.bi-combo-popup:focus-within { .bi-combo.bi-combo-hover > .bi-border,
-webkit-box-shadow: 0 0 5px 2px #d7e7fc; .bi-combo:hover > .bi-border {
-moz-box-shadow: 0 0 5px 2px #d7e7fc; border-color: #3685f2;
box-shadow: 0 0 5px 2px #d7e7fc;
} }
.bi-search-text-value-combo .trigger-icon-button { .bi-search-text-value-combo .trigger-icon-button {
@ -447,11 +490,11 @@
.bi-search-text-value-combo.combo-show .trigger-down { .bi-search-text-value-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-combo.bi-combo-popup > .bi-search-text-value-trigger, .bi-search-text-value-combo .bi-combo-hover > .bi-border {
.bi-combo:hover > .bi-search-text-value-trigger {
border-color: #3685f2; border-color: #3685f2;
} }
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label { .bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
@ -459,8 +502,14 @@
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label { .bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
.bi-combo.bi-combo-popup > .bi-select-text-trigger,
.bi-combo:hover > .bi-select-text-trigger { .bi-text-value-check-combo.bi-combo-popup > .bi-border,
.bi-text-value-check-combo:hover > .bi-border {
border-color: #3685f2;
}
.bi-text-value-down-list-combo.bi-combo-popup > .bi-border,
.bi-text-value-down-list-combo:hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/

3
dist/base.js vendored

@ -1644,6 +1644,9 @@ BI.TreeView = BI.inherit(BI.Pane, {
if(BI.isNotNull(o.value)){ if(BI.isNotNull(o.value)){
this.setSelectedValue(o.value); this.setSelectedValue(o.value);
} }
if (BI.isIE9Below()) {
this.element.addClass("hack");
}
}, },
_createTree: function () { _createTree: function () {

481
dist/bundle.css vendored

@ -313,12 +313,7 @@ textarea {
color: #606479 !important; color: #606479 !important;
} }
.bi-focus-shadow:focus-within, .bi-focus-shadow:focus-within,
.bi-focus-shadow:focus { .bi-focus-shadow:focus,
border-color: #3685f2;
-webkit-box-shadow: 0 0 5px 2px #d7e7fc;
-moz-box-shadow: 0 0 5px 2px #d7e7fc;
box-shadow: 0 0 5px 2px #d7e7fc;
}
.bi-focus-shadow:hover { .bi-focus-shadow:hover {
border-color: #3685f2; border-color: #3685f2;
} }
@ -842,6 +837,8 @@ textarea {
.bi-list-item-active2:hover, .bi-list-item-active2:hover,
.bi-list-item-active2.hover { .bi-list-item-active2.hover {
color: #232e40; color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:hover .bi-input, .bi-list-item-active2:hover .bi-input,
.bi-list-item-active2.hover .bi-input { .bi-list-item-active2.hover .bi-input {
@ -851,34 +848,19 @@ textarea {
.bi-list-item-active2.hover .bi-textarea { .bi-list-item-active2.hover .bi-textarea {
color: #232e40; color: #232e40;
} }
.bi-list-item-active2:hover.bi-border, .bi-list-item-active2:active,
.bi-list-item-active2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2:active {
color: #3685f2;
}
.bi-list-item-active2:active .bi-input {
color: #3685f2;
}
.bi-list-item-active2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active2:active.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2.active { .bi-list-item-active2.active {
color: #ffffff; color: #3685f2;
background-color: #3685f2; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:active .bi-input,
.bi-list-item-active2.active .bi-input { .bi-list-item-active2.active .bi-input {
color: #ffffff; color: #3685f2;
} }
.bi-list-item-active2:active .bi-textarea,
.bi-list-item-active2.active .bi-textarea { .bi-list-item-active2.active .bi-textarea {
color: #ffffff; color: #3685f2;
}
.bi-list-item-active2.active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-active2.disabled, .bi-list-item-active2.disabled,
.bi-list-item-active2.disabled:hover, .bi-list-item-active2.disabled:hover,
@ -904,7 +886,8 @@ textarea {
.bi-theme-dark .bi-list-item-active2:hover, .bi-theme-dark .bi-list-item-active2:hover,
.bi-theme-dark .bi-list-item-active2.hover { .bi-theme-dark .bi-list-item-active2.hover {
color: #ffffff; color: #ffffff;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2:hover .bi-input, .bi-theme-dark .bi-list-item-active2:hover .bi-input,
.bi-theme-dark .bi-list-item-active2.hover .bi-input { .bi-theme-dark .bi-list-item-active2.hover .bi-input {
@ -914,17 +897,18 @@ textarea {
.bi-theme-dark .bi-list-item-active2.hover .bi-textarea { .bi-theme-dark .bi-list-item-active2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-active2.active, .bi-theme-dark .bi-list-item-active2:active,
.bi-theme-dark .bi-list-item-active2:active { .bi-theme-dark .bi-list-item-active2.active {
color: #3685f2; color: #3685f2;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2.active .bi-input, .bi-theme-dark .bi-list-item-active2:active .bi-input,
.bi-theme-dark .bi-list-item-active2:active .bi-input { .bi-theme-dark .bi-list-item-active2.active .bi-input {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.active .bi-textarea, .bi-theme-dark .bi-list-item-active2:active .bi-textarea,
.bi-theme-dark .bi-list-item-active2:active .bi-textarea { .bi-theme-dark .bi-list-item-active2.active .bi-textarea {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.disabled, .bi-theme-dark .bi-list-item-active2.disabled,
@ -948,104 +932,6 @@ textarea {
.bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light { .bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light {
color: #878d9f !important; color: #878d9f !important;
} }
.bi-list-item-active3:hover,
.bi-list-item-active3.hover {
color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:hover .bi-input,
.bi-list-item-active3.hover .bi-input {
color: #232e40;
}
.bi-list-item-active3:hover .bi-textarea,
.bi-list-item-active3.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-active3:active,
.bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:active .bi-input,
.bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-list-item-active3:active .bi-textarea,
.bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active3.disabled,
.bi-list-item-active3.disabled:hover,
.bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-input,
.bi-list-item-active3.disabled:hover .bi-input,
.bi-list-item-active3.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-textarea,
.bi-list-item-active3.disabled:hover .bi-textarea,
.bi-list-item-active3.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-high-light,
.bi-list-item-active3.disabled:hover .bi-high-light,
.bi-list-item-active3.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-active3:hover,
.bi-theme-dark .bi-list-item-active3.hover {
color: #ffffff;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:active,
.bi-theme-dark .bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:active .bi-input,
.bi-theme-dark .bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3:active .bi-textarea,
.bi-theme-dark .bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3.disabled,
.bi-theme-dark .bi-list-item-active3.disabled:hover,
.bi-theme-dark .bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select:hover, .bi-list-item-select:hover,
.bi-list-item-select.hover { .bi-list-item-select.hover {
background-color: rgba(54, 133, 242, 0.06); background-color: rgba(54, 133, 242, 0.06);
@ -1185,29 +1071,134 @@ textarea {
} }
.bi-list-item-select2:hover, .bi-list-item-select2:hover,
.bi-list-item-select2.hover { .bi-list-item-select2.hover {
background-color: #f7f8fa; color: #232e40;
}
.bi-list-item-select2:hover .bi-input,
.bi-list-item-select2.hover .bi-input {
color: #232e40;
}
.bi-list-item-select2:hover .bi-textarea,
.bi-list-item-select2.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-select2:hover.bi-border,
.bi-list-item-select2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2:active {
color: #3685f2;
}
.bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-select2:active,
.bi-list-item-select2.active { .bi-list-item-select2.active {
color: #ffffff; color: #ffffff;
background-color: #f7f8fa; background-color: #3685f2;
} }
.bi-list-item-select2:active .bi-input,
.bi-list-item-select2.active .bi-input { .bi-list-item-select2.active .bi-input {
color: #3685f2; color: #ffffff;
} }
.bi-list-item-select2:active .bi-textarea,
.bi-list-item-select2.active .bi-textarea { .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active .bi-high-light,
.bi-list-item-select2.active .bi-high-light {
color: #ffffff; color: #ffffff;
} }
.bi-list-item-select2.active.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2.disabled,
.bi-list-item-select2.disabled:hover, .bi-list-item-select2.disabled:hover,
.bi-list-item-select2.disabled.hover, .bi-list-item-select2.disabled:active {
.bi-list-item-select2.disabled:active, background-color: transparent !important;
.bi-list-item-select2.disabled.active { color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-input,
.bi-list-item-select2.disabled:hover .bi-input,
.bi-list-item-select2.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-textarea,
.bi-list-item-select2.disabled:hover .bi-textarea,
.bi-list-item-select2.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-high-light,
.bi-list-item-select2.disabled:hover .bi-high-light,
.bi-list-item-select2.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea,
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select3:hover,
.bi-list-item-select3.hover {
background-color: #f7f8fa;
}
.bi-list-item-select3:active,
.bi-list-item-select3.active {
color: #3685f2;
background-color: #f7f8fa;
}
.bi-list-item-select3:active .bi-input,
.bi-list-item-select3.active .bi-input {
color: #3685f2;
}
.bi-list-item-select3:active .bi-textarea,
.bi-list-item-select3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select3.disabled:hover,
.bi-list-item-select3.disabled.hover,
.bi-list-item-select3.disabled:active,
.bi-list-item-select3.disabled.active {
background-color: #ffffff !important; background-color: #ffffff !important;
} }
.bi-theme-dark .bi-list-item-select:hover, .bi-theme-dark .bi-list-item-select:hover,
@ -1925,41 +1916,89 @@ textarea {
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
@ -2212,9 +2251,8 @@ textarea {
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-45deg); transform: rotate(-45deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-right { .bi-bubble-combo .bubble-combo-triangle-right {
z-index: 1; z-index: 1;
@ -2231,9 +2269,8 @@ textarea {
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(135deg); transform: rotate(135deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-top { .bi-bubble-combo .bubble-combo-triangle-top {
z-index: 1; z-index: 1;
@ -2250,9 +2287,8 @@ textarea {
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(45deg); transform: rotate(45deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-bottom { .bi-bubble-combo .bubble-combo-triangle-bottom {
z-index: 1; z-index: 1;
@ -2269,9 +2305,8 @@ textarea {
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-135deg); transform: rotate(-135deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-left:before, .bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-left:before,
.bi-theme-dark .bi-bubble-combo.bubble-combo-triangle-right:before, .bi-theme-dark .bi-bubble-combo.bubble-combo-triangle-right:before,
@ -2284,11 +2319,10 @@ textarea {
display: block !important; display: block !important;
visibility: visible !important; visibility: visible !important;
} }
.bi-combo.bi-combo-popup:focus, .bi-combo.bi-combo-popup > .bi-border,
.bi-combo.bi-combo-popup:focus-within { .bi-combo.bi-combo-hover > .bi-border,
-webkit-box-shadow: 0 0 5px 2px #d7e7fc; .bi-combo:hover > .bi-border {
-moz-box-shadow: 0 0 5px 2px #d7e7fc; border-color: #3685f2;
box-shadow: 0 0 5px 2px #d7e7fc;
} }
.bi-search-text-value-combo .trigger-icon-button { .bi-search-text-value-combo .trigger-icon-button {
@ -2309,11 +2343,11 @@ textarea {
.bi-search-text-value-combo.combo-show .trigger-down { .bi-search-text-value-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-combo.bi-combo-popup > .bi-search-text-value-trigger, .bi-search-text-value-combo .bi-combo-hover > .bi-border {
.bi-combo:hover > .bi-search-text-value-trigger {
border-color: #3685f2; border-color: #3685f2;
} }
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label { .bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
@ -2321,8 +2355,14 @@ textarea {
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label { .bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
.bi-combo.bi-combo-popup > .bi-select-text-trigger,
.bi-combo:hover > .bi-select-text-trigger { .bi-text-value-check-combo.bi-combo-popup > .bi-border,
.bi-text-value-check-combo:hover > .bi-border {
border-color: #3685f2;
}
.bi-text-value-down-list-combo.bi-combo-popup > .bi-border,
.bi-text-value-down-list-combo:hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
@ -4255,8 +4295,7 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-combo.combo-show .trigger-down { .bi-multi-select-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-combo.bi-combo-popup:focus > .bi-multi-select-trigger, .bi-multi-select-combo .bi-combo-hover > .bi-border {
.bi-combo.bi-combo-popup:hover > .bi-multi-select-trigger {
border-color: #3685f2; border-color: #3685f2;
} }
@ -4275,6 +4314,9 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-insert-combo.combo-show .trigger-down { .bi-multi-select-insert-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-multi-select-insert-combo .bi-combo-hover > .bi-border {
border-color: #3685f2;
}
.bi-multi-select-trigger { .bi-multi-select-trigger {
@ -4513,7 +4555,26 @@ ul.ztree.zTreeDragUL {
display: none; display: none;
} }
.bi-combo.bi-combo-popup:focus > .bi-single-select-trigger, .bi-combo.bi-combo-popup:focus > .bi-single-select-trigger,
.bi-combo.bi-combo-popup:hover > .bi-single-select-trigger { .bi-combo.bi-combo-popup:hover > .bi-single-select-trigger,
.bi-combo.bi-combo-popup:focus-within > .bi-single-select-trigger {
border-color: #3685f2;
}
.bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px;
}
.bi-single-select-combo .trigger-up {
display: none;
}
.bi-single-select-combo .trigger-down {
display: block;
}
.bi-single-select-combo.combo-show .trigger-up {
display: block;
}
.bi-single-select-combo.combo-show .trigger-down {
display: none;
}
.bi-single-select-combo .bi-combo-hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
} }
.bi-single-slider-label { .bi-single-slider-label {
@ -4736,41 +4797,89 @@ textarea::-webkit-scrollbar-thumb:hover {
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png');
_background: none; _background: none;

96
dist/bundle.js vendored

@ -27448,7 +27448,9 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
tooltip.visible(); tooltip.visible();
tooltip.element.height(tooltip.element[0].scrollHeight); tooltip.element.height(tooltip.element[0].scrollHeight);
this.showingTips[name] = true; this.showingTips[name] = true;
var x = (e.pageX || e.clientX) + 15, y = (e.pageY || e.clientY) + 15; // scale影响要计算在内
var scale = context.element.offset().left / context.element.get(0).getBoundingClientRect().left;
var x = (e.pageX || e.clientX) * scale + 15, y = (e.pageY || e.clientY) * scale + 15;
if (x + tooltip.element.outerWidth() > $("body").outerWidth()) { if (x + tooltip.element.outerWidth() > $("body").outerWidth()) {
x -= tooltip.element.outerWidth() + 15; x -= tooltip.element.outerWidth() + 15;
} }
@ -37566,6 +37568,9 @@ BI.TreeView = BI.inherit(BI.Pane, {
if(BI.isNotNull(o.value)){ if(BI.isNotNull(o.value)){
this.setSelectedValue(o.value); this.setSelectedValue(o.value);
} }
if (BI.isIE9Below()) {
this.element.addClass("hack");
}
}, },
_createTree: function () { _createTree: function () {
@ -78679,6 +78684,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_icon_text_trigger", type: "bi.select_icon_text_trigger",
cls: "icon-text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -78829,7 +78835,10 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
text: "", text: "",
items: [], items: [],
tipType: "", tipType: "",
warningTitle: "" warningTitle: "",
attributes: {
tabIndex: 0
}
}, },
render: function () { render: function () {
@ -78845,11 +78854,9 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
ref: function () { ref: function () {
self.combo = this; self.combo = this;
}, },
attributes: {
tabIndex: 0
},
el: { el: {
type: "bi.search_text_value_trigger", type: "bi.search_text_value_trigger",
cls: "search-text-value-trigger",
ref: function () { ref: function () {
self.trigger = this; self.trigger = this;
}, },
@ -79047,7 +79054,7 @@ BI.shortcut("bi.search_text_value_combo_popup", BI.SearchTextValueComboPopup);/*
BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, { BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
props: { props: {
baseCls: "bi-search-text-value-trigger bi-border bi-focus-shadow", baseCls: "bi-search-text-value-trigger bi-border",
height: 24 height: 24
}, },
@ -79162,7 +79169,10 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
text: "", text: "",
el: {}, el: {},
items: [], items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -79171,7 +79181,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.text_trigger", type: "bi.text_trigger",
cls: "bi-border", cls: "bi-border static-text-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -79225,11 +79235,14 @@ BI.shortcut("bi.static_combo", BI.StaticCombo);/**
BI.TextValueCheckCombo = BI.inherit(BI.Widget, { BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-text-value-check-combo", baseCls: "bi-text-value-check-combo",
width: 100, width: 100,
height: 24, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -79238,6 +79251,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
cls: "text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -79450,6 +79464,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
cls: "text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -79651,7 +79666,10 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -79667,6 +79685,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
} }
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.down_list_select_text_trigger", type: "bi.down_list_select_text_trigger",
cls: "text-value-down-list-trigger",
height: o.height, height: o.height,
items: o.items, items: o.items,
text: o.text, text: o.text,
@ -91528,7 +91547,7 @@ BI.extend(BI.DynamicDateCard, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow",
height: 24 height: 24
}, },
@ -91767,6 +91786,10 @@ BI.extend(BI.DynamicDateCard, {
} }
}, },
_defaultState: function () {
},
setValue: function (v) { setValue: function (v) {
this.storeValue = v; this.storeValue = v;
this.trigger.setValue(v); this.trigger.setValue(v);
@ -92410,7 +92433,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow",
height: 24 height: 24
}, },
@ -95925,7 +95948,10 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
height: 24, height: 24,
text: "", text: "",
items: [], items: [],
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -96481,7 +96507,10 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
text: "", text: "",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
items: [], items: [],
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -97477,7 +97506,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-combo", baseCls: "bi-multi-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -97865,7 +97897,10 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -98241,7 +98276,10 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -102528,7 +102566,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button", type: "bi.icon_button",
forceNotSelected: true, forceNotSelected: true,
trigger: "lclick,", trigger: "lclick,",
cls: "add-up-font top-button bi-border-left bi-list-item-active3 icon-size-12" cls: "add-up-font top-button bi-border-left bi-list-item-active2 icon-size-12"
}); });
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(o.step); self._finetuning(o.step);
@ -102539,7 +102577,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button", type: "bi.icon_button",
trigger: "lclick,", trigger: "lclick,",
forceNotSelected: true, forceNotSelected: true,
cls: "minus-down-font bottom-button bi-border-left bi-list-item-active3 icon-size-12" cls: "minus-down-font bottom-button bi-border-left bi-list-item-active2 icon-size-12"
}); });
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(-o.step); self._finetuning(-o.step);
@ -106769,7 +106807,10 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -107040,7 +107081,10 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -108494,7 +108538,7 @@ BI.SliderIconButton = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.text_button", type: "bi.text_button",
forceNotSelected: true, forceNotSelected: true,
cls: "slider-button bi-list-item-select2", cls: "slider-button bi-list-item-select3",
ref: function () { ref: function () {
self.slider = this; self.slider = this;
} }
@ -110331,7 +110375,7 @@ BI.StaticYearCard.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.inherit(BI.Widget, { BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-year-combo bi-border", baseCls: "bi-year-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期
@ -111064,7 +111108,7 @@ BI.shortcut("bi.static_year_month_card", BI.StaticYearMonthCard);
BI.DynamicYearMonthCombo = BI.inherit(BI.Single, { BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
props: { props: {
baseCls: "bi-year-month-combo bi-border", baseCls: "bi-year-month-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期
@ -112092,7 +112136,7 @@ BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard);
BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-year-quarter-combo bi-border", baseCls: "bi-year-quarter-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

60
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

34
dist/case.js vendored

@ -5995,6 +5995,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_icon_text_trigger", type: "bi.select_icon_text_trigger",
cls: "icon-text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -6145,7 +6146,10 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
text: "", text: "",
items: [], items: [],
tipType: "", tipType: "",
warningTitle: "" warningTitle: "",
attributes: {
tabIndex: 0
}
}, },
render: function () { render: function () {
@ -6161,11 +6165,9 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
ref: function () { ref: function () {
self.combo = this; self.combo = this;
}, },
attributes: {
tabIndex: 0
},
el: { el: {
type: "bi.search_text_value_trigger", type: "bi.search_text_value_trigger",
cls: "search-text-value-trigger",
ref: function () { ref: function () {
self.trigger = this; self.trigger = this;
}, },
@ -6363,7 +6365,7 @@ BI.shortcut("bi.search_text_value_combo_popup", BI.SearchTextValueComboPopup);/*
BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, { BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
props: { props: {
baseCls: "bi-search-text-value-trigger bi-border bi-focus-shadow", baseCls: "bi-search-text-value-trigger bi-border",
height: 24 height: 24
}, },
@ -6478,7 +6480,10 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
text: "", text: "",
el: {}, el: {},
items: [], items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -6487,7 +6492,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.text_trigger", type: "bi.text_trigger",
cls: "bi-border", cls: "bi-border static-text-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -6541,11 +6546,14 @@ BI.shortcut("bi.static_combo", BI.StaticCombo);/**
BI.TextValueCheckCombo = BI.inherit(BI.Widget, { BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-text-value-check-combo", baseCls: "bi-text-value-check-combo",
width: 100, width: 100,
height: 24, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -6554,6 +6562,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
cls: "text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -6766,6 +6775,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
cls: "text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -6967,7 +6977,10 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -6983,6 +6996,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
} }
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.down_list_select_text_trigger", type: "bi.down_list_select_text_trigger",
cls: "text-value-down-list-trigger",
height: o.height, height: o.height,
items: o.items, items: o.items,
text: o.text, text: o.text,

287
dist/core.css vendored

@ -313,12 +313,7 @@ textarea {
color: #606479 !important; color: #606479 !important;
} }
.bi-focus-shadow:focus-within, .bi-focus-shadow:focus-within,
.bi-focus-shadow:focus { .bi-focus-shadow:focus,
border-color: #3685f2;
-webkit-box-shadow: 0 0 5px 2px #d7e7fc;
-moz-box-shadow: 0 0 5px 2px #d7e7fc;
box-shadow: 0 0 5px 2px #d7e7fc;
}
.bi-focus-shadow:hover { .bi-focus-shadow:hover {
border-color: #3685f2; border-color: #3685f2;
} }
@ -842,6 +837,8 @@ textarea {
.bi-list-item-active2:hover, .bi-list-item-active2:hover,
.bi-list-item-active2.hover { .bi-list-item-active2.hover {
color: #232e40; color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:hover .bi-input, .bi-list-item-active2:hover .bi-input,
.bi-list-item-active2.hover .bi-input { .bi-list-item-active2.hover .bi-input {
@ -851,34 +848,19 @@ textarea {
.bi-list-item-active2.hover .bi-textarea { .bi-list-item-active2.hover .bi-textarea {
color: #232e40; color: #232e40;
} }
.bi-list-item-active2:hover.bi-border, .bi-list-item-active2:active,
.bi-list-item-active2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2:active {
color: #3685f2;
}
.bi-list-item-active2:active .bi-input {
color: #3685f2;
}
.bi-list-item-active2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active2:active.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2.active { .bi-list-item-active2.active {
color: #ffffff; color: #3685f2;
background-color: #3685f2; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:active .bi-input,
.bi-list-item-active2.active .bi-input { .bi-list-item-active2.active .bi-input {
color: #ffffff; color: #3685f2;
} }
.bi-list-item-active2:active .bi-textarea,
.bi-list-item-active2.active .bi-textarea { .bi-list-item-active2.active .bi-textarea {
color: #ffffff; color: #3685f2;
}
.bi-list-item-active2.active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-active2.disabled, .bi-list-item-active2.disabled,
.bi-list-item-active2.disabled:hover, .bi-list-item-active2.disabled:hover,
@ -904,7 +886,8 @@ textarea {
.bi-theme-dark .bi-list-item-active2:hover, .bi-theme-dark .bi-list-item-active2:hover,
.bi-theme-dark .bi-list-item-active2.hover { .bi-theme-dark .bi-list-item-active2.hover {
color: #ffffff; color: #ffffff;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2:hover .bi-input, .bi-theme-dark .bi-list-item-active2:hover .bi-input,
.bi-theme-dark .bi-list-item-active2.hover .bi-input { .bi-theme-dark .bi-list-item-active2.hover .bi-input {
@ -914,17 +897,18 @@ textarea {
.bi-theme-dark .bi-list-item-active2.hover .bi-textarea { .bi-theme-dark .bi-list-item-active2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-active2.active, .bi-theme-dark .bi-list-item-active2:active,
.bi-theme-dark .bi-list-item-active2:active { .bi-theme-dark .bi-list-item-active2.active {
color: #3685f2; color: #3685f2;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2.active .bi-input, .bi-theme-dark .bi-list-item-active2:active .bi-input,
.bi-theme-dark .bi-list-item-active2:active .bi-input { .bi-theme-dark .bi-list-item-active2.active .bi-input {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.active .bi-textarea, .bi-theme-dark .bi-list-item-active2:active .bi-textarea,
.bi-theme-dark .bi-list-item-active2:active .bi-textarea { .bi-theme-dark .bi-list-item-active2.active .bi-textarea {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.disabled, .bi-theme-dark .bi-list-item-active2.disabled,
@ -948,104 +932,6 @@ textarea {
.bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light { .bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light {
color: #878d9f !important; color: #878d9f !important;
} }
.bi-list-item-active3:hover,
.bi-list-item-active3.hover {
color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:hover .bi-input,
.bi-list-item-active3.hover .bi-input {
color: #232e40;
}
.bi-list-item-active3:hover .bi-textarea,
.bi-list-item-active3.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-active3:active,
.bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:active .bi-input,
.bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-list-item-active3:active .bi-textarea,
.bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active3.disabled,
.bi-list-item-active3.disabled:hover,
.bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-input,
.bi-list-item-active3.disabled:hover .bi-input,
.bi-list-item-active3.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-textarea,
.bi-list-item-active3.disabled:hover .bi-textarea,
.bi-list-item-active3.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-high-light,
.bi-list-item-active3.disabled:hover .bi-high-light,
.bi-list-item-active3.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-active3:hover,
.bi-theme-dark .bi-list-item-active3.hover {
color: #ffffff;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:active,
.bi-theme-dark .bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:active .bi-input,
.bi-theme-dark .bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3:active .bi-textarea,
.bi-theme-dark .bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3.disabled,
.bi-theme-dark .bi-list-item-active3.disabled:hover,
.bi-theme-dark .bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select:hover, .bi-list-item-select:hover,
.bi-list-item-select.hover { .bi-list-item-select.hover {
background-color: rgba(54, 133, 242, 0.06); background-color: rgba(54, 133, 242, 0.06);
@ -1185,29 +1071,134 @@ textarea {
} }
.bi-list-item-select2:hover, .bi-list-item-select2:hover,
.bi-list-item-select2.hover { .bi-list-item-select2.hover {
background-color: #f7f8fa; color: #232e40;
}
.bi-list-item-select2:hover .bi-input,
.bi-list-item-select2.hover .bi-input {
color: #232e40;
}
.bi-list-item-select2:hover .bi-textarea,
.bi-list-item-select2.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-select2:hover.bi-border,
.bi-list-item-select2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2:active {
color: #3685f2;
}
.bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-select2:active,
.bi-list-item-select2.active { .bi-list-item-select2.active {
color: #ffffff; color: #ffffff;
background-color: #f7f8fa; background-color: #3685f2;
} }
.bi-list-item-select2:active .bi-input,
.bi-list-item-select2.active .bi-input { .bi-list-item-select2.active .bi-input {
color: #3685f2; color: #ffffff;
} }
.bi-list-item-select2:active .bi-textarea,
.bi-list-item-select2.active .bi-textarea { .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active .bi-high-light,
.bi-list-item-select2.active .bi-high-light {
color: #ffffff; color: #ffffff;
} }
.bi-list-item-select2.active.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2.disabled,
.bi-list-item-select2.disabled:hover, .bi-list-item-select2.disabled:hover,
.bi-list-item-select2.disabled.hover, .bi-list-item-select2.disabled:active {
.bi-list-item-select2.disabled:active, background-color: transparent !important;
.bi-list-item-select2.disabled.active { color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-input,
.bi-list-item-select2.disabled:hover .bi-input,
.bi-list-item-select2.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-textarea,
.bi-list-item-select2.disabled:hover .bi-textarea,
.bi-list-item-select2.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-high-light,
.bi-list-item-select2.disabled:hover .bi-high-light,
.bi-list-item-select2.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea,
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select3:hover,
.bi-list-item-select3.hover {
background-color: #f7f8fa;
}
.bi-list-item-select3:active,
.bi-list-item-select3.active {
color: #3685f2;
background-color: #f7f8fa;
}
.bi-list-item-select3:active .bi-input,
.bi-list-item-select3.active .bi-input {
color: #3685f2;
}
.bi-list-item-select3:active .bi-textarea,
.bi-list-item-select3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select3.disabled:hover,
.bi-list-item-select3.disabled.hover,
.bi-list-item-select3.disabled:active,
.bi-list-item-select3.disabled.active {
background-color: #ffffff !important; background-color: #ffffff !important;
} }
.bi-theme-dark .bi-list-item-select:hover, .bi-theme-dark .bi-list-item-select:hover,

4
dist/core.js vendored

@ -27448,7 +27448,9 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
tooltip.visible(); tooltip.visible();
tooltip.element.height(tooltip.element[0].scrollHeight); tooltip.element.height(tooltip.element[0].scrollHeight);
this.showingTips[name] = true; this.showingTips[name] = true;
var x = (e.pageX || e.clientX) + 15, y = (e.pageY || e.clientY) + 15; // scale影响要计算在内
var scale = context.element.offset().left / context.element.get(0).getBoundingClientRect().left;
var x = (e.pageX || e.clientX) * scale + 15, y = (e.pageY || e.clientY) * scale + 15;
if (x + tooltip.element.outerWidth() > $("body").outerWidth()) { if (x + tooltip.element.outerWidth() > $("body").outerWidth()) {
x -= tooltip.element.outerWidth() + 15; x -= tooltip.element.outerWidth() + 15;
} }

287
dist/core_without_normalize.css vendored

@ -32,12 +32,7 @@ textarea {
color: #606479 !important; color: #606479 !important;
} }
.bi-focus-shadow:focus-within, .bi-focus-shadow:focus-within,
.bi-focus-shadow:focus { .bi-focus-shadow:focus,
border-color: #3685f2;
-webkit-box-shadow: 0 0 5px 2px #d7e7fc;
-moz-box-shadow: 0 0 5px 2px #d7e7fc;
box-shadow: 0 0 5px 2px #d7e7fc;
}
.bi-focus-shadow:hover { .bi-focus-shadow:hover {
border-color: #3685f2; border-color: #3685f2;
} }
@ -561,6 +556,8 @@ textarea {
.bi-list-item-active2:hover, .bi-list-item-active2:hover,
.bi-list-item-active2.hover { .bi-list-item-active2.hover {
color: #232e40; color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:hover .bi-input, .bi-list-item-active2:hover .bi-input,
.bi-list-item-active2.hover .bi-input { .bi-list-item-active2.hover .bi-input {
@ -570,34 +567,19 @@ textarea {
.bi-list-item-active2.hover .bi-textarea { .bi-list-item-active2.hover .bi-textarea {
color: #232e40; color: #232e40;
} }
.bi-list-item-active2:hover.bi-border, .bi-list-item-active2:active,
.bi-list-item-active2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2:active {
color: #3685f2;
}
.bi-list-item-active2:active .bi-input {
color: #3685f2;
}
.bi-list-item-active2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active2:active.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2.active { .bi-list-item-active2.active {
color: #ffffff; color: #3685f2;
background-color: #3685f2; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:active .bi-input,
.bi-list-item-active2.active .bi-input { .bi-list-item-active2.active .bi-input {
color: #ffffff; color: #3685f2;
} }
.bi-list-item-active2:active .bi-textarea,
.bi-list-item-active2.active .bi-textarea { .bi-list-item-active2.active .bi-textarea {
color: #ffffff; color: #3685f2;
}
.bi-list-item-active2.active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-active2.disabled, .bi-list-item-active2.disabled,
.bi-list-item-active2.disabled:hover, .bi-list-item-active2.disabled:hover,
@ -623,7 +605,8 @@ textarea {
.bi-theme-dark .bi-list-item-active2:hover, .bi-theme-dark .bi-list-item-active2:hover,
.bi-theme-dark .bi-list-item-active2.hover { .bi-theme-dark .bi-list-item-active2.hover {
color: #ffffff; color: #ffffff;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2:hover .bi-input, .bi-theme-dark .bi-list-item-active2:hover .bi-input,
.bi-theme-dark .bi-list-item-active2.hover .bi-input { .bi-theme-dark .bi-list-item-active2.hover .bi-input {
@ -633,17 +616,18 @@ textarea {
.bi-theme-dark .bi-list-item-active2.hover .bi-textarea { .bi-theme-dark .bi-list-item-active2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-active2.active, .bi-theme-dark .bi-list-item-active2:active,
.bi-theme-dark .bi-list-item-active2:active { .bi-theme-dark .bi-list-item-active2.active {
color: #3685f2; color: #3685f2;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2.active .bi-input, .bi-theme-dark .bi-list-item-active2:active .bi-input,
.bi-theme-dark .bi-list-item-active2:active .bi-input { .bi-theme-dark .bi-list-item-active2.active .bi-input {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.active .bi-textarea, .bi-theme-dark .bi-list-item-active2:active .bi-textarea,
.bi-theme-dark .bi-list-item-active2:active .bi-textarea { .bi-theme-dark .bi-list-item-active2.active .bi-textarea {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.disabled, .bi-theme-dark .bi-list-item-active2.disabled,
@ -667,104 +651,6 @@ textarea {
.bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light { .bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light {
color: #878d9f !important; color: #878d9f !important;
} }
.bi-list-item-active3:hover,
.bi-list-item-active3.hover {
color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:hover .bi-input,
.bi-list-item-active3.hover .bi-input {
color: #232e40;
}
.bi-list-item-active3:hover .bi-textarea,
.bi-list-item-active3.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-active3:active,
.bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:active .bi-input,
.bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-list-item-active3:active .bi-textarea,
.bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active3.disabled,
.bi-list-item-active3.disabled:hover,
.bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-input,
.bi-list-item-active3.disabled:hover .bi-input,
.bi-list-item-active3.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-textarea,
.bi-list-item-active3.disabled:hover .bi-textarea,
.bi-list-item-active3.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-high-light,
.bi-list-item-active3.disabled:hover .bi-high-light,
.bi-list-item-active3.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-active3:hover,
.bi-theme-dark .bi-list-item-active3.hover {
color: #ffffff;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:active,
.bi-theme-dark .bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:active .bi-input,
.bi-theme-dark .bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3:active .bi-textarea,
.bi-theme-dark .bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3.disabled,
.bi-theme-dark .bi-list-item-active3.disabled:hover,
.bi-theme-dark .bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select:hover, .bi-list-item-select:hover,
.bi-list-item-select.hover { .bi-list-item-select.hover {
background-color: rgba(54, 133, 242, 0.06); background-color: rgba(54, 133, 242, 0.06);
@ -904,29 +790,134 @@ textarea {
} }
.bi-list-item-select2:hover, .bi-list-item-select2:hover,
.bi-list-item-select2.hover { .bi-list-item-select2.hover {
background-color: #f7f8fa; color: #232e40;
}
.bi-list-item-select2:hover .bi-input,
.bi-list-item-select2.hover .bi-input {
color: #232e40;
}
.bi-list-item-select2:hover .bi-textarea,
.bi-list-item-select2.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-select2:hover.bi-border,
.bi-list-item-select2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2:active {
color: #3685f2;
}
.bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-select2:active,
.bi-list-item-select2.active { .bi-list-item-select2.active {
color: #ffffff; color: #ffffff;
background-color: #f7f8fa; background-color: #3685f2;
} }
.bi-list-item-select2:active .bi-input,
.bi-list-item-select2.active .bi-input { .bi-list-item-select2.active .bi-input {
color: #3685f2; color: #ffffff;
} }
.bi-list-item-select2:active .bi-textarea,
.bi-list-item-select2.active .bi-textarea { .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active .bi-high-light,
.bi-list-item-select2.active .bi-high-light {
color: #ffffff; color: #ffffff;
} }
.bi-list-item-select2.active.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2.disabled,
.bi-list-item-select2.disabled:hover, .bi-list-item-select2.disabled:hover,
.bi-list-item-select2.disabled.hover, .bi-list-item-select2.disabled:active {
.bi-list-item-select2.disabled:active, background-color: transparent !important;
.bi-list-item-select2.disabled.active { color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-input,
.bi-list-item-select2.disabled:hover .bi-input,
.bi-list-item-select2.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-textarea,
.bi-list-item-select2.disabled:hover .bi-textarea,
.bi-list-item-select2.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-high-light,
.bi-list-item-select2.disabled:hover .bi-high-light,
.bi-list-item-select2.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea,
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select3:hover,
.bi-list-item-select3.hover {
background-color: #f7f8fa;
}
.bi-list-item-select3:active,
.bi-list-item-select3.active {
color: #3685f2;
background-color: #f7f8fa;
}
.bi-list-item-select3:active .bi-input,
.bi-list-item-select3.active .bi-input {
color: #3685f2;
}
.bi-list-item-select3:active .bi-textarea,
.bi-list-item-select3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select3.disabled:hover,
.bi-list-item-select3.disabled.hover,
.bi-list-item-select3.disabled:active,
.bi-list-item-select3.disabled.active {
background-color: #ffffff !important; background-color: #ffffff !important;
} }
.bi-theme-dark .bi-list-item-select:hover, .bi-theme-dark .bi-list-item-select:hover,

7
dist/demo.js vendored

@ -2436,15 +2436,14 @@ BI.shortcut("demo.calendar", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
}, { }, {
text: "bi-list-item-active2", text: "bi-list-item-active2",
cls: "bi-list-item-active2 close-font" cls: "bi-list-item-active2 close-font"
}, {
text: "bi-list-item-active3",
cls: "bi-list-item-active3 close-font"
}, { }, {
text: "bi-list-item-select", text: "bi-list-item-select",
cls: "bi-list-item-select close-font" cls: "bi-list-item-select close-font"
}, {
text: "bi-list-item-select2",
cls: "bi-list-item-select2 close-font"
}], { }], {
type: "bi.icon_text_item", type: "bi.icon_text_item",
disabled: true,
logic: { logic: {
dynamic: true dynamic: true
} }

481
dist/fineui.css vendored

@ -313,12 +313,7 @@ textarea {
color: #606479 !important; color: #606479 !important;
} }
.bi-focus-shadow:focus-within, .bi-focus-shadow:focus-within,
.bi-focus-shadow:focus { .bi-focus-shadow:focus,
border-color: #3685f2;
-webkit-box-shadow: 0 0 5px 2px #d7e7fc;
-moz-box-shadow: 0 0 5px 2px #d7e7fc;
box-shadow: 0 0 5px 2px #d7e7fc;
}
.bi-focus-shadow:hover { .bi-focus-shadow:hover {
border-color: #3685f2; border-color: #3685f2;
} }
@ -842,6 +837,8 @@ textarea {
.bi-list-item-active2:hover, .bi-list-item-active2:hover,
.bi-list-item-active2.hover { .bi-list-item-active2.hover {
color: #232e40; color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:hover .bi-input, .bi-list-item-active2:hover .bi-input,
.bi-list-item-active2.hover .bi-input { .bi-list-item-active2.hover .bi-input {
@ -851,34 +848,19 @@ textarea {
.bi-list-item-active2.hover .bi-textarea { .bi-list-item-active2.hover .bi-textarea {
color: #232e40; color: #232e40;
} }
.bi-list-item-active2:hover.bi-border, .bi-list-item-active2:active,
.bi-list-item-active2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2:active {
color: #3685f2;
}
.bi-list-item-active2:active .bi-input {
color: #3685f2;
}
.bi-list-item-active2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active2:active.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2.active { .bi-list-item-active2.active {
color: #ffffff; color: #3685f2;
background-color: #3685f2; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:active .bi-input,
.bi-list-item-active2.active .bi-input { .bi-list-item-active2.active .bi-input {
color: #ffffff; color: #3685f2;
} }
.bi-list-item-active2:active .bi-textarea,
.bi-list-item-active2.active .bi-textarea { .bi-list-item-active2.active .bi-textarea {
color: #ffffff; color: #3685f2;
}
.bi-list-item-active2.active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-active2.disabled, .bi-list-item-active2.disabled,
.bi-list-item-active2.disabled:hover, .bi-list-item-active2.disabled:hover,
@ -904,7 +886,8 @@ textarea {
.bi-theme-dark .bi-list-item-active2:hover, .bi-theme-dark .bi-list-item-active2:hover,
.bi-theme-dark .bi-list-item-active2.hover { .bi-theme-dark .bi-list-item-active2.hover {
color: #ffffff; color: #ffffff;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2:hover .bi-input, .bi-theme-dark .bi-list-item-active2:hover .bi-input,
.bi-theme-dark .bi-list-item-active2.hover .bi-input { .bi-theme-dark .bi-list-item-active2.hover .bi-input {
@ -914,17 +897,18 @@ textarea {
.bi-theme-dark .bi-list-item-active2.hover .bi-textarea { .bi-theme-dark .bi-list-item-active2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-active2.active, .bi-theme-dark .bi-list-item-active2:active,
.bi-theme-dark .bi-list-item-active2:active { .bi-theme-dark .bi-list-item-active2.active {
color: #3685f2; color: #3685f2;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2.active .bi-input, .bi-theme-dark .bi-list-item-active2:active .bi-input,
.bi-theme-dark .bi-list-item-active2:active .bi-input { .bi-theme-dark .bi-list-item-active2.active .bi-input {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.active .bi-textarea, .bi-theme-dark .bi-list-item-active2:active .bi-textarea,
.bi-theme-dark .bi-list-item-active2:active .bi-textarea { .bi-theme-dark .bi-list-item-active2.active .bi-textarea {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.disabled, .bi-theme-dark .bi-list-item-active2.disabled,
@ -948,104 +932,6 @@ textarea {
.bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light { .bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light {
color: #878d9f !important; color: #878d9f !important;
} }
.bi-list-item-active3:hover,
.bi-list-item-active3.hover {
color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:hover .bi-input,
.bi-list-item-active3.hover .bi-input {
color: #232e40;
}
.bi-list-item-active3:hover .bi-textarea,
.bi-list-item-active3.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-active3:active,
.bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:active .bi-input,
.bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-list-item-active3:active .bi-textarea,
.bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active3.disabled,
.bi-list-item-active3.disabled:hover,
.bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-input,
.bi-list-item-active3.disabled:hover .bi-input,
.bi-list-item-active3.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-textarea,
.bi-list-item-active3.disabled:hover .bi-textarea,
.bi-list-item-active3.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-high-light,
.bi-list-item-active3.disabled:hover .bi-high-light,
.bi-list-item-active3.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-active3:hover,
.bi-theme-dark .bi-list-item-active3.hover {
color: #ffffff;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:active,
.bi-theme-dark .bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:active .bi-input,
.bi-theme-dark .bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3:active .bi-textarea,
.bi-theme-dark .bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3.disabled,
.bi-theme-dark .bi-list-item-active3.disabled:hover,
.bi-theme-dark .bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select:hover, .bi-list-item-select:hover,
.bi-list-item-select.hover { .bi-list-item-select.hover {
background-color: rgba(54, 133, 242, 0.06); background-color: rgba(54, 133, 242, 0.06);
@ -1185,29 +1071,134 @@ textarea {
} }
.bi-list-item-select2:hover, .bi-list-item-select2:hover,
.bi-list-item-select2.hover { .bi-list-item-select2.hover {
background-color: #f7f8fa; color: #232e40;
}
.bi-list-item-select2:hover .bi-input,
.bi-list-item-select2.hover .bi-input {
color: #232e40;
}
.bi-list-item-select2:hover .bi-textarea,
.bi-list-item-select2.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-select2:hover.bi-border,
.bi-list-item-select2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2:active {
color: #3685f2;
}
.bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-select2:active,
.bi-list-item-select2.active { .bi-list-item-select2.active {
color: #ffffff; color: #ffffff;
background-color: #f7f8fa; background-color: #3685f2;
} }
.bi-list-item-select2:active .bi-input,
.bi-list-item-select2.active .bi-input { .bi-list-item-select2.active .bi-input {
color: #3685f2; color: #ffffff;
} }
.bi-list-item-select2:active .bi-textarea,
.bi-list-item-select2.active .bi-textarea { .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active .bi-high-light,
.bi-list-item-select2.active .bi-high-light {
color: #ffffff; color: #ffffff;
} }
.bi-list-item-select2.active.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2.disabled,
.bi-list-item-select2.disabled:hover, .bi-list-item-select2.disabled:hover,
.bi-list-item-select2.disabled.hover, .bi-list-item-select2.disabled:active {
.bi-list-item-select2.disabled:active, background-color: transparent !important;
.bi-list-item-select2.disabled.active { color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-input,
.bi-list-item-select2.disabled:hover .bi-input,
.bi-list-item-select2.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-textarea,
.bi-list-item-select2.disabled:hover .bi-textarea,
.bi-list-item-select2.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-high-light,
.bi-list-item-select2.disabled:hover .bi-high-light,
.bi-list-item-select2.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea,
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select3:hover,
.bi-list-item-select3.hover {
background-color: #f7f8fa;
}
.bi-list-item-select3:active,
.bi-list-item-select3.active {
color: #3685f2;
background-color: #f7f8fa;
}
.bi-list-item-select3:active .bi-input,
.bi-list-item-select3.active .bi-input {
color: #3685f2;
}
.bi-list-item-select3:active .bi-textarea,
.bi-list-item-select3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select3.disabled:hover,
.bi-list-item-select3.disabled.hover,
.bi-list-item-select3.disabled:active,
.bi-list-item-select3.disabled.active {
background-color: #ffffff !important; background-color: #ffffff !important;
} }
.bi-theme-dark .bi-list-item-select:hover, .bi-theme-dark .bi-list-item-select:hover,
@ -1925,41 +1916,89 @@ textarea {
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
@ -2212,9 +2251,8 @@ textarea {
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-45deg); transform: rotate(-45deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-right { .bi-bubble-combo .bubble-combo-triangle-right {
z-index: 1; z-index: 1;
@ -2231,9 +2269,8 @@ textarea {
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(135deg); transform: rotate(135deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-top { .bi-bubble-combo .bubble-combo-triangle-top {
z-index: 1; z-index: 1;
@ -2250,9 +2287,8 @@ textarea {
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(45deg); transform: rotate(45deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-bottom { .bi-bubble-combo .bubble-combo-triangle-bottom {
z-index: 1; z-index: 1;
@ -2269,9 +2305,8 @@ textarea {
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-135deg); transform: rotate(-135deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-left:before, .bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-left:before,
.bi-theme-dark .bi-bubble-combo.bubble-combo-triangle-right:before, .bi-theme-dark .bi-bubble-combo.bubble-combo-triangle-right:before,
@ -2284,11 +2319,10 @@ textarea {
display: block !important; display: block !important;
visibility: visible !important; visibility: visible !important;
} }
.bi-combo.bi-combo-popup:focus, .bi-combo.bi-combo-popup > .bi-border,
.bi-combo.bi-combo-popup:focus-within { .bi-combo.bi-combo-hover > .bi-border,
-webkit-box-shadow: 0 0 5px 2px #d7e7fc; .bi-combo:hover > .bi-border {
-moz-box-shadow: 0 0 5px 2px #d7e7fc; border-color: #3685f2;
box-shadow: 0 0 5px 2px #d7e7fc;
} }
.bi-search-text-value-combo .trigger-icon-button { .bi-search-text-value-combo .trigger-icon-button {
@ -2309,11 +2343,11 @@ textarea {
.bi-search-text-value-combo.combo-show .trigger-down { .bi-search-text-value-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-combo.bi-combo-popup > .bi-search-text-value-trigger, .bi-search-text-value-combo .bi-combo-hover > .bi-border {
.bi-combo:hover > .bi-search-text-value-trigger {
border-color: #3685f2; border-color: #3685f2;
} }
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label { .bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
@ -2321,8 +2355,14 @@ textarea {
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label { .bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
.bi-combo.bi-combo-popup > .bi-select-text-trigger,
.bi-combo:hover > .bi-select-text-trigger { .bi-text-value-check-combo.bi-combo-popup > .bi-border,
.bi-text-value-check-combo:hover > .bi-border {
border-color: #3685f2;
}
.bi-text-value-down-list-combo.bi-combo-popup > .bi-border,
.bi-text-value-down-list-combo:hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
} }
/*************BI.SearchEditor******************/ /*************BI.SearchEditor******************/
@ -4255,8 +4295,7 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-combo.combo-show .trigger-down { .bi-multi-select-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-combo.bi-combo-popup:focus > .bi-multi-select-trigger, .bi-multi-select-combo .bi-combo-hover > .bi-border {
.bi-combo.bi-combo-popup:hover > .bi-multi-select-trigger {
border-color: #3685f2; border-color: #3685f2;
} }
@ -4275,6 +4314,9 @@ ul.ztree.zTreeDragUL {
.bi-multi-select-insert-combo.combo-show .trigger-down { .bi-multi-select-insert-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-multi-select-insert-combo .bi-combo-hover > .bi-border {
border-color: #3685f2;
}
.bi-multi-select-trigger { .bi-multi-select-trigger {
@ -4513,7 +4555,26 @@ ul.ztree.zTreeDragUL {
display: none; display: none;
} }
.bi-combo.bi-combo-popup:focus > .bi-single-select-trigger, .bi-combo.bi-combo-popup:focus > .bi-single-select-trigger,
.bi-combo.bi-combo-popup:hover > .bi-single-select-trigger { .bi-combo.bi-combo-popup:hover > .bi-single-select-trigger,
.bi-combo.bi-combo-popup:focus-within > .bi-single-select-trigger {
border-color: #3685f2;
}
.bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px;
}
.bi-single-select-combo .trigger-up {
display: none;
}
.bi-single-select-combo .trigger-down {
display: block;
}
.bi-single-select-combo.combo-show .trigger-up {
display: block;
}
.bi-single-select-combo.combo-show .trigger-down {
display: none;
}
.bi-single-select-combo .bi-combo-hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
} }
.bi-single-slider-label { .bi-single-slider-label {
@ -4736,41 +4797,89 @@ textarea::-webkit-scrollbar-thumb:hover {
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png');
_background: none; _background: none;

96
dist/fineui.js vendored

@ -27669,7 +27669,9 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
tooltip.visible(); tooltip.visible();
tooltip.element.height(tooltip.element[0].scrollHeight); tooltip.element.height(tooltip.element[0].scrollHeight);
this.showingTips[name] = true; this.showingTips[name] = true;
var x = (e.pageX || e.clientX) + 15, y = (e.pageY || e.clientY) + 15; // scale影响要计算在内
var scale = context.element.offset().left / context.element.get(0).getBoundingClientRect().left;
var x = (e.pageX || e.clientX) * scale + 15, y = (e.pageY || e.clientY) * scale + 15;
if (x + tooltip.element.outerWidth() > $("body").outerWidth()) { if (x + tooltip.element.outerWidth() > $("body").outerWidth()) {
x -= tooltip.element.outerWidth() + 15; x -= tooltip.element.outerWidth() + 15;
} }
@ -37787,6 +37789,9 @@ BI.TreeView = BI.inherit(BI.Pane, {
if(BI.isNotNull(o.value)){ if(BI.isNotNull(o.value)){
this.setSelectedValue(o.value); this.setSelectedValue(o.value);
} }
if (BI.isIE9Below()) {
this.element.addClass("hack");
}
}, },
_createTree: function () { _createTree: function () {
@ -78900,6 +78905,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_icon_text_trigger", type: "bi.select_icon_text_trigger",
cls: "icon-text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -79050,7 +79056,10 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
text: "", text: "",
items: [], items: [],
tipType: "", tipType: "",
warningTitle: "" warningTitle: "",
attributes: {
tabIndex: 0
}
}, },
render: function () { render: function () {
@ -79066,11 +79075,9 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
ref: function () { ref: function () {
self.combo = this; self.combo = this;
}, },
attributes: {
tabIndex: 0
},
el: { el: {
type: "bi.search_text_value_trigger", type: "bi.search_text_value_trigger",
cls: "search-text-value-trigger",
ref: function () { ref: function () {
self.trigger = this; self.trigger = this;
}, },
@ -79268,7 +79275,7 @@ BI.shortcut("bi.search_text_value_combo_popup", BI.SearchTextValueComboPopup);/*
BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, { BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
props: { props: {
baseCls: "bi-search-text-value-trigger bi-border bi-focus-shadow", baseCls: "bi-search-text-value-trigger bi-border",
height: 24 height: 24
}, },
@ -79383,7 +79390,10 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
text: "", text: "",
el: {}, el: {},
items: [], items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -79392,7 +79402,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.text_trigger", type: "bi.text_trigger",
cls: "bi-border", cls: "bi-border static-text-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -79446,11 +79456,14 @@ BI.shortcut("bi.static_combo", BI.StaticCombo);/**
BI.TextValueCheckCombo = BI.inherit(BI.Widget, { BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-text-value-check-combo", baseCls: "bi-text-value-check-combo",
width: 100, width: 100,
height: 24, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -79459,6 +79472,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
cls: "text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -79671,6 +79685,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
cls: "text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,
@ -79872,7 +79887,10 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -79888,6 +79906,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
} }
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.down_list_select_text_trigger", type: "bi.down_list_select_text_trigger",
cls: "text-value-down-list-trigger",
height: o.height, height: o.height,
items: o.items, items: o.items,
text: o.text, text: o.text,
@ -91749,7 +91768,7 @@ BI.extend(BI.DynamicDateCard, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow",
height: 24 height: 24
}, },
@ -91988,6 +92007,10 @@ BI.extend(BI.DynamicDateCard, {
} }
}, },
_defaultState: function () {
},
setValue: function (v) { setValue: function (v) {
this.storeValue = v; this.storeValue = v;
this.trigger.setValue(v); this.trigger.setValue(v);
@ -92631,7 +92654,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow",
height: 24 height: 24
}, },
@ -96146,7 +96169,10 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
height: 24, height: 24,
text: "", text: "",
items: [], items: [],
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -96702,7 +96728,10 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
text: "", text: "",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
items: [], items: [],
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -97698,7 +97727,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-combo", baseCls: "bi-multi-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -98086,7 +98118,10 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -98462,7 +98497,10 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -102749,7 +102787,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button", type: "bi.icon_button",
forceNotSelected: true, forceNotSelected: true,
trigger: "lclick,", trigger: "lclick,",
cls: "add-up-font top-button bi-border-left bi-list-item-active3 icon-size-12" cls: "add-up-font top-button bi-border-left bi-list-item-active2 icon-size-12"
}); });
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(o.step); self._finetuning(o.step);
@ -102760,7 +102798,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button", type: "bi.icon_button",
trigger: "lclick,", trigger: "lclick,",
forceNotSelected: true, forceNotSelected: true,
cls: "minus-down-font bottom-button bi-border-left bi-list-item-active3 icon-size-12" cls: "minus-down-font bottom-button bi-border-left bi-list-item-active2 icon-size-12"
}); });
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(-o.step); self._finetuning(-o.step);
@ -106990,7 +107028,10 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -107261,7 +107302,10 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -108715,7 +108759,7 @@ BI.SliderIconButton = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.text_button", type: "bi.text_button",
forceNotSelected: true, forceNotSelected: true,
cls: "slider-button bi-list-item-select2", cls: "slider-button bi-list-item-select3",
ref: function () { ref: function () {
self.slider = this; self.slider = this;
} }
@ -110552,7 +110596,7 @@ BI.StaticYearCard.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.inherit(BI.Widget, { BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-year-combo bi-border", baseCls: "bi-year-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期
@ -111285,7 +111329,7 @@ BI.shortcut("bi.static_year_month_card", BI.StaticYearMonthCard);
BI.DynamicYearMonthCombo = BI.inherit(BI.Single, { BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
props: { props: {
baseCls: "bi-year-month-combo bi-border", baseCls: "bi-year-month-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期
@ -112313,7 +112357,7 @@ BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard);
BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-year-quarter-combo bi-border", baseCls: "bi-year-quarter-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

58
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

62
dist/resource.css vendored

@ -110,41 +110,89 @@ textarea::-webkit-scrollbar-thumb:hover {
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

27
dist/widget.css vendored

@ -117,8 +117,7 @@
.bi-multi-select-combo.combo-show .trigger-down { .bi-multi-select-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-combo.bi-combo-popup:focus > .bi-multi-select-trigger, .bi-multi-select-combo .bi-combo-hover > .bi-border {
.bi-combo.bi-combo-popup:hover > .bi-multi-select-trigger {
border-color: #3685f2; border-color: #3685f2;
} }
@ -137,6 +136,9 @@
.bi-multi-select-insert-combo.combo-show .trigger-down { .bi-multi-select-insert-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-multi-select-insert-combo .bi-combo-hover > .bi-border {
border-color: #3685f2;
}
.bi-multi-select-trigger { .bi-multi-select-trigger {
@ -375,7 +377,26 @@
display: none; display: none;
} }
.bi-combo.bi-combo-popup:focus > .bi-single-select-trigger, .bi-combo.bi-combo-popup:focus > .bi-single-select-trigger,
.bi-combo.bi-combo-popup:hover > .bi-single-select-trigger { .bi-combo.bi-combo-popup:hover > .bi-single-select-trigger,
.bi-combo.bi-combo-popup:focus-within > .bi-single-select-trigger {
border-color: #3685f2;
}
.bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px;
}
.bi-single-select-combo .trigger-up {
display: none;
}
.bi-single-select-combo .trigger-down {
display: block;
}
.bi-single-select-combo.combo-show .trigger-up {
display: block;
}
.bi-single-select-combo.combo-show .trigger-down {
display: none;
}
.bi-single-select-combo .bi-combo-hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
} }
.bi-single-slider-label { .bi-single-slider-label {

55
dist/widget.js vendored

@ -3271,7 +3271,7 @@ BI.extend(BI.DynamicDateCard, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow",
height: 24 height: 24
}, },
@ -3510,6 +3510,10 @@ BI.extend(BI.DynamicDateCard, {
} }
}, },
_defaultState: function () {
},
setValue: function (v) { setValue: function (v) {
this.storeValue = v; this.storeValue = v;
this.trigger.setValue(v); this.trigger.setValue(v);
@ -4153,7 +4157,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow",
height: 24 height: 24
}, },
@ -7668,7 +7672,10 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
height: 24, height: 24,
text: "", text: "",
items: [], items: [],
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -8224,7 +8231,10 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
text: "", text: "",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
items: [], items: [],
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -9220,7 +9230,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-combo", baseCls: "bi-multi-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -9608,7 +9621,10 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -9984,7 +10000,10 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -14271,7 +14290,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button", type: "bi.icon_button",
forceNotSelected: true, forceNotSelected: true,
trigger: "lclick,", trigger: "lclick,",
cls: "add-up-font top-button bi-border-left bi-list-item-active3 icon-size-12" cls: "add-up-font top-button bi-border-left bi-list-item-active2 icon-size-12"
}); });
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(o.step); self._finetuning(o.step);
@ -14282,7 +14301,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button", type: "bi.icon_button",
trigger: "lclick,", trigger: "lclick,",
forceNotSelected: true, forceNotSelected: true,
cls: "minus-down-font bottom-button bi-border-left bi-list-item-active3 icon-size-12" cls: "minus-down-font bottom-button bi-border-left bi-list-item-active2 icon-size-12"
}); });
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(-o.step); self._finetuning(-o.step);
@ -18512,7 +18531,10 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -18783,7 +18805,10 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -20237,7 +20262,7 @@ BI.SliderIconButton = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.text_button", type: "bi.text_button",
forceNotSelected: true, forceNotSelected: true,
cls: "slider-button bi-list-item-select2", cls: "slider-button bi-list-item-select3",
ref: function () { ref: function () {
self.slider = this; self.slider = this;
} }
@ -22074,7 +22099,7 @@ BI.StaticYearCard.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.inherit(BI.Widget, { BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-year-combo bi-border", baseCls: "bi-year-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期
@ -22807,7 +22832,7 @@ BI.shortcut("bi.static_year_month_card", BI.StaticYearMonthCard);
BI.DynamicYearMonthCombo = BI.inherit(BI.Single, { BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
props: { props: {
baseCls: "bi-year-month-combo bi-border", baseCls: "bi-year-month-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期
@ -23835,7 +23860,7 @@ BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard);
BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-year-quarter-combo bi-border", baseCls: "bi-year-quarter-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期

62
public/css/background.css

@ -39,41 +39,89 @@
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center; background: url('https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://fanruan.coding.me/fineui/dist/images/1x/icon/half_selected.png');
_background: none; _background: none;

3
src/base/tree/treeview.js

@ -33,6 +33,9 @@ BI.TreeView = BI.inherit(BI.Pane, {
if(BI.isNotNull(o.value)){ if(BI.isNotNull(o.value)){
this.setSelectedValue(o.value); this.setSelectedValue(o.value);
} }
if (BI.isIE9Below()) {
this.element.addClass("hack");
}
}, },
_createTree: function () { _createTree: function () {

1
src/case/combo/icontextvaluecombo/combo.icontextvalue.js

@ -21,6 +21,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_icon_text_trigger", type: "bi.select_icon_text_trigger",
cls: "icon-text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,

9
src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js

@ -9,7 +9,10 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
text: "", text: "",
items: [], items: [],
tipType: "", tipType: "",
warningTitle: "" warningTitle: "",
attributes: {
tabIndex: 0
}
}, },
render: function () { render: function () {
@ -25,11 +28,9 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
ref: function () { ref: function () {
self.combo = this; self.combo = this;
}, },
attributes: {
tabIndex: 0
},
el: { el: {
type: "bi.search_text_value_trigger", type: "bi.search_text_value_trigger",
cls: "search-text-value-trigger",
ref: function () { ref: function () {
self.trigger = this; self.trigger = this;
}, },

2
src/case/combo/searchtextvaluecombo/trigger.searchtextvalue.js

@ -4,7 +4,7 @@
BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, { BI.SearchTextValueTrigger = BI.inherit(BI.Trigger, {
props: { props: {
baseCls: "bi-search-text-value-trigger bi-border bi-focus-shadow", baseCls: "bi-search-text-value-trigger bi-border",
height: 24 height: 24
}, },

7
src/case/combo/staticcombo/combo.static.js

@ -12,7 +12,10 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
text: "", text: "",
el: {}, el: {},
items: [], items: [],
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -21,7 +24,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.text_trigger", type: "bi.text_trigger",
cls: "bi-border", cls: "bi-border static-text-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,

8
src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js

@ -6,11 +6,14 @@
BI.TextValueCheckCombo = BI.inherit(BI.Widget, { BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueCheckCombo.superclass._defaultConfig.apply(this, arguments), {
baseClass: "bi-text-value-check-combo", baseCls: "bi-text-value-check-combo",
width: 100, width: 100,
height: 24, height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },
@ -19,6 +22,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
cls: "text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,

1
src/case/combo/textvaluecombo/combo.textvalue.js

@ -23,6 +23,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.select_text_trigger", type: "bi.select_text_trigger",
cls: "text-value-trigger",
items: o.items, items: o.items,
height: o.height, height: o.height,
text: o.text, text: o.text,

6
src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js

@ -6,7 +6,10 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo", baseCls: "bi-text-value-down-list-combo",
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },
@ -22,6 +25,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
} }
this.trigger = BI.createWidget({ this.trigger = BI.createWidget({
type: "bi.down_list_select_text_trigger", type: "bi.down_list_select_text_trigger",
cls: "text-value-down-list-trigger",
height: o.height, height: o.height,
items: o.items, items: o.items,
text: o.text, text: o.text,

4
src/core/controller/controller.tooltips.js

@ -85,7 +85,9 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
tooltip.visible(); tooltip.visible();
tooltip.element.height(tooltip.element[0].scrollHeight); tooltip.element.height(tooltip.element[0].scrollHeight);
this.showingTips[name] = true; this.showingTips[name] = true;
var x = (e.pageX || e.clientX) + 15, y = (e.pageY || e.clientY) + 15; // scale影响要计算在内
var scale = context.element.offset().left / context.element.get(0).getBoundingClientRect().left;
var x = (e.pageX || e.clientX) * scale + 15, y = (e.pageY || e.clientY) * scale + 15;
if (x + tooltip.element.outerWidth() > $("body").outerWidth()) { if (x + tooltip.element.outerWidth() > $("body").outerWidth()) {
x -= tooltip.element.outerWidth() + 15; x -= tooltip.element.outerWidth() + 15;
} }

62
src/css/base/colorchooser/colorpicker/editor.css

@ -39,41 +39,89 @@
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;

43
src/css/base/combo/combo.css

@ -17,9 +17,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-45deg); transform: rotate(-45deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-right { .bi-bubble-combo .bubble-combo-triangle-right {
z-index: 1; z-index: 1;
@ -36,9 +35,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(135deg); transform: rotate(135deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-top { .bi-bubble-combo .bubble-combo-triangle-top {
z-index: 1; z-index: 1;
@ -55,9 +53,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(45deg); transform: rotate(45deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-bubble-combo .bubble-combo-triangle-bottom { .bi-bubble-combo .bubble-combo-triangle-bottom {
z-index: 1; z-index: 1;
@ -74,9 +71,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-135deg); transform: rotate(-135deg);
-webkit-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-bottom: 1px solid #f2f4f7;
-moz-box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2); border-right: 1px solid #f2f4f7;
box-shadow: 1px 1px 1px 0 rgba(35, 46, 64, 0.2);
} }
.bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-left:before, .bi-theme-dark .bi-bubble-combo .bubble-combo-triangle-left:before,
.bi-theme-dark .bi-bubble-combo.bubble-combo-triangle-right:before, .bi-theme-dark .bi-bubble-combo.bubble-combo-triangle-right:before,
@ -89,11 +85,10 @@
display: block !important; display: block !important;
visibility: visible !important; visibility: visible !important;
} }
.bi-combo.bi-combo-popup:focus, .bi-combo.bi-combo-popup > .bi-border,
.bi-combo.bi-combo-popup:focus-within { .bi-combo.bi-combo-hover > .bi-border,
-webkit-box-shadow: 0 0 5px 2px #d7e7fc; .bi-combo:hover > .bi-border {
-moz-box-shadow: 0 0 5px 2px #d7e7fc; border-color: #3685f2;
box-shadow: 0 0 5px 2px #d7e7fc;
} }
.bi-search-text-value-combo .trigger-icon-button { .bi-search-text-value-combo .trigger-icon-button {
@ -114,11 +109,11 @@
.bi-search-text-value-combo.combo-show .trigger-down { .bi-search-text-value-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-combo.bi-combo-popup > .bi-search-text-value-trigger, .bi-search-text-value-combo .bi-combo-hover > .bi-border {
.bi-combo:hover > .bi-search-text-value-trigger {
border-color: #3685f2; border-color: #3685f2;
} }
.bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label { .bi-icon-text-value-combo.combo-error .bi-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
@ -126,7 +121,13 @@
.bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label { .bi-text-value-combo.combo-error .bi-select-text-trigger .select-text-label {
color: #ff4949; color: #ff4949;
} }
.bi-combo.bi-combo-popup > .bi-select-text-trigger,
.bi-combo:hover > .bi-select-text-trigger { .bi-text-value-check-combo.bi-combo-popup > .bi-border,
.bi-text-value-check-combo:hover > .bi-border {
border-color: #3685f2;
}
.bi-text-value-down-list-combo.bi-combo-popup > .bi-border,
.bi-text-value-down-list-combo:hover > .bi-border {
border-color: #3685f2; border-color: #3685f2;
} }

287
src/css/core/utils/common.css

@ -32,12 +32,7 @@ textarea {
color: #606479 !important; color: #606479 !important;
} }
.bi-focus-shadow:focus-within, .bi-focus-shadow:focus-within,
.bi-focus-shadow:focus { .bi-focus-shadow:focus,
border-color: #3685f2;
-webkit-box-shadow: 0 0 5px 2px #d7e7fc;
-moz-box-shadow: 0 0 5px 2px #d7e7fc;
box-shadow: 0 0 5px 2px #d7e7fc;
}
.bi-focus-shadow:hover { .bi-focus-shadow:hover {
border-color: #3685f2; border-color: #3685f2;
} }
@ -561,6 +556,8 @@ textarea {
.bi-list-item-active2:hover, .bi-list-item-active2:hover,
.bi-list-item-active2.hover { .bi-list-item-active2.hover {
color: #232e40; color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:hover .bi-input, .bi-list-item-active2:hover .bi-input,
.bi-list-item-active2.hover .bi-input { .bi-list-item-active2.hover .bi-input {
@ -570,34 +567,19 @@ textarea {
.bi-list-item-active2.hover .bi-textarea { .bi-list-item-active2.hover .bi-textarea {
color: #232e40; color: #232e40;
} }
.bi-list-item-active2:hover.bi-border, .bi-list-item-active2:active,
.bi-list-item-active2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2:active {
color: #3685f2;
}
.bi-list-item-active2:active .bi-input {
color: #3685f2;
}
.bi-list-item-active2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active2:active.bi-border {
border-color: #3685f2;
}
.bi-list-item-active2.active { .bi-list-item-active2.active {
color: #ffffff; color: #3685f2;
background-color: #3685f2; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-list-item-active2:active .bi-input,
.bi-list-item-active2.active .bi-input { .bi-list-item-active2.active .bi-input {
color: #ffffff; color: #3685f2;
} }
.bi-list-item-active2:active .bi-textarea,
.bi-list-item-active2.active .bi-textarea { .bi-list-item-active2.active .bi-textarea {
color: #ffffff; color: #3685f2;
}
.bi-list-item-active2.active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-active2.disabled, .bi-list-item-active2.disabled,
.bi-list-item-active2.disabled:hover, .bi-list-item-active2.disabled:hover,
@ -623,7 +605,8 @@ textarea {
.bi-theme-dark .bi-list-item-active2:hover, .bi-theme-dark .bi-list-item-active2:hover,
.bi-theme-dark .bi-list-item-active2.hover { .bi-theme-dark .bi-list-item-active2.hover {
color: #ffffff; color: #ffffff;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2:hover .bi-input, .bi-theme-dark .bi-list-item-active2:hover .bi-input,
.bi-theme-dark .bi-list-item-active2.hover .bi-input { .bi-theme-dark .bi-list-item-active2.hover .bi-input {
@ -633,17 +616,18 @@ textarea {
.bi-theme-dark .bi-list-item-active2.hover .bi-textarea { .bi-theme-dark .bi-list-item-active2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-active2.active, .bi-theme-dark .bi-list-item-active2:active,
.bi-theme-dark .bi-list-item-active2:active { .bi-theme-dark .bi-list-item-active2.active {
color: #3685f2; color: #3685f2;
background-color: #242640; background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
} }
.bi-theme-dark .bi-list-item-active2.active .bi-input, .bi-theme-dark .bi-list-item-active2:active .bi-input,
.bi-theme-dark .bi-list-item-active2:active .bi-input { .bi-theme-dark .bi-list-item-active2.active .bi-input {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.active .bi-textarea, .bi-theme-dark .bi-list-item-active2:active .bi-textarea,
.bi-theme-dark .bi-list-item-active2:active .bi-textarea { .bi-theme-dark .bi-list-item-active2.active .bi-textarea {
color: #3685f2; color: #3685f2;
} }
.bi-theme-dark .bi-list-item-active2.disabled, .bi-theme-dark .bi-list-item-active2.disabled,
@ -667,104 +651,6 @@ textarea {
.bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light { .bi-theme-dark .bi-list-item-active2.disabled:active .bi-high-light {
color: #878d9f !important; color: #878d9f !important;
} }
.bi-list-item-active3:hover,
.bi-list-item-active3.hover {
color: #232e40;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:hover .bi-input,
.bi-list-item-active3.hover .bi-input {
color: #232e40;
}
.bi-list-item-active3:hover .bi-textarea,
.bi-list-item-active3.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-active3:active,
.bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-list-item-active3:active .bi-input,
.bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-list-item-active3:active .bi-textarea,
.bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-active3.disabled,
.bi-list-item-active3.disabled:hover,
.bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-input,
.bi-list-item-active3.disabled:hover .bi-input,
.bi-list-item-active3.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-textarea,
.bi-list-item-active3.disabled:hover .bi-textarea,
.bi-list-item-active3.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-active3.disabled .bi-high-light,
.bi-list-item-active3.disabled:hover .bi-high-light,
.bi-list-item-active3.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-active3:hover,
.bi-theme-dark .bi-list-item-active3.hover {
color: #ffffff;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-active3:active,
.bi-theme-dark .bi-list-item-active3.active {
color: #3685f2;
background-color: rgba(54, 133, 242, 0.06);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f3685f2,endColorstr=#0f3685f2);
}
.bi-theme-dark .bi-list-item-active3:active .bi-input,
.bi-theme-dark .bi-list-item-active3.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3:active .bi-textarea,
.bi-theme-dark .bi-list-item-active3.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-active3.disabled,
.bi-theme-dark .bi-list-item-active3.disabled:hover,
.bi-theme-dark .bi-list-item-active3.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-active3.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-active3.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select:hover, .bi-list-item-select:hover,
.bi-list-item-select.hover { .bi-list-item-select.hover {
background-color: rgba(54, 133, 242, 0.06); background-color: rgba(54, 133, 242, 0.06);
@ -904,29 +790,134 @@ textarea {
} }
.bi-list-item-select2:hover, .bi-list-item-select2:hover,
.bi-list-item-select2.hover { .bi-list-item-select2.hover {
background-color: #f7f8fa; color: #232e40;
}
.bi-list-item-select2:hover .bi-input,
.bi-list-item-select2.hover .bi-input {
color: #232e40;
}
.bi-list-item-select2:hover .bi-textarea,
.bi-list-item-select2.hover .bi-textarea {
color: #232e40;
}
.bi-list-item-select2:hover.bi-border,
.bi-list-item-select2.hover.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2:active {
color: #3685f2;
}
.bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active.bi-border {
border-color: #3685f2;
} }
.bi-list-item-select2:active,
.bi-list-item-select2.active { .bi-list-item-select2.active {
color: #ffffff; color: #ffffff;
background-color: #f7f8fa; background-color: #3685f2;
} }
.bi-list-item-select2:active .bi-input,
.bi-list-item-select2.active .bi-input { .bi-list-item-select2.active .bi-input {
color: #3685f2; color: #ffffff;
} }
.bi-list-item-select2:active .bi-textarea,
.bi-list-item-select2.active .bi-textarea { .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select2:active .bi-high-light,
.bi-list-item-select2.active .bi-high-light {
color: #ffffff; color: #ffffff;
} }
.bi-list-item-select2.active.bi-border {
border-color: #3685f2;
}
.bi-list-item-select2.disabled,
.bi-list-item-select2.disabled:hover, .bi-list-item-select2.disabled:hover,
.bi-list-item-select2.disabled.hover, .bi-list-item-select2.disabled:active {
.bi-list-item-select2.disabled:active, background-color: transparent !important;
.bi-list-item-select2.disabled.active { color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-input,
.bi-list-item-select2.disabled:hover .bi-input,
.bi-list-item-select2.disabled:active .bi-input {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-textarea,
.bi-list-item-select2.disabled:hover .bi-textarea,
.bi-list-item-select2.disabled:active .bi-textarea {
color: #9ea6b2 !important;
}
.bi-list-item-select2.disabled .bi-high-light,
.bi-list-item-select2.disabled:hover .bi-high-light,
.bi-list-item-select2.disabled:active .bi-high-light {
color: #9ea6b2 !important;
}
.bi-theme-dark .bi-list-item-select2:hover,
.bi-theme-dark .bi-list-item-select2.hover {
color: #ffffff;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.hover .bi-input {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff;
}
.bi-theme-dark .bi-list-item-select2.active,
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
background-color: #242640;
}
.bi-theme-dark .bi-list-item-select2.active .bi-input,
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea,
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active {
background-color: transparent !important;
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-input,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-input {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-textarea,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-textarea {
color: #878d9f !important;
}
.bi-theme-dark .bi-list-item-select2.disabled .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:hover .bi-high-light,
.bi-theme-dark .bi-list-item-select2.disabled:active .bi-high-light {
color: #878d9f !important;
}
.bi-list-item-select3:hover,
.bi-list-item-select3.hover {
background-color: #f7f8fa;
}
.bi-list-item-select3:active,
.bi-list-item-select3.active {
color: #3685f2;
background-color: #f7f8fa;
}
.bi-list-item-select3:active .bi-input,
.bi-list-item-select3.active .bi-input {
color: #3685f2;
}
.bi-list-item-select3:active .bi-textarea,
.bi-list-item-select3.active .bi-textarea {
color: #3685f2;
}
.bi-list-item-select3.disabled:hover,
.bi-list-item-select3.disabled.hover,
.bi-list-item-select3.disabled:active,
.bi-list-item-select3.disabled.active {
background-color: #ffffff !important; background-color: #ffffff !important;
} }
.bi-theme-dark .bi-list-item-select:hover, .bi-theme-dark .bi-list-item-select:hover,

62
src/css/resource/background.css

@ -39,41 +39,89 @@
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('images/1x/icon/check_box_normal.png') no-repeat center center; background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('images/1x/icon/check_box_active.png') no-repeat center center; background: url('images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('images/1x/icon/half_selected.png') no-repeat center center; background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
_background: none; _background: none;

6
src/css/widget/multiselect/multiselect.css

@ -13,8 +13,7 @@
.bi-multi-select-combo.combo-show .trigger-down { .bi-multi-select-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-combo.bi-combo-popup:focus > .bi-multi-select-trigger, .bi-multi-select-combo .bi-combo-hover > .bi-border {
.bi-combo.bi-combo-popup:hover > .bi-multi-select-trigger {
border-color: #3685f2; border-color: #3685f2;
} }
@ -33,6 +32,9 @@
.bi-multi-select-insert-combo.combo-show .trigger-down { .bi-multi-select-insert-combo.combo-show .trigger-down {
display: none; display: none;
} }
.bi-multi-select-insert-combo .bi-combo-hover > .bi-border {
border-color: #3685f2;
}
.bi-multi-select-trigger { .bi-multi-select-trigger {

3
src/css/widget/singleselect/multiselect.css

@ -14,6 +14,7 @@
display: none; display: none;
} }
.bi-combo.bi-combo-popup:focus > .bi-single-select-trigger, .bi-combo.bi-combo-popup:focus > .bi-single-select-trigger,
.bi-combo.bi-combo-popup:hover > .bi-single-select-trigger { .bi-combo.bi-combo-popup:hover > .bi-single-select-trigger,
.bi-combo.bi-combo-popup:focus-within > .bi-single-select-trigger {
border-color: #3685f2; border-color: #3685f2;
} }

18
src/css/widget/singleselect/singleselect.css

@ -0,0 +1,18 @@
.bi-single-select-combo .single-select-trigger-icon-button {
font-size: 16px;
}
.bi-single-select-combo .trigger-up {
display: none;
}
.bi-single-select-combo .trigger-down {
display: block;
}
.bi-single-select-combo.combo-show .trigger-up {
display: block;
}
.bi-single-select-combo.combo-show .trigger-down {
display: none;
}
.bi-single-select-combo .bi-combo-hover > .bi-border {
border-color: #3685f2;
}

6
src/less/base/combo/combo.less

@ -3,8 +3,10 @@
&.bi-combo-popup { &.bi-combo-popup {
display: block !important; display: block !important;
visibility: visible !important; visibility: visible !important;
&:focus, &:focus-within { }
.box-shadow(0 0 5px 2px, @color-bi-blue-20); &.bi-combo-popup, &.bi-combo-hover, &:hover {
& > .bi-border {
border-color: @color-bi-border-highlight;
} }
} }
} }

6
src/less/base/combo/combo.searchtextvalue.less

@ -25,11 +25,9 @@
display: none; display: none;
} }
} }
}
.bi-combo { & .bi-combo-hover {
&.bi-combo-popup, &:hover{ & > .bi-border {
& > .bi-search-text-value-trigger {
border-color: @color-bi-border-highlight; border-color: @color-bi-border-highlight;
} }
} }

5
src/less/base/combo/combo.static.less

@ -0,0 +1,5 @@
@import "../../index";
.bi-static-combo {
}

12
src/less/base/combo/combo.textvalue.less

@ -1,19 +1,11 @@
@import "../../index"; @import "../../index";
.bi-text-value-combo{ .bi-text-value-combo {
&.combo-error { &.combo-error {
& .bi-select-text-trigger { & .bi-select-text-trigger {
& .select-text-label{ & .select-text-label {
color: @color-bi-text-failure; color: @color-bi-text-failure;
} }
} }
} }
} }
.bi-combo {
&.bi-combo-popup, &:hover{
& > .bi-select-text-trigger {
border-color: @color-bi-border-highlight;
}
}
}

9
src/less/base/combo/combo.textvaluecheck.less

@ -0,0 +1,9 @@
@import "../../index";
.bi-text-value-check-combo {
&.bi-combo-popup, &:hover {
& > .bi-border {
border-color: @color-bi-border-highlight;
}
}
}

9
src/less/base/combo/combo.textvaluedownlist.less

@ -0,0 +1,9 @@
@import "../../index";
.bi-text-value-down-list-combo {
&.bi-combo-popup, &:hover {
& > .bi-border {
border-color: @color-bi-border-highlight;
}
}
}

209
src/less/core/utils/common.less

@ -42,11 +42,7 @@ textarea {
} }
.bi-focus-shadow { .bi-focus-shadow {
&:focus-within, &:focus { &:focus-within, &:focus, &:hover {
border-color: @color-bi-border-highlight;
.box-shadow(0 0 5px 2px, @color-bi-blue-20);
}
&:hover {
border-color: @color-bi-border-highlight; border-color: @color-bi-border-highlight;
} }
} }
@ -586,104 +582,8 @@ textarea {
} }
} }
//文字和背景hover和active时变化 hover和点击时边框变化,active后背景和边框变化
.bi-list-item-active2 {
&:hover, &.hover {
color: @color-bi-text-black;
& .bi-input {
color: @color-bi-text-black;
}
& .bi-textarea {
color: @color-bi-text-black;
}
&.bi-border {
border-color: @color-bi-border-highlight;
}
}
&:active {
color: @color-bi-text-highlight;
& .bi-input {
color: @color-bi-text-highlight;
}
& .bi-textarea {
color: @color-bi-text-highlight;
}
&.bi-border {
border-color: @color-bi-border-highlight;
}
}
&.active {
color: @color-bi-text;
& .bi-input {
color: @color-bi-text;
}
& .bi-textarea {
color: @color-bi-text;
}
&.bi-border {
border-color: @color-bi-border-highlight;
}
background-color: @color-bi-background-highlight;
}
&.disabled {
&, &:hover, &:active {
background-color: transparent !important;
color: @color-bi-text-disabled !important;
& .bi-input {
color: @color-bi-text-disabled !important;
}
& .bi-textarea {
color: @color-bi-text-disabled !important;
}
& .bi-high-light {
color: @color-bi-text-disabled !important;
}
}
}
}
.bi-theme-dark {
.bi-list-item-active2 {
&:hover, &.hover {
color: @color-bi-text;
& .bi-input {
color: @color-bi-text;
}
& .bi-textarea {
color: @color-bi-text;
}
background-color: @color-bi-background-default-theme-dark;
}
&.active, &:active {
color: @color-bi-text-highlight;
& .bi-input {
color: @color-bi-text-highlight;
}
& .bi-textarea {
color: @color-bi-text-highlight;
}
background-color: @color-bi-background-default-theme-dark;
}
&.disabled {
&, &:hover, &:active {
background-color: transparent !important;
color: @color-bi-text-disabled-theme-dark !important;
& .bi-input {
color: @color-bi-text-disabled-theme-dark !important;
}
& .bi-textarea {
color: @color-bi-text-disabled-theme-dark !important;
}
& .bi-high-light {
color: @color-bi-text-disabled-theme-dark !important;
}
}
}
}
}
//文字和背景hover和active时变化 hover //文字和背景hover和active时变化 hover
.bi-list-item-active3 { .bi-list-item-active2 {
&:hover, &.hover { &:hover, &.hover {
color: @color-bi-text-black; color: @color-bi-text-black;
& .bi-input { & .bi-input {
@ -722,7 +622,7 @@ textarea {
} }
.bi-theme-dark { .bi-theme-dark {
.bi-list-item-active3 { .bi-list-item-active2 {
&:hover, &.hover { &:hover, &.hover {
color: @color-bi-text; color: @color-bi-text;
& .bi-input { & .bi-input {
@ -880,13 +780,109 @@ textarea {
} }
} }
//与bi-list-item-select的区别是背景是灰的 //文字和背景hover和active时变化 hover和点击时边框变化,active后背景和边框变化
.bi-list-item-select2 { .bi-list-item-select2 {
&:hover, &.hover {
color: @color-bi-text-black;
& .bi-input {
color: @color-bi-text-black;
}
& .bi-textarea {
color: @color-bi-text-black;
}
&.bi-border {
border-color: @color-bi-border-highlight;
}
}
&:active {
color: @color-bi-text-highlight;
& .bi-input {
color: @color-bi-text-highlight;
}
& .bi-textarea {
color: @color-bi-text-highlight;
}
&.bi-border {
border-color: @color-bi-border-highlight;
}
}
&.active {
color: @color-bi-text;
& .bi-input {
color: @color-bi-text;
}
& .bi-textarea {
color: @color-bi-text;
}
&.bi-border {
border-color: @color-bi-border-highlight;
}
background-color: @color-bi-background-highlight;
}
&.disabled {
&, &:hover, &:active {
background-color: transparent !important;
color: @color-bi-text-disabled !important;
& .bi-input {
color: @color-bi-text-disabled !important;
}
& .bi-textarea {
color: @color-bi-text-disabled !important;
}
& .bi-high-light {
color: @color-bi-text-disabled !important;
}
}
}
}
.bi-theme-dark {
.bi-list-item-select2 {
&:hover, &.hover {
color: @color-bi-text;
& .bi-input {
color: @color-bi-text;
}
& .bi-textarea {
color: @color-bi-text;
}
background-color: @color-bi-background-default-theme-dark;
}
&.active, &:active {
color: @color-bi-text-highlight;
& .bi-input {
color: @color-bi-text-highlight;
}
& .bi-textarea {
color: @color-bi-text-highlight;
}
background-color: @color-bi-background-default-theme-dark;
}
&.disabled {
&, &:hover, &:active {
background-color: transparent !important;
color: @color-bi-text-disabled-theme-dark !important;
& .bi-input {
color: @color-bi-text-disabled-theme-dark !important;
}
& .bi-textarea {
color: @color-bi-text-disabled-theme-dark !important;
}
& .bi-high-light {
color: @color-bi-text-disabled-theme-dark !important;
}
}
}
}
}
//与bi-list-item-select的区别是背景是灰的
.bi-list-item-select3 {
&:hover, &.hover { &:hover, &.hover {
background-color: @color-bi-background-normal; background-color: @color-bi-background-normal;
} }
&:active, &.active { &:active, &.active {
color: @color-bi-text; color: @color-bi-text-highlight;
& .bi-input { & .bi-input {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
} }
@ -894,9 +890,6 @@ textarea {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
} }
background-color: @color-bi-background-normal; background-color: @color-bi-background-normal;
& .bi-high-light {
color: @color-bi-text;
}
} }
&.disabled { &.disabled {
&:hover, &.hover, &:active, &.active { &:hover, &.hover, &:active, &.active {

46
src/less/resource/background.less

@ -39,34 +39,66 @@
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
.imagePath(@icon-checkbox-normal); .image2xPath(@icon-checkbox-normal);
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree li span.button.chk.checkbox_false_full_focus {
.imagePath(@icon-checkbox-normal); .image2xPath(@icon-checkbox-normal);
} }
.ztree li span.button.chk.checkbox_false_part { .ztree li span.button.chk.checkbox_false_part {
.imagePath(@icon-half-select); .image2xPath(@icon-half-select);
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree li span.button.chk.checkbox_false_part_focus {
.imagePath(@icon-half-select); .image2xPath(@icon-half-select);
} }
.ztree li span.button.chk.checkbox_true_full { .ztree li span.button.chk.checkbox_true_full {
.imagePath(@icon-checkbox-active); .image2xPath(@icon-checkbox-active);
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree li span.button.chk.checkbox_true_full_focus {
.imagePath(@icon-checkbox-active); .image2xPath(@icon-checkbox-active);
} }
.ztree li span.button.chk.checkbox_true_part { .ztree li span.button.chk.checkbox_true_part {
.imagePath(@icon-half-select); .image2xPath(@icon-half-select);
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree li span.button.chk.checkbox_true_part_focus {
.image2xPath(@icon-half-select);
}
.ztree.hack li span.button.chk.checkbox_false_full {
.imagePath(@icon-checkbox-normal);
}
.ztree.hack li span.button.chk.checkbox_false_full_focus {
.imagePath(@icon-checkbox-normal);
}
.ztree.hack li span.button.chk.checkbox_false_part {
.imagePath(@icon-half-select);
}
.ztree.hack li span.button.chk.checkbox_false_part_focus {
.imagePath(@icon-half-select);
}
.ztree.hack li span.button.chk.checkbox_true_full {
.imagePath(@icon-checkbox-active);
}
.ztree.hack li span.button.chk.checkbox_true_full_focus {
.imagePath(@icon-checkbox-active);
}
.ztree.hack li span.button.chk.checkbox_true_part {
.imagePath(@icon-half-select);
}
.ztree.hack li span.button.chk.checkbox_true_part_focus {
.imagePath(@icon-half-select); .imagePath(@icon-half-select);
} }

12
src/less/visual.less

@ -199,7 +199,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-135deg); transform: rotate(-135deg);
.box-shadow(1px 1px 1px 0, fade(#232E40, 20)); border-bottom: 1px solid #f2f4f7;
border-right: 1px solid #f2f4f7;
} }
} }
@ -217,7 +218,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(45deg); transform: rotate(45deg);
.box-shadow(1px 1px 1px 0, fade(#232E40, 20)); border-bottom: 1px solid #f2f4f7;
border-right: 1px solid #f2f4f7;
} }
} }
@ -236,7 +238,8 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(135deg); transform: rotate(135deg);
.box-shadow(1px 1px 1px 0, fade(#232E40, 20)); border-bottom: 1px solid #f2f4f7;
border-right: 1px solid #f2f4f7;
} }
} }
@ -254,6 +257,7 @@
content: ""; content: "";
background-color: #ffffff; background-color: #ffffff;
transform: rotate(-45deg); transform: rotate(-45deg);
.box-shadow(1px 1px 1px 0, fade(#232E40, 20)); border-bottom: 1px solid #f2f4f7;
border-right: 1px solid #f2f4f7;
} }
} }

11
src/less/widget/multiselect/multiselect.combo.less

@ -18,14 +18,9 @@
display: none; display: none;
} }
} }
} & .bi-combo-hover {
& > .bi-border {
.bi-combo { border-color: @color-bi-border-highlight;
&.bi-combo-popup {
&:focus, &:hover {
& > .bi-multi-select-trigger {
border-color: @color-bi-border-highlight;
}
} }
} }
} }

6
src/less/widget/multiselect/multiselect.insert.combo.less

@ -18,4 +18,10 @@
display: none; display: none;
} }
} }
& .bi-combo-hover {
& > .bi-border {
border-color: @color-bi-border-highlight;
}
}
} }

11
src/less/widget/singleselect/multiselect.combo.less → src/less/widget/singleselect/singleselect.combo.less

@ -18,14 +18,9 @@
display: none; display: none;
} }
} }
} & .bi-combo-hover {
& > .bi-border {
.bi-combo { border-color: @color-bi-border-highlight;
&.bi-combo-popup {
&:focus, &:hover {
& > .bi-single-select-trigger {
border-color: @color-bi-border-highlight;
}
} }
} }
} }

6
src/widget/dynamicdate/dynamicdate.combo.js

@ -9,7 +9,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow",
height: 24 height: 24
}, },
@ -248,6 +248,10 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
} }
}, },
_defaultState: function () {
},
setValue: function (v) { setValue: function (v) {
this.storeValue = v; this.storeValue = v;
this.trigger.setValue(v); this.trigger.setValue(v);

2
src/widget/dynamicdatetime/dynamicdatetime.combo.js

@ -9,7 +9,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow",
height: 24 height: 24
}, },

5
src/widget/multilayerselecttree/multilayerselecttree.combo.js

@ -11,7 +11,10 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
height: 24, height: 24,
text: "", text: "",
items: [], items: [],
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },

5
src/widget/multilayersingletree/multilayersingletree.combo.js

@ -15,7 +15,10 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
text: "", text: "",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
items: [], items: [],
value: "" value: "",
attributes: {
tabIndex: 0
}
}); });
}, },

5
src/widget/multiselect/multiselect.combo.js

@ -10,7 +10,10 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-combo", baseCls: "bi-multi-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },

5
src/widget/multiselect/multiselect.insert.combo.js

@ -10,7 +10,10 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },

5
src/widget/multiselect/multiselect.insert.combo.nobar.js

@ -10,7 +10,10 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
baseCls: "bi-multi-select-insert-combo", baseCls: "bi-multi-select-insert-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },

4
src/widget/numbereditor/number.editor.js

@ -42,7 +42,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button", type: "bi.icon_button",
forceNotSelected: true, forceNotSelected: true,
trigger: "lclick,", trigger: "lclick,",
cls: "add-up-font top-button bi-border-left bi-list-item-active3 icon-size-12" cls: "add-up-font top-button bi-border-left bi-list-item-active2 icon-size-12"
}); });
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(o.step); self._finetuning(o.step);
@ -53,7 +53,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
type: "bi.icon_button", type: "bi.icon_button",
trigger: "lclick,", trigger: "lclick,",
forceNotSelected: true, forceNotSelected: true,
cls: "minus-down-font bottom-button bi-border-left bi-list-item-active3 icon-size-12" cls: "minus-down-font bottom-button bi-border-left bi-list-item-active2 icon-size-12"
}); });
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () {
self._finetuning(-o.step); self._finetuning(-o.step);

5
src/widget/singleselect/singleselect.combo.js

@ -10,7 +10,10 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },

5
src/widget/singleselect/singleselect.insert.combo.js

@ -10,7 +10,10 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
baseCls: "bi-single-select-combo", baseCls: "bi-single-select-combo",
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn, valueFormatter: BI.emptyFn,
height: 24 height: 24,
attributes: {
tabIndex: 0
}
}); });
}, },

2
src/widget/singleslider/button/iconbutton.slider.js

@ -25,7 +25,7 @@ BI.SliderIconButton = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.text_button", type: "bi.text_button",
forceNotSelected: true, forceNotSelected: true,
cls: "slider-button bi-list-item-select2", cls: "slider-button bi-list-item-select3",
ref: function () { ref: function () {
self.slider = this; self.slider = this;
} }

2
src/widget/year/combo.year.js

@ -1,7 +1,7 @@
BI.DynamicYearCombo = BI.inherit(BI.Widget, { BI.DynamicYearCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-year-combo bi-border", baseCls: "bi-year-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期

2
src/widget/yearmonth/combo.yearmonth.js

@ -1,7 +1,7 @@
BI.DynamicYearMonthCombo = BI.inherit(BI.Single, { BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
props: { props: {
baseCls: "bi-year-month-combo bi-border", baseCls: "bi-year-month-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期

2
src/widget/yearquarter/combo.yearquarter.js

@ -1,7 +1,7 @@
BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-year-quarter-combo bi-border", baseCls: "bi-year-quarter-combo bi-border bi-focus-shadow",
behaviors: {}, behaviors: {},
min: "1900-01-01", // 最小日期 min: "1900-01-01", // 最小日期
max: "2099-12-31", // 最大日期 max: "2099-12-31", // 最大日期

62
ui/css/background.css

@ -39,41 +39,89 @@
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full { .ztree li span.button.chk.checkbox_false_full {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_full_focus {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_false_part_focus {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_full_focus {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/check_box_active.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree li span.button.chk.checkbox_true_part_focus {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png');
background-size: contain;
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_full {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_full_focus { .ztree.hack li span.button.chk.checkbox_false_full_focus {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part { .ztree.hack li span.button.chk.checkbox_false_part {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_false_part_focus { .ztree.hack li span.button.chk.checkbox_false_part_focus {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full { .ztree.hack li span.button.chk.checkbox_true_full {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_full_focus { .ztree.hack li span.button.chk.checkbox_true_full_focus {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_active.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part { .ztree.hack li span.button.chk.checkbox_true_part {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png');
_background: none; _background: none;
} }
.ztree li span.button.chk.checkbox_true_part_focus { .ztree.hack li span.button.chk.checkbox_true_part_focus {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center; background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png'); _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png');
_background: none; _background: none;

Loading…
Cancel
Save