mirror of https://github.com/ElemeFE/element
Tabs: fix text color for disabled border-card (#10640)
parent
064831de92
commit
58138613eb
|
@ -163,7 +163,9 @@
|
||||||
if (visibility === 'hidden') {
|
if (visibility === 'hidden') {
|
||||||
this.focusable = false;
|
this.focusable = false;
|
||||||
} else if (visibility === 'visible') {
|
} else if (visibility === 'visible') {
|
||||||
|
setTimeout(() => {
|
||||||
this.focusable = true;
|
this.focusable = true;
|
||||||
|
}, 50);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
windowBlurHandler() {
|
windowBlurHandler() {
|
||||||
|
|
|
@ -227,6 +227,9 @@
|
||||||
&:not(.is-disabled):hover {
|
&:not(.is-disabled):hover {
|
||||||
color: $--color-primary;
|
color: $--color-primary;
|
||||||
}
|
}
|
||||||
|
&.is-disabled {
|
||||||
|
color: $--disabled-color-base;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include m((top, bottom)) {
|
@include m((top, bottom)) {
|
||||||
|
|
Loading…
Reference in New Issue