FlagshipAi / Suite /app /static /suite.css
Ali2206's picture
Deploy Flagship AI Space (Docker, clean)
07afba2
:root{--bg:#f7f7f8;--surface:#ffffff;--text:#0f172a;--muted:#6b7280;--border:#e5e7eb;--brand:#111827;--radius:12px;--space-1:8px;--space-2:12px;--space-3:16px;--space-4:24px;--space-5:32px;--shadow-1:0 1px 2px rgba(0,0,0,.05),0 2px 6px rgba(0,0,0,.08)}
*{box-sizing:border-box}
body{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);margin:0}
/* Enforce consistent page width across apps */
.container{max-width:1200px !important;margin:0 auto !important;padding:var(--space-5) var(--space-5) !important}
/* Normalize any *container* wrappers used by pages */
[class*="container"]{max-width:1200px !important;margin:0 auto !important}
/* Global headings spacing/size */
h1{font-size:32px;line-height:1.25;margin:0 0 var(--space-3) 0;font-weight:800}
h2{font-size:22px;line-height:1.3;margin:var(--space-3) 0 var(--space-2) 0;font-weight:700}
p{margin:0 0 var(--space-2) 0}
/* Shared header styles */
.site-header{position:sticky;top:0;background:var(--surface);border-bottom:1px solid var(--border);z-index:1001}
.site-header .nav{display:flex;align-items:center;justify-content:space-between;max-width:1200px !important;margin:0 auto;padding:12px 24px}
.site-header .brand{font-weight:800;font-size:18px}
.site-header .brand a{text-decoration:none;color:var(--text)}
.site-header .links{display:flex;gap:12px;flex-wrap:nowrap;overflow:visible;white-space:nowrap;scrollbar-width:none;-ms-overflow-style:none;position:relative}
.site-header .links::-webkit-scrollbar{display:none}
.site-header .links a{text-decoration:none;color:var(--muted);padding:6px 8px;border-radius:8px;font-size:14px;font-weight:600;line-height:1;flex:0 0 auto}
/* Hide direct link items when using Agents dropdown */
.site-header .links>a{display:none}
.site-header .more{position:relative;flex:0 0 auto}
.site-header .more-btn{appearance:none;border:0;background:#f3f4f6;color:#111827;padding:6px 10px;border-radius:8px;font-weight:700;cursor:pointer}
.site-header .more-btn:hover{background:#e5e7eb}
.site-header .more-menu{position:absolute;right:0;top:36px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-1);min-width:200px;display:none;padding:6px;z-index:1000}
.site-header .more[aria-expanded="true"] .more-menu{display:block}
/* Fallback: open on hover/focus without JS */
.site-header .more:hover .more-menu,.site-header .more:focus-within .more-menu{display:block}
.site-header .more-menu a{display:block;padding:8px 10px;border-radius:8px;text-decoration:none;color:#111827;font-weight:600}
.site-header .more-menu a:hover{background:#f3f4f6}
.site-header .links a:hover{background:#f3f4f6;color:var(--text)}
.site-header .links a:visited{color:var(--muted)}
.site-header .links a.active,.site-header .links a[aria-current="page"]{background:#eef2ff;color:var(--text)}
/* Common components */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:var(--space-4);box-shadow:var(--shadow-1)}
.btn{appearance:none;border:0;border-radius:10px;padding:10px 16px;font-weight:600;cursor:pointer;background:var(--brand);color:#fff}
.grid{display:grid;gap:var(--space-3)}
.muted{color:var(--muted)}
pre{white-space:pre-wrap;background:#fafafa;border:1px dashed var(--border);padding:var(--space-2);border-radius:8px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{border:1px solid var(--border);padding:10px;text-align:left}
.table thead th{background:#f8fafc;position:sticky;top:0}
/* Form elements */
label{display:block;font-weight:600;margin:6px 0 6px 0}
input[type="text"],input[type="number"],input[type="color"],input[type="file"],input[type="email"],input[type="url"],textarea,select{
width:100%;
appearance:none;
border:1px solid var(--border);
background:#fff;
color:var(--text);
border-radius:10px;
padding:10px 12px;
outline:none;
transition:border-color .15s ease, box-shadow .15s ease;
}
textarea{min-height:110px;resize:vertical}
input:focus,textarea:focus,select:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,0.15)}
input::placeholder,textarea::placeholder{color:#9ca3af}
.form-row{display:flex;gap:12px;flex-wrap:wrap}
.form-row>*{flex:1 1 260px}
.help{font-size:13px;color:var(--muted)}