style and theming fixes (#428)

* fix generic error text and styles

* search input layout and style fixes

* settings theme

* layout theme support

* current user theme

* theming support for header component

* disable "use-host-property-decorator" tslint rule

* sorting picker button theme
This commit is contained in:
Denys Vuika
2018-06-17 16:16:38 +01:00
committed by GitHub
parent 2c6136ef59
commit e2eed9b71c
34 changed files with 385 additions and 376 deletions

View File

@@ -30,13 +30,13 @@ import { UserInfo } from './user-info';
export class Header extends Component {
private locators = {
logoLink: by.css('.app-menu__title'),
userInfo: by.css('app-current-user')
userInfo: by.css('aca-current-user')
};
logoLink: ElementFinder = this.component.element(this.locators.logoLink);
userInfo: UserInfo = new UserInfo(this.component);
constructor(ancestor?: ElementFinder) {
super('app-header', ancestor);
super('aca-header', ancestor);
}
}

View File

@@ -40,7 +40,7 @@ export class UserInfo extends Component {
menu: Menu = new Menu();
constructor(ancestor?: ElementFinder) {
super('app-current-user', ancestor);
super('aca-current-user', ancestor);
}
openMenu(): promise.Promise<Menu> {