Commit 9e212304 authored by alexpott's avatar alexpott
Browse files

Issue #2425691 by pjbaert, kepford, drupalninja99: Remove...

Issue #2425691 by pjbaert, kepford, drupalninja99: Remove .leaf/.menu-item--leaf from menu CSS components
parent d1a9a099
......@@ -217,9 +217,6 @@ public function build(array $tree, $level = 0) {
elseif ($data->hasChildren) {
$class[] = 'collapsed';
}
else {
$class[] = 'leaf';
}
// Set a class if the link is in the active trail.
if ($data->inActiveTrail) {
$class[] = 'active-trail';
......
......@@ -519,9 +519,7 @@ public function bookTreeOutput(array $tree) {
elseif ($data['link']['has_children']) {
$class[] = 'collapsed';
}
else {
$class[] = 'leaf';
}
// Set a class if the link is in the active trail.
if ($data['link']['in_active_trail']) {
$class[] = 'active-trail';
......
......@@ -248,7 +248,6 @@ public function deleteFromBook($nid);
* The menu item's LI element is given one of the following classes:
* - expanded: The menu item is showing its submenu.
* - collapsed: The menu item has a submenu which is not shown.
* - leaf: The menu item has no submenu.
*
* @param array $tree
* A data structure representing the tree as returned from buildBookOutlineData.
......
......@@ -10,7 +10,6 @@
margin: 0.25em 1.5em 0.25em 0;
}
.item-list ul li,
li.leaf,
ul.menu li {
list-style-type: disc;
list-style-image: none;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment