mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-12 14:56:22 +08:00
# Requirements Updated - fastapi==0.116.0 - retrying==1.4.0 - uvicorn==0.35.0 # New Features - **Web UI**: Introduced a new Web UI for configuring and managing qBit Manage. - Visual Configuration Editor for YAML files. - Command Execution directly from the UI. - Undo/Redo History for changes. - Theme Support (light/dark mode). - Responsive Design for desktop and mobile. - Real-time YAML Preview. - Pass skip qbitorrent check as optional parameter to the API (Adds #860)\ **Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v4.4.0...v4.5.0 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ineednewpajamas <73252768+ineednewpajamas@users.noreply.github.com>
75 lines
1.4 KiB
CSS
75 lines
1.4 KiB
CSS
/* Modern Toggle Switch */
|
|
.toggle-container {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.toggle-input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.toggle-switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 2.75rem;
|
|
height: 1.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toggle-slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: var(--bg-accent);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 2rem;
|
|
transition: all var(--transition-fast);
|
|
box-shadow: var(--shadow-sm) inset;
|
|
}
|
|
|
|
.toggle-slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 1rem;
|
|
width: 1rem;
|
|
left: 0.25rem;
|
|
bottom: 0.25rem;
|
|
background-color: var(--bg-primary);
|
|
border-radius: 50%;
|
|
transition: all var(--transition-fast);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.toggle-input:checked + .toggle-slider {
|
|
background-color: var(--primary);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.toggle-input:checked + .toggle-slider:before {
|
|
transform: translateX(1.25rem);
|
|
background-color: var(--bg-primary);
|
|
}
|
|
|
|
.toggle-input:focus + .toggle-slider {
|
|
box-shadow: 0 0 0 3px var(--primary-focus);
|
|
}
|
|
|
|
.toggle-input:disabled + .toggle-slider {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.toggle-label {
|
|
font-size: var(--font-size-sm);
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
user-select: none;
|
|
}
|