mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 11:46:55 +00:00
Add CSS to highlight new notification (#3083)
This commit is contained in:
parent
9d662d99b7
commit
cc1e51a61e
@ -28,7 +28,7 @@
|
||||
overflow-y:auto;
|
||||
overflow-x:hidden;
|
||||
background:#fff;
|
||||
|
||||
|
||||
position:absolute;
|
||||
z-index:100;
|
||||
right:0;
|
||||
@ -70,7 +70,14 @@
|
||||
text-align: center;
|
||||
padding: 8px 5px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.new-notification {
|
||||
font-weight: bold;
|
||||
border-left: #4f99ed solid 2px;
|
||||
|
||||
h4 {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
@ -87,7 +87,7 @@
|
||||
<div class="numberCircle" ng-hide="numberOfUnreadNotifications == 0">{{ numberOfUnreadNotifications }}</div>
|
||||
<ul class="notification-container" uib-dropdown-menu>
|
||||
<ul class="notification-list" ng-repeat="notification in notifications">
|
||||
<li ng-click="navigateToAction(notification)">
|
||||
<li ng-class="notification.isRead ? '' : 'new-notification'" ng-click="navigateToAction(notification)">
|
||||
<h4>{{ notification.content }}</h4>
|
||||
<span>{{ notification.createdAt }}</span>
|
||||
</li>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="pointer-main" dir-paginate="notification in notifications | itemsPerPage: notificationsPerPage"
|
||||
<tr ng-class="notification.isRead ? '' : 'new-notification'" class="pointer-main" dir-paginate="notification in notifications | itemsPerPage: notificationsPerPage"
|
||||
total-items="totalNotifications" ng-click="navigateToAction(notification)">
|
||||
<td class="pointer">{{ notification.content }}</td>
|
||||
<td>{{ notification.createdAt }}</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user