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

54 lines
708 B
CSS
Raw Normal View History

2023-11-23 13:18:00 +00:00
.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;
}
}
}
2023-11-24 23:45:54 +00:00
& .error {
border-radius: 3px;
2023-11-25 00:29:19 +00:00
background-color: var(--danger-bg);
color: var(--danger-text);
2023-11-24 23:45:54 +00:00
padding: 4px 8px;
display: none;
2024-03-30 18:49:59 +00:00
white-space: pre;
2023-11-24 23:45:54 +00:00
}
2023-11-30 00:57:45 +00:00
& noscript {
display: flex;
flex-direction: column;
}
2023-11-23 13:18:00 +00:00
}
2023-11-30 00:57:45 +00:00
textarea.nojs-editor {
2023-11-23 13:18:00 +00:00
border-width: 3px;
min-height: 50vh;
}
.ace_editor {
min-height: 50vh;
2023-11-25 00:29:19 +00:00
border: var(--table-border);
2023-11-23 13:18:00 +00:00
border-radius: 3px;
2023-11-24 23:45:54 +00:00
&.checked {
2023-11-25 00:29:19 +00:00
border-color: var(--success-bright);
2023-11-24 23:45:54 +00:00
}
&.err {
2023-11-25 00:29:19 +00:00
border-color: var(--danger-bright);
2023-11-24 23:45:54 +00:00
}
2023-11-23 13:18:00 +00:00
}