mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-16 18:07:31 +01:00
initial commit.
This commit is contained in:
60
styles/login.scss
Normal file
60
styles/login.scss
Normal file
@@ -0,0 +1,60 @@
|
||||
@import "vars";
|
||||
@import "mixins";
|
||||
|
||||
#account-forms {
|
||||
z-index: 2000;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
&.got-user {display: none; }
|
||||
|
||||
> div {
|
||||
display: table;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// color: white;
|
||||
position: absolute !important;
|
||||
pointer-events: none;
|
||||
|
||||
&.active {
|
||||
&#login form { @include rotateY(0deg); }
|
||||
&#signup form { @include rotateY(0deg); }
|
||||
&#password-reset form { @include rotateY(0deg); }
|
||||
&#password-confirm form { @include rotateY(0deg); }
|
||||
form {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
-webkit-perspective: 1000;
|
||||
-moz-perspective: 1000;
|
||||
-ms-perspective: 1000;
|
||||
perspective: 1000;
|
||||
@include perspective-origin(center center);
|
||||
}
|
||||
|
||||
&#login form { @include rotateY(-180deg); }
|
||||
&#signup form { @include rotateY(180deg); }
|
||||
&#password form { @include rotateY(180deg); }
|
||||
|
||||
form {
|
||||
h4 {
|
||||
display: inline-block;
|
||||
}
|
||||
text-align: left;
|
||||
display: inline-block;
|
||||
width: 330px;
|
||||
opacity: 0;
|
||||
|
||||
@include backface-visibility(hidden);
|
||||
|
||||
@include transition( all 0.25s ease-in-out);
|
||||
@include transform-origin(center center);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user