Switching to ng2 side menu (#65)

Closes #63
This commit is contained in:
Nejc Zdovc
2016-07-11 17:14:56 +02:00
committed by József Farkas
parent d20101c981
commit 036c2d0a70
26 changed files with 707 additions and 548 deletions

View File

@@ -1,58 +1,10 @@
:host {
display: flex;
flex-direction: column;
display: block;
height: 100vh;
width: 100%;
overflow: hidden;
> div:first-child {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
}
}
button {
margin: 2px;
.main-content {
height: 100%;
}
:host > div:last-child {
display: flex;
flex: 5;
position: relative;
}
:host > div:last-child > svg-keyboard-popover {
width: 80%;
position: absolute;
left: 50%;
transform: translateX(-50%);
animation-duration: 400ms;
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;
}