menu.css

Same filename in this branch
  1. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/menu.css
  2. 11.x core/themes/claro/css/classy/components/menu.css
  3. 11.x core/themes/starterkit_theme/css/components/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. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/menu.css
  11. 8.9.x core/themes/seven/css/classy/components/menu.css
  12. 8.9.x core/themes/claro/css/classy/components/menu.css
  13. 8.9.x core/themes/bartik/css/components/menu.css
  14. 8.9.x core/themes/bartik/css/classy/components/menu.css
  15. 8.9.x core/themes/classy/css/components/menu.css
  16. 8.9.x core/assets/vendor/jquery.ui/themes/base/menu.css
  17. 10 core/profiles/demo_umami/themes/umami/css/classy/components/menu.css
  18. 10 core/themes/claro/css/classy/components/menu.css
  19. 10 core/themes/starterkit_theme/css/components/menu.css
  20. 10 core/assets/vendor/jquery.ui/themes/base/menu.css
/*!
 * jQuery UI Menu 1.14.0
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 *
 * https://api.jqueryui.com/menu/#theming
 */
.ui-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: block;
	outline: 0;
}
.ui-menu .ui-menu {
	position: absolute;
}
.ui-menu .ui-menu-item {
	margin: 0;
	cursor: pointer;
}
.ui-menu .ui-menu-item-wrapper {
	position: relative;
	padding: 3px 1em 3px .4em;
}
.ui-menu .ui-menu-divider {
	margin: 5px 0;
	height: 0;
	font-size: 0;
	line-height: 0;
	border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
	margin: -1px;
}

/* icon support */
.ui-menu-icons {
	position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
	padding-left: 2em;
}

/* left-aligned */
.ui-menu .ui-icon {
	position: absolute;
	top: 0;
	bottom: 0;
	left: .2em;
	margin: auto 0;
}

/* right-aligned */
.ui-menu .ui-menu-icon {
	left: auto;
	right: 0;
}

File

core/assets/vendor/jquery.ui/themes/base/menu.css

View source
  1. /*!
  2. * jQuery UI Menu 1.14.0
  3. * https://jqueryui.com
  4. *
  5. * Copyright OpenJS Foundation and other contributors
  6. * Released under the MIT license.
  7. * https://jquery.org/license
  8. *
  9. * https://api.jqueryui.com/menu/#theming
  10. */
  11. .ui-menu {
  12. list-style: none;
  13. padding: 0;
  14. margin: 0;
  15. display: block;
  16. outline: 0;
  17. }
  18. .ui-menu .ui-menu {
  19. position: absolute;
  20. }
  21. .ui-menu .ui-menu-item {
  22. margin: 0;
  23. cursor: pointer;
  24. }
  25. .ui-menu .ui-menu-item-wrapper {
  26. position: relative;
  27. padding: 3px 1em 3px .4em;
  28. }
  29. .ui-menu .ui-menu-divider {
  30. margin: 5px 0;
  31. height: 0;
  32. font-size: 0;
  33. line-height: 0;
  34. border-width: 1px 0 0 0;
  35. }
  36. .ui-menu .ui-state-focus,
  37. .ui-menu .ui-state-active {
  38. margin: -1px;
  39. }
  40. /* icon support */
  41. .ui-menu-icons {
  42. position: relative;
  43. }
  44. .ui-menu-icons .ui-menu-item-wrapper {
  45. padding-left: 2em;
  46. }
  47. /* left-aligned */
  48. .ui-menu .ui-icon {
  49. position: absolute;
  50. top: 0;
  51. bottom: 0;
  52. left: .2em;
  53. margin: auto 0;
  54. }
  55. /* right-aligned */
  56. .ui-menu .ui-menu-icon {
  57. left: auto;
  58. right: 0;
  59. }

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