From 5390818f5a2c68010f75711870a4dd39964e7ae6 Mon Sep 17 00:00:00 2001 From: Volha Mardvilka Date: Fri, 6 Sep 2024 07:05:45 +0000 Subject: [PATCH] 364844263: (fix) add styles on hover active device tile --- .../device-item/device-item.component.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/ui/src/app/components/device-item/device-item.component.scss b/modules/ui/src/app/components/device-item/device-item.component.scss index 2c1551ea8..3dc8c0e9f 100644 --- a/modules/ui/src/app/components/device-item/device-item.component.scss +++ b/modules/ui/src/app/components/device-item/device-item.component.scss @@ -102,6 +102,22 @@ $border-radius: 12px; } } +.device-item:not(.non-interective):hover { + border-color: mat.m2-get-color-from-palette($color-primary, 600); +} + +.device-item-with-actions:not(.device-item-outdated):has( + .button-edit:not(:disabled):hover + ) { + border-color: mat.m2-get-color-from-palette($color-primary, 600); +} + +.device-item-with-actions:not(.device-item-outdated):has( + .button-start:not(:disabled):hover + ) { + border-color: mat.m2-get-color-from-palette($color-primary, 600); +} + .item-status { margin-right: 16px; grid-area: status;