waveterm/frontend/app/view/codeeditor/codeeditor.scss
Evan Simkowitz 2e91ee843c
Switch from Less to Scss (#1335)
Less hasn't received an update in over a year and the parser is missing
some modern syntax like relative colors so this switches us to scss
2024-11-21 16:05:04 -08:00

30 lines
647 B
SCSS

// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
.code-editor-wrapper {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow: hidden;
align-items: center;
justify-content: center;
.code-editor {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
.monaco-editor .slider {
background: rgba(255, 255, 255, 0.4);
border-radius: 4px;
transition: background 0.2s ease;
&:hover {
background: rgba(255, 255, 255, 0.6);
}
}
}
}