participer.thsf.net/static/styles/tetawebapp.css

455 lines
8.3 KiB
CSS
Raw Normal View History

2018-02-26 10:41:52 +01:00
/*
* 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.
*/
2018-03-05 22:12:02 +01:00
@page {
size: 21cm 29.7cm;
margin: 30mm 45mm 30mm 45mm;
}
2018-02-26 10:41:52 +01:00
* {
2018-02-26 19:53:06 +01:00
box-sizing: border-box;
2018-02-26 10:41:52 +01:00
}
body {
margin: 10px;
2018-02-26 19:53:06 +01:00
font-family: 'Roboto Condensed';
background-color: var(--dark-bg);
2018-02-26 10:41:52 +01:00
}
div.content {
display: flex;
min-height: calc(100vh - 110px);
}
main > article {
flex: 1;
2018-03-05 22:12:02 +01:00
background-color: var(--clear-bg);
2018-02-26 10:41:52 +01:00
}
main > section.inline {
display: flex;
2018-03-05 22:12:02 +01:00
background-color: var(--clear-bg);
2018-02-26 10:41:52 +01:00
}
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;
background-color: var(--clear-bg);
border-right-color: var(--mid-bg);
border-right-style: solid;
border-right-width: 1px;
}
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;
}
2018-03-05 22:12:02 +01:00
main > article > p > a,
main > article > ul > li > a {
2018-02-26 10:41:52 +01:00
color: var(--coloured-bg);
}
2018-03-05 22:12:02 +01:00
main > article > p > a:hover,
main > article > ul > li > a:hover {
2018-02-26 10:41:52 +01:00
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;
}
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);
}
2018-02-26 19:53:06 +01:00
input[type='text'],
input[type='password'],
2018-03-05 22:12:02 +01:00
input[type='number'],
input[type='email'],
input[type='url'],
2018-02-26 10:41:52 +01:00
textarea,
select,
pre {
border-color: var(--dark-border);
border-style: solid;
border-width: 1px;
background-color: var(--white);
color: var(--text-color);
padding: 5px;
2018-02-26 19:53:06 +01:00
font-family: 'Roboto Condensed';
2018-02-26 10:41:52 +01:00
margin: 5px;
}
pre {
border-color: var(--coloured-bg);
}
button,
2018-02-26 19:53:06 +01:00
input[type='button'],
input[type='submit'] {
2018-02-26 10:41:52 +01:00
border-color: var(--dark-border);
border-style: solid;
border-width: 1px;
background-color: var(--coloured-bg);
color: var(--white);
font-weight: bold;
padding: 5px;
2018-02-26 19:53:06 +01:00
font-family: 'Roboto Condensed';
2018-02-26 10:41:52 +01:00
margin: 5px;
border-radius: 4px;
}
button:hover,
2018-02-26 19:53:06 +01:00
input[type='button']:hover,
input[type='submit']:hover,
input[type='file']:hover {
2018-02-26 10:41:52 +01:00
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);
}
2018-02-26 19:53:06 +01:00
input[type='file'] {
2018-02-26 10:41:52 +01:00
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,
2018-03-05 22:12:02 +01:00
input.upload,
input.print {
2018-02-26 10:41:52 +01:00
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,
2018-03-05 22:12:02 +01:00
input.upload:hover,
input.print:hover {
2018-02-26 10:41:52 +01:00
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;
}
2018-02-26 19:53:06 +01:00
2018-03-05 22:12:02 +01:00
input.print {
background: var(--print_icon);
background-repeat: no-repeat;
background-position: center center;
}
2018-02-26 19:53:06 +01:00
form {
2018-02-28 10:25:08 +01:00
width: 450px;
2018-02-26 19:53:06 +01:00
text-align: center;
line-height: 40px;
}
form > label {
float: left;
}
2018-03-05 22:12:02 +01:00
form > input[type='text'],
form > input[type='password'],
form > input[type='number'],
form > input[type='email'],
form > input[type='url'],
form > select {
2018-02-26 19:53:06 +01:00
float: right;
2018-02-28 10:25:08 +01:00
width: 200px;
2018-02-26 19:53:06 +01:00
}
2018-02-27 19:51:43 +01:00
div.table_header {
background-color: var(--coloured-bg);
text-align: left;
width: 910px;
}
div.table_row {
text-align: left;
width: 910px;
}
div.table_header > div, div.table_row > div {
display: inline-block;
text-align: center;
font-weight: bold;
width: 200px;
}
div.table_row > div {
border-color: var(--coloured-bg);
border-width: 1px;
font-weight: normal;
}
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 {
border-style: none none none solid;
}
div.table_row > div.border_right {
border-style: none solid none none;
}