public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
Search Repo:
Make tab background white when not in context-menu mode
Johan Sørensen (author)
Sun Apr 27 14:28:36 -0700 2008
commit  d32a4cc201f9d57c1b288569d5b8b01d9ce7cb97
tree    2d53e91b21f070b53596110b3df2b83efe6b9177
parent  723a114425f513e21eaec721f86138b735503adf
...
49
50
51
52
 
53
54
55
...
49
50
51
 
52
53
54
55
0
@@ -49,7 +49,7 @@
0
     </ul>
0
     <% if @project -%>
0
     <h2 id="project_title"><%= link_to h(@project.title), @project -%></h2>
0
- <ul id="submenu">
0
+ <ul id="submenu" class="<%= @content_for_submenu.blank? ? "white" : "" -%>">
0
       <li class="<%= submenu_selected_class_if_current?(:overview) -%>">
0
         <%= link_to "Project Overview",
0
           project_path(@project), :class => "round-tl-5 round-tr-5" -%>
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-<li><%= link_to "Activity", [@project, @repository] -%></li>
0
+<li><%= link_to "Overview", [@project, @repository] -%></li>
0
 <li><%= link_to "Commits",
0
           project_repository_logs_path(@project, @repository) -%></li>
0
 <li><%= link_to "Trees",
...
308
309
310
 
 
 
 
311
312
313
...
319
320
321
 
 
 
 
 
322
323
324
...
308
309
310
311
312
313
314
315
316
317
...
323
324
325
326
327
328
329
330
331
332
333
0
@@ -308,6 +308,10 @@ abbr {
0
   color: #000;
0
 }
0
 
0
+#submenu.white li.selected a {
0
+ background: #fff;
0
+}
0
+
0
 #submenu li a:hover {
0
   text-decoration: none;
0
   background: #3b5f02;
0
@@ -319,6 +323,11 @@ abbr {
0
   color: #000;
0
 }
0
 
0
+#submenu.white li.selected a:hover {
0
+ background: #fff;
0
+ color: #000;
0
+}
0
+
0
 /* context menu */
0
 
0
 #contextmenu {

Comments

    No one has commented yet.