Critical: fix unsquashfs arg order, quote Exec paths with spaces, fix compare_versions antisymmetry, chunk-based signature detection, bounded ELF header reads. High: handle NULL CVE severity, prevent pipe deadlock in inspector, fix glob_match edge case, fix backup archive path collisions, async crash detection with stderr capture. Medium: gate scan on auto-scan setting, fix window size persistence, fix announce() for Stack containers, claim lightbox gesture, use serde_json for CLI output, remove dead CSS @media blocks, add detail-tab persistence, remove invalid metainfo categories, byte-level fuse signature search. Low: tighten Wayland env var detection, ELF magic validation, timeout for update info extraction, quoted arg parsing, stop watcher timer on window destroy, GSettings choices/range constraints, remove unused CSS classes, define status-ok/status-attention CSS.
196 lines
4.0 KiB
CSS
196 lines
4.0 KiB
CSS
/* ===== Status Badges ===== */
|
|
.status-badge {
|
|
border-radius: 9px;
|
|
padding: 3px 10px;
|
|
min-height: 18px;
|
|
font-size: 0.8em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.status-badge.success {
|
|
background: @success_bg_color;
|
|
color: @success_fg_color;
|
|
}
|
|
|
|
.status-badge.warning {
|
|
background: @warning_bg_color;
|
|
color: @warning_fg_color;
|
|
}
|
|
|
|
.status-badge.error {
|
|
background: @error_bg_color;
|
|
color: @error_fg_color;
|
|
}
|
|
|
|
.status-badge.info {
|
|
background: @accent_bg_color;
|
|
color: @accent_fg_color;
|
|
}
|
|
|
|
.status-badge.neutral {
|
|
background: @card_shade_color;
|
|
color: @window_fg_color;
|
|
}
|
|
|
|
/* Badge with icon prefix */
|
|
.status-badge-with-icon {
|
|
border-radius: 9px;
|
|
padding: 3px 10px;
|
|
min-height: 18px;
|
|
font-size: 0.8em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.status-badge-with-icon.success {
|
|
background: @success_bg_color;
|
|
color: @success_fg_color;
|
|
}
|
|
|
|
.status-badge-with-icon.warning {
|
|
background: @warning_bg_color;
|
|
color: @warning_fg_color;
|
|
}
|
|
|
|
.status-badge-with-icon.error {
|
|
background: @error_bg_color;
|
|
color: @error_fg_color;
|
|
}
|
|
|
|
.status-badge-with-icon.info {
|
|
background: @accent_bg_color;
|
|
color: @accent_fg_color;
|
|
}
|
|
|
|
.status-badge-with-icon.neutral {
|
|
background: @card_shade_color;
|
|
color: @window_fg_color;
|
|
}
|
|
|
|
/* ===== Drop Overlay ===== */
|
|
.drop-overlay-scrim {
|
|
background: alpha(@window_bg_color, 0.75);
|
|
}
|
|
|
|
.drop-zone-card {
|
|
background: @card_bg_color;
|
|
border-radius: 16px;
|
|
padding: 48px 40px;
|
|
border: 2px dashed alpha(@accent_bg_color, 0.5);
|
|
box-shadow: 0 8px 32px alpha(black, 0.15);
|
|
}
|
|
|
|
.drop-zone-icon {
|
|
color: @accent_bg_color;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* ===== Card View (using libadwaita .card) ===== */
|
|
.card {
|
|
padding: 24px 20px;
|
|
}
|
|
|
|
flowboxchild:focus-visible .card {
|
|
outline: 2px solid @accent_bg_color;
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
/* App card status indicators */
|
|
.status-ok {
|
|
border: 1px solid alpha(@success_bg_color, 0.4);
|
|
}
|
|
|
|
.status-attention {
|
|
border: 1px solid alpha(@warning_bg_color, 0.4);
|
|
}
|
|
|
|
/* Rounded icon clipping for list view */
|
|
.icon-rounded {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* ===== WCAG AAA Focus Indicators ===== */
|
|
button:focus-visible,
|
|
togglebutton:focus-visible,
|
|
menubutton:focus-visible,
|
|
checkbutton:focus-visible,
|
|
switch:focus-visible,
|
|
entry:focus-visible,
|
|
searchentry:focus-visible,
|
|
spinbutton:focus-visible {
|
|
outline: 2px solid @accent_bg_color;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
row:focus-visible {
|
|
outline: 2px solid @accent_bg_color;
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
/* Letter-circle fallback icon */
|
|
.letter-icon {
|
|
border-radius: 50%;
|
|
font-weight: 700;
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
/* Integration emblem on card icon */
|
|
.integration-emblem {
|
|
background: @success_bg_color;
|
|
color: @success_fg_color;
|
|
border-radius: 50%;
|
|
padding: 2px;
|
|
min-width: 16px;
|
|
min-height: 16px;
|
|
}
|
|
|
|
/* ===== Detail View Banner ===== */
|
|
.detail-banner {
|
|
padding: 18px 0;
|
|
background-image: linear-gradient(
|
|
to bottom,
|
|
alpha(@accent_bg_color, 0.08),
|
|
transparent
|
|
);
|
|
border-radius: 12px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
/* ===== Compatibility Warning Banner ===== */
|
|
.compat-warning-banner {
|
|
background: alpha(@warning_bg_color, 0.15);
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
border: 1px solid alpha(@warning_bg_color, 0.3);
|
|
}
|
|
|
|
/* ===== Reduced Motion (WCAG AAA 2.3.3) ===== */
|
|
/* Note: GTK CSS does not support prefers-reduced-motion or !important.
|
|
Reduced motion is handled by the GTK toolkit settings instead
|
|
(gtk-enable-animations). */
|
|
|
|
/* ===== Minimum Target Size (WCAG 2.5.8) ===== */
|
|
button.flat.circular,
|
|
button.flat:not(.pill):not(.suggested-action):not(.destructive-action) {
|
|
min-width: 24px;
|
|
min-height: 24px;
|
|
}
|
|
|
|
/* ===== Screenshot Lightbox ===== */
|
|
window.lightbox {
|
|
background-color: rgba(0, 0, 0, 0.92);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
window.lightbox .lightbox-counter {
|
|
background: rgba(0, 0, 0, 0.6);
|
|
color: white;
|
|
border-radius: 12px;
|
|
padding: 4px 12px;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
window.lightbox .lightbox-nav {
|
|
min-width: 48px;
|
|
min-height: 48px;
|
|
}
|