dropbutton.css 741 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * @file
  3. * General styles for dropbuttons.
  4. */
  5. .js .dropbutton-widget {
  6. background-color: white;
  7. border: 1px solid #ccc;
  8. }
  9. .js .dropbutton-widget:hover {
  10. border-color: #b8b8b8;
  11. }
  12. .dropbutton .dropbutton-action > * {
  13. padding: 0.1em 0.5em;
  14. white-space: nowrap;
  15. }
  16. .dropbutton .secondary-action {
  17. border-top: 1px solid #e8e8e8;
  18. }
  19. .dropbutton-multiple .dropbutton {
  20. border-right: 1px solid #e8e8e8; /* LTR */
  21. }
  22. [dir="rtl"] .dropbutton-multiple .dropbutton {
  23. border-left: 1px solid #e8e8e8;
  24. border-right: 0 none;
  25. }
  26. .dropbutton-multiple .dropbutton .dropbutton-action > * {
  27. margin-right: 0.25em; /* LTR */
  28. }
  29. [dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * {
  30. margin-left: 0.25em;
  31. margin-right: 0;
  32. }