0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-07 23:08:24 -05:00
penpot/frontend/resources/styles/main/layouts/main-layout.scss

36 lines
815 B
SCSS
Raw Normal View History

2016-03-01 20:39:13 +02:00
// 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>
2015-06-18 19:35:50 +02:00
.main-content {
display: flex;
height: 100%;
position: relative;
}
2015-12-15 12:58:49 +01:00
2020-03-10 13:26:07 +01:00
.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;
}
}
2015-12-15 12:58:49 +01:00
.dashboard-content {
2020-03-10 13:26:07 +01:00
background-color: lighten($color-gray-10, 5%);
2015-12-15 12:58:49 +01:00
display: flex;
flex-direction: column;
}