Prettier tabs for settings views.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1073 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-01-17 17:43:54 +00:00
parent 061977d77d
commit 1c5a9b1773
3 changed files with 25 additions and 11 deletions

View File

@ -285,9 +285,10 @@ p.progress-info {clear: left; font-style: italic; font-size: 80%;}
div#status_by { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; }
/***** Tabs *****/
#content .tabs{height: 2.6em;}
#content .tabs ul{margin:0;}
#content .tabs ul li{
#content .tabs {height: 2.6em; border-bottom: 1px solid #bbbbbb; margin-bottom:1.2em; position:relative;}
#content .tabs ul {margin:0; position:absolute; bottom:-2px; padding-left:1em;}
#content .tabs>ul { bottom:-1px; } /* others */
#content .tabs ul li {
float:left;
list-style-type:none;
white-space:nowrap;
@ -298,18 +299,30 @@ background:#fff;
display:block;
font-size: 0.9em;
text-decoration:none;
line-height:1em;
padding:4px;
border: 1px solid #c0c0c0;
line-height:1.3em;
padding:4px 6px 4px 6px;
border: 1px solid #ccc;
border-bottom: 1px solid #bbbbbb;
background-color: #eeeeee;
color:#777;
font-weight:bold;
}
#content .tabs ul li a.selected, #content .tabs ul li a:hover{
background-color: #507AAA;
border: 1px solid #507AAA;
color: #fff;
#content .tabs ul li a:hover {
background-color: #ffffdd;
text-decoration:none;
}
#content .tabs ul li a.selected {
background-color: #fff;
border: 1px solid #bbbbbb;
border-bottom: 1px solid #fff;
}
#content .tabs ul li a.selected:hover {
background-color: #fff;
}
/***** Diff *****/
.diff_out { background: #fcc; }
.diff_in { background: #cfc; }

View File

@ -1,6 +1,6 @@
@import url(../../../stylesheets/application.css);
body { background-color:#EEEEEE; }
body, #wrapper { background-color:#EEEEEE; }
#header, #top-menu { margin: 0px 10px 0px 11px; }
#main { background: #EEEEEE; margin: 8px 10px 0px 10px; }
#content { background: #fff; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; border-left: 1px solid #d7d7d7; border-top: 1px solid #d7d7d7; }

View File

@ -19,6 +19,7 @@ body{ color:#303030; background:#e8eaec; }
#main a { font-weight: bold; color: #467aa7;}
#main a:hover { color: #2a5a8a; text-decoration: underline; }
#content { background: #fff; }
#content .tabs ul { bottom:-1px; }
h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 { border-bottom: 0px; color:#606060; font-family: Trebuchet MS,Georgia,"Times New Roman",serif; }
h2, .wiki h1 { letter-spacing:-1px; }