dropdowns.less 749 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .dropdown-menu {
  2. z-index: 1001;
  3. .dropdown-toggle,
  4. > li a {
  5. display: block;
  6. padding: 6px 10px;
  7. }
  8. }
  9. .dropdown-menu .dropdown-toggle {
  10. clear: both;
  11. font-weight: normal;
  12. line-height: 1.42857143;
  13. color: #493e54;
  14. white-space: nowrap;
  15. }
  16. .dropdown-submenu {
  17. position: relative;
  18. > span {
  19. display: block;
  20. > .dropdown-menu {
  21. &:after,
  22. &:before {
  23. display: none !important;
  24. }
  25. top: 0;
  26. left: 100%;
  27. margin-top: -5px;
  28. margin-left: -1px;
  29. -webkit-border-radius: 0 6px 6px 6px;
  30. -moz-border-radius: 0 6px 6px;
  31. border-radius: 0 6px 6px 6px;
  32. }
  33. }
  34. &:hover > span {
  35. background: @white-darker;
  36. > a:after {
  37. border-left-color: #fff;
  38. }
  39. }
  40. }