But green isn't a custom label CSS as it's hard coded out of the box inHowever that might still be a bug, and I think the custom box should be checked and say:label label--green
, as this is confusing and also the wrong green shows in other areas of admin etc.
core_labels.less
.extra.less
so this could easily be overlooked.xfDefaultGreen
so that this issue could never happen with someone creating a simple named label such as green.core_labels.less
and also found in extra.less
.I named prefixes green, orange, blue, etc. I was baffled how they disappeared from the custom box but the style still showed on the forum. Then I realized when I entered "label label--green" it actually was marking the green radio after it saved. This also explains why in other parts of the acp the green was the old green and not the custom. IMO this is a bug and it should be saved, or perhaps it should produce an error to let us know to rename it. I can easily call it newgreen and this is no an issue. But the behavior of it disappearing may baffle others as well.But green isn't a custom label CSS
If I had to guess, theI named prefixes green, orange, blue, etc. I was baffled how they disappeared from the custom box but the style still showed on the forum. Then I realized when I entered "label label--green" it actually was marking the green radio after it saved. This also explains why in other parts of the acp the green was the old green and not the custom. IMO this is a bug and it should be saved, or perhaps it should produce an error to let us know to rename it. I can easily call it newgreen and this is no an issue. But the behavior of it disappearing may baffle others as well.
extra.less
isn't rendered inside the ACP as you wouldn't generally style anything inside the ACP, and that could be the reason for the discrepancies. To edit styles inside the ACP, I'd imagine you'd have to edit core.less
to include a new template ({{ include('your_custom_style.less') }}
) or edit one of the core_*.less
templates.extra.less
.p-title-value {
font-size: 50px;
}
admin.php?users/list
) have a huge title for "Users", but it only affected my forum.That's probably because when you actually save the radio, it's saving "label label--green" on the backend. So if you enter a custom one as "label label--green", all it knows from the core templates is the old green, so it selects that radio on refresh after you save it.Then I realized when I entered "label label--green" it actually was marking the green radio after it saved.
label label--green
in Custom and click save, don't you think it should stay there and not disappear, with the radio above being selected? This is the confusion. I had no idea one was named green and when it disappeared it looked like a bug. Until I saw the system moved it from Custom to the radio above (green).We use essential cookies to make this site work, and optional cookies to enhance your experience.