Spaces:
Paused

yaz / src /static /css /app-dashboard.css
anaselamr's picture
fix: brand Yaz, Surgio UI/UX auto-load feed + search + blocked_count
d80907b
Raw History Blame Contribute Delete
6.81 kB
/* ─────────────────────────────────────────────────────────────
* app-dashboard.css — YAZ Standalone App Dashboard
* Used by: shared/app_dashboard.html
* ─────────────────────────────────────────────────────────── */
:root {
--bg: #ffffff;
--surface: #f8f9fa;
--border: #e9ecef;
--text: #000000;
--text-muted: #6c757d;
--accent: #000000;
--accent-hover: #333333;
--shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
--radius: 8px;
--header-height: 60px;
}
[data-theme="dark"] {
--bg: #000000;
--surface: #111111;
--border: #222222;
--text: #ffffff;
--text-muted: #999999;
--accent: #ffffff;
--accent-hover: #dddddd;
--shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.6;
color: var(--text);
background: var(--bg);
min-height: 100vh;
display: flex;
flex-direction: column;
transition: background-color 0.15s ease, color 0.15s ease;
}
header {
height: var(--header-height);
background: var(--bg);
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
z-index: 100;
}
nav {
max-width: 1200px;
margin: 0 auto;
height: 100%;
padding: 0 2rem;
display: flex;
align-items: center;
gap: 1rem;
}
.back {
color: var(--text);
text-decoration: none;
font-size: 20px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid var(--border);
border-radius: var(--radius);
transition: background 0.12s, border-color 0.12s;
}
.back:hover {
background: var(--surface);
border-color: var(--text);
}
.app-info {
display: flex;
align-items: center;
gap: 0.75rem;
flex: 1;
}
.app-title {
font-size: 16px;
font-weight: 500;
letter-spacing: -0.5px;
}
.app-desc {
font-size: 13px;
color: var(--text-muted);
}
.controls {
display: flex;
align-items: center;
gap: 16px;
}
.btn {
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid var(--border);
background: transparent;
border-radius: var(--radius);
cursor: pointer;
color: var(--text);
transition: background 0.12s, border-color 0.12s;
}
.btn:hover {
background: var(--surface);
border-color: var(--text);
}
.btn svg {
width: 16px;
height: 16px;
}
main {
flex: 1;
max-width: 1200px;
margin: 0 auto;
padding: 4rem 2rem;
width: 100%;
}
.section-title {
font-size: 14px;
font-weight: 500;
letter-spacing: 0.05em;
text-transform: uppercase;
margin-bottom: 1.5rem;
color: var(--text-muted);
}
.metrics {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 1px;
background: var(--border);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
margin-bottom: 4rem;
}
.card {
background: var(--surface);
padding: 2rem;
transition: background 0.15s;
}
.card:hover {
background: var(--bg);
}
.card-label {
font-size: 13px;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
.card-value {
font-size: 28px;
font-weight: 600;
letter-spacing: -0.02em;
}
.trend {
font-size: 12px;
font-weight: 500;
margin-top: 0.25rem;
}
.trend.up {
color: #10b981;
}
.trend.down {
color: #ef4444;
}
.features {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 1px;
background: var(--border);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.feature {
background: var(--surface);
padding: 2rem;
transition: background 0.15s;
}
.feature:hover {
background: var(--bg);
}
.feature h3 {
font-size: 14px;
font-weight: 500;
margin-bottom: 0.5rem;
}
.feature p {
font-size: 13px;
color: var(--text-muted);
line-height: 1.5;
}
footer {
background: var(--bg);
border-top: 1px solid var(--border);
padding: 2rem;
text-align: center;
color: var(--text-muted);
font-size: 12px;
}
footer a {
color: var(--text);
text-decoration: none;
transition: opacity 0.15s;
}
footer a:hover {
opacity: 0.6;
}
@media (max-width: 768px) {
nav {
padding: 0 1rem;
}
main {
padding: 2rem 1rem;
}
.metrics,
.features {
grid-template-columns: 1fr;
}
}