UNPKG

@perfma/heaven

Version:

An UI Framework base [Ant Design V4](https://ant.design/components/overview-cn/) for React.

64 lines (55 loc) 1.45 kB
@import '../style/vars.less'; .@{ant-prefix}-radio-button { &-sub { border-radius: 4px !important; border-width: 1px !important; margin-right: 14px; overflow: hidden; &::before { display: none !important; } .@{ant-prefix}-radio-button-checked { &::before { content: ''; position: absolute; display: block !important; width: 0 !important; height: 0 !important; border: 11px solid; border-color: transparent transparent transparent @blue-base; right: -11px !important; bottom: -11px !important; left: auto !important; top: auto !important; padding: 0 !important; background: none !important; transform: rotate(45deg); } &::after { content: ''; position: absolute; display: block; width: 6px; height: 4px; right: 2px; bottom: 3px; border-left: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(-45deg); } } } &-wrapper-disabled:not(&-checked) { color: @text-color-blue !important; background-color: #fff !important; opacity: 0.5; } &-wrapper-disabled { &.@{ant-prefix}-radio-button-wrapper-checked{ color: @blue-base !important; background-color: #fff !important; border-color: @blue-base !important; opacity: 0.5; } } }