action-links.css

Same filename in this branch
  1. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/action-links.css
  2. 11.x core/themes/olivero/css/components/action-links.css
Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/css/classy/components/action-links.css
  2. 9 core/themes/olivero/css/components/action-links.css
  3. 9 core/themes/seven/css/classy/components/action-links.css
  4. 9 core/themes/bartik/css/classy/components/action-links.css
  5. 9 core/themes/starterkit_theme/css/components/action-links.css
  6. 9 core/themes/classy/css/components/action-links.css
  7. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/action-links.css
  8. 8.9.x core/themes/seven/css/classy/components/action-links.css
  9. 8.9.x core/themes/bartik/css/classy/components/action-links.css
  10. 8.9.x core/themes/classy/css/components/action-links.css
  11. 10 core/profiles/demo_umami/themes/umami/css/classy/components/action-links.css
  12. 10 core/themes/olivero/css/components/action-links.css
  13. 10 core/themes/starterkit_theme/css/components/action-links.css

Styles for link buttons and action links.

File

core/themes/starterkit_theme/css/components/action-links.css

View source
  1. /**
  2. * @file
  3. * Styles for link buttons and action links.
  4. */
  5. .action-links {
  6. margin: 1em 0;
  7. padding: 0;
  8. list-style: none;
  9. }
  10. [dir="rtl"] .action-links {
  11. /* This is required to win over specificity of [dir="rtl"] ul */
  12. margin-right: 0;
  13. }
  14. .action-links li {
  15. display: inline-block;
  16. margin: 0 0.3em;
  17. }
  18. .action-links li:first-child {
  19. margin-left: 0; /* LTR */
  20. }
  21. [dir="rtl"] .action-links li:first-child {
  22. margin-right: 0;
  23. margin-left: 0.3em;
  24. }
  25. .button-action {
  26. display: inline-block;
  27. padding: 0.2em 0.5em 0.3em;
  28. text-decoration: none;
  29. line-height: 160%;
  30. }
  31. .button-action::before {
  32. margin-left: -0.1em; /* LTR */
  33. padding-right: 0.2em; /* LTR */
  34. content: "+";
  35. font-weight: 900;
  36. }
  37. [dir="rtl"] .button-action::before {
  38. margin-right: -0.1em;
  39. margin-left: 0;
  40. padding-right: 0;
  41. padding-left: 0.2em;
  42. }

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