Repair events dropdown styles
parent
e58825cca8
commit
0f0ef0c983
|
@ -6,7 +6,7 @@ a(
|
||||||
ng-class="{'active': active}"
|
ng-class="{'active': active}"
|
||||||
)
|
)
|
||||||
tg-svg(svg-icon="icon-bell")
|
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(
|
div.navbar-dropdown-notifications(
|
||||||
ng-show="visible",
|
ng-show="visible",
|
||||||
ng-mouseleave="visible=false"
|
ng-mouseleave="visible=false"
|
||||||
|
|
|
@ -233,7 +233,7 @@ $dropdown-width: 350px;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
width: 22px;
|
width: 22px;
|
||||||
}
|
}
|
||||||
&.active {
|
&.counter-active {
|
||||||
animation-duration: 2s;
|
animation-duration: 2s;
|
||||||
animation-name: highlightFadeOut;
|
animation-name: highlightFadeOut;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,10 @@ section.notifications-list
|
||||||
alt="Loading..."
|
alt="Loading..."
|
||||||
)
|
)
|
||||||
div(ng-if="!vm.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 }}
|
span {{ 'EVENTS.NO_EVENTS_YET' | translate }}
|
||||||
div(
|
div(
|
||||||
ng-if="vm.notificationsList.length"
|
ng-if="vm.notificationsList.size > 0"
|
||||||
infinite-scroll="vm.loadNotifications()"
|
infinite-scroll="vm.loadNotifications()"
|
||||||
infinite-scroll-disabled="vm.scrollDisabled"
|
infinite-scroll-disabled="vm.scrollDisabled"
|
||||||
ng-attr-infinite-scroll-container="vm.infiniteScrollContainer"
|
ng-attr-infinite-scroll-container="vm.infiniteScrollContainer"
|
||||||
|
|
Loading…
Reference in New Issue