mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +08:00
fix the blue border in some scenes (#4382)
This commit is contained in:
parent
959fc6b2e3
commit
c8a16b10bd
@ -16,6 +16,10 @@
|
|||||||
.@{btn-prefix-cls}-group &:not(:first-child):not(:last-child) {
|
.@{btn-prefix-cls}-group &:not(:first-child):not(:last-child) {
|
||||||
border-right-color: @btn-group-border;
|
border-right-color: @btn-group-border;
|
||||||
border-left-color: @btn-group-border;
|
border-left-color: @btn-group-border;
|
||||||
|
|
||||||
|
&:disabled {
|
||||||
|
border-color: @btn-default-border;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.@{btn-prefix-cls}-group &:first-child {
|
.@{btn-prefix-cls}-group &:first-child {
|
||||||
@ -28,7 +32,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.@{btn-prefix-cls}-group &:last-child:not(:first-child),
|
.@{btn-prefix-cls}-group &:last-child:not(:first-child),
|
||||||
.@{btn-prefix-cls}-group & + .@{btn-prefix-cls} {
|
.@{btn-prefix-cls}-group & + & {
|
||||||
border-left-color: @btn-group-border;
|
border-left-color: @btn-group-border;
|
||||||
&[disabled] {
|
&[disabled] {
|
||||||
border-left-color: @btn-default-border;
|
border-left-color: @btn-default-border;
|
||||||
|
@ -76,12 +76,18 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
> .@{btnClassName} {
|
> .@{btnClassName} {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
&:active,
|
&:active,
|
||||||
&.active {
|
&.active {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:disabled {
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// size
|
// size
|
||||||
|
Loading…
Reference in New Issue
Block a user