Files
Alvin-Zilverstand 32e258dee7
Build Windows Release / Rust tests (push) Canceled after 0s
Build Windows Release / Windows installer (push) Canceled after 0s
feat: v0.1.1 update stability, storage, buffer, events, and branding
- Bump all versions to 0.1.1 and harden the auto-updater so a newer
  release is only offered when an installer asset actually exists.
- Add clip-folder relocation, an auto-prune toggle, cached free-disk
  checks, and a 512 MB RAM clip buffer that reduces I/O for manual,
  auto, and hotkey clips.
- Move clip-related UI actions off the main thread, add optimistic
  toggling, and switch to event-driven library and screenshot refresh.
- Add a modal clip viewer with a fallback path/reveal UI when the
  local MP4 cannot load, plus a bitrate preset dropdown, an auto-clip
  rule grid, and per-game enable/disable controls.
- Replace placeholder icons with an SVG source and regenerate raster
  assets from a 1024x1024 render of the new ClipForge logo.
- Update the implementation-status notes for v0.1.1.
2026-09-14 16:24:01 +02:00

825 lines
12 KiB
CSS

:root {
color-scheme: dark;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #101114;
color: #f5f7fb;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: #101114;
}
button,
input,
textarea {
font: inherit;
}
.app-shell {
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
min-height: 100vh;
}
.sidebar {
padding: 20px 14px;
background: #17191f;
border-right: 1px solid #2a2e38;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 28px;
font-weight: 800;
}
.brand-mark {
display: grid;
place-items: center;
width: 34px;
height: 34px;
border-radius: 8px;
background: #6ee7b7;
color: #111827;
font-size: 13px;
}
nav {
display: grid;
gap: 6px;
}
.nav-item,
.filters button,
.segmented button,
.actions button,
.icon-button,
.record-button {
border: 1px solid transparent;
border-radius: 8px;
color: #f5f7fb;
background: transparent;
cursor: pointer;
}
.nav-item {
width: 100%;
padding: 11px 12px;
text-align: left;
color: #b8c0cc;
}
.nav-item.active,
.nav-item:hover {
background: #232833;
color: #ffffff;
}
.workspace {
min-width: 0;
padding: 18px;
}
.notice {
margin-top: 12px;
padding: 10px 12px;
border: 1px solid #31533f;
border-radius: 8px;
background: #13251b;
color: #b7f7cc;
}
.recording-bar {
display: grid;
grid-template-columns: minmax(220px, 1fr) 150px auto auto auto;
align-items: center;
gap: 14px;
padding: 14px 16px;
border: 1px solid #2c3140;
border-radius: 8px;
background: #191c24;
}
.eyebrow {
margin: 0 0 4px;
color: #8d99aa;
font-size: 12px;
text-transform: uppercase;
}
h1,
h2,
h3,
p {
margin-top: 0;
}
h1 {
margin-bottom: 0;
font-size: 22px;
}
h2 {
margin-bottom: 0;
font-size: 20px;
}
h3 {
margin-bottom: 6px;
font-size: 15px;
}
.meter-group {
display: grid;
gap: 7px;
}
.meter {
display: block;
height: 7px;
overflow: hidden;
border-radius: 999px;
background: #29303c;
}
.meter i {
display: block;
height: 100%;
background: #60a5fa;
}
.status-pill {
padding: 8px 11px;
border-radius: 999px;
background: #263142;
color: #bcd7ff;
white-space: nowrap;
}
.status-pill.warn {
background: #7f1d1d;
color: #fecaca;
}
.icon-button,
.record-button,
.actions button {
padding: 10px 14px;
background: #242a36;
}
.record-button {
background: #ef4444;
color: white;
font-weight: 700;
}
.content-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 18px;
margin-top: 18px;
}
.library-panel,
.detail-panel {
min-width: 0;
}
.section-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
margin-bottom: 16px;
}
.segmented {
display: flex;
padding: 3px;
border-radius: 8px;
background: #1b2029;
}
.segmented button {
padding: 7px 10px;
color: #aeb8c6;
}
.segmented .selected,
.filters .selected {
background: #334155;
color: #fff;
}
.filters {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 16px;
}
.search-input {
margin-bottom: 12px;
}
.filters button {
padding: 8px 11px;
background: #1b2029;
color: #b7c1d0;
}
.clip-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
gap: 14px;
}
.clip-list {
display: grid;
gap: 8px;
}
.clip-list .clip-card {
display: grid;
grid-template-columns: 150px minmax(0, 1fr);
align-items: center;
}
.clip-list .thumb {
height: 84px;
margin-bottom: 0;
}
.clip-card {
overflow: hidden;
border: 1px solid #2b3140;
border-radius: 8px;
background: #191c24;
}
.clip-card.selected {
border-color: #6ee7b7;
}
.clip-card h3,
.clip-card p {
padding: 0 12px;
}
.clip-card p,
.muted {
color: #9ba7b8;
}
.settings-panel .warn {
color: #e6b116;
background: rgba(230, 177, 22, 0.08);
border-left: 3px solid #e6b116;
padding: 8px 10px;
border-radius: 4px;
}
.file-path {
overflow-wrap: anywhere;
}
.empty-state {
min-height: 160px;
display: grid;
place-items: center;
border: 1px dashed rgba(231, 237, 251, 0.2);
border-radius: 8px;
color: #9ba7b8;
}
.tag-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 14px 0 2px;
}
.tag-row span {
padding: 5px 8px;
border-radius: 999px;
background: #263142;
color: #cfe0f7;
font-size: 12px;
}
.thumb {
display: grid;
place-items: center;
overflow: hidden;
height: 132px;
margin-bottom: 12px;
background: #243244;
color: #e5e7eb;
font-weight: 800;
letter-spacing: 0;
}
.thumb img,
.preview video {
width: 100%;
height: 100%;
object-fit: cover;
}
.screenshot-thumb img {
object-fit: contain;
background: #000;
}
.thumb.kill {
background: linear-gradient(135deg, #1f2937, #7f1d1d);
}
.thumb.objective {
background: linear-gradient(135deg, #172554, #064e3b);
}
.thumb.manual {
background: linear-gradient(135deg, #312e81, #3f3f46);
}
.detail-panel {
padding: 14px;
border: 1px solid #2c3140;
border-radius: 8px;
background: #191c24;
}
.preview {
display: grid;
place-items: center;
overflow: hidden;
aspect-ratio: 16 / 9;
margin-bottom: 14px;
border-radius: 8px;
background: #0c0f14;
color: #718096;
}
.trim-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin: 16px 0;
}
label {
display: grid;
gap: 6px;
color: #c7d0dd;
font-size: 13px;
}
input,
select,
textarea {
width: 100%;
padding: 9px 10px;
border: 1px solid #313847;
border-radius: 8px;
background: #10141b;
color: #f5f7fb;
}
textarea {
min-height: 92px;
resize: vertical;
}
.actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.actions button {
flex: 1 1 96px;
}
.auto-box {
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid #2d3443;
}
.auto-box p {
margin-bottom: 0;
color: #9ba7b8;
}
.settings-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 14px;
margin-top: 18px;
}
.settings-panel,
.table-panel {
padding: 16px;
border: 1px solid #2c3140;
border-radius: 8px;
background: #191c24;
}
.settings-panel button {
margin-top: 12px;
padding: 10px 14px;
border: 1px solid #374151;
border-radius: 8px;
background: #242a36;
color: #f5f7fb;
}
.field-row {
display: flex;
gap: 12px;
margin-top: 12px;
}
.field-row label {
flex: 1;
display: flex;
flex-direction: column;
gap: 6px;
}
.toggle {
display: flex;
align-items: center;
grid-auto-flow: column;
grid-template-columns: auto 1fr;
gap: 8px;
margin-top: 14px;
}
.toggle input,
.event-row input {
width: 18px;
height: 18px;
}
.table-panel {
margin-top: 18px;
}
.event-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 10px;
}
.auto-clip-group {
margin-top: 18px;
padding: 14px;
border: 1px solid #2c3140;
border-radius: 10px;
background: #12161d;
}
.auto-clip-group.disabled {
opacity: 0.55;
}
.auto-clip-group-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.auto-clip-group-head .toggle {
display: flex;
align-items: center;
gap: 10px;
margin: 0;
font-size: 15px;
}
.auto-clip-group .event-list {
margin-top: 0;
}
.auto-clip-global-actions {
margin-top: 14px;
}
.event-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px;
border: 1px solid #2c3140;
border-radius: 8px;
background: #12161d;
}
.event-row span {
display: grid;
gap: 3px;
}
.event-row small {
color: #9ba7b8;
}
.upload-history {
display: grid;
gap: 8px;
}
.upload-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px;
border: 1px solid #2c3140;
border-radius: 8px;
background: #12161d;
}
.upload-row-main {
display: grid;
gap: 4px;
}
.upload-row.failed {
border-color: #7f1d1d;
}
.upload-row.uploaded {
border-color: #14532d;
}
.upload-row .status-pill {
justify-self: start;
}
@media (max-width: 900px) {
.app-shell,
.content-grid,
.recording-bar {
grid-template-columns: 1fr;
}
.sidebar {
border-right: 0;
border-bottom: 1px solid #2a2e38;
}
nav {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.nav-item {
text-align: center;
}
}
/* Onboarding wizard */
.onboarding-shell {
grid-template-columns: minmax(0, 1fr);
}
.onboarding-workspace {
display: grid;
place-items: center;
padding: 40px 20px;
}
.wizard-card {
width: min(560px, 100%);
background: #17191f;
border: 1px solid #2a2e38;
border-radius: 16px;
padding: 28px;
}
.wizard-header {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 22px;
}
.wizard-header h1 {
margin: 0;
font-size: 22px;
}
.wizard-steps {
display: flex;
gap: 6px;
padding: 0;
margin: 0 0 22px;
list-style: none;
}
.wizard-steps li {
flex: 1;
padding: 8px 6px;
border-radius: 8px;
background: #242a36;
color: #9ca3af;
font-size: 12px;
font-weight: 600;
text-align: center;
}
.wizard-steps li.active {
background: #064e3b;
color: #6ee7b7;
}
.wizard-steps li.done {
color: #34d399;
}
.wizard-body h2 {
margin: 0 0 8px;
font-size: 18px;
}
.wizard-body .muted {
margin-top: 0;
}
.wizard-options {
display: grid;
gap: 4px;
margin: 18px 0;
}
.wizard-actions {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
margin-top: 24px;
}
.ghost-button,
.primary-button {
padding: 10px 18px;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
}
.ghost-button {
background: transparent;
border: 1px solid #374151;
color: #d1d5db;
}
.primary-button {
background: #10b981;
border: 1px solid #10b981;
color: #06281f;
}
.primary-button:hover {
background: #34d399;
}
.hotkey-list {
list-style: none;
margin: 18px 0 0;
padding: 0;
display: grid;
gap: 10px;
}
.hotkey-list li {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
background: #242a36;
border-radius: 8px;
}
.hotkey-list kbd {
background: #101114;
border: 1px solid #374151;
border-bottom-width: 2px;
border-radius: 6px;
padding: 4px 10px;
font-size: 12px;
color: #f5f7fb;
}
.modal-overlay {
position: fixed;
inset: 0;
z-index: 50;
display: grid;
place-items: center;
background: rgba(10, 12, 16, 0.75);
padding: 24px;
}
.modal {
width: min(880px, 100%);
max-height: 92vh;
overflow-y: auto;
background: #191d26;
border: 1px solid #2c3442;
border-radius: 12px;
box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 18px;
border-bottom: 1px solid #2c3442;
position: sticky;
top: 0;
background: #191d26;
}
.modal-header h2 {
margin: 0;
font-size: 16px;
overflow-wrap: anywhere;
}
.modal-close {
background: #2c3442;
border: 1px solid #3a4556;
border-radius: 8px;
color: #e7edfb;
font-size: 18px;
line-height: 1;
padding: 6px 12px;
cursor: pointer;
flex: none;
}
.modal-close:hover {
background: #38445a;
}
.modal-body {
padding: 18px;
display: grid;
gap: 14px;
}
.modal-body video {
width: 100%;
max-height: 56vh;
background: #000;
border-radius: 8px;
}
.modal-body img {
max-width: 100%;
max-height: 56vh;
border-radius: 8px;
}
.modal-body label,
.modal-body input {
margin: 0;
}
.video-error {
border: 1px dashed rgba(231, 237, 251, 0.25);
border-radius: 8px;
padding: 18px;
background: #141821;
display: grid;
gap: 10px;
}
.video-error h3 {
margin: 0;
color: #f87171;
font-size: 14px;
}
.video-error-detail {
color: #9ba7b8;
}