@import 'font-faces';
@import 'variables';

.collection-switcher {
    height: $titlebar-height;
    display: flex;
    flex-direction: row;
    color: var(--theme-primary-text);
}

.collection-switcher-button {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.collection-switcher-active-collection {
    height: $titlebar-height;
    display: flex;
    align-items: center;
    flex: 1;
}

.collection-switcher-button__icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px !important;
    color: var(--theme-primary-text);
    z-index: 0;
}

.collection-switcher-button__updateindicator {
    position: absolute;
    top: 6px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background-color: var(--theme-accent-color) !important;
    z-index: 1;
}

.collection-switcher-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding-right: 80px;
}

.collection-switcher-icon {
    font-size: 24px;
    color: var(--theme-context-menu-secondary-text);
    margin: 0 8px 0 0;
}

.menu-button {
    display: flex !important;
    align-items: center;
}

.menu-command-item {
    position: absolute;
    top: 4px;
    right: 8px;
}

.menu-command-item-icon {
    font-size: 22px;
    color: var(--theme-context-menu-secondary-text);
    opacity: 0.5;
}

.menu-command-item-icon:hover {
    opacity: 1;
}
