[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-128.2.0esr-14.0-1] 2 commits: fixup! Bug 7494: Create local home page for TBB.
morgan (@morgan)
git at gitlab.torproject.org
Wed Sep 11 02:08:32 UTC 2024
morgan pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
f10b95b6 by Henry Wilkes at 2024-09-10T10:18:33+01:00
fixup! Bug 7494: Create local home page for TBB.
Bug 42746: Extend prefers-contrast rules to include forced-colors.
We also add a border to #tor-check to ensure it stands out with
forced-colors.
- - - - -
d547cefb by Henry Wilkes at 2024-09-10T10:19:43+01:00
fixup! Bug 41600: Add a tor circuit display panel.
Bug 42746: Extend prefers-contrast rules to include forced-colors.
- - - - -
2 changed files:
- browser/components/abouttor/content/aboutTor.css
- browser/components/torcircuit/content/torCircuitPanel.css
Changes:
=====================================
browser/components/abouttor/content/aboutTor.css
=====================================
@@ -52,9 +52,11 @@ h1 {
display: flex;
gap: 10px;
align-items: center;
- padding-inline: 24px;
- padding-block: 12px;
+ padding-inline: 23px;
+ padding-block: 11px;
+ border: 1px solid var(--in-content-box-border-color);
border-radius: 8px;
+ background-color: var(--in-content-box-info-background);
margin-block-start: 0;
margin-block-end: 30px;
}
@@ -106,6 +108,7 @@ body:not(.show-tor-check) #tor-check {
border-radius: calc(var(--form-radius) + var(--form-border-width));
border-width: var(--form-border-width);
border-style: solid;
+ border-color: var(--in-content-box-border-color);
}
#search-form.search-input-focus-visible {
@@ -154,17 +157,10 @@ body:not(.show-tor-check) #tor-check {
}
- at media (prefers-contrast) {
- #search-form {
- border-color: var(--in-content-box-border-color);
- }
+ at media not ((prefers-contrast) or (forced-colors)) {
+ /* Force the page to follow the same Tor theme, regardless of
+ * prefers-color-scheme. */
- #tor-check {
- background-color: var(--in-content-box-info-background);
- }
-}
-
- at media not (prefers-contrast) {
/* On dark background */
:root {
background-color: #2C0449;
@@ -176,6 +172,7 @@ body:not(.show-tor-check) #tor-check {
#tor-check {
background-color: #1f0333;
+ border-color: transparent;
}
body > :not(#search-form) {
=====================================
browser/components/torcircuit/content/torCircuitPanel.css
=====================================
@@ -17,7 +17,7 @@
background: currentColor;
}
- at media not (prefers-contrast) {
+ at media not ((prefers-contrast) or (forced-colors)) {
#tor-circuit-button-icon {
background: linear-gradient(315deg, #008799 0%, #6153C6 50%, #CA00CC 100%);
}
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/a36c4f1c12ac4d01c8b8d3b426f7c5c3f5447195...d547cefbb4d0660c35ce5acf400392f5107fffb8
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/a36c4f1c12ac4d01c8b8d3b426f7c5c3f5447195...d547cefbb4d0660c35ce5acf400392f5107fffb8
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240911/7ce6f73a/attachment-0001.htm>
More information about the tbb-commits
mailing list