Files
pybricks-code/src/editor/editor.scss
T
David Lechner 2ba6d88c49 editor: remove gutter background override
This was carried over from the Ace editor, but doesn't work well with
the Monaco editor.

Fixes: https://github.com/pybricks/pybricks-code/issues/472
2021-07-08 15:57:16 -05:00

33 lines
627 B
SCSS

// SPDX-License-Identifier: MIT
// Copyright (c) 2020-2021 The Pybricks Authors
// Custom styling for the Editor control.
@import '../variables.scss';
// add "BETA" watermark
.pb-beta .editor-scrollable::after {
content: '';
background: url('./beta.svg');
opacity: 1;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
pointer-events: none;
}
.#{$ns}-dark .pb-editor-placeholder {
color: $pt-dark-text-color-muted;
}
.pb-editor-placeholder {
pointer-events: none;
width: max-content;
color: $pt-text-color-muted;
font-style: italic;
padding-left: 4px;
}