@import "~antd/lib/style/themes/default.less"; @import "../../../utils/utils.less"; .trend { font-size: 0; height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .trendItem { display: inline-block; margin-right: 24px; color: @text-color; font-size: @font-size-base; line-height: 22px; height: 22px; .content { display: block; } .miniContent { display: none; } .title { margin-right: 8px; } .value { color: @heading-color; } .up, .down { color: @green-6; margin-left: 4px; position: relative; top: 1px; i { font-size: 12px; transform: scale(0.83); } } .down { color: @red-6; top: -1px; } } .trendItem:last-child { margin-right: 0; } .trendgray { .trend(); .trendItem { color: @text-color; } } .mini { .content { display: none; } .miniContent { display: block; } } .reset() { .trendItem { .content { display: block; } .miniContent { display: none; } } } @media screen and (max-width: @screen-xxl) { .reset(); .xxl { .content { display: none; } .miniContent { display: block; } } } @media screen and (max-width: @screen-xl) { .reset(); .xl { .content { display: none; } .miniContent { display: block; } } } @media screen and (max-width: @screen-lg) { .reset(); .lg { .content { display: none; } .miniContent { display: block; } } } // xlg @media screen and (max-width: 1400px) { .reset(); .xlg { .content { display: none; } .miniContent { display: block; } } } @media screen and (max-width: @screen-md) { .reset(); .md { .content { display: none; } .miniContent { display: block; } } } @media screen and (max-width: @screen-sm) { .reset(); .sm { .content { display: none; } .miniContent { display: block; } } } @media screen and (max-width: @screen-xs) { .reset(); .xs { .content { display: none; } .miniContent { display: block; } } }