@import "mixins/mixins";
@import "common/var";

@include b(weight-strip) {
    display: inline-block;
    .el-weight-strip--content {
        display: flex;
        margin-bottom: 8px;

        &>div {
            &:not(:last-child) {
                margin-right: 4px;
            }
        }

        &>span {
            padding-left: 4px;
            padding-top: 24px;
            font-size: 14px;
            color: $--color-text-regular;
        }

        &.is-disabled {
            opacity: 0.3;
            cursor: not-allowed;

            .el-weight-strip__bottom {
                cursor: not-allowed;
            }
        }
    }

    .el-weight-strip--tip {
        font-size: 12px;
        color: $--color-text-secondary;
    }

    @include e(top) {
        height: 31px;
        .water {
            position: relative;
            i {
                position: relative;
                left: 50%;
                transform: translateX(-50%);
                font-size: 30px;
            }
            span {
                position: absolute;
                top: 2px;
                left: 50%;
                transform: translateX(-50%);
                font-size: 14px;
                color: $--color-white;
            }
        }
    }

    @include e(bottom) {
        width: 44px;
        height: 8px;
        cursor: pointer;

        &.is-single-disabled {
            cursor: not-allowed;
        }
    }
}