|
/* [project]/app/globals.css [app-client] (css) */
|
|
:root {
|
|
--primary: #5b9bd5;
|
|
--primary-hover: #4a8ac4;
|
|
--primary-light: #9ac2e8;
|
|
--primary-glow: #5b9bd540;
|
|
--glass-bg: #ffffff9e;
|
|
--glass-border: #ffffff4d;
|
|
--glass-shadow: 0 8px 32px #00000014;
|
|
--glass-text: #1a1a2e;
|
|
--glass-text-secondary: #4a4a6a;
|
|
--glass-text-light: #7a7a9a;
|
|
--bg-start: #dfe6e9;
|
|
--bg-end: #b2bec3;
|
|
--radius: 10px;
|
|
--radius-sm: 6px;
|
|
--transition: .3s cubic-bezier(.25, .46, .45, .94);
|
|
--nav-height: 64px;
|
|
--bg: #dfe6e9;
|
|
--modal-bg: #ffffffd9;
|
|
--surface: #ffffff2e;
|
|
--border: #ffffff4d;
|
|
--border-light: #ffffff1f;
|
|
--text: #1a1a2e;
|
|
--text-secondary: #4a4a6a;
|
|
--text-light: #7a7a9a;
|
|
--primary-bg: #5b9bd526;
|
|
--shadow: 0 8px 32px #00000014;
|
|
--shadow-hover: 0 12px 40px #0000001f;
|
|
--navbar-bg: #ffffff59;
|
|
--modal-overlay: #0f0f1a80;
|
|
--primary-dark: #4a8ac4;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--primary: #7cb8f0;
|
|
--primary-hover: #8cc8ff;
|
|
--primary-light: #b0d8ff;
|
|
--primary-glow: #5b9bd566;
|
|
--glass-bg: #1e1e3299;
|
|
--glass-border: #ffffff1a;
|
|
--glass-shadow: 0 8px 32px #0006;
|
|
--glass-text: #e8e8f0;
|
|
--glass-text-secondary: #a0a0b8;
|
|
--glass-text-light: #707090;
|
|
--bg-start: #0f0f1a;
|
|
--bg-end: #1a1a2e;
|
|
--radius: 10px;
|
|
--radius-sm: 6px;
|
|
--bg: #0f0f1a;
|
|
--modal-bg: #181826e0;
|
|
--surface: #1e1e3259;
|
|
--border: #ffffff1a;
|
|
--border-light: #ffffff0f;
|
|
--text: #e8e8f0;
|
|
--text-secondary: #a0a0b8;
|
|
--text-light: #707090;
|
|
--primary-bg: #7cb8f026;
|
|
--shadow: 0 8px 32px #0006;
|
|
--shadow-hover: 0 12px 40px #00000080;
|
|
--navbar-bg: #0f0f1a8c;
|
|
--modal-overlay: #0f0f1a99;
|
|
--primary-dark: #8cc8ff;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background: linear-gradient(145deg, var(--bg-start) 0%, var(--bg-end) 100%);
|
|
min-height: 100vh;
|
|
color: var(--glass-text);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background-attachment: fixed;
|
|
font-family: -apple-system, BlinkMacSystemFont, SF Pro Display, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
|
|
transition: background .5s, color .3s;
|
|
}
|
|
|
|
svg {
|
|
vertical-align: middle;
|
|
color: var(--glass-text-secondary);
|
|
flex-shrink: 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
color: var(--glass-text);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
box-shadow: var(--glass-shadow);
|
|
padding: 10px 24px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: #ffffff40;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 40px #0000001f;
|
|
}
|
|
|
|
.btn-ghost {
|
|
-webkit-backdrop-filter: blur(8px);
|
|
color: var(--glass-text-secondary);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
background: #ffffff0f;
|
|
padding: 10px 24px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.btn-ghost:hover {
|
|
color: var(--glass-text);
|
|
background: #ffffff26;
|
|
}
|
|
|
|
[data-theme="light"] #authButtons .btn-ghost {
|
|
color: #30304a;
|
|
background: #4a4a6a1a;
|
|
border-color: #0000;
|
|
}
|
|
|
|
[data-theme="light"] #authButtons .btn-ghost:hover {
|
|
color: #202038;
|
|
background: #5b9bd533;
|
|
}
|
|
|
|
.btn-sm {
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
border: none;
|
|
padding: 4px 12px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.btn-sm:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-danger {
|
|
color: #fff;
|
|
background: #ef4444;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background: #dc2626;
|
|
}
|
|
|
|
.btn-success {
|
|
color: #fff;
|
|
background: #22c55e;
|
|
}
|
|
|
|
.btn-success:hover {
|
|
background: #16a34a;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border: 1px solid var(--glass-border);
|
|
color: var(--glass-text-secondary);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
color: var(--glass-text);
|
|
background: #fff3;
|
|
}
|
|
|
|
#navbar {
|
|
height: var(--nav-height);
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
border-bottom: 1px solid var(--glass-border);
|
|
z-index: 100;
|
|
box-shadow: var(--glass-shadow);
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 32px;
|
|
transition: all .3s;
|
|
display: flex;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.nav-left {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
.forum-name {
|
|
color: var(--glass-text);
|
|
cursor: pointer;
|
|
letter-spacing: -.02em;
|
|
transition: opacity var(--transition);
|
|
text-shadow: 0 2px 10px #0000000d;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.forum-name:hover {
|
|
opacity: .8;
|
|
}
|
|
|
|
.nav-right {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
#authButtons {
|
|
align-items: center;
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
|
|
.avatar {
|
|
cursor: pointer;
|
|
border: 2px solid var(--glass-border);
|
|
width: 36px;
|
|
height: 36px;
|
|
transition: all var(--transition);
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.avatar:hover {
|
|
border-color: var(--primary);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
#userDropdown {
|
|
align-items: center;
|
|
gap: 4px;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--glass-shadow);
|
|
z-index: 200;
|
|
min-width: 180px;
|
|
padding: 6px 0;
|
|
display: none;
|
|
position: absolute;
|
|
top: 44px;
|
|
right: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dropdown-menu.show {
|
|
animation: .15s ease-out dropdownFade;
|
|
display: block;
|
|
}
|
|
|
|
@keyframes dropdownFade {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-6px)scale(.98);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0)scale(1);
|
|
}
|
|
}
|
|
|
|
.dropdown-menu a {
|
|
color: var(--glass-text);
|
|
transition: background var(--transition);
|
|
padding: 10px 18px;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
display: block;
|
|
}
|
|
|
|
.dropdown-menu a svg {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.dropdown-menu hr {
|
|
border: none;
|
|
border-top: 1px solid var(--glass-border);
|
|
margin: 4px 8px;
|
|
}
|
|
|
|
.nav-icon-btn {
|
|
cursor: pointer;
|
|
color: var(--glass-text-secondary);
|
|
border-radius: var(--radius-sm);
|
|
transition: all var(--transition);
|
|
background: none;
|
|
border: none;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 6px 8px;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.nav-icon-btn:hover {
|
|
color: var(--glass-text);
|
|
background: #ffffff26;
|
|
}
|
|
|
|
#app {
|
|
max-width: 1200px;
|
|
min-height: calc(100vh - var(--nav-height));
|
|
gap: 28px;
|
|
margin: 0 auto;
|
|
padding: 24px 32px 40px;
|
|
display: flex;
|
|
}
|
|
|
|
.sidebar {
|
|
flex-shrink: 0;
|
|
width: 240px;
|
|
}
|
|
|
|
.stats-box, .links-box {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--glass-shadow);
|
|
transition: all var(--transition);
|
|
margin-bottom: 16px;
|
|
padding: 18px 20px;
|
|
}
|
|
|
|
.stats-box:hover, .links-box:hover {
|
|
background: #ffffff40;
|
|
}
|
|
|
|
.stats-box h4, .links-box h4 {
|
|
color: var(--glass-text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: .06em;
|
|
margin-bottom: 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.stats-box h4 svg, .links-box h4 svg {
|
|
color: var(--primary);
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.stat-item {
|
|
border-bottom: 1px solid #ffffff14;
|
|
justify-content: space-between;
|
|
padding: 5px 0;
|
|
font-size: 14px;
|
|
display: flex;
|
|
}
|
|
|
|
.stat-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.stat-item span:first-child {
|
|
color: var(--glass-text-secondary);
|
|
}
|
|
|
|
.stat-item span:last-child {
|
|
color: var(--glass-text);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.links-box ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.links-box li {
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.links-box li a {
|
|
color: var(--primary);
|
|
transition: color var(--transition);
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.links-box li a:hover {
|
|
color: var(--primary-hover);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#feed {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.feed-header {
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
}
|
|
|
|
.feed-header-left {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--glass-border);
|
|
gap: 4px;
|
|
width: 280px;
|
|
max-width: 100%;
|
|
padding: 4px;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
|
|
.feed-header-left:after {
|
|
content: "";
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border-radius: calc(var(--radius-sm) - 2px);
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background: #ffffff40;
|
|
width: calc(50% - 4px);
|
|
height: calc(100% - 8px);
|
|
transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
box-shadow: 0 2px 8px #0000000a;
|
|
}
|
|
|
|
.feed-header-left:has(.tab:nth-child(2).active):after {
|
|
transform: translateX(100%);
|
|
}
|
|
|
|
.tab {
|
|
z-index: 1;
|
|
color: var(--glass-text-secondary);
|
|
cursor: pointer;
|
|
border-radius: calc(var(--radius-sm) - 2px);
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
background: none;
|
|
border: none;
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
padding: 6px 18px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: color .3s;
|
|
position: relative;
|
|
}
|
|
|
|
.tab:hover {
|
|
color: var(--glass-text);
|
|
}
|
|
|
|
.tab.active {
|
|
color: var(--glass-text);
|
|
box-shadow: none !important;
|
|
background: none !important;
|
|
}
|
|
|
|
.fab-btn {
|
|
padding: 8px 22px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.fab-btn svg {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.feed-posts-drawer {
|
|
opacity: 1;
|
|
transform-origin: top;
|
|
grid-template-rows: 1fr;
|
|
transition: grid-template-rows .34s cubic-bezier(.22, 1, .36, 1), opacity .2s, transform .34s cubic-bezier(.22, 1, .36, 1);
|
|
display: grid;
|
|
}
|
|
|
|
.feed-posts-drawer-inner {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.feed-posts-drawer.closing, .feed-posts-drawer.closed {
|
|
opacity: 0;
|
|
grid-template-rows: 0fr;
|
|
transform: scaleY(.985);
|
|
}
|
|
|
|
.feed-posts-drawer.opening, .feed-posts-drawer.idle {
|
|
opacity: 1;
|
|
grid-template-rows: 1fr;
|
|
transform: scaleY(1);
|
|
}
|
|
|
|
.post-card {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
transition: all var(--transition);
|
|
cursor: pointer;
|
|
box-shadow: var(--glass-shadow);
|
|
margin-bottom: 12px;
|
|
padding: 18px 22px;
|
|
}
|
|
|
|
.post-card:hover {
|
|
background: #ffffff47;
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 12px 40px #0000001a;
|
|
}
|
|
|
|
.post-header {
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
}
|
|
|
|
.post-avatar {
|
|
object-fit: cover;
|
|
border: 2px solid var(--glass-border);
|
|
border-radius: 50%;
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.post-username {
|
|
color: var(--glass-text);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.post-time {
|
|
color: var(--glass-text-light);
|
|
margin-left: auto;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.post-title {
|
|
color: var(--glass-text);
|
|
letter-spacing: -.01em;
|
|
margin: 6px 0 8px;
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.post-content {
|
|
word-break: break-word;
|
|
color: var(--glass-text-secondary);
|
|
margin-bottom: 10px;
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.post-images {
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
}
|
|
|
|
.post-image {
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--glass-border);
|
|
object-fit: cover;
|
|
max-width: 200px;
|
|
max-height: 160px;
|
|
transition: transform var(--transition);
|
|
}
|
|
|
|
.post-image:hover {
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.post-actions {
|
|
color: var(--glass-text-secondary);
|
|
border-top: 1px solid var(--glass-border);
|
|
align-items: center;
|
|
gap: 18px;
|
|
padding-top: 8px;
|
|
font-size: 13px;
|
|
display: flex;
|
|
}
|
|
|
|
.post-actions svg {
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.post-actions button {
|
|
color: var(--glass-text-secondary);
|
|
cursor: pointer;
|
|
border-radius: var(--radius-sm);
|
|
transition: all var(--transition);
|
|
background: none;
|
|
border: none;
|
|
padding: 4px 6px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.post-actions button:hover {
|
|
color: var(--primary);
|
|
background: #ffffff26;
|
|
}
|
|
|
|
.modal {
|
|
-webkit-backdrop-filter: blur(8px);
|
|
z-index: 999;
|
|
background: #0000004d;
|
|
justify-content: center;
|
|
align-items: center;
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
}
|
|
|
|
.modal.active {
|
|
animation: .28s ease-out modalFade;
|
|
display: flex;
|
|
}
|
|
|
|
@keyframes modalFade {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.modal-content {
|
|
background: var(--modal-bg, var(--glass-bg));
|
|
-webkit-backdrop-filter: blur(32px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
width: 90%;
|
|
max-width: 420px;
|
|
max-height: 90vh;
|
|
padding: 32px 36px;
|
|
position: relative;
|
|
overflow-y: auto;
|
|
box-shadow: 0 24px 80px #0003;
|
|
}
|
|
|
|
.modal.active .modal-content {
|
|
animation: .28s cubic-bezier(.22, 1, .36, 1) modalContentIn;
|
|
}
|
|
|
|
@keyframes modalContentIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(12px)scale(.9);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0)scale(1);
|
|
}
|
|
}
|
|
|
|
.modal-content .close {
|
|
cursor: pointer;
|
|
color: var(--glass-text-secondary);
|
|
transition: color var(--transition);
|
|
background: none;
|
|
border: none;
|
|
line-height: 1;
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 18px;
|
|
}
|
|
|
|
.modal-content .close:hover {
|
|
color: var(--glass-text);
|
|
}
|
|
|
|
.modal-content .close svg {
|
|
display: block;
|
|
}
|
|
|
|
.modal-content h2 {
|
|
color: var(--glass-text);
|
|
margin-bottom: 20px;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.modal-content h2 svg {
|
|
color: var(--primary);
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.modal-content input, .modal-content textarea, .modal-content select {
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
width: 100%;
|
|
color: var(--glass-text);
|
|
transition: all var(--transition);
|
|
background: #ffffff1f;
|
|
margin-bottom: 12px;
|
|
padding: 10px 14px;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.modal-content input:focus, .modal-content textarea:focus, .modal-content select:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px var(--primary-glow);
|
|
background: #ffffff40;
|
|
outline: none;
|
|
}
|
|
|
|
.modal-content textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.modal-content input::placeholder, .modal-content textarea::placeholder {
|
|
color: var(--glass-text-light);
|
|
}
|
|
|
|
.captcha-row {
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
display: flex;
|
|
}
|
|
|
|
.captcha-row span {
|
|
border-radius: var(--radius-sm);
|
|
color: var(--primary);
|
|
cursor: pointer;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
transition: background var(--transition);
|
|
background: #ffffff26;
|
|
padding: 6px 16px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.captcha-row span:hover {
|
|
background: #ffffff4d;
|
|
}
|
|
|
|
.captcha-row input {
|
|
width: 80px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#pageSettings .settings-card, #pageSettings > div > div, #pageSettings [style*="background:var(--surface)"] {
|
|
background: var(--glass-bg) !important;
|
|
-webkit-backdrop-filter: blur(16px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
border-radius: var(--radius) !important;
|
|
box-shadow: var(--glass-shadow) !important;
|
|
transition: all var(--transition) !important;
|
|
}
|
|
|
|
#pageSettings input, #pageSettings textarea, #pageSettings select {
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
-webkit-backdrop-filter: blur(8px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
border-radius: var(--radius-sm) !important;
|
|
color: var(--glass-text) !important;
|
|
transition: all var(--transition) !important;
|
|
background: #ffffff1f !important;
|
|
}
|
|
|
|
#pageSettings input:focus, #pageSettings textarea:focus, #pageSettings select:focus {
|
|
border-color: var(--primary) !important;
|
|
box-shadow: 0 0 0 3px var(--primary-glow) !important;
|
|
background: #ffffff40 !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
#pageSettings input::placeholder, #pageSettings textarea::placeholder {
|
|
color: var(--glass-text-light) !important;
|
|
}
|
|
|
|
#pageSettings textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
#pageSettings .btn-secondary {
|
|
background: var(--glass-bg) !important;
|
|
-webkit-backdrop-filter: blur(8px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
color: var(--glass-text-secondary) !important;
|
|
}
|
|
|
|
#pageSettings .btn-secondary:hover {
|
|
color: var(--glass-text) !important;
|
|
background: #fff3 !important;
|
|
}
|
|
|
|
#pageSettings img[style*="border-radius:50%"] {
|
|
border: 3px solid var(--glass-border) !important;
|
|
}
|
|
|
|
#pageSettings .settings-stat {
|
|
color: var(--glass-text-secondary) !important;
|
|
}
|
|
|
|
#pageNew input, #pageNew textarea {
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
width: 100%;
|
|
color: var(--glass-text);
|
|
transition: all var(--transition);
|
|
background: #ffffff1f;
|
|
padding: 10px 14px;
|
|
font-family: inherit;
|
|
font-size: 15px;
|
|
}
|
|
|
|
#pageNew input:focus, #pageNew textarea:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px var(--primary-glow);
|
|
background: #ffffff40;
|
|
outline: none;
|
|
}
|
|
|
|
#pageNew input::placeholder, #pageNew textarea::placeholder {
|
|
color: var(--glass-text-light);
|
|
}
|
|
|
|
#pageNew textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.page-slide {
|
|
background: var(--bg-start);
|
|
z-index: 50;
|
|
padding: 84px 32px 40px;
|
|
transition: background .3s;
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.page-slide.active {
|
|
animation: .35s cubic-bezier(.22, 1, .36, 1) slideIn;
|
|
display: block;
|
|
}
|
|
|
|
#pagePost.page-slide.active {
|
|
animation: none;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-card, html.home-view-transition.returning-home #pagePost .post-detail-card {
|
|
view-transition-name: post-expand;
|
|
}
|
|
|
|
html.post-view-transition #navbar, html.home-view-transition #navbar {
|
|
view-transition-name: persistent-navbar;
|
|
}
|
|
|
|
html.post-view-transition #sidebar, html.post-view-transition #postSidebar, html.home-view-transition.returning-home #sidebar, html.home-view-transition.returning-home #postSidebar {
|
|
view-transition-name: post-sidebar;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-card .post-time, html.home-view-transition.returning-home #pagePost .post-detail-card .post-time {
|
|
view-transition-name: post-time;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-page-header h2, html.home-view-transition.returning-home #pagePost .post-page-header h2 {
|
|
view-transition-name: post-heading;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-card .post-avatar, html.home-view-transition.returning-home #pagePost .post-detail-card .post-avatar {
|
|
view-transition-name: post-avatar;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-card .post-username, html.home-view-transition.returning-home #pagePost .post-detail-card .post-username {
|
|
view-transition-name: post-author;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-card > .post-content, html.home-view-transition.returning-home #pagePost .post-detail-card > .post-content {
|
|
view-transition-name: post-body;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-card > .post-images, html.home-view-transition.returning-home #pagePost .post-detail-card > .post-images {
|
|
view-transition-name: post-detail-media;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-card .post-pin-state, html.home-view-transition.returning-home #pagePost .post-detail-card .post-pin-state {
|
|
view-transition-name: post-pin-state;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-card .post-edited-state, html.home-view-transition.returning-home #pagePost .post-detail-card .post-edited-state {
|
|
view-transition-name: post-edited-state;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-controls, html.home-view-transition.returning-home #pagePost .post-detail-controls {
|
|
view-transition-name: post-detail-controls;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-detail-signature, html.home-view-transition.returning-home #pagePost .post-detail-signature {
|
|
view-transition-name: post-detail-signature;
|
|
}
|
|
|
|
html.post-view-transition #pagePost .post-reply-count {
|
|
opacity: 0;
|
|
}
|
|
|
|
html.post-transition-settled #pagePost .post-reply-count {
|
|
animation: .2s ease-out both postReplyCountReveal;
|
|
}
|
|
|
|
@keyframes postReplyCountReveal {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
html.post-view-transition .post-card .post-title, html.home-view-transition.returning-home .post-card .post-title {
|
|
width: max-content;
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
html.post-view-transition::view-transition {
|
|
background: linear-gradient(145deg, var(--bg-start) 0%, var(--bg-end) 100%);
|
|
}
|
|
|
|
html.home-view-transition::view-transition {
|
|
background: linear-gradient(145deg, var(--bg-start) 0%, var(--bg-end) 100%);
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(post-expand) {
|
|
border-radius: var(--radius);
|
|
animation-duration: .96s;
|
|
animation-timing-function: ease-in-out;
|
|
overflow: clip;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-group(post-expand) {
|
|
border-radius: var(--radius);
|
|
animation-duration: .96s;
|
|
animation-timing-function: ease-in-out;
|
|
overflow: clip;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-image-pair(post-expand) {
|
|
border-radius: var(--radius);
|
|
overflow: clip;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-image-pair(post-expand) {
|
|
border-radius: var(--radius);
|
|
overflow: clip;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-expand) {
|
|
border-radius: var(--radius);
|
|
overflow: clip;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-expand) {
|
|
border-radius: var(--radius);
|
|
overflow: clip;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-expand) {
|
|
border-radius: var(--radius);
|
|
overflow: clip;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-expand) {
|
|
border-radius: var(--radius);
|
|
overflow: clip;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(post-sidebar) {
|
|
animation-duration: .72s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(post-heading) {
|
|
animation-duration: .64s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(post-avatar) {
|
|
animation-duration: .68s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(post-author) {
|
|
animation-duration: .68s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(post-pin-state) {
|
|
animation-duration: .68s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(post-edited-state) {
|
|
animation-duration: .68s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(post-body) {
|
|
animation-duration: .96s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.post-view-transition::view-transition-image-pair(post-body) {
|
|
overflow: clip;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-image-pair(post-body) {
|
|
overflow: clip;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(post-time) {
|
|
animation-duration: 1.05s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.post-view-transition::view-transition-group(persistent-navbar) {
|
|
mix-blend-mode: normal;
|
|
animation: none;
|
|
}
|
|
|
|
html.home-view-transition::view-transition-group(persistent-navbar) {
|
|
mix-blend-mode: normal;
|
|
animation: none;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(persistent-navbar) {
|
|
mix-blend-mode: normal;
|
|
animation: none;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(persistent-navbar) {
|
|
mix-blend-mode: normal;
|
|
animation: none;
|
|
}
|
|
|
|
html.home-view-transition::view-transition-old(persistent-navbar) {
|
|
mix-blend-mode: normal;
|
|
animation: none;
|
|
}
|
|
|
|
html.home-view-transition::view-transition-new(persistent-navbar) {
|
|
mix-blend-mode: normal;
|
|
animation: none;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(root) {
|
|
animation: .28s ease-out .34s both feedViewFadeOut;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(root) {
|
|
animation: .24s ease-out .56s both postSurroundingsReveal;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-expand) {
|
|
opacity: 0;
|
|
mix-blend-mode: normal;
|
|
width: 100%;
|
|
height: 100%;
|
|
animation: none;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-expand) {
|
|
opacity: 1;
|
|
object-fit: fill;
|
|
mix-blend-mode: normal;
|
|
width: 100%;
|
|
height: 100%;
|
|
animation: none;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-heading) {
|
|
animation: .64s ease-out both sharedTitleMorphOut;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-heading) {
|
|
animation: .64s ease-out both sharedTitleMorphIn;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-time) {
|
|
animation: .2s ease-out .32s both sharedTimeOut;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-time) {
|
|
animation: .2s ease-out .38s both sharedTimeIn;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-avatar) {
|
|
animation: .68s ease-out both sharedPartMorphOut;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-author) {
|
|
animation: .68s ease-out both sharedPartMorphOut;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-pin-state) {
|
|
animation: .68s ease-out both sharedPartMorphOut;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-edited-state) {
|
|
animation: .68s ease-out both sharedPartMorphOut;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-avatar) {
|
|
animation: .68s ease-out both sharedPartMorphIn;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-author) {
|
|
animation: .68s ease-out both sharedPartMorphIn;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-pin-state) {
|
|
animation: .68s ease-out both sharedPartMorphIn;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-edited-state) {
|
|
animation: .68s ease-out both sharedPartMorphIn;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-feed-actions) {
|
|
animation: .28s ease-out .24s both feedOnlyPartOut;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-body) {
|
|
opacity: 0;
|
|
animation: none;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-body) {
|
|
opacity: 1;
|
|
object-fit: none;
|
|
object-position: left top;
|
|
animation: none;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-feed-media) {
|
|
opacity: 0;
|
|
animation: none;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-detail-controls) {
|
|
animation: .22s ease-out .62s both detailOnlyPartIn;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-detail-signature) {
|
|
animation: .22s ease-out .62s both detailOnlyPartIn;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-detail-media) {
|
|
animation: .22s ease-out .62s both detailOnlyPartIn;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-old(post-sidebar) {
|
|
animation: .2s ease-out .42s both sharedSidebarOut;
|
|
}
|
|
|
|
html.post-view-transition::view-transition-new(post-sidebar) {
|
|
animation: .2s ease-out .42s both sharedSidebarIn;
|
|
}
|
|
|
|
html.home-view-transition::view-transition-old(root) {
|
|
animation: .4s ease-in both homeSourceFadeOut;
|
|
}
|
|
|
|
html.home-view-transition::view-transition-new(root) {
|
|
animation: .5s ease-out both homeFeedFadeIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(root) {
|
|
animation: .24s ease-out .16s reverse both postSurroundingsReveal;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(root) {
|
|
animation: .28s ease-out .34s reverse both feedViewFadeOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-group(post-expand) {
|
|
animation-duration: .96s;
|
|
animation-timing-function: ease-in-out;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-group(post-sidebar) {
|
|
animation-duration: .72s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-group(post-heading) {
|
|
animation-duration: .64s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-group(post-time) {
|
|
animation-duration: 1.05s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-group(post-avatar) {
|
|
animation-duration: .68s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-group(post-author) {
|
|
animation-duration: .68s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-group(post-pin-state) {
|
|
animation-duration: .68s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-group(post-edited-state) {
|
|
animation-duration: .68s;
|
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-expand) {
|
|
opacity: 1;
|
|
object-fit: fill;
|
|
mix-blend-mode: normal;
|
|
width: 100%;
|
|
height: 100%;
|
|
animation: none;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-expand) {
|
|
opacity: 0;
|
|
mix-blend-mode: normal;
|
|
width: 100%;
|
|
height: 100%;
|
|
animation: none;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-heading) {
|
|
animation: .64s ease-out reverse both sharedTitleMorphIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-heading) {
|
|
animation: .64s ease-out reverse both sharedTitleMorphOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-time) {
|
|
animation: .2s ease-out .47s reverse both sharedTimeIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-time) {
|
|
animation: .2s ease-out .53s reverse both sharedTimeOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-sidebar) {
|
|
animation: .2s ease-out .1s reverse both sharedSidebarIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-sidebar) {
|
|
animation: .2s ease-out .1s reverse both sharedSidebarOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-avatar) {
|
|
animation: .68s ease-out reverse both sharedPartMorphIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-author) {
|
|
animation: .68s ease-out reverse both sharedPartMorphIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-pin-state) {
|
|
animation: .68s ease-out reverse both sharedPartMorphIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-edited-state) {
|
|
animation: .68s ease-out reverse both sharedPartMorphIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-avatar) {
|
|
animation: .68s ease-out reverse both sharedPartMorphOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-author) {
|
|
animation: .68s ease-out reverse both sharedPartMorphOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-pin-state) {
|
|
animation: .68s ease-out reverse both sharedPartMorphOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-edited-state) {
|
|
animation: .68s ease-out reverse both sharedPartMorphOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-detail-controls) {
|
|
animation: .22s ease-out .12s reverse both detailOnlyPartIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-detail-signature) {
|
|
animation: .22s ease-out .12s reverse both detailOnlyPartIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-detail-media) {
|
|
animation: .22s ease-out .12s reverse both detailOnlyPartIn;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-feed-actions) {
|
|
animation: .28s ease-out .44s reverse both feedOnlyPartOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-feed-media) {
|
|
animation: .28s ease-out .44s reverse both feedOnlyPartOut;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-old(post-body) {
|
|
opacity: 1;
|
|
object-fit: none;
|
|
object-position: left top;
|
|
animation: none;
|
|
}
|
|
|
|
html.home-view-transition.returning-home::view-transition-new(post-body) {
|
|
opacity: 0;
|
|
animation: none;
|
|
}
|
|
|
|
@keyframes feedViewFadeOut {
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes postSurroundingsReveal {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes postCardFadeOut {
|
|
0%, 72% {
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes postCardReveal {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes homeSourceFadeOut {
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes homeFeedFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes postDetailCollapse {
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes postCardFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes sharedTitleMorphOut {
|
|
0%, 68% {
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes sharedTitleMorphIn {
|
|
0%, 62% {
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes sharedPartMorphOut {
|
|
0%, 66% {
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes sharedPartMorphIn {
|
|
0%, 58% {
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes feedOnlyPartOut {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes detailOnlyPartIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes bodySourceOut {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes bodyTargetIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes sharedTimeOut {
|
|
to {
|
|
opacity: .2;
|
|
}
|
|
}
|
|
|
|
@keyframes sharedTimeIn {
|
|
from {
|
|
opacity: .2;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes sharedSidebarOut {
|
|
to {
|
|
opacity: .72;
|
|
}
|
|
}
|
|
|
|
@keyframes sharedSidebarIn {
|
|
from {
|
|
opacity: .72;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: .6;
|
|
transform: translateX(40px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.page-slide.slide-out {
|
|
animation: .25s cubic-bezier(.55, 0, 1, .45) forwards slideOut;
|
|
}
|
|
|
|
@keyframes slideOut {
|
|
from {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
to {
|
|
opacity: .5;
|
|
transform: translateX(-40px);
|
|
}
|
|
}
|
|
|
|
.page-header {
|
|
border-bottom: 1px solid var(--glass-border);
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
padding-bottom: 16px;
|
|
display: flex;
|
|
}
|
|
|
|
.page-header h2 {
|
|
color: var(--glass-text);
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.page-header h2 svg {
|
|
color: var(--primary);
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.back-btn {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border: 1px solid var(--glass-border);
|
|
color: var(--glass-text-secondary);
|
|
cursor: pointer;
|
|
border-radius: var(--radius-sm);
|
|
transition: all var(--transition);
|
|
padding: 8px 16px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.back-btn:hover {
|
|
color: var(--glass-text);
|
|
background: #fff3;
|
|
}
|
|
|
|
.back-btn svg {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.post-page-layout {
|
|
align-items: flex-start;
|
|
gap: 28px;
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
}
|
|
|
|
.post-page-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
#postSidebar {
|
|
flex-shrink: 0;
|
|
align-self: start;
|
|
width: 240px;
|
|
}
|
|
|
|
.post-page-header {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
#pagePost .post-detail-card {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--glass-shadow);
|
|
padding: 24px 28px;
|
|
}
|
|
|
|
#pagePost .post-detail-card .post-content {
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
#pagePost .post-detail-card .post-title {
|
|
font-size: 22px;
|
|
}
|
|
|
|
#pagePost .post-detail-actions {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
#repliesList {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.reply-item {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
transition: all var(--transition);
|
|
box-shadow: var(--glass-shadow);
|
|
margin-bottom: 10px;
|
|
padding: 14px 18px;
|
|
}
|
|
|
|
.reply-item:hover {
|
|
background: #ffffff40;
|
|
}
|
|
|
|
.reply-header {
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 6px;
|
|
display: flex;
|
|
}
|
|
|
|
.reply-avatar {
|
|
object-fit: cover;
|
|
border: 2px solid var(--glass-border);
|
|
border-radius: 50%;
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.reply-username {
|
|
color: var(--glass-text);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.reply-time {
|
|
color: var(--glass-text-light);
|
|
margin-left: auto;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.reply-content {
|
|
word-break: break-word;
|
|
color: var(--glass-text-secondary);
|
|
padding-left: 38px;
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
#replyArea {
|
|
border-top: 1px solid var(--glass-border);
|
|
max-width: 700px;
|
|
margin-top: 28px;
|
|
padding-top: 24px;
|
|
}
|
|
|
|
#replyArea h3 {
|
|
color: var(--glass-text);
|
|
margin-bottom: 14px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#replyArea h3 svg {
|
|
color: var(--primary);
|
|
margin-right: 6px;
|
|
}
|
|
|
|
#replyArea textarea {
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
resize: vertical;
|
|
width: 100%;
|
|
color: var(--glass-text);
|
|
transition: all var(--transition);
|
|
background: #ffffff1a;
|
|
padding: 12px 16px;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#replyArea textarea:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px var(--primary-glow);
|
|
background: #fff3;
|
|
outline: none;
|
|
}
|
|
|
|
#replyArea textarea::placeholder {
|
|
color: var(--glass-text-light);
|
|
}
|
|
|
|
.admin-layout {
|
|
align-items: flex-start;
|
|
gap: 24px;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding-top: 12px;
|
|
display: flex;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
width: 200px;
|
|
box-shadow: var(--glass-shadow);
|
|
flex-shrink: 0;
|
|
padding: 8px 0;
|
|
position: sticky;
|
|
top: 84px;
|
|
}
|
|
|
|
.admin-nav-item {
|
|
color: var(--glass-text-secondary);
|
|
transition: all var(--transition);
|
|
cursor: pointer;
|
|
border-left: 3px solid #0000;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 18px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
display: flex;
|
|
}
|
|
|
|
.admin-nav-item:hover {
|
|
color: var(--glass-text);
|
|
background: #ffffff26;
|
|
}
|
|
|
|
.admin-nav-item.active {
|
|
color: var(--primary);
|
|
border-left-color: var(--primary);
|
|
background: #fff3;
|
|
}
|
|
|
|
.admin-nav-item .nav-icon {
|
|
flex-shrink: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 24px;
|
|
display: flex;
|
|
}
|
|
|
|
.admin-nav-item .nav-icon svg {
|
|
stroke: currentColor;
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.admin-content {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
min-width: 0;
|
|
box-shadow: var(--glass-shadow);
|
|
flex: 1;
|
|
padding: 20px 24px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.admin-layout {
|
|
flex-direction: column;
|
|
padding-bottom: 70px;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border-top: 1px solid var(--glass-border);
|
|
width: 100%;
|
|
padding: 4px 0 env(safe-area-inset-bottom, 8px) 0;
|
|
z-index: 60;
|
|
border: none;
|
|
border-radius: 0;
|
|
flex-wrap: nowrap;
|
|
justify-content: space-around;
|
|
display: flex;
|
|
position: fixed;
|
|
inset: auto 0 0;
|
|
box-shadow: 0 -4px 24px #00000014;
|
|
flex-direction: row !important;
|
|
}
|
|
|
|
.admin-nav {
|
|
justify-content: space-around;
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
.admin-nav-item {
|
|
color: var(--glass-text-secondary);
|
|
text-align: center;
|
|
border-radius: 0;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
align-items: center;
|
|
gap: 2px;
|
|
padding: 6px 8px;
|
|
font-size: 10px;
|
|
background: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.admin-nav-item .nav-icon {
|
|
justify-content: center;
|
|
width: auto;
|
|
font-size: 20px;
|
|
display: flex;
|
|
}
|
|
|
|
.admin-nav-item .nav-icon svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
stroke: var(--glass-text-secondary);
|
|
transition: stroke .2s;
|
|
}
|
|
|
|
.admin-nav-item.active {
|
|
color: var(--primary);
|
|
background: none !important;
|
|
border-bottom: none !important;
|
|
border-left: none !important;
|
|
}
|
|
|
|
.admin-nav-item.active .nav-icon svg {
|
|
stroke: var(--primary);
|
|
}
|
|
|
|
.admin-content {
|
|
padding: 16px 16px 80px;
|
|
}
|
|
|
|
.admin-sidebar .admin-nav-item {
|
|
border: none !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.admin-nav-item {
|
|
padding: 4px;
|
|
font-size: 9px;
|
|
}
|
|
|
|
.admin-nav-item .nav-icon svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.post-actions {
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.post-actions button {
|
|
padding: 4px;
|
|
}
|
|
|
|
#feed .post-content {
|
|
max-height: 4.25em;
|
|
}
|
|
}
|
|
|
|
.admin-tabs {
|
|
border-bottom: 1px solid var(--glass-border);
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-bottom: 24px;
|
|
padding-bottom: 14px;
|
|
display: flex;
|
|
}
|
|
|
|
.admin-tab {
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
cursor: pointer;
|
|
color: var(--glass-text-secondary);
|
|
transition: all var(--transition);
|
|
padding: 6px 18px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.admin-tab:hover {
|
|
color: var(--glass-text);
|
|
background: #fff3;
|
|
}
|
|
|
|
.admin-tab.active {
|
|
color: var(--glass-text);
|
|
border-color: var(--primary);
|
|
box-shadow: 0 2px 8px var(--primary-glow);
|
|
background: #ffffff4d;
|
|
}
|
|
|
|
.admin-tab svg {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.report-item {
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
box-shadow: var(--glass-shadow);
|
|
transition: all var(--transition);
|
|
margin-bottom: 10px;
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.report-item:hover {
|
|
background: #ffffff40;
|
|
}
|
|
|
|
.report-item .report-actions {
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
display: flex;
|
|
}
|
|
|
|
#adminContent table {
|
|
border-collapse: collapse;
|
|
background: var(--glass-bg);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border-radius: var(--radius);
|
|
width: 100%;
|
|
box-shadow: var(--glass-shadow);
|
|
font-size: 14px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#adminContent th {
|
|
text-align: left;
|
|
color: var(--glass-text-secondary);
|
|
border-bottom: 1px solid var(--glass-border);
|
|
background: #ffffff1a;
|
|
padding: 12px 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#adminContent td {
|
|
color: var(--glass-text);
|
|
border-bottom: 1px solid #ffffff0d;
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
#adminContent tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
#adminContent tr:hover td {
|
|
background: #ffffff0d;
|
|
}
|
|
|
|
#customPageContainer {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
|
|
#app {
|
|
padding: 16px;
|
|
}
|
|
|
|
#navbar {
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.modal-content {
|
|
padding: 24px 20px;
|
|
}
|
|
|
|
.feed-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.feed-header-left {
|
|
gap: 4px;
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
.tab {
|
|
text-align: center;
|
|
flex: 1;
|
|
padding: 6px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.fab-btn {
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.post-card {
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.post-page-layout {
|
|
display: block;
|
|
}
|
|
|
|
.post-page-main {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.post-image {
|
|
max-width: 120px;
|
|
max-height: 100px;
|
|
}
|
|
|
|
.page-slide {
|
|
padding: 80px 16px 20px;
|
|
}
|
|
|
|
.post-detail-card {
|
|
padding: 16px !important;
|
|
}
|
|
|
|
.reply-content {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.reply-header .reply-time {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.page-header h2 {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.forum-name {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.btn-primary, .btn-ghost {
|
|
padding: 6px 14px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.modal-content {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.post-actions {
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
#customNavLinks a {
|
|
padding: 2px 6px !important;
|
|
font-size: 12px !important;
|
|
}
|
|
}
|
|
|
|
[data-theme="dark"] .modal-content input, [data-theme="dark"] .modal-content textarea, [data-theme="dark"] .modal-content select {
|
|
background: #ffffff0f;
|
|
}
|
|
|
|
[data-theme="dark"] .modal-content input:focus, [data-theme="dark"] .modal-content textarea:focus, [data-theme="dark"] .modal-content select:focus {
|
|
background: #ffffff1f;
|
|
}
|
|
|
|
[data-theme="dark"] .post-card {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] .post-card:hover {
|
|
background: #ffffff1f;
|
|
}
|
|
|
|
[data-theme="dark"] .stats-box, [data-theme="dark"] .links-box {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] .stats-box:hover, [data-theme="dark"] .links-box:hover {
|
|
background: #ffffff14;
|
|
}
|
|
|
|
[data-theme="dark"] .reply-item {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] .reply-item:hover {
|
|
background: #ffffff14;
|
|
}
|
|
|
|
[data-theme="dark"] .dropdown-menu {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] .tab.active {
|
|
color: #fff;
|
|
}
|
|
|
|
[data-theme="dark"] .admin-tab {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] .admin-tab:hover {
|
|
background: #ffffff14;
|
|
}
|
|
|
|
[data-theme="dark"] .admin-tab.active {
|
|
color: #fff;
|
|
background: #ffffff26;
|
|
}
|
|
|
|
[data-theme="dark"] #adminContent table {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] #adminContent th {
|
|
background: #ffffff0d;
|
|
}
|
|
|
|
[data-theme="dark"] #navbar {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] .page-slide {
|
|
background: linear-gradient(145deg, var(--bg-start) 0%, var(--bg-end) 100%);
|
|
}
|
|
|
|
[data-theme="dark"] #replyArea textarea {
|
|
background: #ffffff0f;
|
|
}
|
|
|
|
[data-theme="dark"] #replyArea textarea:focus {
|
|
background: #ffffff1a;
|
|
}
|
|
|
|
[data-theme="dark"] .btn-ghost {
|
|
background: #ffffff0d;
|
|
}
|
|
|
|
[data-theme="dark"] .btn-ghost:hover {
|
|
background: #ffffff1f;
|
|
}
|
|
|
|
[data-theme="dark"] .captcha-row span {
|
|
background: #ffffff14;
|
|
}
|
|
|
|
[data-theme="dark"] .captcha-row span:hover {
|
|
background: #ffffff26;
|
|
}
|
|
|
|
[data-theme="dark"] .btn-secondary {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] .btn-secondary:hover {
|
|
background: #ffffff1f;
|
|
}
|
|
|
|
[data-theme="dark"] .post-card .post-actions button:hover {
|
|
background: #ffffff14;
|
|
}
|
|
|
|
[data-theme="dark"] .post-card .post-actions .action-delete:hover {
|
|
background: #ef444433;
|
|
}
|
|
|
|
[data-theme="dark"] .report-item {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] .report-item:hover {
|
|
background: #ffffff0f;
|
|
}
|
|
|
|
[data-theme="dark"] .modal-content {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
[data-theme="dark"] .admin-sidebar {
|
|
border-color: var(--glass-border);
|
|
background: #181826;
|
|
}
|
|
|
|
[data-theme="dark"] .admin-nav-item:hover {
|
|
background: #ffffff14;
|
|
}
|
|
|
|
[data-theme="dark"] .admin-nav-item.active {
|
|
color: var(--primary);
|
|
background: #ffffff1f;
|
|
}
|
|
|
|
[data-theme="dark"] .admin-nav-item .nav-icon svg {
|
|
stroke: var(--glass-text-secondary);
|
|
}
|
|
|
|
[data-theme="dark"] .admin-nav-item.active .nav-icon svg {
|
|
stroke: var(--primary);
|
|
}
|
|
|
|
[data-theme="dark"] .admin-content {
|
|
border-color: var(--glass-border);
|
|
background: #181826;
|
|
}
|
|
|
|
[data-theme="dark"] .admin-sidebar {
|
|
border: 1px solid var(--glass-border);
|
|
}
|
|
|
|
[data-theme="dark"] .feed-header-left:after {
|
|
background: #ffffff14;
|
|
}
|
|
|
|
[data-theme="dark"] #pageSettings .settings-card, [data-theme="dark"] #pageSettings > div > div, [data-theme="dark"] #pageSettings [style*="background:var(--surface)"] {
|
|
background: var(--glass-bg) !important;
|
|
border-color: var(--glass-border) !important;
|
|
}
|
|
|
|
[data-theme="dark"] #pageSettings input, [data-theme="dark"] #pageSettings textarea, [data-theme="dark"] #pageSettings select {
|
|
color: var(--glass-text) !important;
|
|
border-color: var(--glass-border) !important;
|
|
background: #ffffff0f !important;
|
|
}
|
|
|
|
[data-theme="dark"] #pageSettings input:focus, [data-theme="dark"] #pageSettings textarea:focus, [data-theme="dark"] #pageSettings select:focus {
|
|
border-color: var(--primary) !important;
|
|
background: #ffffff1f !important;
|
|
}
|
|
|
|
[data-theme="light"] #messageListModal .modal-content, [data-theme="light"] #chatModal .modal-content {
|
|
-webkit-backdrop-filter: none !important;
|
|
background: #fff !important;
|
|
border: 1px solid #e9edf4 !important;
|
|
box-shadow: 0 24px 80px #0000001f !important;
|
|
}
|
|
|
|
[data-theme="light"] #messageListModal .modal-content .close, [data-theme="light"] #chatModal .modal-content .close {
|
|
color: #4a4a6a !important;
|
|
}
|
|
|
|
[data-theme="light"] #messageListModal .modal-content .close:hover, [data-theme="light"] #chatModal .modal-content .close:hover, [data-theme="light"] #messageListModal .modal-content h2, [data-theme="light"] #chatModal .modal-content h2 {
|
|
color: #1a1a2e !important;
|
|
}
|
|
|
|
[data-theme="light"] #messageListContent .message-list-item {
|
|
background: #f6f8fc !important;
|
|
border-bottom: 1px solid #e9edf4 !important;
|
|
}
|
|
|
|
[data-theme="light"] #messageListContent .message-list-item:hover {
|
|
background: #eef2ff !important;
|
|
}
|
|
|
|
[data-theme="light"] #chatMessages {
|
|
border-radius: 8px;
|
|
background: #f6f8fc !important;
|
|
}
|
|
|
|
[data-theme="light"] #chatInput {
|
|
color: #1a1a2e !important;
|
|
background: #fff !important;
|
|
border: 1px solid #e9edf4 !important;
|
|
}
|
|
|
|
[data-theme="light"] #chatInput:focus {
|
|
border-color: var(--primary) !important;
|
|
box-shadow: 0 0 0 3px var(--primary-glow) !important;
|
|
}
|
|
|
|
[data-theme="light"] #chatInput::placeholder {
|
|
color: #8a8aaa !important;
|
|
}
|
|
|
|
[data-theme="light"] .modal-content h2, [data-theme="light"] .modal-content p, [data-theme="light"] .modal-content strong {
|
|
color: #1a1a2e !important;
|
|
}
|
|
|
|
[data-theme="light"] .modal-content p {
|
|
color: #4a4a6a !important;
|
|
}
|
|
|
|
[data-theme="light"] #customCssDeleteBtn {
|
|
color: #1a1a2e !important;
|
|
background: #f1f3f5 !important;
|
|
border: 1px solid #e9edf4 !important;
|
|
}
|
|
|
|
[data-theme="light"] #customCssDeleteBtn:hover {
|
|
background: #e9ecef !important;
|
|
}
|
|
|
|
[data-theme="light"] #cssWarningCancel {
|
|
color: #1a1a2e !important;
|
|
background: #f1f3f5 !important;
|
|
border: 1px solid #e9edf4 !important;
|
|
}
|
|
|
|
[data-theme="light"] #cssWarningCancel:hover {
|
|
background: #e9ecef !important;
|
|
}
|
|
|
|
[data-theme="light"] #pageSettings .settings-card, [data-theme="light"] #pageSettings > div > div, [data-theme="light"] #pageSettings [style*="background:var(--surface)"] {
|
|
-webkit-backdrop-filter: blur(16px) !important;
|
|
background: #ffffff80 !important;
|
|
border: 1px solid #fff9 !important;
|
|
box-shadow: 0 8px 32px #0000000f !important;
|
|
}
|
|
|
|
[data-theme="light"] #pageSettings input, [data-theme="light"] #pageSettings textarea, [data-theme="light"] #pageSettings select {
|
|
-webkit-backdrop-filter: blur(8px) !important;
|
|
color: #1a1a2e !important;
|
|
background: #fff6 !important;
|
|
border: 1px solid #ffffff80 !important;
|
|
}
|
|
|
|
[data-theme="light"] #pageSettings input:focus, [data-theme="light"] #pageSettings textarea:focus, [data-theme="light"] #pageSettings select:focus {
|
|
border-color: var(--primary) !important;
|
|
box-shadow: 0 0 0 3px var(--primary-glow) !important;
|
|
background: #fff9 !important;
|
|
}
|
|
|
|
[data-theme="light"] #pageSettings input::placeholder, [data-theme="light"] #pageSettings textarea::placeholder {
|
|
color: #8a8aaa !important;
|
|
}
|
|
|
|
.post-actions .action-delete {
|
|
color: #1a1a2e !important;
|
|
border-radius: var(--radius-sm) !important;
|
|
background: #ef444414 !important;
|
|
border: 1.5px solid #ef4444 !important;
|
|
padding: 2px 10px !important;
|
|
transition: all .2s !important;
|
|
}
|
|
|
|
.post-actions .action-delete:hover {
|
|
color: #fff !important;
|
|
background: #ef4444 !important;
|
|
}
|
|
|
|
#detailDeleteBtn {
|
|
color: #1a1a2e !important;
|
|
border-radius: var(--radius-sm) !important;
|
|
background: #ef444414 !important;
|
|
border: 1.5px solid #ef4444 !important;
|
|
padding: 2px 10px !important;
|
|
transition: all .2s !important;
|
|
}
|
|
|
|
#detailDeleteBtn:hover {
|
|
color: #fff !important;
|
|
background: #ef4444 !important;
|
|
}
|
|
|
|
[data-theme="dark"] .post-actions .action-delete, [data-theme="dark"] #detailDeleteBtn {
|
|
color: #e8e8f0 !important;
|
|
background: #ef444426 !important;
|
|
}
|
|
|
|
[data-theme="dark"] .post-actions .action-delete:hover, [data-theme="dark"] #detailDeleteBtn:hover {
|
|
color: #fff !important;
|
|
background: #ef4444 !important;
|
|
}
|
|
|
|
#userProfileContent > div:first-child {
|
|
background: var(--glass-bg) !important;
|
|
-webkit-backdrop-filter: blur(16px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
border-radius: var(--radius) !important;
|
|
box-shadow: var(--glass-shadow) !important;
|
|
transition: all var(--transition) !important;
|
|
padding: 32px !important;
|
|
}
|
|
|
|
#userProfileContent .post-card {
|
|
background: var(--glass-bg) !important;
|
|
-webkit-backdrop-filter: blur(16px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
border-radius: var(--radius) !important;
|
|
box-shadow: var(--glass-shadow) !important;
|
|
transition: all var(--transition) !important;
|
|
}
|
|
|
|
#userProfileContent .post-card:hover {
|
|
box-shadow: var(--glass-shadow-hover) !important;
|
|
background: #ffffff47 !important;
|
|
transform: translateY(-2px) !important;
|
|
}
|
|
|
|
[data-theme="light"] #userProfileContent > div:first-child {
|
|
background: #ffffff80 !important;
|
|
}
|
|
|
|
[data-theme="dark"] #userProfileContent > div:first-child {
|
|
background: var(--glass-bg) !important;
|
|
}
|
|
|
|
[data-theme="light"] .dropdown-menu, [data-theme="dark"] .dropdown-menu {
|
|
background: var(--glass-bg) !important;
|
|
-webkit-backdrop-filter: blur(20px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
box-shadow: var(--glass-shadow) !important;
|
|
}
|
|
|
|
[data-theme="light"] .dropdown-menu {
|
|
-webkit-backdrop-filter: blur(16px) !important;
|
|
background: #ffffffbf !important;
|
|
border: 1px solid #fff9 !important;
|
|
box-shadow: 0 8px 32px #00000014 !important;
|
|
}
|
|
|
|
[data-theme="dark"] .dropdown-menu {
|
|
-webkit-backdrop-filter: blur(16px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
box-shadow: var(--glass-shadow) !important;
|
|
background: #1e1e32cc !important;
|
|
}
|
|
|
|
.dropdown-menu a:hover {
|
|
background: #0000000d !important;
|
|
}
|
|
|
|
[data-theme="dark"] .dropdown-menu a:hover {
|
|
background: #ffffff14 !important;
|
|
}
|
|
|
|
.reply-delete-btn {
|
|
color: #1a1a2e !important;
|
|
border-radius: var(--radius-sm) !important;
|
|
cursor: pointer !important;
|
|
white-space: nowrap !important;
|
|
background: #ef444414 !important;
|
|
border: 1.5px solid #ef4444 !important;
|
|
padding: 2px 10px !important;
|
|
font-size: 12px !important;
|
|
font-weight: 500 !important;
|
|
transition: all .2s !important;
|
|
}
|
|
|
|
.reply-delete-btn:hover {
|
|
color: #fff !important;
|
|
background: #ef4444 !important;
|
|
}
|
|
|
|
[data-theme="dark"] .reply-delete-btn {
|
|
color: #e8e8f0 !important;
|
|
background: #ef444426 !important;
|
|
}
|
|
|
|
[data-theme="dark"] .reply-delete-btn:hover {
|
|
color: #fff !important;
|
|
background: #ef4444 !important;
|
|
}
|
|
|
|
.post-content a, .reply-content a, .post-detail-card a, #pagePost .post-content a, #pagePost .reply-content a {
|
|
text-underline-offset: 2px;
|
|
transition: color .2s;
|
|
color: var(--primary) !important;
|
|
text-decoration: underline !important;
|
|
}
|
|
|
|
.post-content a:hover, .reply-content a:hover, .post-detail-card a:hover, #pagePost .post-content a:hover, #pagePost .reply-content a:hover {
|
|
color: var(--primary-hover) !important;
|
|
}
|
|
|
|
.post-content a:visited, .reply-content a:visited, .post-detail-card a:visited, #pagePost .post-content a:visited, #pagePost .reply-content a:visited {
|
|
color: var(--primary) !important;
|
|
}
|
|
|
|
[data-theme="dark"] .post-content a, [data-theme="dark"] .reply-content a, [data-theme="dark"] .post-detail-card a, [data-theme="dark"] #pagePost .post-content a, [data-theme="dark"] #pagePost .reply-content a, [data-theme="dark"] .post-content a:visited, [data-theme="dark"] .reply-content a:visited, [data-theme="dark"] .post-detail-card a:visited, [data-theme="dark"] #pagePost .post-content a:visited, [data-theme="dark"] #pagePost .reply-content a:visited {
|
|
color: var(--primary-light) !important;
|
|
}
|
|
|
|
#navbar a, .dropdown-menu a, .admin-nav a, .admin-nav-item, .back-btn, .btn-ghost, .btn-primary, .btn-secondary, .btn-danger, .btn-success, .btn-sm, a.btn-ghost, a.btn-primary, a.btn-secondary {
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
#feed .post-content {
|
|
max-height: 5.1em;
|
|
line-height: 1.7;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#feed .post-content.has-fade {
|
|
-webkit-mask-image: linear-gradient(#000 55%, #0000 100%);
|
|
mask-image: linear-gradient(#000 55%, #0000 100%);
|
|
}
|
|
|
|
.loading-screen {
|
|
z-index: 99999;
|
|
background: linear-gradient(145deg, var(--bg-start) 0%, var(--bg-end) 100%);
|
|
transition: background var(--transition);
|
|
justify-content: center;
|
|
align-items: center;
|
|
display: flex;
|
|
position: fixed;
|
|
inset: 0;
|
|
}
|
|
|
|
.loading-inner {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 16px;
|
|
display: flex;
|
|
}
|
|
|
|
.loading-title-appear {
|
|
animation: .6s ease-out titleFadeIn;
|
|
}
|
|
|
|
@keyframes titleFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.loading-spinner {
|
|
border: 4px solid var(--border);
|
|
border-top-color: var(--primary);
|
|
border-radius: 50%;
|
|
width: 44px;
|
|
height: 44px;
|
|
animation: .8s linear infinite spin;
|
|
}
|
|
|
|
.loading-title {
|
|
color: var(--text);
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.loading-sub {
|
|
color: var(--text-light);
|
|
font-size: 13px;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.app-fade-in {
|
|
animation: .4s ease-out appFadeIn;
|
|
}
|
|
|
|
@keyframes appFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.post-content code, .reply-content code {
|
|
color: var(--glass-text);
|
|
background: #5b9bd51f;
|
|
border-radius: 4px;
|
|
padding: 2px 6px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: .9em;
|
|
}
|
|
|
|
.post-content pre {
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
background: #0f0f1abf;
|
|
margin: 10px 0;
|
|
padding: 12px 14px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.post-content pre code {
|
|
color: #e8e8f0;
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.post-content blockquote {
|
|
border-left: 3px solid var(--primary);
|
|
color: var(--glass-text-secondary);
|
|
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
|
background: #5b9bd514;
|
|
margin: 10px 0;
|
|
padding: 4px 14px;
|
|
}
|
|
|
|
.post-content img {
|
|
border-radius: var(--radius-sm);
|
|
max-width: 100%;
|
|
}
|
|
|
|
.post-content ul, .post-content ol {
|
|
margin: 8px 0;
|
|
padding-left: 24px;
|
|
}
|
|
|
|
.post-content table {
|
|
border-collapse: collapse;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.post-content th, .post-content td {
|
|
border: 1px solid var(--glass-border);
|
|
padding: 6px 12px;
|
|
}
|
|
|
|
.post-content h1, .post-content h2, .post-content h3, .post-content h4 {
|
|
color: var(--glass-text);
|
|
margin: 14px 0 8px;
|
|
}
|
|
|
|
.post-content hr {
|
|
border: none;
|
|
border-top: 1px solid var(--glass-border);
|
|
margin: 14px 0;
|
|
}
|
|
|
|
#adminContent {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
}
|
|
|
|
#adminContent table {
|
|
table-layout: auto !important;
|
|
width: 100% !important;
|
|
min-width: 100% !important;
|
|
}
|
|
|
|
#adminContent th, #adminContent td {
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
#adminContent td:first-child, #adminContent td:nth-child(2) {
|
|
white-space: normal !important;
|
|
}
|
|
|
|
.toast-container {
|
|
z-index: 100000;
|
|
pointer-events: none;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
display: flex;
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
}
|
|
|
|
.toast {
|
|
pointer-events: auto;
|
|
min-width: 200px;
|
|
max-width: 340px;
|
|
color: var(--glass-text);
|
|
border: 1px solid var(--glass-border);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
cursor: pointer;
|
|
border-radius: 10px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 18px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
animation: .25s cubic-bezier(.22, 1, .36, 1) toastIn;
|
|
display: flex;
|
|
box-shadow: 0 8px 32px #0003;
|
|
}
|
|
|
|
.toast-success {
|
|
background: #ffffffd9;
|
|
border-color: #22c55e;
|
|
}
|
|
|
|
.toast-error {
|
|
background: #ffffffd9;
|
|
border-color: #ef4444;
|
|
}
|
|
|
|
.toast-warning {
|
|
background: #ffffffd9;
|
|
border-color: #f59e0b;
|
|
}
|
|
|
|
.toast-success svg {
|
|
color: #22c55e;
|
|
}
|
|
|
|
.toast-error svg {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.toast-warning svg {
|
|
color: #f59e0b;
|
|
}
|
|
|
|
[data-theme="dark"] .toast {
|
|
background: #1e1e32d9;
|
|
}
|
|
|
|
.toast.closing {
|
|
animation: .22s ease-in forwards toastOut;
|
|
}
|
|
|
|
@keyframes toastIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(24px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
@keyframes toastOut {
|
|
from {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
transform: translateX(24px);
|
|
}
|
|
}
|
|
|
|
.modal.closing {
|
|
pointer-events: none;
|
|
animation: .32s ease-in forwards modalFadeOut;
|
|
display: flex;
|
|
}
|
|
|
|
@keyframes modalFadeOut {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.modal.closing .modal-content {
|
|
animation: .32s cubic-bezier(.4, 0, 1, 1) forwards modalContentOut;
|
|
}
|
|
|
|
@keyframes modalContentOut {
|
|
from {
|
|
opacity: 1;
|
|
transform: translateY(0)scale(1);
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
transform: translateY(12px)scale(.9);
|
|
}
|
|
}
|
|
|
|
.feedback-confirm {
|
|
z-index: 100001;
|
|
}
|
|
|
|
.feedback-confirm .modal-content {
|
|
background: var(--modal-bg);
|
|
max-width: 440px;
|
|
}
|
|
|
|
.feedback-confirm .modal-content p {
|
|
color: var(--glass-text-secondary);
|
|
overflow-wrap: anywhere;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.feedback-confirm-actions {
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 24px;
|
|
display: flex;
|
|
}
|
|
|
|
.feedback-confirm-actions button {
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
padding: 9px 18px;
|
|
}
|
|
|
|
.feedback-confirm-actions .btn-danger {
|
|
color: #fff;
|
|
background: #dc2626;
|
|
border: 1px solid #ef444480;
|
|
}
|
|
|
|
.settings-nav-item {
|
|
color: var(--glass-text-secondary);
|
|
transition: all var(--transition);
|
|
cursor: pointer;
|
|
border-left: 3px solid #0000;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 18px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
display: flex;
|
|
}
|
|
|
|
.settings-nav-item:hover {
|
|
color: var(--glass-text);
|
|
background: #ffffff26;
|
|
}
|
|
|
|
.settings-nav-item.active {
|
|
color: var(--primary);
|
|
border-left-color: var(--primary);
|
|
background: #fff3;
|
|
}
|
|
|
|
.settings-nav-item .nav-icon {
|
|
flex-shrink: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 24px;
|
|
display: flex;
|
|
}
|
|
|
|
.settings-nav-item .nav-icon svg {
|
|
stroke: currentColor;
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.settings-layout {
|
|
max-width: none !important;
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
}
|
|
|
|
.settings-sidebar {
|
|
position: sticky;
|
|
top: 84px;
|
|
background: var(--glass-bg) !important;
|
|
-webkit-backdrop-filter: blur(16px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
border-radius: var(--radius) !important;
|
|
box-shadow: var(--glass-shadow) !important;
|
|
padding: 8px 0 !important;
|
|
}
|
|
|
|
.settings-content {
|
|
overflow-wrap: anywhere;
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
background: var(--glass-bg) !important;
|
|
-webkit-backdrop-filter: blur(16px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
border-radius: var(--radius) !important;
|
|
width: calc(100% - 228px) !important;
|
|
max-width: none !important;
|
|
box-shadow: var(--glass-shadow) !important;
|
|
padding: 20px 24px !important;
|
|
}
|
|
|
|
.settings-content > *, .settings-content [data-panel] {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.language-toggle {
|
|
width: 220px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.language-toggle .tab {
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.settings-layout {
|
|
flex-direction: column;
|
|
gap: 12px !important;
|
|
}
|
|
|
|
.settings-sidebar {
|
|
position: static;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.settings-nav {
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
.settings-nav-item {
|
|
text-align: center;
|
|
white-space: normal;
|
|
border-bottom: 3px solid #0000;
|
|
border-left: 0;
|
|
flex: 1 1 0;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
padding: 8px 6px;
|
|
}
|
|
|
|
.settings-nav-item.active {
|
|
border-left-color: #0000;
|
|
border-bottom-color: var(--primary);
|
|
border-top-left-radius: 8px;
|
|
border-top-right-radius: 8px;
|
|
}
|
|
|
|
.settings-content {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
|
|
.settings-content [style*="background:var(--surface)"] {
|
|
border: 1px solid var(--glass-border) !important;
|
|
border-radius: var(--radius-sm) !important;
|
|
-webkit-backdrop-filter: blur(8px) !important;
|
|
background: #ffffff14 !important;
|
|
}
|
|
|
|
.settings-content input, .settings-content textarea, .settings-content select {
|
|
-webkit-backdrop-filter: blur(8px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
border-radius: var(--radius-sm) !important;
|
|
color: var(--glass-text) !important;
|
|
transition: all var(--transition) !important;
|
|
background: #ffffff1f !important;
|
|
width: 100% !important;
|
|
padding: 8px 12px !important;
|
|
font-family: inherit !important;
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.settings-content input:focus, .settings-content textarea:focus, .settings-content select:focus {
|
|
border-color: var(--primary) !important;
|
|
box-shadow: 0 0 0 3px var(--primary-glow) !important;
|
|
background: #ffffff40 !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
.settings-content input::placeholder, .settings-content textarea::placeholder {
|
|
color: var(--glass-text-light) !important;
|
|
}
|
|
|
|
.settings-content .btn-secondary {
|
|
background: var(--glass-bg) !important;
|
|
-webkit-backdrop-filter: blur(8px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
color: var(--glass-text-secondary) !important;
|
|
}
|
|
|
|
.settings-content .btn-secondary:hover {
|
|
color: var(--glass-text) !important;
|
|
background: #fff3 !important;
|
|
}
|
|
|
|
.settings-content .btn-primary {
|
|
background: var(--glass-bg) !important;
|
|
-webkit-backdrop-filter: blur(12px) !important;
|
|
border: 1px solid var(--glass-border) !important;
|
|
color: var(--glass-text) !important;
|
|
}
|
|
|
|
.settings-content .btn-primary:hover {
|
|
background: #ffffff40 !important;
|
|
}
|
|
|
|
.settings-content img[style*="border-radius:50%"] {
|
|
border-color: var(--glass-border) !important;
|
|
}
|
|
|
|
[data-theme="dark"] .settings-sidebar {
|
|
border-color: var(--glass-border) !important;
|
|
background: #181826 !important;
|
|
}
|
|
|
|
[data-theme="dark"] .settings-nav-item:hover {
|
|
background: #ffffff14 !important;
|
|
}
|
|
|
|
[data-theme="dark"] .settings-nav-item.active {
|
|
color: var(--primary) !important;
|
|
background: #ffffff1f !important;
|
|
}
|
|
|
|
[data-theme="dark"] .settings-nav-item .nav-icon svg {
|
|
stroke: var(--glass-text-secondary);
|
|
}
|
|
|
|
[data-theme="dark"] .settings-nav-item.active .nav-icon svg {
|
|
stroke: var(--primary);
|
|
}
|
|
|
|
[data-theme="dark"] .settings-content {
|
|
border-color: var(--glass-border) !important;
|
|
background: #181826 !important;
|
|
}
|
|
|
|
[data-theme="dark"] .settings-content input, [data-theme="dark"] .settings-content textarea, [data-theme="dark"] .settings-content select {
|
|
color: var(--glass-text) !important;
|
|
border-color: var(--glass-border) !important;
|
|
background: #ffffff0f !important;
|
|
}
|
|
|
|
#pagePost .post-page-layout {
|
|
align-items: start !important;
|
|
gap: 28px !important;
|
|
width: 100% !important;
|
|
max-width: 1200px !important;
|
|
margin: 0 auto !important;
|
|
display: flex !important;
|
|
}
|
|
|
|
#pagePost #postSidebar {
|
|
flex: 0 0 240px !important;
|
|
align-self: start !important;
|
|
width: 240px !important;
|
|
min-width: 240px !important;
|
|
display: block !important;
|
|
}
|
|
|
|
#pagePost .post-page-main {
|
|
flex: 1 1 0 !important;
|
|
width: 100% !important;
|
|
min-width: 0 !important;
|
|
display: block !important;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
#pagePost .post-page-layout {
|
|
max-width: none !important;
|
|
display: block !important;
|
|
}
|
|
|
|
#pagePost #postSidebar {
|
|
display: none !important;
|
|
}
|
|
|
|
#pagePost .post-page-main {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
|
|
.spinner-sm {
|
|
border: 2px solid var(--glass-border);
|
|
border-top-color: var(--primary);
|
|
vertical-align: -3px;
|
|
border-radius: 50%;
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-right: 8px;
|
|
animation: .8s linear infinite spin;
|
|
display: inline-block;
|
|
}
|
|
|
|
.replies-drawer {
|
|
grid-template-rows: 0fr;
|
|
transition: grid-template-rows .45s cubic-bezier(.22, 1, .36, 1);
|
|
display: grid;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.replies-drawer.open {
|
|
grid-template-rows: 1fr;
|
|
}
|
|
|
|
.replies-drawer > .replies-drawer-inner {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.replies-toggle {
|
|
color: var(--primary);
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 6px;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 10px;
|
|
font-size: 14px;
|
|
transition: background .2s;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.replies-toggle:hover {
|
|
background: var(--primary-bg);
|
|
}
|
|
|
|
.replies-toggle .chev {
|
|
transition: transform .35s cubic-bezier(.22, 1, .36, 1);
|
|
}
|
|
|
|
.replies-toggle.open .chev {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.post-header {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.post-detail-controls {
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
width: 100%;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.post-detail-controls .btn-sm {
|
|
white-space: nowrap;
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
.reply-btn {
|
|
cursor: pointer;
|
|
color: var(--text-light);
|
|
opacity: .5;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 4px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-left: 4px;
|
|
padding: 4px 6px;
|
|
transition: opacity .15s, background .15s, color .15s;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.reply-btn:hover {
|
|
opacity: 1;
|
|
background: var(--glass-bg);
|
|
color: var(--primary);
|
|
}
|
|
|
|
@media (hover: none) {
|
|
.reply-btn {
|
|
opacity: .8;
|
|
}
|
|
}
|
|
|
|
.reply-preview-bar {
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text-light);
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
padding: 4px 0 8px;
|
|
font-size: 13px;
|
|
display: flex;
|
|
}
|
|
|
|
.reply-preview-bar strong {
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.reply-preview-cancel {
|
|
border: 1px solid var(--border);
|
|
cursor: pointer;
|
|
color: var(--text-light);
|
|
background: none;
|
|
border-radius: 4px;
|
|
margin-left: auto;
|
|
padding: 2px 10px;
|
|
font-size: 12px;
|
|
transition: all .15s;
|
|
}
|
|
|
|
.reply-preview-cancel:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.post-detail-card {
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.reply-header {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
.custom-page-container {
|
|
z-index: 40 !important;
|
|
background: none !important;
|
|
width: 100vw !important;
|
|
height: calc(100vh - 64px) !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
position: fixed !important;
|
|
top: 64px !important;
|
|
left: 0 !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.custom-page-container iframe {
|
|
background: none !important;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: block !important;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.custom-page-container {
|
|
height: calc(100vh - 56px) !important;
|
|
top: 56px !important;
|
|
}
|
|
}
|
|
|
|
/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/ |