Граф коммитов

638 Коммитов

Автор SHA1 Сообщение Дата
Emma Malysz fb08057bda Bug 1711083, fix margins for toolbar button badges on windows and linux r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D115097
2021-05-13 21:37:49 +00:00
Emilio Cobos Álvarez 8a41ca4cce Bug 1710643 - Fix menubar color too. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D115012
2021-05-12 22:52:29 +00:00
Emilio Cobos Álvarez 597cd049aa Bug 1710415 - Fix customizemode toolbarbutton styles to not use widget colors. r=Gijs
We're suppressing native appearance, so we should also suppress the
native color.

Differential Revision: https://phabricator.services.mozilla.com/D114745
2021-05-11 11:31:01 +00:00
Noemi Erli 6a92681d7b Backed out changeset 70979067bc56 (bug 1710415) for causing failures in browser_ext_themes_findbar.js CLOSED TREE 2021-05-11 04:49:57 +03:00
Emilio Cobos Álvarez 7199e86cfc Bug 1710415 - Fix customizemode toolbarbutton styles to not use widget colors. r=Gijs
We're suppressing native appearance, so we should also suppress the
native color.

Differential Revision: https://phabricator.services.mozilla.com/D114745
2021-05-10 23:35:32 +00:00
Dão Gottwald 88c819ec03 Bug 1708690 - Use :where in button.css to allow easier color overrides. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D113965
2021-04-30 15:39:20 +00:00
Itiel a7b17eb12d Bug 1708525 - Restore spacing between checkmark icon and label in native checkboxes by not abusing `.checkbox-icon` r=desktop-theme-reviewers,harry
Also fix the blurriness on the native checkmark icon on Windows (possibly with high DPI) by not setting 16px height and width on them, each plaftorm has it's own sizing for the native checkboxes.

Differential Revision: https://phabricator.services.mozilla.com/D113846
2021-04-29 19:35:48 +00:00
Itiel 8650cdb6c5 Bug 1707589 - Fix indentation of sub-text in about:preferences to reflect the new checkboxes and radiobuttons sizes r=Gijs,preferences-reviewers
This includes:
1. Changing the indent from 28px to 22px (radiobutton/checkbox's 16px + 6px margin)
2. Unifying all `.checkbox-icon` to 2px (which was already the case, just duplicated on all platforms) only when a `src` is present
3. Removing a seemingly obsolete -1px margin-inline-start from `.radio-label-box`

Differential Revision: https://phabricator.services.mozilla.com/D113396
2021-04-28 22:19:08 +00:00
Csoregi Natalia a76b78d543 Backed out changeset e01ec8694924 (bug 1700957) as requested. CLOSED TREE 2021-04-28 18:09:01 +03:00
Emma Malysz ce84c86379 Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 03:17:56 +00:00
Butkovits Atila 9597a30fbb Backed out changeset 1c362512f27b (bug 1700957) for causing failures at test_chrome_only_media_queries.html. CLOSED TREE 2021-04-28 05:55:14 +03:00
Emma Malysz a344c0fa4c Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 00:29:45 +00:00
Emilio Cobos Álvarez 4f3265f65e Bug 1707992 - Don't use native drawing for menupopups. r=stransky
It's not like our menupopups look anything like native ones other than
the color, anyways, so this will allow us to improve all our menupopups
at the same time.

Differential Revision: https://phabricator.services.mozilla.com/D113556
2021-04-27 22:36:44 +00:00
Emilio Cobos Álvarez 9f6e1b077e Bug 1707992 - Remove support for some useless appearance values in nsNativeThemeGTK. r=stransky
We use the same background-color with CSS anyways, so this shouldn't
change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D113554
2021-04-27 22:35:43 +00:00
Mike Conley 533273efcd Bug 1706415 - Revert Proton font-size changes for panels and modals from bug 1701920. r=Gijs
This also necessarily reverts some em unit changes that were introduced in bug 1706259 and
bug 1705386 to use static pixel values instead.

Differential Revision: https://phabricator.services.mozilla.com/D113382
2021-04-27 15:08:52 +00:00
Ed Lee 8d7cfc46b5 Bug 1705882 - Adjust checkbox styling with faded text and top-aligned box r=Gijs
Change in-content-deemphasized-text light (but not dark) to match specs and use it for dialog checkbox. Position subdialog checkbox to the center of the first line using baseline + translate.

Differential Revision: https://phabricator.services.mozilla.com/D112469
2021-04-21 00:01:43 +00:00
Emma Malysz d9dacff0ad Bug 1705539, move panel rules out of toolkit style sheets and into browser.css r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112375
2021-04-19 23:34:36 +00:00
Mark Striemer 5ed75dad70 Bug 1701691 - common/global -moz-toolbar-prefers-color-scheme support r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D111970
2021-04-18 22:22:49 +00:00
Mike Conley 4672f874be Bug 1701920 - Assign the same font size multiplier that we use on the URL bar to all panels and subdialogs when Proton is enabled. r=Gijs
This also makes it so that padding in the panels and subdialogs uses em units.

Differential Revision: https://phabricator.services.mozilla.com/D111451
2021-04-13 22:53:34 +00:00
Emma Malysz 46a4d18412 Bug 1695702, correctly position appMenu and panels when proton enabled r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110867
2021-04-10 00:30:34 +00:00
Emilio Cobos Álvarez 5ddee7313f Bug 1698132 - Convert proton pref checks from @supports rules to media features. r=Gijs
This means that dynamic changes will be handled correctly, we can use
StaticPrefs, etc.

Differential Revision: https://phabricator.services.mozilla.com/D110816
2021-04-05 20:48:05 +00:00
Tim Nguyen 8a016c64aa Bug 1701448 - Tweak in-content page styling further for Proton. r=desktop-theme-reviewers,dao
* Update green color used for success
* Fix actions menulist alignment
* Make various elements use new accent colors
* Fix lack of border on HTML checkboxes
* Update various colors to proton colors
* Update input border-radius to 4px
* Update border colors

Differential Revision: https://phabricator.services.mozilla.com/D110033
2021-04-05 19:42:47 +00:00
Csoregi Natalia a359b4f2f6 Backed out 2 changesets (bug 1701448, bug 1699917) for failures on browser_parsable_css.js. CLOSED TREE
Backed out changeset 3693f90f395d (bug 1701448)
Backed out changeset 99ce41916bb2 (bug 1699917)
2021-04-05 22:08:42 +03:00
Tim Nguyen 7772ba544e Bug 1701448 - Tweak in-content page styling further for Proton. r=desktop-theme-reviewers,dao
* Update green color used for success
* Fix actions menulist alignment
* Make various elements use new accent colors
* Fix lack of border on HTML checkboxes
* Update various colors to proton colors
* Update input border-radius to 2px
* Update border colors

Differential Revision: https://phabricator.services.mozilla.com/D110033
2021-04-05 16:29:18 +00:00
Dão Gottwald cdc46b8a3d Bug 1698405 - Move --arrowpanel-dimmed* definitions to toolkit. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D109505
2021-03-25 17:40:20 +00:00
Mike Conley 8f2cea0503 Bug 1697910 - Set panel border radius to 8px when Proton is enabled. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D108271
2021-03-19 15:11:35 +00:00
Mike Conley 28ae6f7fa7 Bug 1697624 - Apply more Proton styles to PopupNotifications. r=desktop-theme-reviewers,harry
In particular, this makes it so that Proton PopupNotifications:

* Are ~400px wide (but use an em value for system font flexibility)
* Use a slightly larger font on macOS
* Have a 16px padding, regardless of platform
* Has 16px of space between each popupnotificationcontent, and before
  the popup-notification-checkbox.
* Sets a default font-weight on the WebRTC permission panel label when
  a single device label is listed

Differential Revision: https://phabricator.services.mozilla.com/D108518
2021-03-19 14:34:09 +00:00
Bogdan Tara 9e69523df0 Backed out 2 changesets (bug 1697624, bug 1697910) for browser_ext_popup_corners.js mochitest failures CLOSED TREE
Backed out changeset 392cbc9b9b1d (bug 1697910)
Backed out changeset 7e2f859d5251 (bug 1697624)
2021-03-19 09:54:35 +02:00
Tim Nguyen cc16861625 Bug 1699594 - Remove useless per-platform info-pages.css stylesheets. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109013
2021-03-19 01:34:21 +00:00
Mike Conley 7e2b5085b2 Bug 1697910 - Set panel border radius to 8px when Proton is enabled. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D108271
2021-03-18 20:00:03 +00:00
Mike Conley 36c1d26d80 Bug 1697624 - Apply more Proton styles to PopupNotifications. r=desktop-theme-reviewers,harry
In particular, this makes it so that Proton PopupNotifications:

* Are ~400px wide (but use an em value for system font flexibility)
* Use a slightly larger font on macOS
* Have a 16px padding, regardless of platform
* Has 16px of space between each popupnotificationcontent, and before
  the popup-notification-checkbox.
* Sets a default font-weight on the WebRTC permission panel label when
  a single device label is listed

Differential Revision: https://phabricator.services.mozilla.com/D108518
2021-03-18 20:00:02 +00:00
Tim Nguyen e0e0e47210 Bug 1699083 - Remove blocklist_favicon.png and use blocked.svg instead. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108760
2021-03-17 19:03:51 +00:00
Cosmin Sabou dc2b83b3e4 Backed out changeset 294ee16f9e45 (bug 1699083) for gtest failures on WebRtcIceConnectTest. CLOSED TREE 2021-03-17 22:22:24 +02:00
Tim Nguyen f26c169fa0 Bug 1699083 - Remove blocklist_favicon.png and use blocked.svg instead. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108760
2021-03-17 19:03:51 +00:00
Bogdan Tara 218a8f642a Backed out changeset 9f582c2ddf74 (bug 1699083) for WebRtcIceConnectTest webrender failures CLOSED TREE 2021-03-17 20:41:43 +02:00
Tim Nguyen fcd8134690 Bug 1699083 - Remove blocklist_favicon.png and use blocked.svg instead. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108760
2021-03-17 17:21:51 +00:00
Tim Nguyen 10883c2a9d Bug 1699062 - Flatten toolkit/themes/*/global/alerts/. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D108759
2021-03-17 17:17:55 +00:00
Mike Conley 1a2a277eab Bug 1697863 - Add preliminary Proton styles for browser UI menulists. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108061
2021-03-17 17:15:10 +00:00
Brindusan Cristian 055e135f72 Backed out changeset 74e09e7c0071 (bug 1699062) for build bustages in alert.css. CLOSED TREE 2021-03-17 18:57:26 +02:00
Tim Nguyen a5f2f16f6a Bug 1699062 - Flatten toolkit/themes/*/global/alerts/. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D108759
2021-03-17 15:31:16 +00:00
Dão Gottwald 7d3961b5d6 Bug 1699097 - Stop setting appearance: none for :root:-moz-lwtheme. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D108796
2021-03-17 15:26:34 +00:00
Tim Nguyen 0f9acecce6 Bug 1699074 - Move defaultFavicon.svg to toolkit/themes/shared/icons. r=desktop-theme-reviewers,mak,dao
Differential Revision: https://phabricator.services.mozilla.com/D108757
2021-03-17 15:19:34 +00:00
Csoregi Natalia 4e97659d91 Backed out 2 changesets (bug 1697863) for valgrind failures. CLOSED TREE
Backed out changeset f82846b236e3 (bug 1697863)
Backed out changeset 64166dc7f85f (bug 1697863)
2021-03-17 01:15:11 +02:00
Mike Conley 9a43d7d205 Bug 1697863 - Add preliminary Proton styles for browser UI menulists. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108061
2021-03-16 17:11:23 +00:00
Mike Conley 99fb99a4a8 Bug 1697315 - Add preliminary Proton styles for browser UI checkboxes. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107730
2021-03-12 17:00:53 +00:00
Alexandru Michis 09aaa7cff9 Backed out changeset 6ffdccffb2d5 (bug 1697315) for causing bc failures in browser_preferences_usage.js
CLOSED TREE
2021-03-12 08:13:05 +02:00
Mike Conley 2949934836 Bug 1697315 - Add preliminary Proton styles for browser UI checkboxes. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107730
2021-03-11 22:55:48 +00:00
Tim Nguyen 2faee3fa51 Bug 1697433 - Share XUL iframe global.css styling. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D107799
2021-03-10 12:37:21 +00:00
Emilio Cobos Álvarez 30cf04d26c Bug 1696988 - Add backgrounds for non-native tooltips on Linux and OSX. r=ntim
The Linux styles match Adwaita trunk[1], so it's a bit smaller than the
native ones but I think that's fine (it matches other themes more
closely, like Arc).

On OSX the system color needs to be tweaked (will do in a follow-up)
since it is windows-style yellow right now, which is rather ugly. But
this is a progression regardless.

[1]: https://gitlab.gnome.org/GNOME/gtk/-/issues/3352

Differential Revision: https://phabricator.services.mozilla.com/D107548
2021-03-09 00:33:06 +00:00
Mike Conley baa881e8bb Bug 1696421 - Make PopupNotifications use Large Secondary style buttons when Proton is enabled. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107211
2021-03-08 22:04:12 +00:00