staxman-old/static/css/editor.css

54 lines
708 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;
white-space: pre;
}
& 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);
}
}