penpot/frontend/src/app/main/ui/workspace.scss
2023-08-07 12:52:36 +02:00

41 lines
1 KiB
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) KALEIDOS INC
@import "refactor/common-refactor.scss";
// Work Sans
@include font-face("worksans", "WorkSans-Regular", normal);
@include font-face("worksans", "WorkSans-Medium", "500");
@include font-face("worksans", "WorkSans-Bold", bold);
// Space mono
@include font-face("spacemono", "SpaceMono-Regular", normal);
:global(:root) {
--s-4: 0.25rem;
--layer-indentation-size: calc(var(--s-4) * 5);
}
.workspace {
@extend .new-scrollbar;
width: 100vw;
height: 100%;
user-select: none;
display: grid;
grid-template-areas: "left-sidebar viewport right-sidebar";
grid-template-rows: 1fr;
grid-template-columns: auto 1fr auto;
.workspace-loader {
display: flex;
justify-content: center;
align-items: center;
grid-area: viewport;
svg {
fill: var(--icon-foreground);
}
}
}