304 lines
No EOL
5.2 KiB
CSS
304 lines
No EOL
5.2 KiB
CSS
:root {
|
|
--bg: #000;
|
|
--card: #111;
|
|
--text: #e0e0e0;
|
|
--accent: #00ffff;
|
|
--border: #333;
|
|
--danger: #ff4444;
|
|
}
|
|
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: 'Inter', sans-serif;
|
|
min-height: 100vh;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.container { max-width: 820px; margin: 0 auto; padding: 20px; }
|
|
|
|
header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: 40px;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
header h2 { font-size: 28px; }
|
|
header h2 b { color: var(--accent); }
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
#logoutBtn {
|
|
background: transparent;
|
|
border: 1px solid var(--accent);
|
|
color: var(--accent);
|
|
padding: 8px 18px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
#logoutBtn:hover {
|
|
background: var(--accent);
|
|
color: #000;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 26px;
|
|
margin-bottom: 25px;
|
|
text-align: center;
|
|
}
|
|
|
|
.urls-list {
|
|
display: grid;
|
|
gap: 16px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.url-card {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
padding: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.url-card:hover {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
|
|
}
|
|
|
|
.url-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.url-name {
|
|
font-weight: 600;
|
|
color: var(--accent);
|
|
font-size: 17px;
|
|
}
|
|
|
|
.traffic {
|
|
font-size: 13.5px;
|
|
color: #888;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.url-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 9px 18px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
transition: 0.3s;
|
|
border: none;
|
|
}
|
|
|
|
.btn-copy {
|
|
background: transparent;
|
|
border: 1px solid var(--accent);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.btn-copy:hover {
|
|
background: var(--accent);
|
|
color: #000;
|
|
}
|
|
|
|
.btn-delete {
|
|
background: #2a0a0a;
|
|
border: 1px solid #800;
|
|
color: #ff8888;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
background: #800;
|
|
color: white;
|
|
}
|
|
|
|
.add-btn {
|
|
width: 100%;
|
|
padding: 18px;
|
|
background: transparent;
|
|
border: 2px dashed var(--accent);
|
|
color: var(--accent);
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.add-btn:hover {
|
|
background: rgba(0, 255, 255, 0.08);
|
|
}
|
|
|
|
.danger-zone {
|
|
margin-top: 60px;
|
|
text-align: center;
|
|
}
|
|
|
|
.delete-account-btn {
|
|
background: #3a0a0a;
|
|
color: var(--danger);
|
|
border: 1px solid #a00;
|
|
padding: 12px 28px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.delete-account-btn:hover {
|
|
background: #600;
|
|
color: white;
|
|
}
|
|
|
|
/* Модальное окно */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.85);
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.modal.active { display: flex; }
|
|
|
|
.modal-content {
|
|
background: #111;
|
|
padding: 32px;
|
|
border-radius: 16px;
|
|
width: 90%;
|
|
max-width: 420px;
|
|
border: 1px solid var(--accent);
|
|
}
|
|
|
|
.modal-content h2 { margin-bottom: 20px; text-align: center; }
|
|
|
|
.modal-content input {
|
|
width: 100%;
|
|
padding: 14px;
|
|
margin-bottom: 15px;
|
|
background: #222;
|
|
border: 1px solid #555;
|
|
border-radius: 10px;
|
|
color: white;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.error {
|
|
color: #ff6b6b;
|
|
min-height: 22px;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.buttons button {
|
|
flex: 1;
|
|
padding: 14px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#addSubmit {
|
|
background: var(--accent);
|
|
color: #000;
|
|
border: none;
|
|
}
|
|
|
|
#addCancel {
|
|
background: transparent;
|
|
border: 1px solid #666;
|
|
color: #ccc;
|
|
}
|
|
|
|
/* Табы и инструкции (оставил твои стили, только немного подчистил) */
|
|
.platform-tabs {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
margin-bottom: 30px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tab-btn {
|
|
background: #1a1a1a;
|
|
border: 1px solid #444;
|
|
color: #aaa;
|
|
padding: 11px 22px;
|
|
border-radius: 50px;
|
|
cursor: pointer;
|
|
transition: all 0.25s;
|
|
}
|
|
|
|
.tab-btn.active,
|
|
.tab-btn:hover {
|
|
background: var(--accent);
|
|
color: #000;
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.instructions {
|
|
background: var(--card);
|
|
border: 1px solid #333;
|
|
border-radius: 16px;
|
|
padding: 26px 30px;
|
|
}
|
|
|
|
.instructions ol {
|
|
counter-reset: step;
|
|
list-style: none;
|
|
}
|
|
|
|
.instructions li {
|
|
position: relative;
|
|
padding-left: 42px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.instructions li::before {
|
|
content: counter(step);
|
|
counter-increment: step;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
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-weight: 700;
|
|
}
|
|
|
|
.hidden { display: none !important; } |