mailr/themes/olive/stylesheets/base.css

403 lines
5.9 KiB
CSS
Raw Normal View History

2011-06-26 21:37:50 +02:00
* {margin:0;padding:0}
.clear { clear: both; height: 0; }
.wat-cf:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.wat-cf {display: inline-block;}
/* Hides from IE-mac \*/
* html .wat-cf {height: 1%;}
.wat-cf {display: block;}
/* End hide from IE-mac */
2011-07-21 20:20:15 +02:00
h1 { margin: 15px 0; font-size: 10px; font-weight: normal; }
h2 { font-size: 22px; margin: 7px 0; font-weight: normal;}
h3 { font-size: 18px; margin: 5px 0; font-weight: normal;}
h4 { font-size: 16px; margin: 5px 0; font-weight: normal;}
2011-06-26 21:37:50 +02:00
hr {height: 1px; border: 0; }
p { margin: 15px 0;}
a img { border: none; }
body {
font-size: 12px;
font-family: sans-serif;
}
#container {
min-width: 960px;
}
#header, #wrapper {
padding: 0 20px;
}
#header {
position: relative;
padding-top: 1px;
}
#header h1 {
margin: 0;
padding: 10px 0;
font-size: 26px;
}
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
text-decoration: none;
}
#main {
width: 960px;
float: left;
}
.actions-bar {
2011-07-21 20:20:15 +02:00
padding: 5px 1px;
2011-06-26 21:37:50 +02:00
}
.actions-bar .actions {
float: left;
}
.actions-bar .pagination {
float: right;
padding: 1px 0;
}
#sidebar {
width: 250px;
float: left;
margin-right: 10px;
}
#sidebar h3 {
padding: 10px 15px;
margin: 0;
font-size: 13px;
}
#sidebar .block {
margin-bottom: 20px;
2011-07-21 20:20:15 +02:00
padding-bottom: 1px;
2011-06-26 21:37:50 +02:00
}
#sidebar .block .content {
2011-07-21 20:20:15 +02:00
padding: 5px;
2011-06-26 21:37:50 +02:00
}
#sidebar ul.navigation li {
2011-07-21 20:20:15 +02:00
padding: 3px;
2011-06-26 21:37:50 +02:00
}
#sidebar .block .sidebar-block, #sidebar .notice {
padding:10px;
}
#wrapper {
padding-top: 20px;
}
#main .block {
margin-bottom: 20px;
padding-top: 1px;
}
#main .block .content .inner {
2011-08-16 20:05:58 +02:00
padding: 5px;
2011-06-26 21:37:50 +02:00
}
#main .main p.first {
margin-top: 0;
}
#user-navigation {
position: absolute;
top: 0px;
right: 20px;
}
#main-navigation {
width: 100%;
}
#user-navigation ul, #main-navigation ul, .secondary-navigation ul, #sidebar ul.navigation {
margin: 0;
padding: 0;
list-style-type: none;
}
#user-navigation ul li, #main-navigation ul li, .secondary-navigation ul li {
float: left;
}
#main-navigation ul li {
margin-right: 5px;
}
#user-navigation ul li {
padding: 5px 10px;
}
#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
text-decoration: none;
}
#main-navigation ul li a {
font-size: 14px;
line-height: 14px;
display: block;
padding: 8px 15px;
}
.secondary-navigation {
font-size: 13px;
border-bottom-width: 10px;
border-bottom-style: solid;
}
.secondary-navigation ul li a {
display: block;
padding: 10px 15px;
}
#footer {
padding-bottom: 20px;
}
/* pagination */
.pagination a, .pagination span, .pagination em {
padding: 2px 5px;
margin-right: 5px;
display: block;
float: left;
border-style: solid;
border-width: 1px;
}
.pagination em {
font-weight: bold;
}
.pagination a {
text-decoration: none;
}
/* tables */
.table {
width: 100%;
border-collapse: collapse;
2011-09-09 22:10:25 +02:00
margin: 5px 0;
2011-06-26 21:37:50 +02:00
}
.table th {
2011-07-21 20:20:15 +02:00
padding: 5px;
2011-06-26 21:37:50 +02:00
font-weight: bold;
text-align: left;
}
.table th.first {
width: 30px;
}
.table th.last {
width: 200px;
}
.table .checkbox {
margin-left: 10px;
}
.table td {
2011-08-02 23:12:17 +02:00
padding: 2px 10px;
color: #5E634E;
2011-06-26 21:37:50 +02:00
}
.table td.last {
text-align: right;
}
/* forms */
input.checkbox {
margin: 0;
padding: 0;
}
.form .group {
margin-bottom: 15px;
}
.form div.left {
width: 20%;
float: left;
}
.form div.right {
2011-08-16 20:05:58 +02:00
width: 70%;
2011-06-26 21:37:50 +02:00
float: right;
}
2011-07-29 20:05:47 +02:00
.columns .column {
2011-06-26 21:37:50 +02:00
width: 48%;
}
2011-07-29 20:05:47 +02:00
.columns .left {
2011-06-26 21:37:50 +02:00
float: left;
}
2011-07-29 20:05:47 +02:00
.columns .right {
2011-06-26 21:37:50 +02:00
float: right;
}
.form label.label, .form input.text_field, .form textarea.text_area {
font-size: 1.2em;
padding: 1px 0;
margin: 0;
}
.form label.right {
text-align: right;
}
.form input.checkbox, .form input.radio {
margin-right: 5px;
}
.form label.checkbox, .form label.radio {
line-height: 1.5em;
}
.form label.label {
display: block;
padding-bottom: 2px;
font-weight: bold;
}
.form div.fieldWithErrors label.label {
display: inline;
}
.form .fieldWithErrors .error {
color: red;
}
.form input.text_field, .form textarea.text_area {
width: 100%;
border-width: 1px;
border-style: solid;
}
/* lists */
ul.list {
margin: 0;
padding: 0;
list-style-type: none;
}
ul.list li {
clear: left;
padding-bottom: 5px;
}
ul.list li .left {
float: left;
}
ul.list li .left .avatar {
width: 50px;
height: 50px;
}
ul.list li .item {
margin-left: 80px;
}
ul.list li .item .avatar {
float: left;
margin: 0 5px 5px 0;
width: 30px;
height: 30px;
}
/* box */
#box {
width: 500px;
2011-07-23 21:55:26 +02:00
margin: 20px auto;
2011-06-26 21:37:50 +02:00
}
#box .block {
margin-bottom: 20px;
}
#box .block h2 {
padding: 10px 15px;
margin: 0;
}
#box .block .content {
padding: 10px 20px;
}
/* Inspired by http://particletree.com/features/rediscovering-the-button-element */
a.button:link, a.button:visited, a.button:hover, a.button:active, button.button {
color: #222;
display:block;
float:left;
margin:0 7px 0 0;
background-color: #eee;
border:1px solid #bfbfbf;
font-size: 1em;
line-height: 1.3em;
font-weight:bold;
cursor:pointer;
2011-09-09 23:44:51 +02:00
padding:2px 5px 3px 3px;
2011-06-26 21:37:50 +02:00
text-decoration: none;
}
button.button {
width:auto;
overflow:visible;
2011-09-09 23:44:51 +02:00
padding:2px 5px 1px 3px; /* IE6 */
2011-06-26 21:37:50 +02:00
}
button.button[type] {
2011-09-09 23:44:51 +02:00
padding:2px 5px 2px 3px; /* Firefox */
2011-06-26 21:37:50 +02:00
line-height:17px; /* Safari */
}
*:first-child+html button.button[type] {
2011-09-09 23:44:51 +02:00
padding:2px 5px 1px 3px; /* IE7 */
2011-06-26 21:37:50 +02:00
}
button.button img, a.button img {
2011-09-09 22:10:25 +02:00
margin:0 6px -4px 0 !important;
2011-06-26 21:37:50 +02:00
padding:0;
border:none;
2011-09-09 22:10:25 +02:00
width:18px;
height:18px;
2011-06-26 21:37:50 +02:00
}
button.button:hover, a.button:hover {
background-color:#dedede;
}
button.button:active, a.button:active {
background-color:#e5e5e5;
}
2011-07-21 20:20:15 +02:00
div.block h3 a {
color: white;
}