Sha256: 2d7f272a38fa2c347ac1d84aaa80711306e9dbb3e2facedb807255489d2ea2aa
Contents?: true
Size: 1.29 KB
Versions: 6
Compression:
Stored size: 1.29 KB
Contents
.dropdown-submenu:hover > a, .dropdown-submenu:focus > a { text-decoration: none; color: $dropdown-link-hover-color; @include gradient-vertical($dropdown-link-hover-bg, darken($dropdown-link-hover-bg, 5%)); } // Sub menus // --------------------------- .dropdown-submenu { position: relative; } // Default dropdowns .dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-top: -6px; margin-left: -1px; border-radius: 0 6px 6px 6px; } .dropdown-submenu:hover > .dropdown-menu { display: block; } // Caret to indicate there is a submenu .dropdown-submenu > a:after { display: block; content: " "; float: right; width: 0; height: 0; border-top: $caret-width-base solid transparent; border-bottom: $caret-width-base solid transparent; border-left: $caret-width-base solid $navbar-default-link-color; border-right: 0 dotted; margin-top: 5px; margin-right: -10px; } .dropdown-submenu:hover > a:after { border-left-color: $dropdown-link-hover-color; } // Left aligned submenus .dropdown-submenu.pull-left { // Undo the float // Yes, this is awkward since .pull-left adds a float, but it sticks to our conventions elsewhere. float: none; // Positioning the submenu > .dropdown-menu { left: -100%; margin-left: 10px; border-radius: 6px 0 6px 6px; } }
Version data entries
6 entries across 6 versions & 1 rubygems