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 = '';
|
$helpbaseurl = '';
|
||||||
$helppage = '';
|
$helppage = '';
|
||||||
$mode = '';
|
$mode = '';
|
||||||
$helpresent = '';
|
$helppresent = '';
|
||||||
|
|
||||||
if (empty($helppagename)) {
|
if (empty($helppagename)) {
|
||||||
$helppagename = 'EN:User_documentation|FR:Documentation_utilisateur|ES:Documentación_usuarios';
|
$helppagename = 'EN:User_documentation|FR:Documentation_utilisateur|ES:Documentación_usuarios';
|
||||||
} else {
|
} else {
|
||||||
$helpresent = 'helppresent';
|
$helppresent = 'helppresent';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get helpbaseurl, helppage and mode from helppagename and langs
|
// 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)));
|
if ($mode == 'wiki') $text .= sprintf($helpbaseurl, urlencode(html_entity_decode($helppage)));
|
||||||
else $text .= sprintf($helpbaseurl, $helppage);
|
else $text .= sprintf($helpbaseurl, $helppage);
|
||||||
$text .= '">';
|
$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>';
|
$text .= '</a>';
|
||||||
$toprightmenu .= @Form::textwithtooltip('', $title, 2, 1, $text, 'login_block_elem', 2);
|
$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; }
|
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; }
|
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
|
.vmenu div.blockvmenufirst, .vmenu div.blockvmenulogo, .vmenu div.blockvmenusearchphone, .vmenu div.blockvmenubookmarks
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user