2022-05-22 16:10:34 +02:00
|
|
|
.root {
|
2022-06-29 08:22:22 +02:00
|
|
|
position: relative;
|
2022-05-22 16:10:34 +02:00
|
|
|
font-size: 0.9rem;
|
2022-07-01 19:35:14 +02:00
|
|
|
padding: 5px 15px 5px 5px;
|
2022-05-22 16:10:34 +02:00
|
|
|
padding-left: 1rem;
|
2022-07-01 19:35:14 +02:00
|
|
|
// animation: chatFadeIn .1s ease-in;
|
|
|
|
.background {
|
|
|
|
position: absolute;
|
2022-07-01 22:49:42 +02:00
|
|
|
z-index: -1;
|
2022-07-01 19:35:14 +02:00
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: currentColor;
|
|
|
|
opacity: 0.07;
|
|
|
|
border-radius: .25rem;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2022-05-22 16:10:34 +02:00
|
|
|
.user {
|
2022-07-01 22:49:42 +02:00
|
|
|
font-family: var(--theme-header-font-family);
|
2022-06-24 16:27:45 -07:00
|
|
|
font-weight: bold;
|
2022-05-22 16:10:34 +02:00
|
|
|
}
|
|
|
|
.message {
|
|
|
|
color: var(--color-owncast-grey-100);
|
2022-06-24 21:30:54 -07:00
|
|
|
|
|
|
|
mark {
|
|
|
|
color: white;
|
|
|
|
padding: 0.1em 0.4em;
|
|
|
|
border-radius: 0.5em 0.3em;
|
|
|
|
background: transparent;
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to right,
|
|
|
|
rgba(255, 225, 0, 0.1),
|
|
|
|
rgba(255, 225, 0, 0.358) 4%,
|
|
|
|
rgba(255, 225, 0, 0.3)
|
|
|
|
);
|
|
|
|
-webkit-box-decoration-break: clone;
|
|
|
|
box-decoration-break: clone;
|
|
|
|
}
|
2022-05-22 16:10:34 +02:00
|
|
|
}
|
2022-07-01 22:49:42 +02:00
|
|
|
|
2022-06-29 08:22:22 +02:00
|
|
|
.customBorder {
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
width: 5px;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
width: 10px;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0%;
|
|
|
|
right: 0px;
|
|
|
|
background-color: currentColor;
|
2022-07-01 22:49:42 +02:00
|
|
|
border-radius: var(--theme-rounded-corners);
|
2022-06-29 08:22:22 +02:00
|
|
|
}
|
|
|
|
}
|
2022-06-28 09:05:04 +02:00
|
|
|
|
2022-06-29 08:22:22 +02:00
|
|
|
&.ownMessage {
|
|
|
|
.customBorder {
|
|
|
|
left: auto;
|
|
|
|
right: 0px;
|
|
|
|
&:after {
|
|
|
|
left: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-01 22:49:42 +02:00
|
|
|
|
|
|
|
.modMenuWrapper {
|
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
top: 0;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .modMenuWrapper {
|
|
|
|
display: block;
|
|
|
|
}
|
2022-06-28 09:05:04 +02:00
|
|
|
}
|
2022-07-01 19:35:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
@keyframes chatFadeIn {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|