]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
purple sidebar
authorMark Otto <markdotto@gmail.com>
Mon, 29 May 2017 04:40:23 +0000 (21:40 -0700)
committerMark Otto <markdotto@gmail.com>
Mon, 29 May 2017 04:40:23 +0000 (21:40 -0700)
docs/assets/scss/_sidebar.scss

index 6ef4b1db91376dc7ad0f9ffed3592da1d1c0568e..1876048c3cdeaa55f33bad3fa53fc590708ff6ed 100644 (file)
@@ -43,7 +43,7 @@
 }
 
 .bd-sidebar {
-  background-color: #f5f5f5;
+  background-color: #f5f2f9;
   border-bottom: 1px solid rgba(0,0,0,.1);
 
   @include media-breakpoint-up(md) {
   padding: .75rem 1.5rem;
   font-weight: 500;
   color: $gray;
-}
 
-.bd-toc-link:hover {
-  color: $brand-primary;
-  text-decoration: none;
-  background-color: #fafafa;
+  &:hover {
+    color: $brand-primary;
+    text-decoration: none;
+    background-color: rgba(0,0,0,.01);
+  }
 }
 
 .bd-toc-item {
+  border-bottom: 1px solid rgba(0,0,0,.05);
+
   &:first-child {
-    border-top: 1px solid $gray-lighter;
-  }
-  &:not(:last-child) {
-    border-bottom: 1px solid $gray-lighter;
+    border-top: 1px solid rgba(0,0,0,.05);
   }
 
   &.active {
-    background-color: #fafafa;
-
     > .bd-toc-link {
       color: $gray-dark;
+
+      &:hover {
+        background-color: transparent;
+      }
     }
 
     > .bd-sidenav {
   display: block;
   padding: .25rem 1.5rem;
   font-size: 90%;
-  color: #99979c;
+  color: rgba(0,0,0,.65);
 }
 
 .bd-sidebar .nav > li > a:hover {