127.0.0.1:8000 budget / master src / scss / home.scss
master

Tree @master (Download .tar.gz)

home.scss @masterraw · history · blame

@import 'style.scss';

.field-group {
    border-left: 2px solid $blue;
}

.header {
    position: absolute;
    height: 40px;
    font-size: 40px;
    top: 2px;
    left: 18px;
    right: 80px;
    color: $blue;
    font-family: 'Leckerli One', sans-serif;
    text-shadow: -1px 1px 4px black;
}

.torso {
    padding-top: 60px;
}

.field-header {
    padding: 15px 0 15px 0;
    font-size: 20px;
}

.left-sidebar {
    display: inline-block;
    width: 160px;
    background: $background;
    overflow: auto;
}

.sidebar-item {
    padding: 20px;
    font-size: 20px;
    cursor: pointer;
}

.sidebar-item:hover {
    background-color: $hovered;
}

.sidebar-item.selected {
    background-color: $selected;
    border-right: 2px solid $blue;
}

.content {
    display: inline-block;
    vertical-align: top;
    margin-left: 40px;
    padding-right: 20px;
    width: calc(100vw - 226px);
    max-height: calc(100vh - 361px);
    overflow-y: auto;
    margin-right: -20px;
}

.field-wrapper {
    padding: 10px;
    display: inline-block;
    vertical-align: top;
}

.field-group-button {
    margin-top: 24px;
}

.file-upload-header {
    padding-bottom: 0;
}

.file-upload-wrapper {
    padding: 0 0 20px 0;
    margin: 10px 0 10px 0;
    border-bottom: 2px solid $blue;
    width: 100%;
}

.mobile-menu-icon {
    position: absolute;
    top: 12px;
    height: 30px;
    display: none;
    cursor: pointer;
}

.mobile-menu-icon.left {
    left: 12px;
}

.left-sidebar.open {
    left: 0;
}

/* Mobile CSS */
/* Left sidebar is fully collapsed and slides in on top left hamburger menu tap */
/* Header is centered */
@media only screen and (max-width: 800px) {
    .mobile-menu-icon {
        display: block;
    }

    .content {
        margin-left: 10px;
        padding-right: 10px;
        width: calc(100vw - 20px);
    }

    .header {
        text-align: center;
    }

    .left-sidebar {
        position: absolute;
        left: -161px;
        top: 60px;
        transition: all 350ms ease;
        border-right: 1px solid black;
        border-bottom: 1px solid black;
        border-top: 1px solid black;
        z-index: 1;
    }
}