menu-account.css

Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/css/components/navigation/menu-account/menu-account.css
  2. 8.9.x core/profiles/demo_umami/themes/umami/css/components/navigation/menu-account/menu-account.css
  3. 11.x core/profiles/demo_umami/themes/umami/css/components/navigation/menu-account/menu-account.css

This file is used to style the account menu.

File

core/profiles/demo_umami/themes/umami/css/components/navigation/menu-account/menu-account.css

View source
  1. /**
  2. * @file
  3. * This file is used to style the account menu.
  4. */
  5. @media screen and (min-width: 48em) {
  6. .menu--account {
  7. display: block;
  8. text-align: right; /* LTR */
  9. }
  10. [dir="rtl"] .menu--account {
  11. text-align: left;
  12. }
  13. }
  14. .menu-account {
  15. display: inline-flex;
  16. margin: 0;
  17. padding: 0;
  18. list-style-type: none;
  19. line-height: 1.5;
  20. }
  21. .menu-account__item + .menu-account__item {
  22. margin-left: 1em; /* LTR */
  23. }
  24. [dir="rtl"] .menu-account__item + .menu-account__item {
  25. margin-right: 1em;
  26. margin-left: 0;
  27. }
  28. .menu-account__link,
  29. .menu-account__link:hover,
  30. .menu-account__link:focus {
  31. text-decoration: none;
  32. color: inherit;
  33. background-color: inherit;
  34. }
  35. .menu-account__link:hover,
  36. .menu-account__link:focus {
  37. text-decoration: underline;
  38. }

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