This repository has been archived on 2024-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
staxman-old/static/css/editor.css
2023-11-30 01:57:45 +01:00

53 lines
No EOL
688 B
CSS

.editor form {
display: flex;
flex-direction: column;
gap: 1ch;
& .row {
display: flex;
gap: 0.5ch;
& input,
& button {
font-size: 13pt;
padding: 6px 10px;
&.wide {
padding: 6px 20px;
}
}
}
& .error {
border-radius: 3px;
background-color: var(--danger-bg);
color: var(--danger-text);
padding: 4px 8px;
display: none;
}
& noscript {
display: flex;
flex-direction: column;
}
}
textarea.nojs-editor {
border-width: 3px;
min-height: 50vh;
}
.ace_editor {
min-height: 50vh;
border: var(--table-border);
border-radius: 3px;
&.checked {
border-color: var(--success-bright);
}
&.err {
border-color: var(--danger-bright);
}
}