| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- @import "../../../../themes//t.cell.scss";
- @import "../../report-common.scss";
- @import "../../../../themes/card.scss";
- /* module/health/components/report-health-index/report-health-index.wxss */
- .health-index {
- $size: 10px;
- $gap: 12px;
- background-color: transparent;
- &__title {
- display: flex;
- flex-direction: row;
- align-items: center;
- }
- &__slider {
- position: relative;
- height: $size * 6;
- font-size: 12px;
- padding: 8px 0;
- .value {
- position: absolute;
- top: $size - 4px;
- display: flex;
- &.normal {
- color: #38FF6E;
- transform: translateX(-50%);
- }
- &.big {
- flex-direction: row-reverse;
- color: #FF611B;
- transform: translateX(-98%);
- .description {
- margin-right: 4px;
- }
- }
- &.small {
- flex-direction: row;
- color: #FF611B;
- transform: translateX(-2%);
- .description {
- margin-left: 4px;
- }
- }
- }
- .track {
- position: absolute;
- top: $size * 3;
- height: $size;
- border-radius: $size;
- &__bg {
- left: 0;
- right: 0;
- background-color: #143731;
- }
- &__value {
- background-color: #FF611B;
- }
- &__scope {
- background-color: #38FF6E;
- }
- &__point {
- width: $size;
- height: $size;
- border: 1px solid #38FF6E;
- border-radius: 50%;
- box-sizing: content-box;
- transform: translate(-50%, -1px);
- background-color: #fff;
- &.small,
- &.big {
- border-color: #FF611B;
- }
- }
- }
- .point {
- position: absolute;
- top: $size * 4 + 4px;
- &__left {
- transform: translateX(-50%);
- }
- &__right {
- transform: translateX(50%);
- }
- }
- }
- }
|