]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8516 Improve UI of quality gate section on the project dashboard
authorStas Vilchik <stas.vilchik@sonarsource.com>
Thu, 12 Oct 2017 15:18:07 +0000 (17:18 +0200)
committerStas Vilchik <stas.vilchik@sonarsource.com>
Mon, 16 Oct 2017 09:08:02 +0000 (11:08 +0200)
server/sonar-web/src/main/js/apps/overview/styles.css

index c928cd2c4df16763c11968f7cf91ace3662d7b93..10ee754e0118c1fe789965f67d774a16e3e572f6 100644 (file)
   display: block;
   margin-top: 15px;
   margin-right: 30px;
-  border: 1px solid #e6e6e6;
-  border-radius: 2px;
+  border: none;
+  border-left: 5px solid;
+  border-top-right-radius: 2px;
+  border-bottom-right-radius: 2px;
   background-color: #fff;
   color: #444;
   transition: none;
 
 .overview-quality-gate-condition:hover,
 .overview-quality-gate-condition:focus {
-  border-width: 2px;
   color: #444;
 }
 
 .overview-quality-gate-condition:hover .overview-quality-gate-condition-container,
 .overview-quality-gate-condition:focus .overview-quality-gate-condition-container {
-  padding: 9px;
+  border-color: inherit;
 }
 
 .overview-quality-gate-condition-leak {
   /* three lines by 16px and 4px margin */
   min-height: 52px;
   padding: 10px;
+  border-top: 1px solid #e6e6e6;
+  border-bottom: 1px solid #e6e6e6;
+  border-right: 1px solid #e6e6e6;
+  transition: border-color 0.3s ease;
 }
 
 .overview-quality-gate-condition-value {
 .overview-quality-gate-threshold {
   margin-top: 4px;
   font-size: 12px;
+  color: #777;
 }
 
 .overview-quality-gate-warning {
   border-color: #ed7d20;
 }
 
-.overview-quality-gate-condition-error .overview-quality-gate-threshold {
-  color: #d4333f;
-}
-
-.overview-quality-gate-condition-warn .overview-quality-gate-threshold {
-  color: #ed7d20;
-}
-
 /*
  * Domain
  */