2023-05-10 03:20:37 +04:00
|
|
|
::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);
|
2023-05-23 03:03:37 +04:00
|
|
|
font: inherit;
|
|
|
|
max-width: 100%;
|
|
|
|
min-width: 100%; }
|
|
|
|
|
|
|
|
textarea { resize:vertical; }
|
2023-05-10 03:20:37 +04:00
|
|
|
|
|
|
|
form#add {
|
|
|
|
display: grid;
|
|
|
|
gap: .5rem;
|
|
|
|
grid-template-areas:
|
2023-09-25 18:49:26 +04:00
|
|
|
"b b b b"
|
|
|
|
"c t u a";
|
|
|
|
grid-template-columns: repeat(1fr, 3) .25fr;
|
2023-05-10 03:20:37 +04:00
|
|
|
max-width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
width: 100%; }
|
|
|
|
|
|
|
|
form#add select { grid-area: c; }
|
|
|
|
form#add input[name="title"] { grid-area: t; }
|
2023-09-25 00:23:06 +04:00
|
|
|
form#add input[name="url"] { grid-area: u; }
|
2023-05-23 03:03:37 +04:00
|
|
|
form#add textarea[name="body"] { grid-area: b; }
|
2023-05-10 03:20:37 +04:00
|
|
|
form#add button[type="submit"] { grid-area: a; }
|
|
|
|
|
|
|
|
form.edit {
|
|
|
|
display: grid;
|
|
|
|
gap: .5rem;
|
|
|
|
grid-template-areas:
|
2023-09-25 18:49:26 +04:00
|
|
|
"b b b b b"
|
|
|
|
"c t u e d";
|
|
|
|
grid-template-columns: 1fr 1fr 1fr .25fr .25fr;
|
2023-05-10 03:20:37 +04:00
|
|
|
max-width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
width: 100%; }
|
|
|
|
|
|
|
|
form.edit textarea { grid-area: b; }
|
2023-09-25 18:49:26 +04:00
|
|
|
form.edit select[name="category"] { grid-area: c; }
|
|
|
|
form.edit input[name="title"] { grid-area: t; }
|
|
|
|
form.edit input[name="url"] { grid-area: u; }
|
2023-05-10 03:20:37 +04:00
|
|
|
form.edit input[name="edit"] { grid-area: e; }
|
|
|
|
form.edit input[name="delete"] { grid-area: d; }
|