system.menus.css
Styles for menus and navigation markup.
File
-
modules/
system/ system.menus.css
View source
-
- /**
- * @file
- * Styles for menus and navigation markup.
- */
-
- /**
- * Markup generated by theme_menu_tree().
- */
- ul.menu {
- border: none;
- list-style: none;
- text-align: left; /* LTR */
- }
- ul.menu li {
- margin: 0 0 0 0.5em; /* LTR */
- }
- ul li.expanded {
- list-style-image: url(../../misc/menu-expanded.png);
- list-style-type: circle;
- }
- ul li.collapsed {
- list-style-image: url(../../misc/menu-collapsed.png); /* LTR */
- list-style-type: disc;
- }
- ul li.leaf {
- list-style-image: url(../../misc/menu-leaf.png);
- list-style-type: square;
- }
- li.expanded,
- li.collapsed,
- li.leaf {
- padding: 0.2em 0.5em 0 0; /* LTR */
- margin: 0;
- }
- li a.active {
- color: #000;
- }
- td.menu-disabled {
- background: #ccc;
- }
-
- /**
- * Markup generated by theme_links().
- */
- ul.inline,
- ul.links.inline {
- display: inline;
- padding-left: 0;
- }
- ul.inline li {
- display: inline;
- list-style-type: none;
- padding: 0 0.5em;
- }
-
- /**
- * Markup generated by theme_breadcrumb().
- */
- .breadcrumb {
- padding-bottom: 0.5em;
- }
-
- /**
- * Markup generated by theme_menu_local_tasks().
- */
- ul.primary {
- border-bottom: 1px solid #bbb;
- border-collapse: collapse;
- height: auto;
- line-height: normal;
- list-style: none;
- margin: 5px;
- padding: 0 0 0 1em; /* LTR */
- white-space: nowrap;
- }
- ul.primary li {
- display: inline;
- }
- ul.primary li a {
- background-color: #ddd;
- border-color: #bbb;
- border-style: solid solid none solid;
- border-width: 1px;
- height: auto;
- margin-right: 0.5em; /* LTR */
- padding: 0 1em;
- text-decoration: none;
- }
- ul.primary li.active a {
- background-color: #fff;
- border: 1px solid #bbb;
- border-bottom: 1px solid #fff;
- }
- ul.primary li a:hover {
- background-color: #eee;
- border-color: #ccc;
- border-bottom-color: #eee;
- }
- ul.secondary {
- border-bottom: 1px solid #bbb;
- padding: 0.5em 1em;
- margin: 5px;
- }
- ul.secondary li {
- border-right: 1px solid #ccc; /* LTR */
- display: inline;
- padding: 0 1em;
- }
- ul.secondary a {
- padding: 0;
- text-decoration: none;
- }
- ul.secondary a.active {
- border-bottom: 4px solid #999;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.