2021-11-09 16:45:54 +00:00
|
|
|
@import "./variables";
|
2021-12-06 13:47:34 +00:00
|
|
|
@import "shared/styles/index";
|
2021-11-17 10:34:01 +00:00
|
|
|
@import "./peertubetheme";
|
2021-11-09 09:34:34 +00:00
|
|
|
|
2021-11-08 18:39:51 +00:00
|
|
|
body.livechat-iframe #conversejs .chat-head {
|
|
|
|
// Hidding the chat-head when the plugin is displayed in an iframe.
|
|
|
|
display: none;
|
|
|
|
}
|
2021-11-09 16:45:54 +00:00
|
|
|
|
|
|
|
#conversejs-bg {
|
2021-11-17 10:34:01 +00:00
|
|
|
// We are using a custom template that differs from the original, this is required.
|
2021-11-09 16:45:54 +00:00
|
|
|
.converse-brand__heading {
|
|
|
|
img {
|
|
|
|
margin-top: 0.3em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-12-14 12:02:15 +00:00
|
|
|
|
|
|
|
// Readonly mode
|
|
|
|
body.livechat-readonly #conversejs {
|
|
|
|
.chat-head,
|
|
|
|
.bottom-panel,
|
|
|
|
converse-message-actions,
|
|
|
|
converse-muc-sidebar {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
2022-01-04 16:42:03 +00:00
|
|
|
|
2022-01-07 01:15:39 +00:00
|
|
|
body.livechat-readonly.livechat-noscroll {
|
|
|
|
converse-chat-content {
|
|
|
|
overflow-y: hidden !important;
|
|
|
|
}
|
|
|
|
|
2022-01-16 16:50:11 +00:00
|
|
|
.message.separator,
|
|
|
|
.message.date-separator {
|
2022-01-07 01:15:39 +00:00
|
|
|
// also hide separators (new day, new message)
|
|
|
|
display: none;
|
|
|
|
}
|
2022-01-04 16:42:03 +00:00
|
|
|
}
|
2022-01-07 18:20:28 +00:00
|
|
|
|
|
|
|
// Viewer mode
|
|
|
|
.livechat-viewer-mode-nick {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body[livechat-viewer-mode="on"] {
|
|
|
|
.livechat-viewer-mode-nick {
|
|
|
|
display: initial;
|
2022-01-07 18:57:42 +00:00
|
|
|
|
|
|
|
form {
|
|
|
|
display: flex !important;
|
|
|
|
flex-flow: row wrap !important;
|
|
|
|
padding-top: 0.5em !important;
|
|
|
|
padding-bottom: 0.5em !important;
|
|
|
|
border-top: var(--chatroom-separator-border-bottom) !important;
|
|
|
|
}
|
2022-01-07 18:20:28 +00:00
|
|
|
}
|
|
|
|
|
2022-01-07 18:28:07 +00:00
|
|
|
converse-muc-bottom-panel {
|
|
|
|
>:not(.livechat-viewer-mode-nick) {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-01-07 18:20:28 +00:00
|
|
|
}
|
|
|
|
}
|
2022-01-16 16:50:11 +00:00
|
|
|
|
|
|
|
// Transparent mode
|
|
|
|
body.livechat-transparent {
|
|
|
|
// --peertube-main-background: rgba(0 0 0 / 0%) !important;
|
|
|
|
// --peertube-menu-background: rgba(0 0 0 / 0%) !important;
|
|
|
|
|
|
|
|
&.converse-fullscreen {
|
|
|
|
background-color: rgba(0 0 0 / 0%) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-body,
|
|
|
|
.conversejs .chatroom .box-flyout,
|
|
|
|
.conversejs .chatbox .chat-content,
|
|
|
|
.conversejs .chatbox .chat-content .chat-content__notifications {
|
|
|
|
background-color: rgba(0 0 0 / 0%) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hide the background_logo
|
|
|
|
#conversejs-bg {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|