mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-10-02 02:27:44 +00:00
175 lines
3.8 KiB
CSS
175 lines
3.8 KiB
CSS
@import "tailwindcss";
|
|
@import "@heroui/styles";
|
|
@plugin "tailwindcss-animate";
|
|
@custom-variant dark (&:where(.dark, .dark *));
|
|
@source "../index.html";
|
|
|
|
/* Layout aliases only. All component colors and styling come from HeroUI's default theme. */
|
|
@theme inline {
|
|
--color-primary: var(--accent);
|
|
--color-primary-foreground: var(--accent-foreground);
|
|
--color-secondary: var(--default);
|
|
--color-secondary-foreground: var(--default-foreground);
|
|
--color-muted-foreground: var(--muted);
|
|
--color-card: var(--surface);
|
|
--color-card-foreground: var(--surface-foreground);
|
|
--color-popover: var(--overlay);
|
|
--color-popover-foreground: var(--overlay-foreground);
|
|
--color-destructive: var(--danger);
|
|
--color-destructive-foreground: var(--danger-foreground);
|
|
--color-input: var(--field-border);
|
|
--color-ring: var(--focus);
|
|
--color-editor-bg: var(--background);
|
|
--color-editor-header: var(--surface);
|
|
--color-editor-panel: var(--surface);
|
|
--color-editor-surface: var(--surface);
|
|
--color-editor-surface-alt: var(--surface-secondary);
|
|
--color-editor-dialog: var(--overlay);
|
|
--color-editor-dialog-alt: var(--surface-secondary);
|
|
--color-editor-timeline: var(--background);
|
|
--color-editor-row: var(--surface);
|
|
--color-editor-subrow: var(--surface-secondary);
|
|
}
|
|
|
|
@layer base {
|
|
:root {
|
|
--app-font-sans:
|
|
ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
--brand-accent: var(--accent);
|
|
--brand-accent-rgb: 0, 111, 238;
|
|
--primary: var(--accent);
|
|
--primary-foreground: var(--accent-foreground);
|
|
--muted-foreground: var(--muted);
|
|
--destructive: var(--danger);
|
|
--input: var(--field-border);
|
|
}
|
|
html,
|
|
body,
|
|
#root {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
body {
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
font-family: var(--app-font-sans);
|
|
user-select: none;
|
|
}
|
|
html.hud-overlay-window,
|
|
body.hud-overlay-window,
|
|
#root.hud-overlay-window {
|
|
overflow: hidden;
|
|
}
|
|
input,
|
|
textarea {
|
|
user-select: text;
|
|
}
|
|
button,
|
|
input,
|
|
textarea,
|
|
select,
|
|
[role="button"],
|
|
[role="slider"],
|
|
[role="switch"] {
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
.timeline-cursor-smooth {
|
|
will-change: transform;
|
|
transition:
|
|
left 33ms linear,
|
|
right 33ms linear;
|
|
}
|
|
.custom-scrollbar {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--scrollbar-thumb) transparent;
|
|
}
|
|
}
|
|
|
|
/* Responsive geometry belongs to the editor, leaving HeroUI control styles intact. */
|
|
.editor-header-start,
|
|
.editor-header-end {
|
|
white-space: nowrap;
|
|
}
|
|
.editor-playback {
|
|
container-type: inline-size;
|
|
}
|
|
@media (max-width: 1000px) {
|
|
.editor-header {
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 0.4fr) minmax(0, 1fr);
|
|
}
|
|
.project-file-extension {
|
|
display: none;
|
|
}
|
|
}
|
|
@container (max-width: 760px) {
|
|
.editor-playback-tools {
|
|
grid-row: 2;
|
|
grid-column: 1 / -1;
|
|
justify-content: center;
|
|
padding-bottom: 8px;
|
|
}
|
|
.editor-playback-center {
|
|
grid-row: 1;
|
|
grid-column: 2;
|
|
}
|
|
.editor-playback-volume {
|
|
grid-row: 1;
|
|
grid-column: 3;
|
|
}
|
|
}
|
|
@container (max-width: 520px) {
|
|
.editor-playback-volume .slider {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* highlight rings look ugly — keep them transparent; keyboard focus gets an inset underline. */
|
|
:root,
|
|
.dark {
|
|
--focus: transparent;
|
|
}
|
|
[data-focus-visible="true"] {
|
|
box-shadow: inset 0 -2px 0 color-mix(in oklab, var(--foreground) 45%, transparent);
|
|
}
|
|
|
|
@container (max-width: 110px) {
|
|
.zoom-icon,
|
|
.zoom-mode {
|
|
display: none;
|
|
}
|
|
}
|
|
@container (min-height: 40px) and (min-width: 110px) {
|
|
.zoom-mode {
|
|
display: block;
|
|
margin-left: 0;
|
|
font-size: 10px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
@container (max-height: 39px) {
|
|
.zoom-mode {
|
|
margin-left: 4px;
|
|
}
|
|
}
|
|
|
|
@keyframes editor-section-enter {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.editor-section-enter {
|
|
animation: editor-section-enter 180ms ease-out;
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.editor-section-enter {
|
|
animation: none;
|
|
}
|
|
}
|