Vendored Augani/openreel-video (MIT) into services/editor and wired it to the MAM. Editor runs as its own container on port 47435. Library assets pull in via ?asset=<uuid>; render exports route back via POST /api/v1/upload/simple. Sidebar Editor link on every page; Edit button on every preview modal. See services/editor/INTEGRATION.md for the patch map.
148 lines
3.6 KiB
CSS
148 lines
3.6 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap");
|
|
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&display=swap");
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
:root {
|
|
font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
|
|
sans-serif;
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
|
|
/* OpenReel custom colors */
|
|
--color-background: 255 255 255;
|
|
--color-background-secondary: 249 250 251;
|
|
--color-background-tertiary: 243 244 246;
|
|
--color-background-elevated: 229 231 235;
|
|
|
|
--color-text-primary: 24 24 27;
|
|
--color-text-secondary: 113 113 122;
|
|
--color-text-muted: 161 161 170;
|
|
|
|
--color-border: 228 228 231;
|
|
--color-border-hover: 212 212 216;
|
|
--color-border-active: 161 161 170;
|
|
|
|
/* shadcn/ui CSS variables */
|
|
--background: 0 0% 100%;
|
|
--foreground: 240 10% 3.9%;
|
|
--card: 0 0% 100%;
|
|
--card-foreground: 240 10% 3.9%;
|
|
--popover: 0 0% 100%;
|
|
--popover-foreground: 240 10% 3.9%;
|
|
--primary: 142 71% 45%;
|
|
--primary-foreground: 0 0% 100%;
|
|
--secondary: 240 4.8% 95.9%;
|
|
--secondary-foreground: 240 5.9% 10%;
|
|
--muted: 240 4.8% 95.9%;
|
|
--muted-foreground: 240 3.8% 46.1%;
|
|
--accent: 240 4.8% 95.9%;
|
|
--accent-foreground: 240 5.9% 10%;
|
|
--destructive: 0 84.2% 60.2%;
|
|
--destructive-foreground: 0 0% 98%;
|
|
--border: 240 5.9% 90%;
|
|
--input: 240 5.9% 90%;
|
|
--ring: 142 71% 45%;
|
|
--radius: 0.5rem;
|
|
|
|
color-scheme: light;
|
|
color: rgb(var(--color-text-primary));
|
|
background-color: rgb(var(--color-background));
|
|
}
|
|
|
|
.dark {
|
|
/* OpenReel custom colors */
|
|
--color-background: 15 15 17;
|
|
--color-background-secondary: 24 24 27;
|
|
--color-background-tertiary: 39 39 42;
|
|
--color-background-elevated: 63 63 70;
|
|
|
|
--color-text-primary: 244 244 245;
|
|
--color-text-secondary: 161 161 170;
|
|
--color-text-muted: 113 113 122;
|
|
|
|
--color-border: 39 39 42;
|
|
--color-border-hover: 63 63 70;
|
|
--color-border-active: 82 82 91;
|
|
|
|
/* shadcn/ui CSS variables */
|
|
--background: 240 6% 6%;
|
|
--foreground: 0 0% 95%;
|
|
--card: 240 6% 10%;
|
|
--card-foreground: 0 0% 95%;
|
|
--popover: 240 6% 10%;
|
|
--popover-foreground: 0 0% 95%;
|
|
--primary: 142 71% 45%;
|
|
--primary-foreground: 0 0% 100%;
|
|
--secondary: 240 4% 16%;
|
|
--secondary-foreground: 0 0% 95%;
|
|
--muted: 240 4% 16%;
|
|
--muted-foreground: 240 5% 65%;
|
|
--accent: 240 4% 16%;
|
|
--accent-foreground: 0 0% 95%;
|
|
--destructive: 0 62% 50%;
|
|
--destructive-foreground: 0 0% 95%;
|
|
--border: 240 4% 20%;
|
|
--input: 240 4% 20%;
|
|
--ring: 142 71% 45%;
|
|
|
|
color-scheme: dark;
|
|
color: rgb(var(--color-text-primary));
|
|
background-color: rgb(var(--color-background));
|
|
}
|
|
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgb(var(--color-border-hover));
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgb(var(--color-border-active));
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea {
|
|
background-color: rgb(var(--color-background-tertiary));
|
|
border: 1px solid rgb(var(--color-border));
|
|
color: rgb(var(--color-text-primary));
|
|
border-radius: 0.375rem;
|
|
padding: 0.5rem 0.75rem;
|
|
outline: none;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
input:focus,
|
|
select:focus,
|
|
textarea:focus {
|
|
border-color: #22c55e;
|
|
box-shadow: 0 0 0 1px #22c55e;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|