dropdowns.less 908 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. &.expand-left > span > .dropdown-menu {
  35. left: -100%;
  36. right: 100%;
  37. margin-left: 0;
  38. margin-right: -1px;
  39. border-radius: 6px 0 6px 6px;
  40. }
  41. &:hover > span {
  42. background: @white-darker;
  43. > a:after {
  44. border-left-color: #fff;
  45. }
  46. }
  47. }