@import 'variables';

:host {
    display: block;
    align-items: center;
    height: 2.5rem;
}

.active-channel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-xs);
    color: var(--color-left-nav-text);
    background-color: var(--color-weight-150);
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: var(--border-radius-lg);
    padding: var(--space-unit) calc(var(--space-unit) * 2);

    &:hover {
        background-color: var(--color-component-bg-100);
        color: var(--color-left-nav-text-hover);
    }

    clr-icon {
        color: var(--color-left-nav-text);
    }
    @media screen and (max-width: $breakpoint-medium) {
        justify-content: center;
    }
}

.channel-label {
    margin: 0 3px;
    overflow: hidden;
    flex: 1;
    max-width: 100px;
    text-overflow: ellipsis;
    @media screen and (max-width: $breakpoint-medium) {
        display: none;
    }
}
