mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-05-06 05:48:41 +00:00
refactor: update component styles and improve accessibility
- Adjusted hover shadow effects in CycleTransferStatsClient for better visual feedback. - Fixed aspect ratio class in GlobalMap for consistent rendering. - Updated font weight in GroupSwitch for improved readability. - Modified Separator width class in Header for consistency across components. - Enhanced button hover effects in NetworkChartClient for better user interaction. - Adjusted margin class in ServerDetailOverview for better alignment. - Updated margin classes in ServerOverview for consistent spacing. - Refined background gradient classes in ServiceTrackerClient for better color management. - Standardized font weight in TabSwitch for consistency. - Corrected stroke color class in AnimatedCircularProgressBar for better theming. - Improved focus outline handling in badge and button components for better accessibility. - Updated chart component styles for improved visual hierarchy. - Adjusted checkbox focus outline for better accessibility. - Enhanced command dialog styles for improved usability. - Updated dialog close button focus outline for better accessibility. - Refined dropdown menu styles for improved usability and consistency. - Adjusted input focus outline for better accessibility. - Improved popover content styles for better visibility. - Updated select component styles for improved usability. - Refined separator height classes for consistency. - Enhanced switch component focus outline for better accessibility. - Updated table footer styles for improved visual consistency. - Refactored global CSS to use new Tailwind CSS configuration and improved theming. - Removed outdated Tailwind configuration file.
This commit is contained in:
@@ -407,7 +407,7 @@ export const NetworkChartClient = React.memo(function NetworkChart({
|
||||
<div className="relative">
|
||||
{activeCharts.length > 0 && (
|
||||
<button
|
||||
className="absolute -top-2 right-1 z-10 text-xs px-2 py-1 bg-stone-100/80 dark:bg-stone-800/80 backdrop-blur-sm rounded-[5px] text-muted-foreground hover:text-foreground transition-colors"
|
||||
className="absolute -top-2 right-1 z-10 text-xs px-2 py-1 bg-stone-100/80 dark:bg-stone-800/80 backdrop-blur-xs rounded-[5px] text-muted-foreground hover:text-foreground transition-colors"
|
||||
onClick={clearAllSelections}
|
||||
>
|
||||
{t("monitor.clearSelections", "Clear")} ({activeCharts.length})
|
||||
|
||||
Reference in New Issue
Block a user