2016-08-18 00:44:07 -05:00
|
|
|
.CodeMirror {
|
2020-10-19 15:01:06 -05:00
|
|
|
font: 14px var(--fonts-monospace);
|
2019-05-13 01:26:32 -05:00
|
|
|
|
2020-08-25 14:48:53 -05:00
|
|
|
&.cm-s-default {
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2019-05-13 01:26:32 -05:00
|
|
|
|
2020-08-25 14:48:53 -05:00
|
|
|
.cm-comment {
|
|
|
|
background: inherit !important;
|
|
|
|
}
|
2017-03-09 20:33:35 -05:00
|
|
|
}
|
2019-05-13 01:26:32 -05:00
|
|
|
|
2017-03-09 20:33:35 -05:00
|
|
|
.repository.file.editor .tab[data-tab="write"] {
|
2020-08-25 14:48:53 -05:00
|
|
|
padding: 0 !important;
|
2017-03-09 20:33:35 -05:00
|
|
|
}
|
2019-05-13 01:26:32 -05:00
|
|
|
|
2017-03-09 20:33:35 -05:00
|
|
|
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
|
2020-08-25 14:48:53 -05:00
|
|
|
border: 0 !important;
|
2017-03-09 20:33:35 -05:00
|
|
|
}
|
2019-05-13 01:26:32 -05:00
|
|
|
|
2017-03-09 20:33:35 -05:00
|
|
|
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
|
2020-08-25 14:48:53 -05:00
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
border-bottom: 0;
|
2017-03-09 20:33:35 -05:00
|
|
|
}
|
2020-02-22 23:32:15 -05:00
|
|
|
|
|
|
|
.editor-toolbar {
|
2020-08-25 14:48:53 -05:00
|
|
|
opacity: 1 !important;
|
2020-02-22 23:32:15 -05:00
|
|
|
}
|
|
|
|
|
2020-11-10 14:16:30 -05:00
|
|
|
.editor-toolbar button:not(:hover) {
|
2020-08-25 14:48:53 -05:00
|
|
|
background-color: transparent !important;
|
2020-05-23 06:59:40 -05:00
|
|
|
}
|
|
|
|
|
2020-02-22 23:32:15 -05:00
|
|
|
.editor-toolbar i.separator {
|
2020-08-25 14:48:53 -05:00
|
|
|
border-left: none;
|
2020-02-22 23:32:15 -05:00
|
|
|
}
|
2020-05-14 11:06:01 -05:00
|
|
|
|
|
|
|
.editor-loading {
|
2020-08-25 14:48:53 -05:00
|
|
|
padding: 1rem;
|
|
|
|
text-align: center;
|
2020-05-14 11:06:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.edit-diff {
|
2020-08-25 14:48:53 -05:00
|
|
|
padding: 0 !important;
|
2020-05-14 11:06:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.edit-diff > div > .ui.table {
|
2020-08-25 14:48:53 -05:00
|
|
|
border-top: none !important;
|
|
|
|
border-bottom: none !important;
|
2020-11-01 15:04:26 -05:00
|
|
|
border-left: 1px solid var(--color-secondary) !important;
|
|
|
|
border-right: 1px solid var(--color-secondary) !important;
|
2020-05-14 11:06:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.monaco-editor-container {
|
2020-08-25 14:48:53 -05:00
|
|
|
width: 100%;
|
|
|
|
min-height: 200px;
|
|
|
|
height: 90vh;
|
2020-05-14 11:06:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* overwrite conflicting styles from fomantic */
|
|
|
|
.monaco-editor-container .inputarea {
|
2020-08-25 14:48:53 -05:00
|
|
|
min-height: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
resize: none !important;
|
|
|
|
border: none !important;
|
|
|
|
color: transparent !important;
|
|
|
|
background-color: transparent !important;
|
2020-05-14 11:06:01 -05:00
|
|
|
}
|
2020-11-13 22:57:34 -05:00
|
|
|
|
|
|
|
.edit.githook .monaco-editor-container {
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
height: 70vh;
|
|
|
|
}
|