@import '../styles/_variables.scss';

.main {
    border-radius: 50%;
    height: 25px;
    width: 25px;
    border: $default-border;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    flex: none;
    cursor: pointer;
}

.inner {
    border-radius: 50%;
    height: 17px;
    width: 17px;
    position: relative;
    overflow: hidden;
}

/**
 * The "shine" element
 */

.shine:after {
    content: '';
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.13) 0%,
        rgba(255, 255, 255, 0.13) 77%,
        rgba(255, 255, 255, 0.13) 92%,
        rgba(255, 255, 255, 0.13) 100%
    );
}

/* Hover state - trigger effect */

.shine:hover:after {
    opacity: 1;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
}

/* Active state */

.shine:active:after {
    opacity: 0;
}

.empty-color-place-holder {
    opacity: 0.7;
}

.ban-icon:before {
    font-size: 21px;
    color: $clickable-item;
}

.highlight-border {
    border: 1px solid $text-on-light;
}
