Commit Graph

159 Commits

Author SHA1 Message Date
Dão Gottwald
0e42390444 Bug 1511905 - Fix window controls' hover and active colors in light titlebars on Windows 10. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D13752

--HG--
extra : moz-landing-system : lando
2018-12-07 02:34:12 +00:00
Andrew Goupil
9aad37834d Bug 1511850 - Simplify @media not all and (-moz-os-version: ...) queries. r=dao 2018-12-06 20:30:09 +01:00
Mike Conley
bd21bf53e0 Bug 1505484 - Fix titlebar button rendering on Windows 8.1. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11370

--HG--
extra : moz-landing-system : lando
2018-11-15 16:12:25 +00:00
Mike Conley
b457d05277 Bug 1356920 - Don't calculate and flush layout inside browser-tabsintitlebar.js. r=dao
Folded together the following revisions:

Bug 1356920 - Remove all toolbar layout code from browser-tabsintitlebar. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7805

***

Bug 1356920 - Move TabsToolbar and toolbar-menubar into the titlebar, and put the titlebar into the navigator-toolbox. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7806

***

Bug 1356920 - Put a spacer in the menubar to push titlebar items to the end, and stop the menu from stretching vertically. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7822

***

Bug 1356920 - Adjust CSS rules for new XUL document structure. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7807

***

Bug 1356920 - Fix placement of tracking protection icon. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7808

***

Bug 1356920 - Get rid of the spacer before the window caption buttons now in the TabsToolbar. r=dao

The spacer isn't necessary, since the tabbrowser-tabs node will flex to fill the available
space anyways.

Differential Revision: https://phabricator.services.mozilla.com/D7809

***

Bug 1356920 - Move movingtab attribute to navigator-toolbox to account for TabsToolbar not being a sibling of nav-bar anymore. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7810

***

Bug 1356920 - Hide the window caption buttons hbox if the native titlebar is being drawn. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7811

***

Bug 1356920 - Keep the macOS window caption buttons vertically centered when drag space is enabled. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7812

***

Bug 1356920 - Switch window caption XUL nodes from IDs to classes so that more than one can exist per doc. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7813

***

Bug 1356920 - Move titlebar items out into a preprocessed file to be included at build-time. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7814

***

Bug 1356920 - Reorganize TabsToolbar contents to force most items to the bottom of it. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D9669

***

Bug 1356920 - Update CSS to account for new DOM structure under TabsToolbar. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D9670

***

Bug 1356920 - Fix titlebar button rendering when using a lwtheme without the Windows compositor. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D9671

***

Bug 1356920 - Put an ordinal rule on the window caption buttons to help ensure they stay at the end of the toolbar. r=dao

This is to ensure that the buttons are placed after the post-tabs titlebar placeholder.

Differential Revision: https://phabricator.services.mozilla.com/D7815

***

Bug 1356920 - Stretch window caption buttons to fill vertical space on Windows 8+ when using extra drag space. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7817

***

Bug 1356920 - Update onViewToolbarsPopupShowing to search for toolbars that are grandchildren of the toolbox. r?jaws

Differential Revision: https://phabricator.services.mozilla.com/D7818

***

Bug 1356920 - Hide the titlebar items in the TabsToolbar if the menubar is being displayed. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7825

***

Bug 1356920 - Fix selector for titlebar. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7826

***

Bug 1356920 - Fix titlebar themeing on Linux. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7828

***

Bug 1356920 - Remove browser-tabsintitlebar layout flushes from performance test whitelist. r?florian

Differential Revision: https://phabricator.services.mozilla.com/D7829

***

Bug 1356920 - Fix bottom border of tabbar to account for new DOM structure. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7830

***

Bug 1356920 - Hide the titlebar-buttonbox-container when in fullscreen mode. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D7833

--HG--
extra : rebase_source : fe4acce0443df2fad8e15bf54733b7d810cdd2ca
2018-10-25 12:03:14 -04:00
Dão Gottwald
6d8acf957f Bug 1503022 - Refactor window and toolbar color handling and make the Dark and Light themes honor the Windows 10 accent color setting. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D10736

--HG--
extra : moz-landing-system : lando
2018-11-02 17:00:46 +00:00
Dão Gottwald
87fbb29107 Bug 1496322 - Update window border colors for Windows 10 1809 update. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D7718

--HG--
extra : moz-landing-system : lando
2018-10-11 12:31:07 +00:00
Dão Gottwald
295e171195 Bug 1487344 - Add common class for main browser window toolbars and replace #navigator-toolbox > toolbar selectors. r=mconley 2018-08-30 12:13:58 +02:00
Dão Gottwald
26aea6f1ff Bug 1479874 - On Windows 10, let active menu bar items inherit their color from the title bar. r=Felipe
MozReview-Commit-ID: 1FxqSz2U6Lo

--HG--
extra : rebase_source : 287de9e88d4240f5088d9b239a1d1ef220d738c8
2018-07-31 21:20:07 +02:00
Dão Gottwald
2317dd7150 Bug 1437052 - Consolidate #main-menubar > menu appearance and color rules. r=Felipe
MozReview-Commit-ID: 7RicXHVrbEQ

--HG--
extra : rebase_source : 77be64b88176f7b125d1163a099c200cd8f8fd45
2018-05-23 12:31:11 +02:00
Dão Gottwald
a64b1b9f8a Bug 1441102 - Replace --titlebar-text-color with a class. r=florian
MozReview-Commit-ID: 9ruAARse3LU

--HG--
extra : rebase_source : f77863888cc658dbde3d008686810b231070c5c8
2018-03-07 16:40:50 +01:00
Tim Nguyen
55ba4a31c1 Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: 5x6SPWEJ3jp

--HG--
extra : rebase_source : 2ed208a81ca59367b9140a6e73b85bf630c6e294
2018-02-15 13:37:30 +00:00
Coroiu Cristina
4d5bfdec43 Backed out changeset 067ee834b07b (bug 1404688) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_LightweightThemeManager.js 2018-02-15 05:15:10 +02:00
Tim Nguyen
461f749a68 Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: BWhStvcLpkL

--HG--
extra : rebase_source : b50632db25916f113cd85e089759e892493e3be3
2018-02-15 02:30:44 +00:00
Dorel Luca
495816f593 Backed out changeset 85e30806ade1 (bug 1404688) for Browser chrome failure on browser/base/content/test/general/browser_compacttheme.js. CLOSED TREE 2018-02-14 21:50:09 +02:00
Tim Nguyen
7185846c7b Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: iHJggOjHBa

--HG--
extra : rebase_source : e9d7513b36f32f4d06b30b1228f688cbcdbdbd0f
2018-02-11 19:28:32 +00:00
Dão Gottwald
ee0622c4a2 Bug 1430872 - remove tab-view-deck and browser-panel. r=Gijs
MozReview-Commit-ID: P3YLheeQmK

--HG--
extra : rebase_source : 30661629c4314986d0c88518c075d4316076a778
2018-01-16 21:04:13 +01:00
Dão Gottwald
f9a358875b Bug 1430457 - Stop using -moz-border-top-colors for the lwtheme faux window border on Windows 7. r=jaws
MozReview-Commit-ID: 1qArevPwzcG

--HG--
extra : rebase_source : 70d7ccfe006b53d2ebc13a1f1337102bfacd1efd
2018-01-14 12:02:50 +01:00
Kristiyan
afb5870ded Bug 1411210 - Replace @media not all and (-moz-...) with @media (-moz-...: 0). r=dao
MozReview-Commit-ID: CwTjRfX0xnK
2017-12-14 11:50:56 +01:00
Dão Gottwald
b0ded25979 Bug 1399500 - Light and Dark themes should use the same toolbar borders as the default theme. r=johannh
MozReview-Commit-ID: Cs6a7AZiOrV

--HG--
extra : rebase_source : 0b4d91254f145dd35fd566630ca464b87e3cd5dc
2017-10-06 16:41:43 +02:00
Dão Gottwald
c5dcddab17 Bug 1404286 - Let the border between tabs and navigation toolbar use the standard chrome-on-glass border color on Windows 7. r=johannh
MozReview-Commit-ID: C4wLFhnIePV

--HG--
extra : rebase_source : facb880fd7cd4844355625d343d8504a6c2998bc
2017-09-29 12:47:11 +02:00
Johann Hofmann
d1baf4caa2 Bug 1404268 - Remove top border-radius from the Windows 7 glass nav bar. r=dao
MozReview-Commit-ID: HM6vSqwAowz

--HG--
extra : rebase_source : e2c2ac79136afb9f42550a3b79c25e2b61031f99
2017-09-29 11:35:21 +02:00
Dão Gottwald
afb64031c3 Bug 1366405 - Stop using -moz-appearance: -moz-win-glass with the Windows 10 default theme. r=nhnt11
MozReview-Commit-ID: Dkjr831dxIV

--HG--
extra : source : c4cf992aa65c0da43df9bdf273fe56d3a57a52a9
2017-09-23 15:30:10 +02:00
Ryan VanderMeulen
38d600e962 Merge m-c to autoland. a=merge 2017-09-28 13:18:27 -04:00
Ryan VanderMeulen
20e41d4a61 Backed out changeset c4cf992aa65c (bug 1366405) for causing bug 1403951. 2017-09-28 13:14:53 -04:00
Johann Hofmann
156c046ee3 Bug 1391227 - Make buttons in the tab toolbar more opaque. r=dao
MozReview-Commit-ID: AHtVrDXxTLe

--HG--
extra : rebase_source : 07c6fd038b329dbdacacf9c8ba25bb508dce8fc9
2017-09-28 00:11:17 +02:00
Dão Gottwald
d75148c5df Bug 1366405 - Stop using -moz-appearance: -moz-win-glass with the Windows 10 default theme. r=nhnt11
MozReview-Commit-ID: Dkjr831dxIV

--HG--
extra : rebase_source : aaa863712c3354b0eee9faa46dd22fe3dce48665
2017-09-23 15:30:10 +02:00
Johann Hofmann
2cf6f12bbe Bug 1399498 - Make chrome background show in tabs on Windows 7 and remove glass fog on default theme. r=dao
This change is part of the original Photon spec for Windows 7.

MozReview-Commit-ID: JsI9ZXLU1oM

--HG--
extra : rebase_source : 1e17cd825403d1ff32da67ae2a9f9fcdfc36829a
2017-09-18 12:37:34 +02:00
Nihanth Subramanya
4ecbc7717a Bug 1384504 - [Photon] Update sidebar tree styling on Windows. r=dao
MozReview-Commit-ID: 50gpPdmBetL

--HG--
extra : rebase_source : bc7ff7d318a4fc89665922dc90c5582eaa3b00fd
2017-07-26 15:39:34 +05:30
Dão Gottwald
d07a1dd6a9 Bug 1391191 - Consolidate navigator toolbox bottom border styling. r=johannh
MozReview-Commit-ID: 4xjHHqIayP5

--HG--
extra : rebase_source : 08dc7ee08177e7e32c8c6c62fee3e1d09c742dd2
2017-08-21 17:05:41 +02:00
Phil Ringnalda
19f7ec535c Backed out changeset 2f78aad3c907 (bug 1391191) for Mac wpt permaorange in anchoring-with-bounds-clamping.html
MozReview-Commit-ID: 2HMbYkYZ46p
2017-08-19 07:47:58 -07:00
Dão Gottwald
c9d40b4bad Bug 1391191 - Consolidate navigator toolbox bottom border styling. r=johannh
MozReview-Commit-ID: DUEPgD2Zdgc

--HG--
extra : rebase_source : 1ea864d003ccf601027e995c5e5e8ed235de5f18
2017-08-17 11:46:00 +02:00
Johann Hofmann
a1333d851e Bug 1375335 - Fix window control height calculation on Windows 10. r=dao
This commit:

- Makes the window controls have exactly the same height as tabs when the
  menubar is hidden, and have the same height as the menubar when it is shown.
  This requires us to remove the menubar height before flushing layout in
  case it is shown, since we need its original height for the calculation.

- Removes the top margin between the menu bar and the window border
  that was present on Windows 10 and makes it apply on Windows 7 only.
  The border was causing miscalculations of the window control height,
  which could have been handled in browser-tabsintitlebar.js, but since
  it's not part of the Photon spec we decide to remove it entirely.

- Makes window control height calculations ignore vertical tabs toolbar
  margins. The only margin it has right now is -1px and the calculation
  code doesn't work right with negative margins.

MozReview-Commit-ID: HJXxUUJFX8x

--HG--
extra : rebase_source : d5e741cc4ca897ef125ab3e807bc009cd540ade6
2017-08-09 14:36:01 +01:00
Sebastian Hengst
51ddd73782 Backed out changeset 37ba4f932f57 (bug 1375335) for failing browser_windowopen_reflows.js on OS X. r=backout 2017-08-14 15:28:01 +02:00
Johann Hofmann
a2901df84e Bug 1375335 - Fix window control height calculation on Windows 10. r=dao
This commit:

- Makes the window controls have exactly the same height as tabs when the
  menubar is hidden, and have the same height as the menubar when it is shown.
  This requires us to remove the menubar height before flushing layout in
  case it is shown, since we need its original height for the calculation.

- Removes the top margin between the menu bar and the window border
  that was present on Windows 10 and makes it apply on Windows 7 only.
  The border was causing miscalculations of the window control height,
  which could have been handled in browser-tabsintitlebar.js, but since
  it's not part of the Photon spec we decide to remove it entirely.

- Makes window control height calculations ignore vertical tabs toolbar
  margins. The only margin it has right now is -1px and the calculation
  code doesn't work right with negative margins.

MozReview-Commit-ID: HJXxUUJFX8x

--HG--
extra : rebase_source : fdb5db7e5b410cb45cef054d5cbec41048211f75
2017-08-09 14:36:01 +01:00
Wes Kocher
6670ac0114 Backed out changeset 739d6afc27be (bug 1375335) for failures in 739d6afc27be a=backout
MozReview-Commit-ID: CgS230WMXKs

--HG--
extra : amend_source : a01de05a7d2b6f80efc8bc4fe49af32831241543
2017-08-11 12:19:01 -07:00
Johann Hofmann
5249a7320c Bug 1375335 - Fix window control height calculation on Windows 10. r=dao
This commit:

- Makes the window controls have exactly the same height as tabs when the
  menubar is hidden, and have the same height as the menubar when it is shown.
  This requires us to remove the menubar height before flushing layout in
  case it is shown, since we need its original height for the calculation.

- Removes the top margin between the menu bar and the window border
  that was present on Windows 10 and makes it apply on Windows 7 only.
  The border was causing miscalculations of the window control height,
  which could have been handled in browser-tabsintitlebar.js, but since
  it's not part of the Photon spec we decide to remove it entirely.

- Makes window control height calculations ignore vertical tabs toolbar
  margins. The only margin it has right now is -1px and the calculation
  code doesn't work right with negative margins.

MozReview-Commit-ID: HJXxUUJFX8x

--HG--
extra : rebase_source : d3dc3a1c7d21b8ca8304b25fb67b50a58a5e4ce3
2017-08-09 14:36:01 +01:00
Dão Gottwald
5dcd453df2 Bug 1389015 - Remove browser.inc. r=Gijs
MozReview-Commit-ID: C1jFuu3fMLD

--HG--
extra : rebase_source : a0583cbdd0122b35404e4f6aeb4f44384939a35f
2017-08-10 10:55:01 +02:00
Michael Kohler
674e1b96fb Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui

--HG--
extra : rebase_source : 222d8e9d3b9543552ff5b08967375fa46d62b896
2017-08-08 12:09:14 +02:00
Sebastian Hengst
ca40024d84 Backed out changeset 1538b0445eda (bug 1366555) for timing browser_locationBarCommand.js and browser_locationBarExternalLoad.js. r=backout 2017-08-05 23:15:16 +02:00
Michael Kohler
45d5f35624 Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe

--HG--
extra : rebase_source : 20d6404db9f90cfcb7de03d4c527ad6ed79d49f8
2017-08-05 20:37:40 +02:00
Dão Gottwald
48da2d49f0 Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: 96ug22yZt5G

--HG--
extra : rebase_source : 248c9e43cfd11de7ecee80d73b5b634b8d60e4d8
2017-08-03 09:15:23 +02:00
Wes Kocher
cffa02b4bb Backed out 2 changesets (bug 1349555) for failures in viewport-units-css2-001.html a=backout
Backed out changeset 5f1e7e8de03f (bug 1349555)
Backed out changeset 3ef0f35adc9f (bug 1349555)

MozReview-Commit-ID: Ly8AeXQy5Mn
2017-08-02 15:22:58 -07:00
Dão Gottwald
4204a10e89 Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC

--HG--
extra : rebase_source : f8e7a73b751e59ead4ed67c3fc2aaccd5f939798
2017-08-02 15:06:10 +02:00
Sebastian Hengst
4843c0f278 Backed out changeset c9594a10a88a (bug 1349555) for failing browser_windowopen_reflows.js. r=backout 2017-08-02 18:26:37 +02:00
Dão Gottwald
e1b916e06e Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC

--HG--
extra : rebase_source : f8e7a73b751e59ead4ed67c3fc2aaccd5f939798
2017-08-02 15:06:10 +02:00
Johann Hofmann
5e11e993f2 Bug 1368679 - Increase hover opacity of window control buttons, apply the hover effect on the menu bar. r=dao
MozReview-Commit-ID: 2pw4UHOnzNE

--HG--
extra : rebase_source : 3cfb7b21994ce25b1ea0e0be87c6572a53fc31b4
2017-07-25 17:26:37 +02:00
Dão Gottwald
4b7389da4e Bug 1379938 - Rename the -moz-windows-accent-color-applies media query and make -moz-win-accentcolor available without it. r=jimm
MozReview-Commit-ID: 9zMr9JwkloF

--HG--
extra : rebase_source : 25e9cfa11dc0c3ff09e4e3aac18a53535cbcc27b
2017-07-19 16:38:49 +02:00
Dão Gottwald
8f5c440b72 Backed out changeset 5a5d8de65b70 (bug 1379938) on CLOSED TREE 2017-07-13 23:16:12 +02:00
Dão Gottwald
0f2337c0c7 Bug 1379938 - Rename the -moz-windows-accent-color-applies media query and make -moz-win-accentcolor available without it. r=jimm
MozReview-Commit-ID: BkDrm6KtiP3

--HG--
extra : rebase_source : 1c0deb5b77e1ce83a8f157c100606c563d61577c
2017-07-13 11:08:27 +02:00
Dão Gottwald
7951f8095e Bug 1379268 - Don't apply the accent color beyond the title bar when the native title bar is enabled. r=johannh
MozReview-Commit-ID: HUe1XuncqND

--HG--
extra : rebase_source : 9a07eef658a34b2db1c0a88bb6b332ba4346f201
2017-07-11 15:28:49 +02:00