<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://www.google.com/recaptcha/api.js?render=6LdO5KEaAAAAAMo8D2jUQU3qHkFYbWBKdGzoDOoA" async defer></script>
<script src="https://auth.venderes.com/static/_assets/account.js"></script>
<script>
const auth = new AccountManager(
'{{content.data.rp}}',
[1,2,3],
'.app-formObject',
'[data-formInp="{% verbatim %}{{name}}{% endverbatim %}"]',
'wrong-inp'
);
auth.saveRedirectEndpoint('{{content.data.pt}}');
auth.error_func = () => {PROGRESSBAR(false);};
function PROGRESSBAR(status) {
var changeto = 'none';
if(status){ changeto = ''; }
document.getElementsByClassName("PROGRESSBAR")[0].style.display = changeto;
}
</script>
<title>Venderes Auth | {{ title }} | venderes.com</title>
</head>
<style>
@font-face{
font-family:FoRegular;
src:url(/auth_assets/fonts/Regular.ttf);
font-display:swap
}
@font-face{
font-family:FoEBold;
src:url(/auth_assets/fonts/eBold.ttf);
font-display:swap
}
@font-face{
font-family:FoBold;
src:url(/auth_assets/fonts/Bold.ttf);
font-display:swap
}
@font-face{
font-family:FoMedium;
src:url(/auth_assets/fonts/Medium.ttf);
font-display:swap
}
@font-face{
font-family:FoLight;
src:url(/auth_assets/fonts/Light.ttf);
font-display:swap
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
-moz-tap-highlight-color: transparent;
text-size-adjust: none;
-webkit-text-size-adjust: none;
font-family: FoRegular;
}
html {
min-height: 100%;
height: 100%;
}
body {
background-color: #fcfcfc;
height: 100%;
}
.PROGRESSBAR, .PROGRESSBAR::after {
height: 5px;
width: 100%;
margin: 0;
}
.PROGRESSBAR::before {
content: "";
width: 100%;
height: 100%;
position: fixed;
background-color: rgba(19, 19, 19, 0.5);
z-index: -1;
}
.PROGRESSBAR {
background-color: #e8e8e8;
display: flex;
position: fixed;
z-index: 999999999;
top: 0;
}
.PROGRESSBAR::after {
background-color: #ffbd77;
content: "";
animation: progressbar 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@-webkit-keyframes progressbar {
0% { margin-left: 0px; margin-right: 100%; }
50% { margin-left: 25%; margin-right: 0%; }
100% { margin-left: 100%; margin-right: 0; }
}
@keyframes progressbar {
0% { margin-left: 0px; margin-right: 100%; }
50% { margin-left: 25%; margin-right: 0%; }
100% { margin-left: 100%; margin-right: 0; }
}
.container {
width: 100%;
min-height: 100%;
display: flex;
}
.form-container {
width: 100%;
max-width: 600px;
background-color: transparent;
flex: none;
padding:50px;
display:flex;
flex-direction: column;
justify-content: space-between;
}
.form-logo, .form-logo-mini {
height: 30px;
width: 100%;
background: var(--logourl) no-repeat center center / contain;
flex: none;
}
.form-logo-mini {
height: 20px;
}
.form-content {
flex: auto;
margin:20px 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.form-content-title {
font-family: FoLight;
font-size: 40px;
color: #2c2c2c;
letter-spacing: -1px;
text-align: center;
margin:20px 0 40px;
font-variant: all-petite-caps;
}
hr {
border:none;
border-top:1px solid #ddd;
}
.form-content-inputs-container > * {
display:block;
}
.form-content-inputs-container button {
margin: 10px 0;
width: 100%;
border: none;
padding: 20px 25px;
font-size: 18px;
outline: none;
border-radius: 22px;
color: white;
font-family: FoBold;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
background-image: linear-gradient(119deg, #131313, transparent), url(/auth_assets/authenticate_module/btn-rainbow.png);
background-color: #101010;
transition: 0.3s background-color;
cursor: pointer;
}
.form-content-inputs-container button:hover,
.form-content-inputs-container button:focus {
background-color: #464646;
}
.form-content-inputs-container label {
display:flex;
flex-direction: column;
}
.form-content-inputs-container label span {
font-size: 17px;
font-family: FoMedium;
color:#2c2c2c;
padding: 0 11px;
}
.form-content-inputs-container label input {
margin:7px 0 12px;
background-color: #efefef;
border:none;
padding: 15px 30px;
font-size: 17px;
outline: none;
border-radius: 22px;
transition: 0.3s background-color;
}
.inputs-others {
display: flex;
gap:10px;
}
.inputs-others a {
width:100%;
}
.inputs-others button {
font-size: 15px;
background-color: #efefef;
background-image: none;
color:black;
}
.inputs-others button:hover,
.inputs-others button:focus {
background-color: #b9b9b9;
}
.outside-container {
flex: auto;
background-color: #efefef;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
background-image: url(/auth_assets/authenticate_module/login_bg.webp);
}
.backto-container {
position: fixed;
top:0;
right: 0;
margin:20px;
}
.backto-container a {
text-decoration: none;
}
.backto-container a div {
padding: 20px;
background-color: rgba(255,255,255,0.8);
transition: 0.3s background-color;
color: #2c2c2c;
border-radius: 20px;
font-family: FoMedium;
font-variant: all-petite-caps;
}
.backto-container a div:hover {
background-color: white;
}
.form-content-inputs-container label input.wrong-inp {
background-color: #ffece3;
box-shadow: inset 0 0 0 100px #ffece3;
}
.form-content-inputs-container label input.wrong-inp ~ span {
color: #eb4c00;
margin-top:-7px;
margin-bottom: 15px;
font-family: FoRegular;
}
.grecaptcha-badge {
display: none;
}
@media only screen and (max-width: 1050px) {
.backto-container {
display: none;
}
.outside-container {
display: none;
}
.form-container {
margin: auto;
}
}
@media only screen and (max-width: 800px) {
.form-logo {
display: none;
}
.form-container {
flex-direction: column-reverse;
}
}
@media only screen and (max-width: 550px) {
.form-container {
padding: 50px 30px;
}
}
@media only screen and (max-height: 660px) {
.form-logo {
display: none;
}
.form-container {
flex-direction: column-reverse;
}
}
@media only screen and (max-width: 600px) {
.inputs-others {
gap: unset;
flex-direction: column;
}
}
@media only screen and (max-width: 400px) {
.form-container {
padding: 50px 20px;
}
.form-content-inputs-container button {
margin: 5px 0;
padding: 18px 25px;
font-size: 16px;
}
}
</style>
<body>
<div class="PROGRESSBAR" style="display:none;"></div>
<div class="container">
<div class="form-container">
<div class="form-logo" style="--logourl: url(/auth_assets/logos/@main.png);"></div>
<div class="form-content">
{{ include('/modules/auth/parts/' ~ contentType ~ '.html.twig') }}
</div>
<div class="form-logo-mini" style="--logourl: url(https://cdn.pickit.lt/resources/uploads/marketingLogos/grays/{{ content.platformLogo }});"></div>
</div>
<div class="outside-container"></div>
{% if content.backButton.s %}
<div class="backto-container"><a href="{{ content.backButton.url|raw }}"><div>Grįžti į „{{ content.backButton.name }}“</div></a></div>
{% endif %}
</div>
</body>
</html>