forked from Wavyzz/dolibarr
Clean code for top menu
This commit is contained in:
@@ -2601,8 +2601,20 @@ a.tmenuimage:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
.tmenulabel:not(.menuhider), .tmenulabel:not(.menuhider):before {
|
||||
display: none;
|
||||
}
|
||||
.tmenuimage:not(.menuhider), .tmenuimage:not(.menuhider):before {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
.tmenudiv:hover .tmenulabel:not(.menuhider), .tmenudiv:hover .tmenulabel:not(.menuhider):before {
|
||||
display: initial !important;
|
||||
}
|
||||
.tmenudiv:hover .tmenuimage:not(.menuhider), .tmenudiv:hover .tmenulabel:not(.menuhider):before {
|
||||
font-size: 1.1em !important;
|
||||
}
|
||||
*/
|
||||
|
||||
/* Do not load menu img for other if hidden to save bandwidth */
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ button.dropdown-item.global-search-item {
|
||||
}
|
||||
|
||||
div#topmenu-global-search-dropdown, div#topmenu-quickadd-dropdown, div#topmenu-bookmark-dropdown {
|
||||
line-height: 46px;
|
||||
line-height: <?php echo (empty($conf->global->THEME_TOPMENU_DISABLE_IMAGE) ? '46' : '35' ); ?>px;
|
||||
}
|
||||
a.top-menu-dropdown-link {
|
||||
padding: 8px;
|
||||
|
||||
Reference in New Issue
Block a user