Ohh, I understud . That helped a lot .
Now, I see, so this is a kind of multi-layer *.svg file.
Thanks!
there is only one single file for both appearances ON and OFF: spr_chk_onoff.svg
you will find the different components identified in the svg such as
<g id="on">
<g id="off">
<g id="disabled_on" opacity="0.3">
<g id="disabled_off" opacity="0.3">
if you have fun inverting the ids you can understand how it works by relying on the svg files previously created for this purpose by alain57 for other forms of the buttons
![]()
Ohh, I understud . That helped a lot .
Now, I see, so this is a kind of multi-layer *.svg file.
Thanks!
Last edited by Boki; 16th April 2025 at 08:07 AM. Reason: removed excessive quote
To go further in the analysis of the operation of this button
the svg of the data.zip is thus constituted
Spoiler:
<g id=...> are here, so to speak, individual pictures.
the state and therefore the appearance of each ON/OFF button is defined in template.css
and in a more comprehensive mannercheckbox.listitem.chkonoff, checkbox3.listitem.chkonoff, radio3.listitem.chkonoff {
chktext_on: "on"; chktext_off: "off";
phase_on: "on"; phase_off: "off";
chkspr:"spr_chk_onoff.svg";
}
Spoiler:
it seems that it is possible to change the text displayed from the chktext-on and chktext-off tags, but this remains to be checked and it will be necessary to take into account the translations to be provided in the other languages, the best is to replace "on" with "yes" and "off" with "no" to verify the effects.
Last edited by lunapark; 16th April 2025 at 12:56 PM.
Or in the skin. In Frontzosd's skin for example.
I removed the words On and Off since, from the color, is obvious if it's On or Off. That way there is also more space for the menu text.
chktext_on: ""; chktext_off: "";
the meaning of colors can sometimes go the opposite of what we think
Spoiler:
red may mean 'active' associated with a safety risk such as heat or risk of electrocution, while green is reassuring to be a sign of a low or zero risk, occupied or free, in the same way, a support on the left or at the bottom is also associated as a bet on OFF, but nothing prevents the reverse as on the switches in the lighting of a dwelling room, only the usual way is used to make the difference.
You're right. But we are talking about igo. We know that red is disable and ON enable.
Hello,
To add to the controversy over the on/off symbols, here are two new buttons.
Spoiler: 1
Spoiler: 2
Spoiler: 3(Suggested lunapark)
Spoiler: Screenshots
[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
Last edited by Alain57; 21st April 2025 at 06:55 AM.
@alain57
You could have taken over the logos of the message #35 remote control by inverting the red and green colors to be in tune with igo![]()
Bookmarks