menu.css

Same filename in this branch
  1. 8.9.x core/themes/seven/css/classy/components/menu.css
  2. 8.9.x core/themes/claro/css/classy/components/menu.css
  3. 8.9.x core/themes/bartik/css/components/menu.css
  4. 8.9.x core/themes/bartik/css/classy/components/menu.css
  5. 8.9.x core/themes/classy/css/components/menu.css
  6. 8.9.x core/assets/vendor/jquery.ui/themes/base/menu.css
Same filename in other branches
  1. 7.x modules/menu/menu.css
  2. 9 core/profiles/demo_umami/themes/umami/css/classy/components/menu.css
  3. 9 core/themes/seven/css/classy/components/menu.css
  4. 9 core/themes/claro/css/classy/components/menu.css
  5. 9 core/themes/bartik/css/components/menu.css
  6. 9 core/themes/bartik/css/classy/components/menu.css
  7. 9 core/themes/starterkit_theme/css/components/menu.css
  8. 9 core/themes/classy/css/components/menu.css
  9. 9 core/assets/vendor/jquery.ui/themes/base/menu.css
  10. 10 core/profiles/demo_umami/themes/umami/css/classy/components/menu.css
  11. 10 core/themes/claro/css/classy/components/menu.css
  12. 10 core/themes/starterkit_theme/css/components/menu.css
  13. 10 core/assets/vendor/jquery.ui/themes/base/menu.css
  14. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/menu.css
  15. 11.x core/themes/claro/css/classy/components/menu.css
  16. 11.x core/themes/starterkit_theme/css/components/menu.css
  17. 11.x core/assets/vendor/jquery.ui/themes/base/menu.css

Visual styles for menu.

File

core/profiles/demo_umami/themes/umami/css/classy/components/menu.css

View source
  1. /**
  2. * @file
  3. * Visual styles for menu.
  4. */
  5. ul.menu {
  6. margin-left: 1em; /* LTR */
  7. padding: 0;
  8. list-style: none outside;
  9. text-align: left; /* LTR */
  10. }
  11. [dir="rtl"] ul.menu {
  12. margin-right: 1em;
  13. margin-left: 0;
  14. text-align: right;
  15. }
  16. .menu-item--expanded {
  17. list-style-type: circle;
  18. list-style-image: url(../../../../../../../misc/menu-expanded.png);
  19. }
  20. .menu-item--collapsed {
  21. list-style-type: disc;
  22. list-style-image: url(../../../../../../../misc/menu-collapsed.png); /* LTR */
  23. }
  24. [dir="rtl"] .menu-item--collapsed {
  25. list-style-image: url(../../../../../../../misc/menu-collapsed-rtl.png);
  26. }
  27. .menu-item {
  28. margin: 0;
  29. padding-top: 0.2em;
  30. }
  31. ul.menu a.is-active {
  32. color: #000;
  33. }

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