From 7b5be2b9f0a6d69392d54ca950f9a96271c1b0c0 Mon Sep 17 00:00:00 2001 From: alberto Date: Fri, 16 Oct 2026 21:10:50 +0200 Subject: [PATCH] Use BPQ Console branding and remove decorative logos --- public/app.js | 2 +- public/dark.css | 2 +- public/index.html | 6 +++--- public/style.css | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/app.js b/public/app.js index aeea14c..26f32e3 100644 --- a/public/app.js +++ b/public/app.js @@ -4,7 +4,7 @@ let csrf='',allMessages=[],dashboardData=null,filter='all',selected=null,page='h const esc=v=>String(v??'').replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c])); async function api(url,options={}){const r=await fetch('/api'+url,{...options,headers:{'Content-Type':'application/json',...(options.method==='POST'?{'X-CSRF-Token':csrf}:{}),...options.headers}});const data=await r.json();if(!r.ok){if(r.status===401&&url!=='/login')showLogin();throw new Error(data.error||'Richiesta fallita')}return data;} function toast(text){$('#toast').textContent=text;$('#toast').hidden=false;clearTimeout(toast.timer);toast.timer=setTimeout(()=>$('#toast').hidden=true,6500);} -function showLogin(){$('#shell').hidden=true;$('#login').hidden=false;csrf='';} +function showLogin(){document.title='BPQ Console';$('#shell').hidden=true;$('#login').hidden=false;csrf='';} function showShell(user){station=user.config;applyStation(user);csrf=user.csrf;$('#login').hidden=true;$('#shell').hidden=false;loadDashboard();if(station.features.bbs)loadMessages();document.dispatchEvent(new Event('station-ready'));} function logTime(value){if(!value)return '—';const m=value.match(/^(\d{2})(\d{2})(\d{2}) (\d{2}:\d{2}:\d{2})$/);if(!m)return value;return new Date(`20${m[1]}-${m[2]}-${m[3]}T${m[4]}Z`).toLocaleTimeString('it-IT',{hour:'2-digit',minute:'2-digit'});} function categoryLabel(m){return m.type==='P'?'PERSONALE':m.to||'BOLLETTINO'} diff --git a/public/dark.css b/public/dark.css index 00dc1f3..79f2549 100644 --- a/public/dark.css +++ b/public/dark.css @@ -1,4 +1,4 @@ -:root{color-scheme:dark;--bg:#0b0e13;--ink:#e4e8f0;--muted:#8a94a5;--green:#91b8df;--line:#252b36;--white:#151a23;--lime:#b6cdea}body{background:var(--bg)}.sidebar{background:#10141c;border-right:1px solid #232936;color:#e0e8f4}.sidebar .brand{font-weight:600;letter-spacing:1px}.side-label{color:#69788d}.side-station,.profile{border-color:#262e3b}.side-station small,.profile small{color:#8493a8}.side-frequency span{color:#a9bbd2}.avatar{background:#263c55;color:#b7d4ee}.dot{background:#7baaac}nav button{color:#94a2b7}nav button.active{background:#202e41;color:#b6d4ef}nav button:hover{background:#1a2433}nav b{background:#324a65;color:#c5e0f6}.card,.metrics article,.service,.secondary,.icon-button,input,select,textarea{background:#151a23;border-color:var(--line);color:var(--ink)}.card-header{border-color:var(--line)}.metrics strong{font-weight:500}.metrics i{color:#7088a5}.metrics article{box-shadow:0 4px 20px #0001}.primary{background:#adc9e5;color:#122133}.primary:hover{background:#c5dcf0}.secondary:hover,button.service:hover,.recent-item:hover{background:#1c2431}.tag,.live-badge{background:#233348;color:#aac8e5}.service{border-top-color:var(--line)}.service-icon{background:#242f3d;color:#a2bdd9}.service-call{color:#8c9aaf}.radio-card{background:linear-gradient(130deg,#1c2a3b,#152031);border:1px solid #30445c;color:#e1eaf5}.radio-card .eyebrow{color:#89a8c9}.radio-card .tag{background:#304862;color:#bdd7ef}.radio-details span,.radio-frequency small{color:#8b9fb8}.radio-card footer{border-color:#34465a;color:#a0b8d3}.waveform{background:repeating-linear-gradient(90deg,transparent 0 6px,#6e9bbf 6px 8px,transparent 8px 12px)}.recent-item{border-color:var(--line)}.category-chip{border-color:#304155;background:#202c3b;color:#a6bed6}.activity{border-color:#334255}.activity:before{background:#7c9abd}.tabs{background:#161e2b;border:1px solid #2a3445}.tabs button{color:#8696ad}.tabs button.active{background:#2a3c53;color:#bed8ed;box-shadow:none}.mail-list-heading,.message-item,.reader-header,.reader-footer{border-color:var(--line)}.message-item{background:#151a23;color:var(--ink)}.message-item:hover{background:#1c2635}.message-item.selected{background:#233349;border-color:#96bada}.message-bottom span:first-child{color:#9bbbd9}.reader-empty{color:#7f8ca0}.reader-empty>span,.reader-empty h2{color:#819bb8}.reader-body{color:#c5cfde}.routing-trace{border-color:#2c3a4d;background:#111822;color:#8397b0}.node{background:#19212e;border-color:#2b3544}th{background:#111722;color:#94a2b8}td,th{border-color:var(--line)}dialog{background:#161c26;border-color:#344056;color:var(--ink)}dialog::backdrop{background:#05080cbd}.notice{background:#2c241a;border-color:#61502e;color:#d9bf8e}.error{color:#e29a91}#toast{background:#223447;color:#dfedfa}.login-art{background:linear-gradient(135deg,#152338,#10161f)}.login-art .eyebrow{color:#7ea2c8}.login-art em{color:#afcbe7}.login-art p{color:#8396b0}.signal-art i{border-color:#304a68}.signal-art b{color:#a8c5e4}.topbar{background:#0d1118}.page-heading h1{font-size:29px;letter-spacing:-.7px}.page-heading .eyebrow,.page-heading>div>p{display:none}.page-heading{margin-bottom:25px}.page-footer{color:#58667a}.brand>span{color:#748ba9}.text-button{color:#9bbbd9}.reader-header h2{font-weight:500}.notification-stack{position:fixed;bottom:23px;right:24px;display:flex;flex-direction:column;gap:10px;z-index:30;width:min(360px,calc(100vw - 36px))}.arrival-toast{display:flex;gap:13px;align-items:center;padding:17px 18px;background:#1c293b;border:1px solid #3d5877;border-radius:11px;box-shadow:0 12px 35px #0005;animation:slide-in .3s ease;color:#e1edf8;cursor:pointer}.arrival-toast>span{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#314861;color:#b7d5f0;font-size:19px}.arrival-toast strong{font-size:12px;display:block;font-weight:600}.arrival-toast small{font-size:11px;display:block;margin-top:5px;color:#9eb3ca}.arrival-toast button{border:0;background:none;color:#8397b0;margin-left:auto;font-size:18px}.arrival-toast.mail{border-color:#536451}.arrival-toast.mail>span{background:#364d3b;color:#b7d5bc}@keyframes slide-in{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}.sound-toggle{font-size:15px}.sound-toggle.enabled{background:#243f51;border-color:#4b748c;color:#c4e1ef}.chat-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:14px}.chat-heading h1{font-size:29px;font-weight:500}.chat-heading .chat-actions{display:flex;gap:10px;align-items:center}.chat-layout{display:grid;grid-template-columns:190px minmax(0,1fr) 235px;height:calc(100vh - 200px);min-height:500px;max-height:1000px;border:1px solid #2a3442;border-radius:12px;overflow:hidden;background:#121923}.chat-rooms{background:#111721;border-right:1px solid #273240;padding:20px 14px}.chat-label{display:flex;justify-content:space-between;align-items:center;color:#70839d;font-size:10px;letter-spacing:1.3px;font-weight:600;margin-bottom:13px}.chat-label button{background:none;border:0;color:#8fabc8;font-size:20px}.room-button{display:block;width:100%;text-align:left;border:0;background:none;color:#91a3bb;padding:11px;border-radius:7px;font-size:12px;margin:3px 0}.room-button.active{background:#26394f;color:#c9e1f4}.room-button:hover{background:#202d3d}.chat-links{margin-top:32px;border-top:1px solid #293442;padding-top:18px}.chat-link{font-size:10px;color:#849ab1;display:flex;justify-content:space-between;padding:9px 0}.chat-link .open{color:#9cc6b1}.chat-link .closed{color:#c39186}.chat-main{display:flex;flex-direction:column;min-width:0}.chat-room-header{height:65px;flex-shrink:0;border-bottom:1px solid #293442;padding:17px 23px;display:flex;justify-content:space-between;align-items:center}.chat-room-header b{font-size:14px;font-weight:500}.chat-room-header small{font-size:10px;color:#8295af}.chat-messages{flex:1;overflow:auto;padding:22px 24px;scroll-behavior:smooth}.chat-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#758ba7;gap:12px;text-align:center}.chat-empty span{font-size:36px}.chat-empty h2{font-size:17px;font-weight:500;color:#9cb5d0}.chat-empty p{font-size:11px;max-width:260px}.chat-event{margin-bottom:19px;display:flex;gap:11px}.chat-avatar{width:30px;height:30px;border-radius:9px;background:#2a3d53;color:#acc9e5;display:grid;place-items:center;font-size:10px;flex-shrink:0}.chat-event.own .chat-avatar{background:#3c4354;color:#d3d2e8}.chat-event>div:last-child{min-width:0}.chat-event strong{font-size:11px;color:#bcd5ea;font-weight:600}.chat-event time{font-size:9px;color:#657991;margin-left:9px}.chat-event p{font-size:12px;line-height:1.7;color:#d2dce8;overflow-wrap:anywhere;margin-top:4px}.chat-system{font-size:10px;color:#6e8198;margin:10px 0;text-align:center;line-height:1.8;overflow-wrap:anywhere}.chat-compose{padding:14px 18px 18px;border-top:1px solid #293442}.chat-input-row{display:flex;gap:9px}.chat-input-row input{flex:1;min-width:0;background:#1a2533;border-color:#334355;font-size:12px}.chat-input-row button{padding:11px 14px}.chat-recipient{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:10px;color:#7a90aa}.chat-recipient select{padding:5px 8px;max-width:180px;font-size:10px;background:#172130}.chat-users{border-left:1px solid #293442;background:#111721;padding:20px 16px;overflow:auto}.chat-user{display:flex;gap:10px;align-items:center;width:100%;border:0;background:transparent;color:#c2d5e8;text-align:left;padding:11px 0}.chat-user:hover{background:#1a2635;border-radius:7px}.chat-user .chat-avatar{background:#223347}.chat-user b{display:block;font:11px Consolas,monospace}.chat-user small{display:block;font-size:9px;color:#7890aa;margin-top:5px}.presence-dot{width:5px;height:5px;background:#95c4ad;border-radius:50%;margin-left:auto;flex-shrink:0}.presence-dot.idle{background:#7e7152}.chat-user-name{font-size:10px;color:#99abc1;margin-top:3px}.chat-topic-dialog input{width:100%;margin-top:20px}.chat-status{color:#7c92ad;font-size:10px}.chat-status.online{color:#a3c9b7}.chat-status.error{color:#d7a097}.live-badge{white-space:nowrap}@media(max-width:1150px){.chat-layout{grid-template-columns:145px minmax(0,1fr) 190px}.chat-messages{padding:18px}.chat-users{padding:18px 12px}.topbar>div{gap:10px}}@media(max-width:900px){.chat-layout{grid-template-columns:135px minmax(0,1fr)}.chat-users{display:none}}@media(max-width:600px){.chat-layout{grid-template-columns:1fr;height:calc(100dvh - 285px);min-height:420px}.chat-rooms{border-right:0;border-bottom:1px solid #293442;padding:10px 14px}.chat-rooms>.chat-label,.chat-links{display:none}#chat-topics{display:flex;gap:4px}.room-button{width:auto;margin:0;padding:6px 10px}.chat-main{min-height:0}.chat-room-header{height:48px;padding:12px 18px}.chat-heading h1{font-size:25px}.chat-heading{align-items:flex-start}.chat-actions .secondary{font-size:10px;padding:8px 10px}.notification-stack{right:18px;bottom:18px}.page-heading h1{font-size:25px}} +:root{color-scheme:dark;--bg:#0b0e13;--ink:#e4e8f0;--muted:#8a94a5;--green:#91b8df;--line:#252b36;--white:#151a23;--lime:#b6cdea}body{background:var(--bg)}.sidebar{background:#10141c;border-right:1px solid #232936;color:#e0e8f4}.sidebar .brand{font-weight:600;letter-spacing:1px}.side-label{color:#69788d}.side-station,.profile{border-color:#262e3b}.side-station small,.profile small{color:#8493a8}.side-frequency span{color:#a9bbd2}.avatar{background:#263c55;color:#b7d4ee}.dot{background:#7baaac}nav button{color:#94a2b7}nav button.active{background:#202e41;color:#b6d4ef}nav button:hover{background:#1a2433}nav b{background:#324a65;color:#c5e0f6}.card,.metrics article,.service,.secondary,.icon-button,input,select,textarea{background:#151a23;border-color:var(--line);color:var(--ink)}.card-header{border-color:var(--line)}.metrics strong{font-weight:500}.metrics i{color:#7088a5}.metrics article{box-shadow:0 4px 20px #0001}.primary{background:#adc9e5;color:#122133}.primary:hover{background:#c5dcf0}.secondary:hover,button.service:hover,.recent-item:hover{background:#1c2431}.tag,.live-badge{background:#233348;color:#aac8e5}.service{border-top-color:var(--line)}.service-icon{background:#242f3d;color:#a2bdd9}.service-call{color:#8c9aaf}.radio-card{background:linear-gradient(130deg,#1c2a3b,#152031);border:1px solid #30445c;color:#e1eaf5}.radio-card .eyebrow{color:#89a8c9}.radio-card .tag{background:#304862;color:#bdd7ef}.radio-details span,.radio-frequency small{color:#8b9fb8}.radio-card footer{border-color:#34465a;color:#a0b8d3}.waveform{background:repeating-linear-gradient(90deg,transparent 0 6px,#6e9bbf 6px 8px,transparent 8px 12px)}.recent-item{border-color:var(--line)}.category-chip{border-color:#304155;background:#202c3b;color:#a6bed6}.activity{border-color:#334255}.activity:before{background:#7c9abd}.tabs{background:#161e2b;border:1px solid #2a3445}.tabs button{color:#8696ad}.tabs button.active{background:#2a3c53;color:#bed8ed;box-shadow:none}.mail-list-heading,.message-item,.reader-header,.reader-footer{border-color:var(--line)}.message-item{background:#151a23;color:var(--ink)}.message-item:hover{background:#1c2635}.message-item.selected{background:#233349;border-color:#96bada}.message-bottom span:first-child{color:#9bbbd9}.reader-empty{color:#7f8ca0}.reader-empty>span,.reader-empty h2{color:#819bb8}.reader-body{color:#c5cfde}.routing-trace{border-color:#2c3a4d;background:#111822;color:#8397b0}.node{background:#19212e;border-color:#2b3544}th{background:#111722;color:#94a2b8}td,th{border-color:var(--line)}dialog{background:#161c26;border-color:#344056;color:var(--ink)}dialog::backdrop{background:#05080cbd}.notice{background:#2c241a;border-color:#61502e;color:#d9bf8e}.error{color:#e29a91}#toast{background:#223447;color:#dfedfa}.login-art{background:linear-gradient(135deg,#152338,#10161f)}.login-art .eyebrow{color:#7ea2c8}.login-art em{color:#afcbe7}.login-art p{color:#8396b0}.topbar{background:#0d1118}.page-heading h1{font-size:29px;letter-spacing:-.7px}.page-heading .eyebrow,.page-heading>div>p{display:none}.page-heading{margin-bottom:25px}.page-footer{color:#58667a}.brand>span{color:#748ba9}.text-button{color:#9bbbd9}.reader-header h2{font-weight:500}.notification-stack{position:fixed;bottom:23px;right:24px;display:flex;flex-direction:column;gap:10px;z-index:30;width:min(360px,calc(100vw - 36px))}.arrival-toast{display:flex;gap:13px;align-items:center;padding:17px 18px;background:#1c293b;border:1px solid #3d5877;border-radius:11px;box-shadow:0 12px 35px #0005;animation:slide-in .3s ease;color:#e1edf8;cursor:pointer}.arrival-toast>span{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#314861;color:#b7d5f0;font-size:19px}.arrival-toast strong{font-size:12px;display:block;font-weight:600}.arrival-toast small{font-size:11px;display:block;margin-top:5px;color:#9eb3ca}.arrival-toast button{border:0;background:none;color:#8397b0;margin-left:auto;font-size:18px}.arrival-toast.mail{border-color:#536451}.arrival-toast.mail>span{background:#364d3b;color:#b7d5bc}@keyframes slide-in{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}.sound-toggle{font-size:15px}.sound-toggle.enabled{background:#243f51;border-color:#4b748c;color:#c4e1ef}.chat-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:14px}.chat-heading h1{font-size:29px;font-weight:500}.chat-heading .chat-actions{display:flex;gap:10px;align-items:center}.chat-layout{display:grid;grid-template-columns:190px minmax(0,1fr) 235px;height:calc(100vh - 200px);min-height:500px;max-height:1000px;border:1px solid #2a3442;border-radius:12px;overflow:hidden;background:#121923}.chat-rooms{background:#111721;border-right:1px solid #273240;padding:20px 14px}.chat-label{display:flex;justify-content:space-between;align-items:center;color:#70839d;font-size:10px;letter-spacing:1.3px;font-weight:600;margin-bottom:13px}.chat-label button{background:none;border:0;color:#8fabc8;font-size:20px}.room-button{display:block;width:100%;text-align:left;border:0;background:none;color:#91a3bb;padding:11px;border-radius:7px;font-size:12px;margin:3px 0}.room-button.active{background:#26394f;color:#c9e1f4}.room-button:hover{background:#202d3d}.chat-links{margin-top:32px;border-top:1px solid #293442;padding-top:18px}.chat-link{font-size:10px;color:#849ab1;display:flex;justify-content:space-between;padding:9px 0}.chat-link .open{color:#9cc6b1}.chat-link .closed{color:#c39186}.chat-main{display:flex;flex-direction:column;min-width:0}.chat-room-header{height:65px;flex-shrink:0;border-bottom:1px solid #293442;padding:17px 23px;display:flex;justify-content:space-between;align-items:center}.chat-room-header b{font-size:14px;font-weight:500}.chat-room-header small{font-size:10px;color:#8295af}.chat-messages{flex:1;overflow:auto;padding:22px 24px;scroll-behavior:smooth}.chat-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#758ba7;gap:12px;text-align:center}.chat-empty span{font-size:36px}.chat-empty h2{font-size:17px;font-weight:500;color:#9cb5d0}.chat-empty p{font-size:11px;max-width:260px}.chat-event{margin-bottom:19px;display:flex;gap:11px}.chat-avatar{width:30px;height:30px;border-radius:9px;background:#2a3d53;color:#acc9e5;display:grid;place-items:center;font-size:10px;flex-shrink:0}.chat-event.own .chat-avatar{background:#3c4354;color:#d3d2e8}.chat-event>div:last-child{min-width:0}.chat-event strong{font-size:11px;color:#bcd5ea;font-weight:600}.chat-event time{font-size:9px;color:#657991;margin-left:9px}.chat-event p{font-size:12px;line-height:1.7;color:#d2dce8;overflow-wrap:anywhere;margin-top:4px}.chat-system{font-size:10px;color:#6e8198;margin:10px 0;text-align:center;line-height:1.8;overflow-wrap:anywhere}.chat-compose{padding:14px 18px 18px;border-top:1px solid #293442}.chat-input-row{display:flex;gap:9px}.chat-input-row input{flex:1;min-width:0;background:#1a2533;border-color:#334355;font-size:12px}.chat-input-row button{padding:11px 14px}.chat-recipient{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:10px;color:#7a90aa}.chat-recipient select{padding:5px 8px;max-width:180px;font-size:10px;background:#172130}.chat-users{border-left:1px solid #293442;background:#111721;padding:20px 16px;overflow:auto}.chat-user{display:flex;gap:10px;align-items:center;width:100%;border:0;background:transparent;color:#c2d5e8;text-align:left;padding:11px 0}.chat-user:hover{background:#1a2635;border-radius:7px}.chat-user .chat-avatar{background:#223347}.chat-user b{display:block;font:11px Consolas,monospace}.chat-user small{display:block;font-size:9px;color:#7890aa;margin-top:5px}.presence-dot{width:5px;height:5px;background:#95c4ad;border-radius:50%;margin-left:auto;flex-shrink:0}.presence-dot.idle{background:#7e7152}.chat-user-name{font-size:10px;color:#99abc1;margin-top:3px}.chat-topic-dialog input{width:100%;margin-top:20px}.chat-status{color:#7c92ad;font-size:10px}.chat-status.online{color:#a3c9b7}.chat-status.error{color:#d7a097}.live-badge{white-space:nowrap}@media(max-width:1150px){.chat-layout{grid-template-columns:145px minmax(0,1fr) 190px}.chat-messages{padding:18px}.chat-users{padding:18px 12px}.topbar>div{gap:10px}}@media(max-width:900px){.chat-layout{grid-template-columns:135px minmax(0,1fr)}.chat-users{display:none}}@media(max-width:600px){.chat-layout{grid-template-columns:1fr;height:calc(100dvh - 285px);min-height:420px}.chat-rooms{border-right:0;border-bottom:1px solid #293442;padding:10px 14px}.chat-rooms>.chat-label,.chat-links{display:none}#chat-topics{display:flex;gap:4px}.room-button{width:auto;margin:0;padding:6px 10px}.chat-main{min-height:0}.chat-room-header{height:48px;padding:12px 18px}.chat-heading h1{font-size:25px}.chat-heading{align-items:flex-start}.chat-actions .secondary{font-size:10px;padding:8px 10px}.notification-stack{right:18px;bottom:18px}.page-heading h1{font-size:25px}} .mobile-presence{display:none}.chat-layout{position:relative}@media(max-width:900px){.mobile-presence{display:inline-flex}.chat-layout.users-open .chat-users{display:block;position:absolute;right:0;top:0;bottom:0;width:235px;z-index:5;box-shadow:-15px 0 30px #0004}} .wl-account{color:#8095af;font:12px Consolas,monospace;margin-top:8px}.wl-status{display:flex;gap:18px;padding:13px 18px;border:1px solid #29394b;background:#121d2a;border-radius:9px;font-size:11px;color:#8195ae;margin-bottom:22px}.wl-status>span:last-child{margin-left:auto}.wl-state.complete{color:#a0c4ae}.wl-state.running{color:#b6cce5}.wl-state.error{color:#d3948a}.danger{border:1px solid #6a4241;background:#322121;color:#e8afaa;border-radius:7px;padding:10px 15px;cursor:pointer;font-size:12px}.danger:hover{background:#4a2a2a}.delete-subject{margin-top:18px;color:#c2cddd}.delete-note{font-size:12px;color:#8191a6;margin-top:15px}@media(max-width:600px){.wl-status{flex-wrap:wrap;gap:10px}.wl-status>span:last-child{margin-left:0}} .message-attachments{padding:20px 25px;border-top:1px solid #283647}.message-attachments h3{font-size:12px;color:#a5bdd5;margin:0 0 14px}.attachment-row{display:flex;align-items:center;gap:12px;border:1px solid #31445b;border-radius:8px;padding:12px;margin-top:9px;background:#142031}.attachment-icon{font-size:14px;color:#88accd}.attachment-row>div{flex:1;min-width:0}.attachment-row b{display:block;font-size:11px;overflow-wrap:anywhere}.attachment-row small{display:block;font-size:10px;color:#7890aa;margin-top:5px}.attachment-row .secondary{font-size:10px;padding:8px 10px;text-decoration:none}.encoded-attachment{padding:16px;background:#1c2532;border:1px solid #354357;border-radius:8px;font-size:11px}.encoded-attachment p{font-size:11px;color:#8fa3bd;margin:8px 0 12px}.encoded-attachment a{text-decoration:none}.attachment-dialog{width:min(1000px,94vw);max-height:92vh}.attachment-dialog .dialog-heading{margin-bottom:15px}.attachment-dialog h2{font-size:17px;overflow-wrap:anywhere}#attachment-preview{max-height:68vh;overflow:auto;min-height:80px;text-align:center}#attachment-preview img{max-width:100%;max-height:65vh;object-fit:contain;border-radius:8px}#attachment-preview iframe{width:100%;height:65vh;border:1px solid #354357;border-radius:7px;background:#fff}#attachment-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;font:12px/1.8 Consolas,monospace;color:#c4d2e2}.attachment-dialog .primary{text-decoration:none}@media(max-width:600px){.attachment-row{flex-wrap:wrap}.attachment-row>div{min-width:70%}.attachment-row .secondary{flex:1}} diff --git a/public/index.html b/public/index.html index 7b59cc6..6763af6 100644 --- a/public/index.html +++ b/public/index.html @@ -1,8 +1,8 @@ -BPQ — Radio & BBS +BPQ Console -
-