Commit d6cd4053 authored by Robert Knight's avatar Robert Knight

UI polish for top bar items

 * Add a couple of missing titles

 * Fix hover state for share icon when groups is disabled

T-90
parent a5e1322f
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
data-toggle="dropdown" data-toggle="dropdown"
role="button" role="button"
ng-switch on="groups.focused().public" ng-switch on="groups.focused().public"
ng-click="toggleShareLink(undefined)"> ng-click="toggleShareLink(undefined)"
title="Change the selected group">
<i class="group-list-label__icon h-icon-public" ng-switch-when="true"></i><!-- nospace <i class="group-list-label__icon h-icon-public" ng-switch-when="true"></i><!-- nospace
!--><i class="group-list-label__icon h-icon-group" ng-switch-default></i> !--><i class="group-list-label__icon h-icon-group" ng-switch-default></i>
<span class="group-list-label__label">{{groups.focused().name}}</span><!-- nospace <span class="group-list-label__label">{{groups.focused().name}}</span><!-- nospace
......
<div class="top-bar" ng-class="frame.visible && 'shown'" ng-cloak> <div class="top-bar" ng-class="frame.visible && 'shown'" ng-cloak>
<!-- Legacy design for top bar !--> <!-- Legacy design for top bar !-->
<div class="top-bar__inner" ng-if="!groupsEnabled"> <div class="top-bar__inner" ng-if="!groupsEnabled">
<button class="btn btn-clean" <button class="top-bar__btn"
ng-click="shareDialog.visible = !shareDialog.visible" ng-click="shareDialog.visible = !shareDialog.visible"
ng-if="isSidebar" ng-if="isSidebar"
title="Share this page"> title="Share this page">
<i class="h-icon-share btn-icon"></i> <i class="h-icon-share"></i>
</button> </button>
<simple-search class="simple-search" <simple-search class="simple-search"
...@@ -62,7 +62,8 @@ ...@@ -62,7 +62,8 @@
<div class="pull-right user-picker" dropdown keyboard-nav> <div class="pull-right user-picker" dropdown keyboard-nav>
<a role="button" <a role="button"
class="top-bar__btn" class="top-bar__btn"
data-toggle="dropdown" dropdown-toggle> data-toggle="dropdown" dropdown-toggle
title="{{account.username}}">
<i class="h-icon-account"></i><!-- nospace <i class="h-icon-account"></i><!-- nospace
!--><i class="h-icon-arrow-drop-down top-bar__dropdown-arrow"></i> !--><i class="h-icon-arrow-drop-down top-bar__dropdown-arrow"></i>
</a> </a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment