theme tweaks

This commit is contained in:
Eugene Pankov
2018-05-20 13:45:27 +02:00
parent f011b03fb2
commit 7cb6642f1e
2 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
import { Component, Inject, Input, HostListener } from '@angular/core'
import { Component, Inject, Input, HostListener, HostBinding } from '@angular/core'
import { trigger, style, animate, transition, state } from '@angular/animations'
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
@@ -54,6 +54,7 @@ export class AppRootComponent {
@Input() ready = false
@Input() leftToolbarButtons: IToolbarButton[]
@Input() rightToolbarButtons: IToolbarButton[]
@HostBinding('class') hostClass = `platform-${process.platform}`
private logger: Logger
private appUpdate: Update

View File

@@ -134,6 +134,7 @@ app-root {
background: $body-bg2;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
transition: 0.25s all;
.index {
@@ -193,6 +194,13 @@ app-root {
}
}
}
&.platform-win32, &.platform-linux {
border: 1px solid #111;
&>.content .tab-bar .tabs tab-header:first-child {
border-left: none;
}
}
}
tab-body {