mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 10:18:38 +00:00
Extract CodeMirror styles (#17960)
- Extract CodeMirror-related styles to separate files - Generalize CodeMirror styles where possible - Improve fullscreen and side-by-side mode for dark theme Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
@@ -2040,26 +2040,8 @@
|
||||
}
|
||||
|
||||
&.new {
|
||||
.CodeMirror {
|
||||
.CodeMirror-code {
|
||||
font-family: var(--fonts-monospace);
|
||||
|
||||
.cm-comment {
|
||||
background: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.editor-preview {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.ui.attached.tabular.menu.previewtabs {
|
||||
margin-bottom: 15px;
|
||||
|
||||
& + .field .editor-toolbar:not(.fullscreen) a.fa-eye {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user