2020-03-17 09:09:20 +00:00
|
|
|
|
|
|
|
// stylelint-disable selector-class-pattern
|
|
|
|
// stylelint-disable selector-max-compound-selectors
|
|
|
|
// stylelint-disable stylelint-gitlab/duplicate-selectors
|
|
|
|
// stylelint-disable stylelint-gitlab/utility-classes
|
|
|
|
|
|
|
|
.blob-editor-container {
|
|
|
|
flex: 1;
|
|
|
|
height: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.vertical-center {
|
|
|
|
min-height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.monaco-editor .lines-content .cigr {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.monaco-editor .selected-text {
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.monaco-editor .view-lines {
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-readonly,
|
|
|
|
.editor.original {
|
|
|
|
.view-lines {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cursors-layer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-deleted {
|
|
|
|
.editor.modified {
|
|
|
|
.margin-view-overlays,
|
|
|
|
.lines-content,
|
|
|
|
.decorationsOverviewRuler {
|
|
|
|
// !important to override monaco inline styles
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffOverviewRuler.modified {
|
|
|
|
// !important to override monaco inline styles
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-added {
|
|
|
|
.editor.original {
|
|
|
|
.margin-view-overlays,
|
|
|
|
.lines-content,
|
|
|
|
.decorationsOverviewRuler {
|
|
|
|
// !important to override monaco inline styles
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffOverviewRuler.original {
|
|
|
|
// !important to override monaco inline styles
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
2020-05-05 09:09:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.multi-file-editor-holder {
|
|
|
|
height: 100%;
|
|
|
|
min-height: 0; // firefox fix
|
|
|
|
}
|
2020-03-17 09:09:20 +00:00
|
|
|
|
2020-05-05 12:09:31 +00:00
|
|
|
// Apply theme related overrides only to the white theme and none theme
|
|
|
|
.theme-white .blob-editor-container,
|
|
|
|
.theme-none .blob-editor-container {
|
2020-05-05 09:09:37 +00:00
|
|
|
.monaco-diff-editor {
|
2020-03-17 09:09:20 +00:00
|
|
|
.editor.modified {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diagonal-fill {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffOverview {
|
2020-03-31 00:08:09 +00:00
|
|
|
background-color: $white;
|
2020-03-17 09:09:20 +00:00
|
|
|
border-left: 1px solid $white-dark;
|
|
|
|
cursor: ns-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffViewport {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.char-insert {
|
|
|
|
background-color: $line-added-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.char-delete {
|
|
|
|
background-color: $line-removed-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-numbers {
|
|
|
|
color: $black-transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-overlays {
|
|
|
|
.line-insert {
|
|
|
|
background-color: $line-added;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-delete {
|
|
|
|
background-color: $line-removed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.margin {
|
2020-03-31 00:08:09 +00:00
|
|
|
background-color: $white;
|
2020-03-17 09:09:20 +00:00
|
|
|
border-right: 1px solid $gray-100;
|
|
|
|
|
|
|
|
.line-insert {
|
|
|
|
border-right: 1px solid $line-added-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-delete {
|
|
|
|
border-right: 1px solid $line-removed-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.margin-view-overlays .insert-sign,
|
|
|
|
.margin-view-overlays .delete-sign {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-05 12:09:31 +00:00
|
|
|
.theme-white .multi-file-editor-holder,
|
|
|
|
.theme-none .multi-file-editor-holder {
|
2020-05-05 09:09:37 +00:00
|
|
|
&.is-readonly,
|
|
|
|
.editor.original {
|
2020-03-17 09:09:20 +00:00
|
|
|
.monaco-editor,
|
|
|
|
.monaco-editor-background,
|
|
|
|
.monaco-editor .inputarea.ime-input {
|
2020-05-20 00:08:20 +00:00
|
|
|
background-color: $gray-10;
|
2020-03-17 09:09:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|