Browse Source

BI-51089 refactor: 视觉要求分页按钮都加上圆角,hover、active边框带颜色

es6
Zhenfei.Li 5 years ago
parent
commit
463f452b9b
  1. 2
      src/base/pager/pager.js
  2. 2
      src/case/pager/pager.all.count.js
  3. 4
      src/case/pager/pager.direction.js

2
src/base/pager/pager.js

@ -176,7 +176,7 @@ BI.Pager = BI.inherit(BI.Widget, {
type: "bi.button_group",
element: this,
items: BI.createItems(view, {
cls: "bi-list-item-select",
cls: "bi-list-item-select bi-border-radius",
height: 23,
hgap: 10
}),

2
src/case/pager/pager.all.count.js

@ -19,7 +19,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
var self = this, o = this.options, pagerIconCls = this._getPagerIconCls();
this.editor = BI.createWidget({
type: "bi.small_text_editor",
cls: "pager-editor",
cls: "pager-editor bi-border-radius",
validationChecker: function (v) {
return (self.rowCount.getValue() === 0 && v === "0") || BI.isPositiveInteger(v);
},

4
src/case/pager/pager.direction.js

@ -158,7 +158,7 @@ BI.DirectionPager = BI.inherit(BI.Widget, {
warningTitle: BI.i18nText("BI-Current_Is_First_Page"),
height: 22,
width: 22,
cls: "bi-border direction-pager-prev row-pre-page-h-font"
cls: "bi-border bi-border-radius direction-pager-prev row-pre-page-h-font bi-list-item-select2"
},
next: {
type: "bi.icon_button",
@ -167,7 +167,7 @@ BI.DirectionPager = BI.inherit(BI.Widget, {
warningTitle: BI.i18nText("BI-Current_Is_Last_Page"),
height: 22,
width: 22,
cls: "bi-border direction-pager-next row-next-page-h-font"
cls: "bi-border bi-border-radius direction-pager-next row-next-page-h-font bi-list-item-select2"
},
hasPrev: h.hasPrev,

Loading…
Cancel
Save