]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
style our dropdown a bit
authorMark Otto <markdotto@gmail.com>
Tue, 30 May 2017 20:59:42 +0000 (13:59 -0700)
committerMark Otto <markdotto@gmail.com>
Tue, 30 May 2017 20:59:42 +0000 (13:59 -0700)
assets/scss/_nav.scss

index 0a5f94e0534e72d96f7a117ee5a99fb87db4451e..f7e74fc36701d404fd6514a5a1459f4f01407b03 100644 (file)
   .dropdown-menu {
     font-size: .875rem;
   }
+
+  .dropdown-item.active {
+    font-weight: 500;
+    color: $gray-dark;
+    background-color: transparent;
+    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");
+    background-repeat: no-repeat;
+    background-position: .4rem .6rem;
+    background-size: .75rem .75rem;
+  }
 }