1
0
dwelling-home/web/assets/css/mindflow_admin.css

47 lines
1.0 KiB
CSS

::placeholder { color: var(--primary-color); }
input[type=text],
select,
textarea {
background-color: var(--background-color);
border: none;
border-bottom: 1px solid var(--primary-color);
color: var(--text-color);
font: inherit; }
form#add {
display: grid;
gap: .5rem;
grid-template-areas:
"c n"
"t t"
"b b"
"a a";
grid-template-columns: 1fr 1fr;
max-width: 100%;
min-width: 100%;
width: 100%; }
form#add select { grid-area: c; }
form#add input[name="new-category"] { grid-area: n; }
form#add input[name="title"] { grid-area: t; }
form#add textarea[name="body"] {
grid-area: b;
max-width: 100%;
min-width: 100%; }
form#add button[type="submit"] { grid-area: a; }
form.edit {
display: grid;
gap: .5rem;
grid-template-areas:
"b b"
"e d";
grid-template-columns: 1fr 1fr;
max-width: 100%;
min-width: 100%;
width: 100%; }
form.edit textarea { grid-area: b; }
form.edit input[name="edit"] { grid-area: e; }
form.edit input[name="delete"] { grid-area: d; }