Compare commits

...

2 Commits

Author SHA1 Message Date
999c960339 Update Dashboard Tab Hover and Color Styles for Enhanced Visual Feedback
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Adjusted hover background color for inactive dashboard tab items to improve visibility.
- Refined color transition for dashboard tab close button, enhancing user interaction and visual consistency.
2026-09-18 23:57:13 +01:00
ae2ea0dc13 Refine Dashboard Tab Hover Styles for Improved Visual Feedback
- Updated hover styles for inactive dashboard tab items to enhance visual clarity and user interaction.
- Adjusted background and border properties for both light and dark modes, ensuring consistent appearance across themes.
2026-09-18 23:52:37 +01:00

View File

@ -3688,13 +3688,12 @@ body.objectKanbanColumnResizing * {
} }
.dashboard-tab-item:not(.dashboard-tab-item-active):hover { .dashboard-tab-item:not(.dashboard-tab-item-active):hover {
background: var(--color-button-background); background: color-mix(in srgb, #ffffff 45%, transparent);
border: 1px solid border: 1px solid var(--color-header-border);
color-mix( }
in srgb,
var(--color-button-border) 40%, .dark-mode .dashboard-tab-item:not(.dashboard-tab-item-active):hover {
var(--color-button-background) background: color-mix(in srgb, #ffffff 2.75%, transparent);
);
} }
.dashboard-tab-item-active { .dashboard-tab-item-active {
@ -3946,15 +3945,18 @@ body.objectKanbanColumnResizing * {
margin-left: 1px; margin-left: 1px;
margin-right: -2px; margin-right: -2px;
border-radius: 8px; border-radius: 8px;
color: var(--color-text-secondary, inherit); color: color-mix(
opacity: 0.7; in srgb,
var(--color-text-secondary, inherit) 70%,
transparent
);
cursor: pointer; cursor: pointer;
flex-shrink: 0; flex-shrink: 0;
transition: opacity 0.2s ease; transition: color 0.2s ease;
} }
.dashboard-tabs-close:hover { .dashboard-tabs-close:hover {
opacity: 1; color: var(--color-text-secondary, inherit);
} }
.dashboard-tabs-close::before { .dashboard-tabs-close::before {