From 43fc812e0ebc029b4c959e517125d2baef23c26c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 19 Mar 2008 18:22:16 +0000 Subject: [PATCH] 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 --- public/images/contentbg.png | Bin 152 -> 0 bytes public/images/mainbg.png | Bin 150 -> 0 bytes public/stylesheets/application.css | 17 +++++++++-------- .../alternate/stylesheets/application.css | 1 + .../themes/classic/stylesheets/application.css | 3 ++- 5 files changed, 12 insertions(+), 9 deletions(-) delete mode 100644 public/images/contentbg.png delete mode 100644 public/images/mainbg.png diff --git a/public/images/contentbg.png b/public/images/contentbg.png deleted file mode 100644 index eb6d75080751e2091709c6e900617763b1b00589..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 152 zcmeAS@N?(olHy`uVBq!ia0vp^0zk~l!2~1^cm0+FQtTz3zOL-oIR%8JOw%MLZ~%ok z3p^r=85p=efH0%e8j~47L6&q!Uq=Rpjs4tz5?O(Kbx#+^kcwN$duo51F>5xsdU$lG t@b=u_U$5?ac)oqT$E5=T7~&E*R&Dmm`v}y+;OXk;vd$@?2>>0PDIx#> diff --git a/public/images/mainbg.png b/public/images/mainbg.png deleted file mode 100644 index 29713c3c14b318084efac8e10d807107a093d856..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 150 zcmeAS@N?(olHy`uVBq!ia0vp^0zk~l!2~1^cm0+FQtTz3zOL-oIR%6zwYOXSTLBc} zEbxddW?Nn{1`RXtrCLn>}1@2UN5#;n=U+S}V} r!fRt=vm`SiB}K)PS=e(`BLl-6Nv2zK+h*SZYGCkm^>bP0l+XkKD!3>; diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index a0d5deb28..0681247cb 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -9,7 +9,7 @@ h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord /***** Layout *****/ #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 li { 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; 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; } #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 { float:left; list-style-type:none; - margin: 0px 10px 0px 0px; + margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px; white-space:nowrap; } @@ -40,13 +40,14 @@ h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord display: block; color: #fff; text-decoration: none; + font-weight: bold; margin: 0; - padding: 4px 4px 4px 4px; - background: #2C4056; + padding: 4px 10px 4px 10px; } -#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;} * 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; } * 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>body #content { height: auto; diff --git a/public/themes/alternate/stylesheets/application.css b/public/themes/alternate/stylesheets/application.css index 06d38b96f..19cbc0061 100644 --- a/public/themes/alternate/stylesheets/application.css +++ b/public/themes/alternate/stylesheets/application.css @@ -12,6 +12,7 @@ h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;} /* Menu */ #main-menu li a { background-color: #507AAA; font-weight: bold;} #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 */ table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; } diff --git a/public/themes/classic/stylesheets/application.css b/public/themes/classic/stylesheets/application.css index 11654cc88..57f911da6 100644 --- a/public/themes/classic/stylesheets/application.css +++ b/public/themes/classic/stylesheets/application.css @@ -9,8 +9,9 @@ body{ color:#303030; background:#e8eaec; } #quick-search { margin-right: 6px; } #main-menu { background-color: #578bb8; left: 0; border-top: 1px solid #fff; width: 100%; } #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.selected, #main-menu li a.selected:hover { background-color: #80b0da; color: #ffffff; } #footer { background-color: #578bb8; border: 0; color: #fff;} #footer a { color: #fff; font-weight: bold; } -- 2.39.5