captsa add alert

This commit is contained in:
2026-04-21 19:17:28 +03:00
parent 7e5bfcefa4
commit b0d933c1a0
9 changed files with 162 additions and 6 deletions

View File

@@ -35,6 +35,37 @@ header h1 {
.conn-badge.online { background: #1a4a1a; color: #6fcf6f; }
.conn-badge.offline { background: #4a1a1a; color: #cf6f6f; }
/* ---- Captcha alert banner ---- */
#captcha-banner {
display: flex;
align-items: center;
gap: 12px;
background: #5a0a0a;
border-bottom: 2px solid #ff4444;
padding: 10px 24px;
font-size: 0.9rem;
color: #ffaaaa;
animation: captchaPulse 1.2s ease-in-out infinite;
}
#captcha-banner span:first-child { font-size: 1.2rem; flex-shrink: 0; }
#captcha-banner span:nth-child(2) { flex: 1; font-weight: 500; }
#captcha-dismiss {
background: #ff4444;
color: #fff;
border: none;
border-radius: 4px;
padding: 5px 12px;
cursor: pointer;
font-size: 0.8rem;
font-weight: 600;
flex-shrink: 0;
}
#captcha-dismiss:hover { background: #cc2222; }
@keyframes captchaPulse {
0%, 100% { background: #5a0a0a; }
50% { background: #7a1010; }
}
.layout {
display: grid;
grid-template-columns: 320px 1fr;