Browse Source

BI-51799 refactor: 根据comment优化代码

es6
Zhenfei.Li 5 years ago
parent
commit
02daf00b36
  1. 16
      dist/2.0/fineui.css
  2. 2
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.min.css
  4. 2
      dist/2.0/fineui.min.js
  5. 16
      dist/bundle.css
  6. 2
      dist/bundle.ie.min.js
  7. 2
      dist/bundle.min.css
  8. 2
      dist/bundle.min.js
  9. 16
      dist/core.css
  10. 16
      dist/core_without_normalize.css
  11. 16
      dist/fineui.css
  12. 2
      dist/fineui.ie.min.js
  13. 2
      dist/fineui.min.css
  14. 2
      dist/fineui.min.js
  15. 2
      dist/utils.min.js
  16. 16
      src/css/core/utils/common.css
  17. 17
      src/less/core/utils/common.less

16
dist/2.0/fineui.css vendored

@ -1328,25 +1328,9 @@ textarea {
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea { .bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active { .bi-theme-dark .bi-list-item-select2.active {
color: #3685f2;
background-color: #20263b; background-color: #20263b;
} }
.bi-theme-dark .bi-list-item-select2.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled, .bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover, .bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active { .bi-theme-dark .bi-list-item-select2.disabled:active {

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

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/bundle.css vendored

@ -1328,25 +1328,9 @@ textarea {
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea { .bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active { .bi-theme-dark .bi-list-item-select2.active {
color: #3685f2;
background-color: #20263b; background-color: #20263b;
} }
.bi-theme-dark .bi-list-item-select2.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled, .bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover, .bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active { .bi-theme-dark .bi-list-item-select2.disabled:active {

2
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/core.css vendored

@ -1328,25 +1328,9 @@ textarea {
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea { .bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active { .bi-theme-dark .bi-list-item-select2.active {
color: #3685f2;
background-color: #20263b; background-color: #20263b;
} }
.bi-theme-dark .bi-list-item-select2.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled, .bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover, .bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active { .bi-theme-dark .bi-list-item-select2.disabled:active {

16
dist/core_without_normalize.css vendored

@ -1048,25 +1048,9 @@ textarea {
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea { .bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active { .bi-theme-dark .bi-list-item-select2.active {
color: #3685f2;
background-color: #20263b; background-color: #20263b;
} }
.bi-theme-dark .bi-list-item-select2.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled, .bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover, .bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active { .bi-theme-dark .bi-list-item-select2.disabled:active {

16
dist/fineui.css vendored

@ -1328,25 +1328,9 @@ textarea {
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea { .bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active { .bi-theme-dark .bi-list-item-select2.active {
color: #3685f2;
background-color: #20263b; background-color: #20263b;
} }
.bi-theme-dark .bi-list-item-select2.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled, .bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover, .bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active { .bi-theme-dark .bi-list-item-select2.disabled:active {

2
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

16
src/css/core/utils/common.css

@ -1000,25 +1000,9 @@ textarea {
.bi-theme-dark .bi-list-item-select2.hover .bi-textarea { .bi-theme-dark .bi-list-item-select2.hover .bi-textarea {
color: #ffffff; color: #ffffff;
} }
.bi-theme-dark .bi-list-item-select2:active {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2:active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active { .bi-theme-dark .bi-list-item-select2.active {
color: #3685f2;
background-color: #20263b; background-color: #20263b;
} }
.bi-theme-dark .bi-list-item-select2.active .bi-input {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.active .bi-textarea {
color: #3685f2;
}
.bi-theme-dark .bi-list-item-select2.disabled, .bi-theme-dark .bi-list-item-select2.disabled,
.bi-theme-dark .bi-list-item-select2.disabled:hover, .bi-theme-dark .bi-list-item-select2.disabled:hover,
.bi-theme-dark .bi-list-item-select2.disabled:active { .bi-theme-dark .bi-list-item-select2.disabled:active {

17
src/less/core/utils/common.less

@ -1024,24 +1024,7 @@ textarea {
} }
} }
&:active {
color: @color-bi-text-highlight;
& .bi-input {
color: @color-bi-text-highlight;
}
& .bi-textarea {
color: @color-bi-text-highlight;
}
}
&.active { &.active {
color: @color-bi-text-highlight;
& .bi-input {
color: @color-bi-text-highlight;
}
& .bi-textarea {
color: @color-bi-text-highlight;
}
background-color: @color-bi-background-default-theme-dark; background-color: @color-bi-background-default-theme-dark;
} }

Loading…
Cancel
Save