1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/packages/node_modules/@node-red/editor-client/src/sass/ace.scss

69 lines
2.1 KiB
SCSS
Raw Normal View History

2019-05-15 14:54:29 +02:00
.red-ui-editor, .red-ui-editor-dialog {
.ace_read-only {
.ace_scroller {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-text-editor-background-disabled);
color: var(--red-ui-text-editor-color-disabled);
2019-05-15 14:54:29 +02:00
}
.ace_cursor {
color: transparent !important;
}
}
.ace_gutter {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-text-editor-gutter-background);
2019-05-15 14:54:29 +02:00
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.ace_scroller {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-text-editor-background);
2019-05-15 14:54:29 +02:00
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
2022-06-18 22:05:25 +02:00
color: var(--red-ui-text-editor-color);
}
2019-05-15 14:54:29 +02:00
.ace_marker-layer .ace_active-line {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-text-editor-active-line-background);
2019-05-15 14:54:29 +02:00
}
.ace_marker-layer .ace_selection {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-text-editor-selection-background);
2019-05-15 14:54:29 +02:00
border-radius: 1px;
}
.ace_gutter-cell {
2022-06-18 22:05:25 +02:00
color: var(--red-ui-text-editor-gutter-color);
2019-05-15 14:54:29 +02:00
}
.ace_gutter-active-line {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-text-editor-gutter-active-line-background);
2019-05-15 14:54:29 +02:00
}
.ace_tooltip {
2022-06-18 22:05:25 +02:00
font-family: var(--red-ui-primary-font);
2019-05-15 14:54:29 +02:00
line-height: 1.4em;
max-width: 400px;
white-space: normal;
background-image: none;
2022-06-18 22:05:25 +02:00
background: var(--red-ui-popover-background);
color: var(--red-ui-popover-color);
2019-05-15 14:54:29 +02:00
border-radius: 4px;
@include component-shadow;
2022-06-18 22:05:25 +02:00
border-color: var(--red-ui-popover-background);
}
.ace_content {
line-height: 1;
}
2020-01-09 05:06:39 +01:00
textarea.ace_text-input {
overflow: hidden;
padding: 0px 1px !important;
}
2018-10-19 11:42:39 +02:00
2019-05-15 14:54:29 +02:00
#red-ui-event-log-editor {
.ace_scroller {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-event-log-background);
color: var(--red-ui-event-log-color);
2019-05-15 14:54:29 +02:00
}
.ace_marker-layer .ace_active-line {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-event-log-active-line-background);
2019-05-15 14:54:29 +02:00
}
.ace_marker-layer .ace_selection {
2022-06-18 22:05:25 +02:00
background: var(--red-ui-event-log-selection-background);
2019-05-15 14:54:29 +02:00
}
}
2018-10-19 11:42:39 +02:00
}