mirror of
https://github.com/penpot/penpot.git
synced 2026-08-31 09:09:00 +00:00
* 🔧 Add SCSS linter (stylelint) * ✨ Fix default standard scss errors with extends - WIP * ✨ Fix default standard scss errors * ✨ Update and cleanup * ✨ Update and cleanup * ✨ Update and cleanup * 🐛 Fix broken visual regression tests * 📎 Add to CHANGES * ♻️ Remove unused class
63 lines
1.2 KiB
SCSS
63 lines
1.2 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
|
|
|
|
@use "ds/_sizes.scss" as *;
|
|
|
|
.tool-window {
|
|
position: relative;
|
|
display: grid;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.tab-spacing {
|
|
margin-inline-end: var(--sp-m);
|
|
}
|
|
|
|
.content-class {
|
|
overflow: hidden auto;
|
|
height: calc(100vh - #{$sz-96});
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
.element-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--sp-s);
|
|
width: 100%;
|
|
|
|
/* FIXME: This is hacky and prone to break, we should tackle the whole layout
|
|
of the sidebar differently */
|
|
--sidebar-element-options-height: calc(100vh - #{$sz-88});
|
|
|
|
height: var(--sidebar-element-options-height);
|
|
padding-block-start: var(--sp-s);
|
|
}
|
|
|
|
.read-only {
|
|
grid-template-areas: "right-sidebar";
|
|
padding: var(--sp-s);
|
|
}
|
|
|
|
.design-options,
|
|
.interaction-options {
|
|
overflow: auto;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
.design-options {
|
|
padding-inline: var(--sp-m);
|
|
}
|
|
|
|
.inspect {
|
|
scrollbar-gutter: unset;
|
|
}
|
|
|
|
.options-tab-switcher {
|
|
--tabs-nav-padding-inline-start: var(--sp-m);
|
|
--tabs-nav-padding-inline-end: var(--sp-m);
|
|
}
|