Default theme: smaller font in top menu and new style for main menu.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1275 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-03-19 18:22:16 +00:00
parent f162337e1b
commit 43fc812e0e
5 changed files with 12 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

View File

@ -9,7 +9,7 @@ h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord
/***** Layout *****/ /***** Layout *****/
#wrapper {background: white;} #wrapper {background: white;}
#top-menu {background: #2C4056;color: #fff;height:1.5em; padding: 2px 6px 0px 6px;} #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
#top-menu ul {margin: 0; padding: 0;} #top-menu ul {margin: 0; padding: 0;}
#top-menu li { #top-menu li {
float:left; float:left;
@ -18,7 +18,7 @@ h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord
padding: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;
white-space:nowrap; white-space:nowrap;
} }
#top-menu a {color: #fff; padding-right: 4px;} #top-menu a {color: #fff; padding-right: 8px; font-weight: bold;}
#top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; } #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
#account {float:right;} #account {float:right;}
@ -32,7 +32,7 @@ h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord
#main-menu li { #main-menu li {
float:left; float:left;
list-style-type:none; list-style-type:none;
margin: 0px 10px 0px 0px; margin: 0px 2px 0px 0px;
padding: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;
white-space:nowrap; white-space:nowrap;
} }
@ -40,13 +40,14 @@ h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord
display: block; display: block;
color: #fff; color: #fff;
text-decoration: none; text-decoration: none;
font-weight: bold;
margin: 0; margin: 0;
padding: 4px 4px 4px 4px; padding: 4px 10px 4px 10px;
background: #2C4056;
} }
#main-menu li a:hover, #main-menu li a.selected {background:#759FCF;} #main-menu li a:hover {background:#759FCF; color:#fff;}
#main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
#main {background: url(../images/mainbg.png) repeat-x; background-color:#EEEEEE;} #main {background-color:#EEEEEE;}
#sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;} #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
* html #sidebar{ width: 17%; } * html #sidebar{ width: 17%; }
@ -54,7 +55,7 @@ h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord
#sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; } #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
* html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; } * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
#content { width: 80%; background: url(../images/contentbg.png) repeat-x; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; height:600px; min-height: 600px;} #content { width: 80%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; height:600px; min-height: 600px;}
* html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;} * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
html>body #content { html>body #content {
height: auto; height: auto;

View File

@ -12,6 +12,7 @@ h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}
/* Menu */ /* Menu */
#main-menu li a { background-color: #507AAA; font-weight: bold;} #main-menu li a { background-color: #507AAA; font-weight: bold;}
#main-menu li a:hover { background: #507AAA; text-decoration: underline; } #main-menu li a:hover { background: #507AAA; text-decoration: underline; }
#main-menu li a.selected, #main-menu li a.selected:hover { background-color:#EEEEEE; }
/* Tables */ /* Tables */
table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; } table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }

View File

@ -9,8 +9,9 @@ body{ color:#303030; background:#e8eaec; }
#quick-search { margin-right: 6px; } #quick-search { margin-right: 6px; }
#main-menu { background-color: #578bb8; left: 0; border-top: 1px solid #fff; width: 100%; } #main-menu { background-color: #578bb8; left: 0; border-top: 1px solid #fff; width: 100%; }
#main-menu li { margin: 0; padding: 0; } #main-menu li { margin: 0; padding: 0; }
#main-menu li a { background-color: #578bb8; border-right: 1px solid #fff; font-size: 80%; padding: 4px 8px 4px 8px; font-weight: bold; } #main-menu li a { background-color: #578bb8; border-right: 1px solid #fff; font-size: 90%; padding: 4px 8px 4px 8px; font-weight: bold; }
#main-menu li a:hover { background-color: #80b0da; color: #ffffff; } #main-menu li a:hover { background-color: #80b0da; color: #ffffff; }
#main-menu li a.selected, #main-menu li a.selected:hover { background-color: #80b0da; color: #ffffff; }
#footer { background-color: #578bb8; border: 0; color: #fff;} #footer { background-color: #578bb8; border: 0; color: #fff;}
#footer a { color: #fff; font-weight: bold; } #footer a { color: #fff; font-weight: bold; }