I'm using jQueryUI checkboxes without icon but cannot find how to modify/override the checkbox style using CSS.
For example I'd like to add a red border on "checked" buttons, but the following CSS doesn't work (I deduced the classes from the DevTools Elements pane):
.ui-checkboxradio-label .ui-corner-all .ui-button .ui-widget .ui-checkboxradio-checked .ui-state-active {
border: 2px solid rgb(255,0,0) !important;
}
.checkbox-noicon .ui-checkboxradio .ui-helper-hidden-accessible {
border: 2px solid rgb(255,0,0) !important;
}
I also tried modifying the style of the input's "checked" state directly, also with no effect:
input[type=checkbox]:checked {
border: 2px solid rgb(255,0,0) !important;
}
Am I doing something wrong?