270 lines
3.7 KiB
CSS
270 lines
3.7 KiB
CSS
html, body {
|
|
max-width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
/* -- Text and other styling -- */
|
|
h2, h4 {
|
|
margin: 0 0 0.5em 0;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: #dc00af;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover, a:focus {
|
|
color: #0066ff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.monospace {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
/* -- Header -- */
|
|
header {
|
|
margin: 1rem;
|
|
padding: 0 1rem;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-between;
|
|
align-content: center;
|
|
align-items: baseline;
|
|
}
|
|
|
|
header > * {
|
|
margin: 1rem;
|
|
}
|
|
|
|
header > .header_appversion {
|
|
font-size: 0.75rem;
|
|
color: #767676;
|
|
}
|
|
|
|
header > .header_appversion > a {
|
|
color: inherit;
|
|
}
|
|
|
|
header > .header_spacer {
|
|
width: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
flex: 1 0 0;
|
|
}
|
|
|
|
/* -- 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: #cb009a;
|
|
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;
|
|
}
|
|
|
|
nav li.nav_current_page a:link,
|
|
nav li.nav_current_page a:visited
|
|
{
|
|
color: #dc00af;
|
|
}
|
|
|
|
nav li.nav_current_page a:hover,
|
|
nav li.nav_current_page a:focus {
|
|
color: #0066ff;
|
|
}
|
|
|
|
/* -- Main section -- */
|
|
main {
|
|
margin: 2rem;
|
|
}
|
|
|
|
/* -- Login page -- */
|
|
main.login_page {
|
|
margin: 2rem;
|
|
padding: 1rem;
|
|
border: 1px solid #666666;
|
|
width: 40rem;
|
|
}
|
|
|
|
/* -- 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: #ff6666;
|
|
}
|
|
|
|
.error_box a:link,
|
|
.error_box a:visited {
|
|
color: #520077;
|
|
}
|
|
|
|
.error_box a:hover,
|
|
.error_box a:focus {
|
|
color: #0000b0;
|
|
}
|
|
|
|
.success_box {
|
|
background: #33ff33;
|
|
}
|
|
|
|
.success_box a:link,
|
|
.success_box a:visited {
|
|
color: #b70090;
|
|
}
|
|
|
|
.success_box a:hover,
|
|
.success_box a:focus {
|
|
color: #0000b0;
|
|
}
|
|
|
|
/* -- Detail boxes -- */
|
|
details {
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
details > summary {
|
|
cursor: pointer;
|
|
}
|
|
|
|
details > p {
|
|
margin: 0.75rem 1rem;
|
|
}
|
|
|
|
/* -- 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;
|
|
}
|