This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/styles/components/notifications.scss

52 lines
742 B
SCSS

.notifications {
width: 50px;
.trigger {
cursor: pointer;
color: $grey-400;
padding: 1rem;
font-size: 1.25rem;
}
.notifications-list {
position: absolute;
transform: translateX(calc(-50% - 25px));
margin-top: 1rem;
background: $white;
width: 350px;
padding: .75rem;
border-radius: $radius;
box-shadow: $shadow-sm;
font-size: .85rem;
.head {
font-family: $vikunja-font;
font-size: 1rem;
padding-bottom: .5rem;
}
.single-notification {
display: flex;
align-items: center;
.user {
display: flex;
align-items: center;
span {
font-family: $family-sans-serif;
}
.avatar {
height: 16px;
}
}
.detail .created {
color: $grey-400;
}
}
}
}