tabletop-companion/app/assets/stylesheets/forms.css

43 lines
622 B
CSS
Raw Normal View History

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;
input, label {
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
fieldset, p, trix-editor {
grid-column: 1/3;
}
trix-editor {
background-color: var(--input-background);
}
2024-04-21 12:45:31 +00:00
}