3 // --------------------------------------------------
 
     6 // Dropdown arrow/caret
 
    12   vertical-align: middle;
 
    13   border-top:   @caret-width-base solid;
 
    14   border-right: @caret-width-base solid transparent;
 
    15   border-left:  @caret-width-base solid transparent;
 
    18 // The dropdown wrapper (div)
 
    23 // Prevent the focus on the dropdown toggle when closing dropdowns
 
    24 .dropdown-toggle:focus {
 
    28 // The dropdown menu (ul)
 
    33   z-index: @zindex-dropdown;
 
    34   display: none; // none by default, but block on "open" of the menu
 
    38   margin: 2px 0 0; // override default ul
 
    40   font-size: @font-size-base;
 
    41   background-color: @dropdown-bg;
 
    42   border: 1px solid @dropdown-fallback-border; // IE8 fallback
 
    43   border: 1px solid @dropdown-border;
 
    44   border-radius: @border-radius-base;
 
    45   .box-shadow(0 6px 12px rgba(0,0,0,.175));
 
    46   background-clip: padding-box;
 
    48   // Aligns the dropdown menu to right
 
    54   // Dividers (basically an hr) within the dropdown
 
    56     .nav-divider(@dropdown-divider-bg);
 
    59   // Links within the dropdown menu
 
    65     line-height: @line-height-base;
 
    66     color: @dropdown-link-color;
 
    67     white-space: nowrap; // prevent links from randomly breaking onto new lines
 
    72 .dropdown-menu > li > a {
 
    75     text-decoration: none;
 
    76     color: @dropdown-link-hover-color;
 
    77     background-color: @dropdown-link-hover-bg;
 
    82 .dropdown-menu > .active > a {
 
    86     color: @dropdown-link-active-color;
 
    87     text-decoration: none;
 
    89     background-color: @dropdown-link-active-bg;
 
    95 // Gray out text and ensure the hover/focus state remains gray
 
    97 .dropdown-menu > .disabled > a {
 
   101     color: @dropdown-link-disabled-color;
 
   104 // Nuke hover/focus effects
 
   105 .dropdown-menu > .disabled > a {
 
   108     text-decoration: none;
 
   109     background-color: transparent;
 
   110     background-image: none; // Remove CSS gradient
 
   116 // Open state for the dropdown
 
   123   // Remove the outline when :focus is triggered
 
   129 // Dropdown section headers
 
   133   font-size: @font-size-small;
 
   134   line-height: @line-height-base;
 
   135   color: @dropdown-header-color;
 
   138 // Backdrop to catch body clicks on mobile, etc.
 
   145   z-index: @zindex-dropdown - 10;
 
   148 // Right aligned dropdowns
 
   149 .pull-right > .dropdown-menu {
 
   154 // Allow for dropdowns to go bottom up (aka, dropup-menu)
 
   156 // Just add .dropup after the standard .dropdown class and you're set, bro.
 
   157 // TODO: abstract this so that the navbar fixed styles are not placed here?
 
   160 .navbar-fixed-bottom .dropdown {
 
   164     border-bottom: @caret-width-base solid;
 
   167   // Different positioning for bottom up menu
 
   176 // Component alignment
 
   178 // Reiterate per navbar.less and the modified component alignment there.
 
   180 @media (min-width: @grid-float-breakpoint) {
 
   183       .pull-right > .dropdown-menu();