219 lines
3.0 KiB
CSS
219 lines
3.0 KiB
CSS
html, body {
|
|
max-width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
/* -- Header -- */
|
|
header {
|
|
margin: 1rem;
|
|
padding: 0 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
header h1 {
|
|
margin: 1rem;
|
|
}
|
|
|
|
/* -- Navigation bar -- */
|
|
nav {
|
|
}
|
|
|
|
nav ul {
|
|
display: flex;
|
|
margin: -1px 0 0 0;
|
|
padding: 0 1.5em;
|
|
border: 0;
|
|
border-bottom: 1px solid #000000;
|
|
}
|
|
|
|
nav ul li {
|
|
margin: 0 0 -1px -1px;
|
|
list-style: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
nav a {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0.5em 1em;
|
|
border: 1px solid #999999;
|
|
border-bottom-color: #000000;
|
|
}
|
|
|
|
nav a:link, nav a:visited {
|
|
background-color: #eeeeee;
|
|
color: #ff00e6;
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav a:hover, nav a:focus {
|
|
background-color: #ffffff;
|
|
color: #0066ff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
nav li.nav_current_page {
|
|
z-index: 10;
|
|
}
|
|
|
|
nav li.nav_current_page a {
|
|
background-color: #ffffff;
|
|
border-color: #000000;
|
|
border-bottom-color: #ffffff;
|
|
}
|
|
|
|
/* -- Main section -- */
|
|
main {
|
|
margin: 2rem;
|
|
}
|
|
|
|
/* -- Login page -- */
|
|
main.login_page {
|
|
margin: 2rem;
|
|
padding: 1rem;
|
|
border: 1px solid #666666;
|
|
width: 40rem;
|
|
}
|
|
|
|
/* -- Text and other styling -- */
|
|
h2, h4 {
|
|
margin: 0 0 0.5em 0;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: #ff00e6;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover, a:focus {
|
|
color: #0066ff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.gray {
|
|
color: gray;
|
|
}
|
|
|
|
.green {
|
|
color: green;
|
|
}
|
|
|
|
.red {
|
|
color: red;
|
|
}
|
|
|
|
button {
|
|
padding: 0.2em 1em;
|
|
}
|
|
|
|
.inactive {
|
|
color: gray;
|
|
}
|
|
|
|
.margin_vertical_1rem {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* -- Tables -- */
|
|
|
|
table td, table th {
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
table.bordered_table,
|
|
table.bordered_table tr,
|
|
table.bordered_table td,
|
|
table.bordered_table th {
|
|
border: 1px solid #999999;
|
|
border-collapse: collapse;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.vertical_table_headers th {
|
|
text-align: left;
|
|
}
|
|
|
|
/* -- Boxes -- */
|
|
.filter_options,
|
|
.form_box,
|
|
.confirmation_box,
|
|
.error_box,
|
|
.success_box {
|
|
margin: 1rem 0;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.filter_options,
|
|
.form_box,
|
|
.confirmation_box {
|
|
border: 1px solid #999999;
|
|
}
|
|
|
|
.form_box p,
|
|
.error_box p,
|
|
.success_box p {
|
|
margin: 0.75rem 0;
|
|
}
|
|
|
|
.form_box p:last-child,
|
|
.error_box p:last-child,
|
|
.success_box p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* -- Error / success boxes -- */
|
|
.error_box,
|
|
.success_box {
|
|
max-width: 50rem;
|
|
}
|
|
|
|
.error_box {
|
|
background: #ff4444;
|
|
}
|
|
|
|
.success_box {
|
|
background: #00cc00;
|
|
}
|
|
|
|
/* -- Detail boxes -- */
|
|
details {
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
details > summary {
|
|
cursor: pointer;
|
|
}
|
|
|
|
details > p {
|
|
margin: 0.75rem 1rem;
|
|
font-family: monospace;
|
|
}
|
|
|
|
/* -- Detail columns -- */
|
|
input#show_details_checkbox {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
input#show_details_checkbox:not(:checked) ~ table .detail_column {
|
|
display: none;
|
|
}
|
|
|
|
/* -- Confirmation box -- */
|
|
.confirmation_box p:first-child {
|
|
margin-top: 0;
|
|
}
|