forked from fanruan/fineui
Claire
3 years ago
35 changed files with 477 additions and 245 deletions
@ -1,14 +0,0 @@
|
||||
@import "../../index.less"; |
||||
|
||||
.bi-text-value-combo { |
||||
&.combo-error { |
||||
& .bi-select-text-trigger { |
||||
& .select-text-label { |
||||
color: @color-bi-text-error-hover-text-value-combo; |
||||
} |
||||
} |
||||
&.bi-border, &.bi-border-bottom { |
||||
border-color: @border-color-negative; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,11 @@
|
||||
@import "../../index.less"; |
||||
|
||||
.bi-text-trigger { |
||||
&.error .select-text-label { |
||||
color: @color-bi-text-error-text-trigger; |
||||
} |
||||
|
||||
&:where(:not(&:hover)) .clear-button { |
||||
display: none; |
||||
} |
||||
} |
@ -1,20 +1,24 @@
|
||||
@import "../../index.less"; |
||||
@val: transform .3s ease; |
||||
|
||||
.bi-multilayer-select-tree-combo { |
||||
& .trigger-icon-button{ |
||||
font-size: @font-size-16; |
||||
|
||||
&.status-error { |
||||
&.bi-border, &.bi-border-bottom { |
||||
border-color: @border-color-negative; |
||||
} |
||||
// 此combo的trigger_button是absolute上去的,与bi-combo在同一层级,独立写一下 |
||||
& .bi-combo.bi-combo-popup + .bi-trigger-icon-button { |
||||
& .x-icon { |
||||
.rotate(180deg); |
||||
.transition(@val); |
||||
|
||||
.bi-trigger .select-text-label { |
||||
color: @color-bi-text-error-text-trigger; |
||||
} |
||||
} |
||||
& .bi-combo + .bi-trigger-icon-button { |
||||
& .x-icon { |
||||
.rotate(0deg); |
||||
.transition(@val); |
||||
|
||||
&.status-warning { |
||||
&.bi-border, &.bi-border-bottom { |
||||
border-color: @border-color-warning; |
||||
} |
||||
|
||||
.bi-trigger .select-text-label { |
||||
color: @font-color-warning; |
||||
} |
||||
} |
||||
} |
||||
|
@ -1,20 +1,23 @@
|
||||
@import "../../index.less"; |
||||
@val: transform .3s ease; |
||||
|
||||
.bi-multilayer-single-tree-combo { |
||||
& .trigger-icon-button{ |
||||
font-size: @font-size-16; |
||||
&.status-error { |
||||
&.bi-border, &.bi-border-bottom { |
||||
border-color: @border-color-negative; |
||||
} |
||||
// 此combo的trigger_button是absolute上去的,与bi-combo在同一层级,独立写一下 |
||||
& .bi-combo.bi-combo-popup + .bi-trigger-icon-button { |
||||
& .x-icon { |
||||
.rotate(180deg); |
||||
.transition(@val); |
||||
|
||||
.bi-trigger .select-text-label { |
||||
color: @color-bi-text-error-text-trigger; |
||||
} |
||||
} |
||||
& .bi-combo + .bi-trigger-icon-button { |
||||
& .x-icon { |
||||
.rotate(0deg); |
||||
.transition(@val); |
||||
|
||||
&.status-warning { |
||||
&.bi-border, &.bi-border-bottom { |
||||
border-color: @border-color-warning; |
||||
} |
||||
|
||||
.bi-trigger .select-text-label { |
||||
color: @font-color-warning; |
||||
} |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue