tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit bfbaf936c132e9270a2703df33720e36643f37ee
parent 4b4e13abbf48ca223beb8262ae0ad391dc28e4fd
Author: Henry Wilkes <henry@torproject.org>
Date:   Wed, 21 Jan 2026 12:09:52 +0000

fixup! TB 2176: Rebrand Firefox to TorBrowser

TB 44522: Restore Tor Browser styling.

Diffstat:
Mbrowser/base/content/aboutDialog.xhtml | 11+++++++++++
Dbrowser/base/content/aboutDialogTor.css | 43-------------------------------------------
Mbrowser/base/jar.mn | 1-
Mbrowser/branding/tb-alpha/content/aboutDialog.css | 13+++++++++++++
Mbrowser/branding/tb-nightly/content/aboutDialog.css | 13+++++++++++++
Mbrowser/branding/tb-release/content/aboutDialog.css | 13+++++++++++++
6 files changed, 50 insertions(+), 44 deletions(-)

diff --git a/browser/base/content/aboutDialog.xhtml b/browser/base/content/aboutDialog.xhtml @@ -144,6 +144,13 @@ <label is="text-link" href="https://donate.torproject.org/" data-l10n-name="donate-link"></label> <label is="text-link" href="https://community.torproject.org/" data-l10n-name="community-link"></label> </description> + <description class="text-blurb" id="projectDesc" data-l10n-id="about-dialog-tor-project"> + <label is="text-link" href="https://www.torproject.org/" data-l10n-name="project-link"></label> + </description> + <description class="text-blurb" id="helpDesc" data-l10n-id="about-dialog-help-out"> + <label is="text-link" href="https://donate.torproject.org/" data-l10n-name="donate-link"></label> + <label is="text-link" href="https://community.torproject.org/" data-l10n-name="community-link"></label> + </description> </vbox> </vbox> </hbox> @@ -152,6 +159,10 @@ <label is="text-link" class="bottom-link" href="https://support.torproject.org/" data-l10n-id="about-dialog-questions-link"></label> <label is="text-link" class="bottom-link" href="https://community.torproject.org/relay/" data-l10n-id="about-dialog-grow-tor-network-link"></label> <label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:license" data-l10n-id="about-dialog-browser-license-link"></label> + <label is="text-link" class="bottom-link visible-bottom-link" href="https://support.torproject.org/" data-l10n-id="about-dialog-questions-link"></label> + <label is="text-link" class="bottom-link visible-bottom-link" href="https://community.torproject.org/relay/" data-l10n-id="about-dialog-grow-tor-network-link"></label> + <label is="text-link" class="bottom-link visible-bottom-link" useoriginprincipal="true" href="about:license" data-l10n-id="about-dialog-browser-license-link"></label> + </hbox> <description id="trademark" data-l10n-id="trademarkInfo"></description> </vbox> diff --git a/browser/base/content/aboutDialogTor.css b/browser/base/content/aboutDialogTor.css @@ -1,43 +0,0 @@ -#aboutDialogContainer { - background-color: #20123a; - color: #fff; - color-scheme: dark; -} - -#leftBox { - background-image: url("chrome://branding/content/icon256.png"); - background-position-y: 0; -} - -#rightBox { - background-size: auto; - margin-inline: 30px; -} - -#bottomBox { - background-color: hsla(235, 43%, 10%, 0.5); - padding: 15px 10px 15px; -} - -#trademark { - font-size: xx-small; - text-align: center; - color: #999999; - margin-block: 10px; -} - -#releasenotes { - margin-inline-end: 0.9em; /* Same as #submit-feedback */ -} - -#contributeDesc { - display: none; -} - -#communityDesc { - display: none; -} - -#bottomBox > hbox:not(#newBottom) { - display: none; -} diff --git a/browser/base/jar.mn b/browser/base/jar.mn @@ -8,7 +8,6 @@ browser.jar: * content/browser/aboutDialog.xhtml (content/aboutDialog.xhtml) content/browser/aboutDialog.js (content/aboutDialog.js) content/browser/aboutDialog.css (content/aboutDialog.css) - content/browser/aboutDialogTor.css (content/aboutDialogTor.css) content/browser/aboutRestartRequired.js (content/aboutRestartRequired.js) content/browser/aboutRestartRequired.xhtml (content/aboutRestartRequired.xhtml) content/browser/aboutRobots.xhtml (content/aboutRobots.xhtml) diff --git a/browser/branding/tb-alpha/content/aboutDialog.css b/browser/branding/tb-alpha/content/aboutDialog.css @@ -1,3 +1,16 @@ /* 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/. */ + +:root { + --about-dialog-background-color: #20123a; + --about-dialog-text-color: #fff; + --about-dialog-color-scheme: dark; + --about-dialog-background-color-bottom: hsla(235, 43%, 10%, 0.5); + --about-dialog-text-color-trademark: #999999; +} + +#leftBox { + background-image: url("chrome://branding/content/icon256.png"); + background-position-y: 0; +} diff --git a/browser/branding/tb-nightly/content/aboutDialog.css b/browser/branding/tb-nightly/content/aboutDialog.css @@ -1,3 +1,16 @@ /* 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/. */ + +:root { + --about-dialog-background-color: #20123a; + --about-dialog-text-color: #fff; + --about-dialog-color-scheme: dark; + --about-dialog-background-color-bottom: hsla(235, 43%, 10%, 0.5); + --about-dialog-text-color-trademark: #999999; +} + +#leftBox { + background-image: url("chrome://branding/content/icon256.png"); + background-position-y: 0; +} diff --git a/browser/branding/tb-release/content/aboutDialog.css b/browser/branding/tb-release/content/aboutDialog.css @@ -1,3 +1,16 @@ /* 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/. */ + +:root { + --about-dialog-background-color: #20123a; + --about-dialog-text-color: #fff; + --about-dialog-color-scheme: dark; + --about-dialog-background-color-bottom: hsla(235, 43%, 10%, 0.5); + --about-dialog-text-color-trademark: #999999; +} + +#leftBox { + background-image: url("chrome://branding/content/icon256.png"); + background-position-y: 0; +}