Files
borg-restore/user/evolution.css
T
2026-07-04 11:20:44 +02:00

452 lines
9.3 KiB
CSS

:root {
--br-bg: #f5f8ff;
--br-card: #ffffff;
--br-text: #111827;
--br-muted: #64748b;
--br-border: #e2e8f0;
--br-accent: #2563eb;
--br-accent-dark: #1d4ed8;
--br-danger: #dc2626;
--br-warn: #f59e0b;
--br-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
* { box-sizing: border-box; }
body {
margin: 0;
background: var(--br-bg);
color: var(--br-text);
font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}
.br-container {
max-width: none;
width: 100%;
margin: 16px auto;
padding: 16px 24px;
}
.br-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.br-title {
font-size: 20px;
font-weight: 700;
letter-spacing: 0.2px;
}
.br-card {
background: var(--br-card);
border: 1px solid var(--br-border);
border-radius: 12px;
padding: 24px;
box-shadow: var(--br-shadow);
margin-bottom: 16px;
}
.br-muted { color: var(--br-muted); }
.br-alert {
border-radius: 10px;
padding: 10px 12px;
margin: 8px 0;
border: 1px solid transparent;
}
.br-alert-error { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.br-alert-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.br-alert-success { background: #ecfdf3; border-color: #bbf7d0; color: #166534; }
.br-error-debug { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.br-overlay {
position: fixed;
inset: 0;
background: rgba(15, 23, 42, 0.35);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.br-modal {
width: min(560px, 92vw);
background: #ffffff;
border-radius: 12px;
padding: 16px;
border: 2px solid var(--br-border);
box-shadow: var(--br-shadow);
display: flex;
flex-direction: column;
max-height: 90vh;
}
.br-modal-log {
width: 90vw;
background: #ffffff;
}
.br-modal-warning {
background: #f3c8c8;
}
.br-modal-warning .br-btn-ghost {
background: #ffffff;
}
.br-modal-warning .br-btn-ghost:hover {
background: #f8fafc;
}
.br-modal-danger {
border-color: var(--br-danger);
}
.br-modal-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 12px;
}
.br-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 10px;
}
.br-modal-title {
font-weight: 700;
font-size: 16px;
}
.br-modal-body {
max-height: 60vh;
overflow: auto;
}
.br-modal-scroll {
overflow: auto;
flex: 1;
min-height: 0;
}
.br-log-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.br-log-header-actions {
display: flex;
gap: 8px;
}
.br-log-meta {
display: grid;
gap: 6px;
margin: 10px 0 12px;
padding: 10px 12px;
border: 1px solid var(--br-border);
border-radius: 10px;
background: #f8fafc;
font-size: 13px;
}
.br-log-actions {
margin: 8px 0 10px;
}
.br-picker-path {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
flex-wrap: wrap;
}
.br-picker-list {
list-style: none;
padding: 0;
margin: 0;
border: 1px solid var(--br-border);
border-radius: 10px;
max-height: 45vh;
overflow: auto;
}
.br-picker-create {
margin-top: 10px;
display: flex;
gap: 8px;
}
.br-picker-create input {
flex: 1;
padding: 6px 8px;
border: 1px solid var(--br-border);
border-radius: 8px;
}
.br-picker-list li {
padding: 8px 12px;
cursor: pointer;
border-bottom: 1px solid var(--br-border);
}
.br-picker-list li:last-child {
border-bottom: none;
}
.br-picker-list li:hover {
background: #f8fafc;
}
.br-picker-list li.active {
background: #d1fae5;
}
.br-btn-small {
padding: 6px 10px;
font-size: 12px;
}
.br-actions-row {
display: flex;
gap: 8px;
margin-top: 10px;
flex-wrap: wrap;
}
.br-actions-row form {
margin: 0;
}
.br-icon-btn {
border: 1px solid var(--br-border);
background: #fff;
border-radius: 8px;
padding: 4px 8px;
cursor: pointer;
font-size: 16px;
line-height: 1;
}
.br-icon-btn:hover {
background: #f8fafc;
}
.br-table {
width: 100%;
border-collapse: collapse;
border: 1px solid var(--br-border);
border-radius: 10px;
overflow: hidden;
background: #fff;
table-layout: fixed;
}
.br-table th {
text-align: left;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--br-muted);
background: #f1f5f9;
padding: 10px;
}
.br-table td {
padding: 10px;
border-top: 1px solid var(--br-border);
vertical-align: top;
}
.br-table tr:nth-child(even) td { background: #f8fafc; }
.br-col-select { width: 50px; text-align: center; }
.br-col-status { width: 120px; }
.br-col-progress { width: 90px; }
.br-col-mode { width: 180px; }
.br-col-user { width: 140px; }
.br-col-backup { width: 220px; overflow-wrap: anywhere; }
.br-col-path { width: 260px; overflow-wrap: anywhere; }
.br-col-target { width: 220px; overflow-wrap: anywhere; }
.br-col-time { width: 150px; }
.br-col-actions { width: 120px; }
.br-table input[type="checkbox"] {
accent-color: var(--br-accent);
width: 16px;
height: 16px;
}
.br-actions { display: flex; gap: 8px; align-items: center; margin: 10px 0; }
.br-btn {
background: var(--br-accent);
color: #fff;
border: none;
border-radius: 8px;
padding: 8px 14px;
cursor: pointer;
font-weight: 600;
}
.br-btn:hover { background: var(--br-accent-dark); }
.br-btn-ghost {
background: transparent;
color: var(--br-text);
border: 1px solid var(--br-border);
}
.br-btn-ghost:hover { background: #e2e8f0; }
.br-btn-danger {
background: var(--br-danger);
}
.br-btn-danger:hover { background: #b91c1c; }
.br-link-danger { color: var(--br-danger); text-decoration: none; }
.br-link-danger:hover { text-decoration: underline; }
.br-inline-form { display: inline; }
.br-link-button {
background: none;
border: none;
padding: 0;
margin: 0;
color: inherit;
cursor: pointer;
font: inherit;
}
.br-link-button:hover { text-decoration: underline; }
.br-link-button.br-link-danger { color: var(--br-danger); }
input[type="text"] {
width: 100%;
max-width: 680px;
padding: 8px 10px;
border: 1px solid var(--br-border);
border-radius: 8px;
font-size: 14px;
background: #fff;
}
pre {
background: #0b1020;
color: #e2e8f0;
padding: 12px;
border-radius: 8px;
overflow: auto;
}
a { color: var(--br-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.br-toast {
position: fixed;
bottom: 18px;
right: 18px;
background: #16a34a;
color: #fff;
padding: 12px 16px;
border-radius: 10px;
box-shadow: 0 12px 28px rgba(16, 24, 40, 0.25);
z-index: 9999;
font-weight: 600;
}
.br-toast-stack {
position: fixed;
top: 18px;
right: 18px;
display: flex;
flex-direction: column;
gap: 8px;
z-index: 9999;
}
.br-toast-stack .br-toast {
position: static;
top: auto;
bottom: auto;
}
.br-toast-error {
background: #dc2626;
top: 18px;
bottom: auto;
}
.br-toast-success {
background: #16a34a;
}
.br-status-line {
margin: 6px 0;
font-size: 14px;
}
.br-progress {
height: 8px;
background: #e5e7eb;
border-radius: 999px;
overflow: hidden;
margin: 6px 0 12px;
}
.br-progress-bar {
height: 100%;
background: var(--br-accent);
transition: width 0.3s ease;
}
.br-restore-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
margin: 12px 0 10px;
}
.br-restore-box {
border: 1px solid var(--br-border);
border-radius: 10px;
background: #f1f5f9;
padding: 12px 14px;
}
.br-restore-box-full {
grid-column: 1 / -1;
}
.br-restore-box-title {
margin: 0 0 10px;
font-size: 14px;
font-weight: 700;
}
.br-radio-row {
display: flex;
align-items: flex-start;
gap: 8px;
margin: 0 0 10px;
}
.br-radio-row:last-child {
margin-bottom: 0;
}
.br-radio-row input[type="radio"] {
margin-top: 2px;
}
.br-target-panel {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid #cbd5e1;
}
.br-target-label {
display: block;
margin-bottom: 6px;
font-weight: 700;
}
.br-target-input-wrap {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 6px;
}
.br-target-input-wrap input[type="text"] {
max-width: none;
flex: 1;
}
.br-usage-box {
border: 1px solid var(--br-border);
border-radius: 10px;
background: #f1f5f9;
padding: 12px 14px;
margin: 8px 0 0;
}
.br-usage-box-title {
margin: 0 0 8px;
font-size: 14px;
font-weight: 700;
}
@media (max-width: 980px) {
.br-restore-grid {
grid-template-columns: 1fr;
}
}
.br-italic {
font-style:italic;
}
.small { font-size:85%; }
.m-0 {margin:0;}
.my-5 {margin: 12px 0px;}
.br-border { border: 1px solid #eaeaea;}
.br-bg-light { background-color: #f9f9f9;}
.br-pad-x { padding-left: 1.25rem; padding-right: 1.25rem; }
.br-strong { font-weight: bold;}
.br-d-inline-block { display: inline-block; }
.br-d-block { display: block; }
.br-d-flex { display: flex; }
.br-g-4 { gap: 4px; }
.br-flex-col { flex-direction: column;}
.br-btn { border-radius: 16px; text-transform: uppercase; font-weight: normal;}
.br-icon-btn { padding: 8px; }
.border-top { border-top: 1px solid #eaeaea; padding-top: 12px; }
.border-bottom { border-bottom: 1px solid #eaeaea; padding-bottom: 12px; }
.align-self-center { align-self: center; }
#job-status {
background: transparent !important;
background-image: none !important;
}
#job-status > img {
display: none !important;
}
.br-jobs-empty {
margin: 0;
color: var(--br-muted);
background: transparent !important;
background-image: none !important;
}