1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- @import (reference) './variable.less';
- @selectorPrefix: ant-selector;
- .@{selectorPrefix} {
- position: relative;
- display: flex;
- flex-direction: column;
- // padding: calc(@selector-collapse / 2);
- background-color: @selector-background-color;
- line-height: @selector-line-height;
- &-disabled .ant-selector-content {
- opacity: 0.6;
- .@{selectorPrefix}-item-disabled {
- opacity: 1;
- }
- }
- &-content {
- display: flex;
- flex: 0 33.3333%;
- padding: calc(@selector-collapse / 2);
- box-sizing: border-box;
- &-item2 {
- flex: 1;
- }
- &-container {
- display: flex;
- flex-wrap: wrap;
- justify-content: flex-start;
- }
- .ant-tap-modal-mask {
- width: calc(100% - 24 * @rpx);
- height: calc(100% - 24 * @rpx);
- margin: 12 * @rpx 0 0 12 * @rpx;
- }
- }
- &-item {
- position: relative;
- display: flex;
- flex: 1;
- flex-direction: column;
- justify-content: flex-start;
- overflow: hidden;
- padding: calc(@selector-collapse / 2) calc(@selector-collapse / 4);
- text-align: center;
- background-color: @selector-item-background;
- border-radius: @corner-radius-md;
- &-active {
- background-color: @selector-item-active-background;
- .@{selectorPrefix}-item-text {
- color: @COLOR_BRAND1;
- }
- }
- &-disabled {
- opacity: 0.6;
- }
- &-text {
- font-size: @selector-item-size;
- color: @selector-item-color;
- }
- &-subtext {
- font-size: @selector-item-sub-size;
- color: @selector-item-sub-color;
- }
- &-badge-active {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAfCAYAAAH8T49dAAAAAXNSR0IArs4c6QAAA7JJREFUWAnNV1tIlEEU/lYrzRClaHdd14jMlEwKBEGolwKhnqIICiKE6ikKhMRdk1ikwCx86KECoYKgsIuVUBT4FBQEUm9dpB4iKrSLouWau+7pnP2d/S/+e/fSPOxczne++ebM+WdngFSKs4XIhJMBKdFBl4/61MAspHJzqIbUjBrlqig2aHTLm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