gecko-dev/toolkit/themes
Markus Stange 097973bc25 Bug 1650835 - Add support for a "button-and-view" widget type. r=jaws
This widget will be used for the profiler button. The profiler button is a
two-part widget with both a command and a view. The command starts/stops the
profiler, but the starting/stopping can also be performed from inside the view.
The dropmarker button shows the view.
When this widget is located in the panel, the start/stop action is only
accessible via the view and there is no "quick-action" command.

The structure of the widget is as follows:

toolbaritem.toolbaritem-combined-buttons
 - toolbarbutton.toolbarbutton-1
 - toolbarbutton.toolbarbutton-1.toolbarbutton-combined-buttons-dropmarker

The dropmarker icon is the toolbarbutton icon of the second toolbarbutton.
The dropmarker button is only shown in the toolbar or in the customize palette.
It is hidden when the widget is located in the panel.
In the toolbar, the hover effect of the dropmarker needs to have the same height
as the hover effect of the regular button. However, due to the different image
size (12x12 instead of 16x16) it requires more vertical padding.

Differential Revision: https://phabricator.services.mozilla.com/D98216
2021-01-15 18:14:04 +00:00
..
linux Bug 1650835 - Add support for a "button-and-view" widget type. r=jaws 2021-01-15 18:14:04 +00:00
mobile Bug 1679452 - Replace :not(X):not(Y) with :not(X, Y) r=ntim 2020-12-19 11:24:13 +00:00
osx Bug 1650835 - Add support for a "button-and-view" widget type. r=jaws 2021-01-15 18:14:04 +00:00
shared Bug 1660848 - Add a check for updates option to application menus r=fluent-reviewers,jaws,harry,Gijs,flod,mkaply 2021-01-15 14:26:58 +00:00
windows Bug 1650835 - Add support for a "button-and-view" widget type. r=jaws 2021-01-15 18:14:04 +00:00
LICENSE
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00