Repair events dropdown styles

stable
Daniel García 2018-11-26 13:01:44 +01:00 committed by Alex Hermida
parent e58825cca8
commit 0f0ef0c983
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ a(
ng-class="{'active': active}"
)
tg-svg(svg-icon="icon-bell")
div.counter(ng-if="total", ng-class="{'active': newEvent, 'large': total > 99, 'small': total < 10}") {{ total }}
div.counter(ng-if="total", ng-class="{'counter-active': newEvent, 'large': total > 99, 'small': total < 10}") {{ total }}
div.navbar-dropdown-notifications(
ng-show="visible",
ng-mouseleave="visible=false"

View File

@ -233,7 +233,7 @@ $dropdown-width: 350px;
top: 2px;
width: 22px;
}
&.active {
&.counter-active {
animation-duration: 2s;
animation-name: highlightFadeOut;
}

View File

@ -6,10 +6,10 @@ section.notifications-list
alt="Loading..."
)
div(ng-if="!vm.loading" )
.empty(ng-if="!vm.notificationsList.length")
.empty(ng-if="vm.notificationsList.size == 0 && !vm.onlyUnread")
span {{ 'EVENTS.NO_EVENTS_YET' | translate }}
div(
ng-if="vm.notificationsList.length"
ng-if="vm.notificationsList.size > 0"
infinite-scroll="vm.loadNotifications()"
infinite-scroll-disabled="vm.scrollDisabled"
ng-attr-infinite-scroll-container="vm.infiniteScrollContainer"