/* Licensed to the Chroma Control Contributors under one or more agreements. */
/* The Chroma Control Contributors licenses this file to you under the MIT license. */
/* See the LICENSE file in the project root for more information. */

.window-controls {
    flex-grow: 0;
    flex-shrink: 0;
    margin-left: auto;
}

.window-control {
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-family-sans-serif);
    font-size: var(--font-size);
    display: inline-block;
    position: relative;
    width: 45px;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: var(--foreground-color-tertiary);
    background-color: transparent;
    transition: background-color .25s ease;
    line-height: 10px;
}

    .window-control:hover {
        color: var(--foreground-color-tertiary);
        background-color: var(--background-color-inset);
    }

    .window-control:active {
        color: var(--foreground-color-neutral);
        background-color: var(--background-color-inset);
    }

    .window-control svg {
        fill: currentColor;
    }
