File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,25 @@ sp-popover:not(sp-overlay sp-popover) {
48
48
margin : 0 ;
49
49
}
50
50
51
+ /* TODO: The following two selector blocks are meant to override the #textfield:hover styles.
52
+ * #textfield:hover .input was overriding the disabled border colors in S2 foundations, as well
53
+ * as the border colors when a combobox was focused+hovered.
54
+ */
55
+ : host ([disabled ]) # textfield .input ,
56
+ : host ([disabled ]) # textfield : hover .input {
57
+ border-color : var (
58
+ --mod-combobox-border-color-disabled ,
59
+ var (--spectrum-combobox-border-color-disabled )
60
+ );
61
+ }
62
+
63
+ # textfield : hover .input : focus {
64
+ border-color : var (
65
+ --mod-combobox-border-color-default ,
66
+ var (--spectrum-combobox-border-color-focus-hover )
67
+ );
68
+ }
69
+
51
70
::slotted ([slot = 'option' ]) {
52
71
display : none;
53
72
}
You can’t perform that action at this time.
0 commit comments