Refine camera component styles and animations for improved visual consistency
This commit is contained in:
@@ -3352,12 +3352,14 @@ p:last-child { margin-bottom: 0; }
|
||||
background: none !important;
|
||||
border: none !important;
|
||||
border-radius: 0;
|
||||
aspect-ratio: unset;
|
||||
padding: 0;
|
||||
overflow: visible;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: inherit;
|
||||
min-height: 220px;
|
||||
}
|
||||
|
||||
.cam-stage {
|
||||
@@ -3365,25 +3367,25 @@ p:last-child { margin-bottom: 0; }
|
||||
flex-direction: row;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
gap: 12px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
/* ── Product scene (between the two cameras) ── */
|
||||
.cam-scene {
|
||||
width: 150px;
|
||||
height: 140px;
|
||||
background: var(--color-bg-alt, #1a1a1a);
|
||||
border: 1px solid var(--color-border, #333);
|
||||
width: 140px;
|
||||
height: 130px;
|
||||
background: var(--color-bg-alt);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 4px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
align-self: center;
|
||||
background-image:
|
||||
linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
|
||||
background-size: 20px 20px;
|
||||
linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
|
||||
background-size: 18px 18px;
|
||||
}
|
||||
|
||||
/* ── Shared subject shapes ── */
|
||||
@@ -3402,25 +3404,25 @@ p:last-child { margin-bottom: 0; }
|
||||
}
|
||||
.cam-subject--1 { animation: cam-subject-1 9s ease-in-out infinite; }
|
||||
.cam-subject--1::before {
|
||||
width: 42px; height: 62px;
|
||||
width: 40px; height: 58px;
|
||||
background: linear-gradient(135deg, #064e3b 0%, #4ade80 100%);
|
||||
box-shadow: 0 0 18px rgba(74,222,128,.3);
|
||||
box-shadow: 0 0 18px rgba(74,222,128,.4);
|
||||
}
|
||||
.cam-subject--2 { animation: cam-subject-2 9s ease-in-out infinite; }
|
||||
.cam-subject--2::before {
|
||||
width: 34px; height: 72px;
|
||||
width: 32px; height: 68px;
|
||||
background: linear-gradient(160deg, #78350f 0%, #fbbf24 100%);
|
||||
border-radius: 6px 6px 12px 12px;
|
||||
box-shadow: 0 0 18px rgba(251,191,36,.25);
|
||||
box-shadow: 0 0 18px rgba(251,191,36,.35);
|
||||
}
|
||||
.cam-subject--3 { animation: cam-subject-3 9s ease-in-out infinite; }
|
||||
.cam-subject--3::before {
|
||||
width: 78px; height: 54px;
|
||||
width: 74px; height: 50px;
|
||||
background: linear-gradient(135deg, #1e1b4b 0%, #818cf8 100%);
|
||||
box-shadow: 0 0 18px rgba(129,140,248,.25);
|
||||
box-shadow: 0 0 18px rgba(129,140,248,.35);
|
||||
}
|
||||
|
||||
/* Flash overlay (triggered by photo camera) */
|
||||
/* Flash overlay */
|
||||
.cam-flash-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
@@ -3429,111 +3431,114 @@ p:last-child { margin-bottom: 0; }
|
||||
pointer-events: none;
|
||||
animation: cam-flash-pulse 9s linear infinite;
|
||||
}
|
||||
/* CRT-style scanlines (video cam effect) */
|
||||
/* CRT scanlines from the video cam */
|
||||
.cam-vid-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: repeating-linear-gradient(
|
||||
to bottom,
|
||||
transparent 0px, transparent 3px,
|
||||
rgba(0,0,0,.07) 3px, rgba(0,0,0,.07) 4px
|
||||
rgba(0,0,0,.08) 3px, rgba(0,0,0,.08) 4px
|
||||
);
|
||||
pointer-events: none;
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════════════════
|
||||
PHOTO CAMERA (compact / point-and-shoot)
|
||||
PHOTO CAMERA (compact point-and-shoot)
|
||||
══════════════════════════════════════════ */
|
||||
.pc-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
flex-shrink: 0;
|
||||
filter: drop-shadow(0 8px 22px rgba(0,0,0,.75));
|
||||
}
|
||||
.pc-body {
|
||||
width: 94px;
|
||||
width: 90px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
filter: drop-shadow(0 6px 18px rgba(0,0,0,.8));
|
||||
}
|
||||
/* Hot-shoe flash unit on top */
|
||||
/* Hot-shoe flash on top */
|
||||
.pc-flash-unit {
|
||||
width: 32px;
|
||||
height: 9px;
|
||||
background: #252525;
|
||||
border: 1px solid #444;
|
||||
width: 30px;
|
||||
height: 10px;
|
||||
background: var(--color-bg-alt);
|
||||
border: 1px solid var(--color-border);
|
||||
border-bottom: none;
|
||||
border-radius: 2px 2px 0 0;
|
||||
margin-left: 8px;
|
||||
border-radius: 3px 3px 0 0;
|
||||
margin-left: 10px;
|
||||
position: relative;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
|
||||
}
|
||||
.pc-flash-unit::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 2px; left: 4px; right: 4px; bottom: 2px;
|
||||
background: #ddddb8;
|
||||
background: #c8c870;
|
||||
border-radius: 1px;
|
||||
animation: pc-flash-glow 9s linear infinite;
|
||||
}
|
||||
/* Top strip */
|
||||
.pc-top {
|
||||
width: 100%;
|
||||
height: 17px;
|
||||
background: #252525;
|
||||
border-radius: 3px 3px 0 0;
|
||||
border: 1px solid #3e3e3e;
|
||||
height: 18px;
|
||||
background: var(--color-bg-alt);
|
||||
border: 1px solid var(--color-border);
|
||||
border-bottom: none;
|
||||
border-radius: 3px 3px 0 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 8px;
|
||||
position: relative;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
|
||||
}
|
||||
.pc-shutter-btn {
|
||||
position: absolute;
|
||||
top: -7px; right: 12px;
|
||||
width: 13px; height: 13px;
|
||||
background: #303030;
|
||||
top: -8px; right: 10px;
|
||||
width: 14px; height: 14px;
|
||||
background: var(--color-border);
|
||||
border-radius: 50%;
|
||||
border: 1px solid #555;
|
||||
border: 2px solid var(--color-border);
|
||||
box-shadow: 0 0 0 1px rgba(255,255,255,.15), inset 0 1px 0 rgba(255,255,255,.1);
|
||||
animation: pc-shutter 9s linear infinite;
|
||||
transform-origin: center;
|
||||
}
|
||||
.pc-viewfinder {
|
||||
width: 11px; height: 7px;
|
||||
background: #111;
|
||||
border: 1px solid #555;
|
||||
background: rgba(0,0,0,.6);
|
||||
border: 1px solid rgba(255,255,255,.18);
|
||||
border-radius: 1px;
|
||||
margin-left: auto;
|
||||
}
|
||||
/* Front face */
|
||||
.pc-front {
|
||||
width: 100%;
|
||||
height: 54px;
|
||||
background: #1e1e1e;
|
||||
border: 1px solid #3e3e3e;
|
||||
border-top-color: #555;
|
||||
height: 52px;
|
||||
background: var(--color-bg-alt);
|
||||
border: 1px solid var(--color-border);
|
||||
border-top: 1px solid rgba(255,255,255,.1);
|
||||
border-radius: 0 0 4px 4px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 10px;
|
||||
gap: 10px;
|
||||
padding: 0 8px;
|
||||
gap: 8px;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,.3);
|
||||
}
|
||||
/* Lens */
|
||||
.pc-lens-ring {
|
||||
width: 40px; height: 40px;
|
||||
width: 38px; height: 38px;
|
||||
border-radius: 50%;
|
||||
background: #111;
|
||||
border: 3px solid #383838;
|
||||
box-shadow: 0 0 0 2px #181818, inset 0 0 8px rgba(0,0,0,1);
|
||||
background: #0a0a0a;
|
||||
border: 3px solid var(--color-border);
|
||||
box-shadow: 0 0 0 1px rgba(255,255,255,.1), inset 0 0 8px rgba(0,0,0,1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.pc-lens-glass {
|
||||
width: 28px; height: 28px;
|
||||
width: 26px; height: 26px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle at 30% 30%, #1a6ad6 0%, #0a1844 50%, #000b1a 100%);
|
||||
position: relative;
|
||||
@@ -3542,112 +3547,116 @@ p:last-child { margin-bottom: 0; }
|
||||
.pc-lens-reflex {
|
||||
position: absolute;
|
||||
top: 3px; left: 3px;
|
||||
width: 8px; height: 6px;
|
||||
background: rgba(255,255,255,.22);
|
||||
width: 8px; height: 5px;
|
||||
background: rgba(255,255,255,.25);
|
||||
border-radius: 50%;
|
||||
transform: rotate(-20deg);
|
||||
}
|
||||
/* Right side grip */
|
||||
/* Grip ridges */
|
||||
.pc-grip {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
align-items: flex-end;
|
||||
gap: 5px;
|
||||
align-items: stretch;
|
||||
}
|
||||
.pc-grip::before, .pc-grip::after {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 4px;
|
||||
width: 100%;
|
||||
background: #292929;
|
||||
border: 1px solid #3a3a3a;
|
||||
background: rgba(255,255,255,.06);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 1px;
|
||||
}
|
||||
/* Polaroid prints */
|
||||
.pc-prints {
|
||||
position: relative;
|
||||
width: 94px;
|
||||
height: 58px;
|
||||
width: 90px;
|
||||
height: 52px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.pc-print {
|
||||
position: absolute;
|
||||
width: 56px; height: 62px;
|
||||
background: #f3eedd;
|
||||
width: 54px; height: 60px;
|
||||
background: #f0e8d0;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 5px 14px rgba(0,0,0,.6);
|
||||
box-shadow: 0 4px 14px rgba(0,0,0,.7);
|
||||
opacity: 0;
|
||||
}
|
||||
.pc-print__img {
|
||||
position: absolute;
|
||||
top: 6px; left: 6px; right: 6px;
|
||||
height: 40px;
|
||||
height: 38px;
|
||||
border-radius: 1px;
|
||||
}
|
||||
.pc-print--1 { left: 2px; top: 0; transform-origin: bottom center; animation: pc-print-1 9s linear infinite; }
|
||||
.pc-print--2 { left: 19px; top: 0; transform-origin: bottom center; animation: pc-print-2 9s linear infinite; }
|
||||
.pc-print--1 { left: 0; top: 0; transform-origin: bottom center; animation: pc-print-1 9s linear infinite; }
|
||||
.pc-print--2 { left: 18px; top: 0; transform-origin: bottom center; animation: pc-print-2 9s linear infinite; }
|
||||
.pc-print--3 { left: 36px; top: 0; transform-origin: bottom center; animation: pc-print-3 9s linear infinite; }
|
||||
.pc-print--1 .pc-print__img { background: linear-gradient(135deg, #064e3b, #4ade80); }
|
||||
.pc-print--2 .pc-print__img { background: linear-gradient(160deg, #78350f, #fbbf24); }
|
||||
.pc-print--3 .pc-print__img { background: linear-gradient(135deg, #1e1b4b, #818cf8); }
|
||||
|
||||
/* ══════════════════════════════════════════
|
||||
VIDEO CAMERA ON TRIPOD (retro VHS era)
|
||||
Lens barrel faces LEFT (toward the scene)
|
||||
VIDEO CAMERA ON TRIPOD (retro VHS-era)
|
||||
Lens barrel faces LEFT toward the scene
|
||||
══════════════════════════════════════════ */
|
||||
.vc-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
filter: drop-shadow(0 8px 22px rgba(0,0,0,.75));
|
||||
}
|
||||
.vc-camera {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
filter: drop-shadow(0 6px 18px rgba(0,0,0,.8));
|
||||
}
|
||||
/* Top carry handle */
|
||||
.vc-handle {
|
||||
width: 60px;
|
||||
width: 58px;
|
||||
height: 13px;
|
||||
background: #242424;
|
||||
border: 1px solid #3e3e3e;
|
||||
background: var(--color-bg-alt);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 8px 8px 0 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
|
||||
}
|
||||
.vc-handle::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 8px; top: 3px; right: 8px; bottom: 3px;
|
||||
background: repeating-linear-gradient(90deg, #2c2c2c 0, #2c2c2c 3px, #333 3px, #333 6px);
|
||||
border-radius: 3px;
|
||||
background: repeating-linear-gradient(90deg,
|
||||
rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 3px,
|
||||
transparent 3px, transparent 6px);
|
||||
border-radius: 2px;
|
||||
}
|
||||
/* Main body */
|
||||
.vc-body {
|
||||
width: 100px;
|
||||
height: 55px;
|
||||
background: #1e1e1e;
|
||||
border: 1px solid #3e3e3e;
|
||||
border-top-color: #555;
|
||||
width: 98px;
|
||||
height: 54px;
|
||||
background: var(--color-bg-alt);
|
||||
border: 1px solid var(--color-border);
|
||||
border-top: 1px solid rgba(255,255,255,.12);
|
||||
border-radius: 0 4px 4px 0;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: visible;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,.3);
|
||||
}
|
||||
/* Lens barrel — extends LEFT toward the scene */
|
||||
.vc-lens-barrel {
|
||||
position: absolute;
|
||||
left: -32px;
|
||||
left: -34px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 38px; height: 38px;
|
||||
border-radius: 50%;
|
||||
background: #181818;
|
||||
border: 2px solid #363636;
|
||||
box-shadow: 0 0 0 2px #131313, inset 0 0 8px rgba(0,0,0,.9);
|
||||
background: #0c0c0c;
|
||||
border: 2px solid var(--color-border);
|
||||
box-shadow: 0 0 0 1px rgba(255,255,255,.1), inset 0 0 8px rgba(0,0,0,1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -3656,8 +3665,8 @@ p:last-child { margin-bottom: 0; }
|
||||
.vc-lens-tip {
|
||||
width: 26px; height: 26px;
|
||||
border-radius: 50%;
|
||||
background: #101018;
|
||||
border: 1px solid #2a3a6a;
|
||||
background: #0a0a18;
|
||||
border: 1px solid rgba(100,140,255,.3);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -3673,39 +3682,40 @@ p:last-child { margin-bottom: 0; }
|
||||
position: absolute;
|
||||
top: 2px; left: 2px;
|
||||
width: 6px; height: 4px;
|
||||
background: rgba(255,255,255,.22);
|
||||
background: rgba(255,255,255,.25);
|
||||
border-radius: 50%;
|
||||
transform: rotate(-20deg);
|
||||
}
|
||||
/* Top rail detail */
|
||||
/* Top rail */
|
||||
.vc-top-rail {
|
||||
position: absolute;
|
||||
top: 0; left: 8px; right: 8px;
|
||||
top: 0; left: 6px; right: 6px;
|
||||
height: 4px;
|
||||
background: #282828;
|
||||
border: 1px solid #3e3e3e;
|
||||
background: rgba(255,255,255,.04);
|
||||
border: 1px solid var(--color-border);
|
||||
border-top: none;
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
/* REC indicator */
|
||||
.vc-rec-light {
|
||||
position: absolute;
|
||||
top: 7px; left: 18px;
|
||||
top: 8px; left: 16px;
|
||||
width: 7px; height: 7px;
|
||||
border-radius: 50%;
|
||||
background: #ef4444;
|
||||
box-shadow: 0 0 7px #ef4444;
|
||||
box-shadow: 0 0 8px #ef4444, 0 0 16px rgba(239,68,68,.4);
|
||||
animation: vc-rec-blink 1.4s ease-in-out infinite;
|
||||
}
|
||||
/* Eyepiece — extends RIGHT */
|
||||
.vc-eyepiece {
|
||||
position: absolute;
|
||||
right: -15px;
|
||||
right: -14px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 15px; height: 18px;
|
||||
background: #1a1a1a;
|
||||
border: 1px solid #3c3c3c;
|
||||
width: 14px; height: 18px;
|
||||
background: var(--color-bg-alt);
|
||||
border: 1px solid var(--color-border);
|
||||
border-left: none;
|
||||
border-radius: 0 4px 4px 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -3714,18 +3724,18 @@ p:last-child { margin-bottom: 0; }
|
||||
.vc-eyepiece::after {
|
||||
content: '';
|
||||
width: 8px; height: 8px;
|
||||
background: #08080e;
|
||||
background: rgba(0,0,0,.8);
|
||||
border-radius: 50%;
|
||||
border: 1px solid #333;
|
||||
border: 1px solid rgba(255,255,255,.15);
|
||||
}
|
||||
/* Cassette door side detail */
|
||||
/* Cassette door */
|
||||
.vc-body::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 6px; top: 8px;
|
||||
width: 30px; height: 36px;
|
||||
background: #191919;
|
||||
border: 1px solid #363636;
|
||||
right: 6px; top: 7px;
|
||||
width: 28px; height: 34px;
|
||||
background: rgba(0,0,0,.2);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 2px;
|
||||
}
|
||||
/* ── Tripod ── */
|
||||
@@ -3733,12 +3743,13 @@ p:last-child { margin-bottom: 0; }
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100px;
|
||||
width: 98px;
|
||||
filter: drop-shadow(0 4px 10px rgba(0,0,0,.6));
|
||||
}
|
||||
.vc-stem {
|
||||
width: 6px;
|
||||
height: 42px;
|
||||
background: linear-gradient(to right, #282828, #383838, #282828);
|
||||
width: 5px;
|
||||
height: 40px;
|
||||
background: linear-gradient(to right, var(--color-bg-alt), var(--color-border), var(--color-bg-alt));
|
||||
border-radius: 2px;
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
@@ -3746,30 +3757,30 @@ p:last-child { margin-bottom: 0; }
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
width: 84px;
|
||||
width: 82px;
|
||||
position: relative;
|
||||
height: 30px;
|
||||
}
|
||||
.vc-leg {
|
||||
width: 4px; height: 30px;
|
||||
background: linear-gradient(to right, #252525, #373737);
|
||||
width: 3px; height: 30px;
|
||||
background: linear-gradient(to right, var(--color-bg-alt), var(--color-border));
|
||||
border-radius: 0 0 2px 2px;
|
||||
transform-origin: top center;
|
||||
}
|
||||
.vc-leg--l { transform: rotate(-20deg); }
|
||||
.vc-leg--c { height: 22px; }
|
||||
.vc-leg--r { transform: rotate(20deg); }
|
||||
/* Leg cross-brace */
|
||||
.vc-leg--l { transform: rotate(-22deg); }
|
||||
.vc-leg--c { height: 20px; }
|
||||
.vc-leg--r { transform: rotate(22deg); }
|
||||
.vc-legs::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 10px; left: 10px; right: 10px;
|
||||
top: 9px; left: 9px; right: 9px;
|
||||
height: 2px;
|
||||
background: #2e2e2e;
|
||||
background: var(--color-border);
|
||||
border-radius: 1px;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
/* ══ Keyframes (9 s, 3 captures at 0 %, 33 %, 66 %) ══════════════ */
|
||||
/* ══ Keyframes ══ */
|
||||
@keyframes cam-subject-1 {
|
||||
0%, 30% { opacity: 1; }
|
||||
33%, 100% { opacity: 0; }
|
||||
@@ -3789,63 +3800,58 @@ p:last-child { margin-bottom: 0; }
|
||||
66% { opacity: 0; } 66.5% { opacity: 0.9; } 68.5% { opacity: 0; }
|
||||
100% { opacity: 0; }
|
||||
}
|
||||
/* Flash tube glows on capture */
|
||||
@keyframes pc-flash-glow {
|
||||
0% { background: #ddddb8; filter: brightness(1); }
|
||||
0.5% { background: #fff; filter: brightness(5); }
|
||||
2.5% { background: #ddddb8; filter: brightness(1); }
|
||||
33% { background: #ddddb8; filter: brightness(1); }
|
||||
33.5% { background: #fff; filter: brightness(5); }
|
||||
35.5% { background: #ddddb8; filter: brightness(1); }
|
||||
66% { background: #ddddb8; filter: brightness(1); }
|
||||
66.5% { background: #fff; filter: brightness(5); }
|
||||
68.5% { background: #ddddb8; filter: brightness(1); }
|
||||
100% { background: #ddddb8; filter: brightness(1); }
|
||||
0% { background: #c8c870; filter: brightness(1); }
|
||||
0.5% { background: #ffffa0; filter: brightness(4); }
|
||||
2.5% { background: #c8c870; filter: brightness(1); }
|
||||
33% { background: #c8c870; filter: brightness(1); }
|
||||
33.5% { background: #ffffa0; filter: brightness(4); }
|
||||
35.5% { background: #c8c870; filter: brightness(1); }
|
||||
66% { background: #c8c870; filter: brightness(1); }
|
||||
66.5% { background: #ffffa0; filter: brightness(4); }
|
||||
68.5% { background: #c8c870; filter: brightness(1); }
|
||||
100% { background: #c8c870; filter: brightness(1); }
|
||||
}
|
||||
/* Shutter button press */
|
||||
@keyframes pc-shutter {
|
||||
0% { transform: scaleY(1); }
|
||||
0.4% { transform: scaleY(0.72) translateY(1px); }
|
||||
0.4% { transform: scaleY(0.7) translateY(1px); }
|
||||
2% { transform: scaleY(1); }
|
||||
33% { transform: scaleY(1); }
|
||||
33.4% { transform: scaleY(0.72) translateY(1px); }
|
||||
33.4% { transform: scaleY(0.7) translateY(1px); }
|
||||
35% { transform: scaleY(1); }
|
||||
66% { transform: scaleY(1); }
|
||||
66.4% { transform: scaleY(0.72) translateY(1px); }
|
||||
66.4% { transform: scaleY(0.7) translateY(1px); }
|
||||
68% { transform: scaleY(1); }
|
||||
100% { transform: scaleY(1); }
|
||||
}
|
||||
/* Polaroid ejects */
|
||||
@keyframes pc-print-1 {
|
||||
0% { opacity: 0; transform: rotate(-12deg) translateY(-18px); }
|
||||
0% { opacity: 0; transform: rotate(-12deg) translateY(-16px); }
|
||||
1.5% { opacity: 1; }
|
||||
4% { opacity: 1; transform: rotate(-12deg) translateY(0); }
|
||||
95% { opacity: 1; transform: rotate(-12deg) translateY(0); }
|
||||
99% { opacity: 0; } 100% { opacity: 0; transform: rotate(-12deg) translateY(-18px); }
|
||||
99% { opacity: 0; } 100% { opacity: 0; transform: rotate(-12deg) translateY(-16px); }
|
||||
}
|
||||
@keyframes pc-print-2 {
|
||||
0%, 33% { opacity: 0; transform: rotate(-2deg) translateY(-18px); }
|
||||
0%, 33% { opacity: 0; transform: rotate(-2deg) translateY(-16px); }
|
||||
34.5% { opacity: 1; }
|
||||
37% { opacity: 1; transform: rotate(-2deg) translateY(0); }
|
||||
95% { opacity: 1; transform: rotate(-2deg) translateY(0); }
|
||||
99% { opacity: 0; } 100% { opacity: 0; transform: rotate(-2deg) translateY(-18px); }
|
||||
99% { opacity: 0; } 100% { opacity: 0; transform: rotate(-2deg) translateY(-16px); }
|
||||
}
|
||||
@keyframes pc-print-3 {
|
||||
0%, 66% { opacity: 0; transform: rotate(10deg) translateY(-18px); }
|
||||
0%, 66% { opacity: 0; transform: rotate(10deg) translateY(-16px); }
|
||||
67.5% { opacity: 1; }
|
||||
70% { opacity: 1; transform: rotate(10deg) translateY(0); }
|
||||
95% { opacity: 1; transform: rotate(10deg) translateY(0); }
|
||||
99% { opacity: 0; } 100% { opacity: 0; transform: rotate(10deg) translateY(-18px); }
|
||||
99% { opacity: 0; } 100% { opacity: 0; transform: rotate(10deg) translateY(-16px); }
|
||||
}
|
||||
/* VHS REC blink */
|
||||
@keyframes vc-rec-blink {
|
||||
0%, 45% { opacity: 1; }
|
||||
55%, 100% { opacity: 0.1; }
|
||||
0%, 45% { opacity: 1; }
|
||||
55%, 100% { opacity: 0.15; }
|
||||
}
|
||||
/* VHS lens zoom breathe */
|
||||
@keyframes vc-lens-zoom {
|
||||
0%, 100% { transform: translateY(-50%) scale(1); }
|
||||
50% { transform: translateY(-50%) scale(1.07); }
|
||||
50% { transform: translateY(-50%) scale(1.08); }
|
||||
}
|
||||
|
||||
/* ── Reduced-motion ── */
|
||||
@@ -3862,9 +3868,3 @@ p:last-child { margin-bottom: 0; }
|
||||
transform: rotate(-12deg) translateY(0) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Dark-mode border tokens ── */
|
||||
[data-theme="dark"] .cam-scene {
|
||||
background-color: var(--color-bg-alt);
|
||||
border-color: var(--color-border);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user