forked from fanruan/fineui
Browse Source
* commit 'f3e5f74c02fd0ed13cca684cde73f8c3be819ea3': DESIGN-4103 feat: 多层级下拉树提供一套由开发者手动控制的标红方式es6
superman
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; |
||||
} |
||||
// 此combo的trigger_button是absolute上去的,与bi-combo在同一层级,独立写一下 |
||||
& .bi-combo.bi-combo-popup + .bi-trigger-icon-button { |
||||
& .x-icon { |
||||
.rotate(180deg); |
||||
.transition(@val); |
||||
|
||||
&.status-error { |
||||
&.bi-border, &.bi-border-bottom { |
||||
border-color: @border-color-negative; |
||||
} |
||||
|
||||
.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; |
||||
} |
||||
// 此combo的trigger_button是absolute上去的,与bi-combo在同一层级,独立写一下 |
||||
& .bi-combo.bi-combo-popup + .bi-trigger-icon-button { |
||||
& .x-icon { |
||||
.rotate(180deg); |
||||
.transition(@val); |
||||
&.status-error { |
||||
&.bi-border, &.bi-border-bottom { |
||||
border-color: @border-color-negative; |
||||
} |
||||
|
||||
.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