Skip to content

Commit 3684673

Browse files
committed
fix(ffe-cards): pirk på styling av action cards/group cards
1 parent 06a0b85 commit 3684673

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/ffe-cards/less/common-card-styling.less

+6-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
@media (hover: hover) and (pointer: fine) {
3434
&:hover {
3535
cursor: pointer;
36-
border-color: var(--ffe-color-border-primary-hover);
36+
border-color: transparent;
37+
box-shadow: var(--ffe-g-border-focus-box-shadow)
38+
var(--ffe-color-border-primary-hover);
3739
background: var(--ffe-color-surface-primary-default-hover);
3840
&
3941
:where(
@@ -47,7 +49,9 @@
4749
}
4850
}
4951
&:focus-within {
50-
border-color: var(--ffe-color-border-primary-hover);
52+
border-color: transparent;
53+
box-shadow: var(--ffe-g-border-focus-box-shadow)
54+
var(--ffe-color-border-primary-pressed);
5155

5256
&
5357
:where(

0 commit comments

Comments
 (0)