mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix style of online help when page available.
This commit is contained in:
parent
9162e1fe96
commit
a8eeb7099a
|
|
@ -1656,12 +1656,12 @@ function top_menu($head, $title = '', $target = '', $disablejs = 0, $disablehead
|
|||
$helpbaseurl = '';
|
||||
$helppage = '';
|
||||
$mode = '';
|
||||
$helpresent = '';
|
||||
$helppresent = '';
|
||||
|
||||
if (empty($helppagename)) {
|
||||
$helppagename = 'EN:User_documentation|FR:Documentation_utilisateur|ES:Documentación_usuarios';
|
||||
} else {
|
||||
$helpresent = 'helppresent';
|
||||
$helppresent = 'helppresent';
|
||||
}
|
||||
|
||||
// Get helpbaseurl, helppage and mode from helppagename and langs
|
||||
|
|
@ -1680,7 +1680,7 @@ function top_menu($head, $title = '', $target = '', $disablejs = 0, $disablehead
|
|||
if ($mode == 'wiki') $text .= sprintf($helpbaseurl, urlencode(html_entity_decode($helppage)));
|
||||
else $text .= sprintf($helpbaseurl, $helppage);
|
||||
$text .= '">';
|
||||
$text .= '<span class="fa fa-question-circle atoplogin valignmiddle'.($helppresent ? ' '.$helppresent : '')."></span>';
|
||||
$text .= '<span class="fa fa-question-circle atoplogin valignmiddle'.($helppresent ? ' '.$helppresent : '').'"></span>';
|
||||
$text .= '</a>';
|
||||
$toprightmenu .= @Form::textwithtooltip('', $title, 2, 1, $text, 'login_block_elem', 2);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2581,6 +2581,7 @@ font.vsmenudisabledmargin { margin: 1px 1px 1px 6px; }
|
|||
li a.vsmenudisabled, li.vsmenudisabled { color: #aaa !important; }
|
||||
|
||||
a.help:link, a.help:visited, a.help:hover, a.help:active, span.help { text-align: <?php print $left; ?>; color: #aaa; text-decoration: none; }
|
||||
.helppresent, .helppresent:hover { color: #f3e4ac !important; }
|
||||
|
||||
.vmenu div.blockvmenufirst, .vmenu div.blockvmenulogo, .vmenu div.blockvmenusearchphone, .vmenu div.blockvmenubookmarks
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user