Files
aigen/assets/css/main.css
T
TowstyandCursor c856d30b50 Stop the empty MP4 box from crushing the studio library.
With no clip loaded, the output frame no longer reserves a full video aspect, so the library list can scroll more than one card.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 22:50:38 -05:00

149 lines
2.6 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
color-scheme: dark;
}
html,
body,
#__nuxt {
min-height: 100%;
max-width: 100%;
}
html {
overflow-x: clip;
}
body {
overflow-x: clip;
}
body {
font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
background:
radial-gradient(1200px 600px at 10% -10%, rgba(251, 191, 36, 0.08), transparent 50%),
radial-gradient(900px 500px at 100% 0%, rgba(56, 189, 248, 0.06), transparent 45%),
#09090b;
color: #e4e4e7;
}
img,
video,
textarea,
pre {
max-width: 100%;
}
textarea {
overflow-wrap: anywhere;
word-break: break-word;
}
.font-display {
font-family: Syne, 'IBM Plex Sans', sans-serif;
}
.glass {
background: rgba(24, 24, 27, 0.88);
border: 1px solid rgba(255, 255, 255, 0.06);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
@media (hover: hover) and (min-width: 768px) {
.glass {
background: rgba(24, 24, 27, 0.72);
backdrop-filter: blur(8px);
}
}
.progress-glow {
box-shadow: 0 0 24px rgba(251, 191, 36, 0.35);
}
.aigen-slider {
-webkit-appearance: none;
appearance: none;
height: 6px;
border-radius: 999px;
background: #27272a;
outline: none;
}
.aigen-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 16px;
height: 16px;
border-radius: 999px;
background: #fbbf24;
border: 0;
cursor: pointer;
box-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
}
.aigen-slider::-moz-range-track {
height: 6px;
border-radius: 999px;
background: #27272a;
}
.aigen-slider::-moz-range-thumb {
width: 16px;
height: 16px;
border-radius: 999px;
background: #fbbf24;
border: 0;
cursor: pointer;
}
.sensitive-glow {
background:
radial-gradient(circle at 50% 45%, rgba(251, 191, 36, 0.22), transparent 42%),
radial-gradient(circle at 50% 55%, rgba(244, 114, 182, 0.16), transparent 55%),
#09090b;
}
.library-thumb {
content-visibility: auto;
contain-intrinsic-size: auto 15rem;
}
.studio-library-card {
contain: none;
}
.family-nav {
display: flex;
height: 2.75rem;
width: 2.75rem;
align-items: center;
justify-content: center;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(9, 9, 11, 0.78);
color: #fde68a;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.family-nav:hover {
border-color: rgba(252, 211, 77, 0.55);
color: #fffbeb;
}
.family-nav-prev {
position: absolute;
left: 0.5rem;
top: 50%;
transform: translateY(-50%);
}
.family-nav-next {
position: absolute;
right: 0.5rem;
top: 50%;
transform: translateY(-50%);
}