This commit is contained in:
Lev 2026-04-19 17:46:56 +03:00
parent 11a84f4926
commit 4c4d325245
19 changed files with 226 additions and 279 deletions

View file

@ -0,0 +1,301 @@
:root{
--bg: #000;
--card: #111;
--text: #e0e0e0;
--accent: cyan;
--border: #333;
}
*{margin: 0; padding: 0; box-sizing: border-box;}
body{background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; min-height: 100vh;}
.container{max-width: 800px; margin: 0 auto; padding: 20px;}
header{
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
border-bottom: 1px solid #333;
margin-bottom: 40px;
flex-wrap: wrap;
}
header h2 {font-size: 24pt;}
header h2 b {color: var(--accent);}
.user-info{
display: flex;
align-items: center;
gap: 15px;
font-size: 14pt;
}
#logoutBtn{
background: transparent;
border: 1px solid var(--accent);
color: var(--accent);
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
transition: 0.3s;
}
#logoutBtn:hover{
background: var(--accent);
color: #000;
}
h1{
font-size: 28pt;
margin-bottom: 30px;
text-align: center;
}
.urls-list{
display: grid;
gap: 15px;
margin-bottom: 30px;
}
.url-card{
background: var(--card);
border: 1px solid #333;
border-radius: 12px;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
transition: 0.3s;
}
.url-card:hover{
border-color: var(--accent);
box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}
.url-name{
font-weight: 600;
color: var(--accent);
}
.url-actions{
display: flex;
gap: 10px;
}
.btn-copy, .btn-delete{
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: 0.3s;
}
.btn-copy{
background: transparent;
border: 1px solid var(--accent);
color: var(--accent);
}
.btn-copy:hover{
background: var(--accent);
color: #000;
}
.btn-delete{
background: #330000;
border: 1px solid #800;
color: #f88;
}
.btn-delete:hover{
background: #800;
color: white;
}
.add-btn{
width: 100%;
padding: 16px;
background: transparent;
border: 2px dashed var(--accent);
color: var(--accent);
font-size: 16pt;
border-radius: 12px;
cursor: pointer;
transition:hover{
background: rgba(0, 255, 255, 0.1);
}
}
.modal{
display: none;
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0,0,0,0.8);
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal.active{display: flex;}
.modal-content{
background: #111;
padding: 30px;
border-radius: 16px;
width: 90%;
max-width: 400px;
border: 1px solid var(--accent);
text-align: center;
}
.modal-content input{
width: 100%;
padding: 14px;
margin: 10px 0;
background: #222;
border: 1px solid #444;
border-radius: 10px;
color: white;
}
.modal-content .error{
color: #ff6b6b;
margin: 10px 0;
min-height: 20px;
}
.buttons{
display: flex;
gap: 10px;
margin-top: 20px;
}
.buttons button{
flex: 1;
padding: 12px;
border-radius: 10px;
cursor: pointer;
}
#loginSubmit{
background: var(--accent);
color: black;
border: none;
}
#closeModal{
background: transparent;
border: 1px solid #666;
color: #aaa;
}
.how-to-connect{
margin-bottom: 60px;
}
.platform-tabs{
display: flex;
justify-content: center;
gap: 12px;
margin-bottom: 32px;
flex-wrap: wrap;
}
.tab-btn{
background: #1a1a1a;
border: 1px solid #444;
color: #aaa;
padding: 12px 24px;
border-radius: 50px;
font-size: 15px;
font-weight: 500;
cursor: pointer;
transition: all 0.22s ease;
}
.tab-btn:hover{
border-color: #666;
color: #ddd;
background: #222;
}
.tab-btn.active{
background: var(--accent);
color: #000;
border-color: var(--accent);
box-shadow: 0 0 20px rgba(0, 255, 255, 0.25);
font-weight: 600;
}
.instructions{
background: var(--card);
border: 1px solid #333;
border-radius: 16px;
padding: 28px 32px;
transition: all 0.3s ease;
}
.instructions ol{
counter-reset: step;
list-style: none;
font-size: 15.5px;
line-height: 1.65;
}
.instructions li{
position: relative;
padding-left: 38px;
margin-bottom: 18px;
}
.instructions li::before{
content: counter(step);
counter-increment: step;
position: absolute;
left: 0;
top: 2px;
width: 28px;
height: 28px;
background: #222;
border: 1px solid var(--accent);
color: var(--accent);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 600;
}
.instructions a{
color: var(--accent);
text-decoration: none;
border-bottom: 1px solid rgba(0,255,255,0.3);
transition: all 0.2s;
}
.instructions a:hover{
border-bottom-color: var(--accent);
color: #00ffff;
}
.instructions kbd{
background: #1e1e1e;
border: 1px solid #444;
border-radius: 5px;
padding: 3px 7px;
font-family: monospace;
color: #aaa;
}
.instructions ul{
margin: 12px 0 12px 24px;
list-style: disc;
color: #bbb;
}
.hidden{
display: none !important;
}

View file

@ -0,0 +1,402 @@
*{
margin: 0;
padding: 0;
}
body{
background-color: black;
color: white;
font-family: 'Inter';
}
header{
height: 5vh;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
border: 0;
border-bottom: 1px;
border-style: solid;
border-color: rgb(41, 41, 41);
}
header h2{
margin-left: 2vw;
}
h2 b{
color: aqua;
}
header div button{
height: 4vh;
font-size: 14pt;
border-width: 0;
font-weight: 600;
padding-left: 10px;
padding-right: 10px;
border-radius: 5px;
cursor: pointer;
}
#register{
background-color: black;
color: white;
border-color: aqua;
border-width: 1px;
margin-right: 10px;
transition: 0.1s;
}
#register:hover{
color: black;
background-color: aqua;
}
#register:active{
opacity: 0.7;
}
#login{
background-color: aqua;
margin-right: 2vw;
}
#login:hover{
background-color: black;
border-color: aqua;
border-style: solid;
border-width: 1px;
color: white;
}
#login:active{
opacity: 0.7;
}
#main{
display: flex;
flex-direction: column;
align-items: center;
min-height: 50vh;
}
#main h1{
font-size: 25pt;
text-align: center;
margin-top: 10vh;
line-height: 35pt;
}
#main h4{
margin-top: 1vh;
font-size: 13pt;
font-weight: 500;
max-width: 550px;
text-align: center;
color: lightgrey;
line-height: 20pt;
}
#main h4 b{
font-weight: 700;
}
#container{
display: flex;
margin-top: 5vh;
flex-wrap: wrap;
justify-content: center;
}
#container div{
height: 4vh;
width: 100px;
background-color: rgba(10, 117, 136, 0.575);
border-radius: 7px;
border-width: 1px;
border-color: aqua;
border-style: solid;
margin: 5px;
color: aqua;
display: flex;
justify-content: center;
align-items: center;
font-size: 13pt;
font-weight: 700;
flex-wrap: wrap;
}
#main button{
margin-top: 3vh;
height: 5vh;
padding-left: 20px;
padding-right: 20px;
background-color: aqua;
border-radius: 7px;
border-style: none;
font-size: 14pt;
font-weight: 700;
cursor: pointer;
transition: 0.1s;
margin-bottom: 5vh;
}
#main button:hover{
background-color: black;
border-color: aqua;
border-style: solid;
border-width: 1px;
color: white;
}
#main button:active{
opacity: 0.7;
}
#info{
background-color: rgb(7, 7, 7);
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
padding: 5vh;
min-height: 30vh;
align-items: center;
border: 0;
border-top: 1px;
border-bottom: 1px;
border-style: solid;
border-color: rgb(27, 27, 27);
}
#info div{
margin: 5vh;
display: flex;
flex-direction: column;
align-items: center;
}
#info div h1{
font-weight: 300;
font-size: 25pt;
color: lightgray;
}
#info div h3{
font-size: 14pt;
margin-top: 1vh;
}
#info div p{
width: 250px;
text-align: center;
color: gray;
margin-top: 1vh;
}
#final{
display: flex;
flex-direction: column;
align-items: center;
padding: 5vh;
}
#final h2{
font-size: 25pt;
}
#final h3{
font-weight: 300;
color:gray;
margin-top: 2vh;
max-width: 500px;
text-align: center;
line-height: 17pt;
}
#final button{
color: white;
background-color: black;
border-color: aqua;
border-style: solid;
border-radius: 7px;
padding-left: 20px;
padding-right: 20px;
height: 5vh;
font-size: 15pt;
font-weight: 700;
margin-top: 3vh;
cursor: pointer;
transition: 0.1s;
}
#final button:hover{
color: black;
background-color: aqua;
}
#final button:active{
opacity: 0.7;
}
footer{
height: 5vh;
width: 100%;
display: flex;
align-items: center;
justify-content: space-around;
border: 0;
border-top: 1px;
border-style: solid;
border-color: rgb(41, 41, 41);
}
footer a{
color: darkgray;
}
footer a:active{
color: rgb(109, 109, 109);
}
footer p{
color: darkgray;
}
@media (width < 600px) {
header {
height: 10vh;
padding: 0 15px;
flex-wrap: wrap;
width: 91vw;
}
header h2 {
margin-left: 0;
font-size: 18pt;
}
header div {
display: flex;
gap: 8px;
}
header div button {
font-size: 12pt;
height: 4.5vh;
padding: 0 12px;
}
#register {
margin-right: 0;
}
#login {
margin-right: 0;
}
/* Main Section */
#main h1 {
font-size: 20pt;
line-height: 28pt;
margin-top: 8vh;
padding: 0 20px;
}
#main h4 {
font-size: 12pt;
line-height: 18pt;
padding: 0 20px;
max-width: 90%;
}
#container {
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin-top: 4vh;
padding: 0 20px;
}
#container div {
width: 45%;
min-width: 90px;
height: 5.5vh;
font-size: 11pt;
margin: 0;
}
#main button {
margin-top: 4vh;
height: 6vh;
font-size: 13pt;
width: 80%;
max-width: 300px;
}
/* Info Section */
#info {
flex-direction: column;
padding: 4vh 0;
gap: 3vh;
}
#info div {
margin: 0;
width: 80%;
max-width: 300px;
}
#info div h1 {
font-size: 22pt;
}
#info div h3 {
font-size: 13pt;
}
#info div p {
width: 100%;
font-size: 12pt;
line-height: 16pt;
}
/* Final Section */
#final {
padding: 6vh 20px;
}
#final h2 {
font-size: 20pt;
text-align: center;
}
#final h3 {
width: 100%;
font-size: 12pt;
line-height: 18pt;
margin-top: 2vh;
}
#final button {
width: 80%;
max-width: 300px;
height: 6vh;
font-size: 13pt;
margin-top: 4vh;
}
/* Footer */
footer {
flex-direction: column;
height: auto;
padding: 15px 0;
text-align: center;
gap: 8px;
}
footer a, footer p {
font-size: 11pt;
}
}

View file

@ -0,0 +1,108 @@
:root{
--bg: #0f0f1a;
--text: #e0e0ff;
--accent: cyan;
--card: #1a1a2e;
--border: #333355;
}
*{
box-sizing: border-box; margin:0; padding:0;
}
body{
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.7;
}
.container{
max-width: 900px;
margin: 40px auto;
padding: 30px;
background: var(--card);
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
border: 1px solid var(--border);
}
header{
text-align: center;
margin-bottom: 40px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border);
}
h1{
font-size: 2.2rem; color: var(--accent); margin:0;
}
h2{
font-size: 1.5rem; color: var(--accent); margin-top: 2rem; border-left: 4px solid var(--accent); padding-left: 12px;
}
h3{
font-size: 1.2rem; color: #c0c0ff; margin-top: 1.5rem;
}
p, li{
font-size: 1rem; margin: 0.8rem 0;
}
ul, ol{
padding-left: 20px;
}
code{
background: #2a2a3a;
padding: 2px 6px;
border-radius: 4px;
font-family: 'Courier New', monospace;
}
.highlight{
background: rgba(110, 86, 207, 0.15);
padding: 12px;
border-radius: 8px;
border-left: 4px solid var(--accent);
margin: 1rem 0;
}
.footer{
margin-top: 50px;
text-align: center;
font-size: 0.9rem;
color: #888;
padding-top: 20px;
border-top: 1px solid var(--border);
}
.btn{
display: inline-block;
margin: 15px 10px 0 0;
padding: 10px 20px;
background: var(--accent);
color: var(--card);
text-decoration: none;
border-radius: 8px;
font-weight: 600;
transition: 0.3s;
}
.btn:hover{
background: #5a45b0; transform: translateY(-2px);
}
a{
color: var(--accent); text-decoration: none;
}
a:hover{
text-decoration: underline;
}
@media (max-width: 768px) {
.container { margin: 20px; padding: 20px; }
h1 { font-size: 1.8rem; }
}

View file

@ -0,0 +1,156 @@
:root{
--accent: cyan;
--bg-dark: rgb(8, 8, 8);
--card-bg: rgb(22, 22, 22);
--text: #e0e0e0;
--border: var(--accent);
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
color: var(--text);
}
body{
background-color: var(--bg-dark);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
form{
display: flex;
flex-direction: column;
background-color: var(--card-bg);
border: 1px solid var(--border);
border-radius: 15px;
padding: 30px 25px;
width: 100%;
max-width: 380px;
}
h1{
text-align: center;
margin-bottom: 20px;
color: var(--accent);
font-weight: 700;
font-size: 1.8rem;
}
label{
margin-top: 16px;
margin-bottom: 6px;
font-size: 0.95rem;
font-weight: 500;
display: block;
}
.input{
padding: 12px 14px;
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(0, 255, 255, 0.3);
border-radius: 10px;
color: white;
font-size: 1rem;
outline: none;
}
.input:focus{
border-color: var(--accent);
}
.input::placeholder{
color: rgba(255, 255, 255, 0.4);
}
.checkbox-container{
display: flex;
align-items: center;
gap: 10px;
margin-top: 16px;
font-size: 0.9rem;
line-height: 1.4;
}
.checkbox-container input[type="checkbox"]{
accent-color: var(--accent);
width: 18px;
height: 18px;
margin: 0;
flex-shrink: 0;
}
.checkbox-container a{
color: var(--accent);
text-decoration: underline;
}
button{
margin-top: 24px;
padding: 14px;
background-color: black;
color: var(--accent);
border: 1px solid var(--accent);
border-radius: 10px;
font-weight: 600;
font-size: 1.1rem;
cursor: pointer;
transition: all 0.3s ease;
}
button:hover{
background-color: var(--accent);
color: black;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3);
}
button:active{
transform: translateY(0);
box-shadow: 0 2px 6px rgba(0, 255, 255, 0.2);
}
p{
text-align: center;
margin-top: 2vh;
}
.error{
color: #ff6b6b;
font-size: 0.85rem;
margin-top: 6px;
min-height: 20px;
opacity: 0;
transition: opacity 0.2s ease;
}
.error.active{
opacity: 1;
}
.input.invalid,
.checkbox.invalid{
border-color: #ff6b6b !important;
box-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
}
button:disabled{
opacity: 0.7;
cursor: not-allowed;
transform: none !important;
}
@media (max-width: 480px){
form{
padding: 25px 20px;
}
h1{
font-size: 1.6rem;
}
}