1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @import (reference) '../variable.less';
- @radioGroupPrefix: ant-radio-group;
- .@{radioGroupPrefix} {
- &-horizontal {
- .@{radioGroupPrefix}-body {
- display: flex;
- flex-wrap: wrap;
- justify-content: flex-start;
- .ant-list-item-line {
- padding-right: 0;
- }
- .ant-radio-item {
- flex-flow: 0;
- }
- .ant-list-item-line::after {
- display: none;
- }
- }
- }
- &-header:empty,
- &-footer:empty {
- display: none;
- }
- &-header,
- &-footer {
- display: flex;
- align-items: center;
- padding: @v-spacing-standard @v-spacing-large;
- line-height: 1.4;
- font-size: 30 * @rpx;
- color: @radio-header-color;
- }
- &-body {
- position: relative;
- overflow: hidden;
- .ant-radio-item-content {
- .ant-radio-group-item-label-default:not(:nth-child(1)) {
- display: none;
- }
- }
- }
- }
|