buttons.css

Same filename in this branch
  1. 9 core/themes/seven/css/components/buttons.css
  2. 9 core/themes/bartik/css/components/buttons.css
Same filename in other branches
  1. 8.9.x core/profiles/demo_umami/themes/umami/css/components/forms/buttons.css
  2. 8.9.x core/themes/seven/css/components/buttons.css
  3. 8.9.x core/themes/bartik/css/components/buttons.css
  4. 10 core/profiles/demo_umami/themes/umami/css/components/forms/buttons.css
  5. 11.x core/profiles/demo_umami/themes/umami/css/components/forms/buttons.css

This file is used to style form buttons generically, with overrides per form

File

core/profiles/demo_umami/themes/umami/css/components/forms/buttons.css

View source
  1. /**
  2. * @file
  3. * This file is used to style form buttons generically, with overrides per form
  4. */
  5. .form-actions {
  6. display: flex;
  7. flex-wrap: wrap;
  8. margin: -0.5rem;
  9. padding: 0.75rem 0;
  10. }
  11. @media screen and (min-width: 77em) {
  12. .form-actions {
  13. margin: 1rem -0.5rem;
  14. padding: 0;
  15. }
  16. }
  17. .form-actions > .button,
  18. .form-actions > .form-wrapper {
  19. margin: 0.5rem;
  20. line-height: normal;
  21. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.