/
kvok
/
GuGu
Обзор
Документация
Войти
/
kvok
/
GuGu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
styles.css
280 строк
4 KB
kvok
upload files
01 фев 2026, 12:57
Верифицирован
01 фев 2026, 12:57
46e2a5e
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } body { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 20px; min-height: 100vh; } .container { max-width: 600px; margin: 0 auto; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 20px; padding: 30px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); } header { text-align: center; margin-bottom: 30px; } header h1 { font-size: 2.5em; margin-bottom: 5px; } .subtitle { opacity: 0.9; font-size: 1.1em; } .status-bar { background: rgba(0, 0, 0, 0.2); padding: 12px; border-radius: 10px; margin-bottom: 25px; display: flex; justify-content: space-between; align-items: center; } .status-indicator { width: 12px; height: 12px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .mode-selector { display: flex; gap: 15px; margin-bottom: 30px; } .btn { flex: 1; padding: 15px; border: none; border-radius: 12px; font-size: 1.1em; font-weight: 600; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); } .btn-primary { background: #4ade80; color: #000; } .btn-secondary { background: rgba(255, 255, 255, 0.2); color: #fff; } .btn-danger { background: #f87171; color: #fff; width: 100%; } .btn-outline { background: transparent; border: 2px solid rgba(255, 255, 255, 0.5); color: #fff; } .btn-microphone { background: #fbbf24; color: #000; flex: 1; padding: 20px; font-size: 1.2em; } .btn-hangup { background: #f87171; color: #fff; flex: 1; padding: 20px; font-size: 1.2em; } .btn-copy { background: rgba(255, 255, 255, 0.2); color: #fff; padding: 10px 15px; margin-left: 10px; } .id-display { display: flex; gap: 10px; margin: 20px 0; } #myId { flex: 1; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); color: #fff; font-family: monospace; font-size: 1.1em; border: none; } .qrcode-container { background: #fff; padding: 20px; border-radius: 15px; display: inline-block; margin: 20px 0; } .hint { text-align: center; margin-top: 10px; color: rgba(255, 255, 255, 0.7); font-size: 0.9em; } .input-group { display: flex; gap: 10px; margin-bottom: 20px; } #peerId { flex: 1; padding: 12px; border-radius: 10px; border: none; font-size: 1em; } .or-divider { text-align: center; margin: 20px 0; color: rgba(255, 255, 255, 0.5); position: relative; } .or-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, 0.2); } .or-divider::before { width: 40%; margin: 0 auto; } .scan-section { text-align: center; margin: 20px 0; } #videoScan { width: 100%; max-width: 300px; border-radius: 15px; margin-top: 15px; border: 2px solid rgba(255, 255, 255, 0.5); } .call-info { text-align: center; margin-bottom: 30px; } .call-info h2 { font-size: 1.8em; margin-bottom: 10px; } #callStatus { color: #4ade80; font-weight: 600; } .controls { display: flex; gap: 15px; margin-bottom: 30px; } .icon { font-size: 1.5em; display: block; margin-bottom: 5px; } .stats { background: rgba(0, 0, 0, 0.2); padding: 15px; border-radius: 10px; text-align: center; } footer { text-align: center; margin-top: 30px; color: rgba(255, 255, 255, 0.6); font-size: 0.9em; } .waiting { text-align: center; margin: 20px 0; } .spinner { border: 4px solid rgba(255, 255, 255, 0.3); border-top: 4px solid #4ade80; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 20px auto; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .mode { animation: fadeIn 0.3s; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }