added frame on posts
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
/* ── App Shell ── */
|
||||
.f-app {
|
||||
display: flex; height: 100vh;
|
||||
background: linear-gradient(135deg, #1a2340 0%, #0d1018 100%);
|
||||
background: var(--bg-app);
|
||||
overflow: hidden; font-family: var(--font); position: relative;
|
||||
}
|
||||
|
||||
/* ── Overlay (mobile sidebar backdrop) ── */
|
||||
.f-overlay {
|
||||
position: fixed; inset: 0; background: rgba(0,0,0,0.5);
|
||||
position: fixed; inset: 0; background: var(--bg-overlay);
|
||||
z-index: 40; opacity: 0; pointer-events: none; transition: opacity .32s;
|
||||
}
|
||||
.f-overlay.show { opacity: 1; pointer-events: all; }
|
||||
@@ -23,15 +23,16 @@
|
||||
display: flex; align-items: center; gap: 12px;
|
||||
padding: 14px 16px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: rgba(13,16,24,.7); backdrop-filter: blur(12px);
|
||||
background: var(--bg-surface); backdrop-filter: blur(12px);
|
||||
position: sticky; top: 0; z-index: 10;
|
||||
}
|
||||
.f-menu-btn {
|
||||
background: none; border: none; cursor: pointer;
|
||||
padding: 6px; border-radius: 8px; transition: background .15s;
|
||||
flex-shrink: 0; line-height: 0; width: 32px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.f-menu-btn:hover { background: rgba(255,255,255,.08); }
|
||||
.f-menu-btn:hover { background: var(--hover-bg); }
|
||||
.f-topbar-center { flex: 1; display: flex; justify-content: center; }
|
||||
.f-topbar-spacer { width: 32px; flex-shrink: 0; }
|
||||
|
||||
@@ -42,7 +43,7 @@
|
||||
cursor: pointer; border-radius: 50%;
|
||||
transition: background .15s;
|
||||
}
|
||||
.f-topbar-profile:hover { background: rgba(255,255,255,.08); }
|
||||
.f-topbar-profile:hover { background: var(--hover-bg); }
|
||||
.f-topbar-profile .f-profile-avatar {
|
||||
width: 28px; height: 28px; border-width: 1.5px;
|
||||
}
|
||||
@@ -56,7 +57,7 @@
|
||||
display: flex; gap: 10px;
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: rgba(13,16,24,.4); backdrop-filter: blur(8px);
|
||||
background: var(--bg-filter); backdrop-filter: blur(8px);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@@ -64,17 +65,17 @@
|
||||
display: flex; align-items: center; gap: 6px;
|
||||
padding: 10px 18px; border-radius: 12px;
|
||||
font-family: var(--font); font-size: 0.9rem; font-weight: 600;
|
||||
background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
|
||||
color: rgba(255,255,255,.6); cursor: pointer;
|
||||
background: var(--hover-bg); border: 1px solid var(--border);
|
||||
color: var(--muted); cursor: pointer;
|
||||
transition: all 0.25s ease;
|
||||
}
|
||||
.f-filter-btn:hover {
|
||||
background: rgba(255,255,255,.1); border-color: rgba(45,224,200,.3);
|
||||
color: rgba(255,255,255,.8);
|
||||
background: var(--hover-bg); border-color: rgba(var(--teal-rgb), .3);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.f-filter-btn.active {
|
||||
background: rgba(45,224,200,.15); border-color: rgba(45,224,200,.5);
|
||||
color: #2de0c8; box-shadow: 0 0 12px rgba(45,224,200,.25);
|
||||
background: rgba(var(--teal-rgb), .15); border-color: rgba(var(--teal-rgb), .5);
|
||||
color: var(--teal); box-shadow: 0 0 12px rgba(var(--teal-rgb), .25);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@@ -87,7 +88,7 @@
|
||||
}
|
||||
.f-feed::-webkit-scrollbar { width: 4px; }
|
||||
.f-feed::-webkit-scrollbar-track { background: transparent; }
|
||||
.f-feed::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
|
||||
.f-feed::-webkit-scrollbar-thumb { background: var(--muted2); border-radius: 2px; }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
/* Лента занимает весь экран без отступов */
|
||||
|
||||
Reference in New Issue
Block a user