https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40421

--- Comment #2 from Lucas Gass (lukeg) <[email protected]> ---
Thanks Eric, this is great. The reason I wanted this is because, with this
patch, I can now write CSS like this for example:

body:has(span[data-logged-in-branch-code="CPL"]) {
        background: red;
}

body:has(span[data-logged-in-branch-code="MPL"]) {
        background: blue;
}

Now, without JS, I can change the background color per branch.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to