mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Fixed visual of menus. Tiquet: #2441
This commit is contained in:
parent
5736e3a48d
commit
441422cf98
@ -211,7 +211,7 @@ function menu_print_menu (&$menu) {
|
|||||||
$submenu_output .= '<li id="'. str_replace(' ','_',$sub["text"]) . '" class="'.$class.'">';
|
$submenu_output .= '<li id="'. str_replace(' ','_',$sub["text"]) . '" class="'.$class.'">';
|
||||||
|
|
||||||
if (isset ($sub["subtype"]) && $sub["subtype"] == "nolink") {
|
if (isset ($sub["subtype"]) && $sub["subtype"] == "nolink") {
|
||||||
$submenu_output .= '<div class="flecha"><div class=" SubNoLink ' . $sub_tree_class . '">'.$sub["text"].'</div></div>';
|
$submenu_output .= '<div class=" SubNoLink ' . $sub_tree_class . '">'.$sub["text"].'</div>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$submenu_output .= '<a href="'.$subsec2.'"><div class="' . $sub_tree_class . '">'.$sub["text"].'</div></a>';
|
$submenu_output .= '<a href="'.$subsec2.'"><div class="' . $sub_tree_class . '">'.$sub["text"].'</div></a>';
|
||||||
|
@ -50,7 +50,7 @@ li:hover ul { display: block; }
|
|||||||
padding: 11px;
|
padding: 11px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
width: 86%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu li.subselected a{
|
.menu li.subselected a{
|
||||||
@ -68,19 +68,19 @@ li:hover ul { display: block; }
|
|||||||
left: 44px;
|
left: 44px;
|
||||||
min-height: 35px;
|
min-height: 35px;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
width: 160px;
|
width: 180px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submenu2{
|
.submenu2{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
left: 160px;
|
left: 180px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sub_subMenu{
|
.sub_subMenu{
|
||||||
min-height: 35px !important;
|
min-height: 35px !important;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
width: 160px;
|
width: 180px;
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
}
|
}
|
||||||
.sub_subMenu.selected{
|
.sub_subMenu.selected{
|
||||||
@ -100,11 +100,11 @@ li:hover ul { display: block; }
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menu li.has_submenu > a > div {
|
.menu li.has_submenu > a > div {
|
||||||
background: url(../../images/arrow.png) no-repeat 90% 50%;
|
background: url(../../images/arrow.png) no-repeat 80% 50%;
|
||||||
z-index: 1; /* Positions it on top of the rest */
|
z-index: 1; /* Positions it on top of the rest */
|
||||||
}
|
}
|
||||||
.menu li.has_submenu .flecha {
|
.menu li.has_submenu>.SubNoLink{
|
||||||
background: url(../../images/arrow.png) no-repeat 90% 50%;
|
background: url(../../images/arrow.png) no-repeat 80% 50%;
|
||||||
z-index: 1; /* Positions it on top of the rest */
|
z-index: 1; /* Positions it on top of the rest */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user