forked from fanruan/fineui
zsmj
3 years ago
9 changed files with 88 additions and 28 deletions
@ -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