9976 lines
251 KiB
CSS
9976 lines
251 KiB
CSS
/**
|
|
* Majoor Assets Manager - Comfy-like theme layer
|
|
*
|
|
* RULES:
|
|
* - Do NOT hardcode a custom palette; use existing ComfyUI CSS variables via var(...).
|
|
* - Keep everything scoped under `.mjr-assets-manager` to avoid leaking styles to ComfyUI (except `.mjr-popover*` which can be portaled to `document.body`).
|
|
*/
|
|
|
|
.mjr-assets-manager {
|
|
/* Typography */
|
|
font-family: var(
|
|
--comfy-font,
|
|
var(
|
|
--font-inter,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
-apple-system,
|
|
"Segoe UI",
|
|
Roboto,
|
|
Arial,
|
|
sans-serif
|
|
)
|
|
);
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
color: var(--fg-color, var(--content-fg, var(--input-text, #ddd)));
|
|
|
|
/*
|
|
* Surfaces - priority: ComfyUI v1.42 design-system token -> legacy token -> hard fallback
|
|
* New tokens: --interface-panel-surface, --interface-menu-surface, --interface-panel-hover-surface,
|
|
* --modal-card-background, --button-surface, --button-hover-surface,
|
|
* --interface-panel-selected-surface, --primary-background, --muted-foreground,
|
|
* --border-default, --success-background, --warning-background, --destructive-background
|
|
*/
|
|
--mjr-surface-0: var(--interface-panel-surface, var(--content-bg, #1e1e1e));
|
|
--mjr-surface-1: var(--interface-menu-surface, var(--comfy-menu-bg, #2a2a2a));
|
|
--mjr-surface-2: var(--interface-panel-hover-surface, var(--comfy-menu-secondary-bg, #333));
|
|
--mjr-surface-3: var(--modal-card-background, var(--comfy-menu-bg, #222));
|
|
--mjr-border: var(--border-default, var(--border-color, rgba(255, 255, 255, 0.12)));
|
|
--mjr-muted: var(--muted-foreground, var(--descrip-text, rgba(255, 255, 255, 0.65)));
|
|
--mjr-accent: var(--primary-background, var(--comfy-accent, #5fb3ff));
|
|
--mjr-accent-hover: var(--primary-background-hover, var(--comfy-accent, #7ec8ff));
|
|
--mjr-btn-surface: var(--button-surface, var(--mjr-surface-2));
|
|
--mjr-btn-hover: var(--button-hover-surface, var(--mjr-surface-2));
|
|
--mjr-selected-surface: var(--interface-panel-selected-surface, rgba(95, 179, 255, 0.15));
|
|
|
|
/* Radii - use ComfyUI design-system radius tokens when available */
|
|
--mjr-r-sm: var(--radius-sm, 8px);
|
|
--mjr-r-md: var(--radius-md, 10px);
|
|
--mjr-r-lg: var(--radius-lg, 12px);
|
|
|
|
/* Spacing */
|
|
--mjr-pad-sm: 8px;
|
|
--mjr-pad-md: 12px;
|
|
--mjr-pad-lg: 16px;
|
|
|
|
/* Semantic Status Colors - prefer ComfyUI v1.42 semantic tokens */
|
|
--mjr-status-success: var(--success-background, var(--comfy-status-success, #4caf50));
|
|
--mjr-status-warning: var(--warning-background, var(--comfy-status-warning, #ffa726));
|
|
--mjr-status-error: var(--destructive-background, var(--comfy-status-error, #f44336));
|
|
--mjr-status-info: var(--comfy-status-info, #2196f3);
|
|
--mjr-status-neutral: var(--comfy-status-neutral, #9e9e9e);
|
|
--mjr-star-active: #ffd45a;
|
|
|
|
/* Badge colors (overridden by settings) */
|
|
--mjr-badge-image: #2196f3;
|
|
--mjr-badge-video: #9c27b0;
|
|
--mjr-badge-audio: #ff9800;
|
|
--mjr-badge-model3d: #4caf50;
|
|
--mjr-card-hover-color: var(--interface-panel-hover-surface, #3d3d3d);
|
|
--mjr-card-selection-color: var(--interface-panel-selected-surface, #4a90e2);
|
|
--mjr-rating-color: #ff9500;
|
|
--mjr-tag-color: #4a90e2;
|
|
}
|
|
|
|
/* Make the theme visibly apply even with inline styles */
|
|
.mjr-assets-manager * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.mjr-assets-manager.mjr-am-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-header {
|
|
padding: 14px 16px;
|
|
border-bottom: 1px solid var(--mjr-border);
|
|
background: var(--mjr-surface-1);
|
|
flex: 0 0 auto;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-header-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 28px;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
row-gap: 10px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-header-left {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-header-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex: 0 0 auto;
|
|
position: relative;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-header-tools {
|
|
display: inline-flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-tabs {
|
|
/* Queue-like tabs (active pill, others as text) */
|
|
background: transparent;
|
|
border: none;
|
|
padding: 0;
|
|
gap: 10px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-tabs::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-tab {
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: color-mix(in srgb, var(--content-fg, #ddd) 65%, transparent);
|
|
transition:
|
|
transform 120ms ease,
|
|
background-color 120ms ease,
|
|
color 120ms ease,
|
|
border-color 120ms ease;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-tab:hover {
|
|
transform: translateY(-1px);
|
|
color: var(--content-fg, #ddd);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 55%, transparent);
|
|
border-color: color-mix(in srgb, var(--mjr-border) 70%, transparent);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-tab.is-active {
|
|
color: var(--content-fg, #fff);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 80%, transparent);
|
|
border-color: color-mix(in srgb, var(--mjr-border) 85%, transparent);
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-icon-btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--radius-lg, 0.5rem);
|
|
border: 1px solid var(--mjr-border);
|
|
background: var(--mjr-surface-2);
|
|
color: var(--content-fg, #ddd);
|
|
cursor: pointer;
|
|
padding: 0;
|
|
transition:
|
|
transform 120ms ease,
|
|
background-color 120ms ease,
|
|
border-color 120ms ease;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-icon-btn:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 45%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 80%, var(--mjr-accent) 8%);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-icon-btn.mjr-context-active,
|
|
.mjr-assets-manager .mjr-icon-btn.mjr-popover-open {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 85%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 55%, var(--mjr-accent) 12%);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--mjr-accent) 35%, transparent);
|
|
}
|
|
|
|
/* Floating Viewer button - teal glow when viewer is open */
|
|
.mjr-assets-manager .mjr-icon-btn.mjr-mfv-btn-active {
|
|
color: #4dd9c0;
|
|
border-color: rgba(77, 217, 192, 0.55);
|
|
background: rgba(77, 217, 192, 0.1);
|
|
box-shadow: 0 0 0 1px rgba(77, 217, 192, 0.25);
|
|
}
|
|
.mjr-assets-manager .mjr-icon-btn.mjr-mfv-btn-active .pi {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-icon-btn.mjr-message-btn {
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-icon-btn.mjr-message-has-unread {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 75%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 72%, var(--mjr-accent) 11%);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-message-badge {
|
|
position: absolute;
|
|
top: -5px;
|
|
right: -6px;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
padding: 0 4px;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-surface-1) 55%, rgba(255, 255, 255, 0.3));
|
|
background: #ef5350;
|
|
color: #fff;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
pointer-events: none;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-icon-btn .pi {
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-icon-btn:disabled,
|
|
.mjr-assets-manager .mjr-ai-control:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
filter: grayscale(0.45);
|
|
border-color: color-mix(in srgb, var(--mjr-border) 88%, transparent) !important;
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 92%, transparent) !important;
|
|
color: var(--mjr-muted, rgba(255, 255, 255, 0.6)) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-ai-disabled .mjr-ai-control:hover {
|
|
transform: none !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-ai-disabled-block {
|
|
opacity: 0.58;
|
|
filter: grayscale(0.45);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-ai-disabled-block .mjr-ai-control,
|
|
.mjr-assets-manager .mjr-ai-disabled-block button {
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Popovers can be moved to `document.body` (portal) to avoid being clipped. */
|
|
.mjr-popover {
|
|
font-family: var(
|
|
--comfy-font,
|
|
var(
|
|
--font-inter,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
-apple-system,
|
|
"Segoe UI",
|
|
Roboto,
|
|
Arial,
|
|
sans-serif
|
|
)
|
|
);
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
color: var(--fg-color, var(--content-fg, var(--input-text, #ddd)));
|
|
|
|
/* Provide fallbacks when outside `.mjr-assets-manager` scope */
|
|
--mjr-surface-1: var(--interface-menu-surface, var(--comfy-menu-bg, #2a2a2a));
|
|
--mjr-border: var(--border-default, var(--border-color, rgba(255, 255, 255, 0.12)));
|
|
--mjr-muted: var(--muted-foreground, var(--descrip-text, rgba(255, 255, 255, 0.65)));
|
|
--mjr-accent: var(--primary-background, var(--comfy-accent, #5fb3ff));
|
|
--mjr-popover-z-index: 2147483647;
|
|
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
min-width: 0;
|
|
width: min(280px, calc(100vw - 24px));
|
|
max-width: min(360px, calc(100vw - 24px));
|
|
padding: 10px;
|
|
border-radius: var(--radius-lg, 0.5rem);
|
|
background: var(--mjr-surface-1, var(--comfy-menu-bg, #2a2a2a));
|
|
border: 1px solid var(--mjr-border, var(--border-color, rgba(255, 255, 255, 0.12)));
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
|
|
z-index: var(--mjr-popover-z-index);
|
|
min-height: 0;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
touch-action: pan-y;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.mjr-popover--hidden {
|
|
display: none;
|
|
}
|
|
|
|
.mjr-filter-popover {
|
|
min-width: 340px;
|
|
width: min(360px, calc(100vw - 24px));
|
|
padding: 12px;
|
|
}
|
|
|
|
.mjr-sort-popover {
|
|
min-width: 220px;
|
|
width: min(260px, calc(100vw - 24px));
|
|
padding: 10px;
|
|
}
|
|
|
|
.mjr-collections-popover {
|
|
min-width: 280px;
|
|
width: min(320px, calc(100vw - 24px));
|
|
padding: 10px;
|
|
}
|
|
|
|
.mjr-pinned-folders-popover {
|
|
min-width: 280px;
|
|
width: min(340px, calc(100vw - 24px));
|
|
padding: 10px;
|
|
}
|
|
|
|
.mjr-pinned-folders-popover .mjr-pinned-folders-menu {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-pinned-folders-popover .mjr-pinned-folders-empty {
|
|
padding: 10px 12px;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.mjr-pinned-folders-popover .mjr-pinned-folder-row {
|
|
display: flex;
|
|
align-items: stretch;
|
|
width: 100%;
|
|
}
|
|
|
|
.mjr-pinned-folders-popover .mjr-pinned-folder-open {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
gap: 10px;
|
|
padding: 9px 10px;
|
|
border-radius: 9px;
|
|
border: 1px solid rgba(120, 190, 255, 0.18);
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
|
|
transition:
|
|
border-color 120ms ease,
|
|
background 120ms ease;
|
|
}
|
|
|
|
.mjr-pinned-folders-popover .mjr-pinned-folder-open:hover,
|
|
.mjr-pinned-folders-popover .mjr-pinned-folder-open:focus-visible {
|
|
border-color: rgba(145, 205, 255, 0.4);
|
|
background: linear-gradient(135deg, rgba(80, 140, 255, 0.18), rgba(32, 100, 200, 0.14));
|
|
}
|
|
|
|
.mjr-pinned-folders-popover .mjr-pinned-folder-label {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-weight: 600;
|
|
color: var(--fg-color, #e6edf7);
|
|
}
|
|
|
|
.mjr-pinned-folders-popover .mjr-pinned-folder-path {
|
|
flex: 0 1 auto;
|
|
min-width: 0;
|
|
max-width: 220px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
opacity: 0.68;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.mjr-pinned-folders-popover .mjr-pinned-folder-unpin {
|
|
width: 42px;
|
|
justify-content: center;
|
|
padding: 0;
|
|
border: 1px solid rgba(255, 95, 95, 0.35);
|
|
border-radius: 9px;
|
|
margin-left: 6px;
|
|
background: linear-gradient(135deg, rgba(255, 70, 70, 0.16), rgba(160, 20, 20, 0.12));
|
|
}
|
|
|
|
.mjr-pinned-folders-popover .mjr-pinned-folder-unpin .pi {
|
|
opacity: 0.88;
|
|
color: rgba(255, 130, 130, 0.96);
|
|
}
|
|
|
|
.mjr-messages-popover {
|
|
min-width: 320px;
|
|
width: min(460px, calc(100vw - 24px));
|
|
padding: 10px;
|
|
}
|
|
|
|
.mjr-inline-dialog-mask {
|
|
position: static !important;
|
|
inset: auto !important;
|
|
width: auto !important;
|
|
height: auto !important;
|
|
display: block !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
|
|
.mjr-inline-dialog-root {
|
|
display: block !important;
|
|
width: 100%;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.mjr-inline-dialog-content {
|
|
padding: 0;
|
|
}
|
|
|
|
.mjr-messages-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mjr-messages-tabs {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
padding: 3px;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-border) 88%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 74%, transparent);
|
|
}
|
|
|
|
.mjr-messages-tab {
|
|
appearance: none;
|
|
border: 0;
|
|
background: transparent;
|
|
color: color-mix(in srgb, var(--content-fg, #f1f1f1) 76%, transparent);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
padding: 6px 10px;
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
transition:
|
|
background-color 0.14s ease,
|
|
color 0.14s ease,
|
|
transform 0.14s ease;
|
|
}
|
|
|
|
.mjr-messages-tab:hover,
|
|
.mjr-messages-tab:focus-visible {
|
|
background: color-mix(in srgb, var(--mjr-accent) 14%, transparent);
|
|
color: var(--content-fg, #f1f1f1);
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-messages-tab.is-active {
|
|
background: color-mix(in srgb, var(--mjr-accent) 22%, var(--mjr-surface-2));
|
|
color: var(--content-fg, #fff);
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mjr-accent) 34%, transparent);
|
|
}
|
|
|
|
.mjr-messages-panels {
|
|
display: grid;
|
|
gap: 8px;
|
|
max-height: min(52vh, 420px);
|
|
}
|
|
|
|
.mjr-messages-list,
|
|
.mjr-messages-shortcuts-panel {
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.mjr-tab-count-badge {
|
|
min-width: 16px;
|
|
height: 16px;
|
|
padding: 0 5px;
|
|
border-radius: 999px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 9px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.02em;
|
|
line-height: 1;
|
|
background: color-mix(in srgb, var(--mjr-accent) 28%, var(--mjr-surface-2));
|
|
color: color-mix(in srgb, var(--content-fg, #fff) 92%, transparent);
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mjr-accent) 48%, transparent);
|
|
}
|
|
|
|
.mjr-messages-title {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.03em;
|
|
text-transform: uppercase;
|
|
color: color-mix(in srgb, var(--content-fg, #ddd) 82%, var(--mjr-muted));
|
|
}
|
|
|
|
.mjr-messages-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.mjr-messages-mark-read-btn {
|
|
padding: 4px 8px;
|
|
font-size: 11px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.mjr-messages-star-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 8px;
|
|
font-size: 11px;
|
|
line-height: 1.2;
|
|
text-decoration: none;
|
|
color: var(--content-fg, #f1f1f1);
|
|
border-color: color-mix(in srgb, #f3c84b 42%, var(--mjr-border));
|
|
background: color-mix(in srgb, #f3c84b 12%, var(--mjr-surface-2));
|
|
}
|
|
|
|
.mjr-messages-star-link:hover,
|
|
.mjr-messages-star-link:focus-visible {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mjr-messages-star-icon {
|
|
color: #f3c84b;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-messages-star-label {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-messages-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-messages-empty {
|
|
padding: 8px 6px;
|
|
font-size: 12px;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.mjr-message-item {
|
|
display: grid;
|
|
gap: 5px;
|
|
border-radius: 10px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-border) 86%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 58%, transparent);
|
|
padding: 8px;
|
|
}
|
|
|
|
.mjr-message-item--unread {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 58%, var(--mjr-border));
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mjr-accent) 26%, transparent);
|
|
}
|
|
|
|
.mjr-message-item--warning {
|
|
border-color: color-mix(in srgb, #f0b85a 62%, var(--mjr-border));
|
|
}
|
|
|
|
.mjr-message-item--error {
|
|
border-color: color-mix(in srgb, #f36b6b 62%, var(--mjr-border));
|
|
}
|
|
|
|
.mjr-message-item--success {
|
|
border-color: color-mix(in srgb, #58c07d 62%, var(--mjr-border));
|
|
}
|
|
|
|
.mjr-message-item-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-message-item-title-wrap {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.mjr-message-item-emoji {
|
|
flex: 0 0 auto;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-message-item-title {
|
|
min-width: 0;
|
|
font-weight: 600;
|
|
color: var(--content-fg, #f1f1f1);
|
|
}
|
|
|
|
.mjr-message-item-category {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 1px 6px;
|
|
border-radius: 999px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.03em;
|
|
background: color-mix(in srgb, var(--mjr-accent) 20%, var(--mjr-surface-2));
|
|
color: color-mix(in srgb, var(--content-fg, #fff) 86%, transparent);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-message-item-meta {
|
|
font-size: 11px;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.mjr-message-item-body {
|
|
font-size: 12px;
|
|
opacity: 0.92;
|
|
line-height: 1.45;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.mjr-message-item-action {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--mjr-accent, var(--comfy-accent, #5fb3ff));
|
|
text-decoration: none;
|
|
width: fit-content;
|
|
}
|
|
|
|
.mjr-message-item-action:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Toast History tab - unread indicator dot */
|
|
.mjr-tab-unread-dot {
|
|
display: inline-block;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--mjr-accent, #5fb3ff);
|
|
margin-left: 5px;
|
|
vertical-align: middle;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* History panel */
|
|
.mjr-messages-history-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-history-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 4px 0 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mjr-history-head-label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
opacity: 0.62;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.mjr-history-clear-btn {
|
|
font-size: 11px;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
border: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
color: inherit;
|
|
cursor: pointer;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.mjr-history-clear-btn:hover {
|
|
opacity: 1;
|
|
background: color-mix(in srgb, var(--mjr-accent) 12%, transparent);
|
|
}
|
|
|
|
.mjr-history-list {
|
|
display: grid;
|
|
gap: 4px;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
}
|
|
|
|
.mjr-history-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 6px 8px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.08));
|
|
background: var(--mjr-surface-2, rgba(255, 255, 255, 0.04));
|
|
font-size: 12px;
|
|
}
|
|
|
|
.mjr-history-item--error {
|
|
border-color: color-mix(in srgb, #f36b6b 50%, var(--mjr-border));
|
|
}
|
|
|
|
.mjr-history-item--warning {
|
|
border-color: color-mix(in srgb, #f0b85a 50%, var(--mjr-border));
|
|
}
|
|
|
|
.mjr-history-item--success {
|
|
border-color: color-mix(in srgb, #58c07d 50%, var(--mjr-border));
|
|
}
|
|
|
|
.mjr-history-item-icon {
|
|
flex-shrink: 0;
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.mjr-history-item-content {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mjr-history-item-msg {
|
|
opacity: 0.92;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.mjr-history-item-title {
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
opacity: 0.96;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.mjr-history-item-detail {
|
|
opacity: 0.84;
|
|
line-height: 1.45;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.mjr-history-item-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.mjr-history-item-time {
|
|
font-size: 10px;
|
|
opacity: 0.52;
|
|
}
|
|
|
|
.mjr-history-item-chip {
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
padding: 2px 6px;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-border) 82%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-surface-3, var(--mjr-surface-2)) 78%, transparent);
|
|
opacity: 0.76;
|
|
}
|
|
|
|
.mjr-history-item-action {
|
|
font-size: 11px;
|
|
width: fit-content;
|
|
color: var(--mjr-accent, #5fb3ff);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mjr-history-item-action:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.mjr-history-item-progress {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mjr-history-item-progress-summary {
|
|
font-size: 11px;
|
|
opacity: 0.74;
|
|
line-height: 1.35;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.mjr-history-item-progress-bar {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 6px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: color-mix(in srgb, var(--mjr-border) 75%, transparent);
|
|
}
|
|
|
|
.mjr-history-item-progress-fill {
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--mjr-accent, #5fb3ff),
|
|
color-mix(in srgb, #58c07d 72%, var(--mjr-accent, #5fb3ff))
|
|
);
|
|
}
|
|
|
|
.mjr-shortcut-guide {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-shortcut-guide-intro {
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
opacity: 0.84;
|
|
}
|
|
|
|
.mjr-shortcut-section {
|
|
display: grid;
|
|
gap: 6px;
|
|
padding: 8px;
|
|
border-radius: 10px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-border) 84%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-surface-3, var(--mjr-surface-2)) 72%, transparent);
|
|
}
|
|
|
|
.mjr-shortcut-section-title {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: color-mix(in srgb, var(--content-fg, #f1f1f1) 88%, transparent);
|
|
}
|
|
|
|
.mjr-shortcut-list {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-shortcut-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(132px, 160px) minmax(0, 1fr);
|
|
gap: 8px;
|
|
align-items: start;
|
|
}
|
|
|
|
.mjr-shortcut-key {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 24px;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-accent) 38%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-accent) 12%, var(--mjr-surface-2));
|
|
color: color-mix(in srgb, var(--content-fg, #fff) 90%, transparent);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
text-align: center;
|
|
white-space: normal;
|
|
}
|
|
|
|
.mjr-shortcut-desc {
|
|
min-width: 0;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
opacity: 0.92;
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.mjr-shortcut-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.mjr-shortcut-key {
|
|
justify-content: flex-start;
|
|
}
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin: 0 0 10px;
|
|
padding: 4px 2px 10px;
|
|
border-bottom: 1px solid color-mix(in srgb, var(--mjr-border) 85%, transparent);
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-head-left {
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-kicker {
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.09em;
|
|
text-transform: uppercase;
|
|
color: color-mix(in srgb, var(--mjr-accent, #5fb3ff) 65%, var(--content-fg, #ddd));
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-subtitle {
|
|
margin-top: 2px;
|
|
font-size: 11px;
|
|
color: color-mix(in srgb, var(--content-fg, #ddd) 62%, var(--mjr-muted, rgba(255, 255, 255, 0.65)));
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-head-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-active-count {
|
|
min-width: 22px;
|
|
height: 22px;
|
|
padding: 0 6px;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-accent, #5fb3ff) 55%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-accent, #5fb3ff) 18%, var(--mjr-surface-2));
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
color: var(--content-fg, #fff);
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-clear-all {
|
|
height: 24px;
|
|
padding: 0 8px;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-border) 75%, transparent);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-popover-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
align-items: start;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-popover-row--3col {
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-popover-row--3col .mjr-popover-label {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-popover-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: color-mix(in srgb, var(--content-fg, #ddd) 70%, var(--mjr-muted, rgba(255, 255, 255, 0.65)));
|
|
white-space: normal;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-popover-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
color: var(--fg-color, #e6edf7);
|
|
padding: 6px 8px;
|
|
border-radius: 8px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-border) 80%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 66%, transparent);
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-popover-toggle input[type="checkbox"] {
|
|
accent-color: var(--mjr-accent, var(--comfy-accent, #5fb3ff));
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group {
|
|
--mjr-filter-group-accent: var(--mjr-accent, #7aa2ff);
|
|
padding: 10px 0 8px;
|
|
margin-bottom: 4px;
|
|
border-bottom: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group:last-child {
|
|
margin-bottom: 0;
|
|
border-bottom: none;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group--core {
|
|
--mjr-filter-group-accent: #56a8ff;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group--media {
|
|
--mjr-filter-group-accent: #35d08b;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group--time {
|
|
--mjr-filter-group-accent: #f0b84f;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group-toggle {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin: 0 0 10px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
border-radius: 8px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group-title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: color-mix(in srgb, var(--mjr-filter-group-accent) 62%, var(--content-fg, #ddd));
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group-title::before {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
flex: 0 0 6px;
|
|
border-radius: 999px;
|
|
background: var(--mjr-filter-group-accent);
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group-chevron {
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
color: color-mix(in srgb, var(--mjr-filter-group-accent) 78%, var(--mjr-muted, rgba(255, 255, 255, 0.65)));
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group-body {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-card {
|
|
border: 1px solid color-mix(in srgb, var(--mjr-border) 88%, transparent);
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-2) 86%, transparent),
|
|
color-mix(in srgb, var(--mjr-surface-1) 88%, transparent)
|
|
);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-card:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-card--agenda {
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, #f0b84f 9%, var(--mjr-surface-2)),
|
|
color-mix(in srgb, var(--mjr-surface-1) 92%, transparent)
|
|
);
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group:not(.is-open) {
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-group:not(.is-open) .mjr-filter-group-toggle {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
@media (max-width: 440px) {
|
|
.mjr-filter-popover .mjr-filter-head {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-head-actions {
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-header-icon {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-header-title {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-content {
|
|
flex: 1;
|
|
padding: 16px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-folder-breadcrumb {
|
|
--mjr-breadcrumb-accent: #56a8ff;
|
|
--mjr-breadcrumb-current: #35d08b;
|
|
display: none;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 3px 6px;
|
|
margin: 1px 0 3px;
|
|
font-size: 11px;
|
|
opacity: 0.78;
|
|
overflow: auto;
|
|
white-space: nowrap;
|
|
border-radius: 8px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-breadcrumb-accent) 22%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-breadcrumb-accent) 9%, transparent);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-folder-breadcrumb.is-visible {
|
|
display: flex;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-folder-breadcrumb-action {
|
|
padding: 2px 8px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-breadcrumb-accent) 42%, transparent);
|
|
border-radius: 6px;
|
|
background: color-mix(in srgb, var(--mjr-breadcrumb-accent) 16%, transparent);
|
|
color: color-mix(in srgb, var(--mjr-breadcrumb-accent) 78%, #ffffff);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-folder-breadcrumb-action:disabled {
|
|
cursor: default;
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-folder-breadcrumb-action:not(:disabled):hover {
|
|
border-color: color-mix(in srgb, var(--mjr-breadcrumb-accent) 62%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-breadcrumb-accent) 24%, transparent);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-folder-breadcrumb-segment {
|
|
max-width: 220px;
|
|
min-width: 0;
|
|
padding: 1px 5px;
|
|
border: 1px solid transparent;
|
|
border-radius: 5px;
|
|
background: color-mix(in srgb, var(--mjr-breadcrumb-accent) 8%, transparent);
|
|
color: color-mix(in srgb, var(--mjr-breadcrumb-accent) 76%, #ffffff);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-folder-breadcrumb-segment:not(:disabled):hover {
|
|
border-color: color-mix(in srgb, var(--mjr-breadcrumb-accent) 38%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-breadcrumb-accent) 16%, transparent);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-folder-breadcrumb-segment.is-current,
|
|
.mjr-assets-manager .mjr-folder-breadcrumb-segment:disabled {
|
|
border-color: color-mix(in srgb, var(--mjr-breadcrumb-current) 38%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-breadcrumb-current) 14%, transparent);
|
|
color: color-mix(in srgb, var(--mjr-breadcrumb-current) 74%, #ffffff);
|
|
cursor: default;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-folder-breadcrumb-separator {
|
|
color: color-mix(in srgb, var(--mjr-breadcrumb-accent) 58%, var(--mjr-muted, rgba(255, 255, 255, 0.62)));
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-media-shortcuts {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-media-shortcut-btn {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-media-shortcut-btn .pi {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-dup-alert {
|
|
padding: 2px 8px;
|
|
border: 1px solid var(--border-color, #555);
|
|
background: var(--comfy-menu-bg, #222);
|
|
color: var(--input-text, #eee);
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-browse {
|
|
display: flex;
|
|
align-items: stretch;
|
|
flex: 1;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
border-top: 1px solid color-mix(in srgb, var(--mjr-border) 75%, transparent);
|
|
padding-top: 4px;
|
|
}
|
|
|
|
/* Scrollbars (match ComfyUI feel) */
|
|
.mjr-assets-manager .mjr-am-grid-scroll {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
touch-action: pan-y;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: color-mix(in srgb, var(--mjr-border) 85%, var(--content-fg, #ddd)) transparent;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-grid-scroll::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-grid-scroll::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-grid-scroll::-webkit-scrollbar-thumb {
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 55%, var(--content-fg, #ddd));
|
|
border: 2px solid transparent;
|
|
background-clip: padding-box;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-grid-scroll:hover::-webkit-scrollbar-thumb {
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 70%, var(--content-fg, #ddd));
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-grid-scroll::-webkit-scrollbar-corner {
|
|
background: transparent;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-custom-controls {
|
|
display: inline-flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
gap: 8px;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-search {
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-search {
|
|
padding-bottom: 6px;
|
|
border-bottom: 1px solid var(--mjr-border);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
/* Card Metadata Colors */
|
|
.mjr-assets-manager .mjr-meta-duration {
|
|
color: #ffa726; /* Orange for duration */
|
|
font-weight: 500;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-meta-res {
|
|
color: #4fc3f7; /* Light Blue for resolution */
|
|
font-weight: 500;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-meta-date {
|
|
color: #b9f6ca; /* Pale Green for date */
|
|
font-size: 0.9em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-meta-time {
|
|
color: var(--mjr-muted, rgba(255, 255, 255, 0.65));
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin: 0 0 6px 0;
|
|
padding: 0 0 4px 0;
|
|
min-height: 16px;
|
|
font-size: 11px;
|
|
color: var(--mjr-muted, rgba(255, 255, 255, 0.65));
|
|
border-bottom: 1px solid color-mix(in srgb, var(--mjr-border) 65%, transparent);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
/* Toasts (global: can be mounted under document.body) */
|
|
.mjr-toast-container {
|
|
position: fixed;
|
|
top: 16px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
z-index: 1000001;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mjr-toast {
|
|
--mjr-toast-strip: var(--mjr-status-info, var(--comfy-status-info, #2196f3));
|
|
--mjr-toast-icon-color: var(--mjr-status-info, var(--comfy-status-info, #2196f3));
|
|
background: var(--comfy-menu-bg, #2a2a2a);
|
|
border: 1px solid var(--border-color, #3a3a3a);
|
|
border-left: 4px solid var(--mjr-toast-strip);
|
|
border-radius: 4px;
|
|
padding: 12px 16px;
|
|
color: var(--fg-color, #efefef);
|
|
font-family: var(
|
|
--comfy-font,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
-apple-system,
|
|
"Segoe UI",
|
|
Roboto,
|
|
Arial,
|
|
sans-serif
|
|
);
|
|
font-size: 14px;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
|
|
opacity: 0;
|
|
transform: translateY(-15px);
|
|
transition:
|
|
opacity 0.2s ease-out,
|
|
transform 0.2s ease-out;
|
|
pointer-events: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
white-space: pre-wrap;
|
|
width: max-content;
|
|
min-width: min(250px, calc(100vw - 24px));
|
|
max-width: min(400px, calc(100vw - 24px));
|
|
backdrop-filter: blur(4px);
|
|
cursor: default;
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-toast.is-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.mjr-toast-text {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Toast icon styling */
|
|
.mjr-toast-text::before {
|
|
content: attr(data-icon);
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: var(--mjr-toast-icon-color);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 16px;
|
|
}
|
|
|
|
.mjr-toast-success {
|
|
--mjr-toast-strip: var(--mjr-status-success, var(--comfy-status-success, #4caf50));
|
|
--mjr-toast-icon-color: var(--mjr-status-success, var(--comfy-status-success, #4caf50));
|
|
}
|
|
|
|
.mjr-toast-error {
|
|
--mjr-toast-strip: var(--mjr-status-error, var(--comfy-status-error, #f44336));
|
|
--mjr-toast-icon-color: var(--mjr-status-error, var(--comfy-status-error, #f44336));
|
|
}
|
|
|
|
.mjr-toast-warning {
|
|
--mjr-toast-strip: var(--mjr-status-warning, var(--comfy-status-warning, #ffa726));
|
|
--mjr-toast-icon-color: var(--mjr-status-warning, var(--comfy-status-warning, #ffa726));
|
|
}
|
|
|
|
.mjr-toast-info {
|
|
--mjr-toast-strip: var(--mjr-status-info, var(--comfy-status-info, #2196f3));
|
|
--mjr-toast-icon-color: var(--mjr-status-info, var(--comfy-status-info, #2196f3));
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-summary-text {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-summary-right {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-context-pills {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
row-gap: 4px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-context-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 3px 7px;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-accent) 55%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 55%, var(--mjr-accent) 10%);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--mjr-accent) 18%, transparent);
|
|
color: var(--content-fg, #ddd);
|
|
font-size: 10.5px;
|
|
line-height: 1;
|
|
min-height: 22px;
|
|
max-width: 220px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-context-pill:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 75%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 50%, var(--mjr-accent) 14%);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-context-pill-text {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-context-pill-x {
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-border) 75%, transparent);
|
|
background: transparent;
|
|
border-radius: 999px;
|
|
color: var(--mjr-muted, rgba(255, 255, 255, 0.65));
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition:
|
|
background-color 120ms ease,
|
|
border-color 120ms ease;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-context-pill-x:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 55%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 70%, var(--mjr-accent) 10%);
|
|
color: var(--content-fg, #fff);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-search-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
height: 1.75rem;
|
|
padding: 0 10px;
|
|
width: 100%;
|
|
max-width: none;
|
|
border-radius: var(--radius-lg, 0.5rem);
|
|
background: var(--comfy-input-bg, rgba(0, 0, 0, 0.25));
|
|
border: 1px solid var(--mjr-border);
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-search-tools {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-popover-anchor {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.mjr-agenda-input {
|
|
display: none;
|
|
border: 1px solid var(--mjr-border);
|
|
background: var(--comfy-input-bg, rgba(0, 0, 0, 0.25));
|
|
color: var(--input-text, #ddd);
|
|
transition:
|
|
background-color 0.2s ease,
|
|
color 0.2s ease,
|
|
border-color 0.2s ease;
|
|
}
|
|
.mjr-agenda-input.mjr-agenda-filled {
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, var(--comfy-accent, #5fb3ff)) 40%,
|
|
var(--mjr-surface-2) 60%
|
|
);
|
|
border-color: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, var(--comfy-accent, #5fb3ff)) 80%,
|
|
var(--mjr-border)
|
|
);
|
|
color: var(--content-fg, #fff);
|
|
}
|
|
.mjr-agenda-input.mjr-agenda-empty {
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 85%, transparent 15%);
|
|
border-color: var(--mjr-border);
|
|
color: var(--mjr-muted, rgba(255, 255, 255, 0.65));
|
|
}
|
|
|
|
.mjr-agenda-container {
|
|
width: 100%;
|
|
}
|
|
|
|
.mjr-agenda-calendar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-agenda-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-agenda-month {
|
|
flex: 1;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
color: var(--content-fg, #ddd);
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-agenda-nav {
|
|
width: 32px;
|
|
height: 28px;
|
|
padding: 0;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.mjr-agenda-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
gap: 6px;
|
|
width: 100%;
|
|
}
|
|
|
|
.mjr-agenda-weekday {
|
|
text-align: center;
|
|
font-size: 11px;
|
|
color: var(--mjr-muted, rgba(255, 255, 255, 0.65));
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-agenda-day {
|
|
height: 30px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--mjr-border);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 55%, transparent);
|
|
color: var(--content-fg, #ddd);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
padding: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
transition:
|
|
background-color 120ms ease,
|
|
border-color 120ms ease,
|
|
transform 80ms ease;
|
|
}
|
|
|
|
.mjr-agenda-day-badge {
|
|
position: absolute;
|
|
top: -5px;
|
|
right: -5px;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
padding: 0 4px;
|
|
border-radius: 999px;
|
|
background: #e53935;
|
|
color: #fff;
|
|
border: 1px solid color-mix(in srgb, #e53935 65%, #ffffff 35%);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 14px;
|
|
text-align: center;
|
|
pointer-events: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.mjr-agenda-day:hover {
|
|
border-color: color-mix(
|
|
in srgb,
|
|
var(--mjr-border) 55%,
|
|
var(--mjr-accent, var(--comfy-accent, #5fb3ff)) 45%
|
|
);
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-surface-2) 45%,
|
|
var(--mjr-accent, var(--comfy-accent, #5fb3ff)) 10%
|
|
);
|
|
}
|
|
|
|
.mjr-agenda-day:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.mjr-agenda-day--blank {
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mjr-agenda-day--has-assets {
|
|
border-color: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, var(--comfy-accent, #5fb3ff)) 80%,
|
|
var(--mjr-border)
|
|
);
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, var(--comfy-accent, #5fb3ff)) 18%,
|
|
var(--mjr-surface-2) 82%
|
|
);
|
|
}
|
|
|
|
.mjr-agenda-day--selected {
|
|
border-color: var(--mjr-accent, var(--comfy-accent, #5fb3ff));
|
|
box-shadow: 0 0 0 1px
|
|
color-mix(in srgb, var(--mjr-accent, var(--comfy-accent, #5fb3ff)) 55%, transparent);
|
|
}
|
|
|
|
.mjr-agenda-footer {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.mjr-agenda-clear,
|
|
.mjr-agenda-refresh {
|
|
flex: 1;
|
|
}
|
|
|
|
.mjr-menu,
|
|
.mjr-assets-manager .mjr-menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mjr-prime-menu-list,
|
|
.mjr-sort-menu [data-pc-section="list"] {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-prime-menu [data-pc-section="item"],
|
|
.mjr-prime-menu-list [data-pc-section="item"] {
|
|
list-style: none;
|
|
}
|
|
|
|
.mjr-prime-menu [data-pc-section="itemcontent"] {
|
|
width: 100%;
|
|
}
|
|
|
|
.mjr-menu-item,
|
|
.mjr-assets-manager .mjr-menu-item {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: var(--content-fg, #ddd);
|
|
font-family: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition:
|
|
background-color 120ms ease,
|
|
border-color 120ms ease,
|
|
transform 80ms ease;
|
|
}
|
|
|
|
.mjr-menu-item:hover,
|
|
.mjr-assets-manager .mjr-menu-item:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-border) 80%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 55%, transparent);
|
|
}
|
|
|
|
.mjr-menu-item:active,
|
|
.mjr-assets-manager .mjr-menu-item:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.mjr-menu-item-label,
|
|
.mjr-assets-manager .mjr-menu-item-label {
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-menu-item-check,
|
|
.mjr-assets-manager .mjr-menu-item-check {
|
|
font-size: 12px;
|
|
width: 16px;
|
|
flex: 0 0 16px;
|
|
text-align: center;
|
|
opacity: 0;
|
|
color: color-mix(in srgb, var(--mjr-accent) 72%, var(--content-fg));
|
|
transition:
|
|
opacity 120ms ease,
|
|
color 120ms ease;
|
|
}
|
|
|
|
.mjr-menu-item .pi,
|
|
.mjr-assets-manager .mjr-menu-item .pi {
|
|
font-size: 13px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.mjr-collections-menu {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-menu-item-label--icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-menu-item-label--icon .pi {
|
|
width: 16px;
|
|
flex: 0 0 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mjr-menu-item-right {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex: 0 0 auto;
|
|
min-width: 16px;
|
|
margin-left: auto;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.mjr-menu-item-hint {
|
|
color: color-mix(in srgb, var(--content-fg) 62%, var(--mjr-muted));
|
|
opacity: 0.72;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-menu-item-check--visible,
|
|
.mjr-menu-item.is-active .mjr-menu-item-check {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mjr-menu-divider {
|
|
height: 1px;
|
|
margin: 4px 0;
|
|
background: color-mix(in srgb, var(--mjr-border) 80%, transparent);
|
|
}
|
|
|
|
.mjr-muted {
|
|
padding: 10px 12px;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.mjr-state-block {
|
|
font-size: 10px;
|
|
line-height: 1.35;
|
|
color: var(--mjr-muted);
|
|
border: 1px dashed color-mix(in srgb, var(--mjr-border) 85%, transparent);
|
|
border-radius: var(--mjr-r-sm);
|
|
padding: 8px 10px;
|
|
margin: 4px 0;
|
|
background: color-mix(in srgb, var(--mjr-surface-1) 70%, transparent);
|
|
}
|
|
|
|
.mjr-state-block.is-error,
|
|
.mjr-context-menu-note.is-error {
|
|
color: color-mix(in srgb, var(--mjr-status-error) 82%, var(--content-fg));
|
|
border-color: color-mix(in srgb, var(--mjr-status-error) 45%, var(--mjr-border));
|
|
}
|
|
|
|
.mjr-collection-row {
|
|
display: flex;
|
|
align-items: stretch;
|
|
width: 100%;
|
|
min-height: 48px;
|
|
}
|
|
|
|
.mjr-collections-virtual-list {
|
|
width: 100%;
|
|
overflow: auto;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.mjr-delete-btn {
|
|
width: 42px;
|
|
flex: 0 0 42px;
|
|
justify-content: center;
|
|
padding: 0;
|
|
margin-left: 6px;
|
|
border-color: color-mix(in srgb, var(--mjr-border) 65%, var(--mjr-status-error) 45%);
|
|
}
|
|
|
|
.mjr-delete-btn:hover:not(:disabled) {
|
|
border-color: color-mix(in srgb, var(--mjr-border) 40%, var(--mjr-status-error) 65%);
|
|
}
|
|
|
|
.mjr-delete-btn .pi {
|
|
color: color-mix(in srgb, var(--mjr-status-error) 78%, var(--content-fg));
|
|
}
|
|
|
|
.mjr-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 10px 2px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.6px;
|
|
text-transform: uppercase;
|
|
opacity: 0.88;
|
|
color: color-mix(in srgb, var(--content-fg) 72%, var(--mjr-muted));
|
|
}
|
|
|
|
.mjr-section-title--cyan {
|
|
color: color-mix(in srgb, #6fd4ff 78%, var(--content-fg));
|
|
}
|
|
|
|
.mjr-section-title--violet {
|
|
color: color-mix(in srgb, #c48dff 78%, var(--content-fg));
|
|
}
|
|
|
|
.mjr-section-hint {
|
|
padding: 0 10px 4px;
|
|
font-size: 10px;
|
|
line-height: 1.4;
|
|
color: color-mix(in srgb, var(--content-fg) 55%, var(--mjr-muted));
|
|
}
|
|
|
|
.mjr-menu-item--smart,
|
|
.mjr-menu-item--cluster {
|
|
border-color: transparent;
|
|
background: transparent;
|
|
}
|
|
|
|
.mjr-menu-item--cluster {
|
|
justify-content: center;
|
|
color: var(--content-fg);
|
|
}
|
|
|
|
.mjr-menu-item--smart .pi {
|
|
color: color-mix(in srgb, #6fd4ff 74%, var(--content-fg));
|
|
}
|
|
|
|
.mjr-menu-item--cluster .pi {
|
|
color: color-mix(in srgb, #c48dff 74%, var(--content-fg));
|
|
}
|
|
|
|
.mjr-menu-item--smart:hover:not(:disabled),
|
|
.mjr-menu-item--cluster:hover:not(:disabled) {
|
|
border-color: color-mix(in srgb, var(--mjr-border) 80%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 55%, transparent);
|
|
}
|
|
|
|
.mjr-cluster-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 4px;
|
|
padding: 6px 8px;
|
|
border-radius: var(--mjr-r-sm);
|
|
border: 1px solid var(--mjr-border);
|
|
background: color-mix(in srgb, var(--mjr-surface-1) 70%, transparent);
|
|
}
|
|
|
|
.mjr-cluster-thumbs {
|
|
display: flex;
|
|
gap: 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mjr-cluster-thumb {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 4px;
|
|
object-fit: cover;
|
|
opacity: 0.85;
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 60%, transparent);
|
|
}
|
|
|
|
.mjr-cluster-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-cluster-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--content-fg);
|
|
}
|
|
|
|
.mjr-cluster-count {
|
|
font-size: 10px;
|
|
color: color-mix(in srgb, var(--content-fg) 58%, var(--mjr-muted));
|
|
}
|
|
|
|
.mjr-cluster-create-btn {
|
|
flex-shrink: 0;
|
|
padding: 3px 8px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--mjr-border);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 55%, transparent);
|
|
color: var(--content-fg);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition:
|
|
border-color 120ms ease,
|
|
background 120ms ease,
|
|
opacity 120ms ease;
|
|
}
|
|
|
|
.mjr-cluster-create-btn:disabled {
|
|
opacity: 0.62;
|
|
cursor: default;
|
|
}
|
|
|
|
.mjr-cluster-create-btn:hover:not(:disabled) {
|
|
border-color: color-mix(in srgb, var(--mjr-border) 80%, transparent);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 62%, transparent);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-search-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--mjr-muted);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-search-icon .pi {
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-search-pill .mjr-input {
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important;
|
|
font-size: 12px !important;
|
|
line-height: 1.2 !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-search-pill:focus-within {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 65%, var(--mjr-border));
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--mjr-accent) 18%, transparent);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-browse {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-am-grid-scroll {
|
|
padding-right: 4px;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
/* Grid layout */
|
|
.mjr-assets-manager .mjr-grid {
|
|
display: grid;
|
|
position: relative;
|
|
/* Avoid overflow when the panel becomes narrower than the min card size */
|
|
grid-template-columns: repeat(
|
|
auto-fill,
|
|
minmax(min(100%, var(--mjr-grid-min-size, 180px)), 1fr)
|
|
);
|
|
gap: var(--mjr-grid-gap, 10px);
|
|
margin-top: 6px;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* Card selection + focus (keeps a visible indicator when sidebar is open) */
|
|
.mjr-assets-manager .mjr-asset-card {
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card.is-selected {
|
|
box-shadow:
|
|
0 0 0 3px color-mix(in srgb, var(--mjr-card-selection-color) 80%, var(--content-fg)),
|
|
0 0 0 6px color-mix(in srgb, var(--mjr-card-selection-color) 30%, transparent),
|
|
0 0 20px color-mix(in srgb, var(--mjr-card-selection-color) 40%, transparent),
|
|
0 10px 28px rgba(0, 0, 0, 0.28);
|
|
border-radius: var(--mjr-r-lg);
|
|
/* scale(0.97) instead of 0.92: subtle inset feel without the aggressive
|
|
shrink that caused a visible blink on rapid selection changes. */
|
|
transform: scale(0.97) !important;
|
|
z-index: 10;
|
|
outline: 2px solid var(--mjr-card-selection-color);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card:focus-visible {
|
|
box-shadow:
|
|
0 0 0 3px color-mix(in srgb, var(--mjr-accent) 80%, var(--content-fg)),
|
|
0 0 0 6px color-mix(in srgb, var(--mjr-accent) 30%, transparent),
|
|
0 0 20px color-mix(in srgb, var(--mjr-accent) 40%, transparent),
|
|
0 10px 28px rgba(0, 0, 0, 0.28);
|
|
border-radius: var(--mjr-r-lg);
|
|
transform: scale(0.97) !important;
|
|
z-index: 10;
|
|
}
|
|
|
|
@keyframes mjr-live-placeholder-sheen {
|
|
0% {
|
|
transform: translateX(-58%);
|
|
opacity: 0.18;
|
|
}
|
|
50% {
|
|
opacity: 0.34;
|
|
}
|
|
100% {
|
|
transform: translateX(58%);
|
|
opacity: 0.18;
|
|
}
|
|
}
|
|
|
|
@keyframes mjr-live-placeholder-pulse {
|
|
0%,
|
|
100% {
|
|
box-shadow:
|
|
0 0 0 1px rgba(118, 214, 255, 0.34),
|
|
0 10px 24px rgba(0, 0, 0, 0.24);
|
|
}
|
|
50% {
|
|
box-shadow:
|
|
0 0 0 1px rgba(118, 214, 255, 0.52),
|
|
0 0 0 4px rgba(118, 214, 255, 0.12),
|
|
0 12px 30px rgba(0, 0, 0, 0.28);
|
|
}
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-live-placeholder="true"] {
|
|
animation: mjr-live-placeholder-pulse 1.9s ease-in-out infinite;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-live-placeholder="true"] .mjr-thumb {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-live-placeholder-wash {
|
|
position: absolute;
|
|
inset: -8%;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
background: linear-gradient(
|
|
115deg,
|
|
rgba(98, 199, 255, 0) 0%,
|
|
rgba(98, 199, 255, 0.08) 30%,
|
|
rgba(255, 255, 255, 0.24) 50%,
|
|
rgba(98, 199, 255, 0.12) 70%,
|
|
rgba(98, 199, 255, 0) 100%
|
|
);
|
|
animation: mjr-live-placeholder-sheen 2.2s linear infinite;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-live-pill {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
z-index: 12;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-height: 24px;
|
|
padding: 0 8px;
|
|
border-radius: 999px;
|
|
background: rgba(10, 14, 20, 0.78);
|
|
border: 1px solid rgba(118, 214, 255, 0.34);
|
|
color: rgba(255, 255, 255, 0.96);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.01em;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-live-pill-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
background: #76d6ff;
|
|
box-shadow: 0 0 0 4px rgba(118, 214, 255, 0.16);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-live-placeholder="true"] .mjr-asset-status-dot {
|
|
animation: mjr-live-placeholder-pulse 1.9s ease-in-out infinite;
|
|
}
|
|
|
|
/* Grid loading overlay */
|
|
.mjr-assets-manager .mjr-grid-loading-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: color-mix(in srgb, #000 35%, transparent);
|
|
color: var(--content-fg, #fff);
|
|
font-size: 13px;
|
|
letter-spacing: 0.3px;
|
|
border-radius: var(--mjr-r-lg);
|
|
pointer-events: none;
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid-skeleton-layout {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid-skeleton-card {
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.22);
|
|
background: rgba(192, 198, 206, 0.2);
|
|
overflow: hidden;
|
|
/* min-height removed: Vue skeletonCardStyle sets an explicit height derived
|
|
from estimateRowHeight. A conflicting min-height caused skeleton cards to
|
|
be taller than the actual cards they replace, causing a layout jump when
|
|
assets first load. */
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid-skeleton-thumb {
|
|
aspect-ratio: 1 / 1;
|
|
width: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(156, 162, 171, 0.52) 0%,
|
|
rgba(220, 225, 232, 0.72) 45%,
|
|
rgba(156, 162, 171, 0.52) 100%
|
|
);
|
|
background-size: 240% 100%;
|
|
animation: mjr-grid-skeleton-shimmer 1.2s linear infinite;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid-skeleton-line {
|
|
height: 10px;
|
|
margin: 8px 10px;
|
|
border-radius: 8px;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(164, 170, 179, 0.48) 0%,
|
|
rgba(214, 219, 226, 0.7) 45%,
|
|
rgba(164, 170, 179, 0.48) 100%
|
|
);
|
|
background-size: 240% 100%;
|
|
animation: mjr-grid-skeleton-shimmer 1.2s linear infinite;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid-skeleton-line--title {
|
|
width: 72%;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid-skeleton-line--meta {
|
|
width: 48%;
|
|
margin-top: 2px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
@keyframes mjr-skeleton-shimmer {
|
|
0% {
|
|
background-position: 120% 0;
|
|
}
|
|
100% {
|
|
background-position: -120% 0;
|
|
}
|
|
}
|
|
|
|
@keyframes mjr-grid-skeleton-shimmer {
|
|
0% {
|
|
background-position: 100% 0;
|
|
}
|
|
100% {
|
|
background-position: -100% 0;
|
|
}
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid-skeleton-shimmer {
|
|
will-change: background-position;
|
|
}
|
|
|
|
/* Generic headings inside panel */
|
|
.mjr-assets-manager h3,
|
|
.mjr-assets-manager h4 {
|
|
font-family: inherit;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
/* Panels */
|
|
.mjr-assets-manager .mjr-panel {
|
|
background: var(--mjr-surface-1);
|
|
border: 1px solid var(--mjr-border);
|
|
border-radius: var(--mjr-r-lg);
|
|
box-shadow: var(--interface-panel-box-shadow, 0 8px 24px rgba(0, 0, 0, 0.25));
|
|
}
|
|
|
|
/* Toolbar */
|
|
.mjr-assets-manager .mjr-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: var(--mjr-pad-md);
|
|
}
|
|
|
|
/* Buttons */
|
|
.mjr-assets-manager .mjr-btn {
|
|
appearance: none;
|
|
border: 1px solid var(--mjr-border);
|
|
background: var(--mjr-surface-2);
|
|
color: var(--content-fg, #ddd);
|
|
border-radius: var(--mjr-r-md);
|
|
padding: 7px 10px;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition:
|
|
background 120ms ease,
|
|
border-color 120ms ease,
|
|
transform 80ms ease;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-btn:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 55%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 70%, var(--mjr-accent) 10%);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-btn:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-btn:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-btn.mjr-primary {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 60%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-accent) 14%, var(--mjr-surface-2));
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-btn {
|
|
/* Override inline styles if present */
|
|
border: 1px solid var(--mjr-border);
|
|
background: var(--mjr-surface-2);
|
|
color: var(--content-fg, #ddd);
|
|
border-radius: var(--mjr-r-md);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-btn:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 55%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 70%, var(--mjr-accent) 10%);
|
|
}
|
|
|
|
/* Inputs / selects (used inside portaled popovers too) */
|
|
.mjr-input,
|
|
.mjr-select,
|
|
.mjr-assets-manager .mjr-input,
|
|
.mjr-assets-manager .mjr-select {
|
|
appearance: none;
|
|
border: 1px solid var(--mjr-border);
|
|
background: var(--comfy-input-bg, rgba(0, 0, 0, 0.25));
|
|
color: var(--input-text, #ddd);
|
|
border-radius: var(--mjr-r-md);
|
|
padding: 8px 10px;
|
|
font-size: 13px;
|
|
outline: none;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-input::placeholder {
|
|
color: color-mix(in srgb, var(--mjr-muted) 80%, transparent);
|
|
}
|
|
|
|
.mjr-input:focus,
|
|
.mjr-select:focus,
|
|
.mjr-assets-manager .mjr-input:focus,
|
|
.mjr-assets-manager .mjr-select:focus {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 65%, var(--mjr-border));
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--mjr-accent) 20%, transparent);
|
|
}
|
|
|
|
.mjr-input,
|
|
.mjr-select,
|
|
.mjr-assets-manager .mjr-input,
|
|
.mjr-assets-manager .mjr-select {
|
|
/* Override inline styles if present */
|
|
border: 1px solid var(--mjr-border);
|
|
background: var(--comfy-input-bg, rgba(0, 0, 0, 0.25));
|
|
color: var(--input-text, #ddd);
|
|
border-radius: var(--mjr-r-md);
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-select {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-height: 34px;
|
|
padding: 0 9px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-select[data-p-disabled="true"] {
|
|
opacity: 0.55;
|
|
cursor: default;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-select [data-pc-section="label"] {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-filter-popover .mjr-filter-select [data-pc-section="dropdown"] {
|
|
flex: 0 0 auto;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
color: var(--mjr-muted, var(--descrip-text, rgba(255, 255, 255, 0.65)));
|
|
}
|
|
|
|
.mjr-filter-select-panel {
|
|
min-width: var(--p-select-overlay-width, 12rem);
|
|
max-width: min(320px, calc(100vw - 32px));
|
|
max-height: min(320px, calc(100vh - 32px));
|
|
overflow: auto;
|
|
padding: 4px;
|
|
border: 1px solid var(--mjr-border);
|
|
border-radius: var(--mjr-r-md);
|
|
background: var(--mjr-surface-1, var(--comfy-menu-bg, #2a2a2a));
|
|
color: var(--content-fg, var(--input-text, #ddd));
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
|
|
z-index: calc(var(--mjr-popover-z-index, 2147483647) + 1);
|
|
}
|
|
|
|
.mjr-filter-select-panel [data-pc-section="list"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.mjr-filter-select-panel [data-pc-section="option"] {
|
|
min-height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 6px 8px;
|
|
border-radius: calc(var(--mjr-r-md) - 2px);
|
|
font-size: 12px;
|
|
line-height: 1.25;
|
|
cursor: pointer;
|
|
color: var(--content-fg, var(--input-text, #ddd));
|
|
}
|
|
|
|
.mjr-filter-select-panel [data-pc-section="option"]:hover,
|
|
.mjr-filter-select-panel [data-p-highlight="true"] {
|
|
background: color-mix(in srgb, var(--mjr-accent) 18%, transparent);
|
|
color: var(--content-fg, #fff);
|
|
}
|
|
|
|
/* Tabs: overridden above with queue-like style */
|
|
|
|
/* Removed redundant tab declarations that were using !important */
|
|
|
|
/* Muted text helper */
|
|
.mjr-assets-manager .mjr-muted {
|
|
color: var(--mjr-muted);
|
|
}
|
|
|
|
/* Grid + cards (override inline styles from Card.js) */
|
|
.mjr-assets-manager #mjr-assets-grid {
|
|
gap: 10px !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card,
|
|
.mjr-assets-manager .mjr-card {
|
|
background: var(--mjr-surface-1) !important;
|
|
border: 1px solid var(--mjr-border) !important;
|
|
border-radius: var(--mjr-r-lg) !important;
|
|
overflow: hidden !important;
|
|
min-width: 0;
|
|
transition:
|
|
transform 120ms ease,
|
|
border-color 120ms ease,
|
|
box-shadow 120ms ease !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card:hover,
|
|
.mjr-assets-manager .mjr-card:hover {
|
|
transform: translateY(-1px) !important;
|
|
border-color: color-mix(
|
|
in srgb,
|
|
var(--mjr-card-selection-color) 55%,
|
|
var(--mjr-border)
|
|
) !important;
|
|
background-color: var(--mjr-card-hover-color) !important;
|
|
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25) !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card img,
|
|
.mjr-assets-manager .mjr-asset-card video,
|
|
.mjr-assets-manager .mjr-thumb-media {
|
|
display: block;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
object-fit: cover !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-thumb {
|
|
flex: 0 0 auto;
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
background: color-mix(in srgb, var(--mjr-surface-0) 80%, transparent);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb,
|
|
.mjr-bottom-feed .mjr-audio-thumb {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 14px 12px 12px;
|
|
color: rgba(255, 255, 255, 0.94);
|
|
pointer-events: none;
|
|
background:
|
|
radial-gradient(circle at 18% 20%, rgba(78, 184, 255, 0.32), transparent 38%),
|
|
radial-gradient(circle at 88% 72%, rgba(82, 220, 156, 0.24), transparent 42%),
|
|
linear-gradient(135deg, rgba(18, 26, 36, 0.98), rgba(8, 12, 18, 0.98));
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb.has-poster,
|
|
.mjr-bottom-feed .mjr-audio-thumb.has-poster {
|
|
background:
|
|
linear-gradient(180deg, rgba(4, 6, 10, 0.28), rgba(4, 6, 10, 0.86)),
|
|
radial-gradient(circle at 50% 42%, rgba(78, 184, 255, 0.2), transparent 54%);
|
|
backdrop-filter: saturate(1.1);
|
|
-webkit-backdrop-filter: saturate(1.1);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb-head,
|
|
.mjr-bottom-feed .mjr-audio-thumb-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb-icon,
|
|
.mjr-bottom-feed .mjr-audio-thumb-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 999px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb-kind,
|
|
.mjr-bottom-feed .mjr-audio-thumb-kind {
|
|
max-width: 62px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
padding: 3px 7px;
|
|
border-radius: 999px;
|
|
background: rgba(0, 0, 0, 0.28);
|
|
border: 1px solid rgba(255, 255, 255, 0.13);
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb-waveform,
|
|
.mjr-bottom-feed .mjr-audio-thumb-waveform {
|
|
flex: 1;
|
|
min-height: 42px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: clamp(2px, 2.2%, 5px);
|
|
padding: 4px 0;
|
|
filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.34));
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb-waveform span,
|
|
.mjr-bottom-feed .mjr-audio-thumb-waveform span {
|
|
width: 3px;
|
|
min-width: 2px;
|
|
max-width: 5px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(160, 224, 255, 0.72));
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb-meta,
|
|
.mjr-bottom-feed .mjr-audio-thumb-meta {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb-title,
|
|
.mjr-bottom-feed .mjr-audio-thumb-title {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-audio-thumb-subtitle,
|
|
.mjr-bottom-feed .mjr-audio-thumb-subtitle {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
padding: 14px 12px;
|
|
background:
|
|
linear-gradient(135deg, rgba(47, 58, 76, 0.94), rgba(18, 23, 32, 0.98)),
|
|
radial-gradient(circle at 30% 25%, rgba(78, 184, 255, 0.22), transparent 42%);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
text-align: center;
|
|
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-thumb.mjr-thumb-workflow,
|
|
.mjr-assets-manager .mjr-card .mjr-thumb.mjr-thumb-workflow {
|
|
aspect-ratio: 1.08 / 1;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-card-actions,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-card-actions {
|
|
position: absolute;
|
|
top: 7px;
|
|
right: 7px;
|
|
display: inline-flex;
|
|
gap: 4px;
|
|
z-index: 12;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-action-btn,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-action-btn {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 24px;
|
|
height: 24px;
|
|
min-width: 24px;
|
|
min-height: 24px;
|
|
padding: 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.34);
|
|
border-radius: 7px;
|
|
background: rgba(8, 12, 18, 0.58);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
backdrop-filter: blur(3px);
|
|
-webkit-backdrop-filter: blur(3px);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-action-btn:hover,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-action-btn:hover {
|
|
background: rgba(29, 40, 58, 0.78);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-action-btn.is-active,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-action-btn.is-active {
|
|
color: #ffd45a;
|
|
border-color: rgba(255, 212, 90, 0.7);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb .pi,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb .pi {
|
|
font-size: 1.75rem;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb.has-thumbnail,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb.has-thumbnail {
|
|
justify-content: flex-end;
|
|
background:
|
|
linear-gradient(180deg, transparent 24%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.78)),
|
|
linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.34));
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-thumb-media.mjr-workflow-graph-map-preview,
|
|
.mjr-assets-manager .mjr-card .mjr-thumb-media.mjr-workflow-graph-map-preview {
|
|
object-fit: cover !important;
|
|
opacity: 0.46;
|
|
filter: saturate(0.75) contrast(0.82) brightness(0.7);
|
|
transform: scale(1.06);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb.has-graph-map,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb.has-graph-map {
|
|
justify-content: center;
|
|
background:
|
|
linear-gradient(180deg, rgba(8, 10, 14, 0.3), rgba(8, 10, 14, 0.82)),
|
|
radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68) 72%);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb.has-graph-map .mjr-workflow-thumb-title,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb.has-graph-map .mjr-workflow-thumb-title {
|
|
padding: 2px 7px;
|
|
border-radius: 5px;
|
|
background: rgba(0, 0, 0, 0.36);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb.has-thumbnail .pi,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb.has-thumbnail .pi {
|
|
display: none;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb.has-graph-map .pi,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb.has-graph-map .pi {
|
|
display: inline-flex;
|
|
margin-bottom: 2px;
|
|
font-size: 1.15rem;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb-title,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb-title {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 0.84rem;
|
|
font-weight: 800;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb-meta,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb-meta {
|
|
display: flex;
|
|
max-width: 100%;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
font-size: 0.68rem;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb-meta span,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb-meta span,
|
|
.mjr-assets-manager .mjr-asset-card .mjr-meta-workflow-task,
|
|
.mjr-assets-manager .mjr-card .mjr-meta-workflow-task,
|
|
.mjr-assets-manager .mjr-asset-card .mjr-meta-workflow-subgraphs,
|
|
.mjr-assets-manager .mjr-card .mjr-meta-workflow-subgraphs {
|
|
border-radius: 4px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
padding: 2px 5px;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-thumb-meta span:nth-child(n + 4),
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-thumb-meta span:nth-child(n + 4) {
|
|
display: none;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-card-meta[data-mjr-kind="workflow"],
|
|
.mjr-assets-manager .mjr-card .mjr-card-meta[data-mjr-kind="workflow"] {
|
|
padding: 7px 9px !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-card-meta[data-mjr-kind="workflow"] .mjr-card-filename,
|
|
.mjr-assets-manager .mjr-card .mjr-card-meta[data-mjr-kind="workflow"] .mjr-card-filename {
|
|
margin-bottom: 3px !important;
|
|
font-size: 0.78rem !important;
|
|
line-height: 1.15 !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-card-meta[data-mjr-kind="workflow"] .mjr-card-meta-row,
|
|
.mjr-assets-manager .mjr-card .mjr-card-meta[data-mjr-kind="workflow"] .mjr-card-meta-row {
|
|
font-size: 0.72rem !important;
|
|
opacity: 0.74 !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-card-meta[data-mjr-kind="workflow"] .mjr-card-meta-row .mjr-meta-workflow-task,
|
|
.mjr-assets-manager .mjr-card .mjr-card-meta[data-mjr-kind="workflow"] .mjr-card-meta-row .mjr-meta-workflow-task {
|
|
display: none;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card .mjr-workflow-missing-chip,
|
|
.mjr-assets-manager .mjr-card .mjr-workflow-missing-chip,
|
|
.mjr-assets-manager .mjr-asset-card .mjr-meta-workflow-missing,
|
|
.mjr-assets-manager .mjr-card .mjr-meta-workflow-missing {
|
|
background: rgba(255, 190, 66, 0.28);
|
|
color: rgba(255, 236, 180, 0.98);
|
|
border: 1px solid rgba(255, 206, 101, 0.45);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
min-height: 30px;
|
|
margin: 0 0 8px;
|
|
padding: 5px 9px;
|
|
border: 1px solid rgba(var(--mjr-workflow-group-accent-rgb, 95, 179, 255), 0.42);
|
|
border-radius: 7px;
|
|
background:
|
|
linear-gradient(
|
|
135deg,
|
|
rgba(var(--mjr-workflow-group-accent-rgb, 95, 179, 255), 0.22),
|
|
rgba(var(--mjr-workflow-group-accent-rgb, 95, 179, 255), 0.08)
|
|
),
|
|
color-mix(in srgb, var(--mjr-surface-2) 78%, transparent);
|
|
color: color-mix(in srgb, var(--content-fg, #fff) 92%, transparent);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
line-height: 1;
|
|
text-align: left;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator:hover {
|
|
border-color: rgba(var(--mjr-workflow-group-accent-rgb, 95, 179, 255), 0.66);
|
|
background:
|
|
linear-gradient(
|
|
135deg,
|
|
rgba(var(--mjr-workflow-group-accent-rgb, 95, 179, 255), 0.3),
|
|
rgba(var(--mjr-workflow-group-accent-rgb, 95, 179, 255), 0.12)
|
|
),
|
|
color-mix(in srgb, var(--mjr-surface-2) 84%, transparent);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator:focus-visible {
|
|
outline: 2px solid rgba(var(--mjr-workflow-group-accent-rgb, 95, 179, 255), 0.55);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator--accent-0 {
|
|
--mjr-workflow-group-accent-rgb: 95, 179, 255;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator--accent-1 {
|
|
--mjr-workflow-group-accent-rgb: 55, 211, 156;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator--accent-2 {
|
|
--mjr-workflow-group-accent-rgb: 246, 177, 75;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator--accent-3 {
|
|
--mjr-workflow-group-accent-rgb: 238, 104, 136;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator--accent-4 {
|
|
--mjr-workflow-group-accent-rgb: 157, 132, 238;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator--accent-5 {
|
|
--mjr-workflow-group-accent-rgb: 71, 197, 222;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator--accent-6 {
|
|
--mjr-workflow-group-accent-rgb: 149, 207, 81;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator--accent-7 {
|
|
--mjr-workflow-group-accent-rgb: 242, 130, 78;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator-chevron {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 999px;
|
|
color: rgb(var(--mjr-workflow-group-accent-rgb, 95, 179, 255));
|
|
background: rgba(var(--mjr-workflow-group-accent-rgb, 95, 179, 255), 0.14);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator-chevron > .pi {
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-grid .mjr-grid-group-separator-title {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.mjr-workflow-picker-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 999999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
background: rgba(0, 0, 0, 0.58);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.mjr-workflow-picker-dialog {
|
|
width: min(920px, 96vw);
|
|
max-height: min(760px, 92vh);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 10px;
|
|
background: color-mix(in srgb, var(--mjr-surface-0, #111418) 96%, #000);
|
|
color: var(--content-fg, #f5f5f5);
|
|
box-shadow: 0 18px 60px rgba(0, 0, 0, 0.48);
|
|
}
|
|
|
|
.mjr-workflow-info-dialog {
|
|
width: min(560px, 96vw);
|
|
}
|
|
|
|
.mjr-workflow-info-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
padding: 14px 18px 4px;
|
|
}
|
|
|
|
.mjr-workflow-info-form label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-workflow-info-form label.is-wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.mjr-workflow-info-form span {
|
|
color: rgba(255,255,255,0.64);
|
|
font-size: 11px;
|
|
font-weight: 750;
|
|
letter-spacing: .04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mjr-workflow-info-form input,
|
|
.mjr-workflow-info-form select,
|
|
.mjr-workflow-info-form textarea {
|
|
width: 100%;
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
border-radius: 8px;
|
|
background: rgba(0,0,0,0.26);
|
|
color: rgba(255,255,255,0.92);
|
|
font: inherit;
|
|
font-size: 13px;
|
|
padding: 9px 10px;
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-workflow-info-form textarea {
|
|
resize: vertical;
|
|
min-height: 96px;
|
|
}
|
|
|
|
.mjr-workflow-picker-header,
|
|
.mjr-workflow-picker-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.mjr-workflow-picker-footer {
|
|
justify-content: flex-end;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.mjr-workflow-picker-title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
min-width: 0;
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.mjr-workflow-picker-icon-btn,
|
|
.mjr-workflow-picker-btn {
|
|
appearance: none;
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
border-radius: 7px;
|
|
background: color-mix(in srgb, var(--mjr-surface-2, #25282d) 88%, transparent);
|
|
color: var(--content-fg, #f5f5f5);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mjr-workflow-picker-icon-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.mjr-workflow-picker-btn {
|
|
min-height: 32px;
|
|
padding: 0 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.mjr-workflow-picker-btn.is-primary {
|
|
border-color: rgba(77, 171, 247, 0.7);
|
|
background: rgba(77, 171, 247, 0.22);
|
|
}
|
|
|
|
.mjr-workflow-picker-btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.mjr-workflow-picker-source {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 8px 14px;
|
|
color: var(--mjr-muted, #aeb3bd);
|
|
font-size: 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.mjr-workflow-picker-source strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--content-fg, #f5f5f5);
|
|
}
|
|
|
|
.mjr-workflow-picker-toolbar {
|
|
display: grid;
|
|
grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(110px, 150px));
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.mjr-workflow-picker-dialog.is-asset-mode .mjr-workflow-picker-toolbar {
|
|
grid-template-columns: minmax(180px, 1fr);
|
|
}
|
|
|
|
.mjr-workflow-picker-search,
|
|
.mjr-workflow-picker-toolbar select {
|
|
min-height: 34px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 7px;
|
|
background: color-mix(in srgb, var(--mjr-surface-1, #171a1f) 92%, #000);
|
|
color: var(--content-fg, #f5f5f5);
|
|
}
|
|
|
|
.mjr-workflow-picker-search {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.mjr-workflow-picker-search input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
}
|
|
|
|
.mjr-workflow-picker-toolbar select {
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.mjr-workflow-picker-body {
|
|
flex: 1 1 auto;
|
|
min-height: 260px;
|
|
overflow: auto;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
align-content: start;
|
|
gap: 10px;
|
|
padding: 0 14px 14px;
|
|
}
|
|
|
|
.mjr-workflow-picker-card {
|
|
appearance: none;
|
|
display: grid;
|
|
grid-template-columns: 68px minmax(0, 1fr);
|
|
gap: 10px;
|
|
min-height: 84px;
|
|
padding: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
background: color-mix(in srgb, var(--mjr-surface-1, #171a1f) 92%, transparent);
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mjr-workflow-picker-dialog.is-asset-mode .mjr-workflow-picker-card {
|
|
grid-template-columns: 76px minmax(0, 1fr);
|
|
}
|
|
|
|
.mjr-workflow-picker-card:hover,
|
|
.mjr-workflow-picker-card.is-selected {
|
|
border-color: rgba(77, 171, 247, 0.72);
|
|
background: rgba(77, 171, 247, 0.12);
|
|
}
|
|
|
|
.mjr-workflow-picker-thumb {
|
|
width: 68px;
|
|
aspect-ratio: 1 / 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.mjr-workflow-picker-thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.mjr-workflow-picker-card-info {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mjr-workflow-picker-card-info strong,
|
|
.mjr-workflow-picker-card-info span,
|
|
.mjr-workflow-picker-card-info small {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-workflow-picker-card-info strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.mjr-workflow-picker-card-info span,
|
|
.mjr-workflow-picker-card-info small {
|
|
color: var(--mjr-muted, #aeb3bd);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.mjr-workflow-picker-empty {
|
|
grid-column: 1 / -1;
|
|
padding: 32px;
|
|
text-align: center;
|
|
color: var(--mjr-muted, #aeb3bd);
|
|
}
|
|
|
|
.mjr-workflow-picker-empty.is-error {
|
|
color: #ffb4b4;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.mjr-workflow-picker-backdrop {
|
|
padding: 10px;
|
|
}
|
|
|
|
.mjr-workflow-picker-toolbar {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.mjr-workflow-picker-search {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
/* Keep generation-time badge pinned to the thumbnail corner across grid/feed variants. */
|
|
.mjr-assets-manager .mjr-thumb > .mjr-gentime-badge,
|
|
.mjr-bottom-feed .mjr-thumb > .mjr-gentime-badge {
|
|
position: absolute !important;
|
|
right: 6px !important;
|
|
bottom: 6px !important;
|
|
left: auto !important;
|
|
top: auto !important;
|
|
z-index: 10 !important;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 6px !important;
|
|
border-radius: 4px !important;
|
|
background: rgba(0, 0, 0, 0.55) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.12) !important;
|
|
font-size: 10px;
|
|
font-weight: 800 !important;
|
|
letter-spacing: 0.015em;
|
|
line-height: 1.1;
|
|
pointer-events: none;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
text-shadow:
|
|
0 1px 2px rgba(0, 0, 0, 0.9),
|
|
0 0 10px color-mix(in srgb, currentColor 35%, transparent);
|
|
backdrop-filter: blur(2px);
|
|
-webkit-backdrop-filter: blur(2px);
|
|
}
|
|
|
|
/* Keep rating/tags badges anchored. Do not force display here so grid visibility toggles still control show/hide. */
|
|
.mjr-assets-manager .mjr-thumb > .mjr-rating-badge,
|
|
.mjr-bottom-feed .mjr-thumb > .mjr-rating-badge {
|
|
position: absolute !important;
|
|
top: 6px !important;
|
|
right: 6px !important;
|
|
left: auto !important;
|
|
bottom: auto !important;
|
|
z-index: 10 !important;
|
|
border-radius: 6px;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
padding: 2px 6px;
|
|
font-size: 13px;
|
|
letter-spacing: 1px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
pointer-events: none;
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
|
|
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
|
|
animation: mjr-fade-in 0.2s ease-out;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-thumb > .mjr-tags-badge,
|
|
.mjr-bottom-feed .mjr-thumb > .mjr-tags-badge {
|
|
position: absolute !important;
|
|
left: 6px !important;
|
|
bottom: 6px !important;
|
|
right: auto !important;
|
|
top: auto !important;
|
|
z-index: 10 !important;
|
|
padding: 3px 6px;
|
|
font-size: 9px;
|
|
max-width: calc(100% - 56px);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
border-radius: 4px;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
animation: mjr-fade-in 0.2s ease-out;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-thumb-play {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 28px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
|
|
pointer-events: none;
|
|
transition: opacity 120ms ease;
|
|
}
|
|
|
|
/* --- Hover info overlay (positive prompt + gen time) -----------------------
|
|
Slides up from the bottom of .mjr-thumb on card hover.
|
|
pointer-events: none -> never blocks video mouseenter / play-on-hover.
|
|
z-index: 2 -> sits above the thumbnail image, below the play icon.
|
|
Controlled by the .mjr-show-hover-info class on the grid container, which
|
|
is toggled via the "Show prompt on hover" setting.
|
|
--------------------------------------------------------------------------- */
|
|
.mjr-assets-manager .mjr-card-hover-info {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 22px 8px 7px;
|
|
background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.78) 100%);
|
|
color: #fff;
|
|
font-size: 10px;
|
|
line-height: 1.4;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transform: translateY(5px);
|
|
transition:
|
|
opacity 150ms ease,
|
|
transform 150ms ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
z-index: 2;
|
|
}
|
|
/* Only reveal on hover when the setting is enabled (class on grid container) */
|
|
.mjr-grid.mjr-show-hover-info .mjr-card:hover .mjr-card-hover-info {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
.mjr-assets-manager .mjr-card-hover-info .mjr-hover-prompt {
|
|
overflow: hidden;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
word-break: break-word;
|
|
opacity: 0.9;
|
|
font-size: 9.5px;
|
|
}
|
|
.mjr-assets-manager .mjr-card-hover-info .mjr-hover-gentime {
|
|
color: rgba(255, 210, 120, 0.95);
|
|
font-weight: 600;
|
|
font-size: 9px;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.mjr-assets-manager .mjr-card-hover-info {
|
|
transition: opacity 0ms;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
/* --- Card details panel show/hide via grid container class ----------------
|
|
.mjr-show-details is toggled by applyGridSettingsClasses() when the
|
|
"Show metadata panel" setting changes. Default = OFF → panel hidden.
|
|
Hiding here keeps actual row height = estimateRowHeight(metaHeight=0),
|
|
preventing the virtualizer from repositioning all rows on measure
|
|
(which was the root cause of the "reload impression" blink).
|
|
Match the bottom-feed pattern at .mjr-bottom-feed .mjr-card-info.
|
|
--------------------------------------------------------------------------- */
|
|
.mjr-assets-manager .mjr-grid .mjr-card-info {
|
|
display: none;
|
|
}
|
|
.mjr-assets-manager .mjr-grid.mjr-show-details .mjr-card-info {
|
|
display: block;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-card-meta {
|
|
padding: 8px 10px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-card-filename {
|
|
font-weight: 600;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-card-details {
|
|
color: var(--mjr-muted);
|
|
font-size: 10px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-card-filename-text {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Rating & Tags Editors */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-4px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
/**
|
|
* Archived CSS Styles - Rating and Tags
|
|
* These styles were removed from theme-comfy.css
|
|
*/
|
|
|
|
/* Animations */
|
|
@keyframes slideInRight {
|
|
from {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* Popovers */
|
|
.mjr-rating-popover,
|
|
.mjr-tags-popover {
|
|
animation: fadeIn 0.2s ease;
|
|
}
|
|
|
|
.mjr-rating-popover,
|
|
.mjr-tags-popover {
|
|
background: var(--comfy-menu-bg, #2a2a2a);
|
|
border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
|
|
border-radius: var(--radius-lg, 0.5rem);
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
|
|
padding: 8px;
|
|
}
|
|
|
|
/* Rating Editor */
|
|
.mjr-rating-editor {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.mjr-rating-star {
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: 8px;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
padding: 4px 6px;
|
|
line-height: 1;
|
|
color: var(--input-text, #ddd);
|
|
transition:
|
|
transform 120ms ease,
|
|
background-color 120ms ease,
|
|
border-color 120ms ease,
|
|
color 120ms ease;
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-rating-star:hover {
|
|
border-color: color-mix(in srgb, var(--comfy-accent, #5fb3ff) 35%, transparent);
|
|
background: color-mix(in srgb, var(--comfy-menu-secondary-bg, #333) 65%, transparent);
|
|
}
|
|
|
|
.mjr-rating-editor .mjr-rating-star:hover {
|
|
transform: scale(1.2) !important;
|
|
}
|
|
|
|
.mjr-rating-editor .mjr-rating-star:focus-visible {
|
|
outline: 2px solid var(--focus-outline-color, #4dabf7);
|
|
outline-offset: 2px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.mjr-rating-editor .mjr-rating-star:active {
|
|
transform: scale(0.95) !important;
|
|
}
|
|
|
|
/* Tags Editor */
|
|
.mjr-tags-editor {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
background: var(--mjr-surface-1, var(--comfy-menu-bg, #2a2a2a));
|
|
border: 1px solid var(--mjr-border);
|
|
border-radius: var(--mjr-r-sm);
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
|
|
min-width: 250px;
|
|
max-width: min(350px, calc(100vw - 20px));
|
|
font-family: inherit;
|
|
}
|
|
|
|
.mjr-tags-editor.is-disabled {
|
|
pointer-events: none;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.mjr-tags-display {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
min-height: 32px;
|
|
}
|
|
|
|
.mjr-tags-empty {
|
|
color: var(--mjr-muted);
|
|
font-size: 12px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.mjr-tag-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 8px;
|
|
background: color-mix(in srgb, var(--mjr-tag-color) 24%, transparent);
|
|
border: 1px solid color-mix(in srgb, var(--mjr-tag-color) 40%, var(--mjr-border));
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
color: var(--mjr-tag-color);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.mjr-tag-chip-remove {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
background: none;
|
|
border: 0;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.mjr-tag-chip-remove:disabled {
|
|
cursor: default;
|
|
}
|
|
|
|
.mjr-tags-input-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.mjr-tag-input {
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 75%, transparent);
|
|
border: 1px solid var(--mjr-border);
|
|
border-radius: 4px;
|
|
color: var(--content-fg);
|
|
font-size: 13px;
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-tag-input:focus {
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 88%, transparent) !important;
|
|
border-color: var(--mjr-accent) !important;
|
|
}
|
|
|
|
.mjr-tag-chip:hover {
|
|
background: color-mix(in srgb, var(--mjr-tag-color) 34%, transparent) !important;
|
|
border-color: color-mix(in srgb, var(--mjr-tag-color) 60%, var(--mjr-border)) !important;
|
|
}
|
|
|
|
.mjr-tags-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
margin-top: 4px;
|
|
background: var(--mjr-surface-1, var(--comfy-menu-bg, #2a2a2a));
|
|
border: 1px solid var(--mjr-border);
|
|
border-radius: 4px;
|
|
max-height: 150px;
|
|
overflow-y: auto;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.mjr-tags-dropdown [data-pc-section="list"] {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.mjr-tags-dropdown [data-pc-section="option"] {
|
|
list-style: none;
|
|
}
|
|
|
|
.mjr-tag-suggestion {
|
|
padding: 6px 8px;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
color: var(--mjr-tag-color);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.mjr-tag-suggestion.is-active,
|
|
.mjr-tag-suggestion:hover {
|
|
background: color-mix(in srgb, var(--mjr-tag-color) 28%, transparent) !important;
|
|
}
|
|
|
|
/* Badges Interactive */
|
|
.mjr-rating-badge,
|
|
.mjr-tags-badge {
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.mjr-rating-badge {
|
|
color: var(--mjr-rating-color) !important;
|
|
}
|
|
|
|
.mjr-tags-badge {
|
|
color: var(--mjr-tag-color) !important;
|
|
}
|
|
|
|
.mjr-rating-badge:hover,
|
|
.mjr-tags-badge:hover {
|
|
transform: scale(1.05);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Scrollbar for tags dropdown */
|
|
.mjr-tags-dropdown::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.mjr-tags-dropdown::-webkit-scrollbar-track {
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 65%, transparent);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.mjr-tags-dropdown::-webkit-scrollbar-thumb {
|
|
background: color-mix(in srgb, var(--mjr-tag-color) 48%, var(--mjr-border));
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.mjr-tags-dropdown::-webkit-scrollbar-thumb:hover {
|
|
background: color-mix(in srgb, var(--mjr-tag-color) 65%, var(--mjr-border));
|
|
}
|
|
|
|
/* Sidebar (can be left or right) */
|
|
.mjr-sidebar {
|
|
position: relative;
|
|
z-index: 3;
|
|
flex: 0 0 auto;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.mjr-workflow-tree-wrap {
|
|
margin: 0 0 12px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-border) 82%, transparent);
|
|
border-radius: var(--mjr-r-md, 8px);
|
|
background: color-mix(in srgb, var(--mjr-surface-1) 72%, transparent);
|
|
}
|
|
|
|
.mjr-workflow-tree {
|
|
color: var(--content-fg, #eaeaea);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.mjr-workflow-tree-scroll {
|
|
overflow: auto;
|
|
padding: 2px 4px 6px;
|
|
}
|
|
|
|
.mjr-workflow-tree-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.mjr-workflow-tree-node-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-height: 28px;
|
|
padding: 4px 6px;
|
|
border-radius: var(--mjr-r-sm, 6px);
|
|
}
|
|
|
|
.mjr-workflow-tree-node-content:hover {
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 58%, transparent);
|
|
}
|
|
|
|
.mjr-workflow-tree-toggle {
|
|
width: 14px;
|
|
height: 20px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--mjr-muted, rgba(255, 255, 255, 0.64));
|
|
}
|
|
|
|
.mjr-workflow-tree-toggle[data-p-leaf="true"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.mjr-workflow-tree-icon {
|
|
width: 8px;
|
|
flex: 0 0 8px;
|
|
color: color-mix(in srgb, var(--mjr-accent) 70%, var(--content-fg));
|
|
font-size: 7px;
|
|
}
|
|
|
|
.mjr-workflow-tree-label {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.mjr-workflow-tree-node {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-workflow-tree-node-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-workflow-tree-node-type {
|
|
color: color-mix(in srgb, var(--mjr-muted) 75%, var(--content-fg));
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-sidebar.is-open {
|
|
/* Border is set dynamically based on position */
|
|
}
|
|
|
|
.mjr-sidebar .mjr-sidebar-header {
|
|
background: var(--mjr-surface-2, #333);
|
|
border-bottom: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
}
|
|
|
|
.mjr-sidebar .mjr-sidebar-content {
|
|
background: var(--mjr-surface-1, #2a2a2a);
|
|
}
|
|
|
|
.mjr-sidebar .mjr-sidebar-content::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.mjr-sidebar .mjr-sidebar-content::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.mjr-sidebar .mjr-sidebar-content::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.mjr-sidebar .mjr-sidebar-content::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
/* Custom Roots Popover Styling */
|
|
.mjr-custom-popover {
|
|
min-width: 300px;
|
|
background: var(--mjr-surface-1, var(--comfy-menu-bg, #2a2a2a));
|
|
border: 1px solid var(--mjr-border, var(--border-color, rgba(255, 255, 255, 0.12)));
|
|
border-radius: var(--radius-lg, 0.5rem);
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
|
|
z-index: var(--mjr-popover-z-index);
|
|
padding: 12px;
|
|
}
|
|
|
|
.mjr-custom-popover .mjr-popover-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.mjr-custom-popover .mjr-popover-row:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.mjr-custom-popover .mjr-popover-label {
|
|
width: 60px;
|
|
color: var(--mjr-muted, var(--descrip-text, rgba(255, 255, 255, 0.65)));
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.mjr-custom-popover .mjr-select {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-custom-popover .mjr-btn {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.mjr-custom-popover .mjr-btn:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.mjr-custom-popover .mjr-btn.mjr-primary {
|
|
background: color-mix(in srgb, var(--mjr-accent) 18%, var(--mjr-surface-2));
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 60%, var(--mjr-border));
|
|
}
|
|
|
|
.mjr-custom-popover .mjr-btn.mjr-primary:hover {
|
|
background: color-mix(in srgb, var(--mjr-accent) 25%, var(--mjr-surface-2));
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 80%, var(--mjr-border));
|
|
}
|
|
|
|
.mjr-sidebar .mjr-sidebar-section {
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.mjr-sidebar .mjr-sidebar-section:hover {
|
|
background: rgba(0, 0, 0, 0.3) !important;
|
|
}
|
|
|
|
/* Inline Sidebar (width-based transitions like archived version) */
|
|
.mjr-inline-sidebar {
|
|
width: 0;
|
|
min-width: 0;
|
|
max-width: 480px;
|
|
overflow: hidden;
|
|
background: var(--mjr-surface-1, #2a2a2a);
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition:
|
|
width 0.3s ease,
|
|
min-width 0.3s ease;
|
|
}
|
|
|
|
.mjr-inline-sidebar.is-open {
|
|
width: 400px;
|
|
min-width: 260px;
|
|
}
|
|
|
|
/* Space between sidebar and grid */
|
|
.mjr-assets-manager .mjr-am-browse {
|
|
gap: 0;
|
|
}
|
|
|
|
/* Border based on position */
|
|
.mjr-inline-sidebar[data-position="left"] {
|
|
border-right: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
}
|
|
|
|
.mjr-inline-sidebar[data-position="right"] {
|
|
border-left: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
}
|
|
|
|
/* Sidebar placeholder */
|
|
.mjr-sidebar-placeholder {
|
|
padding: 20px;
|
|
text-align: center;
|
|
color: var(--mjr-muted, rgba(255, 255, 255, 0.65));
|
|
font-size: 14px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ========== Viewer Component ========== */
|
|
.mjr-viewer-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.95);
|
|
/* Sit above MFV (10000) so the full viewer always covers the floating panel */
|
|
z-index: 10001;
|
|
pointer-events: auto;
|
|
display: none;
|
|
flex-direction: column;
|
|
}
|
|
/* Fade-in: animation re-triggers each time JS switches display back to flex */
|
|
.mjr-viewer-overlay[style*="flex"] {
|
|
animation: mjr-fade-in 0.18s ease-out;
|
|
}
|
|
|
|
@keyframes mjr-fade-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.995);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.mjr-viewer-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 20px;
|
|
background: linear-gradient(170deg, rgba(24, 27, 33, 0.96), rgba(17, 19, 25, 0.97));
|
|
border-bottom: 0.8px solid rgba(196, 202, 210, 0.2);
|
|
color: white;
|
|
}
|
|
|
|
.mjr-viewer-filename {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
max-width: 400px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-viewer-mode-buttons {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-viewer-mode-buttons button {
|
|
padding: 4px 12px;
|
|
background: linear-gradient(180deg, rgba(206, 211, 218, 0.1), rgba(206, 211, 218, 0.03));
|
|
border: 0.8px solid rgba(196, 202, 210, 0.3);
|
|
color: rgba(230, 233, 238, 0.95);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: all 0.16s;
|
|
}
|
|
|
|
.mjr-viewer-mode-buttons button:hover {
|
|
background: linear-gradient(180deg, rgba(210, 214, 220, 0.14), rgba(210, 214, 220, 0.06));
|
|
border-color: rgba(214, 218, 224, 0.42);
|
|
}
|
|
|
|
/* Viewer close button pinned to overlay corner */
|
|
.mjr-viewer-close,
|
|
.mjr-viewer-fs {
|
|
border-color: rgba(196, 202, 210, 0.26) !important;
|
|
border-width: 0.8px !important;
|
|
background:
|
|
linear-gradient(180deg, rgba(206, 211, 218, 0.08), rgba(206, 211, 218, 0.02)),
|
|
rgba(20, 23, 29, 0.94) !important;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
|
|
}
|
|
|
|
.mjr-viewer-close {
|
|
color: #fff4f4 !important;
|
|
border-color: rgba(205, 82, 82, 0.5) !important;
|
|
background:
|
|
linear-gradient(180deg, rgba(205, 82, 82, 0.3), rgba(205, 82, 82, 0.12)),
|
|
rgba(58, 18, 18, 0.94) !important;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 219, 219, 0.16),
|
|
0 0 0 1px rgba(205, 82, 82, 0.08) !important;
|
|
}
|
|
|
|
.mjr-viewer-close:hover {
|
|
background:
|
|
linear-gradient(180deg, rgba(235, 110, 110, 0.38), rgba(235, 110, 110, 0.16)),
|
|
rgba(70, 18, 18, 0.97) !important;
|
|
border-color: rgba(235, 138, 138, 0.64) !important;
|
|
}
|
|
|
|
.mjr-viewer-fs:hover {
|
|
background:
|
|
linear-gradient(180deg, rgba(210, 214, 220, 0.14), rgba(210, 214, 220, 0.06)),
|
|
rgba(23, 26, 32, 0.95) !important;
|
|
border-color: rgba(214, 218, 224, 0.38) !important;
|
|
}
|
|
|
|
.mjr-viewer-close .pi {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-viewer-content {
|
|
flex: 1;
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mjr-viewer-single,
|
|
.mjr-viewer-ab,
|
|
.mjr-viewer-sidebyside {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.mjr-viewer-single {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mjr-viewer-single img,
|
|
.mjr-viewer-single video {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.mjr-viewer-audio-shell {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 18px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
background:
|
|
radial-gradient(circle at 18% 22%, rgba(78, 184, 255, 0.2), transparent 32%),
|
|
radial-gradient(circle at 82% 74%, rgba(82, 220, 156, 0.15), transparent 36%),
|
|
linear-gradient(135deg, rgba(12, 18, 26, 0.98), rgba(4, 7, 11, 0.99));
|
|
}
|
|
|
|
.mjr-viewer-audio-header {
|
|
width: min(1080px, 88%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 11px;
|
|
min-width: 0;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.mjr-viewer-audio-icon {
|
|
width: 34px;
|
|
height: 34px;
|
|
flex: 0 0 auto;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
|
|
}
|
|
|
|
.mjr-viewer-audio-title-wrap {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.mjr-viewer-audio-title {
|
|
max-width: min(760px, 72vw);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.mjr-viewer-audio-meta {
|
|
color: rgba(255, 255, 255, 0.58);
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.mjr-viewer-audio-viz {
|
|
width: min(1920px, 96%);
|
|
aspect-ratio: 16 / 9;
|
|
height: auto;
|
|
max-height: min(1080px, 68vh);
|
|
min-height: 260px;
|
|
border: 1px solid rgba(255, 255, 255, 0.09);
|
|
border-radius: 16px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
|
|
rgba(2, 5, 9, 0.22);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05),
|
|
0 18px 70px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.mjr-viewer-audio-src {
|
|
width: min(680px, 90%);
|
|
}
|
|
|
|
.mjr-viewer-ab {
|
|
position: relative;
|
|
display: none;
|
|
}
|
|
|
|
.mjr-viewer-sidebyside {
|
|
display: none;
|
|
flex-direction: row;
|
|
gap: 2px;
|
|
}
|
|
|
|
.mjr-viewer-sidebyside > div {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.mjr-viewer-sidebyside img,
|
|
.mjr-viewer-sidebyside video {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.mjr-viewer-footer {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 12px 20px;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
gap: 20px;
|
|
}
|
|
|
|
.mjr-viewer-footer button {
|
|
padding: 6px 12px;
|
|
background: transparent;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
color: white;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.mjr-viewer-footer button:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.mjr-viewer-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.mjr-viewer-nav-btn {
|
|
width: 40px !important;
|
|
height: 40px !important;
|
|
padding: 0 !important;
|
|
border-radius: 10px !important;
|
|
border: 1px solid rgba(196, 202, 210, 0.42) !important;
|
|
background:
|
|
linear-gradient(180deg, rgba(194, 200, 208, 0.18), rgba(194, 200, 208, 0.07)),
|
|
rgba(34, 38, 44, 0.92) !important;
|
|
color: rgba(234, 236, 240, 0.96) !important;
|
|
font-size: 20px !important;
|
|
font-weight: 700 !important;
|
|
line-height: 1 !important;
|
|
text-shadow: none;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
|
|
transition:
|
|
transform 0.14s ease,
|
|
background-color 0.14s ease,
|
|
border-color 0.14s ease !important;
|
|
}
|
|
|
|
.mjr-viewer-nav-btn:hover:not(:disabled) {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(214, 218, 224, 0.56) !important;
|
|
background:
|
|
linear-gradient(180deg, rgba(207, 212, 219, 0.2), rgba(207, 212, 219, 0.1)),
|
|
rgba(39, 43, 49, 0.94) !important;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.mjr-viewer-nav-btn:active:not(:disabled) {
|
|
transform: translateY(0) scale(0.98);
|
|
filter: none;
|
|
}
|
|
|
|
.mjr-viewer-nav-btn:disabled {
|
|
opacity: 0.34 !important;
|
|
filter: grayscale(0.25);
|
|
box-shadow: none;
|
|
border-color: rgba(255, 255, 255, 0.14) !important;
|
|
}
|
|
|
|
.mjr-viewer-index {
|
|
font-size: 13px;
|
|
min-width: 74px;
|
|
text-align: center;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: 0.04em;
|
|
color: rgba(226, 228, 233, 0.94);
|
|
background: linear-gradient(180deg, rgba(197, 203, 211, 0.15), rgba(197, 203, 211, 0.06));
|
|
border: 1px solid rgba(197, 203, 211, 0.34);
|
|
border-radius: 999px;
|
|
padding: 5px 11px;
|
|
text-shadow: none;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.mjr-viewer-playerbar {
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(194, 200, 208, 0.16);
|
|
background:
|
|
radial-gradient(circle at top left, rgba(90, 150, 255, 0.08), transparent 36%),
|
|
linear-gradient(160deg, rgba(20, 24, 30, 0.94), rgba(12, 15, 21, 0.98));
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05),
|
|
0 16px 36px rgba(0, 0, 0, 0.22);
|
|
/* overflow must stay visible so the seek ruler ticks/labels (top:-16px / top:-34px)
|
|
that are absolutely positioned above the seek bar are not clipped. */
|
|
overflow: visible;
|
|
}
|
|
|
|
.mjr-viewer-tools {
|
|
align-items: start;
|
|
justify-content: stretch;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-viewer-header {
|
|
position: relative;
|
|
}
|
|
|
|
.mjr-viewer-header::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 18px;
|
|
right: 18px;
|
|
top: 44px;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
|
|
pointer-events: none;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.mjr-viewer-header-meta {
|
|
min-height: 30px;
|
|
padding: 4px 8px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.mjr-viewer-header-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
position: relative;
|
|
padding-right: 84px;
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.mjr-viewer-header-area--left {
|
|
display: none;
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-viewer-header-area--center {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.mjr-viewer-header-area--right {
|
|
justify-content: flex-end;
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-viewer-title-wrap {
|
|
width: auto;
|
|
min-width: 0;
|
|
max-width: min(100%, calc(100vw - 220px));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.mjr-viewer-title-line {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
flex-wrap: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-viewer-filename {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
display: block;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.mjr-viewer-badges {
|
|
gap: 4px;
|
|
}
|
|
|
|
.mjr-viewer-title-line .mjr-viewer-badges {
|
|
justify-content: center;
|
|
flex-wrap: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-viewer-header-meta--left {
|
|
justify-content: flex-start;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.mjr-viewer-header-meta--left:empty {
|
|
display: none;
|
|
}
|
|
|
|
.mjr-viewer-header-meta--right {
|
|
justify-self: end;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.mjr-viewer-mode-buttons {
|
|
flex: 0 0 auto;
|
|
padding: 3px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.mjr-viewer-tools-deck {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel {
|
|
position: relative;
|
|
min-width: auto;
|
|
min-height: 0;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
|
|
rgba(10, 12, 16, 0.24);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.04),
|
|
0 6px 16px rgba(0, 0, 0, 0.12);
|
|
padding: 5px 6px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
|
|
opacity: 0.7;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel-head {
|
|
display: none;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel-heading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel-eyebrow {
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
color: rgba(255, 255, 255, 0.46);
|
|
}
|
|
|
|
.mjr-viewer-tools-panel-title {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
color: rgba(248, 250, 252, 0.96);
|
|
}
|
|
|
|
.mjr-viewer-tools-panel-body {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel[data-panel="grade"] .mjr-viewer-tools-panel-body {
|
|
display: flex;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel[data-panel="overlay"] .mjr-viewer-tools-panel-body {
|
|
display: flex;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel[data-panel="inspect"] .mjr-viewer-tools-panel-body,
|
|
.mjr-viewer-tools-panel[data-panel="actions"] .mjr-viewer-tools-panel-body,
|
|
.mjr-viewer-tools-panel[data-panel="info"] .mjr-viewer-tools-panel-body {
|
|
display: flex;
|
|
}
|
|
|
|
.mjr-viewer-tools-group {
|
|
width: auto;
|
|
min-height: 30px;
|
|
padding: 5px 7px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 6px;
|
|
border: 1px solid rgba(196, 202, 210, 0.12);
|
|
border-radius: 10px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
|
|
rgba(10, 12, 16, 0.18);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
|
|
min-width: fit-content;
|
|
}
|
|
|
|
.mjr-viewer-tools-group-label {
|
|
color: rgba(255, 255, 255, 0.75);
|
|
letter-spacing: 0.15px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-right: 5px;
|
|
white-space: nowrap;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.mjr-viewer-tools-group[style*="--mjr-group-accent"] .mjr-viewer-tools-group-label {
|
|
color: rgba(var(--mjr-group-accent), 0.9);
|
|
}
|
|
|
|
.mjr-viewer-tools-group[style*="--mjr-group-accent"] {
|
|
border-color: rgba(var(--mjr-group-accent), 0.35);
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="channel"] .mjr-viewer-tools-group-label,
|
|
.mjr-viewer-tools-group[data-group="analysis"] .mjr-viewer-tools-group-label,
|
|
.mjr-viewer-tools-group[data-group="overlay-guides"] .mjr-viewer-tools-group-label,
|
|
.mjr-viewer-tools-group[data-group="overlay-inspect"] .mjr-viewer-tools-group-label {
|
|
min-width: 42px;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel[data-panel="overlay"] .mjr-viewer-tools-group[data-group="overlay-guides"] {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="overlay-guides"],
|
|
.mjr-viewer-tools-group[data-group="overlay-inspect"] {
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
align-content: center;
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="channel"],
|
|
.mjr-viewer-tools-group[data-group="exposure"],
|
|
.mjr-viewer-tools-group[data-group="gamma"],
|
|
.mjr-viewer-tools-group[data-group="analysis"],
|
|
.mjr-viewer-tools-group[data-group="compare"],
|
|
.mjr-viewer-tools-group[data-group="audio-viz"] {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.mjr-viewer-tools-actions,
|
|
.mjr-viewer-tools-meta {
|
|
width: auto;
|
|
min-height: 30px;
|
|
box-sizing: border-box;
|
|
padding: 5px 7px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.mjr-viewer-tools-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-viewer-tools-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-viewer-tools-action--primary {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.mjr-viewer-tools-action + .mjr-viewer-tools-action {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.mjr-viewer-tools-select {
|
|
min-height: 24px;
|
|
}
|
|
|
|
.mjr-viewer-tools-range-input {
|
|
width: 92px !important;
|
|
}
|
|
|
|
.mjr-viewer-tools-range span {
|
|
font-size: 11px;
|
|
}
|
|
|
|
@media (max-width: 1480px) {
|
|
.mjr-viewer-tools-deck {
|
|
gap: 6px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1220px) {
|
|
.mjr-viewer-header-top {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
padding-right: 84px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.mjr-viewer-header-area--center,
|
|
.mjr-viewer-header-area--right {
|
|
justify-content: center;
|
|
}
|
|
|
|
.mjr-viewer-header-area--center {
|
|
width: 100%;
|
|
flex: 1 1 100%;
|
|
}
|
|
|
|
.mjr-viewer-header-area--right {
|
|
position: static;
|
|
transform: none;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
flex: 1 1 100%;
|
|
}
|
|
|
|
.mjr-viewer-header-meta--right {
|
|
justify-self: center;
|
|
}
|
|
|
|
.mjr-viewer-tools-deck {
|
|
flex-wrap: wrap;
|
|
overflow-x: visible;
|
|
}
|
|
|
|
.mjr-viewer-tools-panel,
|
|
.mjr-viewer-tools-actions,
|
|
.mjr-viewer-tools-meta,
|
|
.mjr-viewer-tools-panel-body {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.mjr-viewer-tools-meta {
|
|
justify-content: flex-start;
|
|
}
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="compare"][data-active="1"] {
|
|
background: rgba(var(--mjr-group-accent), 0.1);
|
|
border-left-color: rgba(var(--mjr-group-accent), 0.6);
|
|
border-radius: 10px;
|
|
padding: 6px 10px;
|
|
box-shadow: inset 0 0 0 1px rgba(var(--mjr-group-accent), 0.22);
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="compare"][data-active="1"] .mjr-viewer-tools-select {
|
|
border-color: rgba(var(--mjr-group-accent), 0.6);
|
|
box-shadow: 0 0 0 2px rgba(var(--mjr-group-accent), 0.18);
|
|
}
|
|
|
|
.mjr-viewer-tools-select:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(64, 160, 255, 0.22);
|
|
}
|
|
|
|
/* Native dropdowns: hint dark UI and style options when the browser allows it. */
|
|
.mjr-viewer-header {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
.mjr-viewer-tools-select {
|
|
min-height: 24px;
|
|
background: rgba(0, 0, 0, 0.46) !important;
|
|
color: rgba(255, 255, 255, 0.92) !important;
|
|
border-color: rgba(255, 255, 255, 0.14) !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
.mjr-viewer-tools-select option {
|
|
background: var(--comfy-menu-bg, #2a2a2a);
|
|
color: var(--content-fg, var(--input-text, #ddd));
|
|
}
|
|
|
|
.mjr-viewer-tools-range-input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-viewer-tool-btn--reset {
|
|
border-color: rgba(255, 255, 255, 0.22) !important;
|
|
}
|
|
|
|
.mjr-viewer-tool-btn {
|
|
min-height: 24px !important;
|
|
border-radius: 8px !important;
|
|
border-width: 1px !important;
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(210, 214, 220, 0.075),
|
|
rgba(210, 214, 220, 0.025)
|
|
) !important;
|
|
border-color: rgba(196, 202, 210, 0.16) !important;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
font-size: 11px !important;
|
|
padding: 0 8px !important;
|
|
}
|
|
|
|
.mjr-viewer-tool-btn:hover {
|
|
border-color: rgba(220, 224, 230, 0.24) !important;
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(220, 224, 230, 0.1),
|
|
rgba(220, 224, 230, 0.035)
|
|
) !important;
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="analysis"] .mjr-viewer-tool-btn[data-active="1"] {
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(255, 166, 92, 0.22),
|
|
rgba(255, 116, 64, 0.08)
|
|
) !important;
|
|
border-color: rgba(255, 160, 92, 0.34) !important;
|
|
color: rgba(255, 236, 224, 0.96) !important;
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="analysis"] .mjr-viewer-tool-btn[data-active="1"]:hover {
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(255, 180, 108, 0.28),
|
|
rgba(255, 128, 72, 0.14)
|
|
) !important;
|
|
border-color: rgba(255, 184, 116, 0.46) !important;
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="overlay-guides"] .mjr-viewer-tool-btn[data-active="1"] {
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(92, 219, 186, 0.22),
|
|
rgba(44, 170, 144, 0.08)
|
|
) !important;
|
|
border-color: rgba(92, 219, 186, 0.34) !important;
|
|
color: rgba(224, 255, 248, 0.96) !important;
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="overlay-guides"] .mjr-viewer-tool-btn[data-active="1"]:hover {
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(102, 230, 196, 0.28),
|
|
rgba(52, 182, 156, 0.14)
|
|
) !important;
|
|
border-color: rgba(110, 236, 202, 0.46) !important;
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="overlay-inspect"] .mjr-viewer-tool-btn[data-active="1"] {
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(124, 166, 255, 0.22),
|
|
rgba(109, 88, 222, 0.08)
|
|
) !important;
|
|
border-color: rgba(132, 170, 255, 0.36) !important;
|
|
color: rgba(236, 242, 255, 0.97) !important;
|
|
}
|
|
|
|
.mjr-viewer-tools-group[data-group="overlay-inspect"] .mjr-viewer-tool-btn[data-active="1"]:hover {
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(138, 180, 255, 0.3),
|
|
rgba(124, 100, 232, 0.14)
|
|
) !important;
|
|
border-color: rgba(148, 188, 255, 0.48) !important;
|
|
}
|
|
|
|
.mjr-viewer-tool-btn[data-active="1"] {
|
|
filter: saturate(1.12) brightness(1.04);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.1),
|
|
0 0 0 1px rgba(255, 255, 255, 0.06),
|
|
0 8px 18px rgba(0, 0, 0, 0.16) !important;
|
|
}
|
|
|
|
.mjr-viewer-help {
|
|
border-radius: 14px !important;
|
|
background: linear-gradient(180deg, rgba(13, 17, 22, 0.96), rgba(8, 11, 16, 0.98)) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.12) !important;
|
|
box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34) !important;
|
|
}
|
|
|
|
@media (max-width: 1220px) {
|
|
.mjr-viewer-tools {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.mjr-viewer-tools-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.mjr-viewer-header-top {
|
|
grid-template-columns: 1fr;
|
|
justify-items: center;
|
|
}
|
|
|
|
.mjr-viewer-header-area--left,
|
|
.mjr-viewer-header-area--center,
|
|
.mjr-viewer-header-area--right {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mjr-viewer-header-meta--left,
|
|
.mjr-viewer-header-meta--right {
|
|
justify-self: center;
|
|
}
|
|
|
|
.mjr-viewer-tools-body {
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
}
|
|
}
|
|
|
|
/* ========== Custom Video Controls (no native bar) ========== */
|
|
.mjr-video-host {
|
|
position: relative;
|
|
}
|
|
|
|
.mjr-video-controls {
|
|
position: absolute;
|
|
left: 12px;
|
|
right: 12px;
|
|
bottom: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 8px 10px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 10px;
|
|
backdrop-filter: blur(10px);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.15s ease;
|
|
z-index: 5;
|
|
}
|
|
|
|
.mjr-video-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-video-row--top {
|
|
gap: 12px;
|
|
display: grid;
|
|
align-items: center;
|
|
grid-template-columns: auto auto 1fr auto auto;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-row--top {
|
|
grid-template-columns: auto auto 1fr auto auto;
|
|
}
|
|
|
|
.mjr-video-controls--preview .mjr-video-row--top {
|
|
display: flex;
|
|
}
|
|
|
|
.mjr-video-row--bottom {
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-video-group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-size: 12px;
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-video-num {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
border-radius: 8px;
|
|
padding: 5px 8px;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-video-num:focus {
|
|
border-color: rgba(255, 255, 255, 0.38);
|
|
}
|
|
|
|
.mjr-video-num--fps.is-overridden {
|
|
border-color: rgba(245, 158, 11, 0.82);
|
|
color: #fbbf24;
|
|
background: rgba(245, 158, 11, 0.14);
|
|
}
|
|
|
|
.mjr-video-num--fps.is-overridden:focus {
|
|
border-color: rgba(251, 191, 36, 0.96);
|
|
}
|
|
|
|
.mjr-video-num--speed {
|
|
color-scheme: dark;
|
|
background: rgba(0, 0, 0, 0.62);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.mjr-video-num--speed option {
|
|
background: var(--comfy-menu-bg, #2a2a2a);
|
|
color: var(--content-fg, #ddd);
|
|
}
|
|
|
|
.mjr-video-frame {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
min-width: 52px;
|
|
text-align: right;
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-video-frame.is-step {
|
|
color: #ffd24d;
|
|
}
|
|
|
|
.mjr-video-bottom {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.mjr-video-bottom--left {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.mjr-video-bottom--right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.mjr-video-transport {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
/* Show controls on hover/focus (viewer). */
|
|
.mjr-video-host:hover .mjr-video-controls,
|
|
.mjr-video-controls:focus-within {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
/* Preview: keep controls visible because the area is small. */
|
|
.mjr-video-controls--preview {
|
|
position: absolute;
|
|
left: auto;
|
|
right: 10px;
|
|
top: auto;
|
|
bottom: 10px;
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 0;
|
|
display: block;
|
|
width: auto;
|
|
height: auto;
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
}
|
|
|
|
.mjr-video-preview-btn {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.22);
|
|
background: rgba(0, 0, 0, 0.42);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mjr-video-preview-btn:hover {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
border-color: rgba(255, 255, 255, 0.28);
|
|
}
|
|
|
|
.mjr-video-preview-btn .pi {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-video-btn {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
color: #fff;
|
|
border-radius: 8px;
|
|
padding: 6px 10px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-video-btn:hover {
|
|
background: rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
.mjr-video-btn.is-on {
|
|
background: rgba(64, 160, 255, 0.25);
|
|
border-color: rgba(64, 160, 255, 0.55);
|
|
}
|
|
|
|
.mjr-video-btn--in {
|
|
border-color: rgba(70, 255, 120, 0.55);
|
|
background: rgba(70, 255, 120, 0.12);
|
|
}
|
|
|
|
.mjr-video-btn--in:hover {
|
|
background: rgba(70, 255, 120, 0.18);
|
|
}
|
|
|
|
.mjr-video-btn--out {
|
|
border-color: rgba(255, 70, 70, 0.55);
|
|
background: rgba(255, 70, 70, 0.1);
|
|
}
|
|
|
|
.mjr-video-btn--out:hover {
|
|
background: rgba(255, 70, 70, 0.16);
|
|
}
|
|
|
|
.mjr-video-time {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
min-width: 92px;
|
|
text-align: center;
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-video-timegroup {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-video-range-count {
|
|
font-size: 12px;
|
|
color: rgba(64, 190, 255, 0.92);
|
|
background: rgba(64, 190, 255, 0.1);
|
|
border: 1px solid rgba(64, 190, 255, 0.25);
|
|
border-radius: 999px;
|
|
padding: 1px 8px;
|
|
line-height: 16px;
|
|
font-variant-numeric: tabular-nums;
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-video-range {
|
|
accent-color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.mjr-video-range--seek {
|
|
flex: 1;
|
|
min-width: 80px;
|
|
position: relative;
|
|
z-index: 1;
|
|
/* We draw our own playhead/markers; hide the native thumb "dot". */
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
.mjr-video-range--seek::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 0;
|
|
height: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.mjr-video-range--seek::-moz-range-thumb {
|
|
width: 0;
|
|
height: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.mjr-video-seek-wrap {
|
|
position: relative;
|
|
min-width: 80px;
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.mjr-video-seek-zones {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 50%;
|
|
height: 10px;
|
|
transform: translateY(-50%);
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
z-index: 2;
|
|
}
|
|
|
|
.mjr-video-seek-zone {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
/* 0..In: trimmed-out range. */
|
|
.mjr-video-seek-zone--leftTrim {
|
|
background: rgba(255, 70, 70, 0.18);
|
|
}
|
|
|
|
/* In..Out: selected playback range highlight. */
|
|
.mjr-video-seek-zone--selected {
|
|
background: rgba(64, 190, 255, 0.55);
|
|
}
|
|
|
|
.mjr-video-seek-zones.is-fullrange .mjr-video-seek-zone--selected {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
/* Out..End: show out-of-range frames as a different color. */
|
|
.mjr-video-seek-zone--rightTrim {
|
|
background: rgba(255, 70, 70, 0.2);
|
|
}
|
|
|
|
.mjr-video-seek-overlay {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 50%;
|
|
height: 0;
|
|
pointer-events: none;
|
|
z-index: 3;
|
|
}
|
|
|
|
.mjr-video-seek-handle {
|
|
position: absolute;
|
|
top: 50%;
|
|
width: 16px;
|
|
height: 32px;
|
|
transform: translate(-50%, -50%);
|
|
cursor: ew-resize;
|
|
pointer-events: auto;
|
|
touch-action: none;
|
|
user-select: none;
|
|
z-index: 4;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.mjr-video-seek-handle:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.24);
|
|
}
|
|
|
|
.mjr-video-seek-handle--in::after,
|
|
.mjr-video-seek-handle--out::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 2px;
|
|
height: 18px;
|
|
transform: translate(-50%, -50%);
|
|
background: rgba(255, 70, 70, 0.95);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.mjr-video-seek-handle--in::after {
|
|
background: rgba(70, 255, 120, 0.95);
|
|
}
|
|
|
|
.mjr-video-seek-handle--in::before,
|
|
.mjr-video-seek-handle--out::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.mjr-video-seek-handle--in::before {
|
|
top: 4px;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-bottom: 6px solid rgba(70, 255, 120, 0.95);
|
|
}
|
|
|
|
.mjr-video-seek-handle--out::before {
|
|
bottom: 4px;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-top: 6px solid rgba(255, 70, 70, 0.95);
|
|
}
|
|
|
|
.mjr-video-seek-ticks {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: -16px;
|
|
height: 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.mjr-video-seek-labels {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: -34px;
|
|
height: 14px;
|
|
pointer-events: none;
|
|
font-size: 10px;
|
|
line-height: 14px;
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-variant-numeric: tabular-nums;
|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
|
|
}
|
|
|
|
.mjr-video-seek-label {
|
|
position: absolute;
|
|
transform: translateX(-50%);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-video-seek-playhead-label {
|
|
position: absolute;
|
|
top: 12px;
|
|
transform: translateX(-50%);
|
|
padding: 1px 6px;
|
|
border-radius: 999px;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 10px;
|
|
line-height: 14px;
|
|
font-variant-numeric: tabular-nums;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mjr-video-seek-mark {
|
|
position: absolute;
|
|
top: -10px;
|
|
width: 14px;
|
|
height: 20px;
|
|
background: transparent;
|
|
transform: translateX(-50%);
|
|
cursor: ew-resize;
|
|
pointer-events: auto;
|
|
touch-action: none;
|
|
z-index: 4;
|
|
--mjr-mark-color: rgba(255, 70, 70, 0.95);
|
|
}
|
|
|
|
.mjr-video-seek-mark--in {
|
|
--mjr-mark-color: rgba(70, 255, 120, 0.95);
|
|
}
|
|
|
|
.mjr-video-seek-mark::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 2px;
|
|
transform: translateX(-50%);
|
|
background: var(--mjr-mark-color);
|
|
border-radius: 2px;
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.mjr-video-seek-mark::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: -5px;
|
|
left: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-bottom: 6px solid var(--mjr-mark-color);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.mjr-video-seek-mark--in::after {
|
|
border-bottom-color: var(--mjr-mark-color);
|
|
}
|
|
|
|
.mjr-video-seek-mark--out::after {
|
|
top: auto;
|
|
bottom: -5px;
|
|
border-bottom: none;
|
|
border-top: 6px solid var(--mjr-mark-color);
|
|
}
|
|
|
|
.mjr-video-seek-playhead {
|
|
position: absolute;
|
|
top: -12px;
|
|
width: 2px;
|
|
height: 24px;
|
|
background: rgba(255, 200, 70, 0.95);
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
|
|
transform: translateX(-1px);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar {
|
|
position: static;
|
|
left: auto;
|
|
right: auto;
|
|
bottom: auto;
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
width: 100%;
|
|
max-width: none;
|
|
margin: 0;
|
|
padding: 14px;
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(196, 202, 210, 0.12);
|
|
background:
|
|
radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 34%),
|
|
linear-gradient(180deg, rgba(198, 203, 210, 0.025), rgba(198, 203, 210, 0.008)),
|
|
linear-gradient(165deg, rgba(18, 22, 28, 0.82), rgba(12, 15, 21, 0.9));
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.04),
|
|
0 10px 30px rgba(0, 0, 0, 0.14);
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
gap: 12px;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-btn {
|
|
min-height: 38px;
|
|
padding: 8px 12px;
|
|
font-size: 12px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(180deg, rgba(210, 214, 220, 0.07), rgba(210, 214, 220, 0.02));
|
|
border-color: rgba(194, 201, 208, 0.18);
|
|
border-width: 1px;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
transition:
|
|
transform 0.12s ease,
|
|
background-color 0.12s ease,
|
|
border-color 0.12s ease,
|
|
box-shadow 0.12s ease;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-btn:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(220, 224, 230, 0.26);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
|
0 8px 18px rgba(0, 0, 0, 0.14);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-btn.is-on {
|
|
background: linear-gradient(180deg, rgba(100, 170, 255, 0.2), rgba(100, 170, 255, 0.08));
|
|
border-color: rgba(120, 186, 255, 0.42);
|
|
box-shadow: 0 0 0 1px rgba(120, 186, 255, 0.12) inset;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-btn .pi {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-head,
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-actions {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-status,
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-side {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-center {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-head {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-side--right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-timeline {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 10px 12px;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar.mjr-video-controls--audio .mjr-video-bar-timeline {
|
|
grid-template-columns: minmax(0, 1fr) auto auto;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar.mjr-video-controls--audio .mjr-video-seek-wrap {
|
|
grid-column: 1 / -1;
|
|
grid-row: 1;
|
|
width: 100%;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar.mjr-video-controls--audio .mjr-video-group--in,
|
|
.mjr-video-controls--viewerbar.mjr-video-controls--audio .mjr-video-group--out {
|
|
grid-row: 2;
|
|
width: max-content;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-media-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 28px;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
background: rgba(78, 224, 196, 0.12);
|
|
border: 1px solid rgba(78, 224, 196, 0.22);
|
|
color: rgba(220, 247, 241, 0.96);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-timegroup {
|
|
justify-content: flex-start;
|
|
gap: 8px;
|
|
padding: 5px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.045);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-time,
|
|
.mjr-video-controls--viewerbar .mjr-video-frame {
|
|
font-variant-numeric: tabular-nums;
|
|
color: rgba(228, 230, 234, 0.92);
|
|
text-shadow: none;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-frame {
|
|
min-width: 94px;
|
|
text-align: center;
|
|
padding: 5px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.045);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-time {
|
|
min-width: auto;
|
|
text-align: left;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-range--seek {
|
|
height: 22px;
|
|
accent-color: rgba(214, 218, 224, 0.92);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-range-count {
|
|
color: rgba(222, 225, 230, 0.95);
|
|
border-color: rgba(194, 201, 209, 0.26);
|
|
border-width: 0.8px;
|
|
background: rgba(194, 201, 209, 0.08);
|
|
text-shadow: none;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-group {
|
|
min-height: 36px;
|
|
padding: 4px 8px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-group--adjust-left,
|
|
.mjr-video-controls--viewerbar .mjr-video-group--adjust-right,
|
|
.mjr-video-controls--viewerbar .mjr-video-group--speed {
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-num {
|
|
min-height: 34px;
|
|
border-radius: 10px;
|
|
background: rgba(9, 12, 16, 0.55);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-transport {
|
|
gap: 10px;
|
|
padding: 6px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.045);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-btn--play {
|
|
min-width: 88px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-seek-wrap {
|
|
min-height: 44px;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-seek-zones {
|
|
height: 12px;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-seek-handle {
|
|
width: 18px;
|
|
height: 34px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-volume-wrap {
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.mjr-video-range--volume {
|
|
width: 90px;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-head,
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-actions,
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-timeline {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-center,
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-side--right {
|
|
justify-content: center;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-bar-timeline {
|
|
gap: 10px;
|
|
}
|
|
|
|
.mjr-video-controls--viewerbar .mjr-video-transport {
|
|
width: 100%;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
border-radius: 16px;
|
|
}
|
|
}
|
|
|
|
/* ========== Context Menu Component ========== */
|
|
.mjr-context-menu {
|
|
position: fixed;
|
|
background: var(--comfy-menu-bg);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
min-width: 200px;
|
|
/* Above viewer overlay (10001) and MFV dialog (10000) */
|
|
z-index: 10002;
|
|
display: none;
|
|
padding: 4px 0;
|
|
animation: mjr-context-menu-in 0.15s ease-out;
|
|
}
|
|
|
|
.mjr-context-menu,
|
|
.mjr-context-menu * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@keyframes mjr-context-menu-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-5px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.mjr-context-menu-item {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
padding: 8px 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
color: var(--fg-color);
|
|
font-size: 13px;
|
|
font-family: inherit;
|
|
font-weight: 400;
|
|
letter-spacing: normal;
|
|
line-height: 1.35;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
text-transform: none;
|
|
transition: background 0.15s;
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-context-menu-item::-moz-focus-inner {
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.mjr-context-menu-item:hover,
|
|
.mjr-context-menu-item:focus-visible {
|
|
background: var(--comfy-input-bg);
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-context-menu-item.is-tone-graph-map {
|
|
color: #f5c542;
|
|
}
|
|
|
|
.mjr-context-menu-item.is-tone-rename {
|
|
color: #5da9ff;
|
|
}
|
|
|
|
.mjr-context-menu-item.is-tone-delete {
|
|
color: #ff5f5f;
|
|
}
|
|
|
|
.mjr-context-menu-item.is-tone-floating-viewer {
|
|
color: #5fd38d;
|
|
}
|
|
|
|
.mjr-context-menu-item.is-tone-graph-map:hover,
|
|
.mjr-context-menu-item.is-tone-graph-map:focus-visible {
|
|
background: rgba(245, 197, 66, 0.14);
|
|
}
|
|
|
|
.mjr-context-menu-item.is-tone-rename:hover,
|
|
.mjr-context-menu-item.is-tone-rename:focus-visible {
|
|
background: rgba(93, 169, 255, 0.14);
|
|
}
|
|
|
|
.mjr-context-menu-item.is-tone-delete:hover,
|
|
.mjr-context-menu-item.is-tone-delete:focus-visible {
|
|
background: rgba(255, 95, 95, 0.14);
|
|
}
|
|
|
|
.mjr-context-menu-item.is-tone-floating-viewer:hover,
|
|
.mjr-context-menu-item.is-tone-floating-viewer:focus-visible {
|
|
background: rgba(95, 211, 141, 0.14);
|
|
}
|
|
|
|
.mjr-context-menu-item.is-disabled {
|
|
cursor: default;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.mjr-context-menu-item.is-disabled:hover,
|
|
.mjr-context-menu-item.is-disabled:focus-visible {
|
|
background: transparent;
|
|
}
|
|
|
|
.mjr-context-menu-separator {
|
|
height: 1px;
|
|
background: var(--border-color);
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.mjr-context-menu-item-left,
|
|
.mjr-context-menu-item-right {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.mjr-context-menu-item-left {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-context-menu-item-right {
|
|
flex: 0 0 auto;
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.mjr-context-menu-item-left i {
|
|
width: 16px;
|
|
text-align: center;
|
|
opacity: 0.82;
|
|
}
|
|
|
|
.mjr-context-menu-hint {
|
|
opacity: 0.58;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-context-menu-submenu-arrow {
|
|
opacity: 0.72;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-add-to-collection-menu {
|
|
min-width: 260px;
|
|
max-width: min(360px, calc(100vw - 16px));
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.mjr-context-menu-title {
|
|
padding: 8px 14px 10px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--fg-color);
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.mjr-context-menu-note {
|
|
padding: 10px 14px;
|
|
font-size: 12px;
|
|
color: color-mix(in srgb, var(--content-fg) 72%, var(--mjr-muted));
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.mjr-grid-popover,
|
|
.mjr-viewer-popover {
|
|
min-width: 250px;
|
|
max-width: min(360px, calc(100vw - 16px));
|
|
background: var(--mjr-surface-1);
|
|
border: 1px solid var(--mjr-border);
|
|
border-radius: var(--mjr-r-sm);
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.mjr-viewer-overlay *,
|
|
.mjr-video-controls,
|
|
.mjr-context-menu {
|
|
animation: none !important;
|
|
transition: none !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
}
|
|
|
|
/* Hide header (toolbar) when viewer overlay is in fullscreen */
|
|
.mjr-viewer-overlay:fullscreen .mjr-viewer-header {
|
|
display: none;
|
|
}
|
|
|
|
/* --------------------------------------------------------------------------
|
|
Majoor Floating Viewer (MFV) - portaled to document.body
|
|
Redeclares CSS variables so the panel works outside .mjr-assets-manager
|
|
(same pattern as .mjr-popover)
|
|
-------------------------------------------------------------------------- */
|
|
|
|
.mjr-mfv {
|
|
--mjr-surface-0: var(--content-bg, #1e1e1e);
|
|
--mjr-surface-1: var(--comfy-menu-bg, #2a2a2a);
|
|
--mjr-surface-2: var(--comfy-menu-secondary-bg, #333);
|
|
--mjr-border: var(--border-color, rgba(255, 255, 255, 0.12));
|
|
--mjr-muted: var(--descrip-text, rgba(255, 255, 255, 0.65));
|
|
--mjr-accent: var(--comfy-accent, #5fb3ff);
|
|
--mjr-status-success: var(--comfy-status-success, #4caf50);
|
|
|
|
font-family: var(
|
|
--comfy-font,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
-apple-system,
|
|
"Segoe UI",
|
|
Roboto,
|
|
Arial,
|
|
sans-serif
|
|
);
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
color: var(--content-fg, var(--input-text, #ddd));
|
|
box-sizing: border-box;
|
|
|
|
/* Visual chrome */
|
|
background: var(--mjr-surface-1);
|
|
border: 1px solid var(--mjr-border);
|
|
border-radius: 8px;
|
|
box-shadow:
|
|
0 8px 32px rgba(0, 0, 0, 0.55),
|
|
0 2px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.mjr-mfv * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html.mjr-mfv-popout-document {
|
|
background:
|
|
radial-gradient(
|
|
1200px 420px at 50% 0%,
|
|
color-mix(
|
|
in srgb,
|
|
var(--primary-background, var(--comfy-accent, #5fb3ff)) 10%,
|
|
transparent
|
|
),
|
|
transparent 62%
|
|
),
|
|
linear-gradient(
|
|
180deg,
|
|
color-mix(
|
|
in srgb,
|
|
var(--interface-panel-surface, var(--content-bg, #16191f)) 82%,
|
|
#000 18%
|
|
),
|
|
color-mix(
|
|
in srgb,
|
|
var(--interface-menu-surface, var(--comfy-menu-bg, #1f2227)) 84%,
|
|
#000 16%
|
|
)
|
|
);
|
|
}
|
|
|
|
body.mjr-mfv-popout-body {
|
|
background: transparent;
|
|
}
|
|
|
|
#mjr-mfv-popout-root,
|
|
.mjr-mfv-popout-root {
|
|
isolation: isolate;
|
|
}
|
|
|
|
/* -- Header (drag handle) ----------------------------------------------- */
|
|
.mjr-mfv-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 6px 10px;
|
|
background: var(--mjr-surface-1);
|
|
border-bottom: 1px solid var(--mjr-border);
|
|
cursor: move;
|
|
user-select: none;
|
|
flex-shrink: 0;
|
|
gap: 6px;
|
|
min-height: 34px;
|
|
}
|
|
|
|
.mjr-mfv-header-title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
opacity: 0.78;
|
|
pointer-events: none;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
flex: 1;
|
|
letter-spacing: 0.28px;
|
|
}
|
|
|
|
/* -- Toolbar ----------------------------------------------------------- */
|
|
.mjr-mfv-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 8px;
|
|
background: color-mix(in srgb, var(--mjr-surface-0) 50%, var(--mjr-surface-1) 50%);
|
|
border-bottom: 1px solid var(--mjr-border);
|
|
flex-shrink: 0;
|
|
min-height: 36px;
|
|
flex-wrap: nowrap;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
scrollbar-width: none;
|
|
}
|
|
.mjr-mfv-toolbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.mjr-mfv-toolbar-sep {
|
|
width: 1px;
|
|
height: 18px;
|
|
background: var(--mjr-border);
|
|
margin: 0 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mjr-mfv-progress {
|
|
position: relative;
|
|
overflow: hidden;
|
|
height: 22px;
|
|
border-bottom: 1px solid var(--mjr-border);
|
|
background: color-mix(in srgb, var(--mjr-surface-0) 72%, #000 28%);
|
|
flex-shrink: 0;
|
|
cursor: default;
|
|
}
|
|
|
|
.mjr-mfv-progress.is-clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mjr-mfv-progress.is-clickable:hover {
|
|
filter: brightness(1.03);
|
|
}
|
|
|
|
.mjr-mfv-progress-bar {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 0%;
|
|
transition: width 70ms ease-in-out;
|
|
}
|
|
|
|
.mjr-mfv-progress-bar--nodes {
|
|
top: 0;
|
|
height: 50%;
|
|
background: color-mix(in srgb, var(--mjr-status-success) 68%, #0b3513 32%);
|
|
}
|
|
|
|
.mjr-mfv-progress-bar--steps {
|
|
top: 50%;
|
|
height: 50%;
|
|
background: color-mix(in srgb, var(--mjr-accent) 64%, #0b2340 36%);
|
|
}
|
|
|
|
.mjr-mfv-progress.is-error .mjr-mfv-progress-bar--nodes,
|
|
.mjr-mfv-progress.is-error .mjr-mfv-progress-bar--steps {
|
|
background: color-mix(in srgb, #d9534f 78%, #4a1414 22%);
|
|
}
|
|
|
|
.mjr-mfv-progress-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.18));
|
|
mix-blend-mode: screen;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mjr-mfv-progress-text {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
padding: 0 8px;
|
|
color: var(--content-fg, #ddd);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.mjr-mfv-pin-group {
|
|
display: flex;
|
|
gap: 2px;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
}
|
|
.mjr-mfv-pin-btn {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--mjr-border);
|
|
background: var(--mjr-surface-2);
|
|
color: var(--content-fg, #ddd);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
transition:
|
|
background-color 120ms ease,
|
|
border-color 120ms ease,
|
|
color 120ms ease,
|
|
box-shadow 120ms ease;
|
|
}
|
|
.mjr-mfv-pin-btn:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 45%, var(--mjr-border));
|
|
background-color: color-mix(in srgb, var(--mjr-surface-2) 80%, var(--mjr-accent) 8%);
|
|
}
|
|
.mjr-mfv-pin-btn.is-pinned {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 58%, #ffffff 12%);
|
|
background-color: color-mix(in srgb, var(--mjr-surface-2) 42%, var(--mjr-accent) 58%);
|
|
color: #eef7ff;
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mjr-accent) 24%, transparent);
|
|
}
|
|
|
|
/* -- Pin group: now a dropdown menu (display:none by default, flex when .is-open) -- */
|
|
.mjr-mfv-pin-group {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
position: absolute;
|
|
top: calc(100% + 4px);
|
|
left: 0;
|
|
z-index: 10010;
|
|
min-width: 70px;
|
|
padding: 4px;
|
|
background: var(--comfy-menu-bg, #2a2a2a);
|
|
border: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
|
|
}
|
|
.mjr-mfv-pin-group.is-open {
|
|
display: flex;
|
|
}
|
|
.mjr-mfv-pin-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 30px;
|
|
border-radius: 6px;
|
|
border: 1px solid transparent;
|
|
background: none;
|
|
color: var(--content-fg, #ddd);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
padding: 0 10px;
|
|
text-align: center;
|
|
transition:
|
|
background 120ms ease,
|
|
border-color 120ms ease,
|
|
color 120ms ease;
|
|
}
|
|
.mjr-mfv-pin-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 35%, transparent);
|
|
}
|
|
.mjr-mfv-pin-btn.is-pinned {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 58%, #ffffff 12%);
|
|
background: color-mix(in srgb, var(--mjr-surface-2, #333) 42%, var(--mjr-accent, #5fb3ff) 58%);
|
|
color: #eef7ff;
|
|
}
|
|
|
|
/* -- Icon Dropdown component (.mjr-mfv-idrop) --------------------------- */
|
|
.mjr-mfv-idrop {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mjr-mfv-idrop-menu {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
position: absolute;
|
|
z-index: 10010;
|
|
min-width: 110px;
|
|
padding: 4px;
|
|
background: var(--comfy-menu-bg, #2a2a2a);
|
|
border: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
|
|
white-space: nowrap;
|
|
}
|
|
.mjr-mfv-idrop-menu.is-open {
|
|
display: flex;
|
|
}
|
|
|
|
.mjr-mfv-idrop-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 6px 10px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: var(--input-text, #ddd);
|
|
font-size: 12px;
|
|
font-family: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: background 0.1s ease;
|
|
}
|
|
.mjr-mfv-idrop-item:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
.mjr-mfv-idrop-item.is-selected {
|
|
background: rgba(95, 179, 255, 0.16);
|
|
color: #a8d8ff;
|
|
}
|
|
.mjr-mfv-idrop-trigger[aria-expanded="true"] {
|
|
background: rgba(255, 255, 255, 0.1) !important;
|
|
border-color: rgba(255, 255, 255, 0.2) !important;
|
|
}
|
|
/* Channel trigger: slightly wider to fit "RGB" */
|
|
.mjr-mfv-ch-label {
|
|
font-size: 12px;
|
|
letter-spacing: 0.04em;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* Toolbar icon-button popovers (channel, guides, pin, format - sort-style context menus) */
|
|
.mjr-mfv-ch-popover,
|
|
.mjr-mfv-guides-popover,
|
|
.mjr-mfv-pin-popover,
|
|
.mjr-mfv-format-popover {
|
|
position: absolute;
|
|
min-width: 120px;
|
|
padding: 6px;
|
|
border-radius: var(--radius-lg, 0.5rem);
|
|
background: var(--mjr-surface-1, var(--comfy-menu-bg, #2a2a2a));
|
|
border: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
|
|
z-index: 10010;
|
|
display: none;
|
|
}
|
|
.mjr-mfv-ch-popover.is-open,
|
|
.mjr-mfv-guides-popover.is-open,
|
|
.mjr-mfv-pin-popover.is-open,
|
|
.mjr-mfv-format-popover.is-open {
|
|
display: block;
|
|
}
|
|
/* Toolbar icon images - ch icon is black (inverted), guides icon is native white */
|
|
.mjr-mfv-ch-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
filter: invert(1);
|
|
opacity: 0.85;
|
|
display: block;
|
|
}
|
|
.mjr-mfv-guides-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
opacity: 0.85;
|
|
display: block;
|
|
}
|
|
.mjr-mfv-ch-trigger[aria-expanded="true"],
|
|
.mjr-mfv-guides-trigger[aria-expanded="true"],
|
|
.mjr-mfv-pin-trigger[aria-expanded="true"],
|
|
.mjr-mfv-format-trigger[aria-expanded="true"] {
|
|
background: rgba(255, 255, 255, 0.1) !important;
|
|
border-color: rgba(255, 255, 255, 0.2) !important;
|
|
}
|
|
/* Pin slot active state */
|
|
.mjr-mfv-pin-popover .mjr-menu-item.is-pinned {
|
|
background: rgba(95, 179, 255, 0.16);
|
|
color: #a8d8ff;
|
|
}
|
|
.mjr-mfv-pin-popover .mjr-menu-item.is-pinned .mjr-menu-item-check {
|
|
opacity: 1 !important;
|
|
}
|
|
/* Format popover: separator + opacity slider row */
|
|
.mjr-mfv-format-sep {
|
|
height: 1px;
|
|
background: var(--mjr-border, rgba(255, 255, 255, 0.1));
|
|
margin: 4px 2px;
|
|
}
|
|
.mjr-mfv-format-slider-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 8px 2px;
|
|
}
|
|
.mjr-mfv-format-slider-label {
|
|
font-size: 11px;
|
|
color: var(--input-text, #ddd);
|
|
opacity: 0.65;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
.mjr-mfv-format-popover input[type="range"] {
|
|
flex: 1;
|
|
min-width: 70px;
|
|
accent-color: var(--mjr-accent, #5fb3ff);
|
|
}
|
|
.mjr-mfv-format-popover .mjr-mfv-toolbar-range-out {
|
|
font-size: 11px;
|
|
color: var(--input-text, #ddd);
|
|
opacity: 0.65;
|
|
min-width: 30px;
|
|
text-align: right;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 7px;
|
|
border: 1px solid var(--mjr-border);
|
|
background: var(--mjr-surface-2);
|
|
color: var(--content-fg, #ddd);
|
|
cursor: pointer;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
transition:
|
|
transform 120ms ease,
|
|
background-color 120ms ease,
|
|
border-color 120ms ease,
|
|
color 120ms ease,
|
|
box-shadow 120ms ease;
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 45%, var(--mjr-border));
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 80%, var(--mjr-accent) 8%);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn:focus-visible {
|
|
outline: none;
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 58%, var(--mjr-border));
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--mjr-accent) 24%, transparent);
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn .pi {
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Universal active highlight - any aria-pressed="true" button gets accent glow.
|
|
Placed before the colored active classes so they can override with their own color. */
|
|
.mjr-mfv .mjr-icon-btn[aria-pressed="true"] {
|
|
border-color: rgba(95, 179, 255, 0.55);
|
|
color: var(--mjr-accent, #5fb3ff);
|
|
background: color-mix(in srgb, var(--mjr-surface-2, #333) 80%, var(--mjr-accent, #5fb3ff) 15%);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--mjr-accent, #5fb3ff) 25%, transparent);
|
|
}
|
|
.mjr-mfv .mjr-icon-btn[aria-pressed="true"] .pi {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn.mjr-live-active {
|
|
border-color: color-mix(in srgb, var(--mjr-status-success) 60%, var(--mjr-border));
|
|
color: var(--mjr-status-success);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 80%, var(--mjr-status-success) 12%);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--mjr-status-success) 25%, transparent);
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn.mjr-live-active .pi {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn.mjr-preview-active {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 60%, var(--mjr-border));
|
|
color: var(--mjr-accent);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 80%, var(--mjr-accent) 12%);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--mjr-accent) 25%, transparent);
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn.mjr-preview-active .pi {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn.mjr-nodestream-active {
|
|
border-color: color-mix(in srgb, var(--mjr-status-warning, #ff9800) 60%, var(--mjr-border));
|
|
color: var(--mjr-status-warning, #ff9800);
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-surface-2) 80%,
|
|
var(--mjr-status-warning, #ff9800) 12%
|
|
);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--mjr-status-warning, #ff9800) 25%, transparent);
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn.mjr-nodestream-active .pi {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Pop-in mode (viewer popped out): raise button contrast/brightness */
|
|
.mjr-mfv.mjr-mfv--popped {
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-1) 92%, rgba(255, 255, 255, 0.04)),
|
|
color-mix(in srgb, var(--mjr-surface-0) 92%, rgba(0, 0, 0, 0.18))
|
|
);
|
|
border-color: color-mix(in srgb, var(--mjr-border) 74%, rgba(255, 255, 255, 0.18));
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05),
|
|
0 24px 56px rgba(0, 0, 0, 0.42);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-header {
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-2) 88%, rgba(255, 255, 255, 0.08)),
|
|
color-mix(in srgb, var(--mjr-surface-1) 90%, rgba(0, 0, 0, 0.24))
|
|
);
|
|
border-bottom-color: color-mix(in srgb, var(--mjr-border) 78%, rgba(255, 255, 255, 0.14));
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-header-title {
|
|
opacity: 0.98;
|
|
color: color-mix(in srgb, var(--content-fg, #eef4ff) 94%, #ffffff 6%);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-toolbar {
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-1) 88%, rgba(255, 255, 255, 0.04)),
|
|
color-mix(in srgb, var(--mjr-surface-0) 90%, rgba(0, 0, 0, 0.24))
|
|
);
|
|
border-bottom-color: color-mix(in srgb, var(--mjr-border) 78%, rgba(255, 255, 255, 0.14));
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-toolbar-sep {
|
|
background: color-mix(in srgb, var(--mjr-border) 78%, rgba(255, 255, 255, 0.18));
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-progress {
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-0) 82%, #0a1118 18%),
|
|
color-mix(in srgb, var(--mjr-surface-0) 92%, #000 8%)
|
|
);
|
|
border-bottom-color: color-mix(in srgb, var(--mjr-border) 78%, rgba(255, 255, 255, 0.14));
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-progress-text {
|
|
color: color-mix(in srgb, var(--content-fg, #eef4ff) 94%, #ffffff 6%);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-content {
|
|
background:
|
|
radial-gradient(
|
|
circle at top,
|
|
color-mix(in srgb, var(--mjr-accent) 10%, transparent) 0%,
|
|
transparent 42%
|
|
),
|
|
color-mix(in srgb, var(--mjr-surface-0) 82%, #000 18%);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-icon-btn {
|
|
border-color: color-mix(in srgb, var(--mjr-border) 76%, rgba(255, 255, 255, 0.16));
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-2) 86%, rgba(255, 255, 255, 0.08)),
|
|
color-mix(in srgb, var(--mjr-surface-1) 92%, rgba(0, 0, 0, 0.18))
|
|
);
|
|
color: color-mix(in srgb, var(--content-fg, #ddd) 92%, #ffffff 8%) !important;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05),
|
|
0 8px 18px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-icon-btn:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 52%, var(--mjr-border));
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-2) 58%, var(--mjr-accent) 42%),
|
|
color-mix(in srgb, var(--mjr-surface-1) 62%, var(--mjr-accent) 38%)
|
|
);
|
|
color: #f4f8ff !important;
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-icon-btn .pi {
|
|
opacity: 1;
|
|
color: inherit !important;
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-icon-btn.mjr-live-active {
|
|
border-color: color-mix(in srgb, var(--mjr-status-success) 60%, #ffffff 40%);
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-status-success) 62%, rgba(255, 255, 255, 0.08)),
|
|
color-mix(in srgb, var(--mjr-status-success) 36%, var(--mjr-surface-1) 64%)
|
|
);
|
|
color: #ffffff !important;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
|
0 0 0 1px color-mix(in srgb, var(--mjr-status-success) 24%, transparent),
|
|
0 0 18px rgba(76, 175, 80, 0.18);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-icon-btn.mjr-preview-active {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 58%, #ffffff 42%);
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-accent) 62%, rgba(255, 255, 255, 0.08)),
|
|
color-mix(in srgb, var(--mjr-accent) 36%, var(--mjr-surface-1) 64%)
|
|
);
|
|
color: #ffffff !important;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
|
0 0 0 1px color-mix(in srgb, var(--mjr-accent) 24%, transparent),
|
|
0 0 18px rgba(95, 179, 255, 0.18);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-icon-btn.mjr-nodestream-active {
|
|
border-color: color-mix(in srgb, var(--mjr-status-warning, #ff9800) 58%, #ffffff 42%);
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-status-warning, #ff9800) 62%, rgba(255, 255, 255, 0.08)),
|
|
color-mix(in srgb, var(--mjr-status-warning, #ff9800) 36%, var(--mjr-surface-1) 64%)
|
|
);
|
|
color: #ffffff !important;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
|
0 0 0 1px color-mix(in srgb, var(--mjr-status-warning, #ff9800) 24%, transparent),
|
|
0 0 18px rgba(255, 152, 0, 0.18);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-pin-btn {
|
|
border-color: color-mix(in srgb, var(--mjr-border) 76%, rgba(255, 255, 255, 0.16));
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-2) 84%, rgba(255, 255, 255, 0.08)),
|
|
color-mix(in srgb, var(--mjr-surface-1) 92%, rgba(0, 0, 0, 0.18))
|
|
);
|
|
color: color-mix(in srgb, var(--content-fg, #ddd) 92%, #ffffff 8%);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-pin-btn:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 52%, var(--mjr-border));
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-2) 56%, var(--mjr-accent) 44%),
|
|
color-mix(in srgb, var(--mjr-surface-1) 64%, var(--mjr-accent) 36%)
|
|
);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-pin-btn.is-pinned {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 58%, #ffffff 42%);
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-accent) 62%, rgba(255, 255, 255, 0.08)),
|
|
color-mix(in srgb, var(--mjr-accent) 36%, var(--mjr-surface-1) 64%)
|
|
);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-sidebar {
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-1) 94%, rgba(255, 255, 255, 0.04)),
|
|
color-mix(in srgb, var(--mjr-surface-0) 94%, rgba(0, 0, 0, 0.18))
|
|
);
|
|
border-left-color: color-mix(in srgb, var(--mjr-border) 78%, rgba(255, 255, 255, 0.16));
|
|
box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-mfv-content-wrapper[data-sidebar-pos="left"] .mjr-ws-sidebar {
|
|
border-right-color: color-mix(in srgb, var(--mjr-border) 78%, rgba(255, 255, 255, 0.16));
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-sidebar-header {
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-2) 84%, rgba(255, 255, 255, 0.05)),
|
|
color-mix(in srgb, var(--mjr-surface-1) 92%, rgba(0, 0, 0, 0.18))
|
|
);
|
|
border-bottom-color: color-mix(in srgb, var(--mjr-border) 76%, rgba(255, 255, 255, 0.14));
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-sidebar-title {
|
|
color: color-mix(in srgb, var(--content-fg, #eef4ff) 82%, var(--mjr-muted) 18%);
|
|
opacity: 0.88;
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-node {
|
|
border-bottom-color: color-mix(in srgb, var(--mjr-border) 72%, rgba(255, 255, 255, 0.12));
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-node-header {
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
|
|
linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, var(--mjr-surface-1) 86%, var(--mjr-accent) 14%),
|
|
color-mix(in srgb, var(--mjr-surface-0) 86%, rgba(0, 0, 0, 0.14))
|
|
);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-node-title {
|
|
color: color-mix(in srgb, var(--content-fg, #eef4ff) 94%, #ffffff 6%);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-widget-label,
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-sidebar-empty,
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-node-empty {
|
|
color: color-mix(in srgb, var(--mjr-muted) 84%, #ffffff 16%);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-input {
|
|
background: color-mix(in srgb, var(--mjr-surface-0) 74%, #05070a 26%);
|
|
border-color: color-mix(in srgb, var(--mjr-border) 74%, rgba(255, 255, 255, 0.18));
|
|
border-radius: 6px;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-ws-input:focus {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 58%, #ffffff 10%);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.04),
|
|
0 0 0 2px color-mix(in srgb, var(--mjr-accent) 18%, transparent);
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn.mjr-popin-active {
|
|
border-color: color-mix(in srgb, var(--mjr-accent) 58%, #ffffff 42%);
|
|
background: color-mix(in srgb, var(--mjr-surface-2) 45%, var(--mjr-accent) 55%);
|
|
color: #eef7ff;
|
|
}
|
|
|
|
/* -- Content wrapper (horizontal flex: content + sidebar) -------------- */
|
|
.mjr-mfv-content-wrapper {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
container-type: inline-size;
|
|
}
|
|
|
|
/* -- Sidebar position variants ---------------------------------------- */
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="left"] {
|
|
flex-direction: row;
|
|
}
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="left"] .mjr-ws-sidebar {
|
|
border-left: none;
|
|
border-right: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
}
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] {
|
|
flex-direction: column;
|
|
}
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-ws-sidebar {
|
|
border-left: none;
|
|
border-top: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
width: 100%;
|
|
height: 0;
|
|
transition:
|
|
height 0.2s ease,
|
|
width 0s;
|
|
}
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-ws-sidebar.open {
|
|
width: 100%;
|
|
height: 220px;
|
|
overflow-y: auto;
|
|
min-height: 120px;
|
|
max-height: 65%;
|
|
}
|
|
|
|
/* -- Content area ------------------------------------------------------ */
|
|
.mjr-mfv-content {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
position: relative;
|
|
background: #0d0d0d;
|
|
min-height: 0;
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar {
|
|
display: none;
|
|
flex: 0 0 320px;
|
|
width: 320px;
|
|
min-width: 210px;
|
|
max-width: min(42%, 420px);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding: 10px;
|
|
border-left: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
background: rgba(18, 18, 20, 0.96);
|
|
color: rgba(255, 255, 255, 0.88);
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar.open {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="left"] .mjr-mfv-gen-sidebar {
|
|
border-left: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
border-right: none;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar {
|
|
flex: 0 0 clamp(190px, 32%, 280px);
|
|
width: 100%;
|
|
max-width: none;
|
|
min-width: 0;
|
|
max-height: 46%;
|
|
border-left: none;
|
|
border-top: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar-title {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0;
|
|
color: rgba(255, 255, 255, 0.94);
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar-section:first-of-type {
|
|
padding-top: 0;
|
|
border-top: none;
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar-heading {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar.open {
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-title {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-section {
|
|
flex: 0 0 auto;
|
|
min-height: auto;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-heading {
|
|
display: none;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-body {
|
|
display: block;
|
|
columns: 3 170px;
|
|
column-gap: 10px;
|
|
column-fill: balance;
|
|
min-height: auto;
|
|
overflow-x: hidden;
|
|
overflow-y: visible;
|
|
padding-right: 2px;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-body > * {
|
|
display: flex;
|
|
break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
margin-block: 0 10px;
|
|
}
|
|
|
|
.mjr-mfv-gen-time-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 8px 10px;
|
|
border: 1px solid rgba(224, 255, 122, 0.42);
|
|
border-radius: 999px;
|
|
background: linear-gradient(135deg, rgba(224, 255, 122, 0.16), rgba(76, 175, 80, 0.1));
|
|
box-shadow: 0 0 0 1px rgba(224, 255, 122, 0.12) inset;
|
|
cursor: copy;
|
|
transition:
|
|
background 0.16s ease,
|
|
border-color 0.16s ease,
|
|
box-shadow 0.16s ease;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-time-badge {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.mjr-mfv-gen-time-label {
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.mjr-mfv-gen-time-value {
|
|
color: #e0ff7a;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
font-family: Consolas, Monaco, monospace;
|
|
}
|
|
|
|
.mjr-mfv-gen-card {
|
|
--mjr-mfv-gen-accent: #2196f3;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-mfv-gen-accent) 45%, transparent);
|
|
border-radius: 6px;
|
|
background: linear-gradient(
|
|
135deg,
|
|
color-mix(in srgb, var(--mjr-mfv-gen-accent) 16%, transparent) 0%,
|
|
color-mix(in srgb, var(--mjr-mfv-gen-accent) 8%, transparent) 100%
|
|
);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--mjr-mfv-gen-accent) 14%, transparent) inset;
|
|
cursor: copy;
|
|
transition:
|
|
background 0.16s ease,
|
|
border-color 0.16s ease,
|
|
box-shadow 0.16s ease;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card {
|
|
min-height: 0;
|
|
padding: 10px;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--positive-prompt,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--negative-prompt,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--prompt {
|
|
min-height: 110px;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--workflow {
|
|
min-height: 58px;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--model-and-lora,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--models,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--sampling,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--generation-pipeline,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--text-to-image,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--image-to-image,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--inpaint,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--upscale,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--refine {
|
|
min-height: 86px;
|
|
}
|
|
|
|
.mjr-mfv-gen-card--seed {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.mjr-mfv-gen-card--compact {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card--compact {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.mjr-mfv-gen-card--compact .mjr-mfv-gen-card-title,
|
|
.mjr-mfv-gen-card--compact .mjr-mfv-gen-card-value {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-mfv-gen-card:hover,
|
|
.mjr-mfv-gen-time-badge:hover {
|
|
border-color: color-mix(in srgb, var(--mjr-mfv-gen-accent, #e0ff7a) 70%, transparent);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--mjr-mfv-gen-accent, #e0ff7a) 24%, transparent)
|
|
inset;
|
|
}
|
|
|
|
.mjr-mfv-gen-copy-flash {
|
|
background: rgba(76, 175, 80, 0.28) !important;
|
|
}
|
|
|
|
.mjr-mfv-gen-card-title {
|
|
color: var(--mjr-mfv-gen-accent);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.mjr-mfv-gen-card-value {
|
|
color: var(--fg-color, rgba(255, 255, 255, 0.92));
|
|
font-size: 12px;
|
|
min-width: 0;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card-value {
|
|
overflow: hidden;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 5;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.mjr-mfv-gen-card-value.is-compact {
|
|
text-align: right;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card-value.is-compact {
|
|
text-align: left;
|
|
}
|
|
|
|
.mjr-mfv-gen-card-value.is-multiline {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.mjr-mfv-gen-card--seed .mjr-mfv-gen-card-value {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
font-family: Consolas, Monaco, monospace;
|
|
letter-spacing: 1px;
|
|
color: #fff;
|
|
}
|
|
|
|
.mjr-mfv-gen-card-value.is-fields {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-card-value.is-fields {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
-webkit-line-clamp: unset;
|
|
}
|
|
|
|
.mjr-mfv-gen-card-value.is-branch-groups {
|
|
gap: 10px;
|
|
}
|
|
|
|
.mjr-mfv-gen-branch-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
padding: 8px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(255, 255, 255, 0.045);
|
|
}
|
|
|
|
.mjr-mfv-gen-branch-title {
|
|
color: var(--mjr-mfv-gen-accent);
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.6px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mjr-mfv-gen-field {
|
|
display: grid;
|
|
grid-template-columns: minmax(78px, auto) 1fr;
|
|
gap: 10px;
|
|
align-items: start;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-field {
|
|
grid-template-columns: minmax(54px, auto) minmax(0, 1fr);
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-field-value {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-mfv-gen-field-label {
|
|
color: var(--mjr-muted, rgba(180, 180, 180, 0.72));
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.mjr-mfv-gen-field-value {
|
|
color: var(--fg-color, rgba(255, 255, 255, 0.95));
|
|
min-width: 0;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar-body strong {
|
|
font-weight: 600;
|
|
margin-right: 4px;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar-body [data-field="prompt"] strong {
|
|
color: #7ec8ff;
|
|
}
|
|
.mjr-mfv-gen-sidebar-body [data-field="seed"] strong {
|
|
color: #ffd47a;
|
|
}
|
|
.mjr-mfv-gen-sidebar-body [data-field="model"] strong {
|
|
color: #7dda8a;
|
|
}
|
|
.mjr-mfv-gen-sidebar-body [data-field="lora"] strong {
|
|
color: #d48cff;
|
|
}
|
|
.mjr-mfv-gen-sidebar-body [data-field="sampler"] strong {
|
|
color: #ff9f7a;
|
|
}
|
|
.mjr-mfv-gen-sidebar-body [data-field="scheduler"] strong {
|
|
color: #ff7a9f;
|
|
}
|
|
.mjr-mfv-gen-sidebar-body [data-field="cfg"] strong {
|
|
color: #7a9fff;
|
|
}
|
|
.mjr-mfv-gen-sidebar-body [data-field="step"] strong {
|
|
color: #7affd4;
|
|
}
|
|
.mjr-mfv-gen-sidebar-body [data-field="genTime"] strong {
|
|
color: #e0ff7a;
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar-body div {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-body div {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-body > div,
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-body > section {
|
|
margin-block: 0 10px;
|
|
}
|
|
|
|
.mjr-mfv-gen-sidebar-body div:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
@container (max-width: 760px) {
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-body {
|
|
columns: auto;
|
|
column-count: 1;
|
|
column-width: auto;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-mfv-gen-sidebar-body > * {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.mjr-mfv-overlay-canvas {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 12;
|
|
}
|
|
|
|
.mjr-mfv-toolbar-select {
|
|
height: 24px;
|
|
padding: 0 6px;
|
|
border-radius: 6px;
|
|
border: 0.8px solid rgba(196, 202, 210, 0.24);
|
|
background: linear-gradient(180deg, rgba(210, 214, 220, 0.06), rgba(210, 214, 220, 0.02));
|
|
color: rgba(230, 233, 238, 0.92);
|
|
font-size: 11px;
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-mfv-toolbar-range {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-mfv-toolbar-range input[type="range"] {
|
|
width: 72px;
|
|
accent-color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.mjr-mfv-toolbar-range-out {
|
|
min-width: 30px;
|
|
text-align: right;
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
/* EV slider active state (value != 0) */
|
|
.mjr-mfv-toolbar-range.is-active input[type="range"] {
|
|
accent-color: #f5c842;
|
|
}
|
|
.mjr-mfv-toolbar-range.is-active .mjr-mfv-toolbar-range-out {
|
|
color: #f5c842;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.mjr-mfv-media-progress {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
z-index: 6;
|
|
max-width: calc(100% - 20px);
|
|
padding: 5px 9px;
|
|
border-radius: 6px;
|
|
border: 1px solid
|
|
color-mix(in srgb, var(--mjr-border, rgba(255, 255, 255, 0.18)) 88%, transparent);
|
|
background: color-mix(in srgb, rgba(5, 8, 14, 0.86) 86%, var(--mjr-surface-0, #111) 14%);
|
|
color: var(--content-fg, #f5f7fa);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transform: translateY(-4px);
|
|
transition:
|
|
opacity 0.16s ease,
|
|
transform 0.16s ease;
|
|
}
|
|
|
|
.mjr-mfv-media-progress.is-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.mjr-mfv-media-progress.is-error {
|
|
border-color: color-mix(in srgb, var(--mjr-status-error, #ff5c7a) 72%, transparent);
|
|
background: color-mix(in srgb, rgba(60, 10, 18, 0.9) 82%, var(--mjr-surface-0, #111) 18%);
|
|
}
|
|
|
|
.mjr-mfv-media-progress-text {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
/* -- Workflow Sidebar -------------------------------------------------- */
|
|
.mjr-ws-sidebar {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 0;
|
|
overflow: hidden;
|
|
background: var(--mjr-surface-1, #2a2a2a);
|
|
border-left: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
transition: width 0.2s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mjr-ws-sidebar.open {
|
|
width: 260px;
|
|
overflow: hidden;
|
|
min-width: 180px;
|
|
max-width: 65%;
|
|
transition: none;
|
|
}
|
|
|
|
.mjr-ws-sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 6px 10px;
|
|
border-bottom: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
flex-shrink: 0;
|
|
min-height: 34px;
|
|
}
|
|
.mjr-ws-sidebar-title {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
opacity: 0.65;
|
|
}
|
|
.mjr-ws-sidebar-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
}
|
|
.mjr-ws-sidebar-empty {
|
|
padding: 24px 16px;
|
|
text-align: center;
|
|
color: rgba(255, 255, 255, 0.25);
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* -- Tab bar ------------------------------------------------------------ */
|
|
.mjr-ws-tab-bar {
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
gap: 2px;
|
|
padding: 4px 8px;
|
|
border-bottom: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
background: rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.mjr-ws-tab {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
padding: 4px 8px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition:
|
|
background 0.15s,
|
|
color 0.15s;
|
|
}
|
|
|
|
.mjr-ws-tab:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
color: rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
.mjr-ws-tab.is-active {
|
|
background: rgba(99, 155, 255, 0.15);
|
|
color: #639bff;
|
|
}
|
|
|
|
/* -- Nodes tab ---------------------------------------------------------- */
|
|
.mjr-ws-nodes-tab {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Graph Map tab */
|
|
.mjr-wgm {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100%;
|
|
color: rgba(255, 255, 255, 0.82);
|
|
}
|
|
|
|
.mjr-wgm-map-wrap {
|
|
height: 190px;
|
|
min-height: 150px;
|
|
margin: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
background: rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
.mjr-wgm-preview {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.32);
|
|
}
|
|
|
|
.mjr-wgm-preview .mjr-mfv-media,
|
|
.mjr-wgm-preview .mjr-mfv-player-host,
|
|
.mjr-wgm-preview .mjr-model3d-host,
|
|
.mjr-wgm-preview-media {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.mjr-wgm-preview-empty {
|
|
color: rgba(255, 255, 255, 0.34);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.mjr-wgm-canvas {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: grab;
|
|
touch-action: none;
|
|
}
|
|
|
|
.mjr-wgm-canvas:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.mjr-wgm--large {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
background: rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.mjr-wgm--large .mjr-wgm-map-wrap {
|
|
flex: 1;
|
|
height: auto;
|
|
min-height: 0;
|
|
margin: 0;
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.mjr-wgm--large .mjr-wgm-status {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 10px;
|
|
z-index: 2;
|
|
max-width: min(420px, calc(100% - 20px));
|
|
padding: 5px 8px;
|
|
border-radius: 5px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(0, 0, 0, 0.52);
|
|
color: rgba(255, 255, 255, 0.74);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.mjr-wgm-toolbar {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 46px;
|
|
z-index: 2;
|
|
display: inline-flex;
|
|
gap: 6px;
|
|
max-width: min(420px, calc(100% - 20px));
|
|
}
|
|
|
|
.mjr-wgm-mode {
|
|
min-height: 26px;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(0, 0, 0, 0.5);
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mjr-wgm-mode:hover {
|
|
border-color: rgba(149, 183, 255, 0.45);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.mjr-wgm-mode.is-active {
|
|
border-color: rgba(124, 186, 255, 0.62);
|
|
background: rgba(79, 123, 214, 0.26);
|
|
color: rgba(235, 245, 255, 0.96);
|
|
}
|
|
|
|
.mjr-wgm--large .mjr-wgm-details {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 10px;
|
|
bottom: 10px;
|
|
z-index: 2;
|
|
width: min(320px, 38%);
|
|
overflow-y: auto;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(18, 20, 26, 0.84);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.mjr-wgm--large .mjr-wgm-action {
|
|
min-height: 30px;
|
|
}
|
|
|
|
.mjr-wgm--large .mjr-wgm-param {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.mjr-wgm-status {
|
|
padding: 0 10px 8px;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
font-size: 10px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.mjr-wgm-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 0 8px 10px;
|
|
}
|
|
|
|
.mjr-wgm-node-title {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.mjr-wgm-node-meta {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
margin-top: -4px;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.mjr-wgm-breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
margin: -2px 0 2px;
|
|
color: rgba(255, 255, 255, 0.58);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.mjr-wgm-breadcrumb-item {
|
|
min-width: 0;
|
|
max-width: 140px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-wgm-breadcrumb-sep {
|
|
color: rgba(255, 255, 255, 0.32);
|
|
}
|
|
|
|
.mjr-wgm-actions {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mjr-wgm-action {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
min-height: 28px;
|
|
padding: 5px 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 5px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: rgba(255, 255, 255, 0.76);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mjr-wgm-action:hover {
|
|
border-color: rgba(99, 155, 255, 0.45);
|
|
background: rgba(99, 155, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.mjr-wgm-action.is-ok {
|
|
border-color: rgba(76, 175, 80, 0.55);
|
|
color: rgba(190, 255, 196, 0.96);
|
|
}
|
|
|
|
.mjr-wgm-params {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.mjr-wgm-param {
|
|
display: grid;
|
|
grid-template-columns: minmax(64px, 0.42fr) minmax(0, 1fr);
|
|
gap: 8px;
|
|
padding: 5px 7px;
|
|
border-radius: 4px;
|
|
background: rgba(0, 0, 0, 0.18);
|
|
font-size: 10px;
|
|
line-height: 1.35;
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
transition:
|
|
background 120ms ease,
|
|
border-color 120ms ease;
|
|
}
|
|
|
|
.mjr-wgm-param:hover,
|
|
.mjr-wgm-param:focus-visible {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-wgm-param.is-ok {
|
|
border-color: rgba(79, 210, 125, 0.7);
|
|
background: rgba(79, 210, 125, 0.16);
|
|
}
|
|
|
|
.mjr-wgm-param.is-error {
|
|
border-color: rgba(255, 90, 90, 0.7);
|
|
background: rgba(255, 90, 90, 0.16);
|
|
}
|
|
|
|
.mjr-wgm-param-key {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: rgba(255, 255, 255, 0.48);
|
|
}
|
|
|
|
.mjr-wgm-param-value {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: rgba(255, 255, 255, 0.82);
|
|
}
|
|
|
|
.mjr-wgm-node-visual {
|
|
--mjr-wgm-node-accent: rgba(115, 155, 255, 0.88);
|
|
--mjr-wgm-node-accent-soft: rgba(115, 155, 255, 0.22);
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 2px;
|
|
padding: 8px;
|
|
border-radius: 6px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-wgm-node-accent) 34%, rgba(255, 255, 255, 0.1));
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
|
0 10px 24px rgba(0, 0, 0, 0.24);
|
|
background:
|
|
linear-gradient(180deg, color-mix(in srgb, var(--mjr-wgm-node-accent-soft) 100%, transparent), rgba(44, 56, 88, 0.2)),
|
|
rgba(13, 16, 24, 0.85);
|
|
}
|
|
|
|
.mjr-wgm-node-visual::before {
|
|
content: "";
|
|
display: block;
|
|
height: 2px;
|
|
margin: -8px -8px 6px;
|
|
border-radius: 6px 6px 0 0;
|
|
background: linear-gradient(90deg, var(--mjr-wgm-node-accent), rgba(255, 255, 255, 0.12));
|
|
}
|
|
|
|
.mjr-wgm-node-visual.is-model {
|
|
--mjr-wgm-node-accent: rgba(124, 186, 255, 0.9);
|
|
--mjr-wgm-node-accent-soft: rgba(70, 123, 181, 0.34);
|
|
}
|
|
|
|
.mjr-wgm-node-visual.is-sampler {
|
|
--mjr-wgm-node-accent: rgba(143, 228, 167, 0.9);
|
|
--mjr-wgm-node-accent-soft: rgba(64, 133, 88, 0.34);
|
|
}
|
|
|
|
.mjr-wgm-node-visual.is-text {
|
|
--mjr-wgm-node-accent: rgba(255, 192, 114, 0.9);
|
|
--mjr-wgm-node-accent-soft: rgba(154, 102, 49, 0.34);
|
|
}
|
|
|
|
.mjr-wgm-node-visual.is-media {
|
|
--mjr-wgm-node-accent: rgba(154, 170, 255, 0.9);
|
|
--mjr-wgm-node-accent-soft: rgba(83, 93, 165, 0.34);
|
|
}
|
|
|
|
.mjr-wgm-node-visual.is-control {
|
|
--mjr-wgm-node-accent: rgba(255, 139, 169, 0.9);
|
|
--mjr-wgm-node-accent-soft: rgba(145, 70, 95, 0.34);
|
|
}
|
|
|
|
.mjr-wgm-node-visual.is-logic {
|
|
--mjr-wgm-node-accent: rgba(188, 168, 255, 0.9);
|
|
--mjr-wgm-node-accent-soft: rgba(105, 86, 153, 0.34);
|
|
}
|
|
|
|
.mjr-wgm-node-visual-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding-bottom: 6px;
|
|
border-bottom: 1px solid color-mix(in srgb, var(--mjr-wgm-node-accent) 25%, rgba(255, 255, 255, 0.14));
|
|
}
|
|
|
|
.mjr-wgm-node-visual-type {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: rgba(236, 244, 255, 0.94);
|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.mjr-wgm-node-visual-id {
|
|
font-size: 10px;
|
|
color: rgba(194, 213, 255, 0.78);
|
|
}
|
|
|
|
.mjr-wgm-node-ports {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-wgm-node-ports-col {
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-wgm-node-ports-title {
|
|
margin-bottom: 4px;
|
|
font-size: 10px;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.mjr-wgm-node-ports-list {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
|
|
.mjr-wgm-node-port,
|
|
.mjr-wgm-node-port-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-height: 18px;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(0, 0, 0, 0.24);
|
|
}
|
|
|
|
.mjr-wgm-node-port-empty {
|
|
color: rgba(255, 255, 255, 0.26);
|
|
}
|
|
|
|
.mjr-wgm-node-port-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
flex: 0 0 auto;
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
|
|
}
|
|
|
|
.mjr-wgm-node-port-dot.is-in {
|
|
background: rgba(135, 196, 255, 0.9);
|
|
}
|
|
|
|
.mjr-wgm-node-port-dot.is-out {
|
|
background: rgba(144, 238, 174, 0.9);
|
|
}
|
|
|
|
.mjr-wgm-node-port-name {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.78);
|
|
}
|
|
|
|
.mjr-wgm-node-port-type {
|
|
flex: 0 0 auto;
|
|
max-width: 45%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 9px;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
padding: 1px 5px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(224, 236, 255, 0.9);
|
|
}
|
|
|
|
.mjr-wgm-node-widgets {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mjr-wgm-node-widgets-title {
|
|
margin-bottom: 2px;
|
|
font-size: 10px;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.mjr-wgm-node-widget,
|
|
.mjr-wgm-node-widget-empty {
|
|
display: grid;
|
|
grid-template-columns: minmax(70px, 0.42fr) minmax(0, 1fr);
|
|
gap: 8px;
|
|
padding: 4px 6px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.mjr-wgm-node-widget {
|
|
cursor: pointer;
|
|
transition:
|
|
background 120ms ease,
|
|
border-color 120ms ease;
|
|
}
|
|
|
|
.mjr-wgm-node-widget:hover,
|
|
.mjr-wgm-node-widget:focus-visible {
|
|
background: rgba(255, 255, 255, 0.09);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-wgm-node-widget.is-ok {
|
|
border-color: rgba(79, 210, 125, 0.7);
|
|
background: rgba(79, 210, 125, 0.16);
|
|
}
|
|
|
|
.mjr-wgm-node-widget.is-error {
|
|
border-color: rgba(255, 90, 90, 0.7);
|
|
background: rgba(255, 90, 90, 0.16);
|
|
}
|
|
|
|
.mjr-wgm-node-widget-empty {
|
|
grid-template-columns: 1fr;
|
|
color: rgba(255, 255, 255, 0.34);
|
|
}
|
|
|
|
.mjr-wgm-node-widget-key {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.52);
|
|
}
|
|
|
|
.mjr-wgm-node-widget-value {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.88);
|
|
}
|
|
|
|
.mjr-wgm-node-widget.is-multiline {
|
|
grid-template-columns: 1fr;
|
|
align-items: start;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mjr-wgm-node-widget.is-multiline .mjr-wgm-node-widget-key {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mjr-wgm-node-widget.is-multiline .mjr-wgm-node-widget-value {
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
overflow-wrap: anywhere;
|
|
line-height: 1.35;
|
|
max-height: 9.2em;
|
|
overflow-y: auto;
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.mjr-wgm-node-widget.is-multiline.is-text-field .mjr-wgm-node-widget-value {
|
|
max-height: 16em;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.mjr-wgm-node-widget-more {
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.46);
|
|
text-align: right;
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.mjr-wgm--large .mjr-wgm-details {
|
|
width: min(380px, calc(100% - 20px));
|
|
}
|
|
|
|
.mjr-wgm-node-ports {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.mjr-ws-search-wrap {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
padding: 6px 8px;
|
|
border-bottom: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
}
|
|
|
|
.mjr-ws-search-icon {
|
|
position: absolute;
|
|
left: 16px;
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mjr-ws-search {
|
|
flex: 1;
|
|
padding: 4px 28px 4px 26px;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 4px;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-size: 11px;
|
|
outline: none;
|
|
}
|
|
|
|
.mjr-ws-search::placeholder {
|
|
color: rgba(255, 255, 255, 0.28);
|
|
}
|
|
|
|
.mjr-ws-search:focus {
|
|
border-color: rgba(99, 155, 255, 0.5);
|
|
}
|
|
|
|
.mjr-ws-search-clear {
|
|
position: absolute;
|
|
right: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
font-size: 10px;
|
|
cursor: pointer;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.mjr-ws-search-clear:hover {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.mjr-ws-nodes-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.mjr-ws-node-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 10px 5px 12px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
min-height: 32px;
|
|
transition: background 0.1s;
|
|
}
|
|
|
|
.mjr-ws-node-row:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.mjr-ws-node-row-type {
|
|
flex: 1;
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.78);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.mjr-ws-node-row-title {
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 80px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mjr-ws-node-locate {
|
|
flex-shrink: 0;
|
|
width: 22px;
|
|
height: 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
font-size: 11px;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transition:
|
|
opacity 0.1s,
|
|
color 0.1s,
|
|
background 0.1s;
|
|
}
|
|
|
|
.mjr-ws-node-row:hover .mjr-ws-node-locate {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mjr-ws-node-locate:hover {
|
|
color: #639bff;
|
|
background: rgba(99, 155, 255, 0.15);
|
|
}
|
|
|
|
/* -- Node sections ------------------------------------------------------ */
|
|
.mjr-ws-tree-item {
|
|
border-bottom: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
}
|
|
.mjr-ws-tree-item > .mjr-ws-node {
|
|
border-bottom: none;
|
|
}
|
|
.mjr-ws-tree-item--subgraph {
|
|
background: color-mix(in srgb, var(--mjr-accent, #5b8af0) 4%, transparent 96%);
|
|
}
|
|
.mjr-ws-node {
|
|
border-bottom: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
}
|
|
/* Subtle highlight when this node matches the current graph selection. */
|
|
.mjr-ws-node.is-selected-from-graph {
|
|
background: rgba(255, 210, 90, 0.08);
|
|
box-shadow: inset 2px 0 0 0 rgba(255, 210, 90, 0.75);
|
|
}
|
|
.mjr-ws-node.is-selected-from-graph .mjr-ws-node-header {
|
|
background: color-mix(in srgb, #ffd45a 18%, var(--mjr-surface-1, #2a2a2a) 82%);
|
|
}
|
|
.mjr-ws-node.is-selected-from-graph .mjr-ws-node-type {
|
|
color: #ffd45a;
|
|
}
|
|
.mjr-ws-node.is-selected-from-graph .mjr-ws-node-title {
|
|
color: rgba(255, 224, 130, 0.88);
|
|
}
|
|
.mjr-ws-node.is-selected-from-graph .mjr-ws-node-toggle,
|
|
.mjr-ws-node.is-selected-from-graph .mjr-ws-locate,
|
|
.mjr-ws-node.is-selected-from-graph .mjr-ws-node-kind {
|
|
color: #ffd45a;
|
|
}
|
|
.mjr-ws-sidebar-resizer {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 14px;
|
|
z-index: 2;
|
|
cursor: ew-resize;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.mjr-ws-sidebar-resizer::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 4px;
|
|
height: 56px;
|
|
transform: translate(-50%, -50%);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.18);
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
|
|
opacity: 0;
|
|
transition:
|
|
opacity 0.15s ease,
|
|
background 0.15s ease;
|
|
}
|
|
|
|
.mjr-ws-sidebar.open:hover .mjr-ws-sidebar-resizer::before,
|
|
.mjr-ws-sidebar.is-resizing .mjr-ws-sidebar-resizer::before,
|
|
.mjr-ws-sidebar-resizer.is-dragging::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mjr-ws-sidebar.is-resizing .mjr-ws-sidebar-resizer::before,
|
|
.mjr-ws-sidebar-resizer:hover::before,
|
|
.mjr-ws-sidebar-resizer.is-dragging::before {
|
|
background: rgba(255, 255, 255, 0.34);
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="right"] .mjr-ws-sidebar-resizer {
|
|
right: 0;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="left"] .mjr-ws-sidebar-resizer {
|
|
left: 0;
|
|
}
|
|
|
|
.mjr-mfv-content-wrapper[data-sidebar-pos="bottom"] .mjr-ws-sidebar-resizer {
|
|
display: none;
|
|
}
|
|
.mjr-ws-node-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 10px;
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-surface-0, #1e1e1e) 40%,
|
|
var(--mjr-surface-1, #2a2a2a) 60%
|
|
);
|
|
cursor: default;
|
|
user-select: none;
|
|
transition: background 0.12s ease;
|
|
}
|
|
.mjr-ws-node.is-collapsible .mjr-ws-node-header {
|
|
cursor: pointer;
|
|
}
|
|
.mjr-ws-node.is-collapsible .mjr-ws-node-header:hover {
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-surface-0, #1e1e1e) 28%,
|
|
var(--mjr-surface-1, #2a2a2a) 72%
|
|
);
|
|
}
|
|
.mjr-ws-node.is-collapsible.is-collapsed .mjr-ws-node-header:hover {
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, #5b8af0) 8%,
|
|
var(--mjr-surface-1, #2a2a2a) 92%
|
|
);
|
|
}
|
|
.mjr-ws-node-toggle {
|
|
flex: 0 0 auto;
|
|
}
|
|
.mjr-ws-node-title-wrap {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
.mjr-ws-node-type {
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
color: var(--content-fg, #ddd);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.mjr-ws-node-title {
|
|
font-size: 10px;
|
|
color: rgba(255, 255, 255, 0.48);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.mjr-ws-node-kind {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex: 0 0 auto;
|
|
max-width: 110px;
|
|
padding: 2px 6px;
|
|
border: 1px solid color-mix(in srgb, var(--mjr-accent, #5b8af0) 38%, transparent 62%);
|
|
border-radius: 999px;
|
|
background: color-mix(in srgb, var(--mjr-accent, #5b8af0) 12%, transparent 88%);
|
|
color: color-mix(in srgb, var(--mjr-accent, #5b8af0) 78%, #ffffff 22%);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
white-space: nowrap;
|
|
}
|
|
.mjr-ws-node-kind .pi {
|
|
font-size: 10px;
|
|
}
|
|
.mjr-ws-node-kind-count {
|
|
min-width: 14px;
|
|
padding: 0 3px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
text-align: center;
|
|
}
|
|
.mjr-ws-node.is-collapsed .mjr-ws-node-body {
|
|
display: none;
|
|
}
|
|
.mjr-ws-node-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 6px 10px;
|
|
}
|
|
.mjr-ws-node-empty {
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
padding: 4px 0;
|
|
}
|
|
|
|
/* -- Nested nodes (inside subgraphs) ----------------------------------- */
|
|
.mjr-ws-node--nested {
|
|
border-left: 2px solid rgba(91, 138, 240, 0.35);
|
|
}
|
|
.mjr-ws-node--nested .mjr-ws-node-header {
|
|
padding-left: 16px;
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, #5b8af0) 5%,
|
|
var(--mjr-surface-1, #2a2a2a) 95%
|
|
);
|
|
}
|
|
.mjr-ws-node--nested.is-collapsible .mjr-ws-node-header:hover {
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, #5b8af0) 10%,
|
|
var(--mjr-surface-1, #2a2a2a) 90%
|
|
);
|
|
}
|
|
|
|
/* -- Subgraph children group -------------------------------------------- */
|
|
.mjr-ws-children-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
width: 100%;
|
|
padding: 5px 10px 5px 20px;
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, #5b8af0) 6%,
|
|
var(--mjr-surface-0, #1e1e1e) 94%
|
|
);
|
|
border: none;
|
|
border-bottom: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
color: var(--mjr-accent, #5b8af0);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
opacity: 0.8;
|
|
transition:
|
|
opacity 0.1s ease,
|
|
background 0.1s ease;
|
|
}
|
|
.mjr-ws-children-toggle--nested {
|
|
padding-left: 28px;
|
|
}
|
|
.mjr-ws-children-toggle:hover {
|
|
opacity: 1;
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, #5b8af0) 12%,
|
|
var(--mjr-surface-0, #1e1e1e) 88%
|
|
);
|
|
}
|
|
.mjr-ws-children-toggle[aria-expanded="true"] {
|
|
opacity: 1;
|
|
}
|
|
.mjr-ws-children {
|
|
border-left: 2px solid rgba(91, 138, 240, 0.25);
|
|
margin-left: 6px;
|
|
padding-left: 6px;
|
|
}
|
|
|
|
.mjr-ws-widget-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
.mjr-ws-widget-row--block {
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
.mjr-ws-widget-row--block .mjr-ws-widget-label {
|
|
flex: none;
|
|
padding-top: 0;
|
|
}
|
|
.mjr-ws-widget-row--block .mjr-ws-widget-input {
|
|
width: 100%;
|
|
}
|
|
.mjr-ws-widget-label {
|
|
flex: 0 0 80px;
|
|
font-size: 11px;
|
|
color: var(--descrip-text, rgba(255, 255, 255, 0.55));
|
|
padding-top: 5px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.mjr-ws-widget-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.mjr-ws-input {
|
|
width: 100%;
|
|
background: var(--comfy-input-bg, #222);
|
|
color: var(--input-text, #ddd);
|
|
border: 1px solid var(--mjr-border, rgba(255, 255, 255, 0.12));
|
|
border-radius: 4px;
|
|
padding: 4px 6px;
|
|
font-size: 12px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
transition: border-color 120ms ease;
|
|
}
|
|
.mjr-ws-input:focus {
|
|
border-color: var(--mjr-accent, #5fb3ff);
|
|
}
|
|
.mjr-ws-textarea {
|
|
resize: none;
|
|
min-height: 28px;
|
|
line-height: 1.4;
|
|
overflow-y: hidden;
|
|
}
|
|
.mjr-ws-text-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.mjr-ws-text-wrapper .mjr-ws-textarea {
|
|
width: 100%;
|
|
}
|
|
.mjr-ws-expand-btn {
|
|
align-self: flex-end;
|
|
background: none;
|
|
border: none;
|
|
color: var(--mjr-accent, #5fb3ff);
|
|
font-size: 10px;
|
|
cursor: pointer;
|
|
padding: 0 4px;
|
|
opacity: 0.8;
|
|
}
|
|
.mjr-ws-expand-btn:hover {
|
|
opacity: 1;
|
|
text-decoration: underline;
|
|
}
|
|
.mjr-ws-readonly {
|
|
opacity: 0.5;
|
|
cursor: default;
|
|
}
|
|
.mjr-ws-checkbox {
|
|
accent-color: var(--mjr-accent, #5fb3ff);
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-top: 4px;
|
|
}
|
|
.mjr-ws-toggle-label {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* -- Locate button inside node header ----------------------------------- */
|
|
.mjr-ws-locate {
|
|
width: 24px !important;
|
|
height: 24px !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
opacity: 0.5;
|
|
}
|
|
.mjr-ws-locate:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* -- Run button state --------------------------------------------------- */
|
|
.mjr-mfv-run-controls {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.mjr-mfv-run-btn .pi {
|
|
color: var(--mjr-status-success, #4caf50);
|
|
}
|
|
.mjr-mfv-run-btn.running .pi {
|
|
color: var(--mjr-muted, rgba(255, 255, 255, 0.65));
|
|
}
|
|
.mjr-mfv-run-btn.stopping .pi {
|
|
color: var(--mjr-status-warning, #ffa726);
|
|
}
|
|
.mjr-mfv-run-btn.error .pi {
|
|
color: #f44336;
|
|
}
|
|
|
|
.mjr-mfv-stop-btn .pi {
|
|
color: #ef5350;
|
|
}
|
|
.mjr-mfv-stop-btn.active .pi {
|
|
color: #ff8a65;
|
|
}
|
|
.mjr-mfv-stop-btn.stopping .pi {
|
|
color: var(--mjr-status-warning, #ffa726);
|
|
}
|
|
|
|
/* -- Floating Viewer simple video player ------------------------------- */
|
|
.mjr-mfv-simple-player {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-mfv-simple-player.is-audio {
|
|
background: radial-gradient(circle at 20% 20%, rgba(95, 179, 255, 0.2), rgba(18, 20, 28, 0.95));
|
|
}
|
|
|
|
.mjr-mfv-simple-player-audio-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.2px;
|
|
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
|
|
pointer-events: none;
|
|
padding: 18px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mjr-mfv-simple-player-controls {
|
|
position: absolute;
|
|
left: 12px;
|
|
right: 12px;
|
|
bottom: 12px;
|
|
z-index: 30;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 9px 10px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
background: linear-gradient(to top, rgba(10, 10, 14, 0.76), rgba(16, 16, 24, 0.55));
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.mjr-mfv-simple-player-row {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-mfv-simple-player-seek {
|
|
--mjr-seek-pct: 0%;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
width: 100%;
|
|
height: 6px;
|
|
border-radius: 999px;
|
|
outline: none;
|
|
border: none;
|
|
background: linear-gradient(
|
|
to right,
|
|
#ff2f52 0%,
|
|
#ff2f52 var(--mjr-seek-pct),
|
|
rgba(255, 255, 255, 0.24) var(--mjr-seek-pct),
|
|
rgba(255, 255, 255, 0.24) 100%
|
|
);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mjr-mfv-simple-player-seek::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
background: #ff2f52;
|
|
}
|
|
|
|
.mjr-mfv-simple-player-seek::-moz-range-thumb {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
background: #ff2f52;
|
|
}
|
|
|
|
.mjr-mfv-simple-player-btn {
|
|
width: 30px;
|
|
height: 30px;
|
|
min-width: 30px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.22);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.mjr-mfv-simple-player-btn .pi {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.mjr-mfv-simple-player-btn.is-disabled,
|
|
.mjr-mfv-simple-player-seek.is-disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
}
|
|
|
|
.mjr-mfv-simple-player-time {
|
|
margin-left: auto;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.mjr-mfv-simple-player-frame {
|
|
margin-right: 2px;
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.mjr-mfv-player-host {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
container-type: inline-size;
|
|
}
|
|
|
|
.mjr-mfv-player-host--audio {
|
|
background: radial-gradient(circle at 20% 20%, rgba(95, 179, 255, 0.2), rgba(18, 20, 28, 0.95));
|
|
}
|
|
|
|
.mjr-mfv-player-audio-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.2px;
|
|
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
|
|
pointer-events: none;
|
|
padding: 18px;
|
|
text-align: center;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls {
|
|
z-index: 30;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"],
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] {
|
|
left: 8px;
|
|
right: 8px;
|
|
bottom: 8px;
|
|
padding: 8px;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-row--top,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-row--top {
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-timegroup,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-timegroup {
|
|
justify-content: flex-start;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-row--bottom,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-row--bottom {
|
|
flex-wrap: nowrap;
|
|
overflow: hidden;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-bottom,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-bottom {
|
|
flex-shrink: 1;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-transport,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-transport {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-group,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-group {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-seek-wrap,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-seek-wrap {
|
|
min-width: 0;
|
|
}
|
|
|
|
/* The MFV uses the "--viewer" control variant, which (unlike "--viewerbar")
|
|
does not size the native seek input and packs frame/in/seek/out/time into a
|
|
single row. In the narrow MFV the seek wrap then collapses to ~0px wide and
|
|
the native input to 0px tall, leaving almost no click / drag target for
|
|
scrubbing. Give the seek its own full-width row with a usable hit area. */
|
|
.mjr-mfv-player-host .mjr-video-controls--viewer .mjr-video-row--top {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
row-gap: 42px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls--viewer .mjr-video-row--top .mjr-video-seek-wrap {
|
|
order: 10;
|
|
flex: 1 1 100%;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 42px;
|
|
padding-top: 6px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls--viewer .mjr-video-range--seek {
|
|
height: 20px;
|
|
accent-color: rgba(214, 218, 224, 0.92);
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls--viewer .mjr-video-seek-zones {
|
|
height: 10px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls--viewer .mjr-video-seek-handle {
|
|
width: 16px;
|
|
height: 28px;
|
|
top: 20px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-bar-timeline,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-bar-timeline {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.mjr-mfv-player-host
|
|
.mjr-video-controls[data-mjr-layout="compact"]
|
|
.mjr-video-bar-timeline
|
|
.mjr-video-seek-wrap,
|
|
.mjr-mfv-player-host
|
|
.mjr-video-controls[data-mjr-layout="stacked"]
|
|
.mjr-video-bar-timeline
|
|
.mjr-video-seek-wrap {
|
|
order: -1;
|
|
flex: 1 1 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.mjr-mfv-player-host
|
|
.mjr-video-controls[data-mjr-layout="compact"]
|
|
.mjr-video-bar-timeline
|
|
.mjr-video-group--in,
|
|
.mjr-mfv-player-host
|
|
.mjr-video-controls[data-mjr-layout="compact"]
|
|
.mjr-video-bar-timeline
|
|
.mjr-video-group--out,
|
|
.mjr-mfv-player-host
|
|
.mjr-video-controls[data-mjr-layout="stacked"]
|
|
.mjr-video-bar-timeline
|
|
.mjr-video-group--in,
|
|
.mjr-mfv-player-host
|
|
.mjr-video-controls[data-mjr-layout="stacked"]
|
|
.mjr-video-bar-timeline
|
|
.mjr-video-group--out {
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-range-count,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="compact"] .mjr-video-frame {
|
|
min-width: auto;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-range-count {
|
|
display: none !important;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-frame {
|
|
min-width: auto;
|
|
padding: 3px 6px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-btn--in,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-btn--out,
|
|
.mjr-mfv-player-host .mjr-video-controls[data-mjr-layout="stacked"] .mjr-video-btn--mark {
|
|
min-width: 32px;
|
|
}
|
|
|
|
@container (max-width: 900px) {
|
|
.mjr-mfv-player-host .mjr-video-controls {
|
|
left: 8px;
|
|
right: 8px;
|
|
bottom: 8px;
|
|
padding: 8px;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-row--top {
|
|
gap: 8px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-timegroup {
|
|
justify-content: flex-start;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-row--bottom {
|
|
flex-wrap: nowrap;
|
|
overflow: hidden;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-bottom {
|
|
flex-shrink: 1;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-transport {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-group {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-seek-wrap {
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-controls--viewerbar .mjr-video-bar-timeline {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.mjr-mfv-player-host
|
|
.mjr-video-controls--viewerbar
|
|
.mjr-video-bar-timeline
|
|
.mjr-video-seek-wrap {
|
|
order: -1;
|
|
flex: 1 1 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@container (max-width: 680px) {
|
|
.mjr-mfv-player-host .mjr-video-controls {
|
|
padding: 6px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-btn {
|
|
padding: 5px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-num {
|
|
padding: 4px 6px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.mjr-mfv-player-host .mjr-video-time,
|
|
.mjr-mfv-player-host .mjr-video-frame,
|
|
.mjr-mfv-player-host .mjr-video-range-count {
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
|
|
/* -- Settings button active state --------------------------------------- */
|
|
.mjr-mfv-settings-btn.active {
|
|
border-color: color-mix(
|
|
in srgb,
|
|
var(--mjr-accent, #5fb3ff) 55%,
|
|
var(--mjr-border, rgba(255, 255, 255, 0.12))
|
|
);
|
|
background-color: color-mix(
|
|
in srgb,
|
|
var(--mjr-surface-2, #333) 70%,
|
|
var(--mjr-accent, #5fb3ff) 18%
|
|
);
|
|
}
|
|
.mjr-mfv-settings-btn.active .pi {
|
|
color: var(--mjr-accent, #5fb3ff);
|
|
}
|
|
|
|
/* -- Close button (red) ------------------------------------------------ */
|
|
.mjr-mfv .mjr-mfv-close-btn {
|
|
color: #e85050;
|
|
}
|
|
.mjr-mfv .mjr-mfv-close-btn:hover {
|
|
color: #ff6b6b;
|
|
background-color: rgba(232, 80, 80, 0.15);
|
|
}
|
|
|
|
/* -- Empty state ------------------------------------------------------- */
|
|
.mjr-mfv-empty {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.25);
|
|
font-size: 11px;
|
|
pointer-events: none;
|
|
text-align: center;
|
|
padding: 12px;
|
|
}
|
|
|
|
/* -- Compare labels ---------------------------------------------------- */
|
|
.mjr-mfv-label {
|
|
position: absolute;
|
|
top: 8px;
|
|
background: rgba(0, 0, 0, 0.58);
|
|
color: #fff;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
pointer-events: none;
|
|
z-index: 20;
|
|
letter-spacing: 0.4px;
|
|
}
|
|
|
|
.mjr-mfv-label.label-left {
|
|
left: 8px;
|
|
}
|
|
.mjr-mfv-label.label-right {
|
|
right: 8px;
|
|
}
|
|
|
|
/* -- AB divider -------------------------------------------------------- */
|
|
.mjr-mfv-ab-divider {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 0.5px;
|
|
cursor: col-resize;
|
|
z-index: 10;
|
|
transform: translateX(-50%);
|
|
background: rgba(255, 255, 255, 0.88);
|
|
box-shadow:
|
|
0 0 0 0.5px rgba(0, 0, 0, 0.4),
|
|
0 2px 8px rgba(0, 0, 0, 0.4);
|
|
transition: background 100ms ease;
|
|
}
|
|
|
|
.mjr-mfv-ab-divider::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 50%;
|
|
width: 12px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.mjr-mfv-ab-divider:hover,
|
|
.mjr-mfv-ab-divider:active {
|
|
background: var(--mjr-accent, #5fb3ff);
|
|
}
|
|
|
|
/* --------------------------------------------------------------------------
|
|
MFV Geometry & Layout Classes (replaces inline styles in FloatingViewer.js)
|
|
-------------------------------------------------------------------------- */
|
|
|
|
/* Main MFV container geometry */
|
|
.mjr-mfv {
|
|
position: fixed;
|
|
top: var(--mjr-mfv-top-offset, 60px);
|
|
right: 20px;
|
|
width: 640px;
|
|
height: 360px;
|
|
min-width: 220px;
|
|
min-height: 160px;
|
|
/* Always flex; visibility + opacity control show/hide so CSS transitions work.
|
|
pointer-events:none while hidden prevents accidental interaction. */
|
|
display: flex;
|
|
flex-direction: column;
|
|
resize: both;
|
|
overflow: hidden;
|
|
z-index: 10000;
|
|
/* Hidden state */
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transform: translateY(-6px) scale(0.98);
|
|
transform-origin: top right;
|
|
transition:
|
|
opacity 0.18s ease-out,
|
|
transform 0.18s ease-out,
|
|
visibility 0s linear 0.18s;
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--resizing {
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-mfv.is-visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
transform: translateY(0) scale(1);
|
|
transition:
|
|
opacity 0.18s ease-out,
|
|
transform 0.18s ease-out,
|
|
visibility 0s linear 0s;
|
|
}
|
|
|
|
/* Media elements (img/video) sizing variants */
|
|
.mjr-mfv-media {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
object-position: center;
|
|
}
|
|
|
|
.mjr-mfv-media--fit-height {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
object-position: center;
|
|
}
|
|
|
|
.mjr-mfv-media--fill {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
object-position: center;
|
|
display: block;
|
|
}
|
|
|
|
/* Audio card inside MFV */
|
|
.mjr-mfv-audio-card {
|
|
width: min(92%, 560px);
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.mjr-mfv-audio-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-mfv-audio-icon {
|
|
color: var(--mjr-badge-audio, #ff9800);
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.mjr-mfv-audio-title {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.mjr-mfv-audio-player {
|
|
width: 100%;
|
|
}
|
|
|
|
.mjr-mfv-side-panel .mjr-mfv-audio-card,
|
|
.mjr-mfv-ab-layer .mjr-mfv-audio-card,
|
|
.mjr-mfv-grid-cell .mjr-mfv-audio-card {
|
|
width: calc(100% - 20px);
|
|
}
|
|
|
|
/* Video element specific styles */
|
|
.mjr-mfv-media-video {
|
|
/* Inherits from .mjr-mfv-media or .mjr-mfv-media--fill */
|
|
}
|
|
|
|
/* Node Stream - currently-streamed node badge (top-left of content area,
|
|
following the same overlay pattern as .mjr-mfv-geninfo). */
|
|
.mjr-mfv-node-overlay {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
z-index: 12;
|
|
pointer-events: none;
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
color: #e6f3ff;
|
|
background: rgba(0, 0, 0, 0.65);
|
|
border: 1px solid rgba(120, 170, 240, 0.45);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
max-width: calc(100% - 16px);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
/* Gen info overlay - all modes share base layout */
|
|
.mjr-mfv-geninfo,
|
|
.mjr-mfv-geninfo-a,
|
|
.mjr-mfv-geninfo-b {
|
|
display: none;
|
|
position: absolute;
|
|
left: 8px;
|
|
right: 8px;
|
|
bottom: 8px;
|
|
background: rgba(0, 0, 0, 0.65);
|
|
color: #fff;
|
|
padding: 8px 10px;
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
max-height: 40%;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
overscroll-behavior-y: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
touch-action: pan-y;
|
|
word-break: break-word;
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
/* Keep Gen Info above custom simple-player controls when present. */
|
|
.mjr-mfv-geninfo.mjr-mfv-geninfo--above-player,
|
|
.mjr-mfv-geninfo-a.mjr-mfv-geninfo--above-player,
|
|
.mjr-mfv-geninfo-b.mjr-mfv-geninfo--above-player {
|
|
top: 8px;
|
|
bottom: auto;
|
|
max-height: min(45%, calc(100% - 124px));
|
|
}
|
|
|
|
/* Fallback: when simple-player is immediately followed by a geninfo overlay,
|
|
move it up even if the modifier class was not attached. */
|
|
.mjr-mfv-simple-player + .mjr-mfv-geninfo,
|
|
.mjr-mfv-simple-player + .mjr-mfv-geninfo-a,
|
|
.mjr-mfv-simple-player + .mjr-mfv-geninfo-b {
|
|
top: 8px;
|
|
bottom: auto;
|
|
max-height: min(45%, calc(100% - 124px));
|
|
}
|
|
|
|
/* AB mode overlays are attached at container level; shift them when AB layers use simple-player. */
|
|
.mjr-mfv-ab-container:has(.mjr-mfv-ab-layer .mjr-mfv-simple-player) .mjr-mfv-geninfo-a,
|
|
.mjr-mfv-ab-container:has(.mjr-mfv-ab-layer .mjr-mfv-simple-player) .mjr-mfv-geninfo-b {
|
|
top: 8px;
|
|
bottom: auto;
|
|
max-height: min(45%, calc(100% - 124px));
|
|
}
|
|
|
|
/* Shared style for all gen info overlay variants */
|
|
.mjr-mfv-geninfo strong,
|
|
.mjr-mfv-geninfo-a strong,
|
|
.mjr-mfv-geninfo-b strong {
|
|
font-weight: 600;
|
|
margin-right: 4px;
|
|
color: rgba(255, 255, 255, 0.95); /* default - overridden per field below */
|
|
}
|
|
|
|
/* Per-field label colors */
|
|
.mjr-mfv-geninfo [data-field="prompt"] strong,
|
|
.mjr-mfv-geninfo-a [data-field="prompt"] strong,
|
|
.mjr-mfv-geninfo-b [data-field="prompt"] strong {
|
|
color: #7ec8ff;
|
|
} /* blue - Prompt */
|
|
|
|
.mjr-mfv-geninfo [data-field="seed"] strong,
|
|
.mjr-mfv-geninfo-a [data-field="seed"] strong,
|
|
.mjr-mfv-geninfo-b [data-field="seed"] strong {
|
|
color: #ffd47a;
|
|
} /* amber - Seed */
|
|
|
|
.mjr-mfv-geninfo [data-field="model"] strong,
|
|
.mjr-mfv-geninfo-a [data-field="model"] strong,
|
|
.mjr-mfv-geninfo-b [data-field="model"] strong {
|
|
color: #7dda8a;
|
|
} /* green - Model */
|
|
|
|
.mjr-mfv-geninfo [data-field="lora"] strong,
|
|
.mjr-mfv-geninfo-a [data-field="lora"] strong,
|
|
.mjr-mfv-geninfo-b [data-field="lora"] strong {
|
|
color: #d48cff;
|
|
} /* violet - LoRA */
|
|
|
|
.mjr-mfv-geninfo [data-field="sampler"] strong,
|
|
.mjr-mfv-geninfo-a [data-field="sampler"] strong,
|
|
.mjr-mfv-geninfo-b [data-field="sampler"] strong {
|
|
color: #ff9f7a;
|
|
} /* orange - Sampler */
|
|
|
|
.mjr-mfv-geninfo [data-field="scheduler"] strong,
|
|
.mjr-mfv-geninfo-a [data-field="scheduler"] strong,
|
|
.mjr-mfv-geninfo-b [data-field="scheduler"] strong {
|
|
color: #ff7a9f;
|
|
} /* pink - Scheduler */
|
|
|
|
.mjr-mfv-geninfo [data-field="cfg"] strong,
|
|
.mjr-mfv-geninfo-a [data-field="cfg"] strong,
|
|
.mjr-mfv-geninfo-b [data-field="cfg"] strong {
|
|
color: #7a9fff;
|
|
} /* indigo - CFG */
|
|
|
|
.mjr-mfv-geninfo [data-field="step"] strong,
|
|
.mjr-mfv-geninfo-a [data-field="step"] strong,
|
|
.mjr-mfv-geninfo-b [data-field="step"] strong {
|
|
color: #7affd4;
|
|
} /* teal - Step */
|
|
|
|
.mjr-mfv-geninfo [data-field="genTime"] strong,
|
|
.mjr-mfv-geninfo-a [data-field="genTime"] strong,
|
|
.mjr-mfv-geninfo-b [data-field="genTime"] strong {
|
|
color: #e0ff7a;
|
|
} /* lime - Gen Time */
|
|
|
|
.mjr-mfv-geninfo div,
|
|
.mjr-mfv-geninfo-a div,
|
|
.mjr-mfv-geninfo-b div {
|
|
line-height: 1.35;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.mjr-mfv-geninfo div:last-child,
|
|
.mjr-mfv-geninfo-a div:last-child,
|
|
.mjr-mfv-geninfo-b div:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Simple mode container */
|
|
.mjr-mfv-simple-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
/* AB mode container */
|
|
.mjr-mfv-ab-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: #000;
|
|
}
|
|
|
|
/* AB mode layers */
|
|
.mjr-mfv-ab-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mjr-mfv-ab-layer--b {
|
|
/* clip-path applied inline for dynamic divider position */
|
|
}
|
|
|
|
/* Side-by-side mode container */
|
|
.mjr-mfv-side-container {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
gap: 2px;
|
|
background: #111;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Side-by-side half panels */
|
|
.mjr-mfv-side-panel {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
background: #0d0d0d;
|
|
}
|
|
|
|
/* Grid compare (2-2) container */
|
|
.mjr-mfv-grid-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: 1fr 1fr;
|
|
width: 100%;
|
|
height: 100%;
|
|
gap: 2px;
|
|
background: #111;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Grid cells */
|
|
.mjr-mfv-grid-cell {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
background: #0d0d0d;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* Gen info overlays for grid cells C and D */
|
|
.mjr-mfv-geninfo-c,
|
|
.mjr-mfv-geninfo-d {
|
|
display: none;
|
|
position: absolute;
|
|
left: 8px;
|
|
right: 8px;
|
|
bottom: 8px;
|
|
background: rgba(0, 0, 0, 0.65);
|
|
color: #fff;
|
|
padding: 8px 10px;
|
|
border-radius: 6px;
|
|
font-size: 11px;
|
|
max-height: 40%;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
overscroll-behavior-y: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
touch-action: pan-y;
|
|
word-break: break-word;
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.mjr-mfv-geninfo-c strong,
|
|
.mjr-mfv-geninfo-d strong {
|
|
font-weight: 600;
|
|
margin-right: 4px;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
/* Per-field label colors for C/D gen info overlays */
|
|
.mjr-mfv-geninfo-c [data-field="prompt"] strong,
|
|
.mjr-mfv-geninfo-d [data-field="prompt"] strong {
|
|
color: #7ec8ff;
|
|
}
|
|
.mjr-mfv-geninfo-c [data-field="seed"] strong,
|
|
.mjr-mfv-geninfo-d [data-field="seed"] strong {
|
|
color: #ffd47a;
|
|
}
|
|
.mjr-mfv-geninfo-c [data-field="model"] strong,
|
|
.mjr-mfv-geninfo-d [data-field="model"] strong {
|
|
color: #7dda8a;
|
|
}
|
|
.mjr-mfv-geninfo-c [data-field="lora"] strong,
|
|
.mjr-mfv-geninfo-d [data-field="lora"] strong {
|
|
color: #d48cff;
|
|
}
|
|
.mjr-mfv-geninfo-c [data-field="sampler"] strong,
|
|
.mjr-mfv-geninfo-d [data-field="sampler"] strong {
|
|
color: #ff9f7a;
|
|
}
|
|
.mjr-mfv-geninfo-c [data-field="scheduler"] strong,
|
|
.mjr-mfv-geninfo-d [data-field="scheduler"] strong {
|
|
color: #ff7a9f;
|
|
}
|
|
.mjr-mfv-geninfo-c [data-field="cfg"] strong,
|
|
.mjr-mfv-geninfo-d [data-field="cfg"] strong {
|
|
color: #7a9fff;
|
|
}
|
|
.mjr-mfv-geninfo-c [data-field="step"] strong,
|
|
.mjr-mfv-geninfo-d [data-field="step"] strong {
|
|
color: #7affd4;
|
|
}
|
|
|
|
/* Gen info active state - button glows when at least one field is selected */
|
|
.mjr-mfv .mjr-icon-btn.is-on {
|
|
border-color: rgba(var(--mjr-group-accent, 95, 179, 255), 0.55);
|
|
color: var(--mjr-accent, #5fb3ff);
|
|
background: color-mix(in srgb, var(--mjr-surface-2, #333) 80%, var(--mjr-accent, #5fb3ff) 15%);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--mjr-accent, #5fb3ff) 25%, transparent);
|
|
}
|
|
|
|
.mjr-mfv .mjr-icon-btn.is-open {
|
|
border-color: color-mix(in srgb, var(--mjr-accent, #5fb3ff) 62%, #ffffff 12%);
|
|
color: #eef7ff;
|
|
background: linear-gradient(180deg, rgba(95, 179, 255, 0.28), rgba(95, 179, 255, 0.14));
|
|
box-shadow:
|
|
inset 0 0 0 1px rgba(255, 255, 255, 0.08),
|
|
0 0 0 1px color-mix(in srgb, var(--mjr-accent, #5fb3ff) 26%, transparent);
|
|
}
|
|
|
|
.mjr-mfv.mjr-mfv--popped .mjr-icon-btn.is-open {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* Gen info dropdown panel */
|
|
.mjr-mfv-gen-dropdown {
|
|
position: absolute;
|
|
z-index: 10001;
|
|
background: color-mix(in srgb, var(--mjr-surface-1, #2a2a2a) 96%, transparent);
|
|
color: var(--content-fg, #ddd);
|
|
padding: 6px 4px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(196, 202, 210, 0.18);
|
|
box-shadow:
|
|
0 8px 24px rgba(0, 0, 0, 0.55),
|
|
0 2px 6px rgba(0, 0, 0, 0.3);
|
|
display: none;
|
|
min-width: 150px;
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.mjr-mfv-gen-dropdown::before {
|
|
content: "GEN INFO";
|
|
display: block;
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.8px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
padding: 2px 10px 6px;
|
|
border-bottom: 1px solid rgba(196, 202, 210, 0.1);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.mjr-mfv-gen-dropdown.is-visible {
|
|
display: block;
|
|
}
|
|
|
|
.mjr-mfv-gen-dropdown-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
padding: 5px 10px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background 100ms ease;
|
|
user-select: none;
|
|
}
|
|
|
|
.mjr-mfv-gen-dropdown-row:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
.mjr-mfv-gen-dropdown-row input[type="checkbox"] {
|
|
width: 13px;
|
|
height: 13px;
|
|
accent-color: var(--mjr-accent, #5fb3ff);
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Transform for pan/zoom - applied inline for dynamic values */
|
|
.mjr-mfv-media--transform {
|
|
transform-origin: center;
|
|
}
|
|
|
|
/* Cursor feedback for pan/zoom interactions */
|
|
.mjr-mfv-content--grab {
|
|
cursor: grab;
|
|
}
|
|
|
|
.mjr-mfv-content--grabbing {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
/* Sidebar tab button: allow 2-line label via \n in label string */
|
|
.majoor-assets-tab-button .side-bar-button-label {
|
|
white-space: pre-line;
|
|
}
|
|
|
|
/* Bottom-panel generated feed: compact cards with only the generation-time pill */
|
|
.mjr-bottom-feed {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-am-grid-scroll {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: auto;
|
|
scrollbar-gutter: stable;
|
|
overscroll-behavior-y: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
touch-action: pan-y;
|
|
scroll-behavior: smooth;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: color-mix(in srgb, var(--mjr-surface-2, #2f3540) 70%, #7f8ea3 30%)
|
|
color-mix(in srgb, var(--mjr-surface-0, #16191f) 88%, #000 12%);
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-am-grid-scroll::-webkit-scrollbar,
|
|
.mjr-feed-group-popover-grid::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-am-grid-scroll::-webkit-scrollbar-thumb,
|
|
.mjr-feed-group-popover-grid::-webkit-scrollbar-thumb {
|
|
background: color-mix(in srgb, var(--mjr-surface-2, #2f3540) 70%, #7f8ea3 30%);
|
|
border-radius: 999px;
|
|
border: 2px solid transparent;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-am-grid-scroll::-webkit-scrollbar-track,
|
|
.mjr-feed-group-popover-grid::-webkit-scrollbar-track {
|
|
background: color-mix(in srgb, var(--mjr-surface-0, #16191f) 88%, #000 12%);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-grid {
|
|
gap: 6px !important;
|
|
margin-top: 0 !important;
|
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)) !important;
|
|
min-height: 0;
|
|
height: auto;
|
|
align-content: start;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-card,
|
|
.mjr-bottom-feed .mjr-asset-card {
|
|
border-radius: 12px !important;
|
|
overflow: hidden;
|
|
background: color-mix(in srgb, var(--mjr-surface-1) 92%, #000 8%) !important;
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22) !important;
|
|
transform: none !important;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-card:hover,
|
|
.mjr-bottom-feed .mjr-asset-card:hover {
|
|
transform: translateY(-1px) !important;
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28) !important;
|
|
|
|
.mjr-bottom-feed .mjr-asset-card.is-selected {
|
|
box-shadow:
|
|
0 0 0 3px color-mix(in srgb, var(--mjr-card-selection-color) 80%, var(--content-fg)),
|
|
0 0 0 6px color-mix(in srgb, var(--mjr-card-selection-color) 30%, transparent),
|
|
0 0 20px color-mix(in srgb, var(--mjr-card-selection-color) 40%, transparent),
|
|
0 10px 28px rgba(0, 0, 0, 0.28) !important;
|
|
outline: 2px solid var(--mjr-card-selection-color) !important;
|
|
overflow: visible !important;
|
|
}
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"],
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-stacked="true"] {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb {
|
|
overflow: visible !important;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb::before,
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb::after,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb::before,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
transition:
|
|
transform 140ms ease,
|
|
opacity 140ms ease;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb::before,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb::before {
|
|
transform: translate(5px, 5px) scale(0.985);
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
|
|
color-mix(in srgb, var(--mjr-surface-1, #20242b) 84%, #000 16%);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb::after,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-stacked="true"] .mjr-thumb::after {
|
|
transform: translate(10px, 10px) scale(0.97);
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
|
|
color-mix(in srgb, var(--mjr-surface-0, #16191f) 82%, #000 18%);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"]:hover .mjr-thumb::before,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-stacked="true"]:hover .mjr-thumb::before {
|
|
transform: translate(6px, 6px) scale(0.985);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"]:hover .mjr-thumb::after,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-stacked="true"]:hover .mjr-thumb::after {
|
|
transform: translate(12px, 12px) scale(0.97);
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-thumb {
|
|
aspect-ratio: 0.95 / 1 !important;
|
|
background: color-mix(in srgb, var(--mjr-surface-0) 72%, #000 28%) !important;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-thumb-play {
|
|
background: radial-gradient(
|
|
circle at center,
|
|
rgba(0, 0, 0, 0.18),
|
|
rgba(0, 0, 0, 0.04) 38%,
|
|
transparent 70%
|
|
);
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-badge-ext,
|
|
.mjr-bottom-feed .mjr-badge-rating,
|
|
.mjr-bottom-feed .mjr-badge-tags {
|
|
transform: scale(0.92);
|
|
transform-origin: top left;
|
|
}
|
|
|
|
/* -- Feed card info: default hidden, toggled via mjr-feed-show-* classes on .mjr-grid -- */
|
|
.mjr-bottom-feed .mjr-card-info {
|
|
display: none !important;
|
|
padding: 4px 6px !important;
|
|
min-width: 0;
|
|
}
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-info .mjr-card-info {
|
|
display: block !important;
|
|
}
|
|
|
|
/* Feed filename */
|
|
.mjr-bottom-feed .mjr-card-filename {
|
|
display: none !important;
|
|
}
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-filename .mjr-card-filename {
|
|
display: block !important;
|
|
}
|
|
|
|
/* Feed dimensions / duration */
|
|
.mjr-bottom-feed .mjr-meta-res,
|
|
.mjr-bottom-feed .mjr-meta-duration {
|
|
display: none !important;
|
|
}
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-dimensions .mjr-meta-res,
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-dimensions .mjr-meta-duration {
|
|
display: inline !important;
|
|
}
|
|
|
|
/* Feed date/time */
|
|
.mjr-bottom-feed .mjr-meta-date,
|
|
.mjr-bottom-feed .mjr-meta-time-val {
|
|
display: none !important;
|
|
}
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-date .mjr-meta-date,
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-date .mjr-meta-time-val {
|
|
display: inline !important;
|
|
}
|
|
|
|
/* Feed generation time badge */
|
|
.mjr-bottom-feed .mjr-meta-gentime {
|
|
display: none !important;
|
|
}
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-gentime .mjr-meta-gentime {
|
|
display: inline-flex !important;
|
|
}
|
|
|
|
/* Feed workflow dot */
|
|
.mjr-bottom-feed .mjr-card-dot-wrapper {
|
|
display: none !important;
|
|
}
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-dot .mjr-card-dot-wrapper {
|
|
display: inline-flex !important;
|
|
}
|
|
|
|
/* Feed badges */
|
|
.mjr-bottom-feed .mjr-badge-ext {
|
|
display: none !important;
|
|
}
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-badges-ext .mjr-badge-ext {
|
|
display: flex !important;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-badge-rating {
|
|
display: none !important;
|
|
}
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-badges-rating .mjr-badge-rating {
|
|
display: flex !important;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-badge-tags {
|
|
display: none !important;
|
|
}
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-badges-tags .mjr-badge-tags {
|
|
display: flex !important;
|
|
}
|
|
|
|
/* Feed meta row styling - flex layout so visible items stay separated */
|
|
.mjr-bottom-feed .mjr-card-meta-row {
|
|
display: flex !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center !important;
|
|
gap: 5px !important;
|
|
overflow: hidden !important;
|
|
min-width: 0 !important;
|
|
padding-right: 0 !important;
|
|
line-height: 1.3 !important;
|
|
opacity: 0.78 !important;
|
|
font-size: 0.8em !important;
|
|
/* text-overflow ellipsis doesn't apply on a flex container itself */
|
|
}
|
|
/* Each meta span truncates individually if too long */
|
|
.mjr-bottom-feed .mjr-card-meta-row > span {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
flex-shrink: 1;
|
|
}
|
|
/* Gentime badge and time value should stay visible (don't shrink away) */
|
|
.mjr-bottom-feed .mjr-card-meta-row > .mjr-meta-gentime,
|
|
.mjr-bottom-feed .mjr-card-meta-row > .mjr-meta-time-val {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-grid.mjr-feed-show-gentime .mjr-meta-gentime {
|
|
align-items: center;
|
|
gap: 3px;
|
|
padding: 3px 7px;
|
|
border-radius: 999px;
|
|
background: rgba(10, 14, 20, 0.74);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
|
|
font-size: 10px;
|
|
font-weight: 800 !important;
|
|
letter-spacing: 0.015em;
|
|
color: rgba(255, 255, 255, 0.98);
|
|
text-shadow:
|
|
0 1px 2px rgba(0, 0, 0, 0.9),
|
|
0 0 10px rgba(255, 255, 255, 0.16);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
}
|
|
|
|
/* -- Audio / 3D placeholder thumbnails in the feed ------------------------- */
|
|
|
|
/* Audio cards show the waveform sprite; give it a distinct background so it
|
|
doesn't look like a broken image placeholder in the feed. */
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-kind="audio"] .mjr-thumb,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-ext="mp3"] .mjr-thumb,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-ext="wav"] .mjr-thumb,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-ext="ogg"] .mjr-thumb,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-ext="flac"] .mjr-thumb {
|
|
background: color-mix(in srgb, var(--mjr-surface-0) 60%, #1a1f2b 40%) !important;
|
|
}
|
|
|
|
/* 3D model cards use an icon placeholder - add a subtle gradient so they read
|
|
as intentional rather than missing. */
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-kind="model3d"] .mjr-thumb,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-ext="glb"] .mjr-thumb,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-ext="gltf"] .mjr-thumb,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-ext="obj"] .mjr-thumb,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-ext="fbx"] .mjr-thumb {
|
|
background: color-mix(in srgb, var(--mjr-surface-0) 50%, #0d1117 50%) !important;
|
|
}
|
|
|
|
/* -- Feed group button ------------------------------------------------------ */
|
|
|
|
.mjr-bottom-feed .mjr-feed-group-button {
|
|
position: absolute;
|
|
top: 34px;
|
|
right: 6px;
|
|
z-index: 11;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
min-width: 28px;
|
|
min-height: 28px;
|
|
padding: 4px 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 999px;
|
|
background: rgba(10, 14, 20, 0.74);
|
|
color: rgba(255, 255, 255, 0.96);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
cursor: pointer;
|
|
touch-action: manipulation;
|
|
transition:
|
|
background 120ms ease,
|
|
transform 80ms ease;
|
|
}
|
|
|
|
.mjr-bottom-feed .mjr-feed-group-button:hover {
|
|
background: rgba(18, 24, 34, 0.9);
|
|
}
|
|
|
|
.mjr-feed-group-button-icon {
|
|
font-size: 11px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.mjr-feed-group-button-count {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* -- Feed group popover ----------------------------------------------------- */
|
|
|
|
.mjr-feed-group-popover {
|
|
background: var(--comfy-menu-bg, #222);
|
|
border: 1px solid var(--border-color, #3a3a3a);
|
|
border-radius: var(--mjr-r-lg, 8px);
|
|
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mjr-feed-group-popover-title {
|
|
padding: 8px 10px 4px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mjr-feed-group-popover-grid {
|
|
padding: 4px 8px 10px;
|
|
max-height: 360px;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
scrollbar-gutter: stable;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: color-mix(in srgb, var(--mjr-surface-2, #2f3540) 70%, #7f8ea3 30%)
|
|
color-mix(in srgb, var(--mjr-surface-0, #16191f) 88%, #000 12%);
|
|
}
|
|
|
|
.mjr-feed-group-button-icon,
|
|
.mjr-feed-group-button-count {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mjr-feed-group-member-card {
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-feed-group-member-card .mjr-thumb {
|
|
aspect-ratio: 1 / 1 !important;
|
|
}
|
|
|
|
.mjr-feed-group-member-card .mjr-card-info {
|
|
display: none !important;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-stack-group-button {
|
|
position: absolute;
|
|
top: 34px;
|
|
right: 6px;
|
|
z-index: 11;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
min-width: 28px;
|
|
min-height: 28px;
|
|
padding: 4px 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 999px;
|
|
background: rgba(10, 14, 20, 0.74);
|
|
color: rgba(255, 255, 255, 0.96);
|
|
line-height: 1;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
cursor: pointer;
|
|
touch-action: manipulation;
|
|
transform: translateZ(0);
|
|
transition:
|
|
background 120ms ease,
|
|
transform 80ms ease;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-stack-group-button:hover {
|
|
background: rgba(18, 24, 34, 0.9);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-stack-group-button > * {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mjr-filmstrip::-webkit-scrollbar {
|
|
width: 4px;
|
|
height: 4px;
|
|
}
|
|
|
|
.mjr-filmstrip::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.mjr-filmstrip::-webkit-scrollbar-thumb {
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
.mjr-filmstrip:hover::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.22);
|
|
}
|
|
|
|
.mjr-filmstrip-audio-thumb {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
padding: 7px;
|
|
color: rgba(255, 255, 255, 0.82);
|
|
pointer-events: none;
|
|
background:
|
|
radial-gradient(circle at 24% 24%, rgba(78, 184, 255, 0.28), transparent 42%),
|
|
radial-gradient(circle at 84% 70%, rgba(82, 220, 156, 0.18), transparent 40%),
|
|
linear-gradient(135deg, rgba(18, 25, 35, 0.96), rgba(7, 10, 15, 0.98));
|
|
}
|
|
|
|
.mjr-filmstrip-audio-waveform {
|
|
width: 76%;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.mjr-filmstrip-audio-waveform span {
|
|
width: 2px;
|
|
min-height: 4px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(148, 218, 255, 0.68));
|
|
}
|
|
|
|
.mjr-filmstrip-audio-label {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
padding: 2px 5px;
|
|
border-radius: 999px;
|
|
background: rgba(0, 0, 0, 0.28);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
font-size: 7px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-stack-group-button-count {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* -- Duplicate stack button ------------------------------------------------ */
|
|
/* Shows on the primary card when same-filename duplicates exist. */
|
|
/* Positioned at bottom-right to not overlap the stack-group button (top-right). */
|
|
.mjr-assets-manager .mjr-dup-stack-button {
|
|
position: absolute;
|
|
bottom: 30px;
|
|
right: 6px;
|
|
z-index: 11;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
min-width: 28px;
|
|
min-height: 28px;
|
|
padding: 4px 8px;
|
|
border: 1px solid rgba(255, 180, 0, 0.38);
|
|
border-radius: 999px;
|
|
background: rgba(30, 18, 0, 0.82);
|
|
color: rgba(255, 200, 60, 0.96);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
touch-action: manipulation;
|
|
transform: translateZ(0);
|
|
transition:
|
|
background 0.15s,
|
|
transform 80ms ease;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-dup-stack-button:hover {
|
|
background: rgba(50, 30, 0, 0.94);
|
|
border-color: rgba(255, 180, 0, 0.6);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-dup-stack-button > * {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-dup-stack-count {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-dup-stacked="true"] .mjr-dup-stack-button {
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.32),
|
|
0 0 0 1px rgba(255, 180, 0, 0.2);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"] .mjr-stack-group-button,
|
|
.mjr-bottom-feed .mjr-asset-card[data-mjr-stacked="true"] .mjr-feed-group-button {
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.24),
|
|
0 0 0 1px rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"]:hover,
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-dup-stacked="true"]:hover {
|
|
transform: none !important;
|
|
}
|
|
|
|
/* -- Visual stacking effect - layered cards behind the main card ------------ */
|
|
/* Creates pseudo-element "cards" offset behind the primary card to visually */
|
|
/* communicate that this card represents a group of multiple images. */
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"] {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"]::before,
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"]::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: var(--comfy-menu-bg, #1a1a2e);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
transition:
|
|
transform 180ms ease,
|
|
opacity 180ms ease;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"]::before {
|
|
transform: translate(3px, 3px) rotate(1deg);
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"]::after {
|
|
transform: translate(6px, 6px) rotate(2.2deg);
|
|
opacity: 0.25;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"]:hover::before {
|
|
transform: translate(4px, 4px) rotate(1.5deg);
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.mjr-assets-manager .mjr-asset-card[data-mjr-stacked="true"]:hover::after {
|
|
transform: translate(8px, 8px) rotate(3deg);
|
|
opacity: 0.35;
|
|
}
|
|
|
|
.mjr-stack-group-popover {
|
|
width: min(440px, 92vw);
|
|
}
|
|
|
|
.mjr-stack-group-member-card {
|
|
min-width: 0;
|
|
}
|
|
|
|
.mjr-stack-group-member-card .mjr-thumb {
|
|
aspect-ratio: 1 / 1 !important;
|
|
}
|
|
|
|
.mjr-stack-group-member-card .mjr-card-info {
|
|
display: none !important;
|
|
}
|
|
|
|
/* ============================================================
|
|
* Light mode overrides (ComfyUI v1.42+ improved light theme)
|
|
* Uses ComfyUI data-theme attribute when set, with
|
|
* prefers-color-scheme as a fallback for older versions.
|
|
* ============================================================ */
|
|
|
|
/* ComfyUI sets data-theme="light" on <html> or <body> */
|
|
:is([data-theme="light"], [data-color-scheme="light"]) .mjr-assets-manager,
|
|
:is([data-theme="light"], [data-color-scheme="light"]) .mjr-popover {
|
|
--mjr-surface-0: var(--interface-panel-surface, #f0f0f0);
|
|
--mjr-surface-1: var(--interface-menu-surface, #fafafa);
|
|
--mjr-surface-2: var(--interface-panel-hover-surface, #e8e8e8);
|
|
--mjr-surface-3: var(--modal-card-background, #ffffff);
|
|
--mjr-border: var(--border-default, rgba(0, 0, 0, 0.14));
|
|
--mjr-muted: var(--muted-foreground, rgba(0, 0, 0, 0.55));
|
|
--mjr-card-hover-color: var(--interface-panel-hover-surface, #e0e0e0);
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
/* Fallback: only apply if ComfyUI hasn't set an explicit data-theme */
|
|
.mjr-assets-manager:not([data-theme-applied]),
|
|
.mjr-popover:not([data-theme-applied]) {
|
|
--mjr-surface-0: var(--interface-panel-surface, #f0f0f0);
|
|
--mjr-surface-1: var(--interface-menu-surface, #fafafa);
|
|
--mjr-surface-2: var(--interface-panel-hover-surface, #e8e8e8);
|
|
--mjr-surface-3: var(--modal-card-background, #ffffff);
|
|
--mjr-border: var(--border-default, rgba(0, 0, 0, 0.14));
|
|
--mjr-muted: var(--muted-foreground, rgba(0, 0, 0, 0.55));
|
|
--mjr-card-hover-color: var(--interface-panel-hover-surface, #e0e0e0);
|
|
}
|
|
}
|
|
|
|
/* --- Skeleton loaders -------------------------------------------------------- */
|
|
|
|
.mjr-card-skeleton {
|
|
background: var(--mjr-surface-1, #2a2a2a);
|
|
border: 1px solid var(--mjr-border, #3a3a3a);
|
|
border-radius: var(--mjr-r-lg, 8px);
|
|
overflow: hidden;
|
|
position: relative;
|
|
/* Match .mjr-thumb aspect ratio so skeletons have the same footprint as real cards. */
|
|
aspect-ratio: 1 / 1;
|
|
}
|
|
|
|
/* Shimmer sweep */
|
|
.mjr-card-skeleton::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent 0%,
|
|
color-mix(in srgb, var(--mjr-surface-2, #3a3a3a) 80%, transparent) 50%,
|
|
transparent 100%
|
|
);
|
|
animation: mjr-shimmer 1.4s ease-in-out infinite;
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
@keyframes mjr-shimmer {
|
|
from {
|
|
transform: translateX(-100%);
|
|
}
|
|
to {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.mjr-card-skeleton::after {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* --- Responsive summary bar -------------------------------------------------- */
|
|
|
|
/*
|
|
* Enable container queries on the summary bar so children can respond to its
|
|
* actual rendered width (e.g. when the panel is docked in a narrow sidebar).
|
|
*/
|
|
.mjr-assets-manager .mjr-am-summary {
|
|
container-type: inline-size;
|
|
container-name: mjr-summary-bar;
|
|
}
|
|
|
|
/* Below ~380 px: hide the pills/right section to prevent overflow. */
|
|
@container mjr-summary-bar (max-width: 380px) {
|
|
.mjr-assets-manager .mjr-am-summary-right {
|
|
display: none;
|
|
}
|
|
.mjr-assets-manager .mjr-am-summary-text {
|
|
max-width: 100%;
|
|
}
|
|
}
|