Browse Source

refactor: 还原

es6
windy 6 years ago
parent
commit
35a349e1af
  1. 61
      dist/2.0/fineui.css
  2. 14
      dist/2.0/fineui.ie.js
  3. 48
      dist/2.0/fineui.ie.min.js
  4. 14
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.min.css
  6. 12
      dist/2.0/fineui.min.js
  7. 16
      dist/base.css
  8. 12
      dist/base.js
  9. 61
      dist/bundle.css
  10. 14
      dist/bundle.ie.js
  11. 48
      dist/bundle.ie.min.js
  12. 14
      dist/bundle.js
  13. 2
      dist/bundle.min.css
  14. 12
      dist/bundle.min.js
  15. 2
      dist/case.js
  16. 45
      dist/core.css
  17. 45
      dist/core_without_normalize.css
  18. 61
      dist/fineui.css
  19. 14
      dist/fineui.ie.js
  20. 48
      dist/fineui.ie.min.js
  21. 14
      dist/fineui.js
  22. 2
      dist/fineui.min.css
  23. 12
      dist/fineui.min.js
  24. 14
      dist/fineui_without_jquery_polyfill.js
  25. 2
      dist/utils.min.js
  26. 6
      src/base/single/input/checkbox/checkbox.js
  27. 6
      src/base/single/input/radio/radio.js
  28. 2
      src/case/button/icon/iconhalf/icon.half.js
  29. 8
      src/css/base/single/input/checkbox.css
  30. 8
      src/css/base/single/input/radio.css
  31. 45
      src/css/core/utils/common.css
  32. 18
      src/less/base/single/input/checkbox.less
  33. 32
      src/less/base/single/input/radio.less
  34. 58
      src/less/core/utils/common.less

61
dist/2.0/fineui.css vendored

@ -455,51 +455,6 @@ textarea {
.bi-border-left.disabled { .bi-border-left.disabled {
border-color: #d0d4da !important; border-color: #d0d4da !important;
} }
.bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-dark-border.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-dark-border-top.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-dark-border-right.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-dark-border-bottom.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-dark-border-left.disabled {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #3a3c53; border: 1px solid #3a3c53;
} }
@ -3582,6 +3537,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
border: 1px solid #9EA6B2;
} }
.bi-checkbox .checkbox-context:after { .bi-checkbox .checkbox-context:after {
position: absolute; position: absolute;
@ -3600,6 +3556,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
transform: rotate(45deg) scale(1) translate(-50%, -50%); transform: rotate(45deg) scale(1) translate(-50%, -50%);
content: ''; content: '';
} }
.bi-checkbox.active .checkbox-context,
.bi-checkbox:active .checkbox-context {
border-color: #3685f2;
}
.bi-checkbox.active .checkbox-context:after, .bi-checkbox.active .checkbox-context:after,
.bi-checkbox:active .checkbox-context:after { .bi-checkbox:active .checkbox-context:after {
border-color: #ffffff; border-color: #ffffff;
@ -3614,6 +3574,9 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-checkbox.disabled.active .checkbox-context:after { .bi-checkbox.disabled.active .checkbox-context:after {
opacity: 1; opacity: 1;
} }
.bi-theme-dark .bi-checkbox .checkbox-context {
border-color: #9EA6B2;
}
.bi-file { .bi-file {
opacity: 0; opacity: 0;
filter: alpha(opacity=0); filter: alpha(opacity=0);
@ -3642,10 +3605,15 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
-webkit-border-radius: 8px; -webkit-border-radius: 8px;
-moz-border-radius: 8px; -moz-border-radius: 8px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #9EA6B2;
} }
.bi-radio .radio-content:after { .bi-radio .radio-content:after {
content: ""; content: "";
} }
.bi-radio:active .radio-content,
.bi-radio.active .radio-content {
border-color: #3685f2;
}
.bi-radio:active .radio-content:after, .bi-radio:active .radio-content:after,
.bi-radio.active .radio-content:after { .bi-radio.active .radio-content:after {
width: 6px; width: 6px;
@ -3673,6 +3641,9 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-radio.disabled.active .radio-content:after { .bi-radio.disabled.active .radio-content:after {
background-color: #ffffff; background-color: #ffffff;
} }
.bi-theme-dark .bi-radio .radio-content {
border-color: #9EA6B2;
}
.bi-label { .bi-label {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow-x: hidden; overflow-x: hidden;

14
dist/2.0/fineui.ie.js vendored

@ -44735,7 +44735,7 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-dark-border", cls: "checkbox-context",
width: o.iconWidth - 2, width: o.iconWidth - 2,
height: o.iconHeight - 2 height: o.iconHeight - 2
}] }]
@ -44761,9 +44761,9 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Checkbox.superclass.setSelected.apply(this, arguments); BI.Checkbox.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.checkbox.element.removeClass("bi-dark-border").addClass("bi-high-light-background bi-high-light-border"); this.checkbox.element.addClass("bi-high-light-background");
} else { } else {
this.checkbox.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-dark-border"); this.checkbox.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -45753,7 +45753,7 @@ BI.Radio = BI.inherit(BI.BasicButton, {
element: this.element, element: this.element,
items: [{ items: [{
type: "bi.layout", type: "bi.layout",
cls: "radio-content bi-border", cls: "radio-content",
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
@ -45782,9 +45782,9 @@ BI.Radio = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Radio.superclass.setSelected.apply(this, arguments); BI.Radio.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.radio.element.removeClass("bi-border").addClass("bi-high-light-background bi-high-light-border"); this.radio.element.addClass("bi-high-light-background");
} else { } else {
this.radio.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-border"); this.radio.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -49798,7 +49798,7 @@ BI.HalfButton = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-half-button bi-border bi-high-light-border", extraCls: "bi-half-button bi-high-light-border",
height: 14, height: 14,
width: 14, width: 14,
selected: false selected: false

48
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/2.0/fineui.js vendored

@ -45139,7 +45139,7 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-dark-border", cls: "checkbox-context",
width: o.iconWidth - 2, width: o.iconWidth - 2,
height: o.iconHeight - 2 height: o.iconHeight - 2
}] }]
@ -45165,9 +45165,9 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Checkbox.superclass.setSelected.apply(this, arguments); BI.Checkbox.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.checkbox.element.removeClass("bi-dark-border").addClass("bi-high-light-background bi-high-light-border"); this.checkbox.element.addClass("bi-high-light-background");
} else { } else {
this.checkbox.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-dark-border"); this.checkbox.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -46157,7 +46157,7 @@ BI.Radio = BI.inherit(BI.BasicButton, {
element: this.element, element: this.element,
items: [{ items: [{
type: "bi.layout", type: "bi.layout",
cls: "radio-content bi-border", cls: "radio-content",
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
@ -46186,9 +46186,9 @@ BI.Radio = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Radio.superclass.setSelected.apply(this, arguments); BI.Radio.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.radio.element.removeClass("bi-border").addClass("bi-high-light-background bi-high-light-border"); this.radio.element.addClass("bi-high-light-background");
} else { } else {
this.radio.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-border"); this.radio.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -50202,7 +50202,7 @@ BI.HalfButton = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-half-button bi-border bi-high-light-border", extraCls: "bi-half-button bi-high-light-border",
height: 14, height: 14,
width: 14, width: 14,
selected: false selected: false

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

12
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/base.css vendored

@ -1381,6 +1381,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
border: 1px solid #9EA6B2;
} }
.bi-checkbox .checkbox-context:after { .bi-checkbox .checkbox-context:after {
position: absolute; position: absolute;
@ -1399,6 +1400,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
transform: rotate(45deg) scale(1) translate(-50%, -50%); transform: rotate(45deg) scale(1) translate(-50%, -50%);
content: ''; content: '';
} }
.bi-checkbox.active .checkbox-context,
.bi-checkbox:active .checkbox-context {
border-color: #3685f2;
}
.bi-checkbox.active .checkbox-context:after, .bi-checkbox.active .checkbox-context:after,
.bi-checkbox:active .checkbox-context:after { .bi-checkbox:active .checkbox-context:after {
border-color: #ffffff; border-color: #ffffff;
@ -1413,6 +1418,9 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-checkbox.disabled.active .checkbox-context:after { .bi-checkbox.disabled.active .checkbox-context:after {
opacity: 1; opacity: 1;
} }
.bi-theme-dark .bi-checkbox .checkbox-context {
border-color: #9EA6B2;
}
.bi-file { .bi-file {
opacity: 0; opacity: 0;
filter: alpha(opacity=0); filter: alpha(opacity=0);
@ -1441,10 +1449,15 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
-webkit-border-radius: 8px; -webkit-border-radius: 8px;
-moz-border-radius: 8px; -moz-border-radius: 8px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #9EA6B2;
} }
.bi-radio .radio-content:after { .bi-radio .radio-content:after {
content: ""; content: "";
} }
.bi-radio:active .radio-content,
.bi-radio.active .radio-content {
border-color: #3685f2;
}
.bi-radio:active .radio-content:after, .bi-radio:active .radio-content:after,
.bi-radio.active .radio-content:after { .bi-radio.active .radio-content:after {
width: 6px; width: 6px;
@ -1472,6 +1485,9 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-radio.disabled.active .radio-content:after { .bi-radio.disabled.active .radio-content:after {
background-color: #ffffff; background-color: #ffffff;
} }
.bi-theme-dark .bi-radio .radio-content {
border-color: #9EA6B2;
}
.bi-label { .bi-label {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow-x: hidden; overflow-x: hidden;

12
dist/base.js vendored

@ -9350,7 +9350,7 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-dark-border", cls: "checkbox-context",
width: o.iconWidth - 2, width: o.iconWidth - 2,
height: o.iconHeight - 2 height: o.iconHeight - 2
}] }]
@ -9376,9 +9376,9 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Checkbox.superclass.setSelected.apply(this, arguments); BI.Checkbox.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.checkbox.element.removeClass("bi-dark-border").addClass("bi-high-light-background bi-high-light-border"); this.checkbox.element.addClass("bi-high-light-background");
} else { } else {
this.checkbox.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-dark-border"); this.checkbox.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -10368,7 +10368,7 @@ BI.Radio = BI.inherit(BI.BasicButton, {
element: this.element, element: this.element,
items: [{ items: [{
type: "bi.layout", type: "bi.layout",
cls: "radio-content bi-border", cls: "radio-content",
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
@ -10397,9 +10397,9 @@ BI.Radio = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Radio.superclass.setSelected.apply(this, arguments); BI.Radio.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.radio.element.removeClass("bi-border").addClass("bi-high-light-background bi-high-light-border"); this.radio.element.addClass("bi-high-light-background");
} else { } else {
this.radio.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-border"); this.radio.element.removeClass("bi-high-light-background");
} }
} }
}); });

61
dist/bundle.css vendored

@ -455,51 +455,6 @@ textarea {
.bi-border-left.disabled { .bi-border-left.disabled {
border-color: #d0d4da !important; border-color: #d0d4da !important;
} }
.bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-dark-border.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-dark-border-top.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-dark-border-right.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-dark-border-bottom.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-dark-border-left.disabled {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #3a3c53; border: 1px solid #3a3c53;
} }
@ -3582,6 +3537,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
border: 1px solid #9EA6B2;
} }
.bi-checkbox .checkbox-context:after { .bi-checkbox .checkbox-context:after {
position: absolute; position: absolute;
@ -3600,6 +3556,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
transform: rotate(45deg) scale(1) translate(-50%, -50%); transform: rotate(45deg) scale(1) translate(-50%, -50%);
content: ''; content: '';
} }
.bi-checkbox.active .checkbox-context,
.bi-checkbox:active .checkbox-context {
border-color: #3685f2;
}
.bi-checkbox.active .checkbox-context:after, .bi-checkbox.active .checkbox-context:after,
.bi-checkbox:active .checkbox-context:after { .bi-checkbox:active .checkbox-context:after {
border-color: #ffffff; border-color: #ffffff;
@ -3614,6 +3574,9 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-checkbox.disabled.active .checkbox-context:after { .bi-checkbox.disabled.active .checkbox-context:after {
opacity: 1; opacity: 1;
} }
.bi-theme-dark .bi-checkbox .checkbox-context {
border-color: #9EA6B2;
}
.bi-file { .bi-file {
opacity: 0; opacity: 0;
filter: alpha(opacity=0); filter: alpha(opacity=0);
@ -3642,10 +3605,15 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
-webkit-border-radius: 8px; -webkit-border-radius: 8px;
-moz-border-radius: 8px; -moz-border-radius: 8px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #9EA6B2;
} }
.bi-radio .radio-content:after { .bi-radio .radio-content:after {
content: ""; content: "";
} }
.bi-radio:active .radio-content,
.bi-radio.active .radio-content {
border-color: #3685f2;
}
.bi-radio:active .radio-content:after, .bi-radio:active .radio-content:after,
.bi-radio.active .radio-content:after { .bi-radio.active .radio-content:after {
width: 6px; width: 6px;
@ -3673,6 +3641,9 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-radio.disabled.active .radio-content:after { .bi-radio.disabled.active .radio-content:after {
background-color: #ffffff; background-color: #ffffff;
} }
.bi-theme-dark .bi-radio .radio-content {
border-color: #9EA6B2;
}
.bi-label { .bi-label {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow-x: hidden; overflow-x: hidden;

14
dist/bundle.ie.js vendored

@ -44735,7 +44735,7 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-dark-border", cls: "checkbox-context",
width: o.iconWidth - 2, width: o.iconWidth - 2,
height: o.iconHeight - 2 height: o.iconHeight - 2
}] }]
@ -44761,9 +44761,9 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Checkbox.superclass.setSelected.apply(this, arguments); BI.Checkbox.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.checkbox.element.removeClass("bi-dark-border").addClass("bi-high-light-background bi-high-light-border"); this.checkbox.element.addClass("bi-high-light-background");
} else { } else {
this.checkbox.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-dark-border"); this.checkbox.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -45753,7 +45753,7 @@ BI.Radio = BI.inherit(BI.BasicButton, {
element: this.element, element: this.element,
items: [{ items: [{
type: "bi.layout", type: "bi.layout",
cls: "radio-content bi-border", cls: "radio-content",
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
@ -45782,9 +45782,9 @@ BI.Radio = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Radio.superclass.setSelected.apply(this, arguments); BI.Radio.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.radio.element.removeClass("bi-border").addClass("bi-high-light-background bi-high-light-border"); this.radio.element.addClass("bi-high-light-background");
} else { } else {
this.radio.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-border"); this.radio.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -49798,7 +49798,7 @@ BI.HalfButton = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-half-button bi-border bi-high-light-border", extraCls: "bi-half-button bi-high-light-border",
height: 14, height: 14,
width: 14, width: 14,
selected: false selected: false

48
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/bundle.js vendored

@ -45139,7 +45139,7 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-dark-border", cls: "checkbox-context",
width: o.iconWidth - 2, width: o.iconWidth - 2,
height: o.iconHeight - 2 height: o.iconHeight - 2
}] }]
@ -45165,9 +45165,9 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Checkbox.superclass.setSelected.apply(this, arguments); BI.Checkbox.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.checkbox.element.removeClass("bi-dark-border").addClass("bi-high-light-background bi-high-light-border"); this.checkbox.element.addClass("bi-high-light-background");
} else { } else {
this.checkbox.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-dark-border"); this.checkbox.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -46157,7 +46157,7 @@ BI.Radio = BI.inherit(BI.BasicButton, {
element: this.element, element: this.element,
items: [{ items: [{
type: "bi.layout", type: "bi.layout",
cls: "radio-content bi-border", cls: "radio-content",
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
@ -46186,9 +46186,9 @@ BI.Radio = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Radio.superclass.setSelected.apply(this, arguments); BI.Radio.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.radio.element.removeClass("bi-border").addClass("bi-high-light-background bi-high-light-border"); this.radio.element.addClass("bi-high-light-background");
} else { } else {
this.radio.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-border"); this.radio.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -50202,7 +50202,7 @@ BI.HalfButton = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-half-button bi-border bi-high-light-border", extraCls: "bi-half-button bi-high-light-border",
height: 14, height: 14,
width: 14, width: 14,
selected: false selected: false

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

12
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/case.js vendored

@ -149,7 +149,7 @@ BI.HalfButton = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-half-button bi-border bi-high-light-border", extraCls: "bi-half-button bi-high-light-border",
height: 14, height: 14,
width: 14, width: 14,
selected: false selected: false

45
dist/core.css vendored

@ -455,51 +455,6 @@ textarea {
.bi-border-left.disabled { .bi-border-left.disabled {
border-color: #d0d4da !important; border-color: #d0d4da !important;
} }
.bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-dark-border.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-dark-border-top.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-dark-border-right.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-dark-border-bottom.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-dark-border-left.disabled {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #3a3c53; border: 1px solid #3a3c53;
} }

45
dist/core_without_normalize.css vendored

@ -174,51 +174,6 @@ textarea {
.bi-border-left.disabled { .bi-border-left.disabled {
border-color: #d0d4da !important; border-color: #d0d4da !important;
} }
.bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-dark-border.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-dark-border-top.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-dark-border-right.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-dark-border-bottom.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-dark-border-left.disabled {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #3a3c53; border: 1px solid #3a3c53;
} }

61
dist/fineui.css vendored

@ -455,51 +455,6 @@ textarea {
.bi-border-left.disabled { .bi-border-left.disabled {
border-color: #d0d4da !important; border-color: #d0d4da !important;
} }
.bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-dark-border.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-dark-border-top.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-dark-border-right.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-dark-border-bottom.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-dark-border-left.disabled {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #3a3c53; border: 1px solid #3a3c53;
} }
@ -3582,6 +3537,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
border: 1px solid #9EA6B2;
} }
.bi-checkbox .checkbox-context:after { .bi-checkbox .checkbox-context:after {
position: absolute; position: absolute;
@ -3600,6 +3556,10 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
transform: rotate(45deg) scale(1) translate(-50%, -50%); transform: rotate(45deg) scale(1) translate(-50%, -50%);
content: ''; content: '';
} }
.bi-checkbox.active .checkbox-context,
.bi-checkbox:active .checkbox-context {
border-color: #3685f2;
}
.bi-checkbox.active .checkbox-context:after, .bi-checkbox.active .checkbox-context:after,
.bi-checkbox:active .checkbox-context:after { .bi-checkbox:active .checkbox-context:after {
border-color: #ffffff; border-color: #ffffff;
@ -3614,6 +3574,9 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-checkbox.disabled.active .checkbox-context:after { .bi-checkbox.disabled.active .checkbox-context:after {
opacity: 1; opacity: 1;
} }
.bi-theme-dark .bi-checkbox .checkbox-context {
border-color: #9EA6B2;
}
.bi-file { .bi-file {
opacity: 0; opacity: 0;
filter: alpha(opacity=0); filter: alpha(opacity=0);
@ -3642,10 +3605,15 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
-webkit-border-radius: 8px; -webkit-border-radius: 8px;
-moz-border-radius: 8px; -moz-border-radius: 8px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #9EA6B2;
} }
.bi-radio .radio-content:after { .bi-radio .radio-content:after {
content: ""; content: "";
} }
.bi-radio:active .radio-content,
.bi-radio.active .radio-content {
border-color: #3685f2;
}
.bi-radio:active .radio-content:after, .bi-radio:active .radio-content:after,
.bi-radio.active .radio-content:after { .bi-radio.active .radio-content:after {
width: 6px; width: 6px;
@ -3673,6 +3641,9 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-radio.disabled.active .radio-content:after { .bi-radio.disabled.active .radio-content:after {
background-color: #ffffff; background-color: #ffffff;
} }
.bi-theme-dark .bi-radio .radio-content {
border-color: #9EA6B2;
}
.bi-label { .bi-label {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow-x: hidden; overflow-x: hidden;

14
dist/fineui.ie.js vendored

@ -44980,7 +44980,7 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-dark-border", cls: "checkbox-context",
width: o.iconWidth - 2, width: o.iconWidth - 2,
height: o.iconHeight - 2 height: o.iconHeight - 2
}] }]
@ -45006,9 +45006,9 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Checkbox.superclass.setSelected.apply(this, arguments); BI.Checkbox.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.checkbox.element.removeClass("bi-dark-border").addClass("bi-high-light-background bi-high-light-border"); this.checkbox.element.addClass("bi-high-light-background");
} else { } else {
this.checkbox.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-dark-border"); this.checkbox.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -45998,7 +45998,7 @@ BI.Radio = BI.inherit(BI.BasicButton, {
element: this.element, element: this.element,
items: [{ items: [{
type: "bi.layout", type: "bi.layout",
cls: "radio-content bi-border", cls: "radio-content",
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
@ -46027,9 +46027,9 @@ BI.Radio = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Radio.superclass.setSelected.apply(this, arguments); BI.Radio.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.radio.element.removeClass("bi-border").addClass("bi-high-light-background bi-high-light-border"); this.radio.element.addClass("bi-high-light-background");
} else { } else {
this.radio.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-border"); this.radio.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -50043,7 +50043,7 @@ BI.HalfButton = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-half-button bi-border bi-high-light-border", extraCls: "bi-half-button bi-high-light-border",
height: 14, height: 14,
width: 14, width: 14,
selected: false selected: false

48
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/fineui.js vendored

@ -45384,7 +45384,7 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-dark-border", cls: "checkbox-context",
width: o.iconWidth - 2, width: o.iconWidth - 2,
height: o.iconHeight - 2 height: o.iconHeight - 2
}] }]
@ -45410,9 +45410,9 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Checkbox.superclass.setSelected.apply(this, arguments); BI.Checkbox.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.checkbox.element.removeClass("bi-dark-border").addClass("bi-high-light-background bi-high-light-border"); this.checkbox.element.addClass("bi-high-light-background");
} else { } else {
this.checkbox.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-dark-border"); this.checkbox.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -46402,7 +46402,7 @@ BI.Radio = BI.inherit(BI.BasicButton, {
element: this.element, element: this.element,
items: [{ items: [{
type: "bi.layout", type: "bi.layout",
cls: "radio-content bi-border", cls: "radio-content",
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
@ -46431,9 +46431,9 @@ BI.Radio = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Radio.superclass.setSelected.apply(this, arguments); BI.Radio.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.radio.element.removeClass("bi-border").addClass("bi-high-light-background bi-high-light-border"); this.radio.element.addClass("bi-high-light-background");
} else { } else {
this.radio.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-border"); this.radio.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -50447,7 +50447,7 @@ BI.HalfButton = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-half-button bi-border bi-high-light-border", extraCls: "bi-half-button bi-high-light-border",
height: 14, height: 14,
width: 14, width: 14,
selected: false selected: false

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

12
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/fineui_without_jquery_polyfill.js vendored

@ -32915,7 +32915,7 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-dark-border", cls: "checkbox-context",
width: o.iconWidth - 2, width: o.iconWidth - 2,
height: o.iconHeight - 2 height: o.iconHeight - 2
}] }]
@ -32941,9 +32941,9 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Checkbox.superclass.setSelected.apply(this, arguments); BI.Checkbox.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.checkbox.element.removeClass("bi-dark-border").addClass("bi-high-light-background bi-high-light-border"); this.checkbox.element.addClass("bi-high-light-background");
} else { } else {
this.checkbox.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-dark-border"); this.checkbox.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -33312,7 +33312,7 @@ BI.Radio = BI.inherit(BI.BasicButton, {
element: this.element, element: this.element,
items: [{ items: [{
type: "bi.layout", type: "bi.layout",
cls: "radio-content bi-border", cls: "radio-content",
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
@ -33341,9 +33341,9 @@ BI.Radio = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Radio.superclass.setSelected.apply(this, arguments); BI.Radio.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.radio.element.removeClass("bi-border").addClass("bi-high-light-background bi-high-light-border"); this.radio.element.addClass("bi-high-light-background");
} else { } else {
this.radio.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-border"); this.radio.element.removeClass("bi-high-light-background");
} }
} }
}); });
@ -35016,7 +35016,7 @@ BI.HalfButton = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-half-button bi-border bi-high-light-border", extraCls: "bi-half-button bi-high-light-border",
height: 14, height: 14,
width: 14, width: 14,
selected: false selected: false

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

6
src/base/single/input/checkbox/checkbox.js

@ -24,7 +24,7 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.checkbox = _ref; self.checkbox = _ref;
}, },
cls: "checkbox-context bi-dark-border", cls: "checkbox-context",
width: o.iconWidth - 2, width: o.iconWidth - 2,
height: o.iconHeight - 2 height: o.iconHeight - 2
}] }]
@ -50,9 +50,9 @@ BI.Checkbox = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Checkbox.superclass.setSelected.apply(this, arguments); BI.Checkbox.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.checkbox.element.removeClass("bi-dark-border").addClass("bi-high-light-background bi-high-light-border"); this.checkbox.element.addClass("bi-high-light-background");
} else { } else {
this.checkbox.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-dark-border"); this.checkbox.element.removeClass("bi-high-light-background");
} }
} }
}); });

6
src/base/single/input/radio/radio.js

@ -22,7 +22,7 @@ BI.Radio = BI.inherit(BI.BasicButton, {
element: this.element, element: this.element,
items: [{ items: [{
type: "bi.layout", type: "bi.layout",
cls: "radio-content bi-border", cls: "radio-content",
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
@ -51,9 +51,9 @@ BI.Radio = BI.inherit(BI.BasicButton, {
setSelected: function (b) { setSelected: function (b) {
BI.Radio.superclass.setSelected.apply(this, arguments); BI.Radio.superclass.setSelected.apply(this, arguments);
if (b) { if (b) {
this.radio.element.removeClass("bi-border").addClass("bi-high-light-background bi-high-light-border"); this.radio.element.addClass("bi-high-light-background");
} else { } else {
this.radio.element.removeClass("bi-high-light-background bi-high-light-border").addClass("bi-border"); this.radio.element.removeClass("bi-high-light-background");
} }
} }
}); });

2
src/case/button/icon/iconhalf/icon.half.js

@ -7,7 +7,7 @@ BI.HalfButton = BI.inherit(BI.BasicButton, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments); var conf = BI.HalfIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
extraCls: "bi-half-button bi-border bi-high-light-border", extraCls: "bi-half-button bi-high-light-border",
height: 14, height: 14,
width: 14, width: 14,
selected: false selected: false

8
src/css/base/single/input/checkbox.css

@ -2,6 +2,7 @@
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
border: 1px solid #9EA6B2;
} }
.bi-checkbox .checkbox-context:after { .bi-checkbox .checkbox-context:after {
position: absolute; position: absolute;
@ -20,6 +21,10 @@
transform: rotate(45deg) scale(1) translate(-50%, -50%); transform: rotate(45deg) scale(1) translate(-50%, -50%);
content: ''; content: '';
} }
.bi-checkbox.active .checkbox-context,
.bi-checkbox:active .checkbox-context {
border-color: #3685f2;
}
.bi-checkbox.active .checkbox-context:after, .bi-checkbox.active .checkbox-context:after,
.bi-checkbox:active .checkbox-context:after { .bi-checkbox:active .checkbox-context:after {
border-color: #ffffff; border-color: #ffffff;
@ -34,3 +39,6 @@
.bi-checkbox.disabled.active .checkbox-context:after { .bi-checkbox.disabled.active .checkbox-context:after {
opacity: 1; opacity: 1;
} }
.bi-theme-dark .bi-checkbox .checkbox-context {
border-color: #9EA6B2;
}

8
src/css/base/single/input/radio.css

@ -2,10 +2,15 @@
-webkit-border-radius: 8px; -webkit-border-radius: 8px;
-moz-border-radius: 8px; -moz-border-radius: 8px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #9EA6B2;
} }
.bi-radio .radio-content:after { .bi-radio .radio-content:after {
content: ""; content: "";
} }
.bi-radio:active .radio-content,
.bi-radio.active .radio-content {
border-color: #3685f2;
}
.bi-radio:active .radio-content:after, .bi-radio:active .radio-content:after,
.bi-radio.active .radio-content:after { .bi-radio.active .radio-content:after {
width: 6px; width: 6px;
@ -33,3 +38,6 @@
.bi-radio.disabled.active .radio-content:after { .bi-radio.disabled.active .radio-content:after {
background-color: #ffffff; background-color: #ffffff;
} }
.bi-theme-dark .bi-radio .radio-content {
border-color: #9EA6B2;
}

45
src/css/core/utils/common.css

@ -174,51 +174,6 @@ textarea {
.bi-border-left.disabled { .bi-border-left.disabled {
border-color: #d0d4da !important; border-color: #d0d4da !important;
} }
.bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-dark-border.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-dark-border-top.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-dark-border-right.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-dark-border-bottom.disabled {
border-color: #d0d4da !important;
}
.bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-dark-border-left.disabled {
border-color: #d0d4da !important;
}
.bi-theme-dark .bi-dark-border {
border: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-top {
border-top: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-right {
border-right: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-bottom {
border-bottom: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-dark-border-left {
border-left: 1px solid #9EA6B2;
}
.bi-theme-dark .bi-border { .bi-theme-dark .bi-border {
border: 1px solid #3a3c53; border: 1px solid #3a3c53;
} }

18
src/less/base/single/input/checkbox.less

@ -3,6 +3,7 @@
.bi-checkbox { .bi-checkbox {
& .checkbox-context { & .checkbox-context {
.border-radius(2px); .border-radius(2px);
border: 1px solid @color-bi-border-dark-line;
&:after { &:after {
position: absolute; position: absolute;
display: table; display: table;
@ -18,9 +19,12 @@
} }
} }
&.active, &:active { &.active, &:active {
& .checkbox-context:after { & .checkbox-context{
border-color: @color-bi-border-default; border-color: @color-bi-border-highlight;
opacity: 1; &:after {
border-color: @color-bi-border-default;
opacity: 1;
}
} }
} }
&.disabled { &.disabled {
@ -36,4 +40,12 @@
} }
} }
} }
}
.bi-theme-dark {
.bi-checkbox {
& .checkbox-context {
border-color: @color-bi-border-dark-line-theme-dark;
}
}
} }

32
src/less/base/single/input/radio.less

@ -3,21 +3,25 @@
.bi-radio { .bi-radio {
& .radio-content { & .radio-content {
.border-radius(8px); .border-radius(8px);
border: 1px solid @color-bi-border-dark-line;
&:after { &:after {
content: ""; content: "";
} }
} }
&:active, &.active { &:active, &.active {
& .radio-content:after { & .radio-content {
width: 6px; border-color: @color-bi-border-highlight;
height: 6px; &:after {
display: table; width: 6px;
position: absolute; height: 6px;
top: 50%; display: table;
left: 50%; position: absolute;
.border-radius(3px); top: 50%;
background-color: @color-bi-background-default; left: 50%;
.transform(translate(-50%, -50%)); .border-radius(3px);
background-color: @color-bi-background-default;
.transform(translate(-50%, -50%));
}
} }
} }
&.disabled { &.disabled {
@ -33,4 +37,12 @@
} }
} }
} }
}
.bi-theme-dark {
.bi-radio {
& .radio-content {
border-color: @color-bi-border-dark-line-theme-dark;
}
}
} }

58
src/less/core/utils/common.less

@ -213,64 +213,6 @@ textarea {
} }
} }
//深色边框
.bi-dark-border {
border: 1px solid @color-bi-border-dark-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
}
.bi-dark-border-top {
border-top: 1px solid @color-bi-border-dark-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
}
.bi-dark-border-right {
border-right: 1px solid @color-bi-border-dark-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
}
.bi-dark-border-bottom {
border-bottom: 1px solid @color-bi-border-dark-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
}
.bi-dark-border-left {
border-left: 1px solid @color-bi-border-dark-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
}
.bi-theme-dark {
.bi-dark-border {
border: 1px solid @color-bi-border-dark-line-theme-dark;
}
.bi-dark-border-top {
border-top: 1px solid @color-bi-border-dark-line-theme-dark;
}
.bi-dark-border-right {
border-right: 1px solid @color-bi-border-dark-line-theme-dark;
}
.bi-dark-border-bottom {
border-bottom: 1px solid @color-bi-border-dark-line-theme-dark;
}
.bi-dark-border-left {
border-left: 1px solid @color-bi-border-dark-line-theme-dark;
}
}
.bi-theme-dark { .bi-theme-dark {
.bi-border { .bi-border {
border: 1px solid @color-bi-border-line-theme-dark; border: 1px solid @color-bi-border-line-theme-dark;

Loading…
Cancel
Save