Przeglądaj źródła

Merge pull request #1821 from weseek/support/fix-nav-tabs

fix style
itizawa 6 lat temu
rodzic
commit
c11902f755
1 zmienionych plików z 17 dodań i 14 usunięć
  1. 17 14
      src/client/styles/scss/_layout_kibela.scss

+ 17 - 14
src/client/styles/scss/_layout_kibela.scss

@@ -145,25 +145,28 @@ body.kibela {
 
   /* Tabs */
   .nav.nav-tabs {
-    border-bottom-color: #f4f5f6;
+    > .nav-item {
+      color: #5882fa;
+      cursor: pointer;
+      background: transparent;
 
-    > li > a {
-      &,
       &:hover,
       &:focus {
-        background: transparent;
-        border-top: none;
-        border-right: none;
-        border-left: none;
+        > .nav-link {
+          color: #7a94d9;
+        }
       }
-    }
 
-    > li.active > a {
-      background: transparent !important;
-      border-top: none;
-      border-right: none;
-      border-bottom: solid 2.7px #5584e1;
-      border-left: none;
+      > .nav-link {
+        color: #5882fa;
+        border: none;
+        border-radius: 3px;
+      }
+
+      > .nav-link.active {
+        background: transparent !important;
+        border-bottom: solid 2.7px #5584e1;
+      }
     }
 
     .wiki {