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

index 234f58e7bce2872ae0a39304d1e0fec6dd1411b9..4c2c6a7a134079f5db5381e4e2883f15534f640d 100644 (file)
     width: 100%;
     min-width: 0 !important;
     max-width: none !important;
+    background-color: #fff;
+    background-clip: padding-box;
+    border: 1px solid rgba(0,0,0,.1);
     box-shadow: 0 .5rem 1rem rgba(0,0,0,.175);
 
     // Caret
     &::before {
-      left: 1rem !important;
+      display: none !important;
+    }
+
+    [class^=ds-dataset-] {
+      background-color: transparent !important;
+      border: 0 !important;
     }
   }
 
+  .algolia-docsearch-suggestion--category-header {
+    padding: .125rem 0 !important;
+    margin-top: 0 !important;
+    font-size: .75rem !important;
+    font-weight: 500 !important;
+    color: #767676 !important;
+    border-bottom: 0 !important;
+  }
+
+  .algolia-docsearch-suggestion--wrapper {
+    padding-top: 0 !important;
+  }
+
   // Section header
   .algolia-docsearch-suggestion--subcategory-column {
     float: none !important;
   }
 
   .ds-suggestion {
+    &:not(:first-child) {
+      .algolia-docsearch-suggestion--category-header {
+        margin-top: .5rem !important;
+      }
+    }
+
     .algolia-docsearch-suggestion--subcategory-column {
       display: none !important;
     }
   }
 
+  .algolia-docsearch-suggestion--title {
+    font-size: .875rem !important;
+    font-weight: 400 !important;
+  }
+
   .algolia-docsearch-footer {
     display: none !important;
   }