Spaces:
Sleeping
Sleeping
File size: 10,197 Bytes
9ce761c ca761ad 9ce761c ca761ad 9ce761c ca761ad 9ce761c ceacbf1 0c0259c ceacbf1 0c0259c ceacbf1 0c0259c ceacbf1 0c0259c ceacbf1 0c0259c ceacbf1 0c0259c ceacbf1 0c0259c ceacbf1 50b69ba | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 | /* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
* app-shell.css β shared chrome for Admin and Analytics pages
*
* Both pages get the same brand mark, same nav links, same action
* buttons, same tab style. Page-specific content lives below in
* their respective stylesheets.
*
* Layout primitives:
* .app-page full-viewport page background
* .app-header sticky top chrome
* .app-header-row one 48px row inside the header
* .app-brand "APE Β· <page name>" wordmark
* .app-brand-dot thin divider between APE and page name
* .app-tabs / .app-tab / .app-tab.active
* .app-link quiet cross-nav link (Chat / Admin / Analytics)
* .app-actions right-aligned button cluster
* .btn-text standard secondary button
* .btn-text-emphasis primary-color filled button
* .app-main page content container, max-width 1200px
* ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.app-page {
min-height: 100vh;
background: var(--bg);
color: var(--text);
font-size: 14px;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* ββ Header βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.app-header {
position: sticky;
top: 0;
z-index: 10;
background: var(--surface);
border-bottom: 1px solid var(--border);
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.app-header-row {
display: flex;
align-items: center;
padding: 0 24px;
height: 48px;
gap: 16px;
}
.app-header-row + .app-header-row {
border-top: 1px solid var(--border);
background: var(--bg);
height: 44px;
gap: 12px;
}
/* ββ Brand mark βββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.app-brand {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 13.5px;
font-weight: 600;
letter-spacing: -0.005em;
color: var(--text);
flex-shrink: 0;
padding-right: 14px;
margin-right: 6px;
border-right: 1px solid var(--border);
height: 28px;
line-height: 28px;
}
.app-brand-name {
color: var(--primary);
font-weight: 700;
letter-spacing: 0.02em;
}
.app-brand-dot {
color: var(--border-strong);
font-weight: 400;
margin: 0 2px;
}
.app-brand-page {
color: var(--text);
font-weight: 500;
}
/* ββ Tabs βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.app-tabs {
display: inline-flex;
align-items: center;
gap: 0;
margin: 0;
padding: 0;
border: none;
height: 48px; /* match the header row so no stray scrollbar */
overflow-x: auto;
overflow-y: hidden; /* prevent the vertical scrollbar artifact */
scrollbar-width: none; /* hide the scrollbar entirely (Firefox) */
-ms-overflow-style: none; /* hide (old Edge) */
flex: 1;
min-width: 0;
}
.app-tabs::-webkit-scrollbar { display: none; } /* hide (Chrome/Safari) */
.app-tab {
display: inline-flex;
align-items: center;
padding: 0 14px;
height: 47px; /* matches header row minus 1px border */
background: transparent;
border: none;
border-bottom: 2px solid transparent;
font-family: inherit;
font-size: 13px;
font-weight: 500;
color: var(--text-secondary);
cursor: pointer;
white-space: nowrap;
transition: color 0.12s, border-color 0.12s;
margin-bottom: -1px;
}
.app-tab:hover { color: var(--text); }
.app-tab.active {
color: var(--primary);
border-bottom-color: var(--primary);
font-weight: 600;
}
/* ββ Right-side action cluster ββββββββββββββββββββββββββββββββββββββββ */
.app-actions {
display: inline-flex;
align-items: center;
gap: 4px;
margin-left: auto;
flex-shrink: 0;
}
/* Quiet cross-nav link */
.app-link {
color: var(--text-secondary);
text-decoration: none;
font-size: 12.5px;
font-weight: 500;
padding: 6px 10px;
border-radius: var(--radius-sm);
transition: color 0.12s, background 0.12s;
}
.app-link:hover {
color: var(--text);
background: var(--bg);
}
/* Standard action button (text, low weight) */
.btn-text {
background: transparent;
border: 1px solid var(--border);
color: var(--text-secondary);
font-size: 12.5px;
font-weight: 500;
font-family: inherit;
padding: 5px 12px;
border-radius: var(--radius-sm);
cursor: pointer;
transition: background 0.12s, color 0.12s, border-color 0.12s;
white-space: nowrap;
line-height: 1.2;
}
.btn-text:hover:not(:disabled) {
background: var(--bg);
color: var(--text);
border-color: var(--border-strong);
}
.btn-text:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.btn-text-emphasis {
background: var(--primary);
color: var(--primary-fg);
border-color: var(--primary);
}
.btn-text-emphasis:hover:not(:disabled) {
background: var(--primary-hover);
border-color: var(--primary-hover);
color: var(--primary-fg);
}
/* ββ Main content container βββββββββββββββββββββββββββββββββββββββββββ */
.app-main {
max-width: 1200px;
margin: 0 auto;
padding: 24px 24px 64px;
}
/* ββ Responsive: stack tabs below brand on narrow screens βββββββββββββ */
@media (max-width: 900px) {
.app-header-row {
flex-wrap: wrap;
height: auto;
padding: 8px 16px;
}
.app-brand {
border-right: none;
margin-right: 0;
padding-right: 0;
}
.app-tabs {
width: 100%;
margin-top: 4px;
border-top: 1px solid var(--border);
padding-top: 4px;
}
}
/* ============================================================
Shared product chrome polish
============================================================ */
.app-page {
background:
linear-gradient(135deg, rgba(200, 122, 76, 0.06), transparent 36%),
linear-gradient(315deg, rgba(208, 138, 40, 0.06), transparent 30%),
var(--bg);
}
.app-header {
background: rgba(255, 255, 255, 0.82);
border-bottom-color: rgba(217, 213, 204, 0.74);
backdrop-filter: blur(14px);
box-shadow: 0 8px 30px rgba(45, 42, 38, 0.05);
}
.app-header-row {
min-height: 56px;
height: auto;
}
.app-header-row + .app-header-row {
background: rgba(250, 248, 244, 0.78);
min-height: 48px;
height: auto;
}
.app-brand {
height: 34px;
gap: 9px;
padding-right: 18px;
}
.app-brand-name {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: 9px;
background: linear-gradient(145deg, var(--primary), #e0975f);
color: #fff;
font-size: 12px;
letter-spacing: 0.04em;
box-shadow: 0 10px 22px rgba(200, 122, 76, 0.18);
}
.app-brand-page {
font-size: 14px;
font-weight: 650;
}
.app-tab {
height: 56px;
padding: 0 16px;
font-size: 13.5px;
border-bottom-width: 3px;
}
.app-tab.active {
color: var(--primary);
}
.app-link,
.btn-text {
min-height: 32px;
border-radius: var(--radius-md);
}
.btn-text {
background: rgba(255, 255, 255, 0.66);
border-color: var(--border);
}
.btn-text-emphasis {
background: linear-gradient(145deg, var(--primary), #e0975f);
box-shadow: 0 10px 22px rgba(200, 122, 76, 0.16);
}
.app-main {
max-width: 1320px;
padding-top: 30px;
}
/* ============================================================
Operator UI refresh
============================================================ */
.app-page {
--bg: #f5f7fb;
--bg-strong: #e8edf5;
--surface: #ffffff;
--surface-raised: #ffffff;
--surface-soft: #f8fafc;
--border: #dbe3ee;
--border-strong: #b8c4d4;
--text: #172033;
--text-secondary: #536173;
--muted: #788697;
--primary: #0f766e;
--primary-hover: #0b5f59;
--primary-fg: #ffffff;
--accent-soft: #e7f5f3;
--accent-warm: #fff3d9;
--secondary: #eef2f7;
--secondary-fg: #172033;
--danger: #c2413c;
--pos: #228b5e;
--neg: #c2413c;
--code-bg: #eef2f7;
--code-fg: #172033;
--radius-sm: 6px;
--radius-md: 8px;
--radius-lg: 8px;
--shadow-sm: 0 1px 2px rgba(23, 32, 51, 0.06);
--shadow-md: 0 8px 24px rgba(23, 32, 51, 0.08);
--shadow-lg: 0 18px 42px rgba(23, 32, 51, 0.12);
background: #f5f7fb;
}
.app-header {
background: rgba(255, 255, 255, 0.94);
border-bottom-color: var(--border);
box-shadow: 0 1px 0 rgba(23, 32, 51, 0.04), 0 12px 32px rgba(23, 32, 51, 0.06);
}
.app-header-row {
min-height: 58px;
}
.app-header-row + .app-header-row {
min-height: 54px;
background: rgba(248, 250, 252, 0.92);
}
.app-brand {
border-right-color: var(--border);
}
.app-brand-name {
width: 32px;
height: 32px;
border-radius: 8px;
background: #0f766e;
color: #fff;
box-shadow: none;
}
.app-brand-page {
color: var(--text);
font-size: 14px;
font-weight: 700;
}
.app-tabs {
gap: 6px;
height: auto;
padding: 8px 0;
}
.app-tab {
height: 34px;
padding: 0 12px;
border: 1px solid transparent;
border-radius: 8px;
color: var(--text-secondary);
font-size: 13px;
}
.app-tab:hover {
background: #eef2f7;
color: var(--text);
}
.app-tab.active {
background: #e7f5f3;
border-color: #b7ded9;
color: #0f766e;
box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.05);
}
.app-link,
.btn-text {
border-radius: 8px;
}
.app-link:hover,
.btn-text:hover:not(:disabled) {
background: #eef2f7;
}
.btn-text-emphasis {
background: #0f766e;
border-color: #0f766e;
box-shadow: none;
}
.btn-text-emphasis:hover:not(:disabled) {
background: #0b5f59;
border-color: #0b5f59;
}
.app-main {
max-width: 1360px;
padding: 26px 28px 72px;
}
|