]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
scratch that, tweaking dropdowns in tabs
authorMark Otto <markdotto@gmail.com>
Sat, 7 Jan 2012 12:40:32 +0000 (04:40 -0800)
committerMark Otto <markdotto@gmail.com>
Sat, 7 Jan 2012 12:41:51 +0000 (04:41 -0800)
docs/components.html
lib/tabs-pills.less

index 5bafc5a60a3dd294ab09053956563de03387b36d..baeccd6ed6671d9338232e0930bd32a540614b66 100644 (file)
         <li><a href="#">Settings</a></li>
         <li><a href="#">Contact</a></li>
         <li class="dropdown">
-          <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a>
+          <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
           <ul class="dropdown-menu">
             <li><a href="#">Secondary link</a></li>
             <li><a href="#">Something else here</a></li>
index 23ba9ccfac383f79cad79fb738e7075661a28abb..8e8856a5671c2b6c0f6259b0ea2f5b74da2dfafd 100644 (file)
 
 // Dropdowns in tabs
 .tabs {
-  // first one for backwards compatibility
-  .menu-dropdown,
   .dropdown-menu {
-    top: 35px;
+    top: 36px;
     border-width: 1px;
-    .border-radius(0 6px 6px 6px);
   }
-  // first one for backwards compatibility
-  a.menu:after,
-  .dropdown-toggle:after {
-    border-top-color: #999;
+  .dropdown-toggle .caret {
     margin-top: 15px;
     margin-left: 5px;
   }
-  // first one for backwards compatibility
-  li.open.menu .menu,
-  .open.dropdown .dropdown-toggle {
+  .open .dropdown-toggle {
     border-color: #999;
   }
-  // first one for backwards compatibility
-  li.open a.menu:after,
-  .dropdown.open .dropdown-toggle:after {
-    border-top-color: #555;
-  }
 }
 
 // Pills