Browse Source

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

* commit '55bee11ef154342e7f73033e149709b73d45da4a':
  无JIRA任务 颜色改一改间距设一设
  update
  无JIRA任务 字体改一下
es6
imp 6 years ago
parent
commit
1647ac9a82
  1. 8
      dist/base.js
  2. 48
      dist/bundle.css
  3. 32
      dist/bundle.js
  4. 2
      dist/bundle.min.css
  5. 38
      dist/bundle.min.js
  6. 8
      dist/case.js
  7. 30
      dist/core.css
  8. 30
      dist/core_without_normalize.css
  9. 48
      dist/fineui.css
  10. 32
      dist/fineui.js
  11. 2
      dist/fineui.min.css
  12. 38
      dist/fineui.min.js
  13. 2
      dist/resource.css
  14. 2
      dist/utils.min.js
  15. 16
      dist/widget.css
  16. 16
      dist/widget.js
  17. 2
      public/css/app.css
  18. 8
      src/base/single/tip/tip.tooltip.js
  19. 2
      src/case/layer/layer.panel.js
  20. 6
      src/case/trigger/trigger.icon.text.js
  21. 30
      src/css/core/utils/common.css
  22. 2
      src/css/resource/app.css
  23. 16
      src/css/widget/singleslider/track/widget.css
  24. 37
      src/less/core/utils/common.less
  25. 8
      src/less/lib/colors.less
  26. 3
      src/less/lib/constant.less
  27. 2
      src/less/resource/app.less
  28. 17
      src/less/widget/singleslider/track/widget.track.less
  29. 2
      src/widget/dynamicdate/dynamicdate.combo.js
  30. 5
      src/widget/multiselect/multiselect.loader.js
  31. 5
      src/widget/multiselect/search/multiselect.search.loader.js
  32. 2
      src/widget/timeinterval/dateinterval.js
  33. 2
      src/widget/timeinterval/timeinterval.js
  34. 2
      ui/css/app.css

8
dist/base.js vendored

@ -10767,7 +10767,8 @@ BI.shortcut("bi.toast", BI.Toast);/**
*/ */
BI.Tooltip = BI.inherit(BI.Tip, { BI.Tooltip = BI.inherit(BI.Tip, {
_const: { _const: {
hgap: 10 hgap: 5,
vgap: 3
}, },
_defaultConfig: function () { _defaultConfig: function () {
@ -10821,8 +10822,9 @@ BI.Tooltip = BI.inherit(BI.Tip, {
textAlign: "left", textAlign: "left",
whiteSpace: "normal", whiteSpace: "normal",
text: o.text, text: o.text,
textHeight: 20, textHeight: 16,
hgap: this._const.hgap hgap: this._const.hgap,
vgap: this._const.vgap
}); });
} }
}, },

48
dist/bundle.css vendored

@ -360,23 +360,23 @@ textarea {
} }
.bi-header-background { .bi-header-background {
background-color: #F2F4F7; background-color: #F2F4F7;
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-input { .bi-header-background .bi-input {
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-textarea { .bi-header-background .bi-textarea {
color: #3d4d66; color: #647185;
} }
.bi-theme-dark .bi-header-background { .bi-theme-dark .bi-header-background {
background-color: #2F3149; background-color: #2F3149;
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-input { .bi-theme-dark .bi-header-background .bi-input {
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-textarea { .bi-theme-dark .bi-header-background .bi-textarea {
color: #d6e0dc; color: #afb7c6;
} }
.bi-card { .bi-card {
background-color: #ffffff; background-color: #ffffff;
@ -437,6 +437,24 @@ textarea {
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #2F3149; border: 1px solid #2F3149;
} }
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-arial {
font-family: Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-PingFang {
font-family: "PingFang SC", "Helvetica Neue", Arial, "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-hiragino-sans {
font-family: "Hiragino Sans GB", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", Heiti, serif;
}
.bi-font-microsoft-yaHei {
font-family: "Microsoft YaHei", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", Heiti, serif;
}
.bi-font-heiti {
font-family: Heiti, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
}
.bi-border-radius { .bi-border-radius {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -3714,7 +3732,8 @@ ul.ztree.zTreeDragUL {
left: -8px; left: -8px;
} }
.bi-slider-track .gray-track { .bi-slider-track .gray-track {
background-color: #F2F4F7; background-color: rgba(61, 77, 102, 0.1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1a3d4d66,endColorstr=#1a3d4d66);
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
@ -3730,6 +3749,19 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
} }
.bi-theme-dark .bi-slider-track .gray-track {
background-color: rgba(214, 224, 220, 0.1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1ad6e0dc,endColorstr=#1ad6e0dc);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.bi-theme-dark .bi-slider-track .disabled-blue-track {
background-color: #606479;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.bi-date-interval.time-error .bi-input { .bi-date-interval.time-error .bi-input {
color: #ff4949; color: #ff4949;
} }
@ -3793,7 +3825,7 @@ body {
-o-user-select: none; -o-user-select: none;
user-select: none; user-select: none;
color: #3d4d66; color: #3d4d66;
font: normal 12px "Microsoft YaHei", "Hiragino Sans GB W3"; font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none; text-decoration: none;

32
dist/bundle.js vendored

@ -46042,7 +46042,8 @@ BI.shortcut("bi.toast", BI.Toast);/**
*/ */
BI.Tooltip = BI.inherit(BI.Tip, { BI.Tooltip = BI.inherit(BI.Tip, {
_const: { _const: {
hgap: 10 hgap: 5,
vgap: 3
}, },
_defaultConfig: function () { _defaultConfig: function () {
@ -46096,8 +46097,9 @@ BI.Tooltip = BI.inherit(BI.Tip, {
textAlign: "left", textAlign: "left",
whiteSpace: "normal", whiteSpace: "normal",
text: o.text, text: o.text,
textHeight: 20, textHeight: 16,
hgap: this._const.hgap hgap: this._const.hgap,
vgap: this._const.vgap
}); });
} }
}, },
@ -55529,7 +55531,7 @@ BI.PopupPanel = BI.inherit(BI.MultiPopupView, {
}); });
return BI.createWidget({ return BI.createWidget({
type: "bi.htape", type: "bi.htape",
cls: "popup-panel-title bi-header-background bi-border", cls: "popup-panel-title bi-header-background",
height: 25, height: 25,
items: [{ items: [{
el: { el: {
@ -58072,7 +58074,8 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, {
width: BI.isEmptyString(o.iconCls) ? 0 : (o.iconWrapperWidth || o.height) width: BI.isEmptyString(o.iconCls) ? 0 : (o.iconWrapperWidth || o.height)
}, },
{ {
el: this.text el: this.text,
lgap: BI.isEmptyString(o.iconCls) ? 5 : 0
}, { }, {
el: this.trigerButton, el: this.trigerButton,
width: o.triggerWidth || o.height width: o.triggerWidth || o.height
@ -58089,14 +58092,17 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, {
var o = this.options; var o = this.options;
this.icon.setIcon(iconCls); this.icon.setIcon(iconCls);
var iconItem = this.wrapper.attr("items")[0]; var iconItem = this.wrapper.attr("items")[0];
var textItem = this.wrapper.attr("items")[1];
if(BI.isNull(iconCls) || BI.isEmptyString(iconCls)) { if(BI.isNull(iconCls) || BI.isEmptyString(iconCls)) {
if(iconItem.width !== 0) { if(iconItem.width !== 0) {
iconItem.width = 0; iconItem.width = 0;
textItem.lgap = 5;
this.wrapper.resize(); this.wrapper.resize();
} }
}else{ }else{
if(iconItem.width !== (o.iconWrapperWidth || o.height)) { if(iconItem.width !== (o.iconWrapperWidth || o.height)) {
iconItem.width = (o.iconWrapperWidth || o.height); iconItem.width = (o.iconWrapperWidth || o.height);
textItem.lgap = 0;
this.wrapper.resize(); this.wrapper.resize();
} }
} }
@ -61274,7 +61280,7 @@ BI.extend(BI.DynamicDateCard, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow bi-border-radius",
height: 22 height: 22
}, },
@ -67898,6 +67904,11 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
logic: opts.logic, logic: opts.logic,
toolbar: {
type: "bi.multi_select_bar",
cls: "bi-list-item-active",
iconWrapperWidth: 36
},
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
el: { el: {
@ -68692,6 +68703,11 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
this.storeValue = BI.deepClone(opts.value); this.storeValue = BI.deepClone(opts.value);
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
toolbar: {
type: "bi.multi_select_bar",
cls: "bi-list-item-active",
iconWrapperWidth: 36
},
element: this, element: this,
logic: { logic: {
dynamic: false dynamic: false
@ -77146,7 +77162,7 @@ BI.DateInterval = BI.inherit(BI.Single, {
BI.createWidget({ BI.createWidget({
element: self, element: self,
type: "bi.center", type: "bi.center",
hgap: 15, hgap: 10,
height: this.constants.height, height: this.constants.height,
items: [{ items: [{
type: "bi.absolute", type: "bi.absolute",
@ -77326,7 +77342,7 @@ BI.TimeInterval = BI.inherit(BI.Single, {
BI.createWidget({ BI.createWidget({
element: self, element: self,
type: "bi.center", type: "bi.center",
hgap: 15, hgap: 10,
height: this.constants.height, height: this.constants.height,
items: [{ items: [{
type: "bi.absolute", type: "bi.absolute",

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

38
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/case.js vendored

@ -6897,7 +6897,7 @@ BI.PopupPanel = BI.inherit(BI.MultiPopupView, {
}); });
return BI.createWidget({ return BI.createWidget({
type: "bi.htape", type: "bi.htape",
cls: "popup-panel-title bi-header-background bi-border", cls: "popup-panel-title bi-header-background",
height: 25, height: 25,
items: [{ items: [{
el: { el: {
@ -9440,7 +9440,8 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, {
width: BI.isEmptyString(o.iconCls) ? 0 : (o.iconWrapperWidth || o.height) width: BI.isEmptyString(o.iconCls) ? 0 : (o.iconWrapperWidth || o.height)
}, },
{ {
el: this.text el: this.text,
lgap: BI.isEmptyString(o.iconCls) ? 5 : 0
}, { }, {
el: this.trigerButton, el: this.trigerButton,
width: o.triggerWidth || o.height width: o.triggerWidth || o.height
@ -9457,14 +9458,17 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, {
var o = this.options; var o = this.options;
this.icon.setIcon(iconCls); this.icon.setIcon(iconCls);
var iconItem = this.wrapper.attr("items")[0]; var iconItem = this.wrapper.attr("items")[0];
var textItem = this.wrapper.attr("items")[1];
if(BI.isNull(iconCls) || BI.isEmptyString(iconCls)) { if(BI.isNull(iconCls) || BI.isEmptyString(iconCls)) {
if(iconItem.width !== 0) { if(iconItem.width !== 0) {
iconItem.width = 0; iconItem.width = 0;
textItem.lgap = 5;
this.wrapper.resize(); this.wrapper.resize();
} }
}else{ }else{
if(iconItem.width !== (o.iconWrapperWidth || o.height)) { if(iconItem.width !== (o.iconWrapperWidth || o.height)) {
iconItem.width = (o.iconWrapperWidth || o.height); iconItem.width = (o.iconWrapperWidth || o.height);
textItem.lgap = 0;
this.wrapper.resize(); this.wrapper.resize();
} }
} }

30
dist/core.css vendored

@ -360,23 +360,23 @@ textarea {
} }
.bi-header-background { .bi-header-background {
background-color: #F2F4F7; background-color: #F2F4F7;
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-input { .bi-header-background .bi-input {
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-textarea { .bi-header-background .bi-textarea {
color: #3d4d66; color: #647185;
} }
.bi-theme-dark .bi-header-background { .bi-theme-dark .bi-header-background {
background-color: #2F3149; background-color: #2F3149;
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-input { .bi-theme-dark .bi-header-background .bi-input {
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-textarea { .bi-theme-dark .bi-header-background .bi-textarea {
color: #d6e0dc; color: #afb7c6;
} }
.bi-card { .bi-card {
background-color: #ffffff; background-color: #ffffff;
@ -437,6 +437,24 @@ textarea {
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #2F3149; border: 1px solid #2F3149;
} }
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-arial {
font-family: Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-PingFang {
font-family: "PingFang SC", "Helvetica Neue", Arial, "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-hiragino-sans {
font-family: "Hiragino Sans GB", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", Heiti, serif;
}
.bi-font-microsoft-yaHei {
font-family: "Microsoft YaHei", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", Heiti, serif;
}
.bi-font-heiti {
font-family: Heiti, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
}
.bi-border-radius { .bi-border-radius {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;

30
dist/core_without_normalize.css vendored

@ -79,23 +79,23 @@ textarea {
} }
.bi-header-background { .bi-header-background {
background-color: #F2F4F7; background-color: #F2F4F7;
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-input { .bi-header-background .bi-input {
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-textarea { .bi-header-background .bi-textarea {
color: #3d4d66; color: #647185;
} }
.bi-theme-dark .bi-header-background { .bi-theme-dark .bi-header-background {
background-color: #2F3149; background-color: #2F3149;
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-input { .bi-theme-dark .bi-header-background .bi-input {
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-textarea { .bi-theme-dark .bi-header-background .bi-textarea {
color: #d6e0dc; color: #afb7c6;
} }
.bi-card { .bi-card {
background-color: #ffffff; background-color: #ffffff;
@ -156,6 +156,24 @@ textarea {
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #2F3149; border: 1px solid #2F3149;
} }
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-arial {
font-family: Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-PingFang {
font-family: "PingFang SC", "Helvetica Neue", Arial, "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-hiragino-sans {
font-family: "Hiragino Sans GB", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", Heiti, serif;
}
.bi-font-microsoft-yaHei {
font-family: "Microsoft YaHei", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", Heiti, serif;
}
.bi-font-heiti {
font-family: Heiti, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
}
.bi-border-radius { .bi-border-radius {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;

48
dist/fineui.css vendored

@ -360,23 +360,23 @@ textarea {
} }
.bi-header-background { .bi-header-background {
background-color: #F2F4F7; background-color: #F2F4F7;
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-input { .bi-header-background .bi-input {
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-textarea { .bi-header-background .bi-textarea {
color: #3d4d66; color: #647185;
} }
.bi-theme-dark .bi-header-background { .bi-theme-dark .bi-header-background {
background-color: #2F3149; background-color: #2F3149;
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-input { .bi-theme-dark .bi-header-background .bi-input {
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-textarea { .bi-theme-dark .bi-header-background .bi-textarea {
color: #d6e0dc; color: #afb7c6;
} }
.bi-card { .bi-card {
background-color: #ffffff; background-color: #ffffff;
@ -437,6 +437,24 @@ textarea {
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #2F3149; border: 1px solid #2F3149;
} }
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-arial {
font-family: Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-PingFang {
font-family: "PingFang SC", "Helvetica Neue", Arial, "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-hiragino-sans {
font-family: "Hiragino Sans GB", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", Heiti, serif;
}
.bi-font-microsoft-yaHei {
font-family: "Microsoft YaHei", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", Heiti, serif;
}
.bi-font-heiti {
font-family: Heiti, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
}
.bi-border-radius { .bi-border-radius {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -3714,7 +3732,8 @@ ul.ztree.zTreeDragUL {
left: -8px; left: -8px;
} }
.bi-slider-track .gray-track { .bi-slider-track .gray-track {
background-color: #F2F4F7; background-color: rgba(61, 77, 102, 0.1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1a3d4d66,endColorstr=#1a3d4d66);
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
@ -3730,6 +3749,19 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
} }
.bi-theme-dark .bi-slider-track .gray-track {
background-color: rgba(214, 224, 220, 0.1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1ad6e0dc,endColorstr=#1ad6e0dc);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.bi-theme-dark .bi-slider-track .disabled-blue-track {
background-color: #606479;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.bi-date-interval.time-error .bi-input { .bi-date-interval.time-error .bi-input {
color: #ff4949; color: #ff4949;
} }
@ -3793,7 +3825,7 @@ body {
-o-user-select: none; -o-user-select: none;
user-select: none; user-select: none;
color: #3d4d66; color: #3d4d66;
font: normal 12px "Microsoft YaHei", "Hiragino Sans GB W3"; font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none; text-decoration: none;

32
dist/fineui.js vendored

@ -46263,7 +46263,8 @@ BI.shortcut("bi.toast", BI.Toast);/**
*/ */
BI.Tooltip = BI.inherit(BI.Tip, { BI.Tooltip = BI.inherit(BI.Tip, {
_const: { _const: {
hgap: 10 hgap: 5,
vgap: 3
}, },
_defaultConfig: function () { _defaultConfig: function () {
@ -46317,8 +46318,9 @@ BI.Tooltip = BI.inherit(BI.Tip, {
textAlign: "left", textAlign: "left",
whiteSpace: "normal", whiteSpace: "normal",
text: o.text, text: o.text,
textHeight: 20, textHeight: 16,
hgap: this._const.hgap hgap: this._const.hgap,
vgap: this._const.vgap
}); });
} }
}, },
@ -55750,7 +55752,7 @@ BI.PopupPanel = BI.inherit(BI.MultiPopupView, {
}); });
return BI.createWidget({ return BI.createWidget({
type: "bi.htape", type: "bi.htape",
cls: "popup-panel-title bi-header-background bi-border", cls: "popup-panel-title bi-header-background",
height: 25, height: 25,
items: [{ items: [{
el: { el: {
@ -58293,7 +58295,8 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, {
width: BI.isEmptyString(o.iconCls) ? 0 : (o.iconWrapperWidth || o.height) width: BI.isEmptyString(o.iconCls) ? 0 : (o.iconWrapperWidth || o.height)
}, },
{ {
el: this.text el: this.text,
lgap: BI.isEmptyString(o.iconCls) ? 5 : 0
}, { }, {
el: this.trigerButton, el: this.trigerButton,
width: o.triggerWidth || o.height width: o.triggerWidth || o.height
@ -58310,14 +58313,17 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, {
var o = this.options; var o = this.options;
this.icon.setIcon(iconCls); this.icon.setIcon(iconCls);
var iconItem = this.wrapper.attr("items")[0]; var iconItem = this.wrapper.attr("items")[0];
var textItem = this.wrapper.attr("items")[1];
if(BI.isNull(iconCls) || BI.isEmptyString(iconCls)) { if(BI.isNull(iconCls) || BI.isEmptyString(iconCls)) {
if(iconItem.width !== 0) { if(iconItem.width !== 0) {
iconItem.width = 0; iconItem.width = 0;
textItem.lgap = 5;
this.wrapper.resize(); this.wrapper.resize();
} }
}else{ }else{
if(iconItem.width !== (o.iconWrapperWidth || o.height)) { if(iconItem.width !== (o.iconWrapperWidth || o.height)) {
iconItem.width = (o.iconWrapperWidth || o.height); iconItem.width = (o.iconWrapperWidth || o.height);
textItem.lgap = 0;
this.wrapper.resize(); this.wrapper.resize();
} }
} }
@ -61495,7 +61501,7 @@ BI.extend(BI.DynamicDateCard, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow bi-border-radius",
height: 22 height: 22
}, },
@ -68119,6 +68125,11 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
logic: opts.logic, logic: opts.logic,
toolbar: {
type: "bi.multi_select_bar",
cls: "bi-list-item-active",
iconWrapperWidth: 36
},
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
el: { el: {
@ -68913,6 +68924,11 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
this.storeValue = BI.deepClone(opts.value); this.storeValue = BI.deepClone(opts.value);
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
toolbar: {
type: "bi.multi_select_bar",
cls: "bi-list-item-active",
iconWrapperWidth: 36
},
element: this, element: this,
logic: { logic: {
dynamic: false dynamic: false
@ -77367,7 +77383,7 @@ BI.DateInterval = BI.inherit(BI.Single, {
BI.createWidget({ BI.createWidget({
element: self, element: self,
type: "bi.center", type: "bi.center",
hgap: 15, hgap: 10,
height: this.constants.height, height: this.constants.height,
items: [{ items: [{
type: "bi.absolute", type: "bi.absolute",
@ -77547,7 +77563,7 @@ BI.TimeInterval = BI.inherit(BI.Single, {
BI.createWidget({ BI.createWidget({
element: self, element: self,
type: "bi.center", type: "bi.center",
hgap: 15, hgap: 10,
height: this.constants.height, height: this.constants.height,
items: [{ items: [{
type: "bi.absolute", type: "bi.absolute",

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

38
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/resource.css vendored

@ -18,7 +18,7 @@ body {
-o-user-select: none; -o-user-select: none;
user-select: none; user-select: none;
color: #3d4d66; color: #3d4d66;
font: normal 12px "Microsoft YaHei", "Hiragino Sans GB W3"; font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none; text-decoration: none;

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/widget.css vendored

@ -226,7 +226,8 @@
left: -8px; left: -8px;
} }
.bi-slider-track .gray-track { .bi-slider-track .gray-track {
background-color: #F2F4F7; background-color: rgba(61, 77, 102, 0.1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1a3d4d66,endColorstr=#1a3d4d66);
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
@ -242,6 +243,19 @@
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
} }
.bi-theme-dark .bi-slider-track .gray-track {
background-color: rgba(214, 224, 220, 0.1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1ad6e0dc,endColorstr=#1ad6e0dc);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.bi-theme-dark .bi-slider-track .disabled-blue-track {
background-color: #606479;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.bi-date-interval.time-error .bi-input { .bi-date-interval.time-error .bi-input {
color: #ff4949; color: #ff4949;
} }

16
dist/widget.js vendored

@ -2864,7 +2864,7 @@ BI.extend(BI.DynamicDateCard, {
}, },
props: { props: {
baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow bi-border-radius",
height: 22 height: 22
}, },
@ -9488,6 +9488,11 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
logic: opts.logic, logic: opts.logic,
toolbar: {
type: "bi.multi_select_bar",
cls: "bi-list-item-active",
iconWrapperWidth: 36
},
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
el: { el: {
@ -10282,6 +10287,11 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
this.storeValue = BI.deepClone(opts.value); this.storeValue = BI.deepClone(opts.value);
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
toolbar: {
type: "bi.multi_select_bar",
cls: "bi-list-item-active",
iconWrapperWidth: 36
},
element: this, element: this,
logic: { logic: {
dynamic: false dynamic: false
@ -18736,7 +18746,7 @@ BI.DateInterval = BI.inherit(BI.Single, {
BI.createWidget({ BI.createWidget({
element: self, element: self,
type: "bi.center", type: "bi.center",
hgap: 15, hgap: 10,
height: this.constants.height, height: this.constants.height,
items: [{ items: [{
type: "bi.absolute", type: "bi.absolute",
@ -18916,7 +18926,7 @@ BI.TimeInterval = BI.inherit(BI.Single, {
BI.createWidget({ BI.createWidget({
element: self, element: self,
type: "bi.center", type: "bi.center",
hgap: 15, hgap: 10,
height: this.constants.height, height: this.constants.height,
items: [{ items: [{
type: "bi.absolute", type: "bi.absolute",

2
public/css/app.css

@ -18,7 +18,7 @@ body {
-o-user-select: none; -o-user-select: none;
user-select: none; user-select: none;
color: #3d4d66; color: #3d4d66;
font: normal 12px "Microsoft YaHei", "Hiragino Sans GB W3"; font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none; text-decoration: none;

8
src/base/single/tip/tip.tooltip.js

@ -7,7 +7,8 @@
*/ */
BI.Tooltip = BI.inherit(BI.Tip, { BI.Tooltip = BI.inherit(BI.Tip, {
_const: { _const: {
hgap: 10 hgap: 5,
vgap: 3
}, },
_defaultConfig: function () { _defaultConfig: function () {
@ -61,8 +62,9 @@ BI.Tooltip = BI.inherit(BI.Tip, {
textAlign: "left", textAlign: "left",
whiteSpace: "normal", whiteSpace: "normal",
text: o.text, text: o.text,
textHeight: 20, textHeight: 16,
hgap: this._const.hgap hgap: this._const.hgap,
vgap: this._const.vgap
}); });
} }
}, },

2
src/case/layer/layer.panel.js

@ -32,7 +32,7 @@ BI.PopupPanel = BI.inherit(BI.MultiPopupView, {
}); });
return BI.createWidget({ return BI.createWidget({
type: "bi.htape", type: "bi.htape",
cls: "popup-panel-title bi-header-background bi-border", cls: "popup-panel-title bi-header-background",
height: 25, height: 25,
items: [{ items: [{
el: { el: {

6
src/case/trigger/trigger.icon.text.js

@ -56,7 +56,8 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, {
width: BI.isEmptyString(o.iconCls) ? 0 : (o.iconWrapperWidth || o.height) width: BI.isEmptyString(o.iconCls) ? 0 : (o.iconWrapperWidth || o.height)
}, },
{ {
el: this.text el: this.text,
lgap: BI.isEmptyString(o.iconCls) ? 5 : 0
}, { }, {
el: this.trigerButton, el: this.trigerButton,
width: o.triggerWidth || o.height width: o.triggerWidth || o.height
@ -73,14 +74,17 @@ BI.IconTextTrigger = BI.inherit(BI.Trigger, {
var o = this.options; var o = this.options;
this.icon.setIcon(iconCls); this.icon.setIcon(iconCls);
var iconItem = this.wrapper.attr("items")[0]; var iconItem = this.wrapper.attr("items")[0];
var textItem = this.wrapper.attr("items")[1];
if(BI.isNull(iconCls) || BI.isEmptyString(iconCls)) { if(BI.isNull(iconCls) || BI.isEmptyString(iconCls)) {
if(iconItem.width !== 0) { if(iconItem.width !== 0) {
iconItem.width = 0; iconItem.width = 0;
textItem.lgap = 5;
this.wrapper.resize(); this.wrapper.resize();
} }
}else{ }else{
if(iconItem.width !== (o.iconWrapperWidth || o.height)) { if(iconItem.width !== (o.iconWrapperWidth || o.height)) {
iconItem.width = (o.iconWrapperWidth || o.height); iconItem.width = (o.iconWrapperWidth || o.height);
textItem.lgap = 0;
this.wrapper.resize(); this.wrapper.resize();
} }
} }

30
src/css/core/utils/common.css

@ -79,23 +79,23 @@ textarea {
} }
.bi-header-background { .bi-header-background {
background-color: #F2F4F7; background-color: #F2F4F7;
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-input { .bi-header-background .bi-input {
color: #3d4d66; color: #647185;
} }
.bi-header-background .bi-textarea { .bi-header-background .bi-textarea {
color: #3d4d66; color: #647185;
} }
.bi-theme-dark .bi-header-background { .bi-theme-dark .bi-header-background {
background-color: #2F3149; background-color: #2F3149;
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-input { .bi-theme-dark .bi-header-background .bi-input {
color: #d6e0dc; color: #afb7c6;
} }
.bi-theme-dark .bi-header-background .bi-textarea { .bi-theme-dark .bi-header-background .bi-textarea {
color: #d6e0dc; color: #afb7c6;
} }
.bi-card { .bi-card {
background-color: #ffffff; background-color: #ffffff;
@ -156,6 +156,24 @@ textarea {
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #2F3149; border: 1px solid #2F3149;
} }
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-arial {
font-family: Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-PingFang {
font-family: "PingFang SC", "Helvetica Neue", Arial, "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-hiragino-sans {
font-family: "Hiragino Sans GB", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", Heiti, serif;
}
.bi-font-microsoft-yaHei {
font-family: "Microsoft YaHei", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", Heiti, serif;
}
.bi-font-heiti {
font-family: Heiti, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
}
.bi-border-radius { .bi-border-radius {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;

2
src/css/resource/app.css

@ -18,7 +18,7 @@ body {
-o-user-select: none; -o-user-select: none;
user-select: none; user-select: none;
color: #3d4d66; color: #3d4d66;
font: normal 12px "Microsoft YaHei", "Hiragino Sans GB W3"; font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none; text-decoration: none;

16
src/css/widget/singleslider/track/widget.css

@ -1,5 +1,6 @@
.bi-slider-track .gray-track { .bi-slider-track .gray-track {
background-color: #F2F4F7; background-color: rgba(61, 77, 102, 0.1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1a3d4d66,endColorstr=#1a3d4d66);
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
@ -15,3 +16,16 @@
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
} }
.bi-theme-dark .bi-slider-track .gray-track {
background-color: rgba(214, 224, 220, 0.1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1ad6e0dc,endColorstr=#1ad6e0dc);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.bi-theme-dark .bi-slider-track .disabled-blue-track {
background-color: #606479;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

37
src/less/core/utils/common.less

@ -97,24 +97,24 @@ textarea {
.bi-header-background { .bi-header-background {
background-color: @color-bi-background-light-gray; background-color: @color-bi-background-light-gray;
color: @color-bi-text-normal; color: @color-bi-text-light-gray;
& .bi-input { & .bi-input {
color: @color-bi-text-normal; color: @color-bi-text-light-gray;
} }
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-normal; color: @color-bi-text-light-gray;
} }
} }
.bi-theme-dark { .bi-theme-dark {
.bi-header-background { .bi-header-background {
background-color: @color-bi-background-light-gray-theme-dark; background-color: @color-bi-background-light-gray-theme-dark;
color: @color-bi-text-normal-theme-dark; color: @color-bi-text-light-gray-theme-dark;
& .bi-input { & .bi-input {
color: @color-bi-text-normal-theme-dark; color: @color-bi-text-light-gray-theme-dark;
} }
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-normal-theme-dark; color: @color-bi-text-light-gray-theme-dark;
} }
} }
} }
@ -199,6 +199,31 @@ textarea {
} }
} }
// 字体
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-arial{
font-family: Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-PingFang {
font-family: "PingFang SC", "Helvetica Neue", Arial, "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-font-hiragino-sans {
font-family: "Hiragino Sans GB", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", Heiti, serif;
}
.bi-font-microsoft-yaHei {
font-family: "Microsoft YaHei", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", Heiti, serif;
}
.bi-font-heiti {
font-family: Heiti, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
}
.bi-border-radius { .bi-border-radius {
.border-radius(2px); .border-radius(2px);
} }

8
src/less/lib/colors.less

@ -14,6 +14,8 @@
@color-bi-text-gray: @font-color-gray; @color-bi-text-gray: @font-color-gray;
//浅灰色字体 //浅灰色字体
@color-bi-text-light-gray: @font-color-light-gray; @color-bi-text-light-gray: @font-color-light-gray;
//深色浅灰色字体
@color-bi-text-light-gray-theme-dark: @font-color-light-gray-theme-dark;
//白色字体颜色 //白色字体颜色
@color-bi-text: @font-color-white; @color-bi-text: @font-color-white;
//灰化字体颜色 //灰化字体颜色
@ -44,8 +46,14 @@
@color-bi-background-default-theme-dark: @background-color-default-theme-dark; @color-bi-background-default-theme-dark: @background-color-default-theme-dark;
//黑色背景 //黑色背景
@color-bi-background-black: @background-color-black; @color-bi-background-black: @background-color-black;
//浅黑色背景
@color-bi-background-light-black: @background-color-light-black;
//深色系浅黑色背景
@color-bi-background-light-black-theme-dark: @background-color-light-black-theme-dark;
//深灰色背景 //深灰色背景
@color-bi-background-dark-gray: @background-color-dark-gray; @color-bi-background-dark-gray: @background-color-dark-gray;
//深色系深灰色背景
@color-bi-background-dark-gray-theme-dark: @background-color-dark-gray-theme-dark;
//灰色背景(浅) //灰色背景(浅)
@color-bi-background-light-gray: @background-color-light-gray; @color-bi-background-light-gray: @background-color-light-gray;
//深色主题灰色背景 //深色主题灰色背景

3
src/less/lib/constant.less

@ -47,6 +47,8 @@
//background color //background color
@background-color-black: #232E40;// @background-color-black: #232E40;//
@background-color-light-black: #3d4d66;
@background-color-light-black-theme-dark: #d6e0dc;//
@background-color-default: #ffffff;// @background-color-default: #ffffff;//
@background-color-default-theme-dark: #242640;// @background-color-default-theme-dark: #242640;//
@background-color-normal: #f7f8fa;// @background-color-normal: #f7f8fa;//
@ -60,6 +62,7 @@
@background-color-light-gray: #F2F4F7; @background-color-light-gray: #F2F4F7;
@background-color-light-gray-theme-dark: #2F3149; @background-color-light-gray-theme-dark: #2F3149;
@background-color-dark-gray: #d0d4da; @background-color-dark-gray: #d0d4da;
@background-color-dark-gray-theme-dark: #606479;
@background-color-disabled: #F2F4F7; @background-color-disabled: #F2F4F7;
@background-color-disabled-theme-dark: #2F3149; @background-color-disabled-theme-dark: #2F3149;
@background-color-yellow: #ffc101;// @background-color-yellow: #ffc101;//

2
src/less/resource/app.less

@ -16,7 +16,7 @@ body {
background-repeat: repeat; background-repeat: repeat;
.user-select-disable(); .user-select-disable();
color: @color-bi-text-normal; color: @color-bi-text-normal;
font: normal 12px "Microsoft YaHei", "Hiragino Sans GB W3"; font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none; text-decoration: none;

17
src/less/widget/singleslider/track/widget.track.less

@ -2,14 +2,27 @@
.bi-slider-track { .bi-slider-track {
& .gray-track { & .gray-track {
background-color: @color-bi-background-light-gray; .background-color(@color-bi-background-light-black, 10%);
.border-radius(3px); .border-radius(3px);
} }
& .blue-track { & .blue-track {
.border-radius(3px); .border-radius(3px);
} }
& .disabled-blue-track { & .disabled-blue-track {
background-color: @background-color-dark-gray; background-color: @color-bi-background-dark-gray;
.border-radius(3px); .border-radius(3px);
} }
} }
.bi-theme-dark {
.bi-slider-track {
& .gray-track {
.background-color(@color-bi-background-light-black-theme-dark, 10%);
.border-radius(3px);
}
& .disabled-blue-track {
background-color: @color-bi-background-dark-gray-theme-dark;
.border-radius(3px);
}
}
}

2
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 bi-focus-shadow", baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow bi-border-radius",
height: 22 height: 22
}, },

5
src/widget/multiselect/multiselect.loader.js

@ -33,6 +33,11 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
logic: opts.logic, logic: opts.logic,
toolbar: {
type: "bi.multi_select_bar",
cls: "bi-list-item-active",
iconWrapperWidth: 36
},
el: BI.extend({ el: BI.extend({
onLoaded: opts.onLoaded, onLoaded: opts.onLoaded,
el: { el: {

5
src/widget/multiselect/search/multiselect.search.loader.js

@ -23,6 +23,11 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, {
this.storeValue = BI.deepClone(opts.value); this.storeValue = BI.deepClone(opts.value);
this.button_group = BI.createWidget({ this.button_group = BI.createWidget({
type: "bi.select_list", type: "bi.select_list",
toolbar: {
type: "bi.multi_select_bar",
cls: "bi-list-item-active",
iconWrapperWidth: 36
},
element: this, element: this,
logic: { logic: {
dynamic: false dynamic: false

2
src/widget/timeinterval/dateinterval.js

@ -33,7 +33,7 @@ BI.DateInterval = BI.inherit(BI.Single, {
BI.createWidget({ BI.createWidget({
element: self, element: self,
type: "bi.center", type: "bi.center",
hgap: 15, hgap: 10,
height: this.constants.height, height: this.constants.height,
items: [{ items: [{
type: "bi.absolute", type: "bi.absolute",

2
src/widget/timeinterval/timeinterval.js

@ -33,7 +33,7 @@ BI.TimeInterval = BI.inherit(BI.Single, {
BI.createWidget({ BI.createWidget({
element: self, element: self,
type: "bi.center", type: "bi.center",
hgap: 15, hgap: 10,
height: this.constants.height, height: this.constants.height,
items: [{ items: [{
type: "bi.absolute", type: "bi.absolute",

2
ui/css/app.css

@ -18,7 +18,7 @@ body {
-o-user-select: none; -o-user-select: none;
user-select: none; user-select: none;
color: #3d4d66; color: #3d4d66;
font: normal 12px "Microsoft YaHei", "Hiragino Sans GB W3"; font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none; text-decoration: none;

Loading…
Cancel
Save