indicate if we will be displayed contextual help or default help

This commit is contained in:
Mario Vavti 2016-04-21 23:55:38 +02:00
parent 96d19c09f3
commit bd11b1d61a
2 changed files with 7 additions and 3 deletions

View File

@ -202,7 +202,7 @@ header #banner #logo-text {
/* contextual help */ /* contextual help */
.help-content { .help-content {
background: $item_colour; background: $comment_item_colour;
color: $font_colour; color: $font_colour;
position: fixed; position: fixed;
top: -50%; top: -50%;
@ -226,6 +226,10 @@ header #banner #logo-text {
.help-content dd { .help-content dd {
margin-bottom: 1em; margin-bottom: 1em;
} }
.contextual-help-btn {
text-decoration: underline;
}
/* contextual help end */ /* contextual help end */
/* footer */ /* footer */

View File

@ -12,7 +12,7 @@
<i class="icon-circle-arrow-right" id="expand-aside-icon"></i> <i class="icon-circle-arrow-right" id="expand-aside-icon"></i>
</button> </button>
<a class="navbar-toggle" target="hubzilla-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" id="{{$nav.help.4}}_collapsed"{{if $nav.help.6}} onclick="return false;"{{/if}}> <a class="navbar-toggle" target="hubzilla-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" id="{{$nav.help.4}}_collapsed"{{if $nav.help.6}} onclick="return false;"{{/if}}>
<i class="icon-question"></i> {{if $nav.help.6}}<i class="icon-caret-down"></i>&nbsp;{{/if}}<i class="icon-question"></i>
</a> </a>
{{if $userinfo}} {{if $userinfo}}
<img class="dropdown-toggle fakelink" data-toggle="dropdown" id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"><span class="caret" id="usermenu-caret"></span> <img class="dropdown-toggle fakelink" data-toggle="dropdown" id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"><span class="caret" id="usermenu-caret"></span>
@ -192,7 +192,7 @@
{{if $nav.help}} {{if $nav.help}}
<li class="{{$sel.help}} hidden-xs"> <li class="{{$sel.help}} hidden-xs">
<a class="{{$nav.help.2}}" target="hubzilla-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" id="{{$nav.help.4}}"{{if $nav.help.6}} onclick="return false;"{{/if}}><i class="icon-question"></i></a> <a class="{{$nav.help.2}}" target="hubzilla-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" id="{{$nav.help.4}}"{{if $nav.help.6}} onclick="return false;"{{/if}}>{{if $nav.help.6}}<i class="icon-caret-down"></i>&nbsp;{{/if}}<i class="icon-question"></i></a>
</li> </li>
{{/if}} {{/if}}
</ul> </ul>