Skip to content

Commit

Permalink
fix(core/group): use correct cursors (#1225)
Browse files Browse the repository at this point in the history
Co-authored-by: Demirci <[email protected]>
Co-authored-by: Lukas Maurer <[email protected]>
  • Loading branch information
3 people authored May 2, 2024
1 parent f3f8db2 commit a35859a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-eagles-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@siemens/ix": patch
---

fix(core/group): use correct cursors
13 changes: 9 additions & 4 deletions packages/core/src/components/group-item/group-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ $focusBorderWidth: 1px;
background-color: var(--theme-group-item--background);
border: 1px solid transparent;
color: var(--theme-color-std-text);
cursor: pointer;

padding-left: 2.5rem;

Expand Down Expand Up @@ -72,6 +73,10 @@ $focusBorderWidth: 1px;
}
}

:host(.suppress-selection) {
pointer-events: none;
}

:host(.selected) {
border-top-width: 0.062rem !important;
background-color: var(--theme-color-ghost--selected);
Expand All @@ -81,20 +86,20 @@ $focusBorderWidth: 1px;
}
}

:host(:not(.suppress-selection):hover) {
:host(:hover) {
background-color: var(--theme-color-ghost--selected-hover);
border-color: var(--theme-group-item--border-color--hover);
}

:host(:not(.suppress-selection).selected:hover) {
:host(.selected:hover) {
background-color: var(--theme-color-ghost--selected-hover);
}

:host(:not(.suppress-selection):active) {
:host(:active) {
background-color: var(--theme-color-ghost--selected-active);
border-color: var(--theme-group-item--border-color--active);
}

:host(:not(.suppress-selection).selected:active) {
:host(.selected:active) {
background-color: var(--theme-color-ghost--selected-active);
}

0 comments on commit a35859a

Please sign in to comment.