engelsystem/public/css/base.css

494 lines
6.4 KiB
CSS
Raw Normal View History

2011-06-01 13:36:24 +02:00
* {
2013-10-13 00:52:44 +02:00
margin: 0;
padding: 0;
2011-06-01 13:36:24 +02:00
}
2011-06-01 14:30:29 +02:00
body {
2013-10-13 00:52:44 +02:00
background: #fff;
font-family: Arial, sans-serif;
font-size: 14px;
2011-06-01 14:30:29 +02:00
}
2013-10-13 00:52:44 +02:00
article,details {
clear: none;
display: block;
float: none;
2011-06-03 05:12:50 +02:00
}
.small {
2013-10-13 00:52:44 +02:00
font-size: 12px;
2011-06-01 13:36:24 +02:00
}
2013-10-13 00:52:44 +02:00
#menu {
float: left;
padding: 10px;
width: 180px;
2011-06-01 17:41:49 +02:00
}
2013-10-13 00:52:44 +02:00
#menu p {
padding: 4px;
}
#menu h4 {
font-size: 14px;
padding: 3px;
text-transform: capitalize;
}
#menu ul {
list-style: none;
margin: 0;
padding: 0;
}
#menu li a {
display: block;
padding: 3px;
}
#menu li a:hover, .toolbar a:hover {
color: #900;
}
#menu li.selected a, .toolbar a.selected {
color: #900;
font-weight: bold;
2011-06-01 17:41:49 +02:00
}
#content {
2013-10-13 00:52:44 +02:00
margin-left: 200px;
padding: 10px;
2011-06-01 17:41:49 +02:00
}
a {
2013-10-13 00:52:44 +02:00
color: #000;
2011-06-01 13:36:24 +02:00
}
2013-10-13 00:52:44 +02:00
th,td,dt,dd {
padding: 4px;
2011-07-12 16:28:17 +02:00
vertical-align: top;
2011-06-01 13:36:24 +02:00
}
2011-06-01 15:25:05 +02:00
dt {
2013-10-13 00:52:44 +02:00
font-weight: bold;
2011-06-01 15:25:05 +02:00
}
2011-06-01 17:28:03 +02:00
dd {
2013-10-13 00:52:44 +02:00
margin-left: 20px;
2011-06-01 17:28:03 +02:00
}
2013-10-13 00:52:44 +02:00
h1,h2,h3,h4 {
font-size: 16px;
padding: 3px;
}
2013-10-13 00:52:44 +02:00
h1 {
font-size: 18px;
margin-bottom: 10px;
2011-06-01 15:25:05 +02:00
}
2011-06-02 17:48:27 +02:00
hr {
2013-10-13 00:52:44 +02:00
margin: 10px 0;
2011-06-02 17:48:27 +02:00
}
2011-06-01 15:25:05 +02:00
ul {
2013-10-13 00:52:44 +02:00
padding: 5px 0 5px 20px;
2011-06-01 17:41:49 +02:00
}
nav {
2013-10-13 00:52:44 +02:00
margin: 0 0 20px 0;
2011-06-01 17:41:49 +02:00
}
2013-10-13 00:52:44 +02:00
#content>article {
padding: 3px;
2011-06-01 17:41:49 +02:00
}
#content h2 {
2013-10-13 00:52:44 +02:00
margin-top: 15px;
}
#content h2:first-child {
2013-10-13 00:52:44 +02:00
margin-top: 0;
}
2011-06-02 00:48:29 +02:00
p {
2013-10-13 00:52:44 +02:00
padding: 0 0 10px 0;
2011-06-02 00:48:29 +02:00
}
2011-06-01 17:28:03 +02:00
a.sprache img {
2013-10-13 00:52:44 +02:00
margin-right: 5px;
2011-06-01 17:28:03 +02:00
}
2011-06-01 17:51:39 +02:00
2011-06-02 16:56:45 +02:00
table {
2013-10-13 00:52:44 +02:00
border-collapse: collapse;
2011-12-21 22:20:06 +01:00
margin-top: 5px;
display: block;
}
2013-10-13 00:52:44 +02:00
tr:hover > td {
background-color: #f0f0f0;
}
2012-12-27 22:49:10 +01:00
#shifts {
background-color: #fff;
}
#shifts td.free {
background-color: #F6CECE;
}
#shifts td.occupied {
background-color: #BCF5A9;
}
#shifts td.own {
background-color: #CECEF6;
}
#shifts td.collides {
background-color: #9B9B9B;
}
#shifts td.empty {
border: 0;
}
table.scrollable {
max-width: 100%;
overflow: auto;
2011-06-02 16:56:45 +02:00
}
2011-09-06 20:45:06 +02:00
fieldset hr {
background-color: #f0f0f0;
border: none;
color: #f0f0f0;
height: 1px;
margin: 0;
padding: 0;
}
2011-07-11 20:40:27 +02:00
fieldset table {
margin: 4px;
}
fieldset p {
2011-07-13 15:17:15 +02:00
clear: both;
margin: 4px;
2011-09-06 20:45:06 +02:00
min-height: 23px;
}
fieldset p label {
display: block;
float: left;
width: 200px;
}
2011-10-12 17:02:48 +02:00
fieldset p label[for] {
width: auto;
}
2011-09-06 20:45:06 +02:00
fieldset p label input {
float: right;
margin: 2px 10px 0 0;
}
2011-06-02 16:56:45 +02:00
th {
2013-10-13 00:52:44 +02:00
background: #f0f0f0;
}
2013-10-13 00:52:44 +02:00
thead th {
2013-10-13 00:52:44 +02:00
vertical-align: bottom;
2011-06-02 16:56:45 +02:00
}
2013-10-13 00:52:44 +02:00
td,th {
border: 1px solid #888;
2011-06-02 16:56:45 +02:00
}
2012-12-27 17:32:14 +01:00
th.Gekommen {
2012-12-27 16:11:07 +01:00
/* this is a hack because the height of the row isn't adjusted automatically */
height: 6em;
}
2012-12-27 17:32:14 +01:00
div.rotate {
2012-12-27 16:11:07 +01:00
transform: rotate(270deg);
width: 1ex;
margin: 0 auto -2px;
-webkit-transform: rotate(270deg);
padding: 0 3px;
white-space: nowrap;
}
2011-06-03 01:03:39 +02:00
textarea {
2011-07-13 15:59:35 +02:00
font-family: inherit;
font-size: inherit;
2013-10-13 00:52:44 +02:00
height: 200px;
2011-07-13 15:59:35 +02:00
padding: 2px;
2013-10-13 00:52:44 +02:00
width: 300px;
2011-06-03 05:12:50 +02:00
}
2011-06-03 06:40:29 +02:00
.hidden {
background: #fff;
border: 1px solid #888;
display: none;
font-size: 12px;
padding: 4px;
}
td .hidden {
position: absolute;
}
tr:hover .hidden {
display: block;
}
2011-06-03 05:12:50 +02:00
.clear {
2013-10-13 00:52:44 +02:00
clear: both;
2011-06-03 05:12:50 +02:00
}
.pagination {
2013-10-13 00:52:44 +02:00
text-align: center;
2011-06-01 17:51:39 +02:00
}
2011-06-02 00:48:29 +02:00
2013-10-13 00:52:44 +02:00
.error,.info,.success {
2011-12-21 22:20:06 +01:00
background: #f0f0f0;
border: 1px solid #888;
border-radius: 2px;
color: #000;
2011-12-21 23:05:05 +01:00
margin-bottom: 10px;
2011-12-21 22:20:06 +01:00
padding: 5px;
}
2011-06-02 00:48:29 +02:00
.error {
2013-10-13 00:52:44 +02:00
background: #fff;
border-color: #ed1a3b;
color: #ed1a3b;
font-weight: bold;
2011-06-02 00:48:29 +02:00
}
.success {
2013-10-13 00:52:44 +02:00
background: #fff;
border-color: rgb(0, 178, 107);
color: rgb(0, 178, 107);
font-weight: bold;
2011-06-02 00:48:29 +02:00
}
2011-06-02 21:38:19 +02:00
.new_message {
2013-10-13 00:52:44 +02:00
font-weight: bold;
2011-06-03 05:12:50 +02:00
}
2013-10-13 00:52:44 +02:00
.news_comment,.news {
border: 1px solid #888;
margin: 10px 0;
2011-06-03 05:12:50 +02:00
}
2013-10-13 00:52:44 +02:00
.news_comment details,.news details {
background: #f0f0f0;
padding: 4px;
2011-06-03 05:12:50 +02:00
}
2013-10-13 00:52:44 +02:00
.news_comment p,.news p,h3 {
padding: 4px;
2011-06-03 05:12:50 +02:00
}
2013-10-13 00:52:44 +02:00
.news_comment p,.news_comment details {
margin-left: 72px;
2011-06-03 05:12:50 +02:00
}
.avatar {
2013-10-13 00:52:44 +02:00
float: left;
margin: 4px;
max-width: 64px;
2011-06-03 05:12:50 +02:00
}
.news.meeting {
2013-10-13 00:52:44 +02:00
border: 1px solid #000;
box-shadow: 1px 1px 5px #888;
2011-06-02 21:38:19 +02:00
}
2011-07-19 19:12:36 +02:00
.done {
text-decoration: line-through;
}
2011-09-06 20:45:06 +02:00
2013-11-28 22:40:48 +01:00
.form .form_input.spinner a {
2011-09-06 20:45:06 +02:00
background: #f0f0f0;
border: 1px solid #888;
padding: 1px 5px;
text-decoration: none;
}
2013-11-28 22:40:48 +01:00
.form .form_input.spinner input {
2011-09-06 20:45:06 +02:00
border: 1px solid #888;
border-left: none;
border-right: none;
padding: 3px 3px 1px 3px;
margin: 0;
text-align: right;
width: 42px;
}
2011-12-21 22:20:06 +01:00
.toolbar {
2011-12-27 15:42:13 +01:00
margin: 0 0 10px 0;
2011-12-21 22:20:06 +01:00
}
.actions a {
background: 2px 1px no-repeat;
padding-right: 5px;
}
2014-05-13 14:44:04 +02:00
a.button, input.button, input[type=submit] {
background: #f0f0f0 2px 2px no-repeat;
2011-12-21 22:20:06 +01:00
border: 1px solid #888;
border-radius: 4px;
2011-12-27 15:42:13 +01:00
line-height: 25px;
2011-12-21 22:20:06 +01:00
padding: 2px 5px;
text-decoration: none;
2011-12-27 15:42:13 +01:00
white-space: nowrap;
}
2014-05-13 14:44:04 +02:00
input.button {
background-position: 2px 4px;
}
2011-12-27 15:42:13 +01:00
.button.on {
color: #fff;
background: #444;
2011-12-21 22:20:06 +01:00
}
.button:hover, .toolbar .button:hover {
2011-12-27 15:42:13 +01:00
color: #000;
background-color: #fff;
2011-12-21 22:20:06 +01:00
}
.button.add, .actions .add {
background-image: url('../pic/icons/add.png');
2013-10-13 00:52:44 +02:00
padding-left: 20px;
}
.button.edit, .actions .edit {
background-image: url('../pic/icons/pencil.png');
padding-left: 20px;
}
.button.ok, .actions .ok {
background-image: url('../pic/icons/tick.png');
padding-left: 20px;
}
.button.cancel, .actions .cancel {
background-image: url('../pic/icons/cross.png');
padding-left: 20px;
}
.button.delete, .actions .delete {
background-image: url('../pic/icons/bin.png');
2013-10-13 00:52:44 +02:00
padding-left: 20px;
}
.button.back, .actions .back {
background-image: url('../pic/icons/arrow_left.png');
2013-10-13 00:52:44 +02:00
padding-left: 20px;
}
a.engel {
background: url('../pic/icons/engel.png') no-repeat;
padding-left: 20px;
}
a.logout {
background: url('../pic/icons/door_in.png') no-repeat;
padding-left: 20px;
}
a.settings {
background: url('../pic/icons/application_form_edit.png') no-repeat;
padding-left: 20px;
}
2011-12-21 22:20:06 +01:00
.form {
border: 1px solid #888;
border-radius: 2px;
margin: 10px 0;
padding: 10px 10px 0 10px;
}
.form_element {
/* clear: left; */
min-height: 32px;
margin-bottom: 10px;
}
.form_label {
display: block;
float: left;
width: 250px;
}
.form_input {
margin-left: 250px;
}
2013-10-13 00:52:44 +02:00
.form input[type="text"],.form input[type="password"],.form textarea {
2011-12-21 22:20:06 +01:00
background: #fff;
border: 1px solid #888;
color: inherit;
font-family: inherit;
font-size: inherit;
padding: 2px;
width: 350px;
}
.form input[disabled="disabled"] {
background: #f0f0f0;
color: #999;
}
.form input[type="submit"] {
cursor: pointer;
font-family: inherit;
font-size: inherit;
}
.form input[type="checkbox"] {
margin-right: 10px;
}
.form ul {
list-style: none;
}
.selection ul {
list-style: none;
padding: 0;
}
2013-10-13 00:52:44 +02:00
.selection.rooms,.selection.days,.selection.types,.selection.filled {
display: inline-block;
vertical-align: top;
margin-right: 15px;
}
2013-10-13 00:52:44 +02:00
.selection ul li.heading {
text-align: center;
font-weight: bold;
}
.selection ul li:nth-child(even) {
background: #f0f0f0;
}
#filter {
padding: 10px;
}
2012-12-27 16:34:41 +01:00
#filter input[type="submit"] {
padding: 15px;
}
2012-12-27 16:34:41 +01:00
td .entries img {
vertical-align: bottom;
}
2013-01-02 14:17:34 +01:00
td.time {
text-align: right;
2013-10-13 00:52:44 +02:00
}