Fix 355: Make the ConverseJS dropdown menu available everywhere (WIP)

This commit is contained in:
John Livingston
2024-04-11 11:25:04 +02:00
parent eb1a959aa0
commit 4948d27fae
7 changed files with 147 additions and 9 deletions

View File

@ -2,14 +2,26 @@
@import "shared/styles/index";
@import "./peertubetheme";
body.livechat-iframe,
#peertube-plugin-livechat-container {
body.livechat-iframe {
#conversejs .chat-head {
// Hidding the chat-head when the plugin is displayed in an iframe or besides a video.
// Hidding the chat-head when the plugin is displayed in an iframe
display: none;
}
}
#peertube-plugin-livechat-container #conversejs .chat-head {
// When besides a video, reduce the size of the toolbar.
padding: 0 !important;
}
#conversejs .livechat-mini-muc-bar-buttons {
a.orange-button {
// force these colors...
color: var(--peertube-button-foreground);
background-color: var(--peertube-button-background);
}
}
#conversejs-bg {
// We are using a custom template that differs from the original, this is required.
.converse-brand__heading {