2016-08-18 11:14:07 +05:30
|
|
|
.CodeMirror {
|
2020-10-20 01:31:06 +05:30
|
|
|
font: 14px var(--fonts-monospace);
|
2019-05-13 11:56:32 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.cm-s-default {
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2019-05-13 11:56:32 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.cm-comment {
|
|
|
|
background: inherit !important;
|
|
|
|
}
|
2017-03-10 07:03:35 +05:30
|
|
|
}
|
2019-05-13 11:56:32 +05:30
|
|
|
|
2017-03-10 07:03:35 +05:30
|
|
|
.repository.file.editor .tab[data-tab="write"] {
|
2020-08-26 01:18:53 +05:30
|
|
|
padding: 0 !important;
|
2017-03-10 07:03:35 +05:30
|
|
|
}
|
2019-05-13 11:56:32 +05:30
|
|
|
|
2017-03-10 07:03:35 +05:30
|
|
|
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
|
2020-08-26 01:18:53 +05:30
|
|
|
border: 0 !important;
|
2017-03-10 07:03:35 +05:30
|
|
|
}
|
2019-05-13 11:56:32 +05:30
|
|
|
|
2017-03-10 07:03:35 +05:30
|
|
|
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
|
2020-08-26 01:18:53 +05:30
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
border-bottom: 0;
|
2017-03-10 07:03:35 +05:30
|
|
|
}
|
2020-02-23 10:02:15 +05:30
|
|
|
|
|
|
|
.editor-toolbar {
|
2020-08-26 01:18:53 +05:30
|
|
|
opacity: 1 !important;
|
2020-02-23 10:02:15 +05:30
|
|
|
}
|
|
|
|
|
2020-05-23 17:29:40 +05:30
|
|
|
.editor-toolbar a:not(:hover) {
|
2020-08-26 01:18:53 +05:30
|
|
|
background-color: transparent !important;
|
2020-05-23 17:29:40 +05:30
|
|
|
}
|
|
|
|
|
2020-02-23 10:02:15 +05:30
|
|
|
.editor-toolbar i.separator {
|
2020-08-26 01:18:53 +05:30
|
|
|
border-left: none;
|
2020-02-23 10:02:15 +05:30
|
|
|
}
|
2020-05-14 21:36:01 +05:30
|
|
|
|
|
|
|
.editor-loading {
|
2020-08-26 01:18:53 +05:30
|
|
|
padding: 1rem;
|
|
|
|
text-align: center;
|
2020-05-14 21:36:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.edit-diff {
|
2020-08-26 01:18:53 +05:30
|
|
|
padding: 0 !important;
|
2020-05-14 21:36:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.edit-diff > div > .ui.table {
|
2020-08-26 01:18:53 +05:30
|
|
|
border-top: none !important;
|
|
|
|
border-bottom: none !important;
|
2020-11-02 01:34:26 +05:30
|
|
|
border-left: 1px solid var(--color-secondary) !important;
|
|
|
|
border-right: 1px solid var(--color-secondary) !important;
|
2020-05-14 21:36:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
#edit_area {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: none;
|
2020-05-14 21:36:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.monaco-editor-container {
|
2020-08-26 01:18:53 +05:30
|
|
|
width: 100%;
|
|
|
|
min-height: 200px;
|
|
|
|
height: 90vh;
|
2020-05-14 21:36:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
/* overwrite conflicting styles from fomantic */
|
|
|
|
.monaco-editor-container .inputarea {
|
2020-08-26 01:18:53 +05:30
|
|
|
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 21:36:01 +05:30
|
|
|
}
|