updated styles for top bar

This commit is contained in:
Konrad Mohrfeldt 2011-10-12 21:13:43 +02:00
parent 9729e675ff
commit 5849239f5e
1 changed files with 121 additions and 89 deletions

View File

@ -1,7 +1,8 @@
/* THOSE ARE JUST TEMPORARY, I CHANGE THEM LATER INTO LOCAL RESOURCES */ /* THOSE ARE JUST TEMPORARYLY, I CHANGE THEM LATER INTO LOCAL RESOURCES */
/* OR DOES SHE?! */
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:regular,italic,bold,bolditalic&subset=latin); @import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,600,700);
@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold&subset=latin); @import url(http://fonts.googleapis.com/css?family=Istok+Web:400,700);
/* jQuery Theme */ /* jQuery Theme */
/* @import url(jquery-ui-1.8.10.custom.css); */ /* @import url(jquery-ui-1.8.10.custom.css); */
@ -18,90 +19,93 @@ b, u, i, center,
dl, dt, dd, ol, ul, li, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { table, caption, tbody, tfoot, thead, tr, th, td {
background: transparent; background: transparent;
border: 0; border: 0;
margin: 0; margin: 0;
padding: 0; padding: 0;
vertical-align: baseline; vertical-align: baseline;
} }
/* added by seba because nobody else did this. */
.content { .content {
margin: 5px; margin: 5px;
} }
/* end of addition */
body { body {
line-height: 1; line-height: 1;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
clear: both; clear: both;
font-weight: normal; font-weight: bold;
font-family: "Istok Web", inherit;
} }
ol, ul, li { ol, ul, li {
list-style: none; list-style: none;
} }
blockquote { blockquote {
quotes: none; quotes: none;
} }
blockquote:before, blockquote:after { blockquote:before, blockquote:after {
content: ''; content: '';
content: none; content: none;
} }
del { del {
text-decoration: line-through; text-decoration: line-through;
} }
/* tables still need 'cellspacing="0"' in the markup */ /* tables still need 'cellspacing="0"' in the markup */
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
a img { a img {
border: none; border: none;
} }
/* GENERAL SETTINGS */ /* GENERAL SETTINGS */
body { body {
font: 11px "lucida grande", tahoma, verdana, arial, sans-serif; font: 11px "Open Sans", Tahoma, Verdana, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Droid Serif', Garamond, serif;
} }
p { margin-bottom: 7px; } p { margin-bottom: 7px; }
input { input {
padding: 2px 5px; padding: 2px 5px;
border: 1px solid #E5E5E5; border: 1px solid #E5E5E5;
background: none repeat scroll 0 0 #FBFBFB; background: none repeat scroll 0 0 #FBFBFB;
} }
input[type=text]:focus, input[type=search]:focus, input[type=password]:focus { input[type=text]:focus, input[type=search]:focus, input[type=password]:focus {
background: #FAFFBD; background: #FAFFBD;
} }
/* HEADER */ /* HEADER */
#header { #header {
margin-bottom: 20px; margin-bottom: 20px;
background: #333;
background-image: -webkit-gradient(linear, left top, left bottom, from(#666666), to(#111111));
background-image: -webkit-linear-gradient(top, #666666, #111111);
background-image: -moz-linear-gradient(top, #666666, #111111);
background-image: -ms-linear-gradient(top, #666666, #111111);
background-image: -o-linear-gradient(top, #666666, #111111);
background-image: linear-gradient(top, #666666, #111111);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#666666', EndColorStr='#111111');
} }
#header > div { #header > div {
padding: 5px 10px; padding: 5px 10px;
} }
#header .search { #header .search {
background: url("img/logo.png") 10px center no-repeat #323232; background: url("img/logo.png") 10px center no-repeat transparent;
height: 40px; height: 40px;
} }
#header .search input[type='search'] { #header .search input[type='search'] {
@ -110,73 +114,99 @@ input[type=text]:focus, input[type=search]:focus, input[type=password]:focus {
} }
#header .search form { #header .search form {
float: right; float: right;
line-height: 40px; line-height: 40px;
} }
#header .base_nav { #header .base_nav {
background: url("img/base_nav_bg.gif") repeat-x #339DD1; background: #3398cc;
text-transform: uppercase; background-image: -webkit-gradient(linear, left top, left bottom, from(#32bbef), to(#3398cc));
height: 50px; background-image: -webkit-linear-gradient(top, #32bbef, #3398cc);
color: white; background-image: -moz-linear-gradient(top, #32bbef, #3398cc);
background-image: -ms-linear-gradient(top, #32bbef, #3398cc);
background-image: -o-linear-gradient(top, #32bbef, #3398cc);
background-image: linear-gradient(top, #32bbef, #3398cc);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#32bbef', EndColorStr='#3398cc');
text-transform: uppercase;
color: white;
border-bottom: 2px solid black;
padding-top: 10px;
/*border-top: 2px solid black;*/
-webkit-box-shadow: 0 3px 8px 0 black inset;
} }
#header .base_nav h1 { #header .base_nav h1 {
color: white; color: white;
float: left; display: inline-block;
margin-right: 20px; margin: 0 20px 0 0;
line-height: 50px; padding: 5px 0 0 0;
vertical-align: middle;
line-height: 1;
text-shadow: 0 -1px #777;
} }
#header .base_nav ul { #header .base_nav ul {
float: left; display: inline-block;
vertical-align: middle;
} }
#header .base_nav ul li { #header .base_nav ul li {
display: inline-block; display: inline-block;
text-transform: uppercase; font-weight: bold;
line-height: 36px; margin-right: 10px;
} }
#header .base_nav a { #header .base_nav a {
display: block; text-align: center;
margin-top: 7px; //background: #3398cc;
padding: 0 10px; display: block;
text-decoration: none; vertical-align: middle;
color: white; text-decoration: none;
color: inherit;
padding: 10px 15px;
margin: 3px 0;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
-webkit-transition: background .2s;
} }
#header .base_nav a:hover { #header .base_nav a:hover {
background: white; -webkit-transition: background .2s;
color: #339DD1; background: white;
color: #339DD1;
-webkit-box-shadow: 0 1px 0 0 #777 inset;
-moz-box-shadow: 0 1px 0 0 #777 inset;
box-shadow: 0 1px 0 0 #777 inset;
} }
span.balance { span.balance {
float: right; float:right;
line-height: 50px; padding: 10px 0;
margin: 3px 0;
} }
/* LOGIN FORM */ /* LOGIN FORM */
form.login { form.login {
width: 300px; width: 300px;
margin: 60px auto; margin: 60px auto;
/*-moz-box-shadow: 3px 3px 6px #333; -moz-box-shadow: 1px 1px 2px #eaeaea;
-webkit-box-shadow: 3px 3px 6px #333;*/ -webkit-box-shadow: 1px 1px 2px #eaeaea;
box-shadow: 1px 1px 2px #eaeaea; box-shadow: 1px 1px 2px #eaeaea;
border: 1px solid #E5E5E5; border: 1px solid #E5E5E5;
padding: 20px; padding: 20px;
} }
form.login label { form.login label {
display: block; display: block;
margin-top: 10px; margin-top: 10px;
margin-bottom: 3px; margin-bottom: 3px;
} }
form.login input { form.login input {
font-size: 24px; font-size: 24px;
width: 97%; width: 97%;
} }
form.login input[type=submit] { form.login input[type=submit] {
@ -214,37 +244,39 @@ form.login input[type=submit]:active {
/* NOTIFICATIONS */ /* NOTIFICATIONS */
div.error, div.notice, div.success { div.error, div.notice, div.success {
border-top: 1px solid #DDD; border-top: 1px solid #DDD;
padding: 0.6em 0.8em; padding: 0.6em 0.8em;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
} }
div.error h2, div.notice h2, div.success h2 { div.error h2, div.notice h2, div.success h2 {
font-size: 100%; font-size: 100%;
font-weight: bold; font-weight: bold;
margin-bottom: 10px; margin-bottom: 10px;
} }
div.error { div.error {
background: #FBE3E4; background: #FBE3E4;
color: #8A1F11; color: #8A1F11;
border-color: #FBC2C4; border-color: #FBC2C4;
} }
div.error a { color:#8A1F11; } div.error a { color:#8A1F11; }
div.notice { div.notice {
background: #FFF6BF; background: #FFF6BF;
color: #514721; color: #514721;
border-color: #FFD324; border-color: #FFD324;
} }
div.notice a { color:#514721; } div.notice a { color:#514721; }
div.success{ div.success{
background: #E6EFC2; background: #E6EFC2;
color: #264409; color: #264409;
border-color: #C6D880; border-color: #C6D880;
} }
div.success a { color:#264409; } div.success a { color:#264409; }
@ -384,11 +416,11 @@ table.details td {
} }
.content a:hover { .content a:hover {
background: #3398CC; background: #3398CC;
color: white; color: white;
} }
.content h1 { .content h1 {
font: 20px "lucida grande", tahoma, verdana, arial, sans-serif; font-size: 20px;
text-align: center; text-align: center;
} }