0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-05 05:49:07 -05:00
penpot/frontend/resources/styles/main/layouts/main-layout.scss
2020-03-26 11:25:16 +01:00

47 lines
1,013 B
SCSS

// 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 <niwi@niwi.nz>
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
.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;
}