Fix: Shutdown/Restart actions

Feat: Add USB Forwarding selection
This commit is contained in:
2026-09-07 11:32:41 +01:00
parent cc6d70baaf
commit 1436f4ecb8
6 changed files with 336 additions and 14 deletions

View File

@@ -116,9 +116,10 @@ button.image-card:active {
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
/* Status Bar Icon Buttons */
/* Power Menu Button in the Status Bar - Pure Icon Only */
menubutton.flat {
menubutton.flat,
button.status-bar-icon {
background: transparent;
background-color: transparent;
background-image: none;
@@ -127,7 +128,8 @@ menubutton.flat {
padding: 0;
}
menubutton.flat > button {
menubutton.flat > button,
button.status-bar-icon {
background: transparent;
background-color: transparent;
background-image: none;
@@ -135,19 +137,21 @@ menubutton.flat > button {
border: none;
box-shadow: none;
border-radius: 8px;
padding: 6px 12px; /* Expands the clickable hit target across the full box */
padding: 6px 12px;
transition: all 200ms ease;
}
menubutton.flat:hover > button,
menubutton.flat > button:hover {
menubutton.flat > button:hover,
button.status-bar-icon:hover {
background-color: #27272a;
color: #ffffff;
border: none;
box-shadow: none;
}
/* When the popover menu is open (:checked or :active) */
/* Power menu active state */
menubutton.flat:checked > button,
menubutton.flat:active > button,
menubutton.flat > button:checked,
@@ -199,4 +203,107 @@ popover button.error-label {
popover button.error-label:hover {
background-color: rgba(248, 113, 113, 0.15);
color: #fca5a5;
}
/* USB Selection Dialog */
.usb-dialog {
background-color: #18181b;
color: #f4f4f5;
border: 1px solid #3f3f46;
border-radius: 16px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
/* Content */
.usb-dialog-content {
padding: 24px;
}
/* Description */
.usb-dialog-description {
font-size: 13px;
color: #a1a1aa;
margin-bottom: 16px;
}
/* Device list */
.usb-device-list {
background-color: #27272a;
border: 1px solid #3f3f46;
border-radius: 10px;
}
/* Device rows */
.usb-device-row {
background-color: transparent;
color: #f4f4f5;
border: none;
border-radius: 8px;
padding: 4px;
}
.usb-device-row:hover {
background-color: #3f3f46;
}
.usb-device-row:selected {
background-color: transparent;
}
/* Device checkboxes */
.usb-device-checkbox {
background-color: transparent;
color: #f4f4f5;
font-size: 14px;
padding: 8px 10px;
}
/* Dialog buttons */
.usb-dialog-buttons {
margin-top: 16px;
margin-bottom: 4px;
halign: center;
}
.usb-dialog-buttons button {
min-width: 90px;
padding: 8px 20px;
border-radius: 8px;
font-weight: 600;
background-image: none;
box-shadow: none;
text-shadow: none;
}
/* Cancel */
.usb-dialog-buttons button.usb-dialog-cancel {
background-color: #27272a;
color: #d4d4d8;
border: 1px solid #3f3f46;
}
.usb-dialog-buttons button.usb-dialog-cancel:hover {
background-color: #3f3f46;
color: #ffffff;
}
/* Select */
.usb-dialog-buttons button.usb-dialog-select {
background-color: #6366f1;
color: #ffffff;
border: 1px solid #6366f1;
}
.usb-dialog-buttons button.usb-dialog-select:hover {
background-color: #818cf8;
}