dropdowns.less 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. //
  2. // Dropdowns
  3. // --------------------------------------------------
  4. // Dropdowns style
  5. .dropdown-menu {
  6. border-radius: @dropdown-border-radius;
  7. .box-shadow(@dropdown-shadow);
  8. }
  9. .dropdown-menu > li > a > .badge {
  10. float: right;
  11. }
  12. .dropdown-space {
  13. padding: 7px 20px;
  14. }
  15. .dropdown-footer {
  16. background: @dropdown-footer-bg;
  17. border-top: 1px solid @dropdown-footer-border;
  18. border-radius: 0px 0px @dropdown-border-radius @dropdown-border-radius;
  19. padding: 7px 20px;
  20. }
  21. // User dropdown
  22. .user-dropdown {
  23. width: 300px;
  24. padding: 0px;
  25. .user-preview, .guest-preview {
  26. border-bottom: 1px solid @dropdown-divider-bg;
  27. margin-bottom: 8px;
  28. padding: 12px 20px;
  29. .editable-avatar {
  30. margin-right: 4px;
  31. }
  32. .row {
  33. margin-top: @line-height-computed * 1.3;
  34. div:first-child {
  35. padding-right: 4px;
  36. }
  37. div:last-child {
  38. padding-left: 4px;
  39. }
  40. }
  41. }
  42. .guest-preview {
  43. border-bottom: 0px;
  44. margin-bottom: 4px;
  45. }
  46. .dropdown-footer {
  47. margin-top: 8px;
  48. }
  49. }