@import "./base/context-menu-container.scss";
@import "./base/option.scss";

.os-menu-bar {
    width: 100%;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #d4d0c8;
    user-select: none
}

.os-menu-bar-container {
    @include os-base-context-menu-container;
}

.os-menu-bar-button {
    min-width: auto;
    padding: 3px 6px;
    box-sizing: border-box;
    font-size: 11px;
    border: none;
    background: transparent;
    cursor: default;

    &:hover {
        box-shadow:
            inset -1px -1px #d4d0c8, inset 1px 1px #dfdfdf,
            inset -2px -2px #808080, inset 2px 2px #ffffff;
    }

    &:active, &.os-active {
        box-shadow:
            inset 1px 1px #d4d0c8, inset -1px -1px #dfdfdf,
            inset 2px 2px #808080, inset -2px -2px #ffffff;
    }
}

.os-menu-bar-item {
    @include os-base-option;

    min-height: 17px;
    padding: 3px 17px;

    &:hover:not(.os-disabled) {
        background-color: rgb(var(--os-primary-color));
        color: #fff;
    }
}
