header style fixes (#4245)

This commit is contained in:
Denys Vuika
2019-02-01 16:44:21 +00:00
committed by Eugenio Romano
parent a472772dfd
commit 0282bfa468
2 changed files with 23 additions and 4 deletions

View File

@@ -12,19 +12,37 @@
.adf-menu-icon { .adf-menu-icon {
position: relative; position: relative;
margin-left: -11px; margin-left: -11px;
margin-right: 3px; margin-right: 0;
.mat-icon {
font-size: 29px;
padding: 0 5px 0 0;
}
} }
.adf-app-logo { .adf-app-logo {
position: relative; position: relative;
height: 28px; height: 28px;
width: 28px; width: 28px;
margin-right: 6px; vertical-align: middle;
margin-left: 6px;
margin-top: -3px;
} }
.adf-app-title { .adf-app-title {
cursor: pointer; cursor: pointer;
outline: none; outline: none;
margin-left: 6px;
letter-spacing: -0.3px;
font-weight: 100;
}
.adf-toolbar-divider {
margin: 0 5px;
& > div {
background-color: mat-color($background, card, 1);
}
} }
.adf-header-delimiter { .adf-header-delimiter {

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { Component, ViewEncapsulation } from '@angular/core'; import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
@Component({ @Component({
selector: 'adf-toolbar-divider', selector: 'adf-toolbar-divider',
@@ -30,6 +30,7 @@ import { Component, ViewEncapsulation } from '@angular/core';
margin-right: 5px; margin-right: 5px;
} }
`], `],
encapsulation: ViewEncapsulation.None encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class ToolbarDividerComponent {} export class ToolbarDividerComponent {}