2021-11-17 10:34:01 +00:00
|
|
|
#conversejs.theme-peertube {
|
2022-01-03 16:03:16 +00:00
|
|
|
.dropdown-menu {
|
|
|
|
// Fixing all dropdown colors
|
|
|
|
--text-color: #212529; // default bootstrap color for dropdown-items
|
|
|
|
--text-color-lighten-15-percent: #8c8c8c; // default ConverseJS theme color
|
|
|
|
|
|
|
|
background-color: #fff; // this is the default bootstrap color, used by ConverseJS
|
|
|
|
|
|
|
|
a,
|
|
|
|
i,
|
|
|
|
button {
|
|
|
|
--text-color: #212529; // default bootstrap color for dropdown-items
|
|
|
|
|
|
|
|
color: #212529; // default bootstrap color for dropdown-items
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-23 15:10:02 +00:00
|
|
|
.chatbox {
|
2024-02-16 13:34:34 +00:00
|
|
|
// Slow mode info box
|
2024-02-22 15:05:12 +00:00
|
|
|
.livechat-slow-mode-info-box {
|
|
|
|
border: 1px dashed var(--peertube-menu-background);
|
2024-02-16 13:34:34 +00:00
|
|
|
color: var(--peertube-main-foreground);
|
|
|
|
background-color: var(--peertube-main-background);
|
2024-02-16 14:44:39 +00:00
|
|
|
|
|
|
|
.livechat-hide-slow-mode-info-box {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
}
|
2024-02-16 13:34:34 +00:00
|
|
|
}
|
|
|
|
|
2021-11-23 15:10:02 +00:00
|
|
|
converse-chat-toolbar {
|
2024-02-22 15:05:12 +00:00
|
|
|
border-top: none !important; // removing border, to avoid confusing the toolbar with an input field.
|
2021-11-23 15:10:02 +00:00
|
|
|
color: var(--peertube-main-foreground);
|
|
|
|
background-color: var(--peertube-main-background);
|
|
|
|
}
|
2021-11-30 17:57:58 +00:00
|
|
|
|
|
|
|
// Fixing emoji colors for some emoji like «motorcycle»
|
|
|
|
converse-emoji-picker {
|
|
|
|
.emoji-picker {
|
|
|
|
.insert-emoji {
|
|
|
|
a {
|
2023-09-04 10:11:29 +00:00
|
|
|
color: currentcolor;
|
2021-11-30 17:57:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker__header {
|
|
|
|
color: var(--peertube-main-background);
|
|
|
|
background-color: var(--peertube-main-foreground);
|
|
|
|
|
|
|
|
ul {
|
|
|
|
.emoji-category {
|
|
|
|
color: var(--peertube-main-background);
|
|
|
|
background-color: var(--peertube-main-foreground);
|
|
|
|
|
|
|
|
a {
|
2023-09-04 10:11:29 +00:00
|
|
|
color: currentcolor;
|
2021-11-30 17:57:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.picked {
|
|
|
|
color: var(--peertube-main-foreground);
|
|
|
|
background-color: var(--peertube-main-background);
|
|
|
|
|
|
|
|
a {
|
2023-09-04 10:11:29 +00:00
|
|
|
color: currentcolor;
|
2021-11-30 17:57:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected a,
|
|
|
|
&:hover a {
|
|
|
|
color: var(--peertube-grey-foreground);
|
|
|
|
background-color: var(--peertube-grey-background);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-11-23 15:10:02 +00:00
|
|
|
}
|
|
|
|
|
2021-11-23 15:32:13 +00:00
|
|
|
.modal-content {
|
|
|
|
background-color: var(--peertube-main-background);
|
2021-11-23 15:39:49 +00:00
|
|
|
|
|
|
|
.close {
|
|
|
|
color: var(--peertube-main-foreground);
|
|
|
|
}
|
2021-11-23 15:32:13 +00:00
|
|
|
}
|
|
|
|
|
2021-11-23 15:35:31 +00:00
|
|
|
.button-cancel,
|
|
|
|
.btn-secondary,
|
|
|
|
.badge-secondary {
|
2021-11-23 15:53:52 +00:00
|
|
|
color: var(--peertube-grey-foreground);
|
|
|
|
background-color: var(--peertube-grey-background);
|
2021-11-23 15:35:31 +00:00
|
|
|
}
|
|
|
|
|
2021-11-23 15:46:01 +00:00
|
|
|
form {
|
|
|
|
&.converse-form {
|
|
|
|
background-color: var(--peertube-main-background);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-08 10:33:43 +00:00
|
|
|
.form-control {
|
|
|
|
/* Cancelling some bootstrap stuff */
|
|
|
|
border-color: var(--chatroom-head-bg-color);
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: var(--chatroom-head-bg-color);
|
|
|
|
outline: 2px solid var(--chatroom-head-bg-color);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-23 16:30:12 +00:00
|
|
|
.chatroom .box-flyout .chatroom-body .chatroom-form-container {
|
|
|
|
background-color: var(--peertube-main-background);
|
|
|
|
}
|
|
|
|
|
2021-11-23 16:20:36 +00:00
|
|
|
.list-group-item {
|
|
|
|
color: var(--peertube-main-foreground);
|
|
|
|
background-color: var(--peertube-main-background);
|
|
|
|
}
|
|
|
|
|
2021-11-23 18:07:20 +00:00
|
|
|
.chat-msg__text {
|
2021-11-24 14:11:48 +00:00
|
|
|
// spoiler content more visible.
|
|
|
|
&.spoiler {
|
|
|
|
color: var(--peertube-grey-foreground) !important;
|
|
|
|
background-color: var(--peertube-grey-background) !important;
|
|
|
|
}
|
|
|
|
|
2021-11-23 18:07:20 +00:00
|
|
|
// underline links in chat messages
|
|
|
|
a[href] {
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-24 14:11:48 +00:00
|
|
|
.correcting {
|
|
|
|
// Fix color/background-color for correcting messages and textareas
|
|
|
|
color: var(--peertube-grey-foreground) !important;
|
|
|
|
background-color: var(--peertube-grey-background) !important;
|
|
|
|
}
|
|
|
|
|
2024-02-12 15:14:02 +00:00
|
|
|
.suggestion-box__results {
|
|
|
|
// To make the autocompletes results more readable, adding a border (orange for the default theme)
|
|
|
|
border-color: var(--peertube-button-background);
|
|
|
|
}
|
|
|
|
|
2021-11-17 10:34:01 +00:00
|
|
|
// hidding avatars when screen width is not big enough.
|
2024-05-12 11:10:35 +00:00
|
|
|
// The livechat-converse-root-width attributes comes from the 'size' plugin.
|
|
|
|
&[livechat-converse-root-width="small"] {
|
2021-11-17 10:34:01 +00:00
|
|
|
.message {
|
2021-11-22 13:50:55 +00:00
|
|
|
&.chat-msg {
|
|
|
|
.chat-msg__content {
|
2021-11-23 14:21:02 +00:00
|
|
|
margin-left: 0.5em;
|
2021-11-22 13:50:55 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.chat-msg--followup {
|
|
|
|
&.chat-msg--with-avatar .chat-msg__content {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2021-11-17 10:34:01 +00:00
|
|
|
|
2022-01-03 15:10:57 +00:00
|
|
|
.chat-msg__avatar,
|
|
|
|
converse-avatar {
|
2021-11-22 13:50:55 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2021-11-23 14:21:02 +00:00
|
|
|
|
|
|
|
.chat-msg__body {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2021-11-17 10:34:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-11-17 10:57:52 +00:00
|
|
|
|
|
|
|
// Bigger occupants sidebar when width is not big enough.
|
|
|
|
@media screen and (max-width: 576px) {
|
2024-04-02 15:40:43 +00:00
|
|
|
.chatroom .box-flyout .chatroom-body .occupants {
|
|
|
|
min-width: 50%;
|
2021-11-17 10:57:52 +00:00
|
|
|
}
|
|
|
|
}
|
2021-11-17 10:34:01 +00:00
|
|
|
}
|