// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. // // Copyright (c) 2015-2016 Andrey Antukh // Copyright (c) 2015-2016 Juan de la Cruz .main-content { display: flex; height: 100%; position: relative; } .dashboard-layout { background-color: $color-white; display: grid; grid-template-rows: 40px 1fr; grid-template-columns: 40px 180px 1fr; height: 100vh; & .library-bar { grid-row: 2; grid-column: 1 / span 2; } & .dashboard-content { grid-row: 1 / span 2; } } .settings-layout { background-color: $color-white; display: grid; grid-template-rows: 40px 1fr; grid-template-columns: 1fr; height: 100vh; & .settings-content { grid-row: 1; } } .dashboard-content { background-color: lighten($color-gray-10, 5%); display: flex; flex-direction: column; }