forked from fanruan/fineui
zsmj
3 years ago
5 changed files with 11 additions and 23 deletions
@ -1,33 +1,19 @@
|
||||
@import "../../index.less"; |
||||
@val: transform .3s ease; |
||||
.bi-search-text-value-combo{ |
||||
& .trigger-icon-button{ |
||||
|
||||
.bi-search-text-value-combo { |
||||
& .trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
& .search-text-value-trigger{ |
||||
.border-radius(2px); |
||||
} |
||||
|
||||
&.combo-error { |
||||
& .bi-search-text-value-trigger{ |
||||
& .bi-search-text-value-trigger { |
||||
& .bi-text-button { |
||||
color: @color-bi-text-error-hover-search-text-value-combo; |
||||
} |
||||
} |
||||
&>.bi-border, &>.bi-border-bottom { |
||||
|
||||
&.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-combo + .bi-trigger-icon-button { |
||||
& .x-icon { |
||||
.rotate(0deg); |
||||
.transition(@val); |
||||
} |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue