Commit Graph

1874 Commits

Author SHA1 Message Date
Dão Gottwald
92ef5c0898 Bug 1536788 - Reduce width of border between tabs and nav bar from 1 CSS pixel to 1 device pixel. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24173

--HG--
extra : moz-landing-system : lando
2019-03-21 14:01:58 +00:00
Ian Moody
971debae6e Bug 1534475 - Use a responsive monitor frame in "Set As Desktop Background" preview. r=Gijs
Currently for any screen with a ratio 1.6 or above, the preview uses a 16:10
image.  However, the majority of Fx users have a screen that is 16:9[0], so for
most users the preview shows images distorted (compressed horizontally).

Originally I just added a new 16:9 version of the monitor image, but then I
realised I could save on filesize _and_ make it responsive to whatever the
user's screen actually is, rather than using arbitrary presets, by using
border-image.

The new image files are just sliced up versions of the original monitor.png
files, zopfli compressed to match (though with the power indicator dropped from
the Linux/Windows version to avoid distorting it).  The combined filesize
savings seem to be 8.5KiB on macOS and 6.5KiB on Linux/Windows.

With the removal of the use of margins on the canvas we no longer need the
platform-specific setDesktopBackground.css file.

[0] https://data.firefox.com/dashboard/hardware
As of 3rd March 2019 the top three resolutions, 1366x768, 1080p, & 1600x900,
are all 16:9 and make up 67% of the userbase.

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

--HG--
rename : browser/themes/linux/setDesktopBackground.css => browser/themes/shared/setDesktopBackground.css
extra : moz-landing-system : lando
2019-03-19 07:12:26 +00:00
Yura Zenevich
606062c062 Bug 1506510 - add/fix keyboard focus styling for notification and blocked permission icon buttons. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D23557

--HG--
extra : moz-landing-system : lando
2019-03-15 16:01:43 +00:00
Yura Zenevich
d251333222 Bug 1506510 - add keyboard focus styling for toolbar/urlbar buttons. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D19958

--HG--
extra : moz-landing-system : lando
2019-03-15 04:35:09 +00:00
Gurzau Raul
fa3f04ecef Backed out changeset e5f1bcb6046e (bug 1534475) for failing at browser_setDesktopBackgroundPreview.js on a CLOSED TREE.
--HG--
rename : browser/themes/shared/setDesktopBackground.css => browser/themes/linux/setDesktopBackground.css
2019-03-14 02:00:20 +02:00
Ian Moody
2513e5be2c Bug 1534475 - Use a responsive monitor frame in "Set As Desktop Background" preview. r=Gijs
Currently for any screen with a ratio 1.6 or above, the preview uses a 16:10
image.  However, the majority of Fx users have a screen that is 16:9[0], so for
most users the preview shows images distorted (compressed horizontally).

Originally I just added a new 16:9 version of the monitor image, but then I
realised I could save on filesize _and_ make it responsive to whatever the
user's screen actually is, rather than using arbitrary presets, by using
border-image.

The new image files are just sliced up versions of the original monitor.png
files, zopfli compressed to match (though with the power indicator dropped from
the Linux/Windows version to avoid distorting it).  The combined filesize
savings seem to be 8.5KiB on macOS and 6.5KiB on Linux/Windows.

With the removal of the use of margins on the canvas we no longer need the
platform-specific setDesktopBackground.css file.

[0] https://data.firefox.com/dashboard/hardware
As of 3rd March 2019 the top three resolutions, 1366x768, 1080p, & 1600x900,
are all 16:9 and make up 67% of the userbase.

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

--HG--
rename : browser/themes/linux/setDesktopBackground.css => browser/themes/shared/setDesktopBackground.css
extra : moz-landing-system : lando
2019-03-13 16:24:40 +00:00
Brindusan Cristian
180e9fc040 Backed out changeset fffb4b5030da (bug 1506510) for bc failures at browser_popupNotification_keyboard.js. CLOSED TREE 2019-03-13 18:21:01 +02:00
Yura Zenevich
5ada95460e Bug 1506510 - add keyboard focus styling for toolbar/urlbar buttons. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D19958

--HG--
extra : moz-landing-system : lando
2019-03-13 14:31:37 +00:00
Dão Gottwald
0f913a9f9c Bug 1524561 - Quantumbar: add accessibility semantics. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D22469

--HG--
extra : moz-landing-system : lando
2019-03-08 13:42:11 +00:00
Shane Caraveo
3fb3b1e418 Bug 1527127 update addon panel text for private windows r=flod,Gijs,mstriemer,rpl
Differential Revision: https://phabricator.services.mozilla.com/D19845

--HG--
extra : moz-landing-system : lando
2019-02-27 20:05:38 +00:00
championshuttler
aac90623a5 Bug 1528209 - Remove support for unused .cui-withicon class. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20113

--HG--
extra : moz-landing-system : lando
2019-02-18 08:44:10 +00:00
Dão Gottwald
360afebe78 Bug 1522784 - Adjust Quantumbar font-sizes and row padding to better match the Awesomebar. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D18943

--HG--
extra : moz-landing-system : lando
2019-02-08 10:59:32 +00:00
Abdoulaye O. Ly
df79fc1fc4 Bug 1524852 - Fix invisible title for multiselected tabs on MacOS. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D18893

--HG--
extra : moz-landing-system : lando
2019-02-06 23:28:25 +00:00
Dão Gottwald
2f87c412d5 Bug 1518422 - Implement focus ring for panel footer buttons across platforms. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15913

--HG--
extra : moz-landing-system : lando
2019-01-08 10:26:20 +00:00
Vedant Nevetia
b8a81425e5 Bug 1514181 - Replace browser/themes/osx/toolbarbutton-dropmarker{,@2x}.png with arrow-dropdown-12.svg r=dao
Differential Revision: https://phabricator.services.mozilla.com/D15406

--HG--
extra : moz-landing-system : lando
2018-12-28 15:27:21 +00:00
Vedant Nevetia
327f6bb31a Bug 1514175 - Remove macOS fallback styling for the bookmarking panel tag selector checkboxes r=dao
Differential Revision: https://phabricator.services.mozilla.com/D15468

--HG--
extra : moz-landing-system : lando
2018-12-28 15:22:49 +00:00
Ricky Rosario
1371950808 Bug 1514352 - Add "hidden focus" functionality to URLbar r=adw
Adds hiddenFocus() and removeHiddenFocus() methods and some CSS selector tweaking to enable focusing without visible changes.

MozReview-Commit-ID: Dq66TET4AVR

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

--HG--
extra : moz-landing-system : lando
2018-12-18 00:38:21 +00:00
Dão Gottwald
905f8eeddb Bug 1506869 - Don't remove .findbar-button's background-color set by toolbarbutton-icons.inc.css. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D14539

--HG--
extra : moz-landing-system : lando
2018-12-14 19:51:13 +00:00
Irvin Ives Lau
694c3289ff Bug 1495189 - Remove glyph-dropdown{,@2x}.png and replace usages with arrow-dropdown-12.svg. r=jaws
--HG--
extra : rebase_source : 4ed96186ca1ce37c265be03bcffedf443a34647f
2018-12-12 19:20:02 +01:00
Timothy Guan-tin Chien
b4eeedcbf1 Bug 1497940 - Part IV, Move pluginProblem resources from chrome://mozapps to chrome://global r=mossop
This is needed because UA Widget cannot load resources from chrome://mozapps.

Depends on D11701

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

--HG--
rename : toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png => toolkit/themes/osx/global/plugins/pluginHelp-16.png
rename : toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png => toolkit/themes/windows/global/plugins/pluginHelp-16.png
extra : moz-landing-system : lando
2018-11-22 05:49:22 +00:00
Dorel Luca
30a79bc822 Backed out 3 changesets (bug 1497940) for Browser-chrome in toolkit/mozapps/extensions/test/browser/browser_CTP_plugins.js
Backed out changeset 493083d55865 (bug 1497940)
Backed out changeset b503b1a1552c (bug 1497940)
Backed out changeset 6918f8e2f38c (bug 1497940)

--HG--
rename : toolkit/themes/windows/global/plugins/pluginHelp-16.png => toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png
2018-11-22 05:04:55 +02:00
Timothy Guan-tin Chien
809372b7ab Bug 1497940 - Part IV, Move pluginProblem resources from chrome://mozapps to chrome://global r=mossop
This is needed because UA Widget cannot load resources from chrome://mozapps.

Depends on D11701

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

--HG--
rename : toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png => toolkit/themes/osx/global/plugins/pluginHelp-16.png
rename : toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png => toolkit/themes/windows/global/plugins/pluginHelp-16.png
extra : moz-landing-system : lando
2018-11-22 02:12:12 +00:00
Tim Nguyen
f3c3251f9d Bug 1468517 - Make toolbar_bottom_separator color apply to findbar top border. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11577

--HG--
extra : moz-landing-system : lando
2018-11-18 18:16:52 +00:00
Mike Conley
87e56a69cb Bug 1506457 - Only show titlebar indicators in the titlebar-secondary-buttonbox on macOS. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D12153

--HG--
extra : moz-landing-system : lando
2018-11-16 20:45:36 +00:00
Dão Gottwald
5265a3bfd3 Bug 1507096 - Move --space-above-tabbar padding from #TabsToolbar to #TabsToolbar > .toolbar-items r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D11863

--HG--
extra : moz-landing-system : lando
2018-11-15 16:23:10 +00:00
Razvan Maries
f502ea6ce1 Merge mozilla-central to mozilla-inbound. a=merge 2018-11-10 02:24:04 +02:00
Dão Gottwald
d533fe7a8f Bug 1473922 - Load button.css as a document stylesheet. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11462

--HG--
extra : moz-landing-system : lando
2018-11-09 16:17:24 +00:00
Csoregi Natalia
c6f2eb772c Backed out changeset e83fe676d538 (bug 1505801) for failures on /browser_ext_themes_findbar.js. CLOSED TREE 2018-11-08 22:05:24 +02:00
Dão Gottwald
8ae5795140 Bug 1505801 - Use --lwt-accent-color behind --toolbar-bgcolor in the find bar background. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D11348

--HG--
extra : moz-landing-system : lando
2018-11-08 17:43:23 +00:00
Tim Nguyen
2d9d74604a Bug 1504156 - Further dim --arrowpanel-dimmed and --arrowpanel-dimmed-further variables on light themes. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D11192

--HG--
extra : moz-landing-system : lando
2018-11-07 17:58:44 +00:00
Mike Conley
1b50b597e6 Bug 1498400 - Rename titlebar-placeholder to titlebar-spacer. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11133

--HG--
extra : moz-landing-system : lando
2018-11-07 09:54:26 +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
6dda6f1766 Bug 1505801 - Use --lwt-accent-color behind --toolbar-bgcolor in the find bar background. r=ntim
--HG--
extra : rebase_source : 13b8fb97d8afdffcdb62691bb11045ebbf2f28b7
2018-11-09 11:44:15 +01: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
Erica Wright
e1144da8c4 Bug 1501986 - Update exception button styling in control center. r=johannh
Change the styling of the create/remove exception button in the control center.

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

--HG--
extra : moz-landing-system : lando
2018-11-01 13:48:40 +00:00
Dão Gottwald
34669b4dd6 Bug 1503306 - Properly set accentcolor and textcolor properties for Light and Dark themes. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D10542

--HG--
extra : moz-landing-system : lando
2018-11-01 12:40:20 +00:00
Tim Nguyen
76280e6e33 Bug 1503381 - Improve styling for unfocused+selected tree item in bookmarks panel. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D10293

--HG--
extra : moz-landing-system : lando
2018-10-31 15:58:34 +00:00
Tim Nguyen
5f6b950fd1 Bug 1503379 - Update 'New folder' button to match specification. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D10310

--HG--
rename : browser/themes/shared/tabbrowser/newtab.svg => browser/themes/shared/icons/add.svg
extra : moz-landing-system : lando
2018-10-31 11:19:18 +00:00
Tim Nguyen
db400cd64a Bug 1502731 - Modernize MacOS bookmarking panel component styles. r=dao
Depends on D10004

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

--HG--
extra : moz-landing-system : lando
2018-10-30 18:59:18 +00:00
Tim Nguyen
0a931bdeff Bug 1502731 - Remove @hudButton@ and @hudButtonPressed@. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D10004

--HG--
extra : moz-landing-system : lando
2018-10-30 19:04:23 +00:00
Mark Banner
8b5c6973b6 Bug 1501811 - Remove livemarks support from browserPlacesViews/treeView. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D9701

--HG--
extra : moz-landing-system : lando
2018-10-26 07:40:15 +00:00
arthur.iakab
ff965569bd Merge autoland to mozilla-central a=merge 2018-10-24 01:15:18 +03:00
Mark Banner
941f724d2f Bug 1494046 - Improve how the folder icon is selected on the folder list in the bookmark popup window. r=mak
Change to using an event listener to follow when the selection changes more accurately. Also switch to using GUIDs as they are better defined than indexes.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 15:52:22 +00:00
Paolo Amadini
47d4cf4e37 Bug 1493844 - Part 3 - Remove the "prefpane" class and unneeded elements. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D7734

--HG--
extra : rebase_source : c9df7a97e79fb52e14a6bf89d2a2db6f3c7d2f5f
2018-10-15 19:01:59 +01:00
Paolo Amadini
42c8938dfc Bug 1493844 - Part 2 - Remove the "caption" and "groupbox" bindings. r=bgrins,dao,jaws,johannh,surkov
Proper native "groupbox" styling depends on the structure of the XBL binding. By restyling the Page Info dialog, the native styling is now unused except for the Print Page Setup dialog on Windows. The native apperance is thus not applied by default anymore, and the "groupbox" element can just be used semantically for accessibility. The Print Page Setup dialog applies the native styling on its own in a way that still works on Windows.

The only other consumers of "groupbox" are the in-content Preferences pages and dialogs. These are updated to use simpler styles that don't depend on the binding structure.

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

--HG--
extra : rebase_source : af36d911980517f9b53036f4cd4f800c5e20ad22
2018-10-23 10:14:06 +01:00
Paolo Amadini
7dec374d5b Bug 1499704 - Use html:progress for downloads. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D8973

--HG--
extra : rebase_source : 2d0a67b70127176c9c7eb7de6b9c95b2f33356b9
2018-10-17 15:25:00 +01:00
Gijs Kruitbosch
9048f58f8f Bug 1477669 - remove feed preview code and associated files/code, r=flod,mak,nika
Differential Revision: https://phabricator.services.mozilla.com/D8524

--HG--
extra : moz-landing-system : lando
2018-10-16 12:47:36 +00:00
Brindusan Cristian
10b00a8313 Backed out changeset 2f1229c179d3 (bug 1494046) for browser-chrome failures in browser_bookmark_add_tags.js. CLOSED TREE 2018-10-04 13:07:28 +03:00
Mark Banner
dece7b1fd1 Bug 1494046 - Improve how the folder icon is selected on the folder list in the bookmark popup window. r=mak
Change to using an event listener to follow when the selection changes more accurately. Also switch to using GUIDs as they are better defined than indexes.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 08:54:25 +00:00
Tim Nguyen
7a17ab7032 Bug 1491688 - Stop applying -moz-appearance: -moz-mac-source-list-selection; when tree is focused. r=jaws 2018-09-29 13:52:16 +00:00