mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 23:24:25 +00:00
202803fc69
Ran most of the Less files through the Less compiler and Prettier and then followed up with a round of manual fixes. The Less compiler had unfortunately stripped all `//` style comments that I had to restore (It did preserve `/* */` comments). Other fixes include duplicate selector removal which were revealed after the transpilation and which weren't caught by stylelint before but now are. Fixes: https://github.com/go-gitea/gitea/issues/15565
34 lines
871 B
CSS
34 lines
871 B
CSS
.monaco-editor-container,
|
|
.editor-loading.is-loading {
|
|
width: 100%;
|
|
min-height: 200px;
|
|
height: 90vh;
|
|
}
|
|
|
|
.edit.githook .monaco-editor-container {
|
|
border: 1px solid var(--color-secondary);
|
|
height: 70vh;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* these seem unthemeable */
|
|
.monaco-scrollable-element > .scrollbar > .slider {
|
|
background: var(--color-primary) !important;
|
|
}
|
|
.monaco-scrollable-element > .scrollbar > .slider:hover {
|
|
background: var(--color-primary-dark-1) !important;
|
|
}
|
|
.monaco-scrollable-element > .scrollbar > .slider:active {
|
|
background: var(--color-primary-dark-2) !important;
|
|
}
|