mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-10 00:51:19 +00:00
369 lines
6.0 KiB
CSS
369 lines
6.0 KiB
CSS
/*--------------------------------GENERAL------------------------------*/
|
|
body{
|
|
background-color:#EEE;
|
|
position: relative;
|
|
width: 100%;
|
|
font-family: sans-serif;
|
|
}
|
|
a {
|
|
text-decoration: none;
|
|
color: #265C83;
|
|
}
|
|
a:hover { color: #7FDBFF; }
|
|
a:active { color: #007BE6; }
|
|
/*--------------------------------HEADER-------------------------------*/
|
|
#logo {
|
|
margin-left: 5%;
|
|
}
|
|
header {
|
|
display: block;
|
|
position: absolute;
|
|
top : 0px;
|
|
right : 2%;
|
|
background-color:#DDD;
|
|
margin: 0 10px;
|
|
padding: 0 10px;
|
|
border-radius: 0 0 10px 10px;
|
|
}
|
|
header ul {
|
|
display: inline-block;
|
|
list-style-type: none;
|
|
margin: 0px;
|
|
padding-right: 3px;
|
|
vertical-align: middle;
|
|
}
|
|
header a {
|
|
display: inline-block;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
padding: 1em;
|
|
}
|
|
header a:hover {
|
|
color: #265C83;
|
|
}
|
|
header form {
|
|
display: inline-block;
|
|
padding: 1em;
|
|
width: 150px;
|
|
}
|
|
#popupheader {
|
|
width: 88%;
|
|
margin: 0px auto;
|
|
padding: 0.3em 1%;
|
|
}
|
|
#language_chooser {
|
|
position: absolute;
|
|
text-align: center;
|
|
left: 5px;
|
|
top: 5px;
|
|
}
|
|
|
|
#language_chooser input {
|
|
margin: 2px;
|
|
width: 3em;
|
|
height: 2em;
|
|
}
|
|
|
|
/*---------------------------------NAV---------------------------------*/
|
|
nav {
|
|
display: block;
|
|
width: 90%;
|
|
margin: 0px auto;
|
|
background: grey;
|
|
color: white;
|
|
}
|
|
|
|
nav a {
|
|
color: white;
|
|
font-style: normal;
|
|
font-weight: bolder;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
padding: 20px;
|
|
}
|
|
nav a:hover {
|
|
background: #535353;
|
|
color: white;
|
|
}
|
|
|
|
/*--------------------------------CONTENT------------------------------*/
|
|
#content {
|
|
width: 88%;
|
|
margin: 0px auto;
|
|
padding: 1em 1%;
|
|
background: white;
|
|
overflow: auto;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: bold;
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 160%;
|
|
margin-left: 50px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 150%;
|
|
margin-left: 40px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 140%;
|
|
margin-left: 30px;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 130%;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 120%;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 110%;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
p, pre {
|
|
margin-top: 1em;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
ul, ol {
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
list-style-type: disc;
|
|
margin-left: 25px;
|
|
}
|
|
|
|
code {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.edit-bar {
|
|
display: block;
|
|
margin: 4px;
|
|
}
|
|
.edit-bar a {
|
|
display: inline-block;
|
|
margin: 4px;
|
|
}
|
|
.important {
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
color: red;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
font-size: 0.90em;
|
|
}
|
|
td {
|
|
padding: 4px;
|
|
margin: 5px;
|
|
border: solid 1px darkgrey;
|
|
border-collapse: collapse;
|
|
vertical-align: top;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
td>ul {
|
|
margin-top: 0px;
|
|
}
|
|
thead {
|
|
font-weight: bold;
|
|
}
|
|
tbody>tr:nth-child(even) {
|
|
background: lightgrey;
|
|
}
|
|
tbody>tr:hover {
|
|
background: darkgrey;
|
|
width: 100%;
|
|
}
|
|
.highlight {
|
|
background: orange;
|
|
}
|
|
.tool-bar {
|
|
overflow: auto;
|
|
padding: 4px;
|
|
}
|
|
.tools {
|
|
float: right;
|
|
border: 1px solid grey;
|
|
}
|
|
.tools a {
|
|
padding: 10px;
|
|
display: inline-block;
|
|
}
|
|
.selected_tab {
|
|
background: lightgrey;
|
|
}
|
|
#basket {
|
|
width: 40%;
|
|
background: lightgrey;
|
|
float: right;
|
|
padding: 10px;
|
|
}
|
|
#products {
|
|
width: 90%;
|
|
margin: 0px auto;
|
|
overflow: auto;
|
|
}
|
|
#bar_ui {
|
|
float: left;
|
|
min-width: 57%;
|
|
}
|
|
#user_info_container {
|
|
}
|
|
#user_info {
|
|
float: right;
|
|
padding: 5px;
|
|
width: 40%;
|
|
margin: 0px auto;
|
|
background: lightgrey;
|
|
}
|
|
|
|
/*-----------------------------USER PROFILE----------------------------*/
|
|
#user_profile_container {
|
|
width: 80%;
|
|
margin: 0px auto;
|
|
}
|
|
#user_profile {
|
|
width: 100%;
|
|
margin: 0px auto;
|
|
padding: 10px;
|
|
overflow: auto;
|
|
}
|
|
#user_profile h4 { border-bottom: 1px solid grey; max-width: 60%; }
|
|
#user_profile #left_column {
|
|
width: 59%;
|
|
}
|
|
#user_profile #right_column {
|
|
width: 40%;
|
|
float: right;
|
|
font-style: italic;
|
|
}
|
|
#user_profile #pictures {
|
|
max-width: 250px;
|
|
max-height: 300px;
|
|
margin: 0px auto;
|
|
}
|
|
#user_profile #nickname {
|
|
font-style: italic;
|
|
}
|
|
#user_profile #pictures img {
|
|
max-width: 96%;
|
|
max-height: 96%;
|
|
}
|
|
#user_profile .promo_pict {
|
|
height: 45px;
|
|
}
|
|
.mini_profile_link {
|
|
display: block;
|
|
text-decoration: none;
|
|
}
|
|
.mini_profile_link span {
|
|
display: inline-block;
|
|
width: 50px;
|
|
vertical-align: middle;
|
|
}
|
|
.mini_profile_link em {
|
|
vertical-align: middle;
|
|
}
|
|
.mini_profile_link img {
|
|
max-width: 40px;
|
|
max-height: 60px;
|
|
margin: 2px auto;
|
|
display: block;
|
|
}
|
|
/*---------------------------------PAGE--------------------------------*/
|
|
.page_content {
|
|
display: block;
|
|
margin: 10px;
|
|
padding: 10px;
|
|
background: white;
|
|
}
|
|
|
|
.page_content code {
|
|
font-family: monospace;
|
|
color: white;
|
|
background: black;
|
|
display: inline-block;
|
|
padding: 4px;
|
|
line-height: 120%;
|
|
}
|
|
textarea {
|
|
white-space: pre;
|
|
width: 98%;
|
|
margin-top: 10px;
|
|
}
|
|
/*---------------------------LAUNDERETTE-------------------------------*/
|
|
#token_form label {
|
|
display: inline;
|
|
}
|
|
|
|
/*--------------------------------FOOTER-------------------------------*/
|
|
footer{
|
|
text-align: center;
|
|
}
|
|
|
|
/*---------------------------------FORMS-------------------------------*/
|
|
form {
|
|
margin: 0px auto;
|
|
width: 60%;
|
|
}
|
|
label {
|
|
display: block;
|
|
}
|
|
.choose_file_widget {
|
|
display: none;
|
|
}
|
|
.ui-dialog .ui-dialog-buttonpane {
|
|
bottom: 0px;
|
|
position: absolute;
|
|
width: 97%;
|
|
}
|
|
#user_edit * {
|
|
text-align: center;
|
|
|
|
}
|
|
#user_edit img {
|
|
width: 100px;
|
|
}
|
|
#cash_summary_form label {
|
|
display: inline;
|
|
}
|
|
.inline {
|
|
display: inline;
|
|
}
|
|
.form_button {
|
|
width: 150px;
|
|
height: 120px;
|
|
padding: 2px;
|
|
display: inline-block;
|
|
font-size: 0.8em;
|
|
}
|
|
.form_button span {
|
|
width: 70px;
|
|
float: right;
|
|
}
|
|
.form_button img {
|
|
max-width: 50px;
|
|
max-height: 50px;
|
|
float: left;
|
|
}
|
|
.form_button strong {
|
|
font-weight: bold;
|
|
font-size: 1.2em;
|
|
}
|
|
.form_button button {
|
|
width: 100%;
|
|
height: 100%;
|
|
vertical-align: middle;
|
|
}
|