From 40a5408e583f2250ac15fc0e383718a87db7fcee Mon Sep 17 00:00:00 2001 From: Alla Doroshkevych Date: Fri, 3 May 2024 10:55:40 -0400 Subject: [PATCH] lint fix --- .../src/clinical-lowlight-theme/FolderTree.module.scss | 2 +- .../src/orion-fusion-theme/FolderTree.module.scss | 1 + .../src/subcomponents/FolderTreeItem.module.scss | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/terra-folder-tree/src/clinical-lowlight-theme/FolderTree.module.scss b/packages/terra-folder-tree/src/clinical-lowlight-theme/FolderTree.module.scss index a565c9b762..8778486ad2 100644 --- a/packages/terra-folder-tree/src/clinical-lowlight-theme/FolderTree.module.scss +++ b/packages/terra-folder-tree/src/clinical-lowlight-theme/FolderTree.module.scss @@ -3,7 +3,7 @@ --terra-folder-tree-item-border-bottom: #181b1d; --terra-folder-tree-item-background: #1e3a49; --terra-folder-tree-item-hover-background-color: rgb(203, 230, 247, 0.25); - + --terra-folder-tree-item-hover-before-background-color: rgb(203, 230, 247, 0.25); --terra-folder-tree-item-selected-background-color: #232a2d; --terra-folder-tree-focus-outline: 2px dashed #fff; } diff --git a/packages/terra-folder-tree/src/orion-fusion-theme/FolderTree.module.scss b/packages/terra-folder-tree/src/orion-fusion-theme/FolderTree.module.scss index 23da876be6..aa1ff4e820 100644 --- a/packages/terra-folder-tree/src/orion-fusion-theme/FolderTree.module.scss +++ b/packages/terra-folder-tree/src/orion-fusion-theme/FolderTree.module.scss @@ -1,6 +1,7 @@ :local { .orion-fusion-theme { --terra-folder-tree-item-hover-background-color: rgb(203, 230, 247, 0.5); + --terra-folder-tree-item-hover-before-background-color: rgb(203, 230, 247, 0.5); --terra-folder-tree-focus-box-shadow: inset 0 0 1px 3px rgba(76, 178, 233, 0.5), inset 0 0 7px 4px rgba(76, 178, 233, 0.35); --terra-folder-tree-focus-outline: none; --terra-folder-tree-focus-outline-offset: 0; diff --git a/packages/terra-folder-tree/src/subcomponents/FolderTreeItem.module.scss b/packages/terra-folder-tree/src/subcomponents/FolderTreeItem.module.scss index c6a0266bec..76383c589e 100644 --- a/packages/terra-folder-tree/src/subcomponents/FolderTreeItem.module.scss +++ b/packages/terra-folder-tree/src/subcomponents/FolderTreeItem.module.scss @@ -23,14 +23,14 @@ &.hover-within { .radio-target::before { + background-color: var(--terra-folder-tree-item-hover-before-background-color, rgb(203, 230, 247, 0.5)); + border-radius: 50%; + bottom: 0; content: ''; + left: 0; position: absolute; - top: 0; right: 0; - left: 0; - bottom: 0; - background-color: var(--terra-folder-tree-item-hover-background-color, rgb(203, 230, 247, 0.5)); - border-radius: 50%; + top: 0; } }