summaryrefslogtreecommitdiffstats
path: root/web_src/less/_editor.less
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/less/_editor.less')
-rw-r--r--web_src/less/_editor.less26
1 files changed, 26 insertions, 0 deletions
diff --git a/web_src/less/_editor.less b/web_src/less/_editor.less
new file mode 100644
index 0000000000..453b8b433e
--- /dev/null
+++ b/web_src/less/_editor.less
@@ -0,0 +1,26 @@
+.CodeMirror {
+ font: 14px @monospaced-fonts, monospace;
+
+ &.cm-s-default {
+ border-radius: 3px;
+ padding: 0 !important;
+ }
+
+ .cm-comment {
+ background: inherit !important;
+ }
+}
+
+.repository.file.editor .tab[data-tab="write"] {
+ padding: 0 !important;
+}
+
+.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
+ border: 0 !important;
+}
+
+.repository.file.editor .tab[data-tab="write"] .CodeMirror {
+ border-left: 0;
+ border-right: 0;
+ border-bottom: 0;
+}