Move style from main-app.component to different file.

This commit is contained in:
József Farkas
2016-05-16 16:10:20 +02:00
parent a436298e37
commit d66f4f056a
2 changed files with 60 additions and 61 deletions

View File

@@ -0,0 +1,58 @@
:host {
display: flex;
flex-direction: column;
overflow: hidden;
}
:host > div:first-child {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
}
button {
margin: 2px;
}
:host > div:last-child {
display: flex;
flex: 5;
position: relative;
}
:host > div:last-child > svg-keyboard {
width: 80%;
position: absolute;
left: 50%;
transform: translateX(-50%);
animation-duration: 0.75s;
animation-timing-function: ease-in-out;
}
@keyframes animate-center-left {
0% {
transform: translateX(-50%);
left: 50%;
}
100% {
transform: translateX(-100%);
left: 0%;
}
}
@keyframes animate-center-right {
0% {
transform: translateX(-50%);
left: 50%;
}
100% {
transform: translateX(0%);
left: 100%;
}
}
[hidden] {
display: none
}