update Cascader
update Cascader
This commit is contained in:
parent
bd4e3b9b0a
commit
165bb7c9ed
7 changed files with 54 additions and 31 deletions
|
@ -24,14 +24,10 @@
|
|||
}
|
||||
|
||||
&-arrow {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8px;
|
||||
line-height: 1;
|
||||
margin-top: -6px;
|
||||
font-size: @font-size-base;
|
||||
color: @subsidiary-color;
|
||||
.transition(all @transition-time @ease-in-out);
|
||||
.inner-arrow();
|
||||
}
|
||||
&-visible &-arrow:nth-of-type(2){
|
||||
.transform(rotate(180deg));
|
||||
}
|
||||
|
||||
.@{select-dropdown-prefix-cls} {
|
||||
|
@ -78,7 +74,7 @@
|
|||
|
||||
&-active{
|
||||
background-color: @background-color-select-hover;
|
||||
font-weight: bold;
|
||||
color: @primary-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,13 +41,7 @@
|
|||
}
|
||||
|
||||
&-arrow {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8px;
|
||||
line-height: 1;
|
||||
margin-top: -6px;
|
||||
color: @subsidiary-color;
|
||||
.transition(all @transition-time @ease-in-out);
|
||||
.inner-arrow();
|
||||
}
|
||||
|
||||
&-visible{
|
||||
|
|
|
@ -18,4 +18,16 @@
|
|||
-webkit-user-select: @type;
|
||||
-moz-user-select: @type;
|
||||
user-select: @type;
|
||||
}
|
||||
|
||||
// for select and input like component's arrow
|
||||
.inner-arrow() {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8px;
|
||||
line-height: 1;
|
||||
margin-top: -7px;
|
||||
font-size: @font-size-base;
|
||||
color: @subsidiary-color;
|
||||
.transition(all @transition-time @ease-in-out);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue