Restore for as table

This commit is contained in:
Gabriel Augendre 2020-08-20 09:33:34 +02:00
parent 674bda6c1f
commit bb883a2274

View file

@ -140,6 +140,7 @@ tr:hover {
vertical-align: 15%; vertical-align: 15%;
} }
/* FORMS */
.helptext { .helptext {
color: var(--main3); color: var(--main3);
font-size: 80%; font-size: 80%;
@ -153,10 +154,14 @@ form table th {
vertical-align: top; vertical-align: top;
} }
form table tr:not(.required) th { form table tr th {
font-weight: normal; font-weight: normal;
} }
form tr.required th {
font-weight: bold;
}
form table tr { form table tr {
border-bottom: none; border-bottom: none;
} }
@ -177,7 +182,7 @@ form button[type=submit] {
cursor: pointer; cursor: pointer;
} }
form table tr.error, form table tr.error .helptext, .errorlist { form .error, form .error .helptext, .errorlist {
color: var(--error-text); color: var(--error-text);
background-color: var(--error-background); background-color: var(--error-background);
} }
@ -192,6 +197,11 @@ form table tr.error, form table tr.error .helptext, .errorlist {
margin-bottom: 0; margin-bottom: 0;
} }
textarea, input {
width: 100%;
}
/* COMMENTS */
.comment { .comment {
background-color: var(--background2); background-color: var(--background2);
border-radius: .5ex; border-radius: .5ex;
@ -210,6 +220,7 @@ form table tr.error, form table tr.error .helptext, .errorlist {
color: var(--main3); color: var(--main3);
} }
/* MESSAGES */
.messages p { .messages p {
background-color: var(--background2); background-color: var(--background2);
padding: .5ex 1ex; padding: .5ex 1ex;
@ -230,6 +241,7 @@ form table tr.error, form table tr.error .helptext, .errorlist {
color: var(--warning-text); color: var(--warning-text);
} }
/* LINKS */
a:hover, a:focus { a:hover, a:focus {
text-decoration: none; text-decoration: none;
background-color: var(--accent); background-color: var(--accent);