Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

dropbutton.css

Same filename in this branch
  1. 11.1.x core/themes/olivero/css/components/dropbutton.css
  2. 11.1.x core/themes/stable9/css/core/dropbutton/dropbutton.css
  3. 11.1.x core/themes/starterkit_theme/css/components/dropbutton.css
  4. 11.1.x core/themes/claro/css/components/dropbutton.css
  5. 11.1.x core/misc/dropbutton/dropbutton.css
  6. 11.1.x core/misc/dialog/off-canvas/css/dropbutton.css

General styles for dropbuttons.

File

core/profiles/demo_umami/themes/umami/css/classy/components/dropbutton.css

View source
  1. /**
  2. * @file
  3. * General styles for dropbuttons.
  4. */
  5. .js .dropbutton-widget {
  6. border: 1px solid #ccc;
  7. background-color: white;
  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-right: 0 none;
  24. border-left: 1px solid #e8e8e8;
  25. }
  26. .dropbutton-multiple .dropbutton .dropbutton-action > * {
  27. margin-right: 0.25em; /* LTR */
  28. }
  29. [dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * {
  30. margin-right: 0;
  31. margin-left: 0.25em;
  32. }
RSS feed
Powered by Drupal