bouffeatulm/tpl/default/css/style.css

198 lines
3.0 KiB
CSS
Raw Normal View History

2013-08-30 22:33:06 +02:00
html {
height: 100%;
}
2013-08-07 23:53:46 +02:00
body {
2013-08-30 22:33:06 +02:00
position: relative;
padding-bottom: 2em;
min-height: calc(100% - 2em);
2013-08-07 23:53:46 +02:00
font-family: sans-serif;
2013-08-09 23:34:33 +02:00
margin: 0;
2013-08-07 23:53:46 +02:00
}
body>p, body>ul, body>dl {
margin-left: 1em;
margin-right: 1em;
}
2013-08-07 23:53:46 +02:00
fieldset {
border: 1px solid #999;
margin-bottom: 1em;
}
2013-09-04 23:04:05 +02:00
form a {
position: relative;
}
form img {
height: 1.5em;
vertical-align: middle;
position: absolute;
left: .5em;
}
2013-08-09 23:34:33 +02:00
table {
margin: auto;
text-align: center;
max-width: 100%;
2013-08-30 20:07:52 +02:00
border-collapse: collapse;
2013-08-09 23:34:33 +02:00
}
table td, table th {
padding: 0.75em;
2013-08-30 20:07:52 +02:00
border: 1px solid black;
}
table th {
background-color: #DDD;
2013-08-09 23:34:33 +02:00
}
h2 {
background-color: #333;
padding: 0.5em;
text-align: right;
color: white;
border-top-right-radius: 1em;
border-bottom-right-radius: 1em;
display: inline-block;
padding-left: 3em;
border: 0.3em solid green;
border-left: none;
}
hr {
width: 33%;
margin-top: 2em;
margin-bottom: 2em;
}
input[type="checkbox"] {
margin-left: 2em;
}
2013-09-23 23:08:01 +02:00
.red {
color: red;
}
.center {
text-align: center;
}
2013-08-09 23:34:33 +02:00
.label-block {
display: inline-block;
text-align: right;
margin-right: 10px;
width: 200px;
}
2013-09-13 19:18:49 +02:00
.cell-disabled {
background-color: rgb(221, 221, 221);
}
2013-08-07 23:53:46 +02:00
input[type=submit] {
background-color: green;
color: white;
border-radius: 10px;
}
#title, #title a, #title a:visited, #install h1 {
2013-08-09 23:34:33 +02:00
background-color: #333;
border-bottom: 0.3em solid green;
color: white;
padding: 0.5em;
margin: 0;
text-align: center;
}
2013-08-12 09:52:50 +02:00
#title a {
text-decoration: none;
}
2013-08-09 23:34:33 +02:00
#menu ul {
text-align: center;
}
#menu li {
display: inline-block;
margin-left: 1em;
margin-right: 1em;
2013-09-29 19:38:39 +02:00
margin-bottom: 0.5em;
2013-08-09 23:34:33 +02:00
}
2013-08-12 09:52:50 +02:00
#notice {
text-align: center;
font-size: 1.5em;
background-color: green;
padding: 0.1em;
}
#detailed_summary {
margin-top: 2.5em;
}
2013-08-09 23:34:33 +02:00
#connexion_form {
margin: auto;
width: 67%;
text-align: center
}
#connexion_form .label-block {
width: 150px;
}
#edit_password_form, #edit_user_form, #invoice_form, #notice_form, #global_payback_form {
2013-08-30 20:07:52 +02:00
width: 67%;
margin: auto;
}
#global_payback_form fieldset {
margin-top: 2em;
}
#edit_password_form p, #edit_user_form p, #notice_form p, #global_payback_form p {
2013-08-30 20:07:52 +02:00
text-align: center;
2013-08-09 23:34:33 +02:00
}
#edit_user_admin_rights {
text-align: center;
}
2013-08-12 09:52:50 +02:00
#textarea_notice {
2013-08-30 20:07:52 +02:00
width: 75%;
2013-08-12 09:52:50 +02:00
}
textarea#what {
width: 75%;
}
#list_expenses tr:hover, #balance_table tr:not(:first-child):hover *, #global_paybacks_table tr:not(:first-child):hover *, .highlight_td {
background-color: green;
2013-08-30 20:07:52 +02:00
}
2013-08-30 22:33:06 +02:00
#user_connected {
text-align: right;
margin-right: 1em;
position: absolute;
bottom: 0;
height: 1em;
font-size: 0.75em;
right: 0;
font-style: italic;
}
2013-08-07 23:53:46 +02:00
#install {
margin: 0;
}
2013-08-12 09:52:50 +02:00
#install form, #settings_form {
2013-08-07 23:53:46 +02:00
width: 67%;
margin: auto;
}
2013-08-09 23:43:56 +02:00
.error {
font-size: 1.5em;
color: red;
font-weight: bold;
text-align: center;
}