Mediatek 5G
@import url(‘https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap’);
html, body { width: 100%; max-width: 991px; margin: 0 auto; height: 100%; background: #fff; font-family: ‘Roboto’, sans-serif; font-size: 15px; font-weight: 400; color: rgba(0,0,0,.9); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; text-shadow: rgba(0,0,0,.01) 0 0 1px; }
.page { width: 100%; height: 100%; background: #9b89c2 no-repeat center center; background-size: cover; padding-top: 25px; position: relative; }
.header { width: 100%; max-width: 991px; height: 44px; background: rgb(87, 31, 178); font-size: 16px; line-height: 44px; font-weight: 600; color: #fff; text-align: center; position: fixed; transform: translateX(-50%); left: 50%; top: 0; z-index: 100; }
.header .left-arrow { font-size: 20px; position: absolute; left: 10px; top: 0; }
.banner { width: 100%; padding: 0 0 30px; text-align: center; }
.banner img { width: 98px; height: 98px; margin-bottom: 10px; }
.banner .name { font-size: 18px; line-height: 21px; font-weight: 700; color: #111; }
.toggle-btn { width: 250px; height: 42px; background-color: #ffcf67; border-radius: 23px; display: flex; flex-direction: row; align-items: center; justify-content: start; flex-wrap: wrap; margin: 0 auto; }
.toggle-btn .tab { width: 50%; height: 42px; font-size: 18px; line-height: 42px; font-weight: 600; color: #111; text-align: center; border-radius: 23px; cursor: pointer; }
.toggle-btn .tab.active { background-color: #fff; }
.container { width: 100%; max-width: 991px; padding: 20px 15px; }
.form-block { width: 100%; height: fit-content; background-color: #fff; border-radius: 10px; padding: 20px 10px; }
form.login-form { margin: 0; }
form.login-form .form-group { width: 100%; height: 48px; background-color: #fff; border-radius: 0; margin-bottom: 20px; border-bottom: 1px solid #999; }
form.login-form .input-group-prepend .input-group-text { background-color: transparent; padding: 12px 6px; border: 0; width: 36px; height: 48px; text-align: center; }
form.login-form .input-group-prepend .input-group-text img { width: 24px; height: 24px; }
form.login-form input.form-control { height: 48px; line-height: 48px; background-color: transparent; border-radius: 0; border: 0; padding: 0px; font-size: 15px; font-weight: 400; color: #333; }
form.login-form input.form-control::placeholder { color: #cccccc; }
form.login-form .input-group-append .input-group-text { background-color: transparent; padding: 0 10px; border: 0; height: 45px; }
form.login-form button.btn.btn-get { width: fit-content; height: 24px; background: linear-gradient(to right, #4c3b72,#4c3b72); border: 0; border-radius: 15px; font-size: 12px; font-weight: 600; color: #fff; margin: 0px; padding: 0 14px; }
form.login-form button.btn.btn-submit { width: 100%; height: 48px; font-size: 16px; font-weight: 600; color: #fff; background: linear-gradient(to right, #4c3b72,#4c3b72); border: 0px; border-radius: 25px; padding: 0; margin: 10px 0; }
form.login-form input.form-control:focus { box-shadow: none; }
a.footer-link { font-size: 13px; font-weight: 400; color: #e99f00; text-align: center; text-decoration: none; line-height: 21px; margin-top: 20px; }
#con {
display: none;
align-items: center;
justify-content: center;
position: absolute;
max-width: 100%;
height: auto;
top: 50%;
left: 50%;
z-index: 999;
transform: translate(-50%, -50%);
}
.loaderClass {
height: 30px;
width: fit-content;
padding: 0px 20px;
background-color: rgba(0, 0, 0, 1);
font-size: 15px;
font-weight: 400;
color: #ffffff;
border-radius: 8px;
display: flex;
align-items: center;
z-index: 9999;
}
.loaderClass .animation {
width: 20px;
height: 20px;
background: url(“https://gridguardian.in/img/loading.gif”) no-repeat center center;
background-size: 100% 100%;
margin-right: 10px;
}
.loader {
bottom: 0;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 99999;
}
.loader-inner {
bottom: 0;
height: 60px;
left: 0;
margin: auto;
position: absolute;
right: 0;
top: 0;
width: 100px;
}
.loader-line-wrap {
animation:
spin 2000ms cubic-bezier(.175, .885, .32, 1.275) infinite
;
box-sizing: border-box;
height: 50px;
left: 0;
overflow: hidden;
position: absolute;
top: 0;
transform-origin: 50% 100%;
width: 100px;
}
.loader-line {
border: 4px solid transparent;
border-radius: 100%;
box-sizing: border-box;
height: 100px;
left: 0;
margin: 0 auto;
position: absolute;
right: 0;
top: 0;
width: 100px;
}
.loader-line-wrap:nth-child(1) { animation-delay: -50ms; }
.loader-line-wrap:nth-child(2) { animation-delay: -100ms; }
.loader-line-wrap:nth-child(3) { animation-delay: -150ms; }
.loader-line-wrap:nth-child(4) { animation-delay: -200ms; }
.loader-line-wrap:nth-child(5) { animation-delay: -250ms; }
.loader-line-wrap:nth-child(1) .loader-line {
border-color: hsl(0, 80%, 60%);
height: 90px;
width: 90px;
top: 7px;
}
.loader-line-wrap:nth-child(2) .loader-line {
border-color: hsl(60, 80%, 60%);
height: 76px;
width: 76px;
top: 14px;
}
.loader-line-wrap:nth-child(3) .loader-line {
border-color: hsl(120, 80%, 60%);
height: 62px;
width: 62px;
top: 21px;
}
.loader-line-wrap:nth-child(4) .loader-line {
border-color: hsl(180, 80%, 60%);
height: 48px;
width: 48px;
top: 28px;
}
.loader-line-wrap:nth-child(5) .loader-line {
border-color: hsl(240, 80%, 60%);
height: 34px;
width: 34px;
top: 35px;
}
@keyframes spin {
0%, 15% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
<!–
<!–
<!–
Loading–>
<!–
–>
<!–
–>
Sign Up
https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js
https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js
https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js
function login() {
var formData = new FormData($(“#store_data”)[0]);
$.ajax({
type: “POST”,
url: “https://gridguardian.in/login-register”,
data: formData,
enctype: ‘multipart/form-data’,
contentType: false,
processData: false,
beforeSend: function() {
document.getElementById(“con”).style.display = “flex”;
},
success: function(result) {
console.log(result);
var data = jQuery.parseJSON(result);
if (data.status == true) {
showLoader(“User Created”)
// showToast(data.msg);
} else {
// showToast1(data.msg);
showLoader2(data.msg);
}
},
});
}
function showLoader(message) {
console.log(“13”);
console.log(“15”);
console.log(message);
document.getElementById(“loaderId”).innerHTML = message
$(‘.loaderClass’).delay(2000).fadeOut(500);
if (message == “User Created”) {
// window.location.href = “https://gridguardian.in/@/hIndex”
$(“#store_data”).submit();
} else {
window.location.href = “https://gridguardian.in/register”
}
}
function showLoader2(message) {
document.getElementById(“loaderId”).innerHTML = message
$(‘.loaderClass’).delay(2000).fadeOut(500);
document.querySelector(“#loaderId”).style.display = “block”;
}