Ask me anything!

Have a question you always wanted to ask Moonchild but never did? Now's your chance!
From 2026-03-08 to 2026-03-15 I'll be open to any question by the community, after which I'll provide answers.

Go here to participate: https://forum.palemoon.org/viewtopic.php?f=66&t=33222

LuCi OpenWrt panel has invisible checkboxes

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
Theresnothinghere
Apollo supporter
Apollo supporter
Posts: 32
Joined: 2023-08-03, 12:19

LuCi OpenWrt panel has invisible checkboxes

Post by Theresnothinghere » 2026-02-02, 14:48

Checkboxes in LuCi settings web ui for OpenWrt routers appear invisible

Pale Moon Versions 34.0.1 and 34.0.0:
bad.PNG
Pale Moon Version 33.9.1
good.PNG
Also works OK in Firefox

Steps to reproduce
1) Login to an OpenWrt router settings (LuCi) panel
2) Navigate to any page with checkboxes (eg, Nwtwork > Firewall)


Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
1) Clear any current output
2) Navigate or refresh the page in question
3) Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.

Nothing in the error console
You do not have the required permissions to view the files attached to this post.
Last edited by Theresnothinghere on 2026-02-02, 15:23, edited 2 times in total.

User avatar
Theresnothinghere
Apollo supporter
Apollo supporter
Posts: 32
Joined: 2023-08-03, 12:19

Re: LuCi OpenWrt panel has invisible checkboxes

Post by Theresnothinghere » 2026-02-02, 15:16

Okay I determined which css causes this:

Code: Select all

input[type="checkbox"],input[type="radio"] {
	--bd-color:var(--border-color-high);
	--fg-color:var(--text-color-high);
	appearance:none;
	-webkit-appearance:none;
	width:14px;
	height:14px;
	color:var(--fg-color);
	position:relative;
	display:inline-block;
	cursor:pointer;
	background:none;
	border:none
}
And removing:

Code: Select all

background:none;
border:none
Fixes this issue, so yeah it does what it says and indeed makes the background and borders "none". I think I'm missing something here :eh:

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2536
Joined: 2018-05-05, 13:29

Re: LuCi OpenWrt panel has invisible checkboxes

Post by vannilla » 2026-02-02, 18:21

There is probably a Chrome quirk somewhere.
Since it's open source with enough effort it could be tracked down, probably.

User avatar
Moonchild
Project founder
Project founder
Posts: 38961
Joined: 2011-08-28, 17:27
Location: Sweden

Re: LuCi OpenWrt panel has invisible checkboxes

Post by Moonchild » 2026-02-02, 19:58

The CSS literally says the border and background should be removed, so this is how it's styled and we're "doing as we're told".
If a "checked" version isn't looking the way it is supposed to, you could check out what css is being used for that.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite