]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5598 The ">" icon used on filters in the headers is confusing
authorStas Vilchik <vilchiks@gmail.com>
Tue, 7 Oct 2014 12:56:22 +0000 (14:56 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 7 Oct 2014 12:56:30 +0000 (14:56 +0200)
server/sonar-web/src/main/hbs/component-viewer/header/_cw-header-link.hbs
server/sonar-web/src/main/hbs/component-viewer/header/cw-issues-header.hbs
server/sonar-web/src/main/hbs/component-viewer/header/cw-scm-header.hbs
server/sonar-web/src/main/hbs/component-viewer/header/cw-tests-header.hbs
server/sonar-web/src/main/less/component-viewer.less
server/sonar-web/src/main/less/icons.less

index 70f6649231940042c248710b325d93de91186d1a..f61e72781c6427726d7272616d8b6bf3fc5929f4 100644 (file)
@@ -1,5 +1,5 @@
 <li><a class="item {{cl}}" data-metric="{{label}}">
   <span class="label">{{t 'metric' label 'name'}}</span>
   <span class="number">{{value}}</span>
-  <i class="icon-chevron-right"></i>
-</a></li>
\ No newline at end of file
+  <i class="icon-component-viewer-filter"></i>
+</a></li>
index 91ba1ecc927412e7d3601b0ff2e210b5bf4c85ef..4f8fcbfbcd907602f33f5fb5dab194b48815b381 100644 (file)
     {{#if currentIssue}}
       <li><a class="item js-filter-current-issue">
         <span>{{t 'component_viewer.issues.current_issue'}}</span>
-        <i class="icon-chevron-right"></i>
+        <i class="icon-component-viewer-filter"></i>
       </a></li>
     {{/if}}
     {{#unless state.removed}}
       <li><a class="item js-filter-unresolved-issues">
         <span>{{t 'component_viewer.issues.unresolved_issues'}}</span>
-        <i class="icon-chevron-right"></i>
+        <i class="icon-component-viewer-filter"></i>
       </a></li>
     {{/unless}}
     {{#unless state.removed}}
       <li><a class="item js-filter-open-issues">
         <span>{{t 'component_viewer.issues.open_issues'}}</span>
-        <i class="icon-chevron-right"></i>
+        <i class="icon-component-viewer-filter"></i>
       </a></li>
     {{/unless}}
     {{#unless state.removed}}
       <li><a class="item js-filter-fixed-issues">
         <span>{{t 'component_viewer.issues.fixed_issues'}}</span>
-        <i class="icon-chevron-right"></i>
+        <i class="icon-component-viewer-filter"></i>
       </a></li>
     {{/unless}}
     {{#unless state.removed}}
       <li><a class="item js-filter-false-positive-issues">
         <span>{{t 'component_viewer.issues.false_positive_issues'}}</span>
-        <i class="icon-chevron-right"></i>
+        <i class="icon-component-viewer-filter"></i>
       </a></li>
     {{/unless}}
   </ul>
@@ -55,7 +55,7 @@
           <li><a class="item js-filter-{{key}}-issues">
             <span>{{severityIcon key}} {{name}}</span>
             <span class="number">{{count}}</span>
-            <i class="icon-chevron-right"></i>
+            <i class="icon-component-viewer-filter"></i>
           </a></li>
         {{else}}
           <li><span class="item">
@@ -79,7 +79,7 @@
           <li><a class="item js-filter-rule" data-rule="{{key}}" title="{{name}}">
             <span>{{name}}</span>
             <span class="number">{{count}}</span>
-            <i class="icon-chevron-right"></i>
+            <i class="icon-component-viewer-filter"></i>
           </a></li>
         {{else}}
           <li><span class="item">
index 2cf3da9e995be4a7c90cfa1c1830c6d8358b1bc8..d208b7cb18535f548c187129848874816c400b53 100644 (file)
@@ -8,7 +8,7 @@
   <ul class="component-viewer-header-expanded-bar-section-list">
     <li><a class="item js-filter-modified-lines">
       <span>{{t 'component_viewer.scm.modified_lines'}}</span>
-      <i class="icon-chevron-right"></i>
+      <i class="icon-component-viewer-filter"></i>
     </a></li>
   </ul>
 </div>
index c11d69bc2798e21e91eead35c3243bcf936c9c75..6cba8cef9c40fbec9562649dc59a1b470abf21db 100644 (file)
@@ -72,7 +72,7 @@
             {{#if coveredLines}}
               <span class="number">{{coveredLines}}</span>
             {{/if}}
-            <i class="icon-chevron-right"></i>
+            <i class="icon-component-viewer-filter"></i>
           </a></li>
         {{else}}
           <li><span class="item" data-name="{{name}}" data-status="{{status}}" title="{{name}}">
index 58ee62b571de28ce73130c2ffe2b2d7a06b30cf6..a24fcd828ab32651ae3e81caee1e48fb675ef5e7 100644 (file)
     & > i {
       position: absolute;
       top: 50%;
-      right: 10px;
+      right: 6px;
       margin-top: -7px;
     }
 
index f13dc75e7d5d93bae42b21c52d17c0fdfd962457..fa174f8b19bac7383d4af13f7b3827fb8e81acd6 100644 (file)
@@ -516,6 +516,11 @@ a[class^="icon-"], a[class*=" icon-"] {
   content: "\f016";
   font-size: @iconFontSize;
 }
+.icon-component-viewer-filter:before {
+  content: "\e60e";
+  color: #999;
+  font-size: @iconSmallFontSize;
+}
 
 
 /*