2022-05-22 16:10:34 +02:00
|
|
|
.root {
|
2022-07-10 08:56:31 +02:00
|
|
|
* {
|
|
|
|
z-index: 100; }
|
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;
|
|
|
|
.user {
|
2022-07-02 09:08:36 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-07-01 22:49:42 +02:00
|
|
|
font-family: var(--theme-header-font-family);
|
2022-06-25 01:27:45 +02:00
|
|
|
font-weight: bold;
|
2022-07-02 09:08:36 +02:00
|
|
|
.userName {
|
2022-07-02 09:56:03 +02:00
|
|
|
margin-left: 0.3rem;
|
2022-07-02 09:08:36 +02:00
|
|
|
}
|
2022-05-22 16:10:34 +02:00
|
|
|
}
|
|
|
|
.message {
|
2022-07-11 01:42:35 +02:00
|
|
|
color: var(--theme-text-primary);
|
2022-06-25 06:30:54 +02:00
|
|
|
|
|
|
|
mark {
|
2022-07-11 01:42:35 +02:00
|
|
|
padding-left: 0.35em;
|
|
|
|
padding-right: 0.35em;
|
|
|
|
color: var(--theme-text-highlight);
|
|
|
|
background-color: var(--color-bg-highlight);
|
2022-06-25 06:30:54 +02:00
|
|
|
}
|
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;
|
2022-07-11 01:42:35 +02:00
|
|
|
opacity: 0.85;
|
2022-06-29 08:22:22 +02:00
|
|
|
&:after {
|
|
|
|
left: 0px;
|
|
|
|
}
|
|
|
|
}
|
2022-07-02 09:56:03 +02:00
|
|
|
.background {
|
|
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: currentColor;
|
|
|
|
opacity: 0.07;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2022-06-29 08:22:22 +02:00
|
|
|
}
|
2022-07-01 22:49:42 +02:00
|
|
|
|
|
|
|
.modMenuWrapper {
|
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
top: 0;
|
|
|
|
right: 10px;
|
2022-07-02 09:08:36 +02:00
|
|
|
& button:focus,
|
|
|
|
& button:active {
|
|
|
|
display: block !important;
|
|
|
|
}
|
2022-07-01 22:49:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .modMenuWrapper {
|
|
|
|
display: block;
|
|
|
|
}
|
2022-06-28 09:05:04 +02:00
|
|
|
}
|