|
|
|
@import "../../../index.less";
|
|
|
|
|
|
|
|
.bi-half-button {
|
|
|
|
.border-radius(2px);
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
position: absolute;
|
|
|
|
.border-radius(2px);
|
|
|
|
display: table;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
width: 70%;
|
|
|
|
height: 70%;
|
|
|
|
.transform(translate(-50%, -50%));
|
|
|
|
background-color: @color-bi-background-half-button-content;
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
&:after {
|
|
|
|
background-color: @color-bi-background-disabled-half-button-content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|