gecko-dev/browser/components/extensions
harry 43ec533571 Bug 1594132 - Move background-color rules so they do not appear under appearance rules, enabling sidebar vibrancy. r=ntim,dao
`appearance` CSS rules allow elements to take on system appearance. For UI elements that we want to take on system styling, we set `appearance: auto` combined with platform-specific rules like `-moz-default-appearance: -moz-mac-vibrant-titlebar-light;`

macOS sidebar vibrancy broke because a background-color was being applied to `root`. That colour appeared under elements with `appearance: auto` set, so we wouldn't see the platform-specific styling. This patch moves the root background-color to `#navigator-toolbox`, so that it does not appear under `#sidebar-box`.

We still want a background colour applied to sidebars when a lwtheme includes one. We only want `appearance: auto` applied to sidebars when the active theme does not have sidebar styling rules. That's why `#sidebar-box:not(:-moz-lwtheme)` is changed to `#sidebar-box:not([lwt-sidebar])`.

This patch also removes the rule
```
:root:-moz-lwtheme {
  appearance: none;
}
```
from osx/global/global.css. There's no corresponding addition of a `#navigator-toolbox { appearance:none; }` rule because that rule already exists in [osx/browser.css](https://searchfox.org/mozilla-central/rev/7067bbd8194f4346ec59d77c33cd88f06763e090/browser/themes/osx/browser.css#45).

Differential Revision: https://phabricator.services.mozilla.com/D104416
2021-02-23 15:03:45 +00:00
..
child Bug 1588616 -Test case added Fix ext-menus.js to call withLastError with caller r=robwu 2021-02-11 13:42:31 +00:00
parent Bug 1692874 - [devtools] Read isLocalTab from descriptor instead of target front. r=rpl,jdescottes 2021-02-18 18:36:48 +00:00
schemas Bug 1687313 - Add international Amazon search suggestions URLs. r=Standard8,mixedpuppy 2021-01-21 21:57:41 +00:00
test Bug 1594132 - Move background-color rules so they do not appear under appearance rules, enabling sidebar vibrancy. r=ntim,dao 2021-02-23 15:03:45 +00:00
.eslintrc.js
ext-browser.json
extension-mac-panel.css
extension-mac.css
extension-win-panel.css
extension.css Bug 1685638 - Change :not(:disabled) to :enabled in CSS files. r=ntim 2021-01-19 14:02:38 +00:00
extension.svg
ExtensionBrowsingData.jsm
ExtensionControlledPopup.jsm Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8 2021-01-28 20:58:43 +00:00
ExtensionPopups.jsm Backed out changeset 0b6e13411d3f (bug 1646817) for causing crashes on macOS. a=backout 2021-01-18 18:32:42 +02:00
extensions-browser.manifest
jar.mn
moz.build Bug 1681360 - Implement AppUiTestDelegate for Desktop. r=robwu 2021-02-04 11:35:20 +00:00