2024-05-30 08:07:54 +00:00
|
|
|
form, fieldset {
|
2024-04-21 12:45:31 +00:00
|
|
|
display: grid;
|
|
|
|
gap: 1rem;
|
|
|
|
grid-template-columns: 1fr 2fr;
|
|
|
|
|
2024-06-17 14:11:14 +00:00
|
|
|
input, label {
|
2024-04-21 12:45:31 +00:00
|
|
|
padding: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
grid-column: 1;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
grid-column: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="submit"] {
|
|
|
|
grid-column: 1/3;
|
|
|
|
}
|
2024-05-29 07:46:31 +00:00
|
|
|
|
|
|
|
.field_with_errors {
|
|
|
|
display: contents;
|
|
|
|
border: 1px solid var(--invalid-alert);
|
|
|
|
color: var(--invalid-alert);
|
|
|
|
}
|
|
|
|
|
|
|
|
.invalid-feedback {
|
|
|
|
grid-column: 2;
|
|
|
|
color: var(--invalid-alert);
|
|
|
|
font-size: .8em;
|
|
|
|
}
|
2024-05-30 08:07:54 +00:00
|
|
|
|
2024-05-30 14:30:25 +00:00
|
|
|
fieldset, p, trix-editor, hr {
|
2024-05-30 08:07:54 +00:00
|
|
|
grid-column: 1/3;
|
|
|
|
}
|
|
|
|
|
|
|
|
trix-editor {
|
|
|
|
background-color: var(--input-background);
|
|
|
|
}
|
2024-04-21 12:45:31 +00:00
|
|
|
}
|
2024-06-11 10:37:58 +00:00
|
|
|
|
2024-06-21 09:25:41 +00:00
|
|
|
form.stat-form {
|
2024-06-11 10:37:58 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2024-06-21 08:09:19 +00:00
|
|
|
|
2024-06-21 09:57:03 +00:00
|
|
|
.feature-box trix-toolbar {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature-box form.stat-form, .feature-box form.text-field-form {
|
2024-06-21 08:09:19 +00:00
|
|
|
display: block;
|
|
|
|
margin: 1em auto;
|
|
|
|
width: fit-content;
|
2024-06-21 11:46:12 +00:00
|
|
|
text-align: center;
|
2024-06-21 08:09:19 +00:00
|
|
|
}
|
2024-06-21 09:57:03 +00:00
|
|
|
|
|
|
|
.feature-box form.text-field-form {
|
|
|
|
width: 100%;
|
|
|
|
.trix-content, .trix-editor {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
2024-06-21 11:46:12 +00:00
|
|
|
|
|
|
|
.inline {
|
|
|
|
padding: .5em;
|
|
|
|
input {
|
|
|
|
padding: .2em;
|
|
|
|
height: auto;
|
|
|
|
min-width: 5em;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|