Files
pybricks-code/src/app/app.scss
T
David Lechner cdd74706c5 toolbar is not a navbar
This adds custom styling for the toolbar (inspired by blueprintsjs
navbar). But this lets us use the correct role and not fight the
navbar styling so much.
2021-02-01 13:02:07 -06:00

38 lines
869 B
SCSS

// SPDX-License-Identifier: MIT
// Copyright (c) 2020-2021 The Pybricks Authors
// Custom styling for the App control.
@import '../variables.scss';
.pb-app-body {
// height makes everything fit without scrolling
height: calc(
var(--pb-vh, 100vh) - #{$pb-toolbar-height} - #{$pb-status-bar-height}
) !important;
}
.#{$ns}-dark .splitter-layout > .layout-splitter {
// make layout splitter match app color scheme
background-color: $pt-dark-app-background-color;
}
.splitter-layout > .layout-splitter {
// make layout splitter match app color scheme
background-color: $pt-app-background-color;
}
.#{$ns}-dark .pb-app-terminal-padding {
background-color: black;
}
.pb-app-terminal-padding {
padding-left: 10px;
}
// hide the docs and resize separator
div.pb-hide-docs > :not(.layout-pane-primary) {
display: none;
}