sogo/UI/WebServerResources/scss/views/LoginUI.scss

47 lines
964 B
SCSS
Raw Normal View History

2015-05-20 15:31:53 +02:00
/// LoginUI.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
2015-04-10 21:37:00 +02:00
2015-09-15 17:42:47 +02:00
[ui-view="login"] {
md-content {
padding: 0;
@include to(sm) {
2015-09-15 17:42:47 +02:00
[id=logo] {
text-align: center;
img {
max-width: 75%;
}
}
}
@include from(sm) {
2015-09-15 17:42:47 +02:00
&.ng-hide {
[id=logo] {
opacity: 0;
transform: translateX(50%);
}
.sg-login {
opacity: 0;
transform: translateX(100%);
}
}
[id=logo], .sg-login {
opacity: 1;
//transform: translateX(0%);
2015-09-15 17:42:47 +02:00
}
[id=logo] {
transition: transform $swift-ease-out-duration $swift-ease-out-timing-function 600ms,
opacity 400ms linear;
}
.sg-login {
transition: all $swift-ease-out-duration $swift-ease-out-timing-function 600ms;
}
}
}
}
[ui-view="login"] > md-content > div {
width: grid-step(5);
}
[id=logo] img {
max-width: 100%;
}