]> source.dussan.org Git - sonarqube.git/commitdiff
Add separators between filters
authorStas Vilchik <vilchiks@gmail.com>
Mon, 7 Apr 2014 11:34:45 +0000 (17:34 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 7 Apr 2014 11:34:45 +0000 (17:34 +0600)
sonar-server/src/main/less/navigator/filters.less

index fbfdf0e3b13cafef61872727bd252061246bf6bf..e953c2487633978be921b2b615ed388955bf9688 100644 (file)
 }
 
 .navigator-filter {
+  position: relative;
+  z-index: 1;
   display: inline-block;
   vertical-align: top;
   height: @navigatorFiltersHeight - 1px;
   line-height: @navigatorFiltersHeight - 1px;
   margin: -1px 0 0;
   padding: 0 @navigatorFilterPadding;
-  border: 1px solid transparent;
+  border: 1px solid;
+  border-color: transparent @navigatorBorderLightColor;
   white-space: nowrap;
   cursor: pointer;
   transition: background 0.3s ease;
 
   &:hover {
+    z-index: 2;
+    border-color: @navigatorBorderColor;
     background-color: @navigatorHover;
   }
 
     border-color: @darkGrey;
     background: #fff;
   }
+
+  &:first-child {
+    border-left: none;
+  }
+}
+
+.navigator-filter + .navigator-filter {
+  margin-left: -1px;
 }
 
 .navigator-filter-disabled {