tor-browser

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

commit 10c182547bc367bc83c30055471d43cb558fb723
parent 7dbca98aff1dcd2e4db8df935e1fda476b5c31a5
Author: Sandor Molnar <smolnar@mozilla.com>
Date:   Mon, 15 Dec 2025 23:48:26 +0200

Revert "Bug 2005000 - update 12x12 tab notes icon r=desktop-theme-reviewers,tabbrowser-reviewers,dao" for causing bc failures

This reverts commit 34a4e384fc01a450ac011c7a66fc75f5aabc95b7.

Diffstat:
Mbrowser/themes/shared/tabbrowser/tabs.css | 15+++++++--------
Mtoolkit/themes/shared/icons/tab-notes-12.svg | 5+++--
2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/browser/themes/shared/tabbrowser/tabs.css b/browser/themes/shared/tabbrowser/tabs.css @@ -225,10 +225,10 @@ --tab-min-width-extra-icons: 24px; } &[tab-note]:not([muted], [soundplaying], [activemedia-blocked]) { - --tab-min-width-extra-icons: 20px; + --tab-min-width-extra-icons: 24px; } &[tab-note]:is([muted], [soundplaying], [activemedia-blocked]) { - --tab-min-width-extra-icons: 44px; + --tab-min-width-extra-icons: 48px; } } } @@ -2557,12 +2557,12 @@ toolbar:not(#TabsToolbar) #firefox-view-button { display: none; box-sizing: border-box; - width: calc(var(--icon-size-xsmall) + 8px); - height: calc(var(--icon-size-xsmall) + 8px); + width: calc(var(--icon-size) + 8px); + height: calc(var(--icon-size) + 8px); padding: 4px; - margin-inline-end: calc(var(--tab-close-button-padding) / -2); + margin-inline-end: calc(var(--tab-inline-padding) / -2); - list-style-image: url("chrome://global/skin/icons/tab-notes-12.svg"); + list-style-image: url("chrome://global/skin/icons/tab-notes.svg"); -moz-context-properties: fill; fill: var(--icon-color); @@ -2572,8 +2572,7 @@ toolbar:not(#TabsToolbar) #firefox-view-button { * the close button is not showing because the tab is not being hovered. */ .tabbrowser-tab:not(:hover) & { - /* .tab-close-button is 24px wide with border-box sizing */ - margin-inline-end: calc(24px - var(--tab-close-button-padding)); + margin-inline-end: calc(var(--icon-size) + 8px - var(--tab-close-button-padding)); } .tabbrowser-tab:is([visuallyselected], :hover) & { margin-inline-end: calc(var(--tab-close-button-padding) / -2); diff --git a/toolkit/themes/shared/icons/tab-notes-12.svg b/toolkit/themes/shared/icons/tab-notes-12.svg @@ -1,4 +1,6 @@ <!-- 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/. --> -<svg width="12" height="12" fill="context-fill" fill-opacity="context-fill-opacity" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.75.75a1.5 1.5 0 0 1 1.5 1.5v5.337a.625.625 0 0 1-.174.433L8.16 11.058a.626.626 0 0 1-.451.192H2.25a1.5 1.5 0 0 1-1.5-1.5v-7.5a1.5 1.5 0 0 1 1.5-1.5h7.5zM2.25 2a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h5V7.75a.5.5 0 0 1 .5-.5H10v-5A.25.25 0 0 0 9.75 2h-7.5z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h12v12H0z"/></clipPath></defs></svg> -\ No newline at end of file +<svg width="12" height="12" viewBox="0 0 12 12" fill="context-fill" fill-opacity="context-fill-opacity" xmlns="http://www.w3.org/2000/svg"> +<path fill-rule="evenodd" clip-rule="evenodd" d="M9.52441 1C10.3396 1.00022 10.9992 1.66089 11.001 2.47461V7.33789C11.001 7.49909 10.9387 7.65415 10.8271 7.77051L7.91016 10.8086C7.7923 10.9313 7.62915 11.001 7.45898 11.001H2.47559C1.66073 11.0008 1.00021 10.3403 1 9.52539V2.47559C1.00022 1.66074 1.66074 1.00022 2.47559 1H9.52441ZM2.47559 2.25C2.35109 2.25022 2.25022 2.35109 2.25 2.47559V9.52539C2.25021 9.6499 2.35109 9.75075 2.47559 9.75098H7V7.5C7 7.224 7.224 7 7.5 7H9.75098V2.47754L9.74609 2.43164C9.72477 2.32779 9.63331 2.2502 9.52441 2.25H2.47559Z"/> +</svg>