2021-03-01 17:38:39 +00:00
|
|
|
#peertube-plugin-livechat-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-05-26 12:15:01 +00:00
|
|
|
height: 100%;
|
2024-04-02 15:40:43 +00:00
|
|
|
|
|
|
|
// Bigger occupants sidebar when embedded near a video.
|
|
|
|
.chatroom .box-flyout .chatroom-body .occupants {
|
|
|
|
min-width: min(200px, 50%);
|
|
|
|
}
|
2021-05-26 12:15:01 +00:00
|
|
|
}
|
|
|
|
|
2021-03-01 17:38:39 +00:00
|
|
|
.peertube-plugin-livechat-buttons {
|
2021-11-25 15:56:32 +00:00
|
|
|
align-items: center;
|
2021-03-01 17:38:39 +00:00
|
|
|
display: flex;
|
2021-11-25 15:56:32 +00:00
|
|
|
flex-flow: row nowrap;
|
2021-03-01 17:38:39 +00:00
|
|
|
justify-content: flex-end;
|
2024-04-03 09:31:21 +00:00
|
|
|
padding-right: 12px; // to avoid being under the window scrollbar.
|
2021-03-01 17:38:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.peertube-plugin-livechat-button {
|
2021-11-25 16:35:55 +00:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2021-11-25 15:56:32 +00:00
|
|
|
height: 36px !important;
|
|
|
|
margin: 5px !important;
|
|
|
|
padding: 2px !important;
|
2021-03-01 17:38:39 +00:00
|
|
|
|
2021-11-25 15:56:32 +00:00
|
|
|
svg {
|
2021-11-25 16:35:55 +00:00
|
|
|
height: auto; // override .peertube-button-link
|
2021-11-25 15:56:32 +00:00
|
|
|
}
|
2021-11-18 14:35:13 +00:00
|
|
|
}
|
|
|
|
|
2021-11-25 15:56:32 +00:00
|
|
|
.peertube-plugin-livechat-buttons-open .peertube-plugin-livechat-button {
|
|
|
|
height: 18px !important;
|
|
|
|
margin: 2px !important;
|
|
|
|
padding: 1px !important;
|
2021-11-18 14:35:13 +00:00
|
|
|
}
|
|
|
|
|
2021-03-01 17:38:39 +00:00
|
|
|
[peertube-plugin-livechat-state="initializing"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
[peertube-plugin-livechat-state="open"] .peertube-plugin-livechat-button-open {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
[peertube-plugin-livechat-state="closed"] .peertube-plugin-livechat-button-close {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-11-25 15:56:32 +00:00
|
|
|
[peertube-plugin-livechat-state]:not([peertube-plugin-livechat-state="open"]) {
|
|
|
|
.peertube-plugin-livechat-multi-button-main {
|
|
|
|
border-top-right-radius: 0 !important;
|
|
|
|
border-bottom-right-radius: 0 !important;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.peertube-plugin-livechat-multi-button-secondary {
|
2021-12-14 14:41:34 +00:00
|
|
|
border-radius: 0 !important;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
margin-left: 0 !important;
|
2023-09-06 15:28:26 +00:00
|
|
|
border-left: 1px solid currentcolor;
|
2021-12-14 14:41:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.peertube-plugin-livechat-multi-button-last-secondary {
|
2021-11-25 15:56:32 +00:00
|
|
|
border-top-left-radius: 0 !important;
|
|
|
|
border-bottom-left-radius: 0 !important;
|
|
|
|
margin-left: 0 !important;
|
2023-09-06 15:28:26 +00:00
|
|
|
border-left: 1px solid currentcolor;
|
2021-11-25 15:56:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-28 14:06:15 +00:00
|
|
|
#peertube-plugin-livechat-container converse-root {
|
2024-04-02 15:40:43 +00:00
|
|
|
display: block;
|
2021-02-19 14:19:20 +00:00
|
|
|
border: 1px solid black;
|
2024-04-02 15:40:43 +00:00
|
|
|
min-height: max(30vh, 200px);
|
2021-03-01 17:38:39 +00:00
|
|
|
height: 100%;
|
2024-04-02 15:40:43 +00:00
|
|
|
|
|
|
|
converse-muc {
|
|
|
|
min-height: max(30vh, 200px);
|
|
|
|
}
|
2021-02-18 17:31:12 +00:00
|
|
|
}
|
2021-06-03 10:20:19 +00:00
|
|
|
|
2023-09-06 15:25:47 +00:00
|
|
|
.peertube-plugin-livechat-experimental,
|
2021-06-03 10:20:19 +00:00
|
|
|
.peertube-plugin-livechat-warning {
|
|
|
|
color: orange;
|
2021-06-11 23:16:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.peertube-plugin-livechat-error {
|
|
|
|
color: red;
|
|
|
|
}
|
2021-06-12 01:52:45 +00:00
|
|
|
|
|
|
|
table.peertube-plugin-livechat-prosody-list-rooms {
|
|
|
|
border: 1px solid black;
|
2021-11-18 14:59:47 +00:00
|
|
|
margin: 5px 0;
|
2021-07-19 23:18:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table.peertube-plugin-livechat-prosody-list-rooms tr:nth-child(odd) {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.peertube-plugin-livechat-prosody-list-rooms tr:nth-child(even) {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.peertube-plugin-livechat-prosody-list-rooms th {
|
2023-09-06 15:28:26 +00:00
|
|
|
/* stylelint-disable-next-line custom-property-pattern */
|
2021-07-19 23:18:01 +00:00
|
|
|
background-color: var(--mainHoverColor);
|
|
|
|
border: 1px solid black;
|
2023-09-06 15:28:26 +00:00
|
|
|
/* stylelint-disable-next-line custom-property-pattern */
|
2021-07-19 23:18:01 +00:00
|
|
|
color: var(--mainBackgroundColor);
|
|
|
|
padding: 4px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.peertube-plugin-livechat-prosody-list-rooms td {
|
|
|
|
border: 1px solid #555;
|
|
|
|
color: black;
|
|
|
|
padding: 4px 5px;
|
2021-06-12 01:52:45 +00:00
|
|
|
}
|
2021-12-21 16:14:02 +00:00
|
|
|
|
|
|
|
.peertube-plugin-livechat-shareurl-modal {
|
|
|
|
& > * {
|
2023-04-10 16:21:32 +00:00
|
|
|
margin-top: 10px;
|
2021-12-21 16:14:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.livechat-shareurl-copy {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
button {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
flex-grow: 2;
|
|
|
|
width: auto !important; // must cancel the width: 100% of form-control
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-10 16:21:32 +00:00
|
|
|
.livechat-shareurl-web-options,
|
|
|
|
.livechat-shareurl-xmpp-options {
|
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
2021-12-21 16:14:02 +00:00
|
|
|
margin-right: 20px;
|
|
|
|
}
|
2021-12-21 17:12:18 +00:00
|
|
|
|
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
}
|
2022-01-04 16:42:03 +00:00
|
|
|
|
2023-04-10 16:21:32 +00:00
|
|
|
.livechat-shareurl-web-options-readonly {
|
2022-01-16 16:50:11 +00:00
|
|
|
margin-left: 40px;
|
2022-01-04 16:42:03 +00:00
|
|
|
|
2022-01-16 16:50:11 +00:00
|
|
|
& > * {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-04-10 16:21:32 +00:00
|
|
|
&.livechat-shareurl-web-options-readonly-disabled {
|
2022-01-16 16:50:11 +00:00
|
|
|
label {
|
|
|
|
color: var(--gray-dark);
|
|
|
|
}
|
2022-01-04 16:42:03 +00:00
|
|
|
}
|
|
|
|
}
|
2021-12-21 16:14:02 +00:00
|
|
|
}
|
2023-04-10 16:21:32 +00:00
|
|
|
|
|
|
|
.livechat-shareurl-protocol {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
column-gap: 30px;
|
|
|
|
|
|
|
|
input[type="radio"] {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.livechat-shareurl-tips {
|
|
|
|
min-height: 60px;
|
|
|
|
}
|
2021-12-21 16:14:02 +00:00
|
|
|
}
|
2024-03-26 16:38:40 +00:00
|
|
|
|
|
|
|
.livechat-spinner {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
div {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
margin: 20px;
|
2024-04-02 15:40:43 +00:00
|
|
|
/* stylelint-disable-next-line custom-property-pattern */
|
2024-03-26 16:38:40 +00:00
|
|
|
border: 5px solid var(--greyBackgroundColor);
|
2024-04-02 15:40:43 +00:00
|
|
|
/* stylelint-disable-next-line custom-property-pattern */
|
2024-03-26 16:38:40 +00:00
|
|
|
border-bottom-color: var(--mainColor);
|
|
|
|
border-radius: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
animation: livechatrotating 1s linear infinite;
|
|
|
|
|
|
|
|
@keyframes livechatrotating {
|
|
|
|
from {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-04-04 08:58:16 +00:00
|
|
|
|
|
|
|
.peertube-plugin-livechat-error-message {
|
|
|
|
/* display an error block (page not found, ...) */
|
|
|
|
display: block;
|
|
|
|
font-size: 20px;
|
|
|
|
padding-top: 50px;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.peertube-plugin-livechat-container {
|
|
|
|
.peertube-plugin-livechat-error-message {
|
|
|
|
max-width: 30vw;
|
|
|
|
}
|
|
|
|
}
|