Pier Angelo Vendrame pushed to branch tor-browser-102.8.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits: 28b9d8f1 by Dan Ballard at 2023-03-15T13:36:18-05:00 fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser
bug 41526: make tor connection cancel button grey
- - - - -
2 changed files:
- browser/components/torconnect/content/aboutTorConnect.css - browser/components/torconnect/content/aboutTorConnect.js
Changes:
===================================== browser/components/torconnect/content/aboutTorConnect.css ===================================== @@ -136,6 +136,13 @@ button { fill: white; }
+#cancelButton { + color: var(--in-content-button-text-color); + border: 1px solid var(--in-content-button-border-color); + border-radius: 4px; + background-color: var(--in-content-button-background); +} + #locationDropdownLabel { margin-block: auto; margin-inline: 4px;
===================================== browser/components/torconnect/content/aboutTorConnect.js ===================================== @@ -517,9 +517,6 @@ class AboutTorConnect { this.hide(this.elements.viewLogButton); } this.show(this.elements.cancelButton, true); - if (state.StateChanged) { - this.elements.cancelButton.focus(); - } }
showOffline(error) {
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/28b9d8f1...