added frame on posts
This commit is contained in:
@@ -1,15 +1,3 @@
|
||||
/* ── Left Sidebar ── */
|
||||
.f-sidebar {
|
||||
width: 260px; min-width: 260px;
|
||||
background: linear-gradient(180deg, #1a2540 0%, #111827 100%);
|
||||
border-right: 1px solid var(--border);
|
||||
display: flex; flex-direction: column;
|
||||
transform: translateX(-100%);
|
||||
transition: transform .32s cubic-bezier(.4,0,.2,1);
|
||||
position: fixed; left: 0; top: 0; height: 100%; z-index: 50;
|
||||
}
|
||||
.f-sidebar.open { transform: translateX(0); }
|
||||
|
||||
.f-sb-head {
|
||||
padding: 22px 20px 16px;
|
||||
display: flex; align-items: center; gap: 11px;
|
||||
@@ -21,7 +9,7 @@
|
||||
border-radius: 10px;
|
||||
display: flex; align-items: center; justify-content: center; flex-shrink: 0;
|
||||
}
|
||||
.f-sb-name { color: #fff; font-weight: 900; font-size: 1.1rem; letter-spacing: -.3px; }
|
||||
.f-sb-name { color: var(--text-primary); font-weight: 900; font-size: 1.1rem; letter-spacing: -.3px; }
|
||||
.f-sb-nav { padding: 12px 0; flex: 1; }
|
||||
.f-sb-bottom { padding: 12px 0; border-top: 1px solid var(--border); }
|
||||
.f-sb-item {
|
||||
@@ -31,17 +19,14 @@
|
||||
color: var(--muted); font-size: .9rem; font-weight: 700;
|
||||
border-left: 3px solid transparent;
|
||||
}
|
||||
.f-sb-item:hover { background: rgba(255,255,255,.05); color: #fff; }
|
||||
.f-sb-item.active { background: rgba(45,224,200,.1); color: var(--teal); border-left-color: var(--teal); }
|
||||
|
||||
/* ── Right Sidebar ── */
|
||||
.f-right {
|
||||
width: 220px; min-width: 220px; padding: 16px 12px;
|
||||
border-left: 1px solid var(--border);
|
||||
display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
|
||||
.f-sb-item:hover { background: var(--hover-bg); color: var(--text-primary); }
|
||||
.f-sb-item.active { background: rgba(var(--teal-rgb), .1); color: var(--teal); border-left-color: var(--teal); }
|
||||
.f-sb-divider {
|
||||
height: 1px; background: var(--border);
|
||||
margin: 8px 0;
|
||||
}
|
||||
.f-right::-webkit-scrollbar { width: 3px; }
|
||||
.f-right::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 2px; }
|
||||
.f-right::-webkit-scrollbar-thumb { background: var(--muted2); border-radius: 2px; }
|
||||
.f-right-label {
|
||||
font-size: .65rem; font-weight: 900;
|
||||
text-transform: uppercase; letter-spacing: .8px; color: var(--muted2);
|
||||
@@ -50,23 +35,23 @@
|
||||
flex: 1; display: flex; flex-direction: column;
|
||||
align-items: center; justify-content: center;
|
||||
gap: 12px; text-align: center;
|
||||
border: 1.5px dashed rgba(255,255,255,.08);
|
||||
border: 1.5px dashed var(--border);
|
||||
border-radius: 16px; padding: 20px; min-height: 200px;
|
||||
}
|
||||
.f-right-empty-icon { font-size: 2rem; opacity: .2; }
|
||||
.f-right-empty-text { color: var(--muted); font-size: .78rem; line-height: 1.5; }
|
||||
.f-add-promo-btn {
|
||||
background: rgba(45,224,200,.08); border: 1px solid rgba(45,224,200,.25);
|
||||
background: rgba(var(--teal-rgb), .08); border: 1px solid rgba(var(--teal-rgb), .25);
|
||||
border-radius: 10px; padding: 9px 14px;
|
||||
color: var(--teal); font-family: var(--font);
|
||||
font-size: .8rem; font-weight: 800; cursor: pointer;
|
||||
transition: background .2s, transform .15s;
|
||||
}
|
||||
.f-add-promo-btn:hover { background: rgba(45,224,200,.15); transform: translateY(-1px); }
|
||||
.f-add-promo-btn:hover { background: rgba(var(--teal-rgb), .15); transform: translateY(-1px); }
|
||||
|
||||
.f-sidebar {
|
||||
width: 260px; min-width: 260px;
|
||||
background: linear-gradient(180deg, rgba(26,37,64,.82) 0%, rgba(17,24,39,.88) 100%);
|
||||
background: var(--bg-surface);
|
||||
backdrop-filter: blur(18px);
|
||||
-webkit-backdrop-filter: blur(18px);
|
||||
border-right: 1px solid var(--border);
|
||||
@@ -75,24 +60,17 @@
|
||||
transition: transform .32s cubic-bezier(.4,0,.2,1);
|
||||
position: fixed; left: 0; top: 0; height: 100%; z-index: 50;
|
||||
}
|
||||
.f-sidebar.open { transform: translateX(0); }
|
||||
|
||||
.f-right {
|
||||
width: 220px; min-width: 220px; padding: 16px 12px;
|
||||
border-left: 1px solid var(--border);
|
||||
background: rgba(17,24,39,.55);
|
||||
background: var(--bg-surface);
|
||||
backdrop-filter: blur(14px);
|
||||
-webkit-backdrop-filter: blur(14px);
|
||||
display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
|
||||
}
|
||||
|
||||
.f-sb-logo {
|
||||
width: 36px; height: 36px;
|
||||
background: linear-gradient(135deg, var(--teal2), var(--teal));
|
||||
border-radius: 10px;
|
||||
display: flex; align-items: center; justify-content: center; flex-shrink: 0;
|
||||
box-shadow: 0 0 12px rgba(45,224,200,.3); /* мягкое свечение */
|
||||
}
|
||||
|
||||
/* ── Profile Component ── */
|
||||
.f-profile {
|
||||
display: flex; align-items: center; gap: 12px;
|
||||
@@ -121,7 +99,7 @@
|
||||
|
||||
.f-profile-info { flex: 1; min-width: 0; }
|
||||
.f-profile-name {
|
||||
color: #fff; font-weight: 700; font-size: .85rem;
|
||||
color: var(--text-primary); font-weight: 700; font-size: .85rem;
|
||||
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
||||
}
|
||||
.f-profile-email {
|
||||
@@ -129,11 +107,6 @@
|
||||
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.f-sb-divider {
|
||||
height: 1px; background: rgba(255, 255, 255, .08);
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.f-right {
|
||||
display: none;
|
||||
|
||||
Reference in New Issue
Block a user