Hello,
I would like to change the checkbox background color from blue to other. Which class should I change?
Thanks
Hello,
I would like to change the checkbox background color from blue to other. Which class should I change?
Thanks
Best answer by Edo Nijmeijer
As you may have noticed from the example project, styling checkboxes is a pretty convoluted thing. This was necessary to support the old browser that WebUI used to support before. And, in current times, when you want to have custom checkboxes on most Apple devices.
But if you don’t care for old browsers (and you shouldn’t since WebUI stopped supporting old IE11 and old Edge over a year ago), AND if you’re not on any mobile platforms, then you could also just have these three lines in a custom stylesheet:
input.boolean-cell-editor-contents {
accent-color: red;
}
That would also get you a red background for checked checkboxes, in browsers like Chrome 93+
Perhaps you’d find that sufficient too.
Already have an account? Login
Please use your business or academic e-mail address to register
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.