diff --git a/css/_toolbars.scss b/css/_toolbars.scss index ba0f229c6..f3659d956 100644 --- a/css/_toolbars.scss +++ b/css/_toolbars.scss @@ -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. - */ \ No newline at end of file + */ diff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.js index 5225d78d8..d055f70aa 100644 --- a/modules/UI/toolbars/Toolbar.js +++ b/modules/UI/toolbars/Toolbar.js @@ -354,6 +354,10 @@ const Toolbar = { Toolbar._handleSideToolbarContainerToggled( containerId, isVisible); }); + + if(!APP.tokenData.isGuest) { + $("#toolbar_button_profile").addClass("unclickable"); + } }, /** * Enables / disables the toolbar.