Browse Source

common less

es6
imp 6 years ago
parent
commit
26025bb614
  1. 2
      Gruntfile.js
  2. 96
      dist/bundle.css
  3. 2
      dist/bundle.min.css
  4. 96
      dist/core.css
  5. 96
      dist/core_without_normalize.css
  6. 96
      dist/fineui.css
  7. 2
      dist/fineui.min.css
  8. 96
      src/css/core/utils/common.css
  9. 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;
}

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;
}

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;
}

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