Просмотр исходного кода

Tab header styling

li styling was being applied to nested lists in the tab, but this was only meant for the tab headers list
Jessica Lawshe 8 лет назад
Родитель
Сommit
530a3b0d44
1 измененных файлов с 6 добавлено и 11 удалено
  1. 6 11
      services/web/public/stylesheets/components/tabs.less

+ 6 - 11
services/web/public/stylesheets/components/tabs.less

@@ -6,8 +6,13 @@
     margin-top: -@line-height-computed; //- adjusted for portal-name
     padding: @padding-lg 0 @padding-md;
     text-align: center;
+  }
 
+  .nav-tabs > li {
+    display: inline-block;
+    float: none;
     a {
+      border: 0;
       color: @link-color;
       &:hover {
         background-color: transparent!important;
@@ -17,14 +22,6 @@
     }
   }
 
-  li {
-    display: inline-block;
-    float: none;
-    a {
-      border: 0;
-    }
-  }
-
   li.active > a {
     background-color: transparent!important;
     border: 0!important;
@@ -39,6 +36,4 @@
     background-color: transparent!important;
     border: none!important;
   }
-}
-
-  
+}