mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
31 lines
585 B
SCSS
31 lines
585 B
SCSS
// SPDX-License-Identifier: MIT
|
|
// Copyright (c) 2020-2021 The Pybricks Authors
|
|
|
|
// Custom styling for the Editor control.
|
|
|
|
@import '../variables.scss';
|
|
|
|
// make ace editor match app backgound color
|
|
|
|
.#{$ns}-dark .ace_gutter {
|
|
background-color: $pt-dark-app-background-color;
|
|
}
|
|
|
|
.ace_gutter {
|
|
background-color: $pt-app-background-color;
|
|
}
|
|
|
|
// add "BETA" watermark
|
|
|
|
.pb-beta .ace_scroller::after {
|
|
content: "";
|
|
background: url("./images/beta.svg");
|
|
opacity: 1;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
position: absolute;
|
|
pointer-events: none
|
|
}
|