Browse Source

BI-48231 number_interval也补充一下

es6
windy 5 years ago
parent
commit
1ff50325af
  1. 5
      src/css/widget/numberinterval/numberinterval.css
  2. 3
      src/less/widget/numberinterval/numberinterval.less
  3. 2
      src/widget/numberinterval/numberinterval.js

5
src/css/widget/numberinterval/numberinterval.css

@ -1,3 +1,8 @@
.bi-number-interval.hack {
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}
.bi-number-interval .number-interval-small-editor {
-moz-border-radius-topleft: 2px;
-webkit-border-top-left-radius: 2px;

3
src/less/widget/numberinterval/numberinterval.less

@ -1,6 +1,9 @@
@import "../../index";
.bi-number-interval {
&.hack {
.border-radius(0px);
}
& .number-interval-small-editor {
.border-corner-left-radius(2px, 2px);
}

2
src/widget/numberinterval/numberinterval.js

@ -23,7 +23,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
_defaultConfig: function () {
var conf = BI.NumberInterval.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
extraCls: "bi-number-interval",
extraCls: "bi-number-interval" + (BI.isIE() && BI.getIEVersion() < 10) ? " hack" : "",
height: 24,
validation: "valid",
closeMin: true,

Loading…
Cancel
Save