Refresh the Unraid WebGUI
This commit is contained in:
+84
-5
@@ -11,6 +11,7 @@
|
||||
--bu-accent-hover: var(--orange-400, #c94a17);
|
||||
--bu-good: #138a62;
|
||||
--bu-bad: #c93642;
|
||||
--bu-warn: #d46a16;
|
||||
--bu-focus: rgba(232, 93, 36, .25);
|
||||
background: var(--bu-page);
|
||||
color: var(--bu-text) !important;
|
||||
@@ -20,13 +21,14 @@
|
||||
padding: 10px 18px 40px;
|
||||
}
|
||||
|
||||
.bu-header { align-items: center; display: flex; justify-content: space-between; margin: 6px 0 22px; }
|
||||
.bu-header { align-items: center; display: flex; justify-content: space-between; margin: 6px 0 22px; padding: 8px 2px; }
|
||||
.bu-brand { align-items: center; display: flex; gap: 14px; min-width: 0; }
|
||||
.bu-logo { display: block; flex: 0 0 auto; height: 58px; object-fit: contain; width: 58px; }
|
||||
#urbm-app .bu-header h1 { color: var(--bu-text) !important; font-size: 30px; font-weight: 700; line-height: 1.2; margin: 0; }
|
||||
.bu-version { border: 1px solid var(--bu-border); border-radius: 999px; display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 7px; vertical-align: middle; }
|
||||
#urbm-app .bu-header p { color: var(--bu-muted) !important; font-size: 16px; margin: 5px 0 0; opacity: .78; }
|
||||
.bu-health { background: var(--bu-panel); border: 1px solid var(--bu-border); border-radius: 999px; color: var(--bu-text); font-weight: 600; padding: 9px 15px; }
|
||||
.bu-health { align-items: center; background: var(--bu-panel); border: 1px solid var(--bu-border); border-radius: 999px; color: var(--bu-text); display: inline-flex; font-weight: 600; gap: 8px; padding: 9px 15px; }
|
||||
.bu-health::before { background: currentColor; border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent); content: ''; height: 8px; width: 8px; }
|
||||
.bu-health.ok { color: var(--bu-good); }
|
||||
.bu-health.bad { color: var(--bu-bad); }
|
||||
|
||||
@@ -57,9 +59,25 @@
|
||||
|
||||
.bu-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
|
||||
.bu-chart-grid-layout { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
|
||||
.bu-card { background: var(--bu-panel); border: 1px solid var(--bu-border); border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.12); color: var(--bu-text); padding: 18px; }
|
||||
.bu-card { background: var(--bu-panel); border: 1px solid color-mix(in srgb, var(--bu-border) 78%, transparent); border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.08); color: var(--bu-text); padding: 20px; }
|
||||
#urbm-app .bu-card h2, #urbm-app .bu-card h3 { color: var(--bu-text) !important; font-weight: 700; margin-top: 0; }
|
||||
.bu-stat { color: var(--bu-text); font-size: 32px; font-weight: 700; }
|
||||
.bu-section-gap { margin-top: 16px; }
|
||||
.bu-eyebrow { color: var(--bu-accent); display: block; font-size: 12px; font-weight: 800; letter-spacing: .11em; margin-bottom: 4px; text-transform: uppercase; }
|
||||
.bu-overview-hero { align-items: center; background: linear-gradient(115deg, color-mix(in srgb, var(--bu-good) 11%, var(--bu-panel)), var(--bu-panel)); border: 1px solid color-mix(in srgb, var(--bu-good) 55%, var(--bu-border)); border-radius: 12px; display: grid; gap: 16px; grid-template-columns: auto minmax(0, 1fr) auto; margin-bottom: 16px; overflow: hidden; padding: 22px 24px; position: relative; }
|
||||
.bu-overview-hero.active { background: linear-gradient(115deg, color-mix(in srgb, var(--bu-accent) 12%, var(--bu-panel)), var(--bu-panel)); border-color: color-mix(in srgb, var(--bu-accent) 60%, var(--bu-border)); }
|
||||
.bu-overview-hero.bad { background: linear-gradient(115deg, color-mix(in srgb, var(--bu-bad) 11%, var(--bu-panel)), var(--bu-panel)); border-color: color-mix(in srgb, var(--bu-bad) 58%, var(--bu-border)); }
|
||||
.bu-overview-hero.neutral { background: linear-gradient(115deg, color-mix(in srgb, var(--bu-border) 12%, var(--bu-panel)), var(--bu-panel)); }
|
||||
.bu-overview-icon { align-items: center; background: var(--bu-good); border-radius: 50%; color: #fff; display: flex; font-size: 22px; font-weight: 800; height: 48px; justify-content: center; width: 48px; }
|
||||
.bu-overview-hero.active .bu-overview-icon { background: var(--bu-accent); }
|
||||
.bu-overview-hero.bad .bu-overview-icon { background: var(--bu-bad); }
|
||||
.bu-overview-hero.neutral .bu-overview-icon { background: var(--bu-border-strong); }
|
||||
#urbm-app .bu-overview-copy h2 { color: var(--bu-text) !important; font-size: 22px; margin: 0; }
|
||||
.bu-overview-copy p { color: var(--bu-muted); margin: 4px 0 0; }
|
||||
.bu-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
|
||||
.bu-stat-card { align-items: center; display: flex; justify-content: space-between; min-height: 88px; }
|
||||
.bu-stat-icon { align-items: center; background: var(--bu-panel-alt); border-radius: 9px; color: var(--bu-muted); display: flex; font-size: 20px; height: 42px; justify-content: center; width: 42px; }
|
||||
.bu-stat-card.has-alert .bu-stat, .bu-stat-card.has-alert .bu-stat-icon { color: var(--bu-bad); }
|
||||
.bu-chart { display: block; height: 240px; margin-top: 12px; overflow: visible; width: 100%; }
|
||||
.bu-chart-grid line { stroke: var(--bu-border); stroke-width: 1; }
|
||||
.bu-chart-grid text, .bu-chart-date { fill: var(--bu-muted); font-size: 11px; }
|
||||
@@ -72,6 +90,7 @@
|
||||
#urbm-app .bu-muted { color: var(--bu-muted) !important; opacity: .72; }
|
||||
.bu-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-bottom: 14px; }
|
||||
.bu-actions { display: flex; flex-wrap: wrap; gap: 7px; }
|
||||
.bu-row-actions { align-items: center; display: flex; gap: 7px; justify-content: flex-end; }
|
||||
.bu-table-actions { align-items: flex-start; min-width: 310px; }
|
||||
.bu-table-actions .bu-button { flex: 0 0 auto; }
|
||||
.bu-warning { color: var(--bu-bad) !important; display: block; font-size: 13px; font-weight: 700; margin-top: 5px; }
|
||||
@@ -112,8 +131,17 @@
|
||||
.bu-workload-options { display: grid; gap: 15px; grid-template-columns: repeat(2, minmax(220px, 1fr)); margin-top: 15px; }
|
||||
.bu-manual-source { display: grid; gap: 7px; margin-top: 14px; }
|
||||
.bu-info-card { background: var(--bu-panel-alt); border: 1px solid var(--bu-border); border-radius: 6px; padding: 16px; }
|
||||
.bu-fieldset { border: 1px solid var(--bu-border); border-radius: 6px; padding: 14px; }
|
||||
.bu-fieldset { border: 1px solid color-mix(in srgb, var(--bu-border) 78%, transparent); border-radius: 8px; padding: 16px; }
|
||||
.bu-fieldset legend { color: var(--bu-text); font-size: 17px; font-weight: 700; padding: 0 7px; }
|
||||
.bu-danger-zone { background: color-mix(in srgb, var(--bu-bad) 5%, var(--bu-panel)); border-color: color-mix(in srgb, var(--bu-bad) 55%, var(--bu-border)); }
|
||||
.bu-form-heading { border-bottom: 1px solid var(--bu-border); margin: -2px 0 20px; padding-bottom: 15px; }
|
||||
.bu-form-heading h2 { margin-bottom: 4px; }
|
||||
.bu-form-heading p { margin: 0; }
|
||||
.bu-form-section { border: 1px solid var(--bu-border); border-radius: 8px; padding: 0; }
|
||||
.bu-form-section summary { cursor: pointer; font-size: 16px; font-weight: 700; padding: 14px 16px; }
|
||||
.bu-form-section[open] summary { border-bottom: 1px solid var(--bu-border); }
|
||||
.bu-form-section > :not(summary) { margin-left: 16px; margin-right: 16px; }
|
||||
.bu-form-actions { align-items: center; background: color-mix(in srgb, var(--bu-panel) 92%, transparent); border-top: 1px solid var(--bu-border); bottom: 0; justify-content: flex-end; margin: 4px -20px -20px; padding: 14px 20px; position: sticky; z-index: 5; }
|
||||
.bu-retention-grid { display: grid; gap: 15px; grid-template-columns: repeat(4, minmax(150px, 1fr)); }
|
||||
.bu-schedule-grid { display: grid; gap: 15px; grid-template-columns: minmax(240px, 2fr) minmax(150px, 1fr); }
|
||||
.bu-weekdays { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
|
||||
@@ -168,10 +196,22 @@
|
||||
#urbm-app .bu-button.primary:hover { background: var(--bu-accent-hover) !important; }
|
||||
#urbm-app .bu-button.danger { color: var(--bu-bad) !important; }
|
||||
#urbm-app .bu-button:disabled { cursor: wait; opacity: .55; }
|
||||
.bu-action-menu { position: relative; }
|
||||
#urbm-app .bu-action-menu > summary { align-items: center; display: inline-flex; gap: 8px; list-style: none; }
|
||||
.bu-action-menu > summary::-webkit-details-marker { display: none; }
|
||||
.bu-action-menu-popover { background: var(--bu-panel); border: 1px solid var(--bu-border-strong); border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.22); display: grid; min-width: 220px; padding: 6px; position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; }
|
||||
#urbm-app .bu-action-menu-popover .bu-button { background: transparent !important; border-color: transparent !important; justify-content: flex-start; text-align: left; width: 100%; }
|
||||
#urbm-app .bu-action-menu-popover .bu-button:hover { background: var(--bu-panel-alt) !important; border-color: transparent !important; }
|
||||
#urbm-app .bu-action-menu-popover .bu-button.danger { border-top: 1px solid var(--bu-border) !important; border-radius: 0 !important; margin-top: 4px !important; }
|
||||
.bu-filter { align-items: center; background: var(--bu-input); border: 1px solid var(--bu-border-strong); border-radius: 6px; display: flex; gap: 7px; min-width: 230px; padding: 0 10px; }
|
||||
#urbm-app .bu-filter input { background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--bu-text) !important; min-height: 38px; min-width: 0; outline: 0; padding: 7px 0 !important; width: 100%; }
|
||||
|
||||
.bu-table { border-collapse: collapse; color: var(--bu-text); width: 100%; }
|
||||
.bu-table th, .bu-table td { border-bottom: 1px solid var(--bu-border); color: var(--bu-text); padding: 12px 8px; text-align: left; vertical-align: top; }
|
||||
.bu-table th { color: var(--bu-text); font-size: 13px; font-weight: 700; letter-spacing: .03em; opacity: .76; text-transform: uppercase; }
|
||||
.bu-table tbody tr { transition: background-color .15s ease; }
|
||||
.bu-table tbody tr:not(.bu-log-row):hover { background: color-mix(in srgb, var(--bu-accent) 4%, transparent); }
|
||||
.bu-path-cell { max-width: 420px; overflow-wrap: anywhere; }
|
||||
.bu-table-scroll { max-width: 100%; overflow-x: auto; }
|
||||
.bu-snapshot-table { table-layout: fixed; }
|
||||
.bu-snapshot-id { width: 90px; }
|
||||
@@ -230,6 +270,20 @@
|
||||
#bu-toast.show { display: block; }
|
||||
#bu-toast.error { border-color: var(--bu-bad); color: var(--bu-bad); }
|
||||
|
||||
.bu-dialog[hidden] { display: none; }
|
||||
.bu-dialog { align-items: center; display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 100001; }
|
||||
.bu-dialog-backdrop { background: rgba(10,14,18,.62); inset: 0; position: absolute; }
|
||||
.bu-dialog-panel { background: var(--bu-panel); border: 1px solid var(--bu-border-strong); border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.38); display: grid; gap: 16px; grid-template-columns: auto minmax(0,1fr); max-width: 560px; padding: 24px; position: relative; width: 100%; }
|
||||
.bu-dialog-icon { align-items: center; background: color-mix(in srgb, var(--bu-bad) 13%, transparent); border-radius: 50%; color: var(--bu-bad); display: flex; font-size: 22px; font-weight: 800; height: 46px; justify-content: center; width: 46px; }
|
||||
.bu-dialog-icon.safe { background: color-mix(in srgb, var(--bu-good) 13%, transparent); color: var(--bu-good); }
|
||||
#urbm-app .bu-dialog-panel h2 { color: var(--bu-text) !important; font-size: 21px; margin: 0 0 8px; }
|
||||
.bu-dialog-message { color: var(--bu-muted); line-height: 1.55; white-space: pre-line; }
|
||||
.bu-dialog-confirm { display: grid; font-weight: 700; gap: 7px; margin-top: 16px; }
|
||||
.bu-dialog-confirm[hidden] { display: none; }
|
||||
#urbm-app .bu-dialog-confirm input { background: var(--bu-input) !important; border: 1px solid var(--bu-border-strong) !important; border-radius: 5px !important; color: var(--bu-text) !important; font: inherit; min-height: 40px; padding: 9px 10px !important; }
|
||||
.bu-dialog-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }
|
||||
body.bu-dialog-open { overflow: hidden; }
|
||||
|
||||
#urbm-app [data-tooltip] { cursor: help; }
|
||||
#urbm-app button[data-tooltip],
|
||||
#urbm-app input[data-tooltip],
|
||||
@@ -269,6 +323,22 @@
|
||||
top: -12px;
|
||||
}
|
||||
|
||||
@media (max-width: 1000px) {
|
||||
.bu-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.bu-chart-grid-layout { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.bu-responsive-table thead { display: none; }
|
||||
.bu-responsive-table, .bu-responsive-table tbody, .bu-responsive-table tr, .bu-responsive-table td { display: block; width: 100%; }
|
||||
.bu-responsive-table tr { border: 1px solid var(--bu-border); border-radius: 8px; margin-bottom: 12px; padding: 6px 12px; }
|
||||
.bu-responsive-table td { align-items: start; border-bottom: 1px solid color-mix(in srgb, var(--bu-border) 55%, transparent); display: grid; gap: 12px; grid-template-columns: minmax(105px, 32%) minmax(0, 1fr); padding: 10px 0; }
|
||||
.bu-responsive-table td::before { color: var(--bu-muted); content: attr(data-label); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
|
||||
.bu-responsive-table td:last-child { border-bottom: 0; }
|
||||
.bu-row-actions { justify-content: flex-start; }
|
||||
.bu-action-menu-popover { left: 0; right: auto; }
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
#urbm-app { padding-left: 8px; padding-right: 8px; }
|
||||
.bu-form { grid-template-columns: 1fr; }
|
||||
@@ -276,11 +346,20 @@
|
||||
.bu-retention-grid { grid-template-columns: 1fr; }
|
||||
.bu-schedule-grid { grid-template-columns: 1fr; }
|
||||
.bu-form-grid { grid-template-columns: 1fr; }
|
||||
.bu-chart-grid-layout { grid-template-columns: 1fr; }
|
||||
.bu-stat-grid { grid-template-columns: 1fr 1fr; }
|
||||
.bu-progress-label { grid-template-columns: 1fr; }
|
||||
.bu-progress-label span { text-align: left; }
|
||||
.bu-header { align-items: flex-start; flex-direction: column; gap: 12px; }
|
||||
.bu-overview-hero { align-items: start; grid-template-columns: auto minmax(0,1fr); padding: 18px; }
|
||||
.bu-overview-action { grid-column: 1 / -1; width: 100%; }
|
||||
.bu-overview-action .bu-button { width: 100%; }
|
||||
.bu-toolbar { align-items: stretch; }
|
||||
.bu-toolbar > .bu-actions { width: 100%; }
|
||||
.bu-filter { flex: 1 1 100%; }
|
||||
.bu-table { display: block; overflow-x: auto; }
|
||||
.bu-table-actions { min-width: 240px; }
|
||||
#bu-tooltip { font-size: 13px; }
|
||||
.bu-dialog-panel { grid-template-columns: 1fr; padding: 20px; }
|
||||
.bu-dialog-actions { flex-direction: column-reverse; }
|
||||
.bu-dialog-actions .bu-button { width: 100%; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user