Callback page

This commit is contained in:
MrSandMan 2024-01-09 23:09:57 +03:00
parent 58c7ab1865
commit a16b8a3643
6 changed files with 4280 additions and 0 deletions

Binary file not shown.

Binary file not shown.

BIN
Callback/img/Logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

BIN
Callback/img/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

184
Callback/index.html Normal file
View File

@ -0,0 +1,184 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<style type="text/css">
@font-face {
font-family: 'Manrope-Light';
src: url('fonts/Manrope-Light.ttf');
}
@font-face {
font-family: 'Avenir Medium';
src: url('fonts/Manrope-Medium.ttf');
}
body {
background-image: url(img/bg.png);
background-repeat:no-repeat;
background-size: cover;
background-position: center center;
background-attachment: fixed;
font-family: "Manrope-Light";
}
body, html, div {
margin: 0px;
padding: 0px;
}
#main {
height: 100%;
background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
width: 100%;
position: absolute;
z-index: 10;
color: white;
}
#settingsAboutCurrentContainer {
display: flex;
flex-direction: column;
background: rgba(0, 0, 0, 0.25);
border: 1px solid rgba(126, 126, 126, 0.57);
border-radius: 3px;
width: 75%;
margin-bottom: 20px;
}
#settingsAboutCurrentContent {
display: flex;
flex-direction: column;
padding: 15px;
}
/* About header elements. */
#settingsAboutCurrentHeadline {
display: flex;
align-items: center;
padding-bottom: 5px;
border-bottom: 1px solid rgba(126, 126, 126, 0.57);
}
#settingsAboutLogo {
width: 90px;
height: 90px;
padding: 5px;
}
#settingsAboutTitle {
font-size: 23px;
padding-left: 10px;
}
/* Current version container. */
#settingsAboutCurrentVersion {
display: flex;
align-items: center;
padding-top: 10px;
text-align: center;
width: 95%;
padding: 2rem 0 2rem 0;
}
.Centered {
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
/* width: 100%; */
}
.Centered > div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
}
#loginSkirdaAuthorizationWindow {
display: flex;
flex-direction: column;
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgb(83 83 83 / 60%);
border-radius: 3px;
margin-bottom: 20px;
width: 22rem;
}
#loginSkirdaAuthorizationNote {
font-size: 10px;
color: grey;
}
#loginSkirdaAuthorizationRetryButton {
margin-bottom: 0.7rem;
color: rgb(249 249 249);
border: 1px solid rgb(209 209 209);
border-radius: 4px;
transition: 0.25s ease;
font-size: 15px;
cursor: pointer;
outline: none;
background: none;
padding: 0.4rem 1rem 0.4rem 1rem;
}
#loginSkirdaAuthorizationRetryButton:hover {
background: rgb(0 0 0 / 91%);
border: 1px solid rgb(83 83 83 / 42%);
}
#loginSkirdaAuthorizationRetryButton:active {
background: rgb(0 0 0 / 91%);
border: 1px solid rgb(83 83 83 / 42%);
}
#loginSkirdaAuthorizationError {
font-size: 15px;
color: #bfbfbf;
}
</style>
</head>
<body>
<div id="main">
<div id="loginSkirdaDiscordContainer" class="Centered" >
<!--Окно открытия браузера (ожидание ответа)-->
<div id="loginSkirdaAuthorizationWindow" style="display: none;">
<div id="settingsAboutCurrentContent" class="Centered">
<div id="settingsAboutCurrentHeadline">
<img id="settingsAboutLogo" src="img/Logo.png">
<span id="settingsAboutTitle">Авторизация через Discord</span>
</div>
<div id="settingsAboutCurrentVersion">
<span>Успешная авторизация! Для начала игры вам необходимо вернутся в лаунчер.</span>
</div>
</div>
<div id="settingsAboutButtons">
<span id="loginSkirdaAuthorizationNote">Skirda Launcher</span>
</div>
</div>
<!--Ошибка-->
<div id="loginSkirdaAuthorizationWindow" >
<div id="settingsAboutCurrentContent" class="Centered">
<div id="settingsAboutCurrentHeadline">
<img id="settingsAboutLogo" src="img/Logo.png">
<span id="settingsAboutTitle">Авторизация через Discord</span>
</div>
<div id="settingsAboutCurrentVersion" class="Centered">
<span>Ошибка авторизации!</span>
<span id="loginSkirdaAuthorizationError">(Eror Pizda Poezdu)</span>
</div>
</div>
<div id="settingsAboutButtons">
<span id="loginSkirdaAuthorizationNote">Skirda Launcher</span>
</div>
</div>
</div>
</div>
</body>
</html>

4096
Callback/launcher.css Normal file

File diff suppressed because it is too large Load Diff