|
132 | 132 | color: var(--v2-text-text-base); |
133 | 133 | } |
134 | 134 |
|
135 | | -[data-component="button-v2"][data-variant="ghost"]:is(:hover, [data-state="hover"]):not(:disabled) { |
| 135 | +[data-component="button-v2"][data-variant="ghost"]:is(:hover, [data-state="hover"]):not(:disabled):not([data-expanded]) { |
136 | 136 | background-color: var(--v2-overlay-simple-overlay-hover); |
137 | 137 | } |
138 | 138 |
|
139 | 139 | [data-component="button-v2"][data-variant="ghost"]:is(:active, [data-state="pressed"]):not(:disabled) { |
140 | 140 | background-color: var(--v2-overlay-simple-overlay-pressed); |
141 | 141 | } |
142 | 142 |
|
| 143 | +[data-component="button-v2"][data-variant="ghost"]:where([data-expanded]):not(:disabled) { |
| 144 | + background-color: var(--v2-overlay-simple-overlay-pressed); |
| 145 | +} |
| 146 | + |
143 | 147 | [data-component="button-v2"][data-variant="ghost"]:is(:disabled, [data-state="disabled"]) { |
144 | 148 | opacity: 0.5; |
145 | 149 | cursor: not-allowed; |
|
155 | 159 | color: var(--v2-icon-icon-muted); |
156 | 160 | } |
157 | 161 |
|
158 | | -[data-component="button-v2"][data-variant="ghost-muted"]:is(:hover, [data-state="hover"]):not(:disabled) { |
| 162 | +[data-component="button-v2"][data-variant="ghost-muted"]:is(:hover, [data-state="hover"]):not(:disabled):not([data-expanded]) { |
159 | 163 | background-color: var(--v2-overlay-simple-overlay-hover); |
160 | 164 | } |
161 | 165 |
|
162 | 166 | [data-component="button-v2"][data-variant="ghost-muted"]:is(:active, [data-state="pressed"]):not(:disabled) { |
163 | 167 | background-color: var(--v2-overlay-simple-overlay-pressed); |
164 | 168 | } |
165 | 169 |
|
| 170 | +[data-component="button-v2"][data-variant="ghost-muted"]:where([data-expanded]):not(:disabled) { |
| 171 | + background-color: var(--v2-overlay-simple-overlay-pressed); |
| 172 | + color: var(--v2-text-text-base); |
| 173 | +} |
| 174 | + |
| 175 | +[data-component="button-v2"][data-variant="ghost-muted"]:where([data-expanded]):not(:disabled) [data-slot="icon-svg"] { |
| 176 | + color: var(--v2-icon-icon-base); |
| 177 | +} |
| 178 | + |
166 | 179 | [data-component="button-v2"][data-variant="ghost-muted"]:is(:disabled, [data-state="disabled"]) { |
167 | 180 | opacity: 0.5; |
168 | 181 | cursor: not-allowed; |
|
0 commit comments