Files
glenloch-media/lumenroom/src/styles.css
T
bhursey ebe0c77f7e
CI / build (push) Has been cancelled
feat(editor): finish the quick/advanced editor handoff
Reopen advanced edits from their saved recipe, seed or take over the quick
editor from them, refresh thumbnails after a save, and add an edited-only
download. Also fixes the Lumenroom library collapsing to slivers on large
shoots and documents deploying both containers on a new host.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-21 06:35:24 +00:00

2143 lines
36 KiB
CSS

/* Lumenroom — web photo library & develop module */
:root {
--bg: #0c0c0e;
--panel: #15151a;
--panel-2: #1b1b21;
--panel-3: #23232a;
--line: #2a2a32;
--text: #e8e8ec;
--muted: #8b8b96;
--accent: #5b9dff;
--accent-dim: #2c5f9e;
--danger: #e05d5d;
--radius: 7px;
color-scheme: dark;
}
* {
box-sizing: border-box;
}
html,
body,
#root {
height: 100%;
margin: 0;
}
body {
background: var(--bg);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
-webkit-font-smoothing: antialiased;
overflow: hidden;
}
button,
input,
select {
font: inherit;
color: inherit;
}
button {
cursor: pointer;
border: none;
background: none;
}
button:disabled {
cursor: default;
opacity: 0.45;
}
img {
display: block;
}
.muted {
color: var(--muted);
}
.small {
font-size: 11.5px;
}
.spacer {
flex: 1;
}
/* ---------- buttons ---------- */
.btn {
border-radius: 6px;
padding: 7px 14px;
font-size: 12.5px;
font-weight: 550;
border: 1px solid transparent;
transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
white-space: nowrap;
}
.btn.primary {
background: var(--accent);
color: #06121f;
}
.btn.primary:hover:not(:disabled) {
background: #7cb1ff;
}
.btn.ghost {
background: var(--panel-3);
border-color: var(--line);
color: var(--text);
}
.btn.ghost:hover:not(:disabled) {
background: #2c2c35;
}
.btn.ghost.on {
border-color: var(--accent);
color: var(--accent);
}
.btn.ghost.danger:hover:not(:disabled) {
color: var(--danger);
border-color: #5c2b2b;
}
.btn.small {
padding: 4px 9px;
font-size: 11.5px;
}
.icon-btn {
width: 24px;
height: 24px;
border-radius: 5px;
color: var(--muted);
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 13px;
}
.icon-btn:hover {
background: var(--panel-3);
color: var(--text);
}
.icon-btn.danger:hover {
color: var(--danger);
}
.link-btn {
color: var(--accent);
font-size: 11.5px;
padding: 0 2px;
}
.link-btn:hover:not(:disabled) {
text-decoration: underline;
}
/* ---------- shell ---------- */
.app {
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden;
}
.app-body {
flex: 1;
min-height: 0;
display: flex;
}
.main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.splash {
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
color: var(--muted);
}
.logo.large {
font-size: 30px;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--text);
}
.banner {
padding: 8px 14px;
font-size: 12px;
}
.banner.error {
background: #3a1d1d;
color: #ffb4b4;
border-bottom: 1px solid #582929;
}
.bridge-banner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 10px;
background: #1d2a3a;
color: #cfe2ff;
border-bottom: 1px solid #324a66;
}
.bridge-banner .banner-actions {
display: flex;
gap: 8px;
}
.toast {
position: fixed;
bottom: 22px;
left: 50%;
transform: translateX(-50%);
background: #24242c;
border: 1px solid var(--line);
padding: 9px 16px;
border-radius: 999px;
font-size: 12.5px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
z-index: 100;
}
.empty {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
color: var(--muted);
}
/* ---------- topbar ---------- */
.topbar {
height: 50px;
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 18px;
padding: 0 14px;
background: var(--panel);
border-bottom: 1px solid var(--line);
}
.brand {
display: flex;
align-items: center;
gap: 8px;
font-weight: 650;
letter-spacing: 0.04em;
}
.brand .dot {
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 12px rgba(91, 157, 255, 0.8);
}
.view-tabs {
display: flex;
background: var(--panel-2);
border-radius: 7px;
padding: 2px;
border: 1px solid var(--line);
}
.view-tabs button {
padding: 5px 14px;
border-radius: 5px;
color: var(--muted);
font-size: 12.5px;
}
.view-tabs button.active {
background: var(--panel-3);
color: var(--text);
}
.topbar-title {
font-size: 12.5px;
font-weight: 550;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.topbar-actions {
margin-left: auto;
display: flex;
gap: 8px;
}
/* ---------- sidebar ---------- */
.sidebar {
width: 218px;
flex: 0 0 auto;
background: var(--panel);
border-right: 1px solid var(--line);
display: flex;
flex-direction: column;
min-height: 0;
}
.sidebar-head,
.dev-panel-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 11px 12px;
font-size: 10.5px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--muted);
}
.new-event {
display: flex;
gap: 6px;
padding: 0 10px 10px;
}
.new-event input,
.search,
.select,
.field input,
.field select {
background: var(--panel-2);
border: 1px solid var(--line);
border-radius: 6px;
padding: 6px 9px;
font-size: 12px;
min-width: 0;
outline: none;
}
.new-event input:focus,
.search:focus,
.field input:focus,
.field select:focus {
border-color: var(--accent-dim);
}
.new-event input {
flex: 1;
}
.event-list {
flex: 1;
overflow-y: auto;
padding: 0 8px 12px;
}
.event-item {
display: flex;
align-items: center;
border-radius: 6px;
margin-bottom: 2px;
padding-right: 4px;
}
.event-item:hover {
background: var(--panel-2);
}
.event-item.active {
background: var(--panel-3);
}
.event-item.all {
width: 100%;
justify-content: space-between;
}
.event-main {
flex: 1;
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 7px 9px;
text-align: left;
}
.event-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 12.5px;
}
.event-count {
font-size: 11px;
color: var(--muted);
font-variant-numeric: tabular-nums;
}
.event-tools {
display: none;
gap: 2px;
}
.event-item:hover .event-tools {
display: flex;
}
.sidebar-foot {
padding: 10px 12px;
border-top: 1px solid var(--line);
font-size: 10.5px;
line-height: 1.5;
color: var(--muted);
}
/* ---------- filters ---------- */
.filterbar {
flex: 0 0 auto;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 14px;
padding: 9px 14px;
background: var(--panel-2);
border-bottom: 1px solid var(--line);
}
.filter-group {
display: flex;
align-items: center;
gap: 7px;
}
.filter-group.grow {
flex: 1;
min-width: 160px;
}
.filter-label {
font-size: 10px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--muted);
}
.rating-filter {
display: flex;
gap: 3px;
}
.chip {
padding: 3px 8px;
border-radius: 5px;
background: var(--panel-3);
border: 1px solid transparent;
color: var(--muted);
font-size: 11.5px;
white-space: nowrap;
}
.chip:hover {
color: var(--text);
}
.chip.on {
border-color: var(--accent);
color: var(--accent);
background: rgba(91, 157, 255, 0.1);
}
.chip.ghost {
background: transparent;
border-color: var(--line);
}
.chip.small {
padding: 2px 7px;
font-size: 11px;
}
.color-filter {
display: flex;
gap: 5px;
}
.swatch {
width: 15px;
height: 15px;
border-radius: 4px;
border: 1px solid rgba(255, 255, 255, 0.16);
opacity: 0.55;
}
.swatch:hover {
opacity: 1;
}
.swatch.on {
opacity: 1;
border-color: #fff;
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.swatch-mini {
width: 12px;
height: 12px;
border-radius: 3px;
display: inline-block;
}
.search {
width: 100%;
}
.select {
padding: 4px 6px;
}
.filter-count {
font-size: 11.5px;
color: var(--muted);
font-variant-numeric: tabular-nums;
margin-left: auto;
}
/* ---------- grid ---------- */
.grid-area {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.grid-toolbar {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 14px;
border-bottom: 1px solid var(--line);
min-height: 42px;
}
.selection-count {
font-size: 12px;
font-weight: 600;
color: var(--accent);
}
.grid {
flex: 1;
overflow-y: auto;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
/* Keep every row at its natural height. Without this, a large library makes
the auto rows shrink to fit the viewport and the thumbnails collapse. */
grid-auto-rows: max-content;
gap: 12px;
padding: 14px;
align-content: start;
}
.card {
margin: 0;
background: var(--panel);
border: 1px solid #1f1f25;
border-radius: 6px;
overflow: hidden;
cursor: pointer;
transition: border-color 0.1s ease, transform 0.1s ease;
}
.card:hover {
border-color: #3a3a45;
}
.card.selected {
border-color: var(--accent);
box-shadow: 0 0 0 1px var(--accent);
}
.card.rejected {
opacity: 0.55;
}
.card-thumb {
position: relative;
aspect-ratio: 4 / 3;
background: #101014;
overflow: hidden;
}
.card-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.card-badges {
position: absolute;
top: 6px;
left: 6px;
display: flex;
gap: 4px;
}
.badge {
width: 18px;
height: 18px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
background: rgba(10, 10, 12, 0.75);
}
.badge.pick {
color: #7ce08a;
}
.badge.reject {
color: #ff8a8a;
}
.badge.edit {
color: var(--accent);
margin-left: auto;
}
.color-strip {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 3px;
}
.card-hover {
position: absolute;
right: 7px;
bottom: 6px;
display: flex;
gap: 8px;
opacity: 0;
transition: opacity 0.12s ease;
background: rgba(8, 8, 10, 0.68);
padding: 2px 6px;
border-radius: 4px;
}
.card:hover .card-hover {
opacity: 1;
}
figcaption {
padding: 7px 8px 8px;
}
.card-name {
font-size: 11.5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-bottom: 3px;
}
.card-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
}
.card-cam {
font-size: 10px;
color: var(--muted);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 55%;
}
.grid-empty {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 30px;
}
.empty-card {
max-width: 420px;
text-align: center;
background: var(--panel);
border: 1px dashed var(--line);
border-radius: 12px;
padding: 32px;
}
.empty-card h2 {
margin: 0 0 8px;
font-size: 18px;
}
.empty-card p {
margin: 10px 0;
line-height: 1.55;
}
/* ---------- stars / flags ---------- */
.stars {
display: inline-flex;
gap: 1px;
}
.star {
color: #3d3d47;
font-size: 13px;
line-height: 1;
padding: 0 0.5px;
transition: color 0.08s ease;
}
.star.on {
color: #f2c14e;
}
.stars.md .star {
font-size: 16px;
}
.stars.lg .star {
font-size: 20px;
}
.flag-buttons {
display: flex;
gap: 3px;
}
.flag-btn {
width: 24px;
height: 22px;
border-radius: 5px;
background: var(--panel-3);
color: #55555f;
font-size: 12px;
}
.flag-btn.on.pick {
background: rgba(86, 178, 104, 0.18);
color: #7ce08a;
}
.flag-btn.on.reject {
background: rgba(224, 82, 82, 0.16);
color: #ff9090;
}
/* ---------- develop ---------- */
.develop {
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
}
.dev-toolbar {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 8px;
padding: 7px 12px;
background: var(--panel);
border-bottom: 1px solid var(--line);
overflow-x: auto;
}
.dev-title {
display: flex;
flex-direction: column;
min-width: 0;
margin-right: 6px;
}
.dev-title strong {
font-size: 12.5px;
font-weight: 600;
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dev-body {
flex: 1;
min-height: 0;
display: flex;
}
.dev-left {
width: 208px;
flex: 0 0 auto;
background: var(--panel);
border-right: 1px solid var(--line);
overflow-y: auto;
display: flex;
flex-direction: column;
}
.dev-right {
width: 324px;
flex: 0 0 auto;
background: var(--panel);
border-left: 1px solid var(--line);
display: flex;
flex-direction: column;
min-height: 0;
}
.histo-wrap {
padding: 10px 12px 8px;
border-bottom: 1px solid var(--line);
}
.histogram {
width: 100%;
height: 96px;
border-radius: 5px;
display: block;
border: 1px solid var(--line);
}
.histo-legend {
display: flex;
justify-content: space-between;
margin-top: 6px;
font-size: 10.5px;
color: var(--muted);
font-variant-numeric: tabular-nums;
}
.panel-scroll {
flex: 1;
overflow-y: auto;
min-height: 0;
}
.canvas-stage {
flex: 1;
min-width: 0;
position: relative;
display: flex;
align-items: center;
justify-content: center;
background: #08080a;
overflow: hidden;
padding: 24px;
}
.canvas-wrap {
position: relative;
display: inline-block;
line-height: 0;
box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
background: #101013;
}
.preview {
display: block;
max-width: 100%;
}
.canvas-loading {
position: absolute;
color: var(--muted);
font-size: 12px;
}
.before-badge {
position: absolute;
top: 14px;
left: 16px;
background: rgba(91, 157, 255, 0.18);
border: 1px solid var(--accent-dim);
color: var(--accent);
font-size: 10.5px;
letter-spacing: 0.1em;
text-transform: uppercase;
padding: 3px 8px;
border-radius: 4px;
}
.crop-hint {
position: absolute;
bottom: 14px;
left: 50%;
transform: translateX(-50%);
background: rgba(18, 18, 22, 0.9);
border: 1px solid var(--line);
border-radius: 999px;
padding: 5px 14px;
font-size: 11.5px;
color: var(--muted);
white-space: nowrap;
}
/* filmstrip */
.filmstrip {
flex: 0 0 auto;
height: 92px;
display: flex;
gap: 6px;
align-items: center;
padding: 8px 10px;
background: var(--panel);
border-top: 1px solid var(--line);
overflow-x: auto;
overflow-y: hidden;
}
.film {
position: relative;
width: 108px;
height: 72px;
flex: 0 0 auto;
border-radius: 4px;
overflow: hidden;
/* An inset ring rather than a border keeps the picture area exactly 3:2,
which the orientation transform relies on. */
box-shadow: inset 0 0 0 1px transparent;
background: #101014;
padding: 0;
}
.film img {
width: 100%;
height: 100%;
object-fit: cover;
transform-origin: 50% 50%;
}
.film.active {
box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 1px var(--accent);
}
.film-rating {
position: absolute;
bottom: 2px;
left: 3px;
font-size: 9px;
color: #f2c14e;
text-shadow: 0 1px 3px #000;
}
/* ---------- panels ---------- */
.panel {
border-bottom: 1px solid var(--line);
}
.panel-head {
display: flex;
align-items: center;
justify-content: space-between;
padding-right: 10px;
}
.panel-toggle {
flex: 1;
display: flex;
align-items: center;
gap: 6px;
padding: 10px 12px;
font-size: 10.5px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #b9b9c4;
text-align: left;
}
.panel-toggle:hover {
color: var(--text);
}
.chev {
color: var(--muted);
font-size: 9px;
width: 9px;
}
.panel-body {
padding: 2px 12px 14px;
}
.subhead {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin: 12px 0 6px;
font-size: 10.5px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
.subhead:first-child {
margin-top: 2px;
}
.row {
display: grid;
grid-template-columns: 74px 1fr 44px;
align-items: center;
gap: 7px;
padding: 2.5px 0;
}
.row.disabled {
opacity: 0.4;
pointer-events: none;
}
.row-label {
font-size: 11.5px;
color: #b7b7c2;
user-select: none;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.row-num {
width: 44px;
background: var(--panel-2);
border: 1px solid transparent;
border-radius: 4px;
padding: 2px 4px;
font-size: 11px;
text-align: right;
font-variant-numeric: tabular-nums;
outline: none;
}
.row-num:focus {
border-color: var(--accent-dim);
background: #10101499;
}
.row-range {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 4px;
border-radius: 3px;
background: var(--track, linear-gradient(90deg, var(--accent) 0 var(--pct, 50%), #33333c var(--pct, 50%) 100%));
outline: none;
}
.row-range::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 11px;
height: 11px;
border-radius: 50%;
background: #eaeaee;
border: 1px solid #0a0a0c;
cursor: ew-resize;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.row-range::-moz-range-thumb {
width: 11px;
height: 11px;
border-radius: 50%;
background: #eaeaee;
border: 1px solid #0a0a0c;
cursor: ew-resize;
}
.toggle {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
font-size: 12px;
color: #c9c9d2;
cursor: pointer;
}
.toggle input {
accent-color: var(--accent);
}
.tabs {
display: flex;
gap: 4px;
margin-bottom: 8px;
}
.tab {
flex: 1;
padding: 3px 0;
border-radius: 4px;
background: var(--panel-2);
color: var(--muted);
font-size: 11px;
}
.tab.on {
background: var(--panel-3);
color: var(--text);
box-shadow: inset 0 0 0 1px var(--line);
}
.band-row {
display: flex;
gap: 4px;
margin-bottom: 8px;
}
.band-swatch {
flex: 1;
height: 18px;
border-radius: 4px;
opacity: 0.6;
border: 1px solid transparent;
}
.band-swatch.on {
opacity: 1;
border-color: #fff;
box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.25);
}
.band-title {
font-size: 11.5px;
color: var(--text);
margin-bottom: 4px;
}
.aspect-grid {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-bottom: 10px;
}
.btn-row {
display: flex;
gap: 6px;
margin-top: 10px;
flex-wrap: wrap;
}
.meta {
margin: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.meta-row {
display: flex;
gap: 8px;
font-size: 11.5px;
}
.meta-row dt {
width: 78px;
flex: 0 0 auto;
color: var(--muted);
}
.meta-row dd {
margin: 0;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* presets / history */
.panel-stack {
border-bottom: 1px solid var(--line);
}
.preset-group {
padding: 0 10px 8px;
}
.preset-group-name {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--muted);
margin: 6px 2px 4px;
}
.preset-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 5px;
}
.preset-tile {
display: flex;
flex-direction: column;
gap: 2px;
padding: 0;
overflow: hidden;
border-radius: 5px;
background: var(--panel-2);
border: 1px solid transparent;
}
.preset-tile:hover {
border-color: var(--accent-dim);
}
.preset-tile img,
.preset-tile-blank {
display: block;
width: 100%;
height: 52px;
object-fit: cover;
background: var(--panel-3);
}
.preset-tile-name {
padding: 1px 4px 4px;
overflow: hidden;
font-size: 9px;
line-height: 1.15;
color: var(--muted);
text-overflow: ellipsis;
white-space: nowrap;
}
.preset-tile:hover .preset-tile-name {
color: var(--text);
}
.variant-row {
display: flex;
flex-wrap: wrap;
gap: 3px;
padding: 0 10px 7px;
}
.variant-btn {
padding: 3px 7px;
border-radius: 999px;
border: 1px solid var(--line);
background: var(--panel-2);
color: var(--muted);
font-size: 10px;
}
.variant-btn:hover {
color: var(--text);
}
.variant-btn.on {
color: var(--text);
border-color: var(--accent-dim);
background: var(--panel-3);
}
.history {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
border-bottom: none;
}
.history-list {
flex: 1;
overflow-y: auto;
padding: 0 8px 10px;
min-height: 120px;
}
.history-item {
width: 100%;
display: flex;
justify-content: space-between;
gap: 8px;
padding: 4px 7px;
border-radius: 4px;
font-size: 11px;
color: #b9b9c4;
text-align: left;
}
.history-item:hover {
background: var(--panel-2);
color: var(--text);
}
.history-label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* curve editor */
.curve-wrap {
margin-top: 4px;
}
.curve {
width: 100%;
aspect-ratio: 1;
display: block;
border-radius: 5px;
cursor: crosshair;
touch-action: none;
background: #101014;
border: 1px solid var(--line);
}
.curve-bg {
fill: transparent;
}
.curve-grid {
stroke: rgba(255, 255, 255, 0.07);
stroke-width: 0.5;
vector-effect: non-scaling-stroke;
}
.curve-diag {
stroke: rgba(255, 255, 255, 0.1);
stroke-width: 1;
stroke-dasharray: 2 3;
vector-effect: non-scaling-stroke;
}
.curve-point {
stroke: #101014;
stroke-width: 0.8;
cursor: grab;
vector-effect: non-scaling-stroke;
}
.curve-hint {
font-size: 10px;
color: var(--muted);
margin-top: 5px;
line-height: 1.4;
}
/* crop overlay */
.crop-overlay {
position: absolute;
inset: 0;
overflow: hidden;
touch-action: none;
cursor: default;
}
.crop-rect {
position: absolute;
border: 1px solid rgba(255, 255, 255, 0.9);
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
cursor: move;
}
.crop-grid {
position: absolute;
inset: 0;
background-image: linear-gradient(to right, transparent 33.2%, rgba(255, 255, 255, 0.28) 33.2%, rgba(255, 255, 255, 0.28) 33.4%, transparent 33.4%, transparent 66.4%, rgba(255, 255, 255, 0.28) 66.4%, rgba(255, 255, 255, 0.28) 66.6%, transparent 66.6%),
linear-gradient(to bottom, transparent 33.2%, rgba(255, 255, 255, 0.28) 33.2%, rgba(255, 255, 255, 0.28) 33.4%, transparent 33.4%, transparent 66.4%, rgba(255, 255, 255, 0.28) 66.4%, rgba(255, 255, 255, 0.28) 66.6%, transparent 66.6%);
pointer-events: none;
}
.handle {
position: absolute;
width: 16px;
height: 16px;
background: transparent;
}
.handle::after {
content: '';
position: absolute;
background: #fff;
border-radius: 1px;
}
.handle.nw { left: -8px; top: -8px; cursor: nwse-resize; }
.handle.ne { right: -8px; top: -8px; cursor: nesw-resize; }
.handle.sw { left: -8px; bottom: -8px; cursor: nesw-resize; }
.handle.se { right: -8px; bottom: -8px; cursor: nwse-resize; }
.handle.n { left: 8px; right: 8px; top: -8px; height: 16px; cursor: ns-resize; }
.handle.s { left: 8px; right: 8px; bottom: -8px; height: 16px; cursor: ns-resize; }
.handle.w { top: 8px; bottom: 8px; left: -8px; width: 16px; cursor: ew-resize; }
.handle.e { top: 8px; bottom: 8px; right: -8px; width: 16px; cursor: ew-resize; }
.handle.nw::after,
.handle.ne::after,
.handle.sw::after,
.handle.se::after {
inset: 5px;
}
.handle.n::after { left: 50%; top: 6px; width: 22px; height: 3px; margin-left: -11px; }
.handle.s::after { left: 50%; bottom: 6px; width: 22px; height: 3px; margin-left: -11px; }
.handle.w::after { top: 50%; left: 6px; height: 22px; width: 3px; margin-top: -11px; }
.handle.e::after { top: 50%; right: 6px; height: 22px; width: 3px; margin-top: -11px; }
.crop-size {
position: absolute;
bottom: 6px;
left: 6px;
font-size: 10px;
background: rgba(0, 0, 0, 0.6);
padding: 1px 5px;
border-radius: 3px;
color: #ddd;
pointer-events: none;
}
/* ---------- modal ---------- */
.modal-backdrop {
position: fixed;
inset: 0;
background: rgba(4, 4, 6, 0.72);
display: flex;
align-items: center;
justify-content: center;
z-index: 60;
padding: 24px;
}
.modal {
width: min(560px, 100%);
max-height: 88vh;
display: flex;
flex-direction: column;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 12px;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
overflow: hidden;
}
.modal-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
border-bottom: 1px solid var(--line);
}
.modal-head h2 {
margin: 0;
font-size: 15px;
font-weight: 600;
}
.modal-body {
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
overflow-y: auto;
}
.field {
display: flex;
flex-direction: column;
gap: 5px;
}
.field > span {
font-size: 10.5px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
.dropzone {
border: 1px dashed #3b3b46;
border-radius: 10px;
padding: 22px;
display: flex;
align-items: center;
gap: 14px;
cursor: pointer;
background: var(--panel-2);
transition: border-color 0.12s ease, background 0.12s ease;
}
.dropzone.over {
border-color: var(--accent);
background: rgba(91, 157, 255, 0.07);
}
.dropzone-icon {
font-size: 22px;
color: var(--muted);
}
.dropzone p {
margin: 3px 0 0;
font-size: 11.5px;
}
.file-summary {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 11.5px;
color: var(--muted);
}
.progress-bar {
height: 4px;
border-radius: 3px;
background: var(--panel-3);
overflow: hidden;
}
.progress-fill {
height: 100%;
background: var(--accent);
transition: width 0.15s linear;
}
.progress .muted {
margin-top: 5px;
}
.failures {
background: #2c1b1b;
border: 1px solid #4a2626;
border-radius: 8px;
padding: 10px 12px;
font-size: 11.5px;
}
.failures ul {
margin: 6px 0 0;
padding-left: 16px;
color: #e6b3b3;
}
.modal-foot {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 12px 16px;
border-top: 1px solid var(--line);
background: var(--panel-2);
}
/* ---------- responsive ---------- */
@media (max-width: 1180px) {
.dev-left {
width: 176px;
}
.dev-right {
width: 288px;
}
.topbar-title .muted {
display: none;
}
}
@media (max-width: 900px) {
.sidebar {
width: 168px;
}
.dev-left {
display: none;
}
.filterbar {
gap: 10px;
}
}
/* ---------------------------------------------------------------- additions */
.module-bar {
display: flex;
gap: 2px;
margin-left: auto;
background: rgba(0, 0, 0, 0.25);
border: 1px solid #34343a;
border-radius: 7px;
padding: 2px;
}
.module-bar button {
border: 0;
background: transparent;
color: #9a9aa4;
font-size: 11.5px;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 5px 12px;
border-radius: 5px;
cursor: pointer;
}
.module-bar button:hover { color: #d8d8de; }
.module-bar button.active {
background: #3a3a42;
color: #fff;
}
.cloud-pill {
display: inline-flex;
align-items: center;
gap: 6px;
height: 26px;
padding: 0 10px;
border-radius: 13px;
border: 1px solid #3a3a42;
background: #232329;
color: #a8a8b2;
font-size: 11.5px;
cursor: pointer;
max-width: 190px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cloud-pill:hover { border-color: #4a4a55; color: #e6e6ea; }
.cloud-pill.on { color: #b9e3c1; border-color: #33543b; background: #1d2a20; }
.cloud-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #6b6b74;
flex: none;
}
.cloud-pill.on .cloud-dot { background: #58c774; box-shadow: 0 0 6px #58c77499; }
.badge.raw {
background: #2a2a31;
color: #e0b45a;
border: 1px solid #4a3f28;
font-size: 8.5px;
letter-spacing: 0.08em;
padding: 2px 4px;
}
.card.dragging { opacity: 0.45; }
.card.drop-target {
outline: 2px solid #5b9dd9;
outline-offset: -2px;
border-radius: 8px;
}
.card.drop-target::after {
content: '';
position: absolute;
left: -7px;
top: 0;
bottom: 0;
width: 3px;
background: #5b9dd9;
border-radius: 2px;
}
.card { position: relative; }
.event-item.drop {
outline: 1.5px dashed #5b9dd9;
outline-offset: -2px;
background: #24303a;
}
.sidebar-head.sub { margin-top: 10px; }
.catalog-links { display: flex; flex-direction: column; gap: 1px; }
.sidebar-hint { padding: 8px 12px; }
.navigator-thumb {
padding: 8px 10px;
background: #131316;
border-bottom: 1px solid #2b2b31;
overflow: hidden;
}
.navigator-thumb img {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
transform-origin: 50% 50%;
display: block;
background: #0d0d10;
}
.navigator-name {
padding: 6px 10px 0;
font-size: 11px;
color: #cfcfd6;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.navigator-meta { padding: 2px 10px 8px; }
.rotate-row { margin-bottom: 10px; }
.btn.on { background: #33506e; border-color: #4a76a0; color: #fff; }
.export-modal { width: 560px; }
.export-summary {
display: flex;
align-items: baseline;
gap: 10px;
padding: 9px 11px;
background: #1c1c21;
border: 1px solid #303038;
border-radius: 7px;
margin-bottom: 14px;
}
.field-row { display: flex; gap: 10px; align-items: flex-end; }
.field-row .field { flex: 1; margin-bottom: 12px; }
.field-row .field.narrow { flex: 0 0 96px; }
.cloud-modal { width: 520px; }
.cloud-offline strong { display: block; margin-bottom: 6px; }
.code-block {
background: #16161a;
border: 1px solid #303038;
border-radius: 6px;
padding: 10px 12px;
font-size: 12px;
color: #c9c9d2;
overflow-x: auto;
}
.cloud-hero { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cloud-avatar {
width: 38px;
height: 38px;
border-radius: 50%;
background: #2f4a63;
color: #cfe6ff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
}
.cloud-stats {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1px;
background: #2b2b31;
border: 1px solid #2b2b31;
border-radius: 7px;
overflow: hidden;
margin: 0 0 14px;
}
.cloud-stats > div { background: #1a1a1f; padding: 9px 11px; }
.cloud-stats dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: #83838d; }
.cloud-stats dd { margin: 3px 0 0; font-size: 13px; color: #e4e4e9; }
.cloud-foot { margin: 12px 0 0; }
.banner.ok {
background: #1c2a20;
border: 1px solid #33543b;
color: #a9dcb5;
padding: 8px 10px;
border-radius: 6px;
font-size: 12px;
margin-top: 10px;
}
/* black & white contrast filters */
.bw-filters {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-bottom: 8px;
}
.bw-filter {
padding: 3px 9px;
border-radius: 999px;
border: 1px solid var(--line);
background: var(--panel-2);
color: var(--muted);
font-size: 11px;
}
.bw-filter:hover {
color: var(--text);
border-color: var(--panel-3);
}
.bw-filter.on {
color: var(--text);
border-color: var(--accent-dim);
background: var(--panel-3);
}
/* right-click context menu */
.ctx-menu {
position: fixed;
z-index: 120;
min-width: 218px;
padding: 5px;
border-radius: 8px;
background: rgba(23, 23, 28, 0.98);
border: 1px solid var(--line);
box-shadow: 0 20px 48px rgba(0, 0, 0, 0.62);
backdrop-filter: blur(10px);
}
.ctx-header {
padding: 4px 6px 7px;
margin-bottom: 4px;
border-bottom: 1px solid var(--line);
}
.ctx-rows {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.ctx-sep {
height: 1px;
margin: 4px;
background: var(--line);
}
.ctx-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 22px;
width: 100%;
padding: 6px 8px;
border-radius: 5px;
font-size: 12.5px;
text-align: left;
color: var(--text);
}
.ctx-item:hover:not(:disabled) {
background: var(--panel-3);
}
.ctx-item.danger {
color: var(--danger);
}
.ctx-key {
color: var(--muted);
font-size: 11px;
}
/* zoom controls */
.zoom-bar {
position: absolute;
right: 16px;
bottom: 12px;
z-index: 2;
display: flex;
align-items: center;
gap: 2px;
padding: 3px 6px 3px 4px;
border-radius: 999px;
background: rgba(18, 18, 22, 0.86);
border: 1px solid var(--line);
backdrop-filter: blur(8px);
opacity: 0;
transition: opacity 0.15s ease;
}
.canvas-stage:hover .zoom-bar,
.zoom-bar:focus-within {
opacity: 1;
}
.zoom-btn {
padding: 3px 9px;
border-radius: 999px;
font-size: 11px;
color: var(--muted);
}
.zoom-btn:hover:not(:disabled) {
color: var(--text);
background: var(--panel-3);
}
.zoom-btn.on {
color: var(--text);
background: var(--panel-3);
}
.zoom-pct {
min-width: 40px;
padding-right: 2px;
text-align: right;
font-size: 11px;
color: var(--muted);
font-variant-numeric: tabular-nums;
}
.canvas-stage.zoomed {
cursor: grab;
}
.canvas-stage.zoomed.panning {
cursor: grabbing;
}
.preview.zoomed {
max-width: none;
touch-action: none;
user-select: none;
}
/* Live 1:1 grain loupe in the Effects panel. */
.grain-patch {
margin: 12px 2px 4px;
display: flex;
flex-direction: column;
gap: 6px;
}
.grain-patch canvas {
width: 148px;
height: 100px;
display: block;
border-radius: 4px;
border: 1px solid #2c2c33;
background: #17171b;
}
.grain-patch span {
font-size: 10px;
color: #8a8a93;
letter-spacing: 0.02em;
}
/* 100% detail patches inside the export dialog. */
.export-detail {
display: flex;
gap: 10px;
margin: 12px 0 4px;
}
.export-detail figure {
margin: 0;
}
.export-detail canvas {
width: 132px;
display: block;
border-radius: 4px;
border: 1px solid #2c2c33;
background: #17171b;
}
.export-detail figcaption {
margin-top: 4px;
font-size: 10px;
line-height: 1.3;
color: #8a8a93;
}
/* 1:1 grain loupe pinned inside the crop rectangle while cropping. */
.crop-loupe {
position: absolute;
display: block;
border-radius: 3px;
border: 1px solid rgba(255, 255, 255, 0.4);
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
background: #17171b;
cursor: grab;
touch-action: none;
user-select: none;
z-index: 4;
}
.crop-loupe:active {
cursor: grabbing;
}
/* Sample-point picker for the export detail patches. */
.export-detail-pick {
display: flex;
gap: 8px;
align-items: flex-start;
margin: 10px 0 2px;
}
.export-detail-pick .pick-frame {
position: relative;
width: 132px;
cursor: crosshair;
}
.export-detail-pick canvas {
width: 132px;
display: block;
border-radius: 4px;
border: 1px solid #2c2c33;
background: #101014;
}
.export-detail-pick .pick-dot {
position: absolute;
width: 9px;
height: 9px;
margin: -5px 0 0 -5px;
border-radius: 50%;
border: 1px solid #fff;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65);
pointer-events: none;
}
.export-detail-pick .hint {
font-size: 10px;
line-height: 1.4;
color: #8a8a93;
}
/* Coordinates and grain scale under the export detail patches. */
.export-detail-info {
margin: 6px 0 2px;
font-variant-numeric: tabular-nums;
}
/* Grid thumbnails are rotated inline to the photo's current orientation. */
.card-thumb img {
transform-origin: 50% 50%;
}
/* Rubber-band selection over empty grid space. */
.grid {
position: relative;
}
.marquee {
position: absolute;
border: 1px solid var(--accent);
background: rgba(91, 157, 217, 0.14);
border-radius: 2px;
pointer-events: none;
z-index: 3;
}
/* Full-window drop target while files are dragged in from the desktop. */
.drop-overlay {
position: fixed;
inset: 0;
z-index: 95;
display: grid;
place-items: center;
pointer-events: none;
background: rgba(9, 9, 12, 0.78);
box-shadow: inset 0 0 0 2px var(--accent);
}
.drop-overlay-inner {
padding: 22px 30px;
border: 1.5px dashed var(--accent);
border-radius: 10px;
background: rgba(18, 18, 23, 0.9);
color: #dfe8f3;
font-size: 14px;
line-height: 1.5;
text-align: center;
}
.drop-overlay-inner strong { display: block; font-size: 16px; }
/* Keyboard shortcut reference. */
.shortcuts-modal {
width: min(880px, 94vw);
}
.shortcut-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px 30px;
}
.shortcut-grid h3 {
margin: 0 0 6px;
font-size: 10.5px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #8b93a3;
}
.shortcut-row {
display: flex;
gap: 12px;
align-items: baseline;
padding: 4px 0;
border-bottom: 1px solid #1d1d23;
font-size: 12px;
}
.shortcut-keys {
flex: 0 0 118px;
color: #e2e8f2;
font-weight: 600;
font-variant-numeric: tabular-nums;
}
.shortcut-what { color: #98a2b3; }
.help-btn {
width: 26px;
height: 26px;
border-radius: 50%;
border: 1px solid #33333c;
font-weight: 700;
}
/* Sits beside the ? button: opens the printable guide in a new tab. */
.guide-btn {
display: inline-flex;
align-items: center;
height: 26px;
padding: 0 10px;
border-radius: 13px;
border: 1px solid #33333c;
background: transparent;
color: #c3c9d4;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.02em;
text-decoration: none;
white-space: nowrap;
transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}
.guide-btn:hover {
color: #fff;
border-color: #4c8dff;
background: rgba(76, 141, 255, 0.1);
}