]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3972 Improve the user panel
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 29 Nov 2012 14:38:59 +0000 (15:38 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 29 Nov 2012 15:55:05 +0000 (16:55 +0100)
- Add link highlighting
- Remove the useless "Clear" action
- Add cursor pointer on the title

sonar-server/src/main/webapp/javascripts/recent-history.js
sonar-server/src/main/webapp/stylesheets/layout.css
sonar-server/src/main/webapp/stylesheets/style.css

index 6d4da0f0635e278345e5254d50496e0e687c2fc1..9368502d87090fd835376e74adae92c2a6733c51 100644 (file)
@@ -66,7 +66,6 @@ Sonar.RecentHistory.prototype.populateRecentHistoryPanel = function () {
                             + resource['name'] 
                             + '</a></li>');
     });
-    historyLinksList.append('<li><a href="#" onclick="sonarRecentHistory.clear(); sonarRecentHistory.populateRecentHistoryPanel(); return false;" style="color: #777777 !important;">' + this.translations['clear'] + '</a></li>');
     $j("#sonar-recent-history").show();
   }
 };
index 85d36ff3970252b54e17f4d3be5361aed1ab4427..7ff60d9e5b1f852e2d80f198ba5b5b06479bdd7d 100644 (file)
@@ -178,6 +178,24 @@ body, a {
   border-top: 1px solid #ccc;
 }
 
+#sonar-recent-history li {
+  list-style-type: none !important;
+  padding: 2px 8px 2px 0px !important;
+  cursor: pointer !important;
+}
+
+#sonar-recent-history li:hover {
+  background-color: #4b9fd5 !important;
+}
+
+#sonar-recent-history li:hover a {
+  color: #fff !important;
+}
+
+#sonar-recent-history a {
+  text-decoration: none !important;
+}
+
 #nonav {
   text-align: left;
   margin: 50px 180px 0;
index 9a8640bc37a08eed3efd19eacff8a9d9ff0a1280..698d1165c0e7041a3fbaefe4d50052f02d39dddf 100644 (file)
@@ -2101,6 +2101,7 @@ table.nowrap td, td.nowrap, th.nowrap {
   background-repeat: no-repeat;
   padding-right: 20px;
   background-position: right center;
+  cursor: pointer;
 }
 
 .dropdown {