Skip to content

Usenet streaming with a WebDAV server and a SABnzbd-compatible API

C#
1.4 KB
Raw Blame
.container {
    color: white;
    font-family: helvetica;
    max-width: 100%;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
}

.top-navigation {
    background-color: var(--top-nav-background-color);
    height: var(--top-nav-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.page {
    max-width: 100%;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
}

.left-navigation {
    background-color: var(--left-nav-background-color);
    max-width: var(--left-nav-width);
    min-width: var(--left-nav-width);
    min-height: calc(100% - var(--top-nav-height));
    position: fixed;
    left: 0;
    z-index: 999;
    top: var(--top-nav-height);
}

.body {
    top: var(--top-nav-height);
    position: absolute;
    left: var(--bodyLeft);
    max-width: var(--width);
    min-width: var(--width);
    min-height: var(--height);
    padding: var(--padding);
    --bodyLeft: var(--left-nav-width);
    --width: calc(100% - 2 * var(--padding) - var(--bodyLeft));
    --height: calc(100% - 2 * var(--padding) - var(--top-nav-height));
    --padding: 0px;
}


/* mobile */
@media not (min-width: 900px)  {
    .left-navigation {
        display: none;
    }

    .body {
        --bodyLeft: 0px;
    }

    .container.hamburger-open .left-navigation {
        display: block;
    }

    .container.hamburger-open .body {
        filter: brightness(50%) blur(2px);
    }
}