Iceshrimp.NET/Iceshrimp.Frontend/Components/NotificationComponent.razor.css
2024-10-17 00:05:20 +02:00

50 lines
No EOL
901 B
CSS

.notification {
display: flex;
flex-direction: column;
background-color: var(--foreground-color);
border-radius: 0.75rem;
padding: 1rem 1rem 1rem; /* top, left-right, bottom*/
margin-bottom: 1rem;
max-width: 45rem;
width: 100%;
}
.notification-text {
}
.notification-note {
display: flex;
flex-direction: column;
width: 100%;
border-style: solid;
border-color: var(--highlight-color);
border-width: 0.2rem;
border-radius: 1.25rem;
padding: 0.5rem;
margin-top: 1rem;
}
.user-avatar {
border-radius: 8px;
object-fit: cover;
width: 3em;
height: 3em;
margin-right: 0.5em;
}
.display-name {
white-space: wrap;
text-overflow: ellipsis;
overflow: clip;
}
.notification-body {
display: flex;
flex-direction: column;
width: 100%;
}
.notification-header {
display: flex;
width: 100%;
}