You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
201 lines
3.7 KiB
201 lines
3.7 KiB
/*Fonts CSS */
|
|
|
|
@font-face {
|
|
font-family: Fauna;
|
|
src: url("../../assets/fonts/Fauna.ttf");
|
|
}
|
|
@font-face {
|
|
font-family: Equinox;
|
|
src: url("../../assets/fonts/Equinox.otf");
|
|
}
|
|
/* End Fonts CSS */
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
font-family: "Equinox", sans-serif;
|
|
color: white;
|
|
scroll-behavior: smooth;
|
|
height: 100vh;
|
|
background-image: url("../../assets/img/LoginBG.png");
|
|
background-position: center center;
|
|
background-attachment: fixed;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-color: #000;
|
|
}
|
|
|
|
a{
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
.login-box {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 400px;
|
|
padding: 40px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
box-sizing: border-box;
|
|
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
|
|
border-radius: 10px;
|
|
transform: translate(-50%, -50%);
|
|
-webkit-transform: translate(-50%, -50%);
|
|
-moz-transform: translate(-50%, -50%);
|
|
-ms-transform: translate(-50%, -50%);
|
|
-o-transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.login-box .user-box input {
|
|
width: 100%;
|
|
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
|
padding: 8px 0;
|
|
font-size: 12px;
|
|
color: #fff;
|
|
border: none;
|
|
border-bottom: 1px solid #fff;
|
|
outline: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.login-box .user-box label {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
font-size: 16px;
|
|
color: #fff;
|
|
pointer-events: none;
|
|
transition: 0.5s;
|
|
-webkit-transition: 0.5s;
|
|
-moz-transition: 0.5s;
|
|
-ms-transition: 0.5s;
|
|
-o-transition: 0.5s;
|
|
}
|
|
|
|
.login-box .user-box input:focus ~ label,
|
|
.login-box .user-box input:valid ~ label {
|
|
top: -20px;
|
|
left: 0;
|
|
color: #be5631;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.login-box form a,
|
|
.login-box form button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
padding: 10px 0px;
|
|
color: #5fc198;
|
|
background: transparent;
|
|
border: none;
|
|
font-size: 16px;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
overflow: hidden;
|
|
letter-spacing: 3px;
|
|
transition: all 0.5s;
|
|
-webkit-transition: all 0.5s;
|
|
-moz-transition: all 0.5s;
|
|
-ms-transition: all 0.5s;
|
|
-o-transition: all 0.5s;
|
|
}
|
|
|
|
|
|
.login-box .btn:hover,
|
|
.login-box button:hover {
|
|
background: #5fc198;
|
|
color: #fff;
|
|
border-radius: 5px;
|
|
box-shadow: 0 0 5px #5fc198, 0 0 25px #5fc198, 0 0 50px #5fc198,
|
|
0 0 100px #5fc198;
|
|
}
|
|
|
|
.login-box a span,
|
|
.login-box button span {
|
|
position: absolute;
|
|
display: block;
|
|
}
|
|
|
|
.login-box a span:nth-child(1),
|
|
.login-box button span:nth-child(1) {
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, transparent, #5fc198);
|
|
animation: btn-anim1 1s linear infinite;
|
|
}
|
|
|
|
@keyframes btn-anim1 {
|
|
0% {
|
|
left: -100%;
|
|
}
|
|
50%,
|
|
100% {
|
|
left: 100%;
|
|
}
|
|
}
|
|
|
|
.login-box a span:nth-child(2),
|
|
.login-box button span:nth-child(2) {
|
|
top: -100%;
|
|
right: 0;
|
|
width: 2px;
|
|
height: 100%;
|
|
background: linear-gradient(180deg, transparent, #5fc198);
|
|
animation: btn-anim2 1s linear infinite;
|
|
animation-delay: 0.25s;
|
|
}
|
|
|
|
@keyframes btn-anim2 {
|
|
0% {
|
|
top: -100%;
|
|
}
|
|
50%,
|
|
100% {
|
|
top: 100%;
|
|
}
|
|
}
|
|
|
|
.login-box a span:nth-child(3),
|
|
.login-box button span:nth-child(3) {
|
|
bottom: 0;
|
|
right: -100%;
|
|
width: 100%;
|
|
height: 2px;
|
|
background: linear-gradient(270deg, transparent, #5fc198);
|
|
animation: btn-anim3 1s linear infinite;
|
|
animation-delay: 0.5s;
|
|
-webkit-animation: btn-anim3 1s linear infinite;
|
|
}
|
|
|
|
@keyframes btn-anim3 {
|
|
0% {
|
|
right: -100%;
|
|
}
|
|
50%,
|
|
100% {
|
|
right: 100%;
|
|
}
|
|
}
|
|
|
|
.login-box a span:nth-child(4),
|
|
.login-box button span:nth-child(4) {
|
|
bottom: -100%;
|
|
left: 0;
|
|
width: 2px;
|
|
height: 100%;
|
|
background: linear-gradient(360deg, transparent, #5fc198);
|
|
animation: btn-anim4 1s linear infinite;
|
|
animation-delay: 0.75s;
|
|
}
|
|
|
|
@keyframes btn-anim4 {
|
|
0% {
|
|
bottom: -100%;
|
|
}
|
|
50%,
|
|
100% {
|
|
bottom: 100%;
|
|
}
|
|
} |