@import '_deleteButton';

$linkColor: $clGreyTint;

.bg__link-type {
    position: relative;
    display: inline-block;
    background-color: $linkColor;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    display: inline-block;
    text-decoration: none;
    color: $clDark;
    margin-right: 5px;
    margin-bottom: 5px;
    min-width: 40px;

    &:hover {
        > .delete {
            display: block;
        }
    }

    transition: background-color 0.3s ease-out;

    &:hover,
    &:focus,
    &:active {
        background-color: mix($linkColor, white, 50%);
        color: $clDark;
        text-decoration: none;
    }

    > .delete {
        @include deleteButton();
    }
}
