Move inner styles to scss files.

This commit is contained in:
József Farkas
2016-05-12 20:01:02 +02:00
parent b9018996bd
commit a4b2a14e14
4 changed files with 44 additions and 48 deletions

View File

@@ -0,0 +1,30 @@
:host {
display: flex;
flex-direction: column;
min-width: 577px;
padding: 0;
}
.popover-action {
padding: 8px 14px;
margin: 0;
font-size: 14px;
background-color: #f7f7f7;
border-top: 1px solid #ebebeb;
border-radius: 0 0 5px 5px;
text-align: right;
}
.popover-title.menu-tabs {
padding: .5rem .5rem 0;
display: block;
}
.popover-title.menu-tabs .nav-tabs {
position: relative;
top: 1px;
}
.popover-content {
padding: 10px 24px;
}

View File

@@ -86,39 +86,7 @@ import {NoneTabComponent} from './tab/none-tab.component';
</div>
</div>
`,
styles:
[`
:host {
display: flex;
flex-direction: column;
min-width: 577px;
padding: 0;
}
.popover-action {
padding: 8px 14px;
margin: 0;
font-size: 14px;
background-color: #f7f7f7;
border-top: 1px solid #ebebeb;
border-radius: 0 0 5px 5px;
text-align: right;
}
.popover-title.menu-tabs {
padding: .5rem .5rem 0;
display: block;
}
.popover-title.menu-tabs .nav-tabs {
position: relative;
top: 1px;
}
.popover-content {
padding: 10px 24px;
}
`],
styles: [ require('./popover.component.scss') ],
host: { 'class': 'popover' },
directives:
[

View File

@@ -0,0 +1,12 @@
:host {
display: flex;
}
.mouse-action {
flex: 1;
border-right: 1px solid black;
}
.details {
flex: 2;
}

View File

@@ -16,21 +16,7 @@ import { Component, OnInit } from '@angular/core';
<div class="details">
</div>
`,
styles:
[`
:host {
display: flex;
}
.mouse-action {
flex: 1;
border-right: 1px solid black;
}
.details {
flex: 2;
}
`]
styles: [ require('./mouse-tab.component.scss') ]
})
export class MouseTabComponent implements OnInit {
constructor() { }