fix(profile_icon): Cursor and background styles

This commit is contained in:
hristoterezov 2016-09-13 18:19:38 -05:00
parent 406618677b
commit 2d4819257b
2 changed files with 17 additions and 1 deletions

View File

@ -114,6 +114,17 @@
opacity: 0.5;
}
.button.unclickable {
cursor: default;
}
a.button.unclickable:hover,
a.button.unclickable:active,
a.button.unclickable.selected{
cursor: default;
background: none;
}
a.button:hover,
a.button:active,
a.button.selected {
@ -219,6 +230,7 @@ a.button>#avatar {
.slideOutExt {
@include animation("slideOutExt .5s forwards");
}
/**
* END of slide in animation for extended toolbar panel.
*/

View File

@ -354,6 +354,10 @@ const Toolbar = {
Toolbar._handleSideToolbarContainerToggled( containerId,
isVisible);
});
if(!APP.tokenData.isGuest) {
$("#toolbar_button_profile").addClass("unclickable");
}
},
/**
* Enables / disables the toolbar.