PennController for IBEX › Forums › Support › Aesthetics of the scale element after selection › Reply To: Aesthetics of the scale element after selection
May 2, 2023 at 11:03 am
#10500
Jeremy
Keymaster
Hi Nasim,
In PennController 2.0, a disabled Scale element adds the disabled
attribute to its input
DOM elements. So you can specifically target the label
DOM elements that are siblings of enabled input
DOM elements. Concretely, in your CSS rules, just replace .PennController-Scale .option label:hover {
with .PennController-Scale .option input:enabled + label:hover {
Jeremy