Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(profile_icon): Cursor and background styles

hristoterezov2d4819257b72
diff --git a/css/_toolbars.scss b/css/_toolbars.scss
index ba0f229c6a..f3659d9564 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 5225d78d86..d055f70aaf 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.