MarseyWorld/files/assets/css/chat.css

141 lines
1.9 KiB
CSS
Raw Normal View History

2023-01-21 10:36:21 +00:00
#chat-window {
2023-01-21 12:29:47 +00:00
max-height: calc(100vh - 240px);
2023-01-21 10:36:21 +00:00
overflow-y: auto;
background-color: transparent !important;
}
#online {
max-height: calc(100vh - 200px);
overflow-y: auto;
background-color: var(--background) !important;
}
#chat-window .chat-profile {
min-width: 42px;
width: 42px;
height: 42px;
}
#chat-window::-webkit-scrollbar {
display: none;
}
#chat-window {
-ms-overflow-style: none;
scrollbar-width: none;
}
.chat-mention {
background-color: #{{v.themecolor}}55;
border-radius: 3px;
}
p, h1, h2, h3, h4, h5 {
display: inherit;
}
blockquote + :not(blockquote) {
display: inline-block;
margin-top: 0.5rem;
}
blockquote {
margin-top: 0.5rem;
}
.chat-group {
margin-top: 1rem;
}
@media (max-width: 768px) {
2023-01-21 12:15:59 +00:00
#shrink * {
font-size: 12px !important;
}
2023-01-21 10:36:21 +00:00
#chat-window {
max-height: 62vh;
}
}
p {
margin: 0;
}
.chat-line .btn {
background-color: transparent !important;
}
.chat-line-content {
width: 100%;
}
.cdiv {
overflow: hidden;
margin-left: 27px;
}
.quote, .del {
padding: 0 0.5rem !important;
border: none !important;
float: right;
color: var(--black);
2023-01-21 10:40:48 +00:00
font-size: 12px;
2023-01-21 10:36:21 +00:00
}
lite-youtube {
2023-01-21 11:39:42 +00:00
max-width: min(80vw,500px);
2023-01-21 10:36:21 +00:00
}
.chat-group:nth-child(even) {
background: rgba(255, 255, 255, 0.05);
}
.btn-secondary {
border: none !important;
}
#cancel {
font-size: 12px;
2023-01-21 10:36:21 +00:00
padding: 0 0 0.2rem 0.5rem;
}
.btn:focus, .btn.focus {
box-shadow: none;
}
.time {
font-size: 12px;
2023-01-21 10:36:21 +00:00
opacity: 0.95;
}
.chat-line:target {
background: #ffffff44 !important;
}
.QuotedMessage * {
font-size: 12px !important;
2023-01-21 10:36:21 +00:00
}
.quotes {
margin-top: 0.5rem;
}
.chat-message {
2023-01-21 11:23:05 +00:00
max-height: 50vh;
2023-01-21 12:24:00 +00:00
overflow: auto;
2023-01-22 00:13:58 +00:00
max-width: 80%;
2023-01-21 12:24:00 +00:00
display: inline-block;
}
2023-01-21 11:39:42 +00:00
.resizable>video {
max-height: 48vh!important;
2023-01-21 12:07:23 +00:00
margin: 14px 0 0 0!important;
2023-01-21 11:39:42 +00:00
}
2023-01-21 11:52:12 +00:00
img[alt^="![]("] {
height: 150px;
2023-01-21 12:12:44 +00:00
width: 90%;
2023-01-21 11:52:12 +00:00
-o-object-fit: contain;
object-fit: contain;
object-position: left;
}