51 lines
884 B
Plaintext
51 lines
884 B
Plaintext
@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;
|
|
}
|
|
}
|
|
}
|
|
}
|