kenz-gelsoft / gecko-dev

Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
https://firefox-source-docs.mozilla.org/setup/index.html
Other
16 stars 2 forks source link

Make popups less ugly by tweaking CSS #80

Open kenz-gelsoft opened 1 week ago

kenz-gelsoft commented 1 week ago

Splitted from https://github.com/kenz-gelsoft/gecko-dev/issues/77

We can't create complex shape popups with alpha channel reasonably.

Work around ugly visual by changing styles for them.

kenz-gelsoft commented 6 days ago

popup.css

  @media (-moz-platform: linux) or (-moz-platform: windows) {
    /* To account for the box-shadow below */
    --panel-shadow-margin: 4px;
  }
kenz-gelsoft commented 6 days ago

I want to find an upstreamable solution

-moz-platform CSS media query is