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

Breadcrumb

  1. Drupal Core 11.1.x

local-actions.css

Layout styles for local actions.

File

core/themes/claro/css/layout/local-actions.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Layout styles for local actions.
  10. */
  11. /**
  12. * Action link layout styles.
  13. */
  14. .local-actions {
  15. margin: var(--space-m) 0;
  16. padding: 0;
  17. list-style: none;
  18. }
  19. /* This is required to win over specificity of [dir="rtl"] ul */
  20. [dir="rtl"] .local-actions {
  21. margin-right: 0;
  22. }
  23. .local-actions__item {
  24. display: inline-block;
  25. margin: 0 calc(var(--space-xs) / 2);
  26. }
  27. .local-actions__item:first-child {
  28. margin-left: 0; /* LTR */
  29. }
  30. [dir="rtl"] .local-actions__item:first-child {
  31. margin-right: 0;
  32. margin-left: calc(var(--space-xs) / 2);
  33. }
  34. .local-actions__item:last-child {
  35. margin-right: 0; /* LTR */
  36. }
  37. [dir="rtl"] .local-actions__item:last-child {
  38. margin-right: calc(var(--space-xs) / 2);
  39. margin-left: 0;
  40. }
  41. [dir="rtl"] .local-actions__item:only-child {
  42. margin-right: 0;
  43. margin-left: 0;
  44. }

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal