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

1024 Коммитов

Автор SHA1 Сообщение Дата
smolnar b888d5ac5a Backed out changeset c10c8cecab42 (bug 1686529) browser-chrome failures in browser_preferences_usage. CLOSED TREE 2021-03-26 05:07:08 +02:00
Jared Wein 403199a321 Bug 1686529 - Update the tab and toolbar colors for Proton Light and Proton Dark themes. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109418
2021-03-26 01:17:01 +00:00
Emma Malysz 1706325439 Bug 1690334: update findbar styling when proton is enabled r=mconley,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D108149
2021-03-22 15:02:13 +00:00
Jared Wein 7ba3580f2e Bug 1692669 - Replace icon group navigation on macOS page context menu with 'normal' menuitems. r=flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D108475
2021-03-22 14:43:32 +00:00
Marco Bonardo bb5eb0446d Bug 1698834 - Fix urlbar zoom indicator style (both for Proton and not). r=harry
Fix the margins on the zoom indicator, so that it's as tall as other icons.
Style the zoom indicator as an urlbar chiclet in Proton.
Add hover and active states to the zoom indicator and the identity-box in Proton.
Fix the center alignment of the cfr label.

Differential Revision: https://phabricator.services.mozilla.com/D108920
2021-03-19 17:32:49 +00:00
Bogdan Tara 5f1aa8e424 Backed out changeset 25186df80cfa (bug 1698834) for browser_preferences_usage.js mochitest failures CLOSED TREE 2021-03-19 19:10:51 +02:00
Marco Bonardo 38984709b1 Bug 1698834 - Fix urlbar zoom indicator style (both for Proton and not). r=harry
Fix the margins on the zoom indicator, so that it's as tall as other icons.
Style the zoom indicator as an urlbar chiclet in Proton.
Add hover and active states to the zoom indicator and the identity-box in Proton.
Fix the center alignment of the cfr label.

Differential Revision: https://phabricator.services.mozilla.com/D108920
2021-03-19 15:42:33 +00:00
Harry Twyford c816de536a Bug 1699506 - Part 2 - Add CSS rules to shift the toolbar over the content when the macOS menubar is shown. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D106847
2021-03-18 20:20:40 +00:00
Harry Twyford df80c1ef99 Bug 1696469 - Part 2 - Use Proton color system colors for color/background-color in the address bar and arrowpanels. r=dao,mak
This patch sets `color` in arrowpanels and the address bar to the appropriate Proton color. It adds a --blue-tint variable that tints the fallback buttons-secondary-bgcolor variables. Those variables are now also used for arrowpanel colors, which reflects how the Proton spec uses consistent hover/pressed colors throughout. The arrowpanel colors get more opaque in Proton, which reflects the darker colours used on the spec. A new variable, --urlbar-result-hover-bgcolor, is introduced. This is necessary because the Proton spec makes an exception for the result hover bgcolor in the Light Mode Urlbar, where it's Secondary instead of Secondary Hover.

Differential Revision: https://phabricator.services.mozilla.com/D107562
2021-03-17 19:02:14 +00:00
Harry Twyford 2a44072f16 Bug 1696469 - Part 1 - Tweak address bar panel design to better match Proton spec. r=mak,dao
List of requested changes and resolutions:

List item height looks shorter than spec. List height should 36px and hover state height should be 32px. URL bar in closed state/default state should be 32px tall.
- List height addressed. Urlbar height addressed in D107422.

The bottom “This time, search with:” row height looks taller than the spec.
- Addressed.

The colour on the “Selected” and “Hover” state looks inverted. The colour for hover/pressed states should be universal in the browser. The “Selected” state is using “Secondary” in the colour palette.
- I spoke with UX and we're going with Secondary Hover for hover and Secondary Pressed for selected. I moved this into a second patch since I expect it will require more review/UX discussion.

Can you confirm if the hairline colour is from the spec? It looks a bit dark. Hairline colours should be the same across the browser and should be using “Secondary” in the colour palette (F0F0F4).
- Changed to F0F0F4.

The “This time search with:” favicons are missing pressed states - These should be the same as list item hover/pressed states (see above spec link)
- Colour changes are included in Part 2. Adding an :active state may require more engineering effort than is scoped for this bug. In SearchOneOffs._on_mousedown, we [call event.preventDefault()](https://searchfox.org/mozilla-central/rev/9bf82ef9c097ee6af0e34a1d21c073b2616cc438/browser/components/search/SearchOneOffs.jsm#1154). This means an :active state is not set on the buttons, so we can't have a separate pressed/:active state. I confirmed that line is still needed on Linux to get catch clicks. We could gate it behind a platform check so at least we have an :active state on macOS and Windows, but the slight behaviour change might cause headaches in the future. I left it as-is for now.

Please remove the green text for “Search with Google”. All green text should be updated to match standard text on light theme colour (#15141A).
- Addressed.

Remove vertical hairline between the Shield/Lock icon in the URL bar.
- Addressed in 1691531.

Update the URL Focused state on New Tab to have 40% opacity on the blue border (#0061E0, 40%)
- Addressed.

Differential Revision: https://phabricator.services.mozilla.com/D107561
2021-03-17 19:02:14 +00:00
Marco Bonardo 3b18bf64cc Bug 1698692 - Add engine symbol overlaps text in Addres Bar context menu. r=harry
Fixes an alignment problem of the + badge.
Also fixes the popupshowing event handler being GC-ed unexpectedly.

Differential Revision: https://phabricator.services.mozilla.com/D108746
2021-03-17 15:35:47 +00:00
Mark Striemer ea9aac5aef Bug 1696253 - Graduate toolbar to browser.proton.enabled r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107952
2021-03-15 23:20:56 +00:00
Alexandru Michis 061804b995 Backed out changeset c5b7d3456ec9 (bug 1696253) for causing bc failures in browser_HomePage_add_button.js
CLOSED TREE
2021-03-15 06:54:42 +02:00
Mark Striemer 642c8b6894 Bug 1696253 - Graduate toolbar to browser.proton.enabled r=jaws
Depends on D107294

Differential Revision: https://phabricator.services.mozilla.com/D107952
2021-03-15 03:12:18 +00:00
Tim Nguyen bc646014e0 Bug 1693066 - Followup: use consistent end proton comment style. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D108317
2021-03-13 16:30:10 +00:00
Tim Nguyen 32ad22da2c Bug 1696904 - Disable macOS #back-button opacity adjustment when Proton is enabled. r=nhnt11
This is no longer needed as Proton no longer draws a circle around the back button.

Differential Revision: https://phabricator.services.mozilla.com/D107782
2021-03-10 08:36:27 +00:00
Tim Nguyen ec24bc56ff Bug 1697277 - Fix inactive window titlebar background for non-proton themes. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D107707
2021-03-09 20:00:56 +00:00
Tim Nguyen 6dcb6c3c12 Bug 1694526 - Update macOS default theme & Proton Dark theme titlebar colors. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D107520
2021-03-09 19:10:25 +00:00
Emilio Cobos Álvarez 2fedbee02a Bug 1697128 - Use accent color on mac for the tab line. r=dao
We use it for the awesomebar outline so I think it makes sense, it certainly
feels off to have a blue tab line but an accent-colored outline.

Differential Revision: https://phabricator.services.mozilla.com/D107626
2021-03-09 12:10:35 +00:00
Mike Conley a424f79676 Bug 1694384 - Separate Proton AppMenu colors into a separate rule block in an include file. r=harry
This also intentionally avoids loading those colours for Linux users.

Differential Revision: https://phabricator.services.mozilla.com/D106540
2021-02-26 23:13:29 +00:00
harry 9399451d61 Bug 1691535 - Add Proton styles for the Urlbar results panel. r=mak,desktop-theme-reviewers,ntim
This patch changes the selection colour in the Urlbar view. It only changes the colours when a theme is not applied, to not break the many themes that depend on the panel background/color being Highlight/HighlightText. It also only changes the default theme on macOS and the default Windows theme. Windows High Contrast and Linux OS themes would break if the autocomplete background was not Highlight.

This patch also reduces the padding in the search one-offs and changes the color of arrowpanel-dimmed slightly to better match the spec. The hover colour shown in the spec is rgb(240,240,244). The new arrowpanel-dimmed colour is rgb(240,240,240).

Differential Revision: https://phabricator.services.mozilla.com/D105535
2021-02-24 16:02:40 +00:00
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
harry b5753e9bd1 Bug 1692223 - Add Proton styles for the unfocused address bar. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D104898
2021-02-12 18:51:16 +00:00
Yura Zenevich 6e7241f9b4 Bug 1689761 - update tab keyboard focus to Proton styles. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D103823
2021-02-10 16:00:06 +00:00
Mihai Alexandru Michis f1bbc50fbf Backed out 5 changesets (bug 1689761, bug 1691793) for causing bustages in nsLookAndFeel.mm
CLOSED TREE

Backed out changeset 8c53818717a1 (bug 1689761)
Backed out changeset 232a4e735cdc (bug 1689761)
Backed out changeset e63c5a6932e3 (bug 1689761)
Backed out changeset 14b61d763ae5 (bug 1691793)
Backed out changeset 2c88585f0fe4 (bug 1689761)
2021-02-10 17:38:26 +02:00
Yura Zenevich f37257205c Bug 1689761 - update tab keyboard focus to Proton styles. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D103823
2021-02-10 15:21:05 +00:00
Magnus Melin e4574c7ab0 Bug 1524836 - Move new HTML about:config page from browser to toolkit. r=fluent-reviewers,preferences-reviewers,geckoview-reviewers,Gijs,agi
Unbitrot and change strategy for geckoview: now map about:config directly in nsAboutRecirector.cpp

Differential Revision: https://phabricator.services.mozilla.com/D25938
2021-01-26 00:27:56 +00:00
Tim Nguyen 949c3217f2 Bug 1684604 - Clean up translation infobar styling. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D100572
2021-01-05 13:48:52 +00:00
Dão Gottwald 57d8ec78b2 Bug 1679463 - Replace :not(foo):not(bar) with :not(foo,bar) in browser/. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D98028
2020-11-26 21:54:32 +00:00
Kartik Gautam b95d37ecfb Bug 1677247 - Replace :not(:is(X)) with :not(X) in the codebase. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D97943
2020-11-25 04:23:25 +00:00
Micah Tigley 197e79b826 Bug 1664053 - Update "Other Bookmarks" to use the folder icon. r=jaws
Depends on D93698

Differential Revision: https://phabricator.services.mozilla.com/D94404
2020-10-29 20:09:38 +00:00
Tim Nguyen 90be737555 Bug 1673321 - Remove theme CSS for macOS 10.11 and below. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D94719
2020-10-27 15:42:31 +00:00
Dorel Luca 4f4f42a563 Backed out 2 changesets (bug 1664053) for Browser-chrome failures. CLOSED TREE
Backed out changeset 7ead316c420d (bug 1664053)
Backed out changeset 7ae93e1c8b86 (bug 1664053)
2020-10-26 20:08:38 +02:00
Micah Tigley e3a201cd91 Bug 1664053 - Update "Other Bookmarks" to use the folder icon. r=jaws
Depends on D93698

Differential Revision: https://phabricator.services.mozilla.com/D94404
2020-10-26 16:10:11 +00:00
Gijs Kruitbosch d21d00d2c7 Bug 1665442 - make bookmark separators work on dark themes and improve macOS inactive styling for bookmark items r=dao
This also fixes bug 1311103 and bug 1617920.

Differential Revision: https://phabricator.services.mozilla.com/D93764
2020-10-20 15:28:51 +00:00
Itiel e28cf185f0 Bug 1631202 - Convert all uses of :-moz-any to :is in browser/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90690
2020-09-21 19:35:35 +00:00
Cameron McCormack dd61f595eb Bug 1620467 - Part 4: Change internal uses of -moz-appearance to appearance and -moz-default-appearance. r=emilio,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,ntim,agi,miketaylr
Uses of `-moz-appearance: none` are changed to `appearance: none`.

Uses of other values that are simply reverting the appearance back to
its default are changed to `appearance: auto`.

Uses of values in UA sheets that are defining the inherent appearance of
widgets are changed to:

  appearance: auto;
  -moz-default-appearance: <value>;

since those values are either no longer supported on (-moz-)appearance,
or are still supported but only in some limited form.

There are some uses of `-moz-appearance: textfield` on <input
type=number> elements that are renamed to `appearance: textfield`.

Differential Revision: https://phabricator.services.mozilla.com/D83430
2020-07-16 22:04:14 +00:00
Harry Twyford 5cecf709c9 Bug 1647930 - Create urlbar.update2 prefs. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D83353
2020-07-14 15:57:24 +00:00
Dão Gottwald 15905f8234 Bug 1574562 - Make the find bar support frame_inactive. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D82658
2020-07-08 10:15:03 +00:00
Markus Stange dd812b7a97 Bug 1644461 - Make the sidebar non-vibrant when any lwtheme is in use. r=ntim
This is needed because under the new vibrancy model, vibrant -moz-appearance
values only work on elements that have nothing rendered behind them. The elements
with the vibrant appearance become truly transparent.

Differential Revision: https://phabricator.services.mozilla.com/D51465
2020-06-09 17:46:32 +00:00
Markus Stange c0eb520247 Bug 1644459 - Style the browser window's root element with -moz-appearance: dialog on macOS (which is the default). r=ntim
This is preferable over a hardcoded color because it lets Gecko choose where the
window background should come from. We would like the background to be handled
by the OS widget, and prevent Gecko from painting a CSS background color.

Differential Revision: https://phabricator.services.mozilla.com/D51460
2020-06-09 22:41:26 +00:00
Dão Gottwald 2cae6fb6b6 Bug 1638327 - Rename urlbar-autocomplete.inc.css to urlbarView.inc.css. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75547
2020-05-15 16:00:38 +00:00
Harry Twyford cd2b06084d Bug 1637043 - Stop highlighting the heuristic search result. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D74739
2020-05-12 14:28:31 +00:00
Bogdan Tara 4481f7e004 Backed out changeset de6d1c1375ee (bug 1637043) for browser_autocomplete_a11y_label.js failures CLOSED TREE 2020-05-12 04:59:44 +03:00
Harry Twyford c30d408639 Bug 1637043 - Stop highlighting the heuristic search result. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D74739
2020-05-12 00:08:16 +00:00
Dão Gottwald 84553118c4 Bug 1634865 - Backed out bug 1625720 and bug 1625721. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73542
2020-05-02 13:16:31 +00:00
Tim Nguyen 2eeab7c5b4 Bug 1625721 - Split out arrow panel styles and load them as shadow DOM stylesheet. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68713
2020-04-21 09:54:57 +00:00
Brindusan Cristian aac7877663 Backed out changeset 6c312e49ee09 (bug 1625721) for build bustages at popup.css. CLOSED TREE 2020-04-21 12:46:28 +03:00
Tim Nguyen 61b493582b Bug 1625721 - Split out arrow panel styles and load them as shadow DOM stylesheet. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68713
2020-04-21 09:20:43 +00:00
Tim Nguyen bcb3afee10 Bug 1631626 - Reduce dependency on toolkit/themes/osx/global/shared.inc. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71670
2020-04-21 09:16:04 +00:00