@import '~@equitysim/react-uikit/dist/styles/styleguide';

.c-upvote-button {
    $component: &;

    border: none;
    background: transparent;
    color: $seafoam;
    cursor: pointer;

    &:hover:not(&--disabled) {
        color: $seafoam-120;

        #{$component}__value {
            color: $seafoam-120;
        }
    }

    &--light {
        color: $white;

        &:hover:not(#{$component}--disabled) {
            color: $seafoam-20;

            #{$component}__value {
                color: $seafoam-20;
            }
        }

        #{$component}__value {
            color: $white;
        }
    }

    &--disabled {
        color: $grey-70;
        cursor: not-allowed;

        #{$component}__value {
            color: $grey-70;
        }

        &#{$component}--light {
            color: $grey-92;

            #{$component}__value {
                color: $grey-92;
            }
        }
    }

    &__icon {
        height: max-content;
        width: 1.2rem;

        margin-right: v-space(0.5);
    }

    &__value {
        @extend %number-value-sm;

        color: $seafoam;
    }
}
