summaryrefslogtreecommitdiffstats
path: root/public/css
diff options
context:
space:
mode:
authorCherrg <michael@gnehr.de>2019-06-28 04:45:54 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2019-06-28 10:45:54 +0800
commit855ebbd206deb7c8a9d34031e1ecefa743aaa83c (patch)
treec57fbcf8f2e3223e459a1639b35aed99c974351e /public/css
parent7c0f2b9843f67ec49ea0038692648a531138a055 (diff)
downloadgitea-855ebbd206deb7c8a9d34031e1ecefa743aaa83c.tar.gz
gitea-855ebbd206deb7c8a9d34031e1ecefa743aaa83c.zip
gitea own dark codemirror theme (#7317)
* modify dark codemirror theme fix #6573 Signed-off-by: Michael Gnehr <michael@gnehr.de> * add selection color Signed-off-by: Michael Gnehr <michael@gnehr.de>
Diffstat (limited to 'public/css')
-rw-r--r--public/css/theme-arc-green.css30
1 files changed, 26 insertions, 4 deletions
diff --git a/public/css/theme-arc-green.css b/public/css/theme-arc-green.css
index f165ea8c84..bb79c335d1 100644
--- a/public/css/theme-arc-green.css
+++ b/public/css/theme-arc-green.css
@@ -169,7 +169,6 @@ input{background:#2e323e}
.ui.bottom.attached.message{background-color:#2c662d;color:#87ab63}
.ui.bottom.attached.message .pull-right{color:#87ab63}
.ui.info.message{background-color:#2c3b4a;color:#9ebcc5}
-.CodeMirror div.CodeMirror-cursor{border-left:1px solid #9e9e9e}
.ui .warning.header{background-color:#5d3a22!important;border-color:#794f31}
.ui.red.message{background-color:rgba(80,23,17,.6);color:#f9cbcb;box-shadow:0 0 0 1px rgba(121,71,66,.5) inset,0 0 0 0 transparent}
.ui.red.button,.ui.red.buttons .button{background-color:#7d3434}
@@ -219,8 +218,6 @@ a.ui.label:hover,a.ui.labels .label:hover{background-color:#505667;color:#dbdbdb
.ui.modal>.content{background:#383c4a}
.editor-toolbar{background-color:#404552}
.editor-toolbar a{color:#87ab63!important}
-.CodeMirror{color:#9daccc;background-color:#2b2b2b;border-top:0}
-.CodeMirror-gutters{background-color:#2b2b2b}
.repository .diff-detail-box{background-color:#383c4a}
.repository .diff-detail-box .detail-files{background-color:inherit}
.comment-code-cloud .ui.attached.tabular.menu{background:none transparent;border:0}
@@ -229,4 +226,29 @@ a.ui.label:hover,a.ui.labels .label:hover{background-color:#505667;color:#dbdbdb
.ui.comments .comment .author{color:#dbdbdb}
.ui.comments .comment .metadata{color:#808084}
.ui.comments .comment .text{color:#9e9e9e}
-.heatmap-color-0{background-color:#2d303b} \ No newline at end of file
+.heatmap-color-0{background-color:#2d303b}
+.CodeMirror{color:#9daccc;background-color:#2b2b2b;border-top:0}
+.CodeMirror div.CodeMirror-cursor{border-left:1px solid #9e9e9e}
+.CodeMirror .CodeMirror-gutters{background-color:#2b2b2b}
+.CodeMirror .CodeMirror-selected,.CodeMirror ::-moz-selection,.CodeMirror ::selection{background:#42402f!important}
+.CodeMirror.cm-s-default .cm-property,.CodeMirror.cm-s-paper .cm-property{color:#a0cc75}
+.CodeMirror.cm-s-default .cm-header,.CodeMirror.cm-s-paper .cm-header{color:#9daccc}
+.CodeMirror.cm-s-default .cm-quote,.CodeMirror.cm-s-paper .cm-quote{color:#090}
+.CodeMirror.cm-s-default .cm-keyword,.CodeMirror.cm-s-paper .cm-keyword{color:#cc8a61}
+.CodeMirror.cm-s-default .cm-atom,.CodeMirror.cm-s-paper .cm-atom{color:#ef5e77}
+.CodeMirror.cm-s-default .cm-number,.CodeMirror.cm-s-paper .cm-number{color:#ff5656}
+.CodeMirror.cm-s-default .cm-def,.CodeMirror.cm-s-paper .cm-def{color:#e4e4e4}
+.CodeMirror.cm-s-default .cm-variable-2,.CodeMirror.cm-s-paper .cm-variable-2{color:#00bdbf}
+.CodeMirror.cm-s-default .cm-variable-3,.CodeMirror.cm-s-paper .cm-variable-3{color:#085}
+.CodeMirror.cm-s-default .cm-comment,.CodeMirror.cm-s-paper .cm-comment{color:#8e9ab3}
+.CodeMirror.cm-s-default .cm-string,.CodeMirror.cm-s-paper .cm-string{color:#a77272}
+.CodeMirror.cm-s-default .cm-string-2,.CodeMirror.cm-s-paper .cm-string-2{color:#f50}
+.CodeMirror.cm-s-default .cm-meta,.CodeMirror.cm-s-default .cm-qualifier,.CodeMirror.cm-s-paper .cm-meta,.CodeMirror.cm-s-paper .cm-qualifier{color:#ffb176}
+.CodeMirror.cm-s-default .cm-builtin,.CodeMirror.cm-s-paper .cm-builtin{color:#b7c951}
+.CodeMirror.cm-s-default .cm-bracket,.CodeMirror.cm-s-paper .cm-bracket{color:#997}
+.CodeMirror.cm-s-default .cm-tag,.CodeMirror.cm-s-paper .cm-tag{color:#f1d273}
+.CodeMirror.cm-s-default .cm-attribute,.CodeMirror.cm-s-paper .cm-attribute{color:#bfcc70}
+.CodeMirror.cm-s-default .cm-hr,.CodeMirror.cm-s-paper .cm-hr{color:#999}
+.CodeMirror.cm-s-default .cm-url,.CodeMirror.cm-s-paper .cm-url{color:#c5cfd0}
+.CodeMirror.cm-s-default .cm-link,.CodeMirror.cm-s-paper .cm-link{color:#d8c792}
+.CodeMirror.cm-s-default .cm-error,.CodeMirror.cm-s-paper .cm-error{color:#dbdbeb} \ No newline at end of file