v0.11.9 UI Polish Fixes for backup section
- Fix 1: margin-bottom 1rem→1.5rem on .deploy-cross-drive - Fix 2: info tooltip on "Módszer"; rename restic to "Titkosított mentés" - Fix 3: replace disabled checkbox with green/gray dot status indicator - Fix 4: progressive disclosure — dest/method/schedule selects disabled until "Engedélyezve" checked; backend preserves config when disabling - Fix 5: remove all emoji from deploy.html and backups.html backup sections Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2274,7 +2274,7 @@ a.stat-card:hover {
|
||||
border-radius: var(--radius);
|
||||
padding: 1.5rem;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.deploy-cross-drive h4 {
|
||||
@@ -2330,3 +2330,95 @@ a.stat-card:hover {
|
||||
gap: .5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* Info tooltip (i icon with hover popup) */
|
||||
.info-tooltip {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin-left: .35rem;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.info-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--text-muted);
|
||||
color: var(--text-muted);
|
||||
font-size: .65rem;
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
font-family: Georgia, serif;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.info-tooltip-text {
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: calc(100% + 8px);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 320px;
|
||||
padding: .75rem 1rem;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
||||
font-size: .8rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: var(--text-secondary);
|
||||
z-index: 100;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.info-tooltip:hover .info-tooltip-text,
|
||||
.info-tooltip:focus .info-tooltip-text,
|
||||
.info-tooltip:focus-within .info-tooltip-text {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.info-tooltip-text::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
border: 6px solid transparent;
|
||||
border-top-color: var(--border-color);
|
||||
}
|
||||
|
||||
/* Nightly backup status indicator (non-interactive) */
|
||||
.cross-drive-nightly-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: .5rem;
|
||||
}
|
||||
|
||||
.nightly-status-indicator {
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.nightly-enabled {
|
||||
background: var(--green);
|
||||
box-shadow: 0 0 4px rgba(35, 134, 54, 0.4);
|
||||
}
|
||||
|
||||
.nightly-disabled {
|
||||
background: var(--text-muted);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* meta-badge-fail */
|
||||
.meta-badge-fail {
|
||||
background: var(--red-bg);
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user