action-links.css 832 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /**
  2. * @file
  3. * Styles for link buttons and action links.
  4. */
  5. .action-links {
  6. list-style: none;
  7. padding: 0;
  8. margin: 1em 0;
  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-left: 0.3em;
  23. margin-right: 0;
  24. }
  25. .button-action {
  26. display: inline-block;
  27. line-height: 160%;
  28. padding: 0.2em 0.5em 0.3em;
  29. text-decoration: none;
  30. }
  31. .button-action:before {
  32. content: '+';
  33. font-weight: 900;
  34. margin-left: -0.1em; /* LTR */
  35. padding-right: 0.2em; /* LTR */
  36. }
  37. [dir="rtl"] .button-action:before {
  38. margin-left: 0;
  39. margin-right: -0.1em;
  40. padding-left: 0.2em;
  41. padding-right: 0;
  42. }