1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/ace-editor/ace-editor.scss
Alex Andreev 2da598b66e
Set scrollbar colors as global styles (#1484)
* Setting global webkit-scrollbar styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing usage of custom-scrollbar mixin

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Set overflow:auto on .Table

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing .drawer-content paddings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-25 10:25:37 +03:00

50 lines
719 B
SCSS

.AceEditor {
position: relative;
width: 100%;
height: 100%;
flex: 1;
z-index: 10;
.theme-light & {
border: 1px solid gainsboro;
}
> .editor {
position: absolute;
width: inherit;
height: inherit;
font-size: 90%;
}
// --Theme customization
.ace_gutter {
color: $textColorSecondary;
background-color: $mainBackground;
}
.ace_active-line,
.ace_gutter-active-line {
background: $mainBackground !important;
}
.ace_meta.ace_tag {
color: $textColorPrimary;
}
.ace_constant {
color: $lensBlue !important;
}
.ace_keyword {
color: $textColorAccent;
}
.ace_string {
color: $colorOk;
}
.ace_comment {
color: #808080;
}
}