terrazzo-terminal 0.2.7

A simple web-based terminal emulator built on Terrazzo.
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    margin-top: 1px;
}

@mixin trz-font {
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-kerning: var(--font-kerning);
}

body {
    border: 0;

    --font-family: courier-new, courier, monospace;
    --font-size: 15px;
    --font-kerning: none;

    @include trz-font;

    --color: green;
    --link-color: green;
    --background-color: black;
    --padding: 5px;
    background-color: var(--background-color);
}

@mixin nowrap {
    overflow-x: hidden;
    text-overflow: hidden;
    white-space: nowrap;
}

@mixin no-scroll-bar {

    // Chrome, Safari and Opera
    &::-webkit-scrollbar {
        display: none;
    }

    // IE and Edge
    -ms-overflow-style: none;

    // Firefox
    scrollbar-width: none;
}

@mixin prevent-user-select {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
}

@mixin trz-icon($display: block,
    $size: 15px,
    $filter: invert(1)) {
    display: $display;
    height: $size;
    border: 0;
    margin: 0px;
    padding: 0px;
    filter: $filter;
}

#main {
    height: 100%;
}

@mixin trz-menu {
    position: absolute;
    left: 0;
    top: calc(var(--header-height) - 5px);

    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);

    z-index: 1000;

    display: flex;
    flex-direction: column;

    >li {
        &:hover {
            background-color: var(--link-color);
            cursor: pointer;
        }

        padding: var(--padding);
        margin: 0px;

        white-space: nowrap;
    }
}

@mixin trz-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    --header-height: 30px;
    height: var(--header-height);
}

@mixin trz-no-outline {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    outline: none;
}