Accounts: Add edit and delete pages; implement forms (no real actions yet)

This commit is contained in:
Lexi / Zoe 2021-07-31 00:34:35 +02:00
parent 4e8d879008
commit 7859ef77ee
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
9 changed files with 258 additions and 23 deletions

View file

@ -86,12 +86,8 @@ main.login_page {
border: 1px solid #666666;
}
main.login_page table td {
padding: 0.2em;
}
/* --- Text and other styling --- */
h2 {
h2, h4 {
margin: 0 0 0.5em 0;
}
@ -105,9 +101,9 @@ a:hover, a:focus {
text-decoration: underline;
}
.error {
.error_box {
background: #ff4444;
width: 30em;
max-width: 50em;
margin: 1em 0;
padding: 1em;
}
@ -134,7 +130,14 @@ button {
/* --- Tables --- */
table, tr, td, th {
table td, table th {
padding: 0.25em 0.5em;
}
table.bordered_table,
table.bordered_table tr,
table.bordered_table td,
table.bordered_table th {
border: 1px solid #999999;
border-collapse: collapse;
padding: 0.25em 0.5em;
@ -144,17 +147,15 @@ table, tr, td, th {
text-align: left;
}
/* --- Filter options --- */
.filter_options {
/* --- Boxes --- */
.filter_options,
.edit_box,
.confirmation_box {
border: 1px solid #999999;
padding: 1em;
margin: 1em 0;
}
.filter_options h4 {
margin: 0 0 0.5em 0;
}
/* --- Detail columns --- */
input#show_details_checkbox {
margin-bottom: 1em;
@ -163,3 +164,13 @@ input#show_details_checkbox {
input#show_details_checkbox:not(:checked) ~ table .detail_column {
display: none;
}
/* --- Edit box --- */
.edit_box p:last-child {
margin-bottom: 0;
}
/* --- Confirmation box --- */
.confirmation_box p:first-child {
margin-top: 0;
}