mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 16:10:43 +00:00
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
91 lines
2.5 KiB
CSS
91 lines
2.5 KiB
CSS
/* Shared styles for the OpenObserve RUM CDN sample site */
|
|
:root { color-scheme: light dark; }
|
|
* { box-sizing: border-box; }
|
|
body {
|
|
margin: 0;
|
|
font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
|
|
line-height: 1.5;
|
|
background: #0b0c0e;
|
|
color: #e6e7e9;
|
|
}
|
|
|
|
/* Primary navigation (shared across pages) */
|
|
.site-nav {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
align-items: center;
|
|
padding: 0.75rem 1.25rem;
|
|
background: #111317;
|
|
border-bottom: 1px solid #26282d;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
.site-nav .brand {
|
|
font-weight: 700;
|
|
margin-right: 1rem;
|
|
color: #f59e0b;
|
|
}
|
|
.site-nav a {
|
|
color: #c7cad0;
|
|
text-decoration: none;
|
|
padding: 0.4rem 0.7rem;
|
|
border-radius: 0.5rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
.site-nav a:hover { background: #1c1f24; }
|
|
.site-nav a[aria-current="page"] { background: #23262c; color: #fff; }
|
|
|
|
main { max-width: 48rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
|
|
h1 { font-size: 1.5rem; margin: 0 0 0.25rem; }
|
|
p.sub { margin: 0 0 1.5rem; color: #9aa0a6; }
|
|
|
|
section {
|
|
background: #16181c;
|
|
border: 1px solid #26282d;
|
|
border-radius: 0.75rem;
|
|
padding: 1.25rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
h2 { font-size: 1rem; margin: 0 0 0.75rem; }
|
|
|
|
.row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
|
|
button {
|
|
cursor: pointer;
|
|
border: 1px solid #3a3d44;
|
|
background: #23262c;
|
|
color: #e6e7e9;
|
|
padding: 0.55rem 0.9rem;
|
|
border-radius: 0.5rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
button:hover { background: #2c2f36; }
|
|
button.primary { background: #f59e0b; color: #1a1a1a; border-color: #f59e0b; }
|
|
|
|
input, textarea {
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: 0.5rem;
|
|
border: 1px solid #3a3d44;
|
|
background: #0f1114;
|
|
color: #e6e7e9;
|
|
min-width: 14rem;
|
|
font: inherit;
|
|
}
|
|
label { display: block; font-size: 0.8125rem; color: #9aa0a6; margin-bottom: 0.25rem; }
|
|
.field { margin-bottom: 0.9rem; }
|
|
|
|
#status, .status {
|
|
margin-top: 0.75rem;
|
|
font-size: 0.8125rem;
|
|
color: #9aa0a6;
|
|
white-space: pre-wrap;
|
|
}
|
|
code { background: #0f1114; padding: 0.1rem 0.35rem; border-radius: 0.3rem; }
|
|
|
|
/* Product grid */
|
|
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1rem; }
|
|
.card { background: #16181c; border: 1px solid #26282d; border-radius: 0.75rem; padding: 1rem; }
|
|
.card h3 { margin: 0 0 0.25rem; font-size: 0.95rem; }
|
|
.card .price { color: #f59e0b; font-weight: 600; margin: 0.25rem 0 0.75rem; }
|
|
.badge { display: inline-block; background: #23262c; border-radius: 1rem; padding: 0.15rem 0.6rem; font-size: 0.75rem; }
|