Commit Graph

107 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
cb06f25a7a Bug 1913322 - Make arrowscrollbox use resizeobserver rather than overflow/underflow events. r=Gijs,dao,desktop-theme-reviewers,tabbrowser-reviewers,frontend-codestyle-reviewers
For that, make the <slot> have a box. Keep firing the overflow /
underflow events, but only in cases relative to the arrowScrollbox.

Remove unneeded scrollbox-clip box, and replace it by
`overflow-clip-box-block: content-box` in the only place that we make
the scrollbox grow.

Differential Revision: https://phabricator.services.mozilla.com/D219249
2024-08-20 12:58:16 +00:00
Sarah Clements
d638aa776d Bug 1912281 - Fix alignment of tabs and tools in the sidebar r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D218846
2024-08-08 14:45:12 +00:00
Sam Foster
f64b68c78d Bug 1899580 - Exclude collapsed vertical tabs from indicator-replaces-favicon behavior. r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,sessionstore-reviewers,sclements
- Ensure everything that sets .expanded on sidebar-main uses the toggleExpanded method

Differential Revision: https://phabricator.services.mozilla.com/D217507
2024-08-07 18:51:26 +00:00
Jeremy Swinarton
cd95d6d498 Bug 1908404: Click to expand/collapse tab group r=dao,desktop-theme-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D218434
2024-08-07 14:59:36 +00:00
Sarah Clements
39bf719fce Bug 1909843 - Vertical tab fixes r=tabbrowser-reviewers,desktop-theme-reviewers,dao
* Fix rule to show favicon when icons are missing
* Fix typo name change that affects unpinning tabs
* Fix padding issue for arrowscrollbox that affects alignment

Differential Revision: https://phabricator.services.mozilla.com/D218052
2024-08-06 14:48:27 +00:00
Dão Gottwald
17212311e0 Bug 1702645 - Properly position crashed badge. r=tabbrowser-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D218184
2024-08-01 16:13:20 +00:00
DJ
89ad94eb74 Bug 1902619 - Hold space for pending screenshots and fade in when ready. r=jswinarton,desktop-theme-reviewers,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D218101
2024-07-31 18:47:41 +00:00
Sandor Molnar
2e5df25263 Backed out 2 changesets (bug 1906123, bug 1902619) for causing bc failures @ @ browser_thumbnails_bg_basic.js CLOSED TREE
Backed out changeset d64bfab9a514 (bug 1902619)
Backed out changeset 5bbb9dd95c0e (bug 1906123)
2024-07-31 21:29:58 +03:00
DJ
7ae78e601d Bug 1902619 - Hold space for pending screenshots and fade in when ready. r=jswinarton,desktop-theme-reviewers,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D218101
2024-07-31 17:30:23 +00:00
Jonathan Sudiaman
7f23df83f1 Bug 1904210 - Adjust default sidebar and sidebar panel widths r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,kcochrane,dao,sclements
- Set the sidebar width in the expanded state to 280px.
- Set the sidebar panel default size to 400px with a minWidth of 200px.
- Persist sidebar panel width changes made by the user.

Differential Revision: https://phabricator.services.mozilla.com/D217736
2024-07-30 17:01:45 +00:00
Dão Gottwald
57b3a833e4 Bug 1908162 - Basic Tab Group custom element. r=dwalker,desktop-theme-reviewers,tabbrowser-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D217980
2024-07-30 14:57:41 +00:00
Stanca Serban
320e7920b7 Backed out changeset 90b4291bf3b5 (bug 1904210) for causing mochitests failures in browser_customize_sidebar.js. 2024-07-30 17:38:38 +03:00
Jonathan Sudiaman
68c73cd2de Bug 1904210 - Adjust default sidebar and sidebar panel widths r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,kcochrane,dao,sclements
- Set the sidebar width in the expanded state to 280px.
- Set the sidebar panel default size to 400px with a minWidth of 200px.
- Persist sidebar panel width changes made by the user.

Differential Revision: https://phabricator.services.mozilla.com/D217736
2024-07-30 12:30:59 +00:00
Sarah Clements
7ea40f53e4 Bug 1899336 - Position pinned tabs and new tab button for vertical tabs mode r=dao,sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,kcochrane
* Create a new container to house pinned tabs, new tab button and non-pinned tabs
* Create new pinned tabs container to apply grid layout and overflow scrolling
* Update test coverage for pinned tabs for both horizontal and vertical tabs

Differential Revision: https://phabricator.services.mozilla.com/D215482
2024-07-29 11:30:37 +00:00
Ed Lee
1dd2819331 Bug 1905750 - Stub actors and panel to display content-area shortcuts on text selection r=tarek,desktop-theme-reviewers,tabbrowser-reviewers,firefox-desktop-core-reviewers ,dao
Add default false shortcuts pref to control GenAI actors initially detecting text selection. Prepare content-area elements that stack on top of tab's browser.

Differential Revision: https://phabricator.services.mozilla.com/D217544
2024-07-26 07:22:59 +00:00
Jeremy Swinarton
088315a50d Bug 1902252: Screenshot size respects devicePixelRatio r=dwalker,desktop-theme-reviewers,tabbrowser-reviewers,cmkm
Differential Revision: https://phabricator.services.mozilla.com/D217459
2024-07-25 15:03:13 +00:00
Jonathan Sudiaman
ecde5504b4 Bug 1899582 - Update styling for vertical tabs r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,emilio,dao,sclements
The tab container indicators (colored underlines) switch to the left side.
Add a fade effect where the vertical tabs container meets the tools.
Exclude both "allow showing more of the tab title" rules for vertical mode.

Differential Revision: https://phabricator.services.mozilla.com/D215402
2024-07-15 16:04:30 +00:00
Mark Striemer
0b330e823f Bug 1907103 - Fix tab outline on all tabs with LWT r=desktop-theme-reviewers,tabbrowser-reviewers,emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D216194
2024-07-12 13:25:35 +00:00
Mark Striemer
ffd9c15729 Bug 1881851 - Part 3: Give tabs an outline in forced-colors r=desktop-theme-reviewers,dao,tabbrowser-reviewers
Depends on D203694

Differential Revision: https://phabricator.services.mozilla.com/D203695
2024-07-09 23:23:40 +00:00
Mark Striemer
0d84dbe12e Bug 1881851 - Part 1: Give toolbarbuttons an outline in prefers-contrast r=desktop-theme-reviewers,accessibility-frontend-reviewers,morgan,emilio,dao,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203693
2024-07-09 23:23:39 +00:00
Eragon
987dc30b90 Bug 1904640 - Apply block margin when tabs are vertical. r=dao,desktop-theme-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D215791
2024-07-08 11:03:05 +00:00
Emilio Cobos Álvarez
f70bd451bb Bug 1905726 - Remove optionalElementID from browser theme variable handling. r=dao,desktop-theme-reviewers,tabbrowser-reviewers
It has only one use left and it doesn't seem worth it given that.

Differential Revision: https://phabricator.services.mozilla.com/D215398
2024-07-02 07:18:14 +00:00
Emilio Cobos Álvarez
28eb562a81 Bug 1901298 - Clean-up tab outlines. r=dao,desktop-theme-reviewers,tabbrowser-reviewers
Make it a bit easier to follow / harder to mess up the specificity.

The issue is that the lwtheme rule was more specific than the keyboard
background since the regressing bug.

Differential Revision: https://phabricator.services.mozilla.com/D215381
2024-07-01 16:14:56 +00:00
Dão Gottwald
f0cf92a1c5 Bug 1903996 - Make customizing and mousedown proper boolean attributes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D214525
2024-06-21 15:38:54 +00:00
Dão Gottwald
11ba8dc6ff Bug 1903812 - Move firefoxviewhidden rule from browser/base/content/browser.css to tabs.css. r=desktop-theme-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D214404
2024-06-21 06:07:17 +00:00
DJ
4f5b39ce91 Bug 1902252 - avoid css resizing of tab preview canvas. r=emilio,desktop-theme-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D214155
2024-06-20 17:54:00 +00:00
Dão Gottwald
f5e234b32f Bug 1903519 - Move pending print preview styles from browser/base/content/browser.css into a new toolkit stylesheet to be loaded by the print-preview custom element. r=desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D214249
2024-06-19 12:22:45 +00:00
Sarah Clements
92d796abdd Bug 1893655 - Set up the tabstrip to work vertically r=dao,sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,Gijs
* Add ability to move tabstrip into the sidebar based on a pref

Differential Revision: https://phabricator.services.mozilla.com/D212287
2024-06-15 10:43:19 +00:00
Iulian Moraru
7af9a3a07c Backed out changeset 7c5bb1ba9d20 (bug 1893655) for causing bc failures on browser_vertical_tabs.js. 2024-06-14 18:43:35 +03:00
Sarah Clements
4758236bb0 Bug 1893655 - Set up the tabstrip to work vertically r=dao,sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,Gijs
* Add ability to move tabstrip into the sidebar based on a pref

Differential Revision: https://phabricator.services.mozilla.com/D212287
2024-06-14 13:01:40 +00:00
Sam Foster
c1d6738d4c Bug 1896914 - Hide the new sidebar when in DOM fullscreen. r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D212975
2024-06-12 19:04:12 +00:00
Dão Gottwald
1608534339 Bug 1900609 - Merge fullscreen rules from browser/base/content/browser.css and browser/themes/shared/fullscreen/warning.css into new fullscreen-and-pointerlock.css. r=desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D212559
2024-06-04 14:30:11 +00:00
Dão Gottwald
ff472f3353 Bug 1900599 - Move .dragfeedback-tab rule to tabs.css. r=desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D212553
2024-06-04 14:29:14 +00:00
Dão Gottwald
de85b160be Bug 1900332 - Move dialog stack styling to content-area.css. r=desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D212414
2024-06-04 11:28:32 +00:00
Dão Gottwald
814a330ff4 Bug 1898697 - Consolidate tabpanel and statuspanel styling in a new tabbrowser stylesheet. r=desktop-theme-reviewers,tabbrowser-reviewers,mconley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D211513
2024-05-28 11:44:10 +00:00
Dão Gottwald
8857108968 Bug 1898231 - Merge browser/components/tabpreview/ into browser/components/tabbrowser/. r=dwalker,desktop-theme-reviewers,tabbrowser-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D211203
2024-05-22 14:17:49 +00:00
Dão Gottwald
75bfcc448c Bug 1897499 - Merge more tab related rules from browser/base/content/browser.css into tabs.css r=desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D210823
2024-05-21 09:39:30 +00:00
Dão Gottwald
04686bbe63 Bug 1837575 - Move Tabbed Browser related files to browser/components/tabbrowser/. r=mconley,desktop-theme-reviewers,zeid,tabbrowser-reviewers,frontend-codestyle-reviewers,Itiel
This is a start, there are more modules and scripts we can/should move, as well as tests.

Differential Revision: https://phabricator.services.mozilla.com/D210676
2024-05-17 13:25:23 +00:00
Gijs Kruitbosch
3a8f64863a Bug 1711519 - remove tabbrowser non-proton code and gProton global browser window property, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D116632
2021-06-03 11:41:55 +00:00
Mike Conley
9c1dc4ac56 Bug 1706084 - Update tab-audio-blocked-small.svg icon and tab icon overlay fill/stroke values for Proton. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D114155
2021-05-04 21:16:51 +00:00
Jared Wein
3a44f8b177 Bug 1693384 - Move over pinned and overlay audio icon to move it away from the tab title. r=desktop-theme-reviewers,harry
Also update the icons to add background strokes when used as an overlay.

Differential Revision: https://phabricator.services.mozilla.com/D113409
2021-04-27 16:13:20 +00:00
Narcis Beleuzu
267245cdcd Backed out 1 changesets (bug 1693384) for bc failure on browser_parsable_css.js . CLOSED TREE
Backed out changeset 5d69d822f586 (bug 1693384)
2021-04-27 18:40:32 +03:00
Jared Wein
c8866ac26b Bug 1693384 - Move over pinned and overlay audio icon to move it away from the tab title. r=desktop-theme-reviewers,harry
Also update the icons to add background strokes when used as an overlay.

Differential Revision: https://phabricator.services.mozilla.com/D113409
2021-04-27 14:09:46 +00:00
Cosmin Sabou
2b1cd4842b Backed out changeset b8f7bee95415 (bug 1693384) for causing build bustages. CLOSED TREE 2021-04-27 01:06:51 +03:00
Jared Wein
ace628f1ec Bug 1693384 - Move over pinned and overlay audio icon to move it away from the tab title. r=desktop-theme-reviewers,harry
Also update the icons to add background strokes when used as an overlay.

Differential Revision: https://phabricator.services.mozilla.com/D113409
2021-04-26 21:41:51 +00:00
Jared Wein
75468f5d5d Bug 1702285 - Update tabstrip icons for Proton. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111009
2021-04-15 02:47:58 +00:00
Dorel Luca
37bbaf9517 Backed out changeset 00d6baae6487 (bug 1702285) for Browser-chrome in browser/base/content/test/performance/browser_tabopen.js. CLOSED TREE 2021-04-14 23:30:14 +03:00
Jared Wein
f3460d1223 Bug 1702285 - Update tabstrip icons for Proton. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111009
2021-04-14 19:17:03 +00:00
Brindusan Cristian
de8a124236 Backed out changeset e7c98d877308 (bug 1702285) for causing bc failures in browser_tabclose.js. CLOSED TREE 2021-04-13 22:55:42 +03:00
Jared Wein
2ca00ee5f9 Bug 1702285 - Update tabstrip icons for Proton. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111009
2021-04-13 16:51:43 +00:00