@juspay/svelte-ui-components 2.97.1 → 2.97.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -68,7 +68,11 @@
|
|
|
68
68
|
box-shadow: var(--choicebox-focus-ring, 0 0 0 3px rgba(33, 150, 243, 0.3));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
/* Exclude the selected state from hover: without :not(.selected) this rule
|
|
72
|
+
(specificity 0,3,0) outranks .choicebox.selected (0,2,0), so hovering a
|
|
73
|
+
selected card repaints it with the neutral hover border/fill until the
|
|
74
|
+
cursor leaves. Excluding selected lets .choicebox.selected show through. */
|
|
75
|
+
.choicebox:not(.disabled):not(.selected):hover {
|
|
72
76
|
border-color: var(--choicebox-hover-border-color, #9e9e9e);
|
|
73
77
|
background: var(--choicebox-hover-background, var(--choicebox-background, #ffffff));
|
|
74
78
|
}
|