mirror of
http://git.frickel.earth/Tysox/BOS-Pinneberg.git
synced 2026-01-11 09:13:01 +01:00
[+] Admin Webinterface
This commit is contained in:
313
admin/login/css/style-login.min.css
vendored
Normal file
313
admin/login/css/style-login.min.css
vendored
Normal file
@@ -0,0 +1,313 @@
|
||||
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&lang=en");
|
||||
|
||||
@font-face {
|
||||
font-family: MarketDeco;
|
||||
src: url("../../global/fonts/market-deco.ttf") format("truetype");
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
TysoxCloud Interface by Tysox
|
||||
www.tysox.de
|
||||
Copyright 2016 Tysox - All rights reserved.
|
||||
|
||||
*/
|
||||
|
||||
/* ----- Login-Screen-CSS ----- */
|
||||
|
||||
body {
|
||||
background-color: lightblue;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.heading {
|
||||
font-family: MarketDeco, serif;
|
||||
color: ghostwhite;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.profile-pic {
|
||||
margin-top: 12px;
|
||||
color: lightslategray;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
margin-top: -10px;
|
||||
font-family: MarketDeco, serif;
|
||||
color: lightslategray;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.login {
|
||||
position: absolute;
|
||||
width: 350px;
|
||||
display: table;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
background: ghostwhite;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.legend {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: block;
|
||||
background: cornflowerblue;
|
||||
padding: 20px;
|
||||
color: ghostwhite;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.legend:after {
|
||||
content: "";
|
||||
background-size: 100px 100px;
|
||||
background: no-repeat 152px -16px;
|
||||
opacity: 0.06;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.input {
|
||||
position: relative;
|
||||
width: 90%;
|
||||
margin: 15px auto;
|
||||
}
|
||||
|
||||
.input span {
|
||||
position: absolute;
|
||||
display: block;
|
||||
color: lightslategray;
|
||||
left: 10px;
|
||||
top: 8px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.input input {
|
||||
width: 100%;
|
||||
padding: 10px 5px 10px 40px;
|
||||
display: block;
|
||||
border: 1px solid ghostwhite;
|
||||
border-radius: 4px;
|
||||
transition: 0.2s ease-out;
|
||||
color: #0a0a0a;
|
||||
}
|
||||
|
||||
.input input:focus {
|
||||
padding: 10px 5px 10px 10px;
|
||||
outline: 0;
|
||||
border-color: cornflowerblue;
|
||||
}
|
||||
|
||||
.submit {
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
display: block;
|
||||
margin: 0 auto -15px auto;
|
||||
background: ghostwhite;
|
||||
border-radius: 100%;
|
||||
border: 1px solid cornflowerblue;
|
||||
color: cornflowerblue;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
box-shadow: 0px 0px 0px 7px ghostwhite;
|
||||
transition: 0.2s ease-out;
|
||||
}
|
||||
|
||||
.submit-active:hover,
|
||||
.submit-active:focus {
|
||||
background: cornflowerblue;
|
||||
color: ghostwhite;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.submit-active:active,
|
||||
.submit-active:after,
|
||||
.submit-active:visited,
|
||||
.submit-active:checked {
|
||||
background: ghostwhite;
|
||||
color: cornflowerblue;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.feedback {
|
||||
position: absolute;
|
||||
bottom: -70px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: ghostwhite;
|
||||
background: lightskyblue;
|
||||
padding: 10px 0;
|
||||
font-size: 12px;
|
||||
display: none;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.feedback:before {
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
content: "";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border: 10px solid rgba(46, 204, 113, 0);
|
||||
border-bottom-color: lightskyblue;
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 375px) {
|
||||
.login {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----- Loading-Screen-CSS ----- */
|
||||
|
||||
.loading-overlay {
|
||||
height: 0;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
overflow: hidden;
|
||||
transition: 0.5s;
|
||||
}
|
||||
|
||||
.loading-overlay-content {
|
||||
position: relative;
|
||||
top: 40%;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.loading-overlay .closebtn {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 45px;
|
||||
font-size: 60px;
|
||||
}
|
||||
|
||||
@media screen and (max-height: 450px) {
|
||||
.loading-overlay a {font-size: 20px}
|
||||
.loading-overlay .closebtn {
|
||||
font-size: 40px;
|
||||
top: 15px;
|
||||
right: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----- Loading-Screen-Spinner ----- */
|
||||
|
||||
.loading-spinner-container {
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.loading-spinner {
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
margin: 0 auto;
|
||||
border: 3px solid rgb(0,0,0);
|
||||
border-radius: 50%;
|
||||
border-left-color: transparent;
|
||||
border-right-color: transparent;
|
||||
animation: loading-wheel 2000ms infinite linear;
|
||||
-o-animation: loading-wheel 2000ms infinite linear;
|
||||
-ms-animation: loading-wheel 2000ms infinite linear;
|
||||
-webkit-animation: loading-wheel 2000ms infinite linear;
|
||||
-moz-animation: loading-wheel 2000ms infinite linear;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@keyframes loading-wheel {
|
||||
100%{ transform: rotate(360deg); transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@-o-keyframes loading-wheel {
|
||||
100%{ -o-transform: rotate(360deg); transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@-ms-keyframes loading-wheel {
|
||||
100%{ -ms-transform: rotate(360deg); transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@-webkit-keyframes loading-wheel {
|
||||
100%{ -webkit-transform: rotate(360deg); transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@-moz-keyframes loading-wheel {
|
||||
100%{ -moz-transform: rotate(360deg); transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* ----- Overlay-Screen-CSS ----- */
|
||||
|
||||
.overlay {
|
||||
-moz-animation: overlay 0.5s 0.5s forwards;
|
||||
-webkit-animation: overlay 0.5s 0.5s forwards;
|
||||
-ms-animation: overlay 0.5s 0.5s forwards;
|
||||
animation: overlay 0.5s 0.5s forwards;
|
||||
background-attachment: fixed, fixed;
|
||||
background-image: url("../../global/images/overlay-pattern.png"), url("../../global/images/overlay.svg");
|
||||
background-position: top left, center center;
|
||||
background-repeat: repeat, no-repeat;
|
||||
background-size: auto, cover;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@-moz-keyframes overlay {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes overlay {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes overlay {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes overlay {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
53
admin/login/js/core-login.min.js
vendored
Normal file
53
admin/login/js/core-login.min.js
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
$(".input").focusin(function () {
|
||||
$(this).find("span").animate({"opacity": "0"}, 100);
|
||||
});
|
||||
|
||||
$(".input").focusout(function () {
|
||||
$(this).find("span").animate({"opacity": "1"}, 200);
|
||||
});
|
||||
|
||||
$(".login").submit(function () {
|
||||
$(".feedback").show().animate({"opacity": "1", "bottom": "-80px"}, 400);
|
||||
$(".feedback").show().animate({"opacity": "0"}, 3000);
|
||||
return false;
|
||||
});
|
||||
|
||||
function loginSuccess() {
|
||||
document.getElementById("submit").disabled = true;
|
||||
|
||||
$("input").css({"border-color": "ghostwhite"});
|
||||
$("#submit").find("i").removeAttr("class").addClass("fa fa-check");
|
||||
$("#submit").css({"border-color": "limegreen", "color": "limegreen"});
|
||||
$("#submit").removeClass('submit-active');
|
||||
$("input").blur();
|
||||
}
|
||||
|
||||
function loginFailed() {
|
||||
document.getElementById("username").disabled = false;
|
||||
document.getElementById("password").disabled = false;
|
||||
document.getElementById("submit").disabled = true;
|
||||
|
||||
$("input").css({"border-color": "indianred"});
|
||||
$("#submit").find("i").removeAttr("class").addClass("fa fa-chevron-right").css({"color": "lightgray"});
|
||||
$("#submit").css({"border-color": "lightgray"});
|
||||
$("#submit").removeClass('submit-active');
|
||||
$("input").blur();
|
||||
|
||||
closeLoadingOverlay();
|
||||
|
||||
setTimeout(function () {
|
||||
document.getElementById("submit").disabled = false;
|
||||
$("input").css({"border-color": "ghostwhite"});
|
||||
$("#submit").find("i").removeAttr("class").addClass("fa fa-chevron-right").css({"color": ""});
|
||||
$("#submit").css({"border-color": "cornflowerblue"});
|
||||
$("#submit").addClass('submit-active');
|
||||
}, 3500);
|
||||
}
|
||||
|
||||
function openLoadingOverlay() {
|
||||
document.getElementById("loadingOverlay").style.height = "100%";
|
||||
}
|
||||
|
||||
function closeLoadingOverlay() {
|
||||
document.getElementById("loadingOverlay").style.height = "0%";
|
||||
}
|
||||
Reference in New Issue
Block a user