menus-and-lists.css

Same filename in this branch
  1. 9 core/themes/seven/css/components/menus-and-lists.css
Same filename in other branches
  1. 8.9.x core/themes/seven/css/components/menus-and-lists.css
  2. 8.9.x core/themes/claro/css/components/menus-and-lists.css
  3. 10 core/themes/claro/css/components/menus-and-lists.css
  4. 11.x core/themes/claro/css/components/menus-and-lists.css
/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */
/**
 * Menus and lists.
 */
.item-list ul {
  margin: 0.25em 0 0.25em 1.5em; /* LTR */
  list-style-type: disc;
  list-style-image: none;
}
[dir="rtl"] .item-list ul {
  margin: 0.25em 1.5em 0.25em 0;
}
.item-list ul li,
.menu-item {
  list-style-type: disc;
  list-style-image: none;
}
.menu-item {
  margin: 0;
}
.item-list ul li.collapsed,
.menu-item--collapsed {
  list-style-type: disc;
  list-style-image: url(../../images/menu-collapsed.png);
}
.item-list ul li.expanded,
.menu-item--expanded {
  list-style-type: circle;
  list-style-image: url(../../images/menu-expanded.png);
}
ul.links li,
ul.inline li {
  padding-right: 1em; /* LTR */
}
[dir="rtl"] ul.links li,
[dir="rtl"] ul.inline li {
  padding-right: 0;
  padding-left: 1em;
}
ul.inline li {
  display: inline;
}

File

core/themes/claro/css/components/menus-and-lists.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. * Menus and lists.
  9. */
  10. .item-list ul {
  11. margin: 0.25em 0 0.25em 1.5em; /* LTR */
  12. list-style-type: disc;
  13. list-style-image: none;
  14. }
  15. [dir="rtl"] .item-list ul {
  16. margin: 0.25em 1.5em 0.25em 0;
  17. }
  18. .item-list ul li,
  19. .menu-item {
  20. list-style-type: disc;
  21. list-style-image: none;
  22. }
  23. .menu-item {
  24. margin: 0;
  25. }
  26. .item-list ul li.collapsed,
  27. .menu-item--collapsed {
  28. list-style-type: disc;
  29. list-style-image: url(../../images/menu-collapsed.png);
  30. }
  31. .item-list ul li.expanded,
  32. .menu-item--expanded {
  33. list-style-type: circle;
  34. list-style-image: url(../../images/menu-expanded.png);
  35. }
  36. ul.links li,
  37. ul.inline li {
  38. padding-right: 1em; /* LTR */
  39. }
  40. [dir="rtl"] ul.links li,
  41. [dir="rtl"] ul.inline li {
  42. padding-right: 0;
  43. padding-left: 1em;
  44. }
  45. ul.inline li {
  46. display: inline;
  47. }

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