mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
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
33 lines
627 B
SCSS
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;
|
|
}
|