diff --git a/VERSION b/VERSION index 9742761..139b21a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.21-beta +0.3.22-beta diff --git a/public/css/teach.css b/public/css/teach.css index 42068c1..48dcf51 100644 --- a/public/css/teach.css +++ b/public/css/teach.css @@ -131,7 +131,7 @@ heeft toegewezen, als vaste (niet-sleepbare) kaarten in speelmodus */ #pupilView{display:none;} body.pupil-mode #board,body.pupil-mode #fab,body.pupil-mode #fabBoardsBtn, - body.pupil-mode #boardStrip,body.pupil-mode #boardsPanel,body.pupil-mode #fabmenu, + body.pupil-mode #boardStrip,body.pupil-mode #fabmenu, body.pupil-mode #hud,body.pupil-mode #btnFolders,body.pupil-mode #btnSave{display:none !important;} body.pupil-mode #pupilView{ display:flex; flex-wrap:wrap; gap:18px; align-content:flex-start; @@ -209,41 +209,40 @@ color:#fff; background:var(--green); border-color:var(--green); width:90px; min-height:130px; font-weight:900; } - /* folder management panel (save menu) */ - #boardsPanel{ - position:fixed; right:16px; top:64px; z-index:5600; width:300px; max-height:66vh; - overflow:auto; display:none; flex-direction:column; gap:8px; padding:12px; - border-radius:16px; background:rgba(255,255,255,.96); backdrop-filter:blur(12px); - box-shadow:0 10px 30px rgba(30,50,90,.3); border:1px solid rgba(255,255,255,.7); + /* mappenverkenner (Windows-stijl, vervangt het oude mappenpaneel) */ + .modal.explorer{width:min(860px,94vw);} + .ex-bar{display:flex; gap:10px; align-items:center; margin:10px 0 4px; flex-wrap:wrap;} + .ex-crumbs{display:flex; gap:4px; align-items:center; flex:1; min-width:0; flex-wrap:wrap;} + .ex-crumb{ + border:none; background:var(--surface-2); border-radius:8px; padding:6px 10px; + cursor:pointer; font:inherit; font-weight:700; font-size:13.5px; } - #boardsPanel.open{display:flex;} - .bp-folder{display:flex; align-items:center; gap:6px; font-weight:800; font-size:14px; margin-top:4px;} - .bp-folder .bpf-name{flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;} - .bp-folder button{ - border:none; background:var(--surface-2); border-radius:8px; padding:4px 8px; font:inherit; - font-weight:800; font-size:11.5px; cursor:pointer; color:var(--muted); flex:none; + .ex-crumb:hover{background:var(--surface-3);} + .ex-sep{color:var(--muted); font-weight:800;} + .ex-tools{display:flex; gap:8px; flex-wrap:wrap;} + .ex-msg{min-height:18px; color:var(--red); font-size:13px; font-weight:700;} + .ex-grid{ + display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); + gap:12px; margin-top:8px; } - .bp-folder button:hover{background:var(--surface-3); color:var(--ink);} - .bp-boards{display:flex; flex-wrap:wrap; gap:6px;} - .bp-board{ - display:flex; align-items:center; gap:5px; border:1px solid var(--line); background:var(--surface); - border-radius:10px; padding:5px 10px; font:inherit; font-weight:700; font-size:12.5px; - cursor:pointer; color:var(--muted); + .ex-tile{ + border:1.5px solid var(--line); border-radius:14px; padding:10px; background:var(--surface); + display:flex; flex-direction:column; align-items:center; gap:6px; cursor:pointer; + user-select:none; touch-action:none; min-height:110px; justify-content:center; } - .bp-board.active{border-color:var(--accent); background:var(--accent-soft); color:var(--accent-ink);} - .bp-board .bpb-x{border:none; background:transparent; color:var(--red); font-weight:900; - cursor:pointer; padding:0; font-size:11px; opacity:.8;} - .bp-board:hover .bpb-x{opacity:1;} - .bp-board .bpb-mv{color:var(--muted); font-weight:400;} - .bp-board .bpb-mv-sel{font:inherit; max-width:150px;} - .bp-board input{border:none; outline:none; font:inherit; width:80px; background:transparent;} - .bp-folder input{border:none; outline:none; font:inherit; width:110px; background:transparent; border-bottom:1px solid var(--line);} - .bp-new{display:flex; gap:6px; margin-top:6px;} - .bp-new input{ - flex:1; min-width:0; border:1px solid var(--line); border-radius:10px; padding:7px 9px; - font:inherit; font-size:13px; outline:none; + .ex-tile:hover{border-color:var(--blue);} + .ex-tile.sel{border-color:var(--blue); background:var(--accent-soft);} + .ex-tile.active-item{border-color:var(--accent); border-width:2.5px;} + .ex-tile .ex-ico{font-size:36px; line-height:1;} + .ex-tile canvas{max-width:100%; border-radius:8px; border:1px solid var(--line);} + .ex-name{font-weight:700; font-size:13.5px; text-align:center; word-break:break-word;} + .ex-count{font-size:12px; color:var(--muted); font-weight:700;} + .ex-tile input{ + border:2px solid var(--blue); border-radius:8px; font:inherit; font-size:13.5px; + width:100%; outline:none; padding:4px 6px; text-align:center; } - .bp-hint{font-size:11px; color:var(--muted); font-weight:700;} + .ex-ghost{position:fixed; z-index:7000; opacity:.75; pointer-events:none; width:150px; left:-999px;} + .ex-drop{outline:3px solid var(--blue); outline-offset:2px;} #fabmenu.open{display:flex;} .fab-item{ display:flex; align-items:center; gap:10px; border:none; @@ -922,7 +921,7 @@ body.hc .lg-ed-form input[type=text],body.hc .ed-pictorow input{border-color:#000; color:#000;} body.hc .np-result{background:#0047ab;} body.hc .np-row label,body.hc .thint,body.hc .guestnote,body.hc .ed-credit, - body.hc .bp-hint,body.hc .gcard .gd,body.hc .st-footer{color:#222;} + body.hc .gcard .gd,body.hc .st-footer{color:#222;} body.hc .gcard{border-color:#000; background:var(--surface);} body.hc .gcat-title{color:#000;} body.hc .tbtn.ghost{background:var(--surface); border:2px solid #000; color:#000;} @@ -935,8 +934,6 @@ body.hc .timer .presets button,body.hc .timer .main button,body.hc .ticon, body.hc .hud-btn,body.hc .mm-seg button{background:var(--surface); border:1.5px solid #000; color:#000;} body.hc .timer .main .bstart{background:#006b2d; border-color:#006b2d; color:#fff;} - body.hc .bp-board{border-color:#000; color:#000;} - body.hc .bp-board.active{background:#ffd400;} body.hc .dock-item{color:#000;} body.hc .media-msg{color:#ddd;} /* =========== Flash words widget =========== */ @@ -1182,9 +1179,6 @@ body.hc .am-reset,body.hc .am-reset-row{border:1.5px solid #000; background:var( /* ---------- tablet (≤1024px) ---------- */ @media (max-width:1024px){ - /* #boardsPanel had een vaste 300px-breedte die op smallere - schermen overflowt; #boardStrip deed dit al goed. */ - #boardsPanel{width:min(300px, calc(100vw - 32px));} } /* ---------- telefoon (≤600px) ---------- */ @@ -1193,7 +1187,6 @@ body.hc .am-reset,body.hc .am-reset-row{border:1.5px solid #000; background:var( /* alleen de uil op kleine schermen, woordmerk verdwijnt */ .logo-word{display:none;} .tbtn{padding:0 10px; font-size:13px;} - #boardsPanel{top:calc(var(--tbar) + 2px); max-height:min(66vh,480px);} /* beheerpaneel: dichte rijen worden gestapeld i.p.v. verdrukt */ .am-row{flex-direction:column; align-items:stretch;} @@ -1240,8 +1233,7 @@ body.tb-left #board,body.tb-left #pupilView{inset:0 0 0 var(--tbar);} body.tb-right #board,body.tb-right #pupilView{inset:0 var(--tbar) 0 0;} body.tb-right #fab{right:calc(var(--tbar) + 16px);} body.tb-right #fabBoardsBtn{right:calc(var(--tbar) + 88px);} -body.tb-right #boardStrip,body.tb-right #boardsPanel{right:calc(var(--tbar) + 12px);} -body.tb-left #boardsPanel,body.tb-right #boardsPanel{top:12px;} +body.tb-right #boardStrip{right:calc(var(--tbar) + 12px);} body.tb-left #fabmenu{right:24px;} body.tb-right #fabmenu{right:calc(var(--tbar) + 16px);} @@ -1250,7 +1242,7 @@ body.tb-right #fabmenu{right:calc(var(--tbar) + 16px);} i.p.v. blur - rustiger en lichter voor oudere digiborden. ============================================================ */ body.no-glass .widget,body.no-glass #hud,body.no-glass .fab-item, -body.no-glass #boardStrip,body.no-glass #boardsPanel,body.no-glass .mm-top, +body.no-glass #boardStrip,body.no-glass .mm-top, body.no-glass .widget.bare .widget-head{ backdrop-filter:none; -webkit-backdrop-filter:none; background:var(--surface); @@ -1277,7 +1269,7 @@ body.dark .widget-head{background:rgba(255,255,255,.04); border-bottom-color:rgb body.dark #hud{background:var(--glass); border-color:var(--glass-line);} body.dark .fab-item{background:var(--glass-strong); color:var(--ink);} body.dark .fab-item:hover{background:var(--surface-3);} -body.dark #boardStrip,body.dark #boardsPanel{background:var(--glass-strong); border-color:var(--glass-line);} +body.dark #boardStrip{background:var(--glass-strong); border-color:var(--glass-line);} body.dark .widget.bare .widget-head{background:var(--glass-strong);} body.dark .mm-top{background:var(--glass-strong);} body.dark .mm-pop{background:var(--surface); box-shadow:var(--shadow-2);} diff --git a/public/index.html b/public/index.html index 40e21c6..a262f77 100644 --- a/public/index.html +++ b/public/index.html @@ -31,7 +31,17 @@
- +