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

3415 Коммитов

Автор SHA1 Сообщение Дата
Itiel b23671697c Bug 1642239 - Convert PNG/GIF icons in the library window and editbookmark panel to SVG r=dao
Also improve the dark mode in the library

Differential Revision: https://phabricator.services.mozilla.com/D77622
2020-06-27 09:57:42 +00:00
Gijs Kruitbosch d523471eac Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Jared Wein 0642aea6c8 Bug 1644538 - Add icon for Experimental Features section. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D79024
2020-06-10 18:13:05 +00:00
Brad Werth 119000e1ae Bug 1642376: Move inline style for panel popups into each theme's popup.css. r=dao
This supports the fact that devtools, which is hosted in an "about:" page,
does not use inline styles. They are prevented from working by the CSP defined
at devtools/client/framework/toolbox.xhtml. This patch moves The styles that
are added by the MozPanel.initialize method into the popup.css files for each
theme, where the other .panel-arrowcontent class selectors live.

Differential Revision: https://phabricator.services.mozilla.com/D78832
2020-06-11 13:53:39 +00:00
Emilio Cobos Álvarez 025e7f804a Bug 1644688 - Simplify common.inc.css. r=dao
There's no default namespace in this stylesheet, so the *|* and *| are
just useless.

Differential Revision: https://phabricator.services.mozilla.com/D79077
2020-06-10 12:41:23 +00:00
Colomban Wendling 120fea1c42 Bug 1628762 - Fix tree column header color to follow theme. r=geckoview-reviewers,snorp
The background color for the tree column headers is drawn using the
system APIs, but the foreground uses custom colors, which didn't follow
theme.  This can lead to unreadable text with specific colors, e.g.
leading to black on black.

Fix this by using system colors for the foreground as well.  It also
adds on-hover styling to match possible background change on hover.

Differential Revision: https://phabricator.services.mozilla.com/D78073
2020-06-03 20:52:55 +00:00
Priyank Singh 155bb639ee Bug 1569653 - Added button to invalidate startup cache and restart in about:support r=mossop,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D77592
2020-06-02 05:59:20 +00:00
Itiel 43735ce93e Bug 1642166 - Vertically align the Reader control hover labels r=Gijs
Also cleanup the CSS a bit

Differential Revision: https://phabricator.services.mozilla.com/D77598
2020-06-04 11:53:49 +00:00
Krystle Salazar 3f7916e8a6 Bug 1570678 - Replace (i) icon for a file icon on potentially trustworthy pages. r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D70932
2020-06-03 08:36:35 +00:00
Narcis Beleuzu ebd0ffd82a Backed out changeset d954ca3baaf5 (bug 1570678) for bc failures on browser_deprecatedTLSVersions.js . CLOSED TREE 2020-06-02 21:37:25 +03:00
Krystle Salazar ce820b84f7 Bug 1570678 - Replace (i) icon for a file icon on potentially trustworthy pages. r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D70932
2020-06-02 15:32:42 +00:00
Gijs Kruitbosch 7e60f4854f Bug 1640417 - improve reader mode font dropdown styling, r=jaws
This fixes the following issues:
- hover/active colours now look better on dark theme (match main toolbar lwtheme styles)
- radio-type items now have custom styling
- radio-type items no longer use buttons, only input[type=radio] with a subsequent label
- hover/active/selection styling for the radio items is improved
- cleans up unused CSS variables
- styling of the 'current value' boxes
- removes display:none hr elements
- uses classes for each 'row' container to simplify the CSS

Differential Revision: https://phabricator.services.mozilla.com/D77535
2020-05-30 00:58:51 +00:00
Robert Helmer e690d9dae9 Bug 1640306 - add about:pioneer MVP r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D76935
2020-05-29 21:38:45 +00:00
Robert Helmer 75b624f4dc Bug 1640306 - move toggle button to shared r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D76934
2020-05-29 21:37:59 +00:00
Gijs Kruitbosch 2dc589c537 Bug 1638086 - show multiple subsequent spaces in file listings, r=valentin
Using `white-space: pre` avoids collapsing multiple spaces as HTML is wont to do.

With thanks to Jelle Geerts for reporting this and providing a strategy to patch this.

Differential Revision: https://phabricator.services.mozilla.com/D77246
2020-05-29 15:41:31 +00:00
Dão Gottwald b2982a32c7 Bug 1640403 - Remove dark mode support for the library window on macOS for now. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D77082
2020-05-29 14:41:07 +00:00
Itiel 0ad0979b7d Bug 1640438 - Overhaul the RTL logic in reader mode r=Gijs
Also mirror the line height buttons on the type controls popup if the article is RTL.

Differential Revision: https://phabricator.services.mozilla.com/D76613
2020-05-26 21:29:08 +00:00
Gijs Kruitbosch 209a5b2b6a Bug 1640410 - fix stacking of narrate popup and narrated text in reader mode's narrate feature, r=emalysz
The z-index: initial for the keep-open class was redundant (see https://bugzilla.mozilla.org/show_bug.cgi?id=1640410#c4 ).
However, one more change was necessary to fix this bug: the .narrating class
gets z-index: 1 in narrate.css, in order to position the word highlights
below it. But the toolbar-container also gets z-index: 1, and because it
comes before the reader mode content in the DOM, its content will never
appear above the reader mode content unless it gets a higher z-index. So
we give it a z-index of 2.

Differential Revision: https://phabricator.services.mozilla.com/D76851
2020-05-26 18:17:36 +00:00
JulianWels 2cc2e49495 Bug 1625156 - Error page for HTTPS Only Mode. r=fluent-reviewers,ckerschb,nhnt11,flod,nika,johannh,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72129
2020-05-26 11:45:21 +00:00
Gijs Kruitbosch b88e574535 Bug 1637652 - switch to a sticky-position and deal with the content moving while dropdowns are up, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D76492
2020-05-22 21:33:38 +00:00
Gijs Kruitbosch 6e85de73d9 Bug 1637652 - switch back to a sidebar in reader mode, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D76491
2020-05-22 21:29:52 +00:00
Gijs Kruitbosch 5969668575 Bug 1629030 - remove obsolete android code from reader mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D76312
2020-05-22 19:59:09 +00:00
Gijs Kruitbosch 26aa994ade Bug 1629030 - don't close an open popup when the font changes in reader mode (due to spurious scroll events), r=jaws
This problem only happens if you're scrolled down on the page and then change
font configuration settings (like line height or font size) that cause the
scroll position to change. The scroll event fires and we hide popups in
response. To fix this, we keep a cached height of the body, so that if the
page height has changed since the last scroll event, we don't immediately close
the popup.

Differential Revision: https://phabricator.services.mozilla.com/D76311
2020-05-22 19:57:58 +00:00
Gijs Kruitbosch 6f53b83912 Bug 1629030 - make line height changes actually take effect in reader mode, r=jaws
The fact that CSS set a fixed line-height on an inner element meant that the
main body of the reader mode text was not changing line height based on the CSS
variable we set on a container higher in the DOM hierarchy.

Differential Revision: https://phabricator.services.mozilla.com/D76310
2020-05-22 19:55:37 +00:00
Jared Wein 300035ee13 Bug 1637993 - The buttons in the reader mode controls should not show hover/active state when they are disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D75338
2020-05-18 20:41:16 +00:00
Emilio Cobos Álvarez f0953195ce Bug 1636998 - Make ::-moz-focus-outer a no-op, and remove it on Nightly. r=jwatt
See https://bugzilla.mozilla.org/show_bug.cgi?id=932410#c2 for the
context for which this pseudo-element was added.

In the previous patch, I had to special-case range appearance because of
this pseudo-class, but that patch makes this pseudo-class completely
redundant, as now all form controls, themed and unthemed, display
outlines, unless the native theme displays a focus indicator on its own.

Remove the special case, and make ranges use outlines like everything
else rather than this bespoke pseudo-element.

Differential Revision: https://phabricator.services.mozilla.com/D74734
2020-05-18 10:54:16 +00:00
Csoregi Natalia f6ee95862e Backed out changeset 62ad26fbfaf8 (bug 1636998) for reftest failures on 1174332-1.html. CLOSED TREE 2020-05-18 13:31:56 +03:00
Emilio Cobos Álvarez 36b46408b8 Bug 1636998 - Make ::-moz-focus-outer a no-op, and remove it on Nightly. r=jwatt
See https://bugzilla.mozilla.org/show_bug.cgi?id=932410#c2 for the
context for which this pseudo-element was added.

In the previous patch, I had to special-case range appearance because of
this pseudo-class, but that patch makes this pseudo-class completely
redundant, as now all form controls, themed and unthemed, display
outlines, unless the native theme displays a focus indicator on its own.

Remove the special case, and make ranges use outlines like everything
else rather than this bespoke pseudo-element.

Differential Revision: https://phabricator.services.mozilla.com/D74734
2020-05-18 07:59:32 +00:00
Emilio Cobos Álvarez 342eb739d7 Bug 1636931 - Also suppress outlines of range inputs in video controls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D75161
2020-05-13 19:38:50 +00:00
Akshitha 48a5a640b4 Bug 1550836 - update the Reader Mode design for photon r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33792
2020-05-12 23:18:12 +00:00
Emilio Cobos Álvarez b7b89624f9 Bug 1637298 - Use better selectors in videocontrols.css. r=Gijs
These used to be `[anonid]` back when we used anonymous content. But now
that this is in a shadow tree we can use regular id selectors, which are
faster.

Differential Revision: https://phabricator.services.mozilla.com/D74872
2020-05-12 16:16:44 +00:00
Emilio Cobos Álvarez f79a4133f6 Bug 1637150 - Suppress outlines for the find bar. r=Gijs
It handles focus on its own by tweaking the border color.

Differential Revision: https://phabricator.services.mozilla.com/D74837
2020-05-12 13:47:02 +00:00
Emilio Cobos Álvarez 347c857dfe Bug 1636931 - Suppress outlines for buttons in videocontrols.css. r=Gijs
We keep the ::-moz-focus-inner pseudo-element for these, so that acts
enough as a focus indicator.

We may want to opt buttons out of focus outlines altogether (given we
have the ::-moz-focus-inner style) or do something else, if we get
reports of web content showing a lot of outlines because of bug 1311444,
but for now this is better.

Differential Revision: https://phabricator.services.mozilla.com/D74723
2020-05-12 15:34:36 +00:00
Dorel Luca a9c81ec68e Backed out changeset 6fc14c4bc2ea (bug 1550836) for Browser-chrome failures in static/browser_all_files_referenced.js. CLOSED TREE 2020-05-12 18:14:12 +03:00
Akshitha 82220685ba Bug 1550836 - update the Reader Mode design for photon r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33792
2020-05-12 12:24:06 +00:00
Bogdan Tara 3a5ced7037 Backed out changeset adac78d7a8f9 (bug 1570678) for siteIdentity related failures CLOSED TREE 2020-05-12 01:39:11 +03:00
Krystle Salazar a33d75ae27 Bug 1570678 - Replace (i) icon for a file icon on potentially trustworthy pages. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D70932
2020-05-11 20:12:55 +00:00
Itiel 212cd38431 Bug 1631825 - Fix the menulist and "Add" button height and alignment in the language dialog on about:preferences, and unify min-height of some elements to 32px r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72569
2020-05-11 15:29:27 +00:00
Emilio Cobos Álvarez 6b5242fa05 Bug 1311444 - Disable some undesired outlines in the front-end. r=dao
These elements handle focus on their own. They're right now not
having outlines because they specify background-color, which disables
theming, but that is about to change.

Differential Revision: https://phabricator.services.mozilla.com/D73855
2020-05-05 23:18:35 +00:00
Dão Gottwald 84553118c4 Bug 1634865 - Backed out bug 1625720 and bug 1625721. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73542
2020-05-02 13:16:31 +00:00
Gijs Kruitbosch 7073bb6903 Bug 1634075 - back out changeset 0aa77ee04caa (bug 1583696) over regressions with overly long non-wrapping prompt text and visual appearance with lightweight themes, r=MattN
Things that were broken:

- prompts become unreadable when using dark-background lwthemes, because they
  keep the window text-shadow (due to the namespace change of tabmodalprompt)
- prompts with long text without word-wrap possibilities
  (e.g. `alert("x".repeat(1000))`) cause the text to escape its container.

Differential Revision: https://phabricator.services.mozilla.com/D73131
2020-04-29 20:30:37 +00:00
Tim Nguyen ebc0e940ae Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-26 15:31:40 +00:00
Mihai Alexandru Michis f71d7e6a52 Backed out changeset 9432b1bd3d98 (bug 1625720) for causing crashes in LayerComposite.
CLOSED TREE
2020-04-25 00:10:33 +03:00
Tim Nguyen 92e6364dec Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-24 16:40:23 +00:00
Mike Conley 15756c2e25 Bug 1632132 - Fix about:reader narrate back and forward buttons for dark theme. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D72161
2020-04-23 16:26:36 +00:00
Tim Nguyen 059c4f1854 Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-04-23 09:48:17 +00:00
Andreea Pavel b9c773a74f Backed out changeset 2f06fd7ef8b6 (bug 1583696) for failing test_bug619644.html on a CLOSED TREE 2020-04-23 05:16:18 +03:00
Tim Nguyen 09f305d392 Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-04-22 23:46:35 +00:00
Stefan Hindli 257361e9a8 Backed out changeset 7316271178bd (bug 1624907) for perma wpt5 failures in /css/css-pseudo/text-selection.html CLOSED TREE 2020-04-23 00:10:49 +03:00
Tim Nguyen 4bfbb7fc9d Bug 1624907 - Split tree.css into shadow and non-shadow stylesheets. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71652
2020-04-22 17:49:30 +00:00