panel-kopf: dezenter banner aus projektfarbe + geblurrtem thumbnail
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -250,10 +250,15 @@
|
||||
#overlay.open { opacity: 1; pointer-events: auto; }
|
||||
#panel { position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 100vw; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .22s ease; z-index: 21; display: flex; flex-direction: column; }
|
||||
#panel.open { transform: none; }
|
||||
.phead { padding: 18px 20px 0; display: flex; gap: 14px; align-items: center; }
|
||||
.phead { position: relative; overflow: hidden; padding: 20px 20px 2px; display: flex; gap: 14px; align-items: center; }
|
||||
.phead h3 { margin: 0; font-size: 18px; word-break: break-word; }
|
||||
.phead .sub { margin-top: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
||||
.phead .close { margin-left: auto; align-self: flex-start; }
|
||||
.phead > *:not(.pbanner) { position: relative; z-index: 1; }
|
||||
/* soft header banner: project colour wash + optional blurred thumbnail */
|
||||
.pbanner { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(135deg, color-mix(in srgb, var(--pc, var(--accent)) 24%, transparent), transparent 62%); }
|
||||
.pbanner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, var(--surface)); }
|
||||
.pbanner img { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(30px) saturate(1.15); opacity: .22; }
|
||||
.pquick { display: flex; gap: 6px; padding: 12px 20px 0; flex-wrap: wrap; }
|
||||
#ptabs { margin: 14px 20px 0; }
|
||||
#ptabs button { flex: 1; justify-content: center; }
|
||||
@@ -1146,6 +1151,7 @@
|
||||
<div id="overlay"></div>
|
||||
<aside id="panel" aria-hidden="true">
|
||||
<div class="phead">
|
||||
<div class="pbanner" id="pBanner"></div>
|
||||
<div id="pAvatar"></div>
|
||||
<div style="min-width:0">
|
||||
<h3 style="display:flex;align-items:center;gap:6px"><span id="panelTitle"></span><span id="pFav"></span></h3>
|
||||
|
||||
Reference in New Issue
Block a user