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

9198 Коммитов

Автор SHA1 Сообщение Дата
Doug Thayer fc47f797f9 Bug 1693052 - Update fxa signout dialog r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108225
2021-03-13 03:05:17 +00:00
Tim Nguyen eec5839457 Bug 1698058 - Update downloads panel/window icons & icon button styling. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D108189
2021-03-13 01:51:28 +00:00
smolnar 547a309816 Backed out changeset 3d812f02347c (bug 1698058) for causing OS X build bustages. CLOSED TREE 2021-03-13 03:18:51 +02:00
Emma Malysz 411ea1a3d2 Bug 1696524, update selected tab box shadow r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D108274
2021-03-13 00:40:02 +00:00
Tim Nguyen 6b556978c0 Bug 1698058 - Update downloads panel/window icons & icon button styling. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D108189
2021-03-13 00:35:11 +00:00
Gijs Kruitbosch d6848e7101 Bug 1692082 - fix spacing, icons and colours for checkmarks and arrows in Windows 10 menus, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108108
2021-03-13 00:16:36 +00:00
Emma Malysz 6e4c1b1588 Bug 1694678: update fxa and remote tabs sync now buttons r=fluent-reviewers,mconley
This patch:
-Maintains consistency between the fxa and remote tabs' panels "sync now" buttons
-Removes a fluent string no longer in use
-Restores tooltip functionality

Differential Revision: https://phabricator.services.mozilla.com/D106651
2021-03-12 21:41:46 +00:00
Tim Nguyen 94c7e50db9 Bug 1695172 - Fix some flaws with the --toolbar-start-end-padding first button selector. r=mstriemer
* Applies it on toolbarpaletteitem for customize mode.
* Stops applying it on every child of the first toolbaritem child, since the content of toolbaritem is unpredictable (zoom-controls, reload/stop, profiler icon & dropmarker.

Differential Revision: https://phabricator.services.mozilla.com/D108258
2021-03-12 21:26:36 +00:00
Bogdan Tara 483cc72dd6 Backed out changeset 2cd64beb8bf3 (bug 1696546) on dao's request - for not addressing significant flaw CLOSED TREE 2021-03-12 22:29:33 +02:00
Tim Nguyen ba3a985a7a Bug 1698161 - Rename check-animation.svg to success-animation.svg. r=harry
Since bug 1697665, the checkmark for which the animation is based on is no longer check.svg, but success.svg.

Differential Revision: https://phabricator.services.mozilla.com/D108235
2021-03-12 19:07:26 +00:00
Jared Wein 5f3ba32ae9 Bug 1688301 - Use a special attribute to insert the space between the pinned tabs and unpinned tabs to account for possible hidden tabs. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105381
2021-03-12 18:19:42 +00:00
Mike Conley 3fad3847c2 Bug 1697295 - Replace camera and microphone labels with icons in WebRTC permission panel when Proton is enabled. r=pbz,Jamie,fluent-reviewers,desktop-theme-reviewers,harry,Gijs
This is not an exhaustive redress of the WebRTC panel. It just replaces the labels
preceding the camera/microphone selectors with icons if Proton is enabled. There's
still a bunch of styling work to do in this panel for Proton, but that will occur
in a follow-up patch.

Differential Revision: https://phabricator.services.mozilla.com/D107718
2021-03-12 17:42:54 +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
Tim Nguyen 8683d3c956 Bug 1698137 - De-duplicate identity-icon.svg and info.svg. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D108219
2021-03-12 16:58:19 +00:00
Tim Nguyen 6436d2f8c3 Bug 1698035 - De-duplicate 16x16 icons re-packaged in browser/themes/shared/preferences directory. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D108175
2021-03-12 16:33:32 +00:00
Tim Nguyen 627499aa47 Bug 1698041 - Use a different naming scheme category icons in preferences. r=Itiel
This is consistent with about:addons (toolkit/themes/shared/extensions).

Differential Revision: https://phabricator.services.mozilla.com/D108176
2021-03-12 14:44:09 +00:00
Tim Nguyen 2a1437011c Bug 1698048 - Move browser/themes/shared/reader/readerMode.svg to the browser/themes/shared/icons directory. r=desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108178
2021-03-12 12:24:18 +00:00
Tim Nguyen 64c00bef7b Bug 1697806 - De-duplicate colored extension SVG icons. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D108008
2021-03-12 10:06:18 +00:00
Tim Nguyen da94fac78a Bug 1697792 - Clean up info SVG icons in the codebase. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108001
2021-03-12 09:53:16 +00:00
Zibi Braniecki cee32e6733 Bug 1696546 - Don't show border-top-style over active tab in Proton. r=jaws
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D107540
2021-03-09 19:13:09 +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
Tim Nguyen 9904b18f95 Bug 1697623 - Improve proton compact density - round 2. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D107924
2021-03-12 03:15:12 +00: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
Csoregi Natalia 8308087290 Backed out changeset dcc686463127 (bug 1697792) for failures on browser_parsable_css.js- icon related. CLOSED TREE 2021-03-12 05:21:41 +02:00
Tim Nguyen 3b6042742a Bug 1697792 - Clean up info SVG icons in the codebase. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108001
2021-03-11 20:47:37 +00:00
Csoregi Natalia e24ce823d1 Bug 1692046 - Fix lint issue. r=fix CLOSED TREE 2021-03-11 22:51:46 +02:00
Harry Twyford bffb660313 Bug 1692046 - Add dark mode address bar and arrowpanel-border colors (Proton). r=mak,dao
There are a few things happening in this patch:
1. New colours are defined in proton-dark/manifest.json. This will be merged with dark/manifest.json when Proton is ready.
2. I removed specific rules for [lwt-default-theme-in-dark-mode]. The [current plan](https://docs.google.com/document/d/1Zh1Nr_lBKpCp4mW-cn6ouaq0ZueK-ReQokyKfQvWiSE/edit#) is to merge proton-dark/manifest.json with default-theme/manifest.json when Proton is ready.
3. Two different borders can now be set on the Urlbar: toolbar_field_focus_border when the panel is closed, and popup_border when it is open. This is a behaviour change, but it's actually consistent with [the documentation](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/theme#images).
4. popup_border/arrowpanel-border-color is now transparent on non-LWT non-Linux non-HCM. This affects other panels, but I verified with UX on Slack that all light mode Proton panels are losing their border in favour of drop-shadows. These colours are set in browser-custom-colors which is a new sheet that will set Proton's saturated colours. I also moved some rules to that sheet from urlbarView.inc.css that were  serving the same purpose.
5. A border is now shown around the searchbar popup. We never set a border-width on it! We were setting border-color so I don't know if this was intentional or just a bug.

Differential Revision: https://phabricator.services.mozilla.com/D107011
2021-03-11 16:49:06 +00:00
Zibi Braniecki 4245bc6ba8 Bug 1696552 - Use padding on the first tab to allow for shadow. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D107703
2021-03-11 15:16:34 +00:00
Nika Layzell ac5d6db1fc Bug 1546540 - Part 2: Override newtab colorscheme in "Light" theme, r=dao
With the changes in part 1, the newtab page would now be rendered with a dark
theme if the user has prefers-color-scheme: dark due to OS styling, but
explicitly selects the provided "Light" theme.

This patch explicitly specifies the text and background colors in the "Light"
theme, ensuring that the newtab page will always be rendered with a light
colorscheme if the "Light" theme is selected, which is more in-line with the
previous behaviour and consistent with the built-in "Dark" theme.

Differential Revision: https://phabricator.services.mozilla.com/D107772
2021-03-10 22:08:10 +00:00
Marco Bonardo bfe230a5dc Bug 1697219 - Use a fully colored branding icon in the identity box. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107739
2021-03-10 20:31:57 +00:00
Erica Wright 314b24db0d Bug 1682676 - Position infobars inside of the chrome. r=mstriemer
Depends on D106012

Differential Revision: https://phabricator.services.mozilla.com/D104741
2021-03-10 19:22:56 +00:00
Tim Nguyen 71772002e5 Bug 1696535 - Make tabbar toolbarbuttons use tab dimensions with Proton. r=jaws
This also fixes the new tab button stretching in compact mode by not forcing a min-height.

Differential Revision: https://phabricator.services.mozilla.com/D107811
2021-03-10 16:56:13 +00:00
Molly Howell 52500a6465 Bug 1692086 - Position and scale submenu arrows correctly to spec. r=dao
I also noticed while trying out this patch that the context menu navigation
icons really need to also scale with the font size, so I've fixed that here
along with the submenu arrows.

Differential Revision: https://phabricator.services.mozilla.com/D107570
2021-03-10 16:45:42 +00:00
Mike Conley 3b800c74bc Bug 1697328 - Turn the overflow panel footer into a footer button. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D107734
2021-03-10 16:37:46 +00:00
Julien Wajsberg ca63a6a34a Bug 1696611 - Remove !important for the CSS property "color" for the Firefox Profiler preset selection box r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D107812
2021-03-10 13:52:01 +00:00
Marco Bonardo 33af1f81ff Bug 1697415 - Hide pageActionSeparator in Proton. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D107795
2021-03-10 12:39:44 +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
Narcis Beleuzu ca91076256 Backed out changeset 147d0fb218c3 (bug 1696546) for mda crashes on libc.so . CLOSED TREE 2021-03-10 06:12:49 +02:00
Tim Nguyen f8f4fb14e3 Bug 1697293 - Improve Proton compact density. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107720
2021-03-09 21:23:52 +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
Zibi Braniecki 6fdd2399d3 Bug 1696546 - Don't show border-top-style over active tab in Proton. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107540
2021-03-09 19:13:09 +00:00
Zibi Braniecki d42fd3830c Bug 1695518 - Disable Save and Sync Data in App Menu is fxa is disabled. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D107559
2021-03-09 19:10:33 +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
Greg Tatum e2657b40e2 Bug 1696534 - Make Proton pinned tabs 36x36 square r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107546
2021-03-09 17:57:44 +00:00
Marco Bonardo 44dda25d4e Bug 1695022 - Address bar result list titles are misaligned by 1px. r=harry,ntim
Differential Revision: https://phabricator.services.mozilla.com/D107568
2021-03-09 17:39:13 +00:00
Mike Conley a14075fce3 Bug 1697061 - Detach screen sharing warning message from video, and move put Learn more link on its own line. r=flod,pbz
Differential Revision: https://phabricator.services.mozilla.com/D107569
2021-03-09 15:40:36 +00:00
Marco Bonardo 2b99ea2e97 Bug 1696752 - Allow to Add Web Engines from the urlbar contextual menu. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107370
2021-03-09 13:44:03 +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
Csoregi Natalia fa029583ab Backed out changeset 0a8323260fa7 (bug 1696752) for build bustages on page_action_menu_add_search_engine_2.xml CLOSED TREE 2021-03-09 14:13:06 +02:00
Marco Bonardo 46c22b83c6 Bug 1696752 - Allow to Add Web Engines from the urlbar contextual menu. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107370
2021-03-09 11:19:40 +00:00
Tim Nguyen 869570bb3e Bug 1697062 - Update Proton Light theme to match specification. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107583
2021-03-09 02:34:56 +00:00
Tim Nguyen 7e13c8b7a8 Bug 1697062 - Add temporary Proton Light theme. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107577
2021-03-09 02:34:56 +00:00
Zibi Braniecki 4a92e98d40 Bug 1695684 - Don't set different padding-inline-end for the last tab. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107547
2021-03-09 00:16:40 +00:00
Marco Bonardo 30705f3928 Bug 1696628 - Reader Mode indicator and add-on icons are stretched in the address bar. r=harry,desktop-theme-reviewers
The regression is actually caused by having changed urlbar-icon padding to a padding-inline, that was actually
an oversight due to the padding being excessive, with a 1px transparent border, we only need a 1 px padding.

This patch also tries to unify the padding management across urlbar icons and identity icons, because otherwise
in compact mode some icons padding gets unusually large, and they don't grow enough in touch mode.
Once Proton will be default this will allow simpler management of the paddings and urlbar sizes.

Differential Revision: https://phabricator.services.mozilla.com/D107422
2021-03-08 22:13:40 +00:00
Tim Nguyen 040c942e6d Bug 1696555 - Remove spacing before proton tab close button. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107499
2021-03-08 18:15:37 +00:00
Gijs Kruitbosch 3abf59cdb7 Bug 1696645 - fix height of buttons in container settings rows r=preferences-reviewers,desktop-theme-reviewers,ntim
Wrapping text can mean the container name takes up more vertical space.
The buttons should keep their ideal spacing instead of stretching vertically.

Differential Revision: https://phabricator.services.mozilla.com/D107486
2021-03-08 17:19:47 +00:00
Tim Nguyen ea8fdba50e Bug 1696638 - Remove obsolete .header preferences.css & common.css styling. r=preferences-reviewers,Gijs
This was originally added in bug 1120967 to space the help button that used to appear in the header. The help button has since been removed.

It's bogus in this case, because it accidentally overrides the display value of some description (which used to force their own display value).

Differential Revision: https://phabricator.services.mozilla.com/D107334
2021-03-05 16:49:42 +00:00
Gijs Kruitbosch 3e8f017587 Bug 1693277 - fix long text wrapping, shadows, radii and colours for proton, and clean up some CSS, r=mtigley
This moves some inline styles into CSS and fixes modal masks and shadows to match the spec.

I also noticed some negative effects from other Proton button styles on close-icon buttons in dialogs
in about:preferences (e.g. check the oversized titlebar for the fonts dialog) that I fixed here.

Differential Revision: https://phabricator.services.mozilla.com/D107109
2021-03-05 10:50:52 +00:00
Alexandru Michis 55e499c3cf Backed out 3 changesets (bug 1693277) for causing bc failures in browser_modal_resize.js
CLOSED TREE

Backed out changeset 0580aaec32a0 (bug 1693277)
Backed out changeset be8108cd9820 (bug 1693277)
Backed out changeset 8b9986d057d7 (bug 1693277)
2021-03-05 03:58:03 +02:00
Gijs Kruitbosch d0ec744dc0 Bug 1693277 - fix long text wrapping, shadows, radii and colours for proton, and clean up some CSS, r=mtigley
This moves some inline styles into CSS and fixes modal masks and shadows to match the spec.

I also noticed some negative effects from other Proton button styles on close-icon buttons in dialogs
in about:preferences (e.g. check the oversized titlebar for the fonts dialog) that I fixed here.

Differential Revision: https://phabricator.services.mozilla.com/D107109
2021-03-05 00:07:35 +00:00
Tim Nguyen 41fc8d5a7f Bug 1695351 - Wrap rich tab tooltip titles instead of cropping them. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107281
2021-03-04 23:16:53 +00:00
Geoff Lankow 54ab3624a4 Bug 1675730 - Move critical.svg from browser to toolkit. r=johannh
certviewer.html, being a toolkit file, shouldn't link to an icon in browser. This results in a broken image icon in Thunderbird.

Differential Revision: https://phabricator.services.mozilla.com/D107166
2021-03-04 21:56:05 +00:00
Jonathan Kew a6f10447df Bug 1695568 - Strip https:// from the URL in proton tab tooltips; add a broken-lock icon to http:// URLs. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107250
2021-03-04 21:23:31 +00:00
Jared Wein c6f4ebbf27 Bug 1696322 - Move the formatted tab and bookmarks tooltip behind its own Proton pref. r=bwinton
Differential Revision: https://phabricator.services.mozilla.com/D107171
2021-03-04 18:03:58 +00:00
Marco Bonardo a290a13567 Bug 1691531 - Part 2 - Update the Urlbar label box colors (Proton). r=harry,dao
Differential Revision: https://phabricator.services.mozilla.com/D106339
2021-03-04 17:13:18 +00:00
Marco Bonardo 709d600fd9 Bug 1691531 - Part 1 - Update the address bar label box spacing and borders (Proton). r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106338
2021-03-04 17:13:17 +00:00
Marco Bonardo 7d60deda62 Bug 1691533 - Part 3 - Update colors for the search mode chiclet (Proton). r=harry,dao
Differential Revision: https://phabricator.services.mozilla.com/D106337
2021-03-04 17:13:17 +00:00
Marco Bonardo 54cf9623fa Bug 1691533 - Part 2 - Update search mode chiclet spacing and borders (Proton). r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106336
2021-03-04 17:13:17 +00:00
Marco Bonardo e5d75652e9 Bug 1691533 - Part 1 - Always show the X button on the search mode indicator (Proton). r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106335
2021-03-04 17:13:16 +00:00
Marco Bonardo 3987daeee3 Bug 1691545 - Update identity box and urlbar icons spacing and borders (Proton). r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106334
2021-03-04 17:13:16 +00:00
Paul Zuehlcke 805563414d Bug 1695356 - Show permission indicator for any non-default site-permissions. r=johannh
Before decoupling the permission panel in Bug 1596897, the permission indicator was
not shown if we had a blocked permission icon to show instead. With the decoupled
permissions panel it needs to be shown whenever we have permissions listed in the
panel. The granted permissions icon is now the anchor for the panel.

Differential Revision: https://phabricator.services.mozilla.com/D106771
2021-03-04 12:18:06 +00:00
Tim Nguyen 629bf23c06 Bug 1696202 - Refactor close-icon.css to use color-mix(). r=preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D107081
2021-03-04 02:51:00 +00:00
Erica Wright 61de2a5817 Bug 1695706 - Polish styles on subview back button. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106942
2021-03-03 20:10:23 +00:00
Csoregi Natalia f8043879e3 Backed out changeset 44ff4cb38ce1 (bug 1694678) for failures on browser_sync.js. CLOSED TREE 2021-03-03 09:56:35 +02:00
Emma Malysz bfd4f5a6d1 Bug 1694678: update fxa and remote tabs sync now buttons r=fluent-reviewers,mconley
This patch:
-Maintains consistency between the fxa and remote tabs' panels "sync now" buttons
-Removes a fluent string no longer in use
-Restores tooltip functionality

Differential Revision: https://phabricator.services.mozilla.com/D106651
2021-03-03 06:52:10 +00:00
Sam Foster 0f8cdcd29b Bug 1686521 - Proton: Show FxA button based on signed-in state. r=markh,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105702
2021-03-03 00:01:12 +00:00
Mihai Alexandru Michis 1c9566c96e Backed out changeset 7692908f97e7 (bug 1694678) for causing bc failures in browser_sync.js
CLOSED TREE
2021-03-02 19:56:17 +02:00
Emma Malysz 4d02027b4d Bug 1694678: update fxa and remote tabs sync now buttons r=fluent-reviewers,mconley
This patch:
-Maintains consistency between the fxa and remote tabs' panels "sync now" buttons
-Removes a fluent string no longer in use
-Restores tooltip functionality

Differential Revision: https://phabricator.services.mozilla.com/D106651
2021-03-02 16:02:35 +00:00
Gijs Kruitbosch 45b754f38f Bug 1692111 - unify submenu arrow image use for proton, r=mconley,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D106629
2021-03-02 14:10:05 +00:00
Mike Conley 1e1fa52a31 Bug 1695345 - Fork Dark Mode compact theme for Proton. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D106691
2021-03-02 04:36:57 +00:00
Csoregi Natalia 2a685ce5ab Backed out changeset 3251eaf83891 (bug 1695345) for causing build bustages. CLOSED TREE 2021-03-02 03:20:40 +02:00
Mike Conley a2f8675ecd Bug 1695345 - Fork Dark Mode compact theme for Proton. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D106691
2021-03-01 23:48:26 +00:00
Mike Conley dc2631ac79 Bug 1695348 - Mass rename browser.proton.appmenu.enabled to browser.proton.enabled. r=emalysz,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106800
2021-03-01 17:27:52 +00:00
Butkovits Atila 8ed8707b3d Backed out changeset 962540b712f9 (bug 1694678) for causing failure at browser_sync.js. CLOSED TREE 2021-02-27 05:05:08 +02:00
Emma Malysz cc6a25c9cc Bug 1694678: update fxa and remote tabs sync now buttons r=fluent-reviewers,mconley
This patch:
-Maintains consistency between the fxa and remote tabs' panels "sync now" buttons
-Removes a fluent string no longer in use
-Restores tooltip functionality

Differential Revision: https://phabricator.services.mozilla.com/D106651
2021-02-27 01:16:40 +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
Drew Willcoxon f0ff54efc1 Bug 1695067 - Don't apply hover styling to selected quick suggest results. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D106553
2021-02-26 18:36:42 +00:00
Drew Willcoxon 8e77af6b33 Bug 1694723 - Don't hide the action text on hover for quick suggest results. r=dao
Depends on D106550

Differential Revision: https://phabricator.services.mozilla.com/D106552
2021-02-26 18:35:32 +00:00
Jared Wein 5810ee434c Bug 1665390 - Style bookmarks toolbar and tabs toolbar tooltips. r=NeilDeakin,ntim
Differential Revision: https://phabricator.services.mozilla.com/D104257
2021-02-25 20:47:54 +00:00
Tim Nguyen f1901aae2b Bug 1694936 - Fix appearance of some <description> tags in identity panel. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D106473
2021-02-25 14:40:15 +00:00
Micah Tigley b2ecd02121 Bug 1691791 - Refresh bookmarks toolbar styling. r=mstriemer,fluent-reviewers,desktop-theme-reviewers,ntim,flod
Differential Revision: https://phabricator.services.mozilla.com/D106028
2021-02-24 23:28:47 +00:00
Harry Twyford b5cbcf36ee Bug 1694756 - Apply --toolbar-field-non-lwt-bgcolor to unfocused toolbar fields, not closed ones. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106316
2021-02-24 21:58:13 +00:00
Emma Malysz 0ce624d6d7 Bug 1694652, change device heading font-size in proton fxa panel r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106285
2021-02-24 16:35:22 +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 27e7bad0be Bug 1691544 - Part 2 - Update focused-and-closed state for Proton. r=mak,desktop-theme-reviewers,dao
This patch mainly does three things:
1. Changes the necessary CSS to meet the Proton spec.
2. Removes several calls to UrlbarInput.startLayoutBreakout(), because the Urlbar no longer expands when the panel is not open.
3. Introduces a [suppress-focus-border] attribute. This attribute hides the 2px focus ring around the Urlbar. This ensures that we don't flash the focus ring when the user clicks a Urlbar that will autoOpen, seeing as the open Urlbar no longer has a border. It also hides the focus border after the user presses Esc, as specified in Figma.

Differential Revision: https://phabricator.services.mozilla.com/D105097
2021-02-24 16:02:40 +00:00
harry fb163ac908 Bug 1691544 - Part 1 - Use -moz-accent-color for focus ring on Linux. r=yzen,dao
Dao points out at https://phabricator.services.mozilla.com/D105097#inline-590409 that prefers-contrast is not adequate when accounting for various Linux OS themes. We have to use the OS accent color on Linux if we want to maintain compatibility with OS themes. This follows not supporting the new color for the unfocused Urlbar on Linux (see D104898) and not supporting the grey result-highlight colour on Linux (see D105535). We should change focus-outline-color universally on Linux for the same reasons.

Differential Revision: https://phabricator.services.mozilla.com/D105672
2021-02-24 16:02:40 +00:00
Mike Conley 344a56022e Bug 1693177 - Apply Proton stylings to Firefox Accounts menu and surroundings. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D105697
2021-02-24 03:01:51 +00:00
Mike Conley 3da2d710da Bug 1688960 - Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105081
2021-02-24 02:52:30 +00:00
Dorel Luca df1d85fc90 Backed out 2 changesets (bug 1688960, bug 1693177) for Browser-chrome failures in browser/base/content/test/sync/browser_sync.js. CLOSED TREE
Backed out changeset 13e08408add0 (bug 1693177)
Backed out changeset a34474998cd6 (bug 1688960)
2021-02-24 03:36:21 +02:00
Mike Conley 348076c2de Bug 1693177 - Apply Proton stylings to Firefox Accounts menu and surroundings. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D105697
2021-02-23 23:16:12 +00:00
Mike Conley 7404b84286 Bug 1688960 - Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105081
2021-02-23 23:16:12 +00:00
Molly Howell b7a1648f8a Bug 1693980 - Make Proton tab bar buttons' click targets extend to the top of maximized windows. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D106189
2021-02-23 22:43:21 +00:00
Gijs Kruitbosch 14792b1e0b Bug 1694446 - remove pocket library animation, r=emalysz,desktop-theme-reviewers,harry
I'm keeping the generic 'animate' selectors which are still used for the bookmark/star animation.
This should make it easier to add other animations to the library in future, if that
ends up useful, and making them more specific to the star animation doesn't seem like it gains
us anything. The de-duplication from bug 1393565 helps a lot here.

Differential Revision: https://phabricator.services.mozilla.com/D106153
2021-02-23 20:42:18 +00:00
Emma Malysz 38dfb59850 Bug 1690131: create proton-specific fxa menu r=mconley,markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104937
2021-02-23 15:37:12 +00:00
Mike Conley 3ffc2a1848 Bug 1693644 - Only show a label for the camera/mic in the WebRTC device selector if there's only 1 device available or requested. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D105932
2021-02-23 15:13:45 +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
Emma Malysz f05741c80d Bug 1690854, remove slow startup notification r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105993
2021-02-22 21:20:36 +00:00
Drew Willcoxon 84f741645d Bug 1693778 - [RTL] Properly right-align URLs in urlbar results now that their container is flexed. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D105807
2021-02-22 17:29:29 +00:00
Mike Conley 744c808df2 Bug 1692630 - Apply more Proton styles for headers and subheaders in the AppMenu. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D105786
2021-02-19 17:45:25 +00:00
Mike Conley 15ec818ad1 Bug 1692603 - Update Proton AppMenu Zoom controls styling. r=mtigley
The named colours are hopefully going to get factored out in bug 1693702,
but this allows us to fix the styling of the Zoom controls in light theme
for now.

Differential Revision: https://phabricator.services.mozilla.com/D105710
2021-02-19 17:45:25 +00:00
Yura Zenevich ca120a08f9 Bug 1692555 - update toolbar focus outline offset to not visually increase button size. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D105552
2021-02-18 18:29:00 +00:00
Drew Willcoxon f7cda9a0be Bug 1692526 - Allow results to include a help/info button. r=dao
This supports a new `helpUrl` payload property on all results. It causes results
in the view to have a help button that can be selected and picked independently
of the main part of the result. When picked, the help button loads the
`helpUrl`. It looks and acts the same as the help buttons we already have for
tip results.

The help button should be flush with the trailing edge of the result row, and it
should be selectable independently from the main part of the result. To achieve
that without disrupting things too much, I create the button inside of
`.urlbarView-row` but outside of `.urlbarView-row-inner`. The "main" part of the
row is `.urlbarView-row-inner`. I made `.urlbarView-row` have `display: flex` so
the the inner part can have `flex: 1` so it can fill up the entire row except
for the help button.

This also reworks view selection a little so that for each row, we look for
selectable elements in the row instead of assuming that the row itself is
selectable. That also lets us remove a couple of special cases for tip and
dynamic results.

Differential Revision: https://phabricator.services.mozilla.com/D105095
2021-02-18 18:00:22 +00:00
Jared Wein 4732bd71ba Bug 1693359 - Ensure the tab close button is visible in Touch mode with Proton styling applied. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D105509
2021-02-18 00:50:54 +00:00
Bernard Igiri f524c959a4 Bug 1686530 - Refresh button spacing and style in toolbar for Proton r=mstriemer,ntim,harry
Updated spacing in toolbar to match figma.

https://www.figma.com/file/FjUe6ORvXZgJvI3rPuTV33/Desktop-UI?node-id=1729%3A26278

Differential Revision: https://phabricator.services.mozilla.com/D103505
2021-02-17 22:50:54 +00:00
Jared Wein 42b392b34a Bug 1692698 - On maximized window, show a gap between the first tab and the window edge, while continuing to support Fitts' Law. r=dao
Also make the pixels between tabs select the closest tab to prevent accidental drags of the window.

Differential Revision: https://phabricator.services.mozilla.com/D105117
2021-02-17 16:01:13 +00:00
Marco Bonardo 015111e434 Bug 1687397 - Don't flash the microphone/camera icon during WebRTC in the identity panel. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D105282
2021-02-17 08:56:00 +00:00
Emilio Cobos Álvarez cd929b0196 Bug 1692982 - Don't inherit color in profiler dropdown. r=dao
I used a fixed color to match the fixed background. The color I took
from https://design.firefox.com/photon/visuals/color.html, which is
where the background color seems to be taken as well.

Differential Revision: https://phabricator.services.mozilla.com/D105279
2021-02-16 13:21:53 +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
Mike Conley 2687e4f918 Bug 1691152 - Apply latest Proton stylings to AppMenu. r=ewright
Depends on D104749

Differential Revision: https://phabricator.services.mozilla.com/D105027
2021-02-12 17:59:50 +00:00
Mike Conley 511394874d Bug 1690662 - Port the add-on and browser update banners to the Proton AppMenu. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D104749
2021-02-12 17:59:49 +00:00
Itiel 810c0fb7c5 Bug 1689480 - Changes to about:welcomeback radiobuttons to accomodate for the added margin-block r=ntim
This also gets rid of the non clickable area between the radiobutton and its label.

Differential Revision: https://phabricator.services.mozilla.com/D103393
2021-02-12 17:05:26 +00:00
Itiel ab2daef0dc Bug 1689480 - Changes to about:tabcrashed checkboxes to accomodate for the added margin-block r=ntim
This also gets rid of the non clickable area between the checkbox and its label.

Differential Revision: https://phabricator.services.mozilla.com/D103391
2021-02-12 17:05:24 +00:00
Jared Wein e7e83aa363 Bug 1688072 - Tweak the dimensions of the tabs to get closer to the Proton design. r=fluent-reviewers,dao,flod
Differential Revision: https://phabricator.services.mozilla.com/D102802
2021-02-11 22:05:52 +00:00
Jared Wein a49d843fa8 Bug 1689852 - Show autoplay blocked and picture-in-picture text label in tab. r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103826
2021-02-11 22:05:52 +00:00
Emilio Cobos Álvarez d96854eeb1 Bug 1691781 - Make Linux tab bar use the darker of the highlight / highlighttext colors. r=dao
Some GTK themes use very soft colors for selection backgrounds, using
darker colors for the text. This makes the tab and focus outlines in the
tab bar not have sufficient contrast with usual backgrounds.

I needed to do this for bug 1690778, but it seems worth doing it on the
front-end as well.

Differential Revision: https://phabricator.services.mozilla.com/D104547
2021-02-11 16:36:54 +00:00
Bogdan Tara d3343662ce Backed out 4 changesets (bug 1688294, bug 1688072, bug 1689852, bug 1690775) for assertion failure at FetchDriver.cpp CLOSED TREE
Backed out changeset 875a43504848 (bug 1690775)
Backed out changeset 977472ead74c (bug 1688294)
Backed out changeset 0788a5748ee1 (bug 1688072)
Backed out changeset d2ca3aec6fd6 (bug 1689852)
2021-02-11 07:49:56 +02:00
Molly Howell 3de3dc09e4 Bug 1682522 - Implement new menu style for Windows 10. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D104466
2021-02-11 00:52:56 +00:00
Noemi Erli 9ec3bcd05d Backed out changeset 01bd07adb674 (bug 1682522) for failing in browser_all_files_referenced.js 2021-02-11 01:59:20 +02:00
Jared Wein 789da46f22 Bug 1688072 - Tweak the dimensions of the tabs to get closer to the Proton design. r=fluent-reviewers,dao,flod
Differential Revision: https://phabricator.services.mozilla.com/D102802
2021-02-10 16:16:20 +00:00
Jared Wein ab383aead4 Bug 1689852 - Show autoplay blocked and picture-in-picture text label in tab. r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103826
2021-02-10 16:16:19 +00:00
Molly Howell f358c64dfb Bug 1682522 - Implement new menu style for Windows 10. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D104466
2021-02-10 22:35:37 +00:00
Tim Nguyen d2eed7a3f9 Bug 1691965 - Improve some existing high contrast mode CSS. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D104738
2021-02-10 22:16:44 +00:00
Tim Nguyen 4cf35a083f Bug 1691965 - Replace (-moz-windows-default-theme) with (prefers-contrast) in some browser/ usages. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D104695
2021-02-10 22:16:44 +00:00
Bogdan Tara 3e381638b2 Backed out 3 changesets (bug 1688294, bug 1688072, bug 1689852)for wpt leakcheck failures CLOSED TREE
Backed out changeset 32f3082f44bb (bug 1688294)
Backed out changeset bd374838529f (bug 1688072)
Backed out changeset b87c6bdada6e (bug 1689852)
2021-02-11 00:35:17 +02:00
harry 0c8425d285 Bug 1672081 - Make #navigator-toolbox transparent in macOS light theme, allowing vibrancy rules to apply to the toolbar. r=desktop-theme-reviewers,mstange,ntim
Differential Revision: https://phabricator.services.mozilla.com/D104417
2021-02-10 20:28:09 +00:00
Jared Wein 92700be843 Bug 1688072 - Tweak the dimensions of the tabs to get closer to the Proton design. r=fluent-reviewers,dao,flod
Differential Revision: https://phabricator.services.mozilla.com/D102802
2021-02-10 16:16:20 +00:00
Jared Wein 836d02b22d Bug 1689852 - Show autoplay blocked and picture-in-picture text label in tab. r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103826
2021-02-10 16:16:19 +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
Yura Zenevich eb60c40868 Bug 1689761 - update toolbar focus outline color from currentColor to proton colors (theme dependent). r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D103822
2021-02-10 16:00:06 +00:00
Yura Zenevich 5002833d63 Bug 1689761 - define common focus outline style for toolbars. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D103821
2021-02-10 16:00:05 +00:00
Yura Zenevich 6ca2caa708 Bug 1689761 - provide focus-outline color experimental theme variable for Alpenglow. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D103820
2021-02-10 16:00:05 +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
Yura Zenevich c696566e7a Bug 1689761 - update toolbar focus outline color from currentColor to proton colors (theme dependent). r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D103822
2021-02-10 15:21:05 +00:00
Yura Zenevich 0bbae48fc8 Bug 1689761 - define common focus outline style for toolbars. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D103821
2021-02-10 15:21:04 +00:00
Yura Zenevich 9a0eedc087 Bug 1689761 - provide focus-outline color experimental theme variable for Alpenglow. r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D103820
2021-02-10 15:21:04 +00:00
Paul Zuehlcke 66fe5653ff Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-02-05 13:40:35 +00:00
Emma Malysz f704ce12fa Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-05 22:29:30 +00:00
Mihai Alexandru Michis 220ebe2284 Backed out changeset dfbbd3864b2f (bug 1689372) for causing bc failures in browser_history_recently_closed.js
CLOSED TREE
2021-02-05 22:15:25 +02:00
Emma Malysz 5aa317ef1e Bug 1689372, simplify history panel r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103535
2021-02-05 18:01:55 +00:00