|
|
@ -20,7 +20,7 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
v-if="(unreadChatCount && !chatsPinned) || unreadAnnouncementCount"
|
|
|
|
v-if="(unreadChatCount && !chatsPinned) || unreadAnnouncementCount"
|
|
|
|
class="badge alert-dot"
|
|
|
|
class="badge -dot -notification"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<NavigationPins class="pins" />
|
|
|
|
<NavigationPins class="pins" />
|
|
|
@ -37,14 +37,14 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
v-if="unseenNotificationsCount"
|
|
|
|
v-if="unseenNotificationsCount"
|
|
|
|
class="badge alert-dot"
|
|
|
|
class="badge -dot -notification"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</nav>
|
|
|
|
<aside
|
|
|
|
<aside
|
|
|
|
v-if="currentUser"
|
|
|
|
v-if="currentUser"
|
|
|
|
class="mobile-notifications-drawer"
|
|
|
|
class="panel mobile-notifications-drawer"
|
|
|
|
:class="{ '-closed': !notificationsOpen }"
|
|
|
|
:class="{ '-closed': !notificationsOpen }"
|
|
|
|
@touchstart.stop="notificationsTouchStart"
|
|
|
|
@touchstart.stop="notificationsTouchStart"
|
|
|
|
@touchmove.stop="notificationsTouchMove"
|
|
|
|
@touchmove.stop="notificationsTouchMove"
|
|
|
@ -54,7 +54,7 @@
|
|
|
|
{{ $t('notifications.notifications') }}
|
|
|
|
{{ $t('notifications.notifications') }}
|
|
|
|
<span
|
|
|
|
<span
|
|
|
|
v-if="unseenCountBadgeText"
|
|
|
|
v-if="unseenCountBadgeText"
|
|
|
|
class="badge badge-notification unseen-count"
|
|
|
|
class="badge -notification unseen-count"
|
|
|
|
>{{ unseenCountBadgeText }}</span>
|
|
|
|
>{{ unseenCountBadgeText }}</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span class="spacer" />
|
|
|
|
<span class="spacer" />
|
|
|
@ -165,19 +165,6 @@
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-dot {
|
|
|
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
|
|
|
height: 8px;
|
|
|
|
|
|
|
|
width: 8px;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
left: calc(50% - 4px);
|
|
|
|
|
|
|
|
top: calc(50% - 4px);
|
|
|
|
|
|
|
|
margin-left: 6px;
|
|
|
|
|
|
|
|
margin-top: -6px;
|
|
|
|
|
|
|
|
background-color: $fallback--cRed;
|
|
|
|
|
|
|
|
background-color: var(--badgeNotification, $fallback--cRed);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-notifications-drawer {
|
|
|
|
.mobile-notifications-drawer {
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
height: 100vh;
|
|
|
|
height: 100vh;
|
|
|
@ -238,10 +225,6 @@
|
|
|
|
height: calc(100vh - var(--navbar-height));
|
|
|
|
height: calc(100vh - var(--navbar-height));
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-y: scroll;
|
|
|
|
color: $fallback--text;
|
|
|
|
|
|
|
|
color: var(--text, $fallback--text);
|
|
|
|
|
|
|
|
background-color: $fallback--bg;
|
|
|
|
|
|
|
|
background-color: var(--bg, $fallback--bg);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.notifications {
|
|
|
|
.notifications {
|
|
|
|
padding: 0;
|
|
|
|
padding: 0;
|
|
|
|