feat: the camera's own colour, a reading that keeps its place, and cloud links in Settings
- RAW opens at the colour the camera wrote into it: the develop carries the difference against the file's own preview (previewResidual) instead of the per-channel cubic fit, dE00 6.04 -> 0.54; previewMatch.ts keeps only the grid. - Immich reading: keyset position kept across visits, one reading per node, a page in flight retried, timeline buckets for the years on offer. - The wall draws a server frame at the address the proxy serves it (no blob minted for it), and the 80-thumbnail pre-cache on open is gone. - Settings lists the cloud links, flags two that answer at the same address, and forgets one. - Custom frames imported from a file (engine/customFrame.ts, IndexedDB). - Upload an edited frame from Studio to Immich Cloud.
This commit is contained in:
+397
-123
@@ -2342,128 +2342,402 @@ input[type="range"].track-temp::-webkit-slider-thumb, input[type="range"].track-
|
||||
}
|
||||
}
|
||||
|
||||
.workspace.is-mobile {
|
||||
flex-direction: column !important;
|
||||
}
|
||||
.workspace.is-mobile:not(.strip-open) .chips {
|
||||
display: none !important;
|
||||
}
|
||||
.workspace.is-mobile.strip-open .rail {
|
||||
display: none !important;
|
||||
}
|
||||
.workspace.is-mobile .stage-slot {
|
||||
order: 0 !important;
|
||||
min-height: 0 !important;
|
||||
}
|
||||
.workspace.is-mobile .col[data-col="slider"] {
|
||||
order: 1 !important;
|
||||
}
|
||||
.workspace.is-mobile .col-sub {
|
||||
order: 2 !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main {
|
||||
order: 3 !important;
|
||||
}
|
||||
.workspace.is-mobile .rail {
|
||||
order: 4 !important;
|
||||
width: 100% !important;
|
||||
max-width: 100vw !important;
|
||||
flex-direction: row !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
.workspace.is-mobile .chips {
|
||||
display: contents !important;
|
||||
}
|
||||
.workspace.is-mobile .col,
|
||||
.workspace.is-mobile .col-main,
|
||||
.workspace.is-mobile .col-sub,
|
||||
.workspace.is-mobile .col[data-col="slider"],
|
||||
.workspace.is-mobile .col-create,
|
||||
.workspace.is-mobile .col-slider {
|
||||
width: 100% !important;
|
||||
max-width: 100vw !important;
|
||||
min-width: 100% !important;
|
||||
box-sizing: border-box !important;
|
||||
border-right: none !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main {
|
||||
flex-direction: row !important;
|
||||
align-items: center !important;
|
||||
gap: 6px !important;
|
||||
max-height: 46vh !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
background: var(--bg) !important;
|
||||
border-top: 1px solid var(--border-soft) !important;
|
||||
padding: 6px 8px !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main > *,
|
||||
.workspace.is-mobile .col-sub:not(.wm-extra) > * {
|
||||
flex: 0 0 auto !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main:not(.col-create) .chip-row,
|
||||
.workspace.is-mobile .col-sub:not(.wm-extra) .chip-row {
|
||||
min-width: 100% !important;
|
||||
width: max-content !important;
|
||||
flex-wrap: nowrap !important;
|
||||
flex-direction: row !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
.workspace.is-mobile .col-grip {
|
||||
display: none !important;
|
||||
}
|
||||
.workspace.is-mobile .save-hint {
|
||||
display: none !important;
|
||||
}
|
||||
.workspace.is-mobile .btn-save-action {
|
||||
flex: 0 0 auto !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main:has(.saved-list) {
|
||||
flex-direction: row !important;
|
||||
align-items: center !important;
|
||||
gap: 10px !important;
|
||||
width: 100% !important;
|
||||
max-width: 100vw !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
flex-wrap: nowrap !important;
|
||||
}
|
||||
.workspace.is-mobile .saved-list {
|
||||
display: flex !important;
|
||||
flex-direction: row !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
flex-wrap: nowrap !important;
|
||||
flex: 0 0 auto !important;
|
||||
}
|
||||
.workspace.is-mobile .saved-row {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
gap: 4px !important;
|
||||
flex: 0 0 auto !important;
|
||||
white-space: nowrap !important;
|
||||
width: auto !important;
|
||||
}
|
||||
.workspace.is-mobile .saved-row .link-chip {
|
||||
padding: 6px 4px !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
.workspace.is-mobile .col-sub[data-col="options"],
|
||||
.workspace.is-mobile .col-sub[data-col="wm"],
|
||||
.workspace.is-mobile .col-sub[data-col="recipes"] {
|
||||
order: 3 !important;
|
||||
background: var(--bg) !important;
|
||||
max-height: 46vh !important;
|
||||
}
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="options"]) .col-main,
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="wm"]) .col-main,
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="recipes"]) .col-main,
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="history"]) .col-main,
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="mask"]) .col-main {
|
||||
display: none !important;
|
||||
@media (max-width: 860px) {
|
||||
.workspace.is-mobile {
|
||||
flex-direction: column !important;
|
||||
}
|
||||
.workspace.is-mobile:not(.strip-open) .chips {
|
||||
display: none !important;
|
||||
}
|
||||
.workspace.is-mobile.strip-open .rail {
|
||||
display: none !important;
|
||||
}
|
||||
.workspace.is-mobile .stage-slot {
|
||||
order: 0 !important;
|
||||
min-height: 0 !important;
|
||||
}
|
||||
.workspace.is-mobile .col[data-col="slider"] {
|
||||
order: 1 !important;
|
||||
}
|
||||
.workspace.is-mobile .col-sub {
|
||||
order: 2 !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main {
|
||||
order: 3 !important;
|
||||
}
|
||||
.workspace.is-mobile .rail {
|
||||
order: 4 !important;
|
||||
width: 100% !important;
|
||||
max-width: 100vw !important;
|
||||
flex-direction: row !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
.workspace.is-mobile .chips {
|
||||
display: contents !important;
|
||||
}
|
||||
.workspace.is-mobile .col,
|
||||
.workspace.is-mobile .col-main,
|
||||
.workspace.is-mobile .col-sub,
|
||||
.workspace.is-mobile .col[data-col="slider"],
|
||||
.workspace.is-mobile .col-create,
|
||||
.workspace.is-mobile .col-slider {
|
||||
width: 100% !important;
|
||||
max-width: 100vw !important;
|
||||
min-width: 100% !important;
|
||||
box-sizing: border-box !important;
|
||||
border-right: none !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main {
|
||||
flex-direction: row !important;
|
||||
align-items: center !important;
|
||||
gap: 6px !important;
|
||||
max-height: 46vh !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
background: var(--bg) !important;
|
||||
border-top: 1px solid var(--border-soft) !important;
|
||||
padding: 6px 8px !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main > *,
|
||||
.workspace.is-mobile .col-sub:not(.wm-extra) > * {
|
||||
flex: 0 0 auto !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main:not(.col-create) .chip-row,
|
||||
.workspace.is-mobile .col-sub:not(.wm-extra) .chip-row {
|
||||
min-width: 100% !important;
|
||||
width: max-content !important;
|
||||
flex-wrap: nowrap !important;
|
||||
flex-direction: row !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
.workspace.is-mobile .col-grip {
|
||||
display: none !important;
|
||||
}
|
||||
.workspace.is-mobile .save-hint {
|
||||
display: none !important;
|
||||
}
|
||||
.workspace.is-mobile .btn-save-action {
|
||||
flex: 0 0 auto !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
.workspace.is-mobile .col-main:has(.saved-list) {
|
||||
flex-direction: row !important;
|
||||
align-items: center !important;
|
||||
gap: 10px !important;
|
||||
width: 100% !important;
|
||||
max-width: 100vw !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
flex-wrap: nowrap !important;
|
||||
}
|
||||
.workspace.is-mobile .saved-list {
|
||||
display: flex !important;
|
||||
flex-direction: row !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
flex-wrap: nowrap !important;
|
||||
flex: 0 0 auto !important;
|
||||
}
|
||||
.workspace.is-mobile .saved-row {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
gap: 4px !important;
|
||||
flex: 0 0 auto !important;
|
||||
white-space: nowrap !important;
|
||||
width: auto !important;
|
||||
}
|
||||
.workspace.is-mobile .saved-row .link-chip {
|
||||
padding: 6px 4px !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
.workspace.is-mobile .col-sub[data-col="options"],
|
||||
.workspace.is-mobile .col-sub[data-col="wm"],
|
||||
.workspace.is-mobile .col-sub[data-col="recipes"] {
|
||||
order: 3 !important;
|
||||
background: var(--bg) !important;
|
||||
max-height: 46vh !important;
|
||||
}
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="options"]) .col-main,
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="wm"]) .col-main,
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="recipes"]) .col-main,
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="history"]) .col-main,
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="custom-frame"]) .col-main,
|
||||
.workspace.is-mobile:has(.chips > .col-sub[data-col="mask"]) .col-main {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 861px) {
|
||||
.workspace {
|
||||
flex-direction: row !important;
|
||||
}
|
||||
.workspace .rail {
|
||||
order: 0 !important;
|
||||
width: var(--rail-w) !important;
|
||||
max-width: var(--rail-w) !important;
|
||||
min-width: var(--rail-w) !important;
|
||||
flex-direction: column !important;
|
||||
align-items: stretch !important;
|
||||
overflow-y: auto !important;
|
||||
overflow-x: hidden !important;
|
||||
border-right: 1px solid var(--border-soft) !important;
|
||||
border-top: none !important;
|
||||
padding: 6px !important;
|
||||
gap: 4px !important;
|
||||
}
|
||||
.workspace .rail button {
|
||||
flex-direction: column !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
min-height: auto !important;
|
||||
border-radius: var(--radius-sm) !important;
|
||||
border: 1px solid transparent !important;
|
||||
background: transparent !important;
|
||||
padding: 9px 4px !important;
|
||||
font-size: 10px !important;
|
||||
text-transform: none !important;
|
||||
}
|
||||
.workspace .rail button[aria-pressed="true"] {
|
||||
background: var(--accent-soft) !important;
|
||||
color: var(--accent) !important;
|
||||
border-color: var(--accent-line) !important;
|
||||
}
|
||||
.workspace .rail button .glyph {
|
||||
display: inline-block !important;
|
||||
font-size: 17px !important;
|
||||
line-height: 1 !important;
|
||||
}
|
||||
.workspace .rail-version {
|
||||
display: block !important;
|
||||
}
|
||||
.workspace .chips {
|
||||
display: flex !important;
|
||||
}
|
||||
}
|
||||
|
||||
.workspace:has(.chips > .col-sub[data-col="custom-frame"]) .col-main {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* --- Custom Frame Controls Column & Hints --- */
|
||||
.custom-frame-controls-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
width: 250px;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.custom-frame-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid var(--border-soft, rgba(255, 255, 255, 0.1));
|
||||
}
|
||||
|
||||
.custom-frame-thumb-wrap {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
background-image: linear-gradient(45deg, #27272a 25%, transparent 25%),
|
||||
linear-gradient(-45deg, #27272a 25%, transparent 25%),
|
||||
linear-gradient(45deg, transparent 75%, #27272a 75%),
|
||||
linear-gradient(-45deg, transparent 75%, #27272a 75%);
|
||||
background-size: 8px 8px;
|
||||
background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
|
||||
background-color: #18181b;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.custom-frame-thumb {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.custom-frame-meta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.custom-frame-title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--fg, #f4f4f5);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.custom-frame-res {
|
||||
font-size: 11px;
|
||||
color: var(--muted, #a1a1aa);
|
||||
}
|
||||
|
||||
.custom-frame-action-btns {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.custom-frame-action-btns .btn {
|
||||
flex: 1;
|
||||
min-width: 60px;
|
||||
padding: 6px 8px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 6px;
|
||||
color: var(--fg, #f4f4f5);
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
|
||||
.custom-frame-action-btns .btn:hover {
|
||||
background: rgba(255, 255, 255, 0.16);
|
||||
border-color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.custom-frame-slider-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.custom-frame-slider-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted, #a1a1aa);
|
||||
}
|
||||
|
||||
.custom-frame-slider-header .val {
|
||||
color: var(--accent, #f59e0b);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.custom-frame-slider-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.custom-frame-range {
|
||||
flex: 1;
|
||||
accent-color: var(--accent, #f59e0b);
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-tiny {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
color: var(--fg, #f4f4f5);
|
||||
border-radius: 4px;
|
||||
width: 24px;
|
||||
height: 22px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.btn-tiny:hover {
|
||||
background: rgba(255, 255, 255, 0.18);
|
||||
}
|
||||
|
||||
.custom-frame-footer-btns {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.custom-frame-footer-btns .btn {
|
||||
flex: 1;
|
||||
padding: 6px 10px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.custom-frame-footer-btns .btn-danger {
|
||||
background: rgba(239, 68, 68, 0.15);
|
||||
border: 1px solid rgba(239, 68, 68, 0.4);
|
||||
color: #f87171;
|
||||
}
|
||||
|
||||
.custom-frame-footer-btns .btn-danger:hover {
|
||||
background: rgba(239, 68, 68, 0.25);
|
||||
}
|
||||
|
||||
.custom-frame-hint {
|
||||
font-size: 11px;
|
||||
line-height: 1.4;
|
||||
color: #71717a;
|
||||
margin: 4px 0 0;
|
||||
border-top: 1px dashed rgba(255, 255, 255, 0.1);
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
/* Floating on-stage drag & zoom guidance pill */
|
||||
.custom-frame-stage-hint {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
background: rgba(18, 18, 22, 0.85);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||
border-radius: 20px;
|
||||
padding: 6px 16px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: #f4f4f5;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
|
||||
pointer-events: none;
|
||||
z-index: 25;
|
||||
white-space: nowrap;
|
||||
animation: fadeInDown 0.3s ease-out;
|
||||
}
|
||||
|
||||
@keyframes fadeInDown {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate(-50%, -10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translate(-50%, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user