Fixed style when option of submenu is selected
This commit is contained in:
parent
50f15dc507
commit
b8dd9705f1
|
@ -324,8 +324,8 @@ function menu_print_menu (&$menu) {
|
|||
$sub_title = $sub2['title'];
|
||||
else
|
||||
$sub_title = '';
|
||||
$submenu2_list .= '<li class="'.$class.'" style="font-weight: normal;">';
|
||||
$submenu2_list .= '<a style="font-weight:normal;" href="'.$link.'"><div class="' . $sub_tree_class . '" title="' . $sub_title . '" >'.
|
||||
$submenu2_list .= '<li class="'.$class.'" style="">';
|
||||
$submenu2_list .= '<a href="'.$link.'"><div class="' . $sub_tree_class . '" title="' . $sub_title . '" >'.
|
||||
$sub2["text"].'</div></a></li>';
|
||||
$sub_title = '';
|
||||
}
|
||||
|
|
|
@ -81,36 +81,30 @@ li:hover ul { display: block; }
|
|||
min-height: 35px !important;
|
||||
height: 35px;
|
||||
width: 160px;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
.submenu li a {
|
||||
#background-color: #222;
|
||||
#border-style: none;
|
||||
#border-color: #666;
|
||||
.sub_subMenu.selected{
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.submenu2 li a {
|
||||
#background-color: #222;
|
||||
margin-left: 0px;
|
||||
padding-left: 0px;
|
||||
display:block;
|
||||
}
|
||||
|
||||
.submenu2 li a:hover {
|
||||
#background-color: #111 !important;
|
||||
}
|
||||
|
||||
.menu li img.toggle {
|
||||
visibility: hidden;
|
||||
float:right;
|
||||
/* Positions it back where it should be */
|
||||
border-left: 1px;
|
||||
}
|
||||
|
||||
.menu li.has_submenu > a > div {
|
||||
background: url(../../images/arrow.png) no-repeat 90% 50%;
|
||||
z-index: 1; /* Positions it on top of the rest */
|
||||
}
|
||||
.menu li.has_submenu .flecha{
|
||||
.menu li.has_submenu .flecha {
|
||||
background: url(../../images/arrow.png) no-repeat 90% 50%;
|
||||
z-index: 1; /* Positions it on top of the rest */
|
||||
}
|
||||
|
@ -119,14 +113,10 @@ li:hover ul { display: block; }
|
|||
background-color: #E4E4E4 !important;
|
||||
}
|
||||
|
||||
.submenu_not_selected a, .submenu2_not_selected a {
|
||||
.menu li.submenu_not_selected a, .menu li.submenu2_not_selected a {
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
.menu li.submenu_selected a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.submenu_selected {
|
||||
margin-bottom: 0px !important;
|
||||
box-shadow: inset 4px 0 #80BA27 !important;
|
||||
|
|
|
@ -2259,10 +2259,6 @@ li.links a:hover {
|
|||
background-color: #222222 !important;
|
||||
}
|
||||
|
||||
.menu li.submenu_selected a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.operation {
|
||||
background-color: #333 !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue