dropdown buttons implementation

This commit is contained in:
nixa 2016-05-12 13:53:13 +03:00
parent 85072185e9
commit 8dbdd2fa64
19 changed files with 371 additions and 51 deletions

View file

@ -1,4 +1,4 @@
import {Component} from '@angular/core';
import {Component, ViewEncapsulation} from '@angular/core';
import {ThemeGlobal} from '../../../theme';
import {ProfilePicturePipe} from '../../pipes';
@ -10,7 +10,8 @@ import {ScrollPosition} from '../../directives';
styles: [require('./pageTop.scss')],
template: require('./pageTop.html'),
directives: [MsgCenter, ScrollPosition],
pipes: [ProfilePicturePipe]
pipes: [ProfilePicturePipe],
encapsulation: ViewEncapsulation.None
})
export class PageTop {
isScrolled:Boolean = false;

View file

@ -1,3 +1,4 @@
<div class="page-top clearfix" scrollPosition maxHeight="50" (scrollChange)="scrolledChanged($event)"
[ngClass]="{scrolled: isScrolled}">
<a href="#/dashboard" class="al-logo clearfix"><span>Blur</span>Admin</a>

View file

@ -14,6 +14,10 @@
&.scrolled {
@include bg-translucent-dark(0.85);
}
.dropdown-toggle::after {
display: none;
}
}
a.al-logo {