Skip to content

OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.

TypeScript
7.7 KB
Raw Blame
.mobile-editor-header { height: calc(52px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); background: #0b0c0e; color: #e8e9ec; font: 14px -apple-system, 'SF Pro Text', Inter, system-ui, sans-serif; letter-spacing: normal; }
.mobile-editor-topbar { height: 52px; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 4px; }
.mobile-editor-topbar[data-platform="android"] { padding-right: 4px; font-family: Roboto, Inter, system-ui, sans-serif; }
.mobile-editor-topbar button { -webkit-app-region: no-drag; font-family: inherit; line-height: normal; }
.mobile-editor-topbar .mobile-editor-icon-button { width: 40px; min-width: 40px; height: 40px; min-height: 40px; flex-shrink: 0; padding: 0; border-radius: 50%; color: inherit; }
.mobile-editor-topbar .mobile-editor-icon-button svg { width: 22px; height: 22px; }
.mobile-editor-title { flex: 1; min-width: 0; }
.mobile-editor-topbar .mobile-editor-title-button { width: 100%; height: auto; min-height: 40px; display: flex; flex-direction: column; gap: 0; padding: 0; color: inherit; background: transparent; }
.mobile-editor-title-button > strong { max-width: 100%; font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.mobile-editor-title-button > span { display: flex; gap: 3px; align-items: center; font-size: 11.5px; font-weight: 400; color: #a1a4ac; white-space: nowrap; }
.mobile-editor-title-button .workspace-saved { display: inline; margin: 0; font: inherit; color: inherit; }
.mobile-editor-title-button .workspace-saved svg { display: none; }
.mobile-editor-topbar .mobile-editor-ai, .mobile-editor-topbar .mobile-editor-export, .mobile-editor-topbar .mobile-native-export button { height: 32px; min-height: 32px; min-width: 0; flex-shrink: 0; padding: 0 12px; border: 0; border-radius: 16px; font-size: 14px; font-weight: 600; background: #2d2545; color: #dcd0ff; gap: 5px; }
.mobile-editor-topbar .mobile-editor-ai svg { width: 15px; height: 15px; }
.mobile-editor-topbar .mobile-editor-export, .mobile-editor-topbar .mobile-native-export button { padding: 0 14px; background: #2bd49a; color: #062a1d; }
.mobile-editor-topbar .mobile-native-export svg { display: none; }
.mobile-editor-topbar[data-platform="android"] .mobile-editor-icon-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
.mobile-editor-topbar[data-platform="android"] .mobile-editor-title-button { align-items: flex-start; padding-left: 4px; }
.mobile-editor-topbar[data-platform="android"] .mobile-editor-title-button > strong { font-size: 18px; font-weight: 400; }
.mobile-editor-topbar[data-platform="android"] .mobile-editor-ai, .mobile-editor-topbar[data-platform="android"] .mobile-editor-export { height: 40px; min-height: 40px; border-radius: 20px; }
.mobile-editor-topbar[data-platform="android"] .mobile-editor-export { font-weight: 500; }
.mobile-editor-topbar .mobile-editor-export[data-export-state="error"] { background: hsl(var(--destructive)); color: hsl(var(--destructive-foreground)); }
.mobile-preview-transport { height: 48px; flex-shrink: 0; display: flex; align-items: center; padding: 0 12px; background: #0b0c0e; color: #e8e9ec; }
.mobile-preview-time { flex: 1; min-width: 0; }
.mobile-preview-transport .mobile-preview-time button { display: flex; justify-content: flex-start; height: 40px; min-height: 40px; gap: 7.2px; padding: 0; border-radius: 4px; font: 500 12px 'JetBrains Mono', monospace; color: #c4c6cc; background: transparent; }
.mobile-preview-time button > span { color: #6f737c; }
.mobile-preview-transport .mobile-preview-play { height: 40px; min-height: 40px; width: 40px; min-width: 40px; padding: 0; flex-shrink: 0; border-radius: 50%; background: #e8e9ec; color: #0b0c0e; }
.mobile-preview-transport .mobile-preview-play svg { width: 16px; height: 16px; }
.mobile-preview-actions { flex: 1; min-width: 0; display: flex; justify-content: flex-end; gap: 2px; }
.mobile-preview-transport .mobile-preview-actions button { width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; color: inherit; }
.mobile-preview-transport .mobile-preview-actions svg { width: 20px; height: 20px; }
.mobile-preview-options { z-index: 220; letter-spacing: normal; max-height: var(--radix-popover-content-available-height); overflow-y: auto; }
.mobile-preview-options .workspace-preview-header { display: flex; height: auto; min-height: 44px; flex-wrap: wrap; gap: 8px; padding: 8px 0 0; border: 0; }
.mobile-preview-options .workspace-preview-options { display: flex; flex-wrap: wrap; gap: 6px; }
.mobile-preview-options .workspace-preview-controls { height: auto; padding: 8px; border: 0; background: transparent; }
.mobile-preview-options .workspace-preview-scrub-row { padding-inline: 0; }
.mobile-preview-options .workspace-preview-controls [data-preview-transport] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; height: auto; min-height: 0; padding: 8px 0 0; gap: 4px; }
.mobile-preview-options .workspace-preview-controls [data-preview-timecode] { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; }
.mobile-preview-options .workspace-preview-controls [data-preview-timecode] > div { font-size: 12px; gap: 6px; }
.mobile-preview-options .workspace-preview-controls [data-preview-timecode] input { width: 132px; min-height: 40px; font-size: 14px; font-weight: 500; }
.mobile-preview-options .workspace-preview-controls [data-preview-playback] { grid-column: 1; grid-row: 2; justify-self: center; margin: 0; gap: 4px; }
.mobile-preview-options .workspace-preview-controls [data-preview-tools] { grid-column: 1; grid-row: 3; justify-content: center; gap: 4px; margin: 0; }
.mobile-preview-options .workspace-preview-controls [data-preview-playback] button,
.mobile-preview-options .workspace-preview-controls [data-preview-tools] button { width: 40px; min-width: 40px; height: 40px; min-height: 40px; }
.mobile-preview-options [data-preview-main-play], .mobile-preview-options [data-preview-fullscreen] { display: none; }
.mobile-preview-options button { min-height: 40px; }
.editor-shell.editor-phone { font-family: -apple-system, 'SF Pro Text', Inter, system-ui, sans-serif; letter-spacing: normal; }
.editor-shell.editor-phone .editor-workspace { padding: 0; gap: 0; }
.editor-shell.editor-phone .editor-stage { border-radius: 0; }
.editor-shell.editor-phone [data-tour="preview"] > .workspace-preview-area { padding: 0; background: #000; overflow: hidden; }
.editor-phone .workspace-preview-meta { display: none; }
.editor-phone .workspace-preview-frame { border: 0; border-radius: 0; box-shadow: none; --tw-ring-shadow: 0 0 #0000; }
.editor-shell.editor-phone .workspace-empty-project { padding: 8px; }
.editor-shell.editor-phone .workspace-project-card { padding: 12px; }
.editor-shell.editor-phone .workspace-project-card h1 { font-size: 16px; line-height: 20px; }
.editor-shell.editor-phone .workspace-project-card p { font-size: 11px; line-height: 14px; }
.editor-shell.editor-phone .workspace-formats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.editor-shell.editor-phone .workspace-formats button { height: 66px; padding: 6px 3px; }
.editor-shell.editor-phone .workspace-format-icon { display: none; }
.editor-shell.editor-phone .workspace-formats small { font-size: 10px; line-height: 12px; min-height: 24px; }
.editor-shell.editor-phone .workspace-project-card footer { padding-top: 8px; gap: 8px; flex-wrap: nowrap; }
.editor-shell.editor-phone .workspace-project-card footer p { flex: 1; min-width: 0; font-size: 10px; line-height: 12px; }
.editor-shell.editor-phone .workspace-project-card footer button { width: auto; height: 44px; min-height: 44px; flex-shrink: 0; }
.editor-shell.editor-phone .workspace-timeline-empty { padding: 16px; text-align: center; }