mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 22:47:21 +00:00
Update JS dependencies and misc tweaks (#13741)
* Update JS dependencies and misc tweaks - Update all JS dependencies minus webpack - Adapt CodeMirrors styling to new CSS parent introduced by EasyMDE - Set eslint parser to latest and add new eslint 7.14 rule - Speed up npm install by disabling audit and fund checks - Move fomantic-ui to optional dependencies to further speed up npm - Enable syntax highlighting on GH for .eslintrc and .stylelintrc - Makefile cleanups * disable audit in npmrc * add missing dash Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
@ -1,6 +1,13 @@
|
||||
.CodeMirror {
|
||||
.EasyMDEContainer .CodeMirror {
|
||||
color: var(--color-input-text);
|
||||
background-color: var(--color-input-background);
|
||||
border-color: var(--color-secondary);
|
||||
font: 14px var(--fonts-monospace);
|
||||
|
||||
.CodeMirror-cursor {
|
||||
border-left: 1px solid var(--color-input-text);
|
||||
}
|
||||
|
||||
&.cm-s-default {
|
||||
border-radius: 3px;
|
||||
padding: 0 !important;
|
||||
@ -27,6 +34,7 @@
|
||||
|
||||
.editor-toolbar {
|
||||
opacity: 1 !important;
|
||||
border-color: var(--color-secondary);
|
||||
}
|
||||
|
||||
.editor-toolbar button:not(:hover) {
|
||||
|
Reference in New Issue
Block a user