2020-08-17 21:26:02 +00:00
|
|
|
// TODO Copypaste from Status, should unify it somehow
|
|
|
|
.Notification {
|
2023-01-09 18:02:16 +00:00
|
|
|
border-bottom: 1px solid;
|
2024-02-12 17:17:17 +00:00
|
|
|
border-color: var(--border);
|
2023-01-09 18:02:16 +00:00
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-word;
|
|
|
|
|
2024-03-04 16:24:29 +00:00
|
|
|
&.Status {
|
|
|
|
/* stylelint-disable-next-line declaration-no-important */
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
2023-01-09 18:02:16 +00:00
|
|
|
--emoji-size: 14px;
|
2021-08-13 10:06:42 +00:00
|
|
|
|
2021-08-15 22:34:35 +00:00
|
|
|
&:hover {
|
|
|
|
--_still-image-img-visibility: visible;
|
|
|
|
--_still-image-canvas-visibility: hidden;
|
|
|
|
--_still-image-label-visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2020-08-17 21:26:02 +00:00
|
|
|
&.-muted {
|
|
|
|
padding: 0.25em 0.6em;
|
|
|
|
height: 1.2em;
|
|
|
|
line-height: 1.2em;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
& .status-username,
|
|
|
|
& .mute-thread,
|
|
|
|
& .mute-words {
|
|
|
|
word-wrap: normal;
|
|
|
|
word-break: normal;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .status-username,
|
|
|
|
& .mute-words {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-username {
|
|
|
|
font-weight: normal;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
margin-right: 0.2em;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mute-thread {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mute-words {
|
|
|
|
flex: 1 0 5em;
|
|
|
|
margin-left: 0.2em;
|
|
|
|
|
|
|
|
&::before {
|
2023-01-09 18:02:16 +00:00
|
|
|
content: " ";
|
2020-08-17 21:26:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.unmute {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: auto;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2020-10-19 19:35:46 +00:00
|
|
|
|
|
|
|
.type-icon {
|
|
|
|
margin: 0 0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.-type--repeat .type-icon {
|
2024-02-26 22:16:22 +00:00
|
|
|
color: var(--cGreen);
|
2020-10-19 19:35:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.-type--follow .type-icon {
|
2024-02-26 22:16:22 +00:00
|
|
|
color: var(--cBlue);
|
2020-10-19 19:35:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.-type--follow-request .type-icon {
|
2024-02-26 22:16:22 +00:00
|
|
|
color: var(--cBlue);
|
2020-10-19 19:35:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.-type--like .type-icon {
|
2024-02-26 22:16:22 +00:00
|
|
|
color: var(--cOrange);
|
2020-10-19 19:35:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.-type--move .type-icon {
|
2024-02-26 22:16:22 +00:00
|
|
|
color: var(--cBlue);
|
2020-10-19 19:35:46 +00:00
|
|
|
}
|
2020-08-17 21:26:02 +00:00
|
|
|
}
|