@import "~antd/lib/style/themes/default.less"; @import "../../utils/utils.less"; .iconGroup { i { transition: color 0.32s; color: @text-color-secondary; cursor: pointer; margin-left: 16px; &:hover { color: @text-color; } } } .rankingList { margin-top: 25px; li { .clearfix(); margin-top: 16px; span { color: @text-color; font-size: 14px; line-height: 22px; } span:first-child { background-color: @background-color-base; border-radius: 20px; display: inline-block; font-size: 12px; font-weight: 600; margin-right: 24px; height: 20px; line-height: 20px; width: 20px; text-align: center; } span.active { background-color: @primary-color; color: #fff; } span:last-child { float: right; } } } .salesExtra { display: inline-block; margin-right: 24px; a { color: @text-color; margin-left: 24px; &:hover { color: @primary-color; } } } .salesCard { :global { .ant-tabs-content { padding: 0 24px 24px 24px; } .ant-tabs-bar { padding-left: 24px; .ant-tabs-nav .ant-tabs-tab { padding-top: 16px; padding-bottom: 14px; line-height: 24px; } } .ant-tabs-extra-content { padding-right: 24px; line-height: 55px; } } } @media screen and (max-width: @screen-lg) { .salesExtra { display: none; } .rankingList { li { span:first-child { margin-right: 8px; } } } } @media screen and (max-width: @screen-sm) { .salesExtra { display: none; } .salesExtraWrap { position: absolute; top: 50px; left: 24px; } .salesCard { :global { .ant-tabs-content { padding-top: 30px; } } } }