farbschema angepasst
This commit is contained in:
1 parent
e063f25db2
commit
aa1bcb7c75
1 file changed
+66
-52
+66
-52
@@ -1,6 +1,16 @@
|
||||
/* Shared Event Audio stylesheet.
|
||||
* Common visual rules intentionally follow recorder.py as the reference.
|
||||
* Theme variables are injected by the Flask applications before this file.
|
||||
*
|
||||
* Core theme roles:
|
||||
* background page background and dynamic content
|
||||
* surface tables and cards
|
||||
* surface-alt table headers and secondary surfaces
|
||||
* text primary text
|
||||
* text-secondary subtitles, metadata and footer text
|
||||
* border separators and default button background
|
||||
* live-surface active/live recording surfaces
|
||||
* recording recording status and recording borders
|
||||
*/
|
||||
|
||||
* {
|
||||
@@ -19,6 +29,10 @@ body {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.dynamic-content {
|
||||
background: var(--color-background);
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 8px 0;
|
||||
font-size: 24px;
|
||||
@@ -38,7 +52,7 @@ h1 {
|
||||
}
|
||||
|
||||
.status.recording {
|
||||
background: var(--color-danger);
|
||||
background: var(--color-recording);
|
||||
color:var(--color-white);
|
||||
}
|
||||
|
||||
@@ -87,7 +101,7 @@ h1 {
|
||||
}
|
||||
|
||||
.live-item + .live-item {
|
||||
border-left: 1px solid var(--color-recording-border);
|
||||
border-left: 1px solid var(--color-border);
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
@@ -98,7 +112,7 @@ h1 {
|
||||
}
|
||||
|
||||
.live-info {
|
||||
color: var(--color-text-muted);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@@ -111,7 +125,7 @@ h1 {
|
||||
}
|
||||
|
||||
.filter-bar label {
|
||||
color: var(--color-text-muted);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@@ -122,7 +136,7 @@ h1 {
|
||||
padding: 9px;
|
||||
background: var(--color-background);
|
||||
color: var(--color-text);
|
||||
border: 1px solid var(--color-control-hover);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 5px;
|
||||
font-size: 15px;
|
||||
}
|
||||
@@ -132,7 +146,7 @@ h1 {
|
||||
}
|
||||
|
||||
.filter-info {
|
||||
color: var(--color-text-muted);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 13px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@@ -147,15 +161,15 @@ table {
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
background: var(--color-accent);
|
||||
background: var(--color-surface-alt);
|
||||
padding: 12px;
|
||||
color: contrast-color(var(--color-accent));
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 12px;
|
||||
color: var(--color-table-text);
|
||||
border-top: 1px solid var(--color-border-subtle);
|
||||
color: var(--color-text);
|
||||
border-top: 1px solid var(--color-border);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@@ -188,23 +202,23 @@ a.button {
|
||||
}
|
||||
|
||||
a.button:hover {
|
||||
background: var(--color-control-hover);
|
||||
background: var(--color-primary);
|
||||
}
|
||||
|
||||
.empty {
|
||||
padding: 30px;
|
||||
text-align: center;
|
||||
color: var(--color-text-faint);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.footer-links { display:flex; justify-content:center; align-items:center; gap:16px; margin-top:8px; }
|
||||
.footer-links a { color:var(--color-footer); text-decoration:none; }
|
||||
.footer-links a { color:var(--color-text-secondary); text-decoration:none; }
|
||||
.footer-links a:hover { color:var(--color-text); text-decoration:underline; }
|
||||
.git-icon { display:inline-block; margin-right:4px; font-size:16px; line-height:1; }
|
||||
|
||||
.footer {
|
||||
margin-top: 24px;
|
||||
color: var(--color-footer);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@@ -227,10 +241,10 @@ a.button:hover {
|
||||
.finished-table tr { display:grid; padding:16px; grid-template-columns:1fr auto; grid-template-areas:"event date" "title title" "speaker speaker" "duration duration" "audio audio" "actions actions"; gap:0 12px; margin:0; background:var(--color-surface); border:1px solid var(--color-border); border-radius:20px; box-shadow:0 8px 24px var(--color-shadow); }
|
||||
.finished-table td { display:block; border:0; padding:0; min-width:0; }
|
||||
.finished-table td:nth-child(4) { grid-area:event; justify-self:start; align-self:start; padding:6px 10px; color:var(--color-primary-hover); background:var(--color-selection); border-radius:999px; font-size:12px; font-weight:700; line-height:1.2; }
|
||||
.finished-table td:nth-child(1) { grid-area:date; justify-self:end; align-self:center; color:var(--color-text-muted); font-size:12px; white-space:nowrap; }
|
||||
.finished-table td:nth-child(1) { grid-area:date; justify-self:end; align-self:center; color:var(--color-text-secondary); font-size:12px; white-space:nowrap; }
|
||||
.finished-table td:nth-child(3) { grid-area:title; margin-top:16px; color:var(--color-text); font-size:20px; font-weight:750; line-height:1.25; }
|
||||
.finished-table td:nth-child(2) { grid-area:speaker; margin-top:6px; color:var(--color-text-muted); font-size:14px; font-weight:600; }
|
||||
.finished-table td:nth-child(5) { grid-area:duration; margin-top:16px; color:var(--color-text-muted); font-size:13px; }
|
||||
.finished-table td:nth-child(2) { grid-area:speaker; margin-top:6px; color:var(--color-text-secondary); font-size:14px; font-weight:600; }
|
||||
.finished-table td:nth-child(5) { grid-area:duration; margin-top:16px; color:var(--color-text-secondary); font-size:13px; }
|
||||
.finished-table td:nth-child(5)::before { content:"⏱ "; font-size:14px; }
|
||||
.finished-table td:nth-child(6) { grid-area:audio; margin-top:4px; }
|
||||
.finished-table td:nth-child(7) {
|
||||
@@ -251,12 +265,12 @@ a.button:hover {
|
||||
left:0;
|
||||
right:0;
|
||||
height:1px;
|
||||
background:var(--color-border-subtle);
|
||||
background:var(--color-border);
|
||||
}
|
||||
.finished-table audio { width:100%; height:42px; margin:0; }
|
||||
.finished-table a.button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 16px; margin:0; border-radius:12px; }
|
||||
.live-panel { display:block; }
|
||||
.live-item + .live-item { border-left:0; border-top:1px solid var(--color-recording-border); padding-left:0; padding-top:16px; margin-top:16px; }
|
||||
.live-item + .live-item { border-left:0; border-top:1px solid var(--color-border); padding-left:0; padding-top:16px; margin-top:16px; }
|
||||
a.button { margin-left:0; margin-right:8px; }
|
||||
}
|
||||
|
||||
@@ -289,60 +303,60 @@ a.button:hover {
|
||||
|
||||
.wave-wrap { position:relative; width:100%; height:240px; background:var(--color-surface-dark); border-radius:6px; overflow:hidden; user-select:none; touch-action:none; }
|
||||
.wave-image { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:fill; display:block; opacity:.9; pointer-events:none; }
|
||||
.selection { position:absolute; top:0; bottom:0; background:rgba(0,52,255,.16); border-left:2px solid #ffffff; border-right:2px solid #ffffff; pointer-events:none; }
|
||||
.playhead { position:absolute; top:0; bottom:0; width:2px; margin-left:-1px; background:#ffcc33; box-shadow:0 0 5px #000, 0 0 10px rgba(255,204,51,.85); z-index:4; pointer-events:none; }
|
||||
.selection { position:absolute; top:0; bottom:0; background:var(--color-selection); border-left:2px solid #ffffff; border-right:2px solid #ffffff; pointer-events:none; }
|
||||
.playhead { position:absolute; top:0; bottom:0; width:2px; margin-left:-1px; background:var(--color-primary); box-shadow:0 0 5px #000, 0 0 10px var(--color-primary); z-index:4; pointer-events:none; }
|
||||
.handle { position:absolute; top:0; bottom:0; width:18px; margin-left:-9px; cursor:ew-resize; z-index:3; touch-action:none; }
|
||||
.handle::after { content:""; position:absolute; left:7px; top:0; bottom:0; width:4px; background:var(--color-white); border-radius:2px; box-shadow:0 0 5px var(--color-shadow); }
|
||||
.view-scroll { position:relative; width:100%; height:14px; margin-top:5px; background:var(--color-border-subtle); border-radius:7px; overflow:hidden; touch-action:none; cursor:grab; }
|
||||
.view-scroll-thumb { position:absolute; top:2px; bottom:2px; left:0; min-width:14px; background:var(--color-text-faint); border-radius:5px; cursor:grab; touch-action:none; }
|
||||
.view-scroll-thumb:hover { background:var(--color-text-muted); }
|
||||
.view-scroll-thumb.dragging { background:var(--color-text-muted); cursor:grabbing; }
|
||||
.time-row { display:flex; justify-content:space-between; margin-top:8px; color:var(--color-text-muted); font-size:14px; }
|
||||
.view-scroll { position:relative; width:100%; height:14px; margin-top:5px; background:var(--color-border); border-radius:7px; overflow:hidden; touch-action:none; cursor:grab; }
|
||||
.view-scroll-thumb { position:absolute; top:2px; bottom:2px; left:0; min-width:14px; background:var(--color-text-secondary); border-radius:5px; cursor:grab; touch-action:none; }
|
||||
.view-scroll-thumb:hover { background:var(--color-text-secondary); }
|
||||
.view-scroll-thumb.dragging { background:var(--color-text-secondary); cursor:grabbing; }
|
||||
.time-row { display:flex; justify-content:space-between; margin-top:8px; color:var(--color-text-secondary); font-size:14px; }
|
||||
.controls { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:18px; }
|
||||
button, a.button { border:0; border-radius:5px; padding:8px 12px; background:var(--color-border); color:var(--color-white); cursor:pointer; text-decoration:none; font:inherit; }
|
||||
button:hover, a.button:hover { background:var(--color-control-hover); }
|
||||
button:hover, a.button:hover { background:var(--color-primary); }
|
||||
button.primary { background:var(--color-primary); color:var(--color-primary-text); }
|
||||
button.primary:hover { background:var(--color-primary-hover); }
|
||||
.button.danger { background:var(--color-danger-soft); }
|
||||
.button.danger:hover { background:var(--color-danger-soft-hover); }
|
||||
.button.danger { background:color-mix(in srgb, var(--color-surface), var(--color-danger) 12%); }
|
||||
.button.danger:hover { background:color-mix(in srgb, var(--color-surface), var(--color-danger) 20%); }
|
||||
button.danger { background:var(--color-danger); color:var(--color-white); }
|
||||
button:disabled { opacity:.45; cursor:not-allowed; }
|
||||
.position { margin-left:auto; color:var(--color-text-secondary); font-variant-numeric:tabular-nums; }
|
||||
.zoom { color:var(--color-text-muted); font-variant-numeric:tabular-nums; }
|
||||
.zoom { color:var(--color-text-secondary); font-variant-numeric:tabular-nums; }
|
||||
.values { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:20px; }
|
||||
.value { background:var(--color-surface-alt); border-radius:6px; padding:12px; }
|
||||
.value span { display:block; color:var(--color-text-muted); font-size:13px; margin-bottom:5px; }
|
||||
.value span { display:block; color:var(--color-text-secondary); font-size:13px; margin-bottom:5px; }
|
||||
.value strong { font-size:20px; font-variant-numeric:tabular-nums; }
|
||||
.actions { display:flex; gap:10px; flex-wrap:wrap; }
|
||||
.info { margin-top:16px; color:var(--color-text-muted); font-size:14px; }
|
||||
.info { margin-top:16px; color:var(--color-text-secondary); font-size:14px; }
|
||||
.message { margin-top:15px; padding:10px 12px; border-radius:6px; display:none; }
|
||||
.message.ok { display:block; background:var(--color-success); color:var(--color-success-text); }
|
||||
.message.error { display:block; background:var(--color-error); color:var(--color-error-text); }
|
||||
.meta-dialog { position:fixed; inset:0; background:var(--color-overlay); display:none; align-items:center; justify-content:center; z-index:900; padding:20px; }
|
||||
.meta-dialog.active { display:flex; }
|
||||
.meta-card { width:min(560px,100%); background:var(--color-surface-modal); border:1px solid var(--color-control-hover); border-radius:10px; padding:22px; box-shadow:0 10px 40px var(--color-shadow); }
|
||||
.meta-card { width:min(560px,100%); background:var(--color-surface); border:1px solid var(--color-border); border-radius:10px; padding:22px; box-shadow:0 10px 40px var(--color-shadow); }
|
||||
.meta-card h2 { margin-top:0; }
|
||||
.meta-card label { display:block; margin:14px 0; color:var(--color-text-secondary); }
|
||||
.meta-card input { display:block; width:100%; margin-top:6px; padding:10px; background:var(--color-background); color:var(--color-text); border:1px solid var(--color-control-hover); border-radius:5px; font-size:16px; }
|
||||
.meta-card input { display:block; width:100%; margin-top:6px; padding:10px; background:var(--color-background); color:var(--color-text); border:1px solid var(--color-border); border-radius:5px; font-size:16px; }
|
||||
.meta-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:20px; }
|
||||
.meta-actions button { margin:0; }
|
||||
.progress-box { display:none; margin-top:16px; }
|
||||
.progress-box.active { display:block; }
|
||||
.progress-track { height:18px; background:var(--color-border-subtle); border-radius:9px; overflow:hidden; }
|
||||
.progress-track { height:18px; background:var(--color-border); border-radius:9px; overflow:hidden; }
|
||||
.progress-bar { height:100%; width:0; background:var(--color-primary); transition:width .2s ease; }
|
||||
.progress-info { display:flex; justify-content:space-between; margin-top:7px; color:var(--color-text-muted); font-size:14px; font-variant-numeric:tabular-nums; }
|
||||
.progress-info { display:flex; justify-content:space-between; margin-top:7px; color:var(--color-text-secondary); font-size:14px; font-variant-numeric:tabular-nums; }
|
||||
.back { display:inline-block; margin-bottom:18px; color:var(--color-text-secondary); text-decoration:none; }
|
||||
.loading-overlay { position:fixed; inset:0; background:var(--color-overlay); display:none; align-items:center; justify-content:center; z-index:1000; }
|
||||
.loading-overlay.active { display:flex; }
|
||||
.spinner { width:54px; height:54px; border:5px solid var(--color-control-hover); border-top-color:var(--color-white); border-radius:50%; animation:spin .8s linear infinite; }
|
||||
.spinner { width:54px; height:54px; border:5px solid var(--color-primary); border-top-color:var(--color-white); border-radius:50%; animation:spin .8s linear infinite; }
|
||||
@keyframes spin { to { transform:rotate(360deg); } }
|
||||
|
||||
/* Editor overview / upload page */
|
||||
.section { background:var(--color-surface-dark); color:var(--color-white); border:1px solid var(--color-primary); border-radius:8px; padding:16px; margin:0 0 24px 0; box-shadow:0 2px 6px var(--color-shadow); }
|
||||
.settings-page .section { background:var(--color-surface); color:var(--color-text); border:1px solid var(--color-border); border-radius:8px; padding:18px; margin-bottom:18px; box-shadow:none; }
|
||||
.upload-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
|
||||
.upload-info { color:var(--color-text-muted); font-size:13px; }
|
||||
.upload-progress { display:none; flex:1 1 240px; min-width:180px; height:18px; background:var(--color-border-subtle); border-radius:9px; overflow:hidden; }
|
||||
.upload-info { color:var(--color-text-secondary); font-size:13px; }
|
||||
.upload-progress { display:none; flex:1 1 240px; min-width:180px; height:18px; background:var(--color-border); border-radius:9px; overflow:hidden; }
|
||||
.upload-progress.active { display:block; }
|
||||
.upload-progress-bar { width:0; height:100%; background:var(--color-primary); transition:width .15s ease; }
|
||||
.finished-table .actions { display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin-top:0; }
|
||||
@@ -357,17 +371,17 @@ a { color:var(--color-text-secondary); }
|
||||
.back { text-decoration:none; }
|
||||
.section h2 { margin:0 0 16px; font-size:20px; }
|
||||
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 18px; }
|
||||
.field label { display:block; color:var(--color-text-muted); font-size:13px; margin-bottom:5px; }
|
||||
.field input { width:100%; padding:9px 10px; background:var(--color-control); color:var(--color-text); border:1px solid var(--color-control-hover); border-radius:5px; font-size:15px; }
|
||||
.field label { display:block; color:var(--color-text-secondary); font-size:13px; margin-bottom:5px; }
|
||||
.field input { width:100%; padding:9px 10px; background:var(--color-surface); color:var(--color-text); border:1px solid var(--color-border); border-radius:5px; font-size:15px; }
|
||||
.field.full { grid-column:1/-1; }
|
||||
.color-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px 18px; }
|
||||
.color-field { padding:12px; background:var(--color-surface-alt); border:1px solid var(--color-border-subtle); border-radius:7px; }
|
||||
.color-field label { display:block; min-height:2.4em; margin-bottom:7px; color:var(--color-text-muted); font-size:13px; line-height:1.25; }
|
||||
.color-field { padding:12px; background:var(--color-surface-alt); border:1px solid var(--color-border); border-radius:7px; }
|
||||
.color-field label { display:block; min-height:2.4em; margin-bottom:7px; color:var(--color-text-secondary); font-size:13px; line-height:1.25; }
|
||||
.color-input-row { display:grid; grid-template-columns:minmax(0,1fr) 48px; gap:8px; align-items:center; }
|
||||
.color-field input:not([type=color]) { width:100%; min-width:0; height:40px; padding:8px 10px; background:var(--color-control); color:var(--color-text); border:1px solid var(--color-control-hover); border-radius:5px; font-size:14px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
|
||||
.color-field input[type=color] { width:48px; height:40px; padding:3px; background:var(--color-control); border:1px solid var(--color-control-hover); border-radius:5px; cursor:pointer; }
|
||||
.theme-intro { margin:-4px 0 16px; color:var(--color-text-muted); font-size:14px; line-height:1.45; }
|
||||
.note { color:var(--color-text-muted); font-size:13px; margin-top:8px; }
|
||||
.color-field input:not([type=color]) { width:100%; min-width:0; height:40px; padding:8px 10px; background:var(--color-surface); color:var(--color-text); border:1px solid var(--color-border); border-radius:5px; font-size:14px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
|
||||
.color-field input[type=color] { width:48px; height:40px; padding:3px; background:var(--color-surface); border:1px solid var(--color-border); border-radius:5px; cursor:pointer; }
|
||||
.theme-intro { margin:-4px 0 16px; color:var(--color-text-secondary); font-size:14px; line-height:1.45; }
|
||||
.note { color:var(--color-text-secondary); font-size:13px; margin-top:8px; }
|
||||
|
||||
@media (min-width:801px) and (max-width:1200px) {
|
||||
.finished-table td:last-child {
|
||||
@@ -435,26 +449,26 @@ a { color:var(--color-text-secondary); }
|
||||
.recordings-table td:nth-child(2) {
|
||||
grid-area:size;
|
||||
margin-top:10px;
|
||||
color:var(--color-text-muted);
|
||||
color:var(--color-text-secondary);
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
.recordings-table td:nth-child(2)::before {
|
||||
content:"Größe: ";
|
||||
color:var(--color-text-faint);
|
||||
color:var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.recordings-table td:nth-child(3) {
|
||||
grid-area:duration;
|
||||
margin-top:10px;
|
||||
color:var(--color-text-muted);
|
||||
color:var(--color-text-secondary);
|
||||
font-size:13px;
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
.recordings-table td:nth-child(3)::before {
|
||||
content:"Dauer: ";
|
||||
color:var(--color-text-faint);
|
||||
color:var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.recordings-table td:nth-child(4) {
|
||||
@@ -475,7 +489,7 @@ a { color:var(--color-text-secondary); }
|
||||
left:0;
|
||||
right:0;
|
||||
height:1px;
|
||||
background:var(--color-border-subtle);
|
||||
background:var(--color-border);
|
||||
pointer-events:none;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user