mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
91ae9f7bb3
This patch fixes several issues: 1. the styling of the bookmarks toolbar items was missing background-origin/clip: padding-box when not hovered 2. the devedition colours for toolbar buttons were not applying on Windows in the nav-bar because we set different ones on #nav-bar:-moz-lwtheme and on #nav-bar[brighttext]. Variables function like inherited CSS properties and so the ones set on the #nav-bar take precedence for items inside the #nav-bar over other ones set on :root, even if those are set later. 3. The lwtheme and [brighttext] styling should apply to all toolbars now, because the bookmarks toolbar items can be moved to other toolbars and they use these CSS variables as well. For (2) I moved the devedition definitions of toolbar color variables into their own block that is set on both :root and on toolbar:-moz-lwtheme. I'm not sure if having it set on :root affects e.g. devtools styling, so I kept that rather than only setting the custom properties on the toolbars. MozReview-Commit-ID: Jzdb8OWmC3c --HG-- extra : rebase_source : 43322b320fe244d991562c92e01fc0ce26e94540 |
||
---|---|---|
.. | ||
app | ||
base | ||
branding | ||
components | ||
config | ||
docs | ||
experiments | ||
extensions | ||
fonts | ||
installer | ||
locales | ||
modules | ||
themes | ||
tools/mozscreenshots | ||
.eslintrc | ||
app-rules.mk | ||
app.mozbuild | ||
build.mk | ||
confvars.sh | ||
defs.mk | ||
LICENSE | ||
Makefile.in | ||
moz.build | ||
moz.configure |