You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
782 lines
16 KiB
782 lines
16 KiB
@import "../../bibase"; |
|
|
|
.base-disabled { |
|
cursor: default !important; |
|
color: @color-bi-text-disabled !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .b-font:before { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.base-disabled { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .b-font:before { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
} |
|
} |
|
|
|
.base-invalid { |
|
cursor: default !important; |
|
} |
|
|
|
.clearfix { |
|
.clearfix(); |
|
} |
|
|
|
//基本背景色 |
|
.bi-background { |
|
background-color: @color-bi-background-normal; |
|
color: @color-bi-text-normal; |
|
& .bi-input { |
|
color: @color-bi-text-normal; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-normal; |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-background { |
|
background-color: @color-bi-background-normal-theme-dark; |
|
color: @color-bi-text-theme-dark; |
|
& .bi-input { |
|
color: @color-bi-text-theme-dark; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-theme-dark; |
|
} |
|
} |
|
} |
|
|
|
//card |
|
.bi-card { |
|
background-color: @color-bi-background-default; |
|
color: @color-bi-text-normal; |
|
& .bi-input { |
|
color: @color-bi-text-normal; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-normal; |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-card { |
|
background-color: @color-bi-background-default-theme-dark; |
|
color: @color-bi-text-theme-dark; |
|
& .bi-input { |
|
color: @color-bi-text-theme-dark; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-theme-dark; |
|
} |
|
} |
|
} |
|
|
|
.bi-disabled { |
|
color: @color-bi-text-disabled; |
|
& .bi-input { |
|
color: @color-bi-text-disabled; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled; |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-disabled { |
|
color: @color-bi-text-disabled-theme-dark; |
|
& .bi-input { |
|
color: @color-bi-text-disabled-theme-dark; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled-theme-dark; |
|
} |
|
} |
|
} |
|
|
|
//提示区域, 灰色字体 |
|
.bi-tips { |
|
color: @color-bi-text-tips; |
|
& .bi-input { |
|
color: @color-bi-text-tips; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-tips; |
|
} |
|
} |
|
|
|
//边框 |
|
.bi-border { |
|
border: 1px solid @color-bi-border-line; |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-border { |
|
border: 1px solid @color-bi-border-line-theme-dark; |
|
} |
|
} |
|
|
|
.bi-border-left { |
|
border-left: 1px solid @color-bi-border-line; |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-border-left { |
|
border-left: 1px solid @color-bi-border-line-theme-dark; |
|
} |
|
} |
|
|
|
.bi-border-right { |
|
border-right: 1px solid @color-bi-border-line; |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-border-right { |
|
border-right: 1px solid @color-bi-border-line-theme-dark; |
|
} |
|
} |
|
|
|
.bi-border-top { |
|
border-top: 1px solid @color-bi-border-line; |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-border-top { |
|
border-top: 1px solid @color-bi-border-line-theme-dark; |
|
} |
|
} |
|
|
|
.bi-border-bottom { |
|
border-bottom: 1px solid @color-bi-border-line; |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-border-bottom { |
|
border-bottom: 1px solid @color-bi-border-line-theme-dark; |
|
} |
|
} |
|
|
|
//标红 |
|
.bi-keyword-red-mark { |
|
color: @color-bi-text-redmark; |
|
& .bi-input { |
|
color: @color-bi-text-redmark; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-redmark; |
|
} |
|
} |
|
|
|
//高亮 |
|
.bi-high-light { |
|
color: @color-bi-text-highlight; |
|
& .bi-input { |
|
color: @color-bi-text-highlight; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-highlight; |
|
} |
|
} |
|
|
|
.bi-high-light-background { |
|
background-color: @color-bi-background-highlight; |
|
color: @color-bi-text; |
|
& .bi-input { |
|
color: @color-bi-text; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text; |
|
} |
|
} |
|
|
|
.bi-high-light-border { |
|
border-color: @color-bi-border-highlight; |
|
} |
|
|
|
//水印 |
|
.bi-water-mark { |
|
color: @water-mark-color; |
|
cursor: text; |
|
& .bi-input { |
|
color: @water-mark-color; |
|
} |
|
& .bi-textarea { |
|
color: @water-mark-color; |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-water-mark { |
|
color: @water-mark-color-theme-dark; |
|
& .bi-input { |
|
color: @water-mark-color-theme-dark; |
|
} |
|
& .bi-textarea { |
|
color: @water-mark-color-theme-dark; |
|
} |
|
} |
|
} |
|
|
|
//resize |
|
.bi-resizer { |
|
background: @color-bi-background-black; |
|
.opacity(0.2); |
|
z-index: @zIndex-tip !important; |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-resizer { |
|
background: @color-bi-background-default; |
|
} |
|
} |
|
|
|
.bi-mask { |
|
color: @color-bi-background-default; |
|
& .bi-input { |
|
color: @color-bi-background-default; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-background-default; |
|
} |
|
.background-color(@color-bi-background-black, 20%); |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-mask { |
|
color: @color-bi-background-default-theme-dark; |
|
& .bi-input { |
|
color: @color-bi-background-default-theme-dark; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-background-default-theme-dark; |
|
} |
|
.background-color(@color-bi-background-default, 20%); |
|
} |
|
} |
|
|
|
.bi-z-index-mask { |
|
color: @color-bi-background-default; |
|
& .bi-input { |
|
color: @color-bi-background-default; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-background-default; |
|
} |
|
.background-color(@color-bi-background-black, 50%); |
|
} |
|
|
|
//只有背景变化 |
|
.bi-list-item { |
|
&:hover, &.hover { |
|
color: @color-bi-text-black; |
|
& .bi-input { |
|
color: @color-bi-text-black; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-black; |
|
} |
|
.background-color(@color-bi-background-black, 5%); |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
background-color: transparent !important; |
|
color: @color-bi-text-disabled !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-list-item { |
|
&:hover, &.hover { |
|
color: @color-bi-text; |
|
& .bi-input { |
|
color: @color-bi-text; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text; |
|
} |
|
.background-color(@color-bi-background-default, 5%); |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
background-color: transparent !important; |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
|
|
.bi-list-item-border { |
|
&:active, &.active { |
|
border: 1px solid @color-bi-border-highlight; |
|
} |
|
} |
|
|
|
//极简 |
|
.bi-list-item-simple { |
|
color: @color-bi-text-tips; |
|
& .bi-input { |
|
color: @color-bi-text-tips; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-tips; |
|
} |
|
&:hover, &.hover { |
|
color: @color-bi-text-highlight; |
|
& .bi-input { |
|
color: @color-bi-text-highlight; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-highlight; |
|
} |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
color: @color-bi-text-disabled !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
} |
|
} |
|
} |
|
|
|
//文字active时变化 |
|
.bi-list-item-effect { |
|
&:hover { |
|
color: @color-bi-text-black; |
|
& .bi-input { |
|
color: @color-bi-text-black; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-black; |
|
} |
|
} |
|
&.active, &:active { |
|
color: @color-bi-text-highlight; |
|
& .bi-input { |
|
color: @color-bi-text-highlight; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-highlight; |
|
} |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
color: @color-bi-text-disabled !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-list-item-effect { |
|
&:hover { |
|
color: @color-bi-text; |
|
& .bi-input { |
|
color: @color-bi-text; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text; |
|
} |
|
} |
|
&.active, &:active { |
|
color: @color-bi-text-highlight; |
|
& .bi-input { |
|
color: @color-bi-text-highlight; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-highlight; |
|
} |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
background-color: transparent !important; |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
|
|
//文字和背景hover和active时变化 |
|
.bi-list-item-active { |
|
&:hover, &.hover { |
|
color: @color-bi-text-black; |
|
& .bi-input { |
|
color: @color-bi-text-black; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-black; |
|
} |
|
.background-color(@color-bi-background-black, 5%); |
|
} |
|
&.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-black, 5%); |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
background-color: transparent !important; |
|
color: @color-bi-text-disabled !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-list-item-active { |
|
&:hover, &.hover { |
|
color: @color-bi-text; |
|
& .bi-input { |
|
color: @color-bi-text; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text; |
|
} |
|
.background-color(@color-bi-background-default, 5%); |
|
} |
|
&.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, 5%); |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
background-color: transparent !important; |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
|
|
//文字和背景hover和active时变化 |
|
.bi-list-item-active2 { |
|
&:hover, &.hover { |
|
color: @color-bi-text-black; |
|
& .bi-input { |
|
color: @color-bi-text-black; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-black; |
|
} |
|
background-color: @color-bi-background-default; |
|
} |
|
&.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; |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
background-color: transparent !important; |
|
color: @color-bi-text-disabled !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-list-item-active2 { |
|
&:hover, &.hover { |
|
color: @color-bi-text; |
|
& .bi-input { |
|
color: @color-bi-text; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text; |
|
} |
|
background-color: @color-bi-background-default-theme-dark; |
|
} |
|
&.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; |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
background-color: transparent !important; |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
|
|
//有选中效果 |
|
.bi-list-item-select { |
|
&:hover, &.hover { |
|
color: @color-bi-text-black; |
|
& .bi-input { |
|
color: @color-bi-text-black; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-black; |
|
} |
|
.background-color(@color-bi-background-black, 5%); |
|
} |
|
&:active, &.active { |
|
color: @color-bi-text; |
|
& .bi-input { |
|
color: @color-bi-text; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text; |
|
} |
|
background-color: @color-bi-background-highlight; |
|
& .bi-high-light { |
|
color: @color-bi-text; |
|
} |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
color: @color-bi-text-disabled !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
background-color: transparent !important; |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-list-item-select { |
|
&:hover, &.hover { |
|
color: @color-bi-text; |
|
& .bi-input { |
|
color: @color-bi-text; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text; |
|
} |
|
.background-color(@color-bi-background-default, 5%); |
|
} |
|
&:active, &.active { |
|
color: @color-bi-text; |
|
& .bi-input { |
|
color: @color-bi-text; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text; |
|
} |
|
background-color: @color-bi-background-highlight; |
|
& .bi-high-light { |
|
color: @color-bi-text; |
|
} |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
background-color: transparent !important; |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
|
|
//去掉list-item效果 |
|
.bi-list-item-none { |
|
&:hover, &.hover { |
|
color: inherit; |
|
& .bi-input { |
|
color: inherit; |
|
} |
|
& .bi-textarea { |
|
color: inherit; |
|
} |
|
background-color: transparent; |
|
} |
|
&:active, &.active { |
|
color: inherit; |
|
& .bi-input { |
|
color: inherit; |
|
} |
|
& .bi-textarea { |
|
color: inherit; |
|
} |
|
background-color: transparent; |
|
& .bi-high-light { |
|
color: inherit; |
|
} |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
color: @color-bi-text-disabled !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
background-color: transparent !important; |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled !important; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.bi-theme-dark { |
|
.bi-list-item-none { |
|
&:hover, &.hover { |
|
color: inherit; |
|
& .bi-input { |
|
color: inherit; |
|
} |
|
& .bi-textarea { |
|
color: inherit; |
|
} |
|
background-color: transparent; |
|
} |
|
&:active, &.active { |
|
color: inherit; |
|
& .bi-input { |
|
color: inherit; |
|
} |
|
& .bi-textarea { |
|
color: inherit; |
|
} |
|
background-color: transparent; |
|
& .bi-high-light { |
|
color: inherit; |
|
} |
|
} |
|
&.disabled { |
|
&, &:hover, &:active { |
|
background-color: transparent !important; |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
& .bi-input { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-textarea { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
& .bi-high-light { |
|
color: @color-bi-text-disabled-theme-dark !important; |
|
} |
|
} |
|
} |
|
} |
|
}
|
|
|