Browse Source

Merge pull request #610 in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit 'f4835261236cad28929e41de607a1e6bad0b3cdb':
  common less
es6
imp 6 years ago
parent
commit
a41d695bdd
  1. 2
      Gruntfile.js
  2. 96
      dist/bundle.css
  3. 44
      dist/bundle.js
  4. 2
      dist/bundle.min.css
  5. 96
      dist/core.css
  6. 44
      dist/core.js
  7. 96
      dist/core_without_normalize.css
  8. 96
      dist/fineui.css
  9. 44
      dist/fineui.js
  10. 2
      dist/fineui.min.css
  11. 96
      src/css/core/utils/common.css
  12. 145
      src/less/core/utils/common.less

2
Gruntfile.js

@ -337,7 +337,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-contrib-connect");
grunt.loadNpmTasks("grunt-contrib-clean");
var defaultTask = ["less", "concat", "connect", "watch"];
var defaultTask = ["clean", "less", "concat", "connect", "watch"];
grunt.registerTask("default", defaultTask);
grunt.registerTask("compile", function () {
grunt.config.set("connect.options.open", false);

96
dist/bundle.css vendored

@ -428,15 +428,63 @@ textarea {
.bi-border {
border: 1px solid #e8eaed;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-split {
border: 1px solid #f2f4f7;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-border {
border: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
@ -463,54 +511,6 @@ textarea {
.bi-font-bold {
font-weight: 700;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-keyword-red-mark {
color: #faaa39;
}

44
dist/bundle.js vendored

@ -9408,30 +9408,30 @@ jQuery.fn.offset = function( options ) {
// If we don't have gBCR, just use 0,0 rather than error
// BlackBerry 5, iOS 3 (original iPhone)
// if ( typeof elem.getBoundingClientRect !== core_strundefined ) {
// box = elem.getBoundingClientRect();
// }
// 解决transform下的offset问题
var el = elem,
offsetLeft = 0,
offsetTop = 0;
do{
offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop;
el = el.offsetParent;
} while( el );
var elm = elem;
do{
offsetLeft -= elm.scrollLeft || 0;
offsetTop -= elm.scrollTop || 0;
elm = elm.parentNode;
} while( elm );
if ( typeof elem.getBoundingClientRect !== core_strundefined ) {
box = elem.getBoundingClientRect();
}
// 解决transform下的offset问题(先恢复)
// var el = elem,
// offsetLeft = 0,
// offsetTop = 0;
// do{
// offsetLeft += el.offsetLeft;
// offsetTop += el.offsetTop;
// el = el.offsetParent;
// } while( el );
// var elm = elem;
// do{
// offsetLeft -= elm.scrollLeft || 0;
// offsetTop -= elm.scrollTop || 0;
// elm = elm.parentNode;
// } while( elm );
win = getWindow( doc );
return {
top: offsetTop + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
left: offsetLeft + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
};
};

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

96
dist/core.css vendored

@ -428,15 +428,63 @@ textarea {
.bi-border {
border: 1px solid #e8eaed;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-split {
border: 1px solid #f2f4f7;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-border {
border: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
@ -463,54 +511,6 @@ textarea {
.bi-font-bold {
font-weight: 700;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-keyword-red-mark {
color: #faaa39;
}

44
dist/core.js vendored

@ -9408,30 +9408,30 @@ jQuery.fn.offset = function( options ) {
// If we don't have gBCR, just use 0,0 rather than error
// BlackBerry 5, iOS 3 (original iPhone)
// if ( typeof elem.getBoundingClientRect !== core_strundefined ) {
// box = elem.getBoundingClientRect();
// }
// 解决transform下的offset问题
var el = elem,
offsetLeft = 0,
offsetTop = 0;
do{
offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop;
el = el.offsetParent;
} while( el );
var elm = elem;
do{
offsetLeft -= elm.scrollLeft || 0;
offsetTop -= elm.scrollTop || 0;
elm = elm.parentNode;
} while( elm );
if ( typeof elem.getBoundingClientRect !== core_strundefined ) {
box = elem.getBoundingClientRect();
}
// 解决transform下的offset问题(先恢复)
// var el = elem,
// offsetLeft = 0,
// offsetTop = 0;
// do{
// offsetLeft += el.offsetLeft;
// offsetTop += el.offsetTop;
// el = el.offsetParent;
// } while( el );
// var elm = elem;
// do{
// offsetLeft -= elm.scrollLeft || 0;
// offsetTop -= elm.scrollTop || 0;
// elm = elm.parentNode;
// } while( elm );
win = getWindow( doc );
return {
top: offsetTop + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
left: offsetLeft + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
};
};

96
dist/core_without_normalize.css vendored

@ -147,15 +147,63 @@ textarea {
.bi-border {
border: 1px solid #e8eaed;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-split {
border: 1px solid #f2f4f7;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-border {
border: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
@ -182,54 +230,6 @@ textarea {
.bi-font-bold {
font-weight: 700;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-keyword-red-mark {
color: #faaa39;
}

96
dist/fineui.css vendored

@ -428,15 +428,63 @@ textarea {
.bi-border {
border: 1px solid #e8eaed;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-split {
border: 1px solid #f2f4f7;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-border {
border: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
@ -463,54 +511,6 @@ textarea {
.bi-font-bold {
font-weight: 700;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-keyword-red-mark {
color: #faaa39;
}

44
dist/fineui.js vendored

@ -9647,30 +9647,30 @@ jQuery.fn.offset = function( options ) {
// If we don't have gBCR, just use 0,0 rather than error
// BlackBerry 5, iOS 3 (original iPhone)
// if ( typeof elem.getBoundingClientRect !== core_strundefined ) {
// box = elem.getBoundingClientRect();
// }
// 解决transform下的offset问题
var el = elem,
offsetLeft = 0,
offsetTop = 0;
do{
offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop;
el = el.offsetParent;
} while( el );
var elm = elem;
do{
offsetLeft -= elm.scrollLeft || 0;
offsetTop -= elm.scrollTop || 0;
elm = elm.parentNode;
} while( elm );
if ( typeof elem.getBoundingClientRect !== core_strundefined ) {
box = elem.getBoundingClientRect();
}
// 解决transform下的offset问题(先恢复)
// var el = elem,
// offsetLeft = 0,
// offsetTop = 0;
// do{
// offsetLeft += el.offsetLeft;
// offsetTop += el.offsetTop;
// el = el.offsetParent;
// } while( el );
// var elm = elem;
// do{
// offsetLeft -= elm.scrollLeft || 0;
// offsetTop -= elm.scrollTop || 0;
// elm = elm.parentNode;
// } while( elm );
win = getWindow( doc );
return {
top: offsetTop + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
left: offsetLeft + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
};
};

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

96
src/css/core/utils/common.css

@ -147,15 +147,63 @@ textarea {
.bi-border {
border: 1px solid #e8eaed;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border {
border: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-split {
border: 1px solid #f2f4f7;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-border {
border: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
@ -182,54 +230,6 @@ textarea {
.bi-font-bold {
font-weight: 700;
}
.bi-border-left {
border-left: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-left {
border-left: 1px solid #3a3c53;
}
.bi-border-right {
border-right: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-right {
border-right: 1px solid #3a3c53;
}
.bi-border-top {
border-top: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-top {
border-top: 1px solid #3a3c53;
}
.bi-border-bottom {
border-bottom: 1px solid #e8eaed;
}
.bi-theme-dark .bi-border-bottom {
border-bottom: 1px solid #3a3c53;
}
.bi-split-left {
border-left: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-left {
border-left: 1px solid #2F3149;
}
.bi-split-right {
border-right: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-right {
border-right: 1px solid #2F3149;
}
.bi-split-top {
border-top: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-top {
border-top: 1px solid #2F3149;
}
.bi-split-bottom {
border-bottom: 1px solid #f2f4f7;
}
.bi-theme-dark .bi-split-bottom {
border-bottom: 1px solid #2F3149;
}
.bi-keyword-red-mark {
color: #faaa39;
}

145
src/less/core/utils/common.less

@ -182,134 +182,118 @@ textarea {
border: 1px solid @color-bi-border-line;
}
.bi-theme-dark {
.bi-border {
border: 1px solid @color-bi-border-line-theme-dark;
}
.bi-border-top {
border-top: 1px solid @color-bi-border-line;
}
//分割线
.bi-split {
border: 1px solid @border-color-light-line;
.bi-border-right {
border-right: 1px solid @color-bi-border-line;
}
.bi-theme-dark {
.bi-border {
border: 1px solid @border-color-light-line-theme-dark;
}
.bi-border-bottom {
border-bottom: 1px solid @color-bi-border-line;
}
// 字体
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
.bi-border-left {
border-left: 1px solid @color-bi-border-line;
}
.bi-font-arial{
font-family: Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-theme-dark {
.bi-border {
border: 1px solid @color-bi-border-line-theme-dark;
}
.bi-font-PingFang {
font-family: "PingFang SC", "Helvetica Neue", Arial, "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-border-top {
border-top: 1px solid @color-bi-border-line-theme-dark;
}
.bi-font-hiragino-sans {
font-family: "Hiragino Sans GB", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", Heiti, serif;
}
.bi-border-right {
border-right: 1px solid @color-bi-border-line-theme-dark;
}
.bi-font-microsoft-yaHei {
font-family: "Microsoft YaHei", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", Heiti, serif;
}
.bi-border-bottom {
border-bottom: 1px solid @color-bi-border-line-theme-dark;
}
.bi-font-heiti {
font-family: Heiti, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
.bi-border-left {
border-left: 1px solid @color-bi-border-line-theme-dark;
}
}
.bi-border-radius {
.border-radius(2px);
//分割线
.bi-split {
border: 1px solid @border-color-light-line;
}
.bi-font-bold {
font-weight: 700;
.bi-split-top {
border-top: 1px solid @border-color-light-line;
}
.bi-border-left {
border-left: 1px solid @color-bi-border-line;
.bi-split-right {
border-right: 1px solid @border-color-light-line;
}
.bi-theme-dark {
.bi-border-left {
border-left: 1px solid @color-bi-border-line-theme-dark;
}
.bi-split-bottom {
border-bottom: 1px solid @border-color-light-line;
}
.bi-border-right {
border-right: 1px solid @color-bi-border-line;
.bi-split-left {
border-left: 1px solid @border-color-light-line;
}
.bi-theme-dark {
.bi-border-right {
border-right: 1px solid @color-bi-border-line-theme-dark;
.bi-border {
border: 1px solid @border-color-light-line-theme-dark;
}
}
.bi-border-top {
border-top: 1px solid @color-bi-border-line;
}
.bi-split-top {
border-top: 1px solid @border-color-light-line-theme-dark;
}
.bi-theme-dark {
.bi-border-top {
border-top: 1px solid @color-bi-border-line-theme-dark;
.bi-split-right {
border-right: 1px solid @border-color-light-line-theme-dark;
}
}
.bi-border-bottom {
border-bottom: 1px solid @color-bi-border-line;
}
.bi-split-bottom {
border-bottom: 1px solid @border-color-light-line-theme-dark;
}
.bi-theme-dark {
.bi-border-bottom {
border-bottom: 1px solid @color-bi-border-line-theme-dark;
.bi-split-left {
border-left: 1px solid @border-color-light-line-theme-dark;
}
}
.bi-split-left {
border-left: 1px solid @border-color-light-line;
// 字体
.bi-font-helvetica-neue {
font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-theme-dark {
.bi-split-left {
border-left: 1px solid @border-color-light-line-theme-dark;
}
.bi-font-arial {
font-family: Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-split-right {
border-right: 1px solid @border-color-light-line;
.bi-font-PingFang {
font-family: "PingFang SC", "Helvetica Neue", Arial, "Hiragino Sans GB", "Microsoft YaHei", Heiti, serif;
}
.bi-theme-dark {
.bi-split-right {
border-right: 1px solid @border-color-light-line-theme-dark;
}
.bi-font-hiragino-sans {
font-family: "Hiragino Sans GB", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", Heiti, serif;
}
.bi-split-top {
border-top: 1px solid @border-color-light-line;
.bi-font-microsoft-yaHei {
font-family: "Microsoft YaHei", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", Heiti, serif;
}
.bi-theme-dark {
.bi-split-top {
border-top: 1px solid @border-color-light-line-theme-dark;
}
.bi-font-heiti {
font-family: Heiti, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
}
.bi-split-bottom {
border-bottom: 1px solid @border-color-light-line;
.bi-border-radius {
.border-radius(2px);
}
.bi-theme-dark {
.bi-split-bottom {
border-bottom: 1px solid @border-color-light-line-theme-dark;
}
.bi-font-bold {
font-weight: 700;
}
//标红
@ -366,7 +350,6 @@ textarea {
}
}
.bi-high-light-border {
border-color: @color-bi-border-highlight;
}

Loading…
Cancel
Save