First Commit, Code by Claude 4.7 Opus
This commit is contained in:
commit
4f1e373c4f
7 changed files with 650 additions and 0 deletions
181
controls.css
Normal file
181
controls.css
Normal file
|
|
@ -0,0 +1,181 @@
|
|||
/* ============================================================
|
||||
Reels Controls — controls.css
|
||||
============================================================ */
|
||||
|
||||
.rc-wrapper {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 9999;
|
||||
pointer-events: none; /* nur die Leiste selbst ist klickbar */
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 0 12px 14px;
|
||||
}
|
||||
|
||||
.rc-bar {
|
||||
pointer-events: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
max-width: 460px;
|
||||
padding: 9px 12px;
|
||||
border-radius: 14px;
|
||||
background: rgba(0, 0, 0, 0.62);
|
||||
backdrop-filter: blur(10px) saturate(140%);
|
||||
-webkit-backdrop-filter: blur(10px) saturate(140%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
|
||||
sans-serif;
|
||||
opacity: 0.35;
|
||||
transform: translateY(2px);
|
||||
transition: opacity 0.18s ease, transform 0.18s ease;
|
||||
}
|
||||
|
||||
.rc-wrapper:hover .rc-bar,
|
||||
.rc-bar:focus-within {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* --- Buttons ------------------------------------------------ */
|
||||
.rc-btn {
|
||||
flex: 0 0 auto;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 9px;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
cursor: pointer;
|
||||
transition: background 0.15s ease, transform 0.1s ease;
|
||||
}
|
||||
|
||||
.rc-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.rc-btn:active {
|
||||
transform: scale(0.92);
|
||||
}
|
||||
|
||||
.rc-btn svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
fill: #fff;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* --- Fortschrittsbalken ------------------------------------- */
|
||||
.rc-progress {
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
height: 16px; /* großzügige Klickfläche */
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rc-progress::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 4px;
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.rc-progress-fill {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
height: 4px;
|
||||
width: 0;
|
||||
border-radius: 4px;
|
||||
background: linear-gradient(90deg, #f58529, #dd2a7b, #8134af);
|
||||
}
|
||||
|
||||
.rc-progress-knob {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
transform: translateX(-50%);
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
|
||||
opacity: 0;
|
||||
transition: opacity 0.15s ease;
|
||||
}
|
||||
|
||||
.rc-progress:hover .rc-progress-knob,
|
||||
.rc-bar:focus-within .rc-progress-knob {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* --- Zeitanzeige -------------------------------------------- */
|
||||
.rc-time {
|
||||
flex: 0 0 auto;
|
||||
font-size: 11px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
white-space: nowrap;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* --- Lautstärke-Slider ------------------------------------- */
|
||||
.rc-vol-slider {
|
||||
flex: 0 0 70px;
|
||||
height: 16px;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rc-vol-slider::-webkit-slider-runnable-track {
|
||||
height: 4px;
|
||||
border-radius: 4px;
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
#fff 0%,
|
||||
#fff var(--rc-fill, 100%),
|
||||
rgba(255, 255, 255, 0.25) var(--rc-fill, 100%)
|
||||
);
|
||||
}
|
||||
|
||||
.rc-vol-slider::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
margin-top: -4px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.rc-vol-slider::-moz-range-track {
|
||||
height: 4px;
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.rc-vol-slider::-moz-range-progress {
|
||||
height: 4px;
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.rc-vol-slider::-moz-range-thumb {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue