0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 03:21:45 +01:00
gitea/web_src/less/_editor.less

76 lines
1.3 KiB
Text
Raw Normal View History

2016-08-18 07:44:07 +02:00
.CodeMirror {
font: 14px @monospaced-fonts, monospace;
2019-05-13 08:26:32 +02:00
&.cm-s-default {
border-radius: 3px;
padding: 0 !important;
}
2019-05-13 08:26:32 +02:00
.cm-comment {
background: inherit !important;
}
}
2019-05-13 08:26:32 +02:00
.repository.file.editor .tab[data-tab="write"] {
padding: 0 !important;
}
2019-05-13 08:26:32 +02:00
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
border: 0 !important;
}
2019-05-13 08:26:32 +02:00
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
border-left: 0;
border-right: 0;
border-bottom: 0;
}
.editor-toolbar {
opacity: 1 !important;
}
.editor-toolbar a:not(:hover) {
background-color: transparent !important;
}
.editor-toolbar i.separator {
border-left: none;
}
.editor-loading {
padding: 1rem;
text-align: center;
}
.edit-diff {
padding: 0 !important;
}
.edit-diff > div > .ui.table {
border-top: none !important;
border-bottom: none !important;
border-left: 1px solid #d4d4d5 !important;
border-right: 1px solid #d4d4d5 !important;
}
#edit_area {
display: none;
}
.monaco-editor-container {
width: 100%;
min-height: 200px;
height: 90vh;
}
/* overwrite conflicting styles from fomantic */
.monaco-editor-container .inputarea {
min-height: 0 !important;
margin: 0 !important;
padding: 0 !important;
resize: none !important;
border: none !important;
color: transparent !important;
background-color: transparent !important;
}