]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3802 do not highlight the last breadcrumb item
authorSimon Brandhof <simon.brandhof@gmail.com>
Sun, 30 Sep 2012 16:14:24 +0000 (18:14 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Sun, 30 Sep 2012 16:14:24 +0000 (18:14 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_breadcrumb.html.erb
sonar-server/src/main/webapp/images/bc-blue-gray.png [deleted file]
sonar-server/src/main/webapp/images/bc-gray-blue.png [deleted file]
sonar-server/src/main/webapp/images/bc-gray.png
sonar-server/src/main/webapp/stylesheets/layout.css

index 4a4d32ade311860bfe0b5afbc803783e3d8b2c6e..df4c519d4e333bd41646be6d3e86a11f12b15ed1 100644 (file)
              resources.insert(0, s.project)
              s=s.parent
            end
-
-           items_count = resources.size
-           items_count+=1 if @review
       %>
         <li class="first"><%= message("qualifiers.#{resources[0].qualifier}") -%></li>
       <%
            resources.each_with_index do |resource, index|
-           css_class=(index==items_count-1 ? 'selected' : '')
       %>
-          <li class="<%= css_class -%>">
+          <li>
             <%= qualifier_icon(resource) -%>
             &nbsp;
             <%= link_to(h(resource.name),
            # ======== Path for review ========
            if @review
         %>
-        <li class="selected">
+        <li>
           <%= link_to message('review') + ' #' + @review.id.to_s -%>
         </li>
       <%
          end
       %>
-      <li class="last">&nbsp;</li>
+      <li>&nbsp;</li>
     </ul>
   </div>
 <% end %>
\ No newline at end of file
diff --git a/sonar-server/src/main/webapp/images/bc-blue-gray.png b/sonar-server/src/main/webapp/images/bc-blue-gray.png
deleted file mode 100644 (file)
index c3df137..0000000
Binary files a/sonar-server/src/main/webapp/images/bc-blue-gray.png and /dev/null differ
diff --git a/sonar-server/src/main/webapp/images/bc-gray-blue.png b/sonar-server/src/main/webapp/images/bc-gray-blue.png
deleted file mode 100644 (file)
index e9af698..0000000
Binary files a/sonar-server/src/main/webapp/images/bc-gray-blue.png and /dev/null differ
index c5bee91c518298f5a6c24ddda898ac63d969e605..fbdf65a2ece31a670a06fb993fbdff4a49d3c197 100644 (file)
Binary files a/sonar-server/src/main/webapp/images/bc-gray.png and b/sonar-server/src/main/webapp/images/bc-gray.png differ
index ed42c8e1e808d118b19c4e8ac64ae892c2be1931..0779f5c5ab34e3c3a72b10d4db8f0e37cb7aa4f6 100644 (file)
@@ -119,30 +119,11 @@ body, a {
   padding: 0 10px 0 5px;
 }
 
-#crumbs > ul > li.first-selected {
-  background: #4B9FD5;
-  border-left: 2px solid #4B9FD5;
-  border-bottom: 1px solid #4B9FD5;
-  padding: 0 10px 0 5px;
-}
-
-#crumbs > ul > li.selected {
-  background: #4B9FD5 url("../images/bc-gray-blue.png") no-repeat left;
-}
-
-#crumbs > ul > li.last {
-  background: #EFEFEF url("../images/bc-blue-gray.png") no-repeat left;
-  border-bottom: #CCC;
-}
-
 #crumbs > ul > li img {
   vertical-align: text-bottom;
   margin-right: -5px;
 }
 
-#crumbs > ul > li.selected a, #crumbs > ul > li.first-selected a {
-  color: #FFF;
-}
 #crumbs > ul > li a {
   text-decoration: none;
 }