Increase top margin for notifications counter
parent
d9d12cdc4b
commit
df9fa920f9
|
@ -6,7 +6,7 @@ a(
|
|||
ng-class="{'active': active}"
|
||||
)
|
||||
tg-svg(svg-icon="icon-bell")
|
||||
div.counter(ng-if="total", ng-class="{'active': newEvent}") {{ total }}
|
||||
div.counter(ng-if="total", ng-class="{'active': newEvent, 'large': total > 99, 'small': total < 10}") {{ total }}
|
||||
div.navbar-dropdown-notifications(
|
||||
ng-show="visible",
|
||||
ng-mouseleave="visible=false"
|
||||
|
|
|
@ -215,13 +215,24 @@ $dropdown-width: 350px;
|
|||
border-radius: 50%;
|
||||
color: $white;
|
||||
font-size: .7rem;
|
||||
height: 20px;
|
||||
left: 35px;
|
||||
line-height: 20px;
|
||||
height: 18px;
|
||||
left: 37px;
|
||||
line-height: 18px;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
width: 20px;
|
||||
top: 3px;
|
||||
width: 18px;
|
||||
&.small {
|
||||
height: 17px;
|
||||
line-height: 17px;
|
||||
width: 17px;
|
||||
}
|
||||
&.large {
|
||||
height: 22px;
|
||||
line-height: 22px;
|
||||
top: 2px;
|
||||
width: 22px;
|
||||
}
|
||||
&.active {
|
||||
animation-duration: 2s;
|
||||
animation-name: highlightFadeOut;
|
||||
|
|
Loading…
Reference in New Issue