2020-07-23 16:22:57 +02:00
|
|
|
.notifications__empty {
|
|
|
|
background-color: var(--color-card-background);
|
|
|
|
padding: var(--spacing-l);
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification_list {
|
|
|
|
> * {
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-30 22:14:12 +02:00
|
|
|
.notification__icon {
|
|
|
|
.icon__wrapper {
|
|
|
|
margin-right: var(--spacing-m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-23 16:22:57 +02:00
|
|
|
.notification__wrapper {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
2020-08-25 18:22:02 +02:00
|
|
|
padding: var(--spacing-m);
|
2020-07-30 22:14:12 +02:00
|
|
|
|
|
|
|
.channel-thumbnail {
|
|
|
|
@include handleChannelGif(3rem);
|
|
|
|
}
|
2020-08-21 21:44:54 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.channel-thumbnail {
|
|
|
|
@include handleChannelGif(2rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification__wrapper--unseen {
|
|
|
|
background-color: var(--color-card-background-highlighted);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-button-secondary-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
}
|
2020-07-23 16:22:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification__content {
|
2020-07-30 22:14:12 +02:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-08-21 21:44:54 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
2020-07-23 16:22:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification__title {
|
2020-07-30 22:14:12 +02:00
|
|
|
font-size: var(--font-small);
|
|
|
|
color: var(--color-text);
|
|
|
|
margin-bottom: var(--spacing-s);
|
2020-08-21 21:44:54 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-07-23 16:22:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification__text {
|
|
|
|
font-size: var(--font-body);
|
2020-08-21 21:44:54 +02:00
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
2020-07-23 16:22:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification__time {
|
|
|
|
@extend .help;
|
2020-07-30 22:14:12 +02:00
|
|
|
margin-bottom: 0;
|
2020-07-23 16:22:57 +02:00
|
|
|
margin-top: 0;
|
2020-08-21 21:44:54 +02:00
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
flex-shrink: 0;
|
2020-07-23 16:22:57 +02:00
|
|
|
}
|
2020-08-10 22:47:39 +02:00
|
|
|
|
|
|
|
.notification__bubble {
|
|
|
|
height: 1.5rem;
|
|
|
|
width: 1.5rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--color-notification);
|
|
|
|
position: absolute;
|
|
|
|
top: -0.5rem;
|
|
|
|
right: -0.5rem;
|
|
|
|
color: white;
|
|
|
|
font-size: var(--font-small);
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2020-08-11 22:32:03 +02:00
|
|
|
|
|
|
|
.notification__bubble--inline {
|
|
|
|
@extend .notification__bubble;
|
|
|
|
top: 0.75rem;
|
|
|
|
right: 1rem;
|
|
|
|
}
|
2020-08-31 19:12:34 +02:00
|
|
|
|
|
|
|
.notification__extra {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification__mark-seen {
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
}
|