}
.gaussfade-out{
- transition: ease 3s;
- filter: blur(100px);
+ animation: rotation 2s ease 0s 1 alternate none running;
+}
+@keyframes rotation {
+ 0% {
+ filter: blur(0px);
+ }
+
+ 50% {
+ filter: blur(100px);
+ }
+
+ 100% {
+ filter: blur(0px);
+ }
}
body {
display: flex;
input {
color: white;
}
+
.caret {
fill: grey !important;
}
+.row{
+ margin: 0 auto 30px;
+}
+.col.right{
+ height: 25px;
+}
+.col.right .row{
+ margin: 0;
+}
.power-button {
+ vertical-align: bottom;
fill: #bdc3c7;
}
.power-button:hover {
fill: white;
transform: scale(0.95);
}
+.input-field.col.s2.offset-s1{
+ margin-bottom: 20px;
+}
div#console {
z-index: 9999;
position: absolute;
and 'deny' will be emitted on failure */
if (e.keyCode == 13) {
if(!$("#inputPassword").val() == ""){
+ $("body").addClass("gaussfade-out");
let username = $user.children("option:selected").val();
let pass = $password.val();
greeter.auth(username, pass);
// when the user is authenticated, do a transition and login
$(greeter).on("grant", () => {
- $("body").addClass("gaussfade-out");
let session_key = $session.children("option:selected").val();
$cover.fadeIn("slow", () => greeter.login(session_key));
// inform the user that the credentials are invalid
$password.removeClass("valid").addClass("invalid");
$password.val("").prop("placeholder", "Incorrect Password");
+ setTimeout('$("body").removeClass("gaussfade-out")', 2000);
});
$(greeter.plugins.SplashScreen).on("active", function() {