fune/browser/components/tabunloader/content/aboutUnloads.html
Emilio Cobos Alvarez efe2305b8d Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
Privileged pages do this automatically via:

  https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183

So this makes everything more consistent. Known exceptions:

 * Pocket panels (as those don't seem to support dark mode)
 * about:reader (because it has its own dark mode handling)

Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00

66 lines
2.3 KiB
HTML

<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html>
<html>
<head>
<title data-l10n-id="about-unloads-page-title"></title>
<meta http-equiv="Content-Security-Policy"
content="default-src chrome:; object-src 'none'"/>
<meta charset="utf-8" />
<meta name="color-scheme" content="light dark" />
<link rel="stylesheet"
href="chrome://global/skin/in-content/info-pages.css"/>
<link rel="stylesheet"
href="chrome://browser/content/tabunloader/aboutUnloads.css"/>
<link rel="localization" href="browser/aboutUnloads.ftl"/>
<link rel="localization" href="branding/brand.ftl"/>
<script src="chrome://browser/content/tabunloader/aboutUnloads.js">
</script>
</head>
<body>
<h1 data-l10n-id="about-unloads-page-title"></h1>
<p data-l10n-id="about-unloads-intro"></p>
<p data-l10n-id="about-unloads-learn-more">
<a data-l10n-name="doc-link"
href="https://firefox-source-docs.mozilla.org/browser/tabunloader/">
</a>
</p>
<div class="control-panel">
<div><span id="label-last-updated"></span></div>
<button id="button-unload"
data-l10n-id="about-unloads-button-unload"></button>
</div>
<table class="tab-table">
<thead>
<tr>
<th data-l10n-id="about-unloads-column-priority"/>
<th data-l10n-id="about-unloads-column-host"/>
<th data-l10n-id="about-unloads-column-last-accessed"/>
<th data-l10n-id="about-unloads-column-weight"/>
<th data-l10n-id="about-unloads-column-sortweight"/>
<th data-l10n-id="about-unloads-column-memory"/>
<th data-l10n-id="about-unloads-column-processes"/>
</tr>
</thead>
<tbody>
<tr id="no-unloadable-tab-message">
<td data-l10n-id="about-unloads-no-unloadable-tab"
colspan="8" ></td>
</tr>
</tbody>
</table>
<template name="tab-table-row">
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</template>
</body>
</html>