diff --git a/app/assets/css/app.css b/app/assets/css/app.css index ffbe4a6b5..aa4749814 100644 --- a/app/assets/css/app.css +++ b/app/assets/css/app.css @@ -216,6 +216,14 @@ input[type='checkbox'] { color: var(--text-blocklist-item-selected-color); } +.blocklist-item:not(.blocklist-item-not-interactive):hover { + @apply border border-blue-7; + cursor: pointer; + + background-color: var(--bg-blocklist-hover-color); + color: var(--text-blocklist-hover-color); +} + .blocklist-item-box { display: flex; } diff --git a/app/react/components/datatables/TableFooter.tsx b/app/react/components/datatables/TableFooter.tsx index 1f97148ea..e398e786b 100644 --- a/app/react/components/datatables/TableFooter.tsx +++ b/app/react/components/datatables/TableFooter.tsx @@ -1,5 +1,9 @@ +import clsx from 'clsx'; import { PropsWithChildren } from 'react'; -export function TableFooter({ children }: PropsWithChildren) { - return ; +export function TableFooter({ + children, + className, +}: PropsWithChildren & { className?: string }) { + return
{children}
; } diff --git a/app/react/portainer/HomeView/EnvironmentList/EnvironmentItem/EditButtons.tsx b/app/react/portainer/HomeView/EnvironmentList/EnvironmentItem/EditButtons.tsx index e15eefc57..9df77f597 100644 --- a/app/react/portainer/HomeView/EnvironmentList/EnvironmentItem/EditButtons.tsx +++ b/app/react/portainer/HomeView/EnvironmentList/EnvironmentItem/EditButtons.tsx @@ -23,7 +23,9 @@ export function EditButtons({ environment }: { environment: Environment }) { const buttonsClasses = clsx( 'w-full h-full !ml-0 !rounded-none', - 'hover:bg-gray-3 th-dark:hover:bg-gray-9 th-highcontrast:hover:bg-white' + 'hover:bg-gray-3', + 'th-dark:hover:bg-gray-9', + 'th-highcontrast:hover:bg-white th-highcontrast:hover:text-black' ); return ( @@ -85,8 +87,13 @@ function ButtonsGrid({ return (
diff --git a/app/react/portainer/HomeView/EnvironmentList/EnvironmentList.tsx b/app/react/portainer/HomeView/EnvironmentList/EnvironmentList.tsx index 655ae0116..770c4652e 100644 --- a/app/react/portainer/HomeView/EnvironmentList/EnvironmentList.tsx +++ b/app/react/portainer/HomeView/EnvironmentList/EnvironmentList.tsx @@ -229,7 +229,7 @@ export function EnvironmentList({ onClickBrowse, onRefresh }: Props) { )) )}
- +