Spaces:
Build error

XX / frontend /src /style.css
jerymode's picture
Update frontend/src/style.css
ebf6615 verified
Raw History Blame Contribute Delete
3.92 kB
:root {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #050509;
color: #f5f5f5;
}
body {
margin: 0;
background: radial-gradient(circle at top, #1a1a2e 0, #050509 45%, #000 100%);
}
.app-root {
min-height: 100vh;
padding: 32px 16px 64px;
max-width: 1100px;
margin: 0 auto;
}
.app-header {
text-align: center;
margin-bottom: 32px;
}
.app-title {
font-size: 2.4rem;
margin: 0;
}
.app-subtitle {
margin-top: 8px;
color: #cccccc;
font-size: 0.95rem;
}
.btn-add-session {
margin-top: 20px;
background: linear-gradient(135deg, #ff7a18, #ffb347);
border: none;
color: #111;
padding: 10px 20px;
border-radius: 999px;
font-weight: 600;
cursor: pointer;
box-shadow: 0 0 20px rgba(255, 180, 71, 0.35);
}
.btn-add-session:hover {
filter: brightness(1.05);
}
.sessions-container {
display: flex;
flex-direction: column;
gap: 18px;
}
/* Session card */
.session-card {
background: rgba(10, 10, 20, 0.9);
border-radius: 18px;
padding: 18px 20px 22px;
border: 1px solid rgba(255, 255, 255, 0.06);
box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
backdrop-filter: blur(10px);
}
.session-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.session-index {
font-weight: 600;
color: #ffb347;
}
.session-status {
font-size: 0.8rem;
padding: 4px 10px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.status-idle {
color: #aaa;
}
.status-processing {
color: #ffd86b;
border-color: #ffd86b;
}
.status-done {
color: #4ade80;
border-color: #4ade80;
}
.status-error {
color: #f97373;
border-color: #f97373;
}
.step-block {
margin-top: 10px;
padding-top: 8px;
border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
.step-title {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 6px;
}
.step-number {
width: 22px;
height: 22px;
border-radius: 999px;
background: #ffb347;
color: #111;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
font-weight: 700;
}
.step-title h2 {
font-size: 1rem;
margin: 0;
}
.step-body {
margin-top: 8px;
display: flex;
flex-direction: column;
gap: 8px;
}
.input {
width: 100%;
padding: 9px 11px;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(5, 5, 12, 0.95);
color: #f5f5f5;
outline: none;
font-size: 0.9rem;
}
.input:focus {
border-color: #ffb347;
box-shadow: 0 0 0 1px rgba(255, 180, 71, 0.4);
}
.input-small {
max-width: 120px;
}
.row {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.hint {
font-size: 0.8rem;
color: #a1a1aa;
}
.step-options .checkbox {
display: flex;
gap: 8px;
align-items: center;
font-size: 0.9rem;
color: #e5e5e5;
}
.checkbox input {
width: 16px;
height: 16px;
}
/* Buttons */
.btn-primary {
background: #ff7a18;
border: none;
padding: 10px 18px;
border-radius: 999px;
color: #111;
font-weight: 600;
cursor: pointer;
width: fit-content;
}
.btn-primary:disabled {
opacity: 0.6;
cursor: default;
}
.error-msg {
margin-top: 6px;
font-size: 0.82rem;
color: #f97373;
}
.clips-list {
margin-top: 12px;
background: rgba(15, 23, 42, 0.85);
border-radius: 12px;
padding: 10px 12px;
border: 1px solid rgba(148, 163, 184, 0.3);
}
.clips-list h3 {
margin: 0 0 6px;
font-size: 0.95rem;
}
.clip-item {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 0.85rem;
padding: 4px 0;
}
.clip-duration {
color: #a5b4fc;
margin-inline: 8px;
}
.btn-download {
font-size: 0.8rem;
padding: 5px 10px;
border-radius: 999px;
background: #22c55e;
color: #02120a;
text-decoration: none;
}
/* Responsive */
@media (max-width: 768px) {
.app-root {
padding: 16px 10px 32px;
}
}