469 lines
8.6 KiB
CSS
469 lines
8.6 KiB
CSS
/*
|
|
* Do NOT modify this file:
|
|
* ------------------------
|
|
* If you want to add or modify classes, create a new
|
|
* CSS files and make it loaded after this one in the
|
|
* HTML header section of the index.html template file.
|
|
*/
|
|
|
|
@page {
|
|
size: 21cm 29.7cm;
|
|
margin: 30mm 45mm 30mm 45mm;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 10px;
|
|
font-family: 'Roboto Condensed';
|
|
background-color: var(--dark-bg);
|
|
}
|
|
|
|
div.content {
|
|
display: flex;
|
|
min-height: calc(100vh - 110px);
|
|
}
|
|
|
|
main > article {
|
|
flex: 1;
|
|
background-color: var(--clear-bg);
|
|
}
|
|
|
|
main > section.inline {
|
|
display: flex;
|
|
background-color: var(--clear-bg);
|
|
}
|
|
|
|
main > section.inline > article.left {
|
|
flex: 0 0 50%;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
main > section.inline > article.right {
|
|
flex: 1;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
div.content > nav.vertical {
|
|
flex: 0 0 200px;
|
|
border-right-color: var(--mid-bg);
|
|
border-right-style: solid;
|
|
border-right-width: 1px;
|
|
background: var(--seal_img);
|
|
background-repeat: no-repeat;
|
|
background-position: 40px 170px;
|
|
background-color: var(--clear-bg);
|
|
}
|
|
|
|
div.content > nav.vertical {
|
|
order: -1;
|
|
display: block;
|
|
}
|
|
|
|
div.content > nav.vertical > a {
|
|
display: block;
|
|
background-color: var(--clear-bg);
|
|
font-size: 20px;
|
|
color: var(--text-color);
|
|
padding: 5px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
div.content > nav.vertical > a:hover {
|
|
background-color: var(--coloured-bg);
|
|
color: var(--white);
|
|
cursor: pointer;
|
|
}
|
|
|
|
div.content > nav.vertical > a.selected {
|
|
background-color: var(--light-coloured-bg);
|
|
}
|
|
|
|
main {
|
|
color: var(--text-color);
|
|
background-color: var(--clear-bg);
|
|
width: 100%;
|
|
}
|
|
|
|
main > div.navbar_container {
|
|
text-align: center;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
main > div.navbar_container > ul.horizontal {
|
|
display: inline-block;
|
|
list-style-type: none;
|
|
margin: 10px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background-color: var(--white);
|
|
border-color: var(--coloured-bg);
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
color: var(--text-color);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
main > div.navbar_container > ul.horizontal > li {
|
|
float: left;
|
|
}
|
|
|
|
main > div.navbar_container > ul.horizontal > li > a {
|
|
display: block;
|
|
color: var(--text-color);
|
|
text-align: center;
|
|
padding: 5px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
main > div.navbar_container > ul.horizontal > li > a:hover {
|
|
background-color: var(--coloured-bg);
|
|
color: var(--white);
|
|
}
|
|
|
|
main > div.navbar_container > ul.horizontal > li > a.right_border {
|
|
border-right-color: var(--coloured-bg);
|
|
border-right-style: solid;
|
|
border-right-width: 1px;
|
|
}
|
|
|
|
main > div.navbar_container > ul.horizontal > li > a.selected {
|
|
background-color: var(--light-coloured-bg);
|
|
}
|
|
|
|
main > article {
|
|
padding: 10px;
|
|
color: var(--text-color);
|
|
display: block;
|
|
}
|
|
|
|
main > article.error,
|
|
main > article.error > p {
|
|
padding: 10px;
|
|
color: var(--text-color);
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
main > article > h3,
|
|
main > section.inline > article > h3 {
|
|
font-size: 30px;
|
|
color: var(--text-color);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
main > article > p,
|
|
main > article > ul,
|
|
main > article > ol {
|
|
color: var(--text-color);
|
|
text-align: justify;
|
|
text-justify: distribute;
|
|
}
|
|
|
|
main > hr {
|
|
border-color: var(--mid-bg);
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
}
|
|
|
|
main > article > img {
|
|
display:inline-block;
|
|
border-color: var(--mid-bg);
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
main > article > p > a,
|
|
main > article > ul > li > a {
|
|
color: var(--coloured-bg);
|
|
}
|
|
|
|
main > article > p > a:hover,
|
|
main > article > ul > li > a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
main > article.right > img {
|
|
float: right;
|
|
margin: 0 0 0px 10px;
|
|
}
|
|
|
|
main > article.left > img {
|
|
float: left;
|
|
margin: 0 10px 0px 0;
|
|
}
|
|
|
|
.noborder {
|
|
border-style: none;
|
|
}
|
|
|
|
header {
|
|
height: 65px;
|
|
font-size: 34px;
|
|
padding: 10px;
|
|
text-align: right;
|
|
color: var(--white);
|
|
background: var(--banner-logo);
|
|
background-repeat: no-repeat;
|
|
background-position: 10px;
|
|
text-shadow: 0 0 1px var(--black);
|
|
border-bottom-color: var(--dark-border);
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 1px;
|
|
border-top-color: var(--white);
|
|
border-top-style: solid;
|
|
border-top-width: 1px;
|
|
}
|
|
|
|
footer {
|
|
height: 35px;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
padding: 1em;
|
|
border-bottom-color: var(--white);
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 1px;
|
|
border-top-color: var(--dark-border);
|
|
border-top-style: solid;
|
|
border-top-width: 1px;
|
|
}
|
|
|
|
header,
|
|
footer {
|
|
background-color: var(--coloured-bg);
|
|
color: var(--white);
|
|
}
|
|
|
|
input[type='text'],
|
|
input[type='password'],
|
|
input[type='number'],
|
|
input[type='email'],
|
|
input[type='url'],
|
|
textarea,
|
|
select,
|
|
pre {
|
|
border-color: var(--dark-border);
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
background-color: var(--white);
|
|
color: var(--text-color);
|
|
padding: 5px;
|
|
font-family: 'Roboto Condensed';
|
|
margin: 5px;
|
|
}
|
|
|
|
pre {
|
|
border-color: var(--coloured-bg);
|
|
}
|
|
|
|
button,
|
|
input[type='button'],
|
|
input[type='submit'] {
|
|
border-color: var(--dark-border);
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
background-color: var(--coloured-bg);
|
|
color: var(--white);
|
|
font-weight: bold;
|
|
padding: 5px;
|
|
font-family: 'Roboto Condensed';
|
|
margin: 5px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
button:hover,
|
|
input[type='button']:hover,
|
|
input[type='submit']:hover,
|
|
input[type='file']:hover {
|
|
background-color: var(--light-coloured-bg);
|
|
color: var(--text-color);
|
|
cursor: pointer;
|
|
}
|
|
|
|
div.file_upload {
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 0;
|
|
padding: 0;
|
|
border-radius: 2px;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-color: var(--clear-bg);
|
|
}
|
|
|
|
input[type='file'] {
|
|
position: absolute;
|
|
width: 18px;
|
|
height: 18px;
|
|
left: 0;
|
|
top: 1px;
|
|
opacity: 0;
|
|
}
|
|
|
|
|
|
input.add,
|
|
input.edit,
|
|
input.login,
|
|
input.logout,
|
|
input.refresh,
|
|
input.save,
|
|
input.search,
|
|
input.trash,
|
|
input.upload,
|
|
input.print {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 0;
|
|
padding: 0;
|
|
border-radius: 2px;
|
|
border-style: none;
|
|
}
|
|
|
|
input.add:hover,
|
|
input.edit:hover,
|
|
input.login:hover,
|
|
input.logout:hover,
|
|
input.refresh:hover,
|
|
input.save:hover,
|
|
input.search:hover,
|
|
input.trash:hover,
|
|
input.upload:hover,
|
|
input.print:hover {
|
|
border-color: var(--text-color);
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
background-color: var(--coloured-bg);
|
|
cursor: pointer;
|
|
}
|
|
|
|
input.add {
|
|
background: var(--add_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
input.edit {
|
|
background: var(--edit_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
input.login {
|
|
background: var(--login_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
input.logout {
|
|
background: var(--logout_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
input.refresh {
|
|
background: var(--refresh_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
input.save {
|
|
background: var(--save_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
input.search {
|
|
background: var(--search_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
input.trash {
|
|
background: var(--trash_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
input.upload {
|
|
background: var(--upload_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
|
|
input.print {
|
|
background: var(--print_icon);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
|
|
form {
|
|
width: 450px;
|
|
text-align: center;
|
|
line-height: 40px;
|
|
}
|
|
|
|
form > label {
|
|
float: left;
|
|
}
|
|
|
|
form > input[type='text'],
|
|
form > input[type='password'],
|
|
form > input[type='number'],
|
|
form > input[type='email'],
|
|
form > input[type='url'],
|
|
form > select {
|
|
float: right;
|
|
width: 200px;
|
|
}
|
|
|
|
div.table_header {
|
|
background-color: var(--coloured-bg);
|
|
text-align: left;
|
|
width: 910px;
|
|
}
|
|
|
|
div.table_row {
|
|
display: table;
|
|
text-align: left;
|
|
width: 910px;
|
|
table-layout:fixed;
|
|
}
|
|
|
|
div.table_header > div, div.table_row > div {
|
|
display: inline-block;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
width: 200px;
|
|
}
|
|
|
|
div.table_row > div {
|
|
display: table-cell;
|
|
border-color: var(--coloured-bg);
|
|
border-width: 1px;
|
|
font-weight: normal;
|
|
padding: 2px;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
div.even {
|
|
background-color: var(--light-coloured-bg);
|
|
border-color: var(--coloured-bg);
|
|
border-width: 1px;
|
|
border-style: none none solid none;
|
|
}
|
|
|
|
div.odd {
|
|
background-color: var(--white);
|
|
border-color: var(--coloured-bg);
|
|
border-width: 1px;
|
|
border-style: none none solid none;
|
|
}
|
|
|
|
div.table_row > div.border_left {
|
|
height: 100%;
|
|
border-style: none none none solid;
|
|
}
|
|
|
|
div.table_row > div.border_right {
|
|
height: 100%;
|
|
border-style: none solid none none;
|
|
}
|