summaryrefslogtreecommitdiffstats
path: root/web_src/less/_editor.less
blob: 714d41649a33a6e504fe305131ddff96d7e3c594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.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;
}

.editor-toolbar {
    opacity: 1 !important;
}

.editor-toolbar i.separator {
    border-left: none;
}