mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-13 07:16:55 +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>
101 lines
1.9 KiB
CSS
101 lines
1.9 KiB
CSS
/* Toast Component */
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 70px; /* Positioned below header */
|
|
right: var(--spacing-lg);
|
|
z-index: var(--z-toast);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.toast {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
padding: var(--spacing-md);
|
|
background-color: var(--bg-primary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--border-radius);
|
|
box-shadow: var(--shadow-lg);
|
|
min-width: 20rem;
|
|
max-width: 24rem;
|
|
opacity: 0; /* Start hidden */
|
|
transform: translateX(100%); /* Start off-screen */
|
|
transition: transform var(--transition-normal), opacity var(--transition-normal); /* Transition both */
|
|
}
|
|
|
|
.toast.show {
|
|
opacity: 1; /* Fully visible */
|
|
transform: translateX(0); /* Slide into view */
|
|
}
|
|
|
|
.toast:not(.hidden) {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.toast-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toast-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.toast-title {
|
|
font-weight: 600;
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.toast-message {
|
|
font-size: var(--font-size-sm);
|
|
color: inherit;
|
|
}
|
|
|
|
.toast-close {
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
color: inherit;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.toast-close:hover {
|
|
color: inherit;
|
|
}
|
|
|
|
.toast-success {
|
|
border-left: 4px solid var(--success-color);
|
|
color: var(--success-color);
|
|
}
|
|
|
|
.toast-warning {
|
|
border-left: 4px solid var(--warning-color);
|
|
color: var(--warning-color);
|
|
}
|
|
|
|
.toast-error {
|
|
border-left: 4px solid var(--error-color);
|
|
color: var(--error-color);
|
|
}
|
|
|
|
.toast-info {
|
|
border-left: 4px solid var(--info-color);
|
|
color: var(--info-color);
|
|
}
|
|
|
|
.toast-undo {
|
|
border-left: 4px solid var(--warning-color);
|
|
color: var(--warning-color);
|
|
}
|
|
|
|
.toast-redo {
|
|
border-left: 4px solid var(--info-color);
|
|
color: var(--info-color);
|
|
}
|