/* Site-wide corrections for Frappe's website chrome.
 *
 * Loaded on every Frappe web page through the `web_include_css` hook, which
 * head.html emits *after* website.bundle.css -- so an equal-specificity rule here
 * wins -- and *before* a page's own {% block head_include %}, so a page can still
 * override it.
 *
 * Not loaded on Builder pages: those render through Builder's own template and do
 * not carry Frappe's navbar at all, so nothing here applies to them.
 */

/* The collapsed navbar's menu button rendered as an empty box on every website page.
 *
 * website.bundle.css contains:
 *     .navbar-light .navbar-toggler .icon,
 *     .navbar-light .navbar-toggler .es-icon { stroke: none }
 * and the toggler's glyph is a <use> of frappe's lucide sprite -- outlines drawn with
 * a stroke and no enclosed area. With `stroke: none` and `fill` computing to
 * transparent there is nothing left to paint. (The .navbar-primary variant is fine:
 * `.navbar-primary svg use { stroke: white }` puts the stroke back.)
 *
 * Below 992px that button is the only route to the avatar menu, and so the only route
 * back to the desk for a signed-in user on a phone.
 *
 * Same specificity as the rule it corrects (0,3,0), winning on order alone, so it
 * stops applying by itself if frappe ever fixes this upstream and drops that rule.
 */
.navbar-light .navbar-toggler .icon,
.navbar-light .navbar-toggler .es-icon {
	stroke: var(--icon-stroke, currentColor);
}
