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