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