From 999519f85ca0acbd59c862ac8a1ecf8b4d31c051 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Wed, 23 Jul 2025 00:57:03 +0200 Subject: [PATCH] chore: Pref cleanup, b=no-bug, c=glance, tabs --- .../components/preferences/zen-settings.js | 5 ---- .../preferences/zenLooksAndFeel.inc.xhtml | 3 --- src/zen/glance/ZenGlanceManager.mjs | 2 +- src/zen/tabs/zen-tabs/vertical-tabs.css | 23 ------------------- 4 files changed, 1 insertion(+), 32 deletions(-) diff --git a/src/browser/components/preferences/zen-settings.js b/src/browser/components/preferences/zen-settings.js index a440185a3..139a7538f 100644 --- a/src/browser/components/preferences/zen-settings.js +++ b/src/browser/components/preferences/zen-settings.js @@ -1149,11 +1149,6 @@ Preferences.addAll([ type: 'bool', default: true, }, - { - id: 'zen.view.show-newtab-button-border-top', - type: 'bool', - default: false, - }, { id: 'zen.view.show-newtab-button-top', type: 'bool', diff --git a/src/browser/components/preferences/zenLooksAndFeel.inc.xhtml b/src/browser/components/preferences/zenLooksAndFeel.inc.xhtml index 433581b65..260b08b57 100644 --- a/src/browser/components/preferences/zenLooksAndFeel.inc.xhtml +++ b/src/browser/components/preferences/zenLooksAndFeel.inc.xhtml @@ -36,9 +36,6 @@ data-l10n-id="zen-vertical-tabs-newtab-on-tab-list" preference="zen.tabs.show-newtab-vertical"/> - diff --git a/src/zen/glance/ZenGlanceManager.mjs b/src/zen/glance/ZenGlanceManager.mjs index 04bdd04ab..6895a91b2 100644 --- a/src/zen/glance/ZenGlanceManager.mjs +++ b/src/zen/glance/ZenGlanceManager.mjs @@ -211,7 +211,7 @@ { duration: 0.4, type: 'spring', - bounce: 0.3, + bounce: 0.25, } ) .then(() => { diff --git a/src/zen/tabs/zen-tabs/vertical-tabs.css b/src/zen/tabs/zen-tabs/vertical-tabs.css index e20386063..af3d4ae61 100644 --- a/src/zen/tabs/zen-tabs/vertical-tabs.css +++ b/src/zen/tabs/zen-tabs/vertical-tabs.css @@ -1226,29 +1226,6 @@ @media -moz-pref('zen.view.show-newtab-button-top') { order: -1; } - - /* Add a separator line above the button if preferences are set and there are tabs */ - @media -moz-pref('zen.view.show-newtab-button-border-top') and (not -moz-pref('zen.view.show-newtab-button-top')) { - #tabbrowser-arrowscrollbox:has(tab:not([hidden])) & { - /* Only if tabs exist */ - margin-top: 15px; /* Space above */ - position: relative; /* For pseudo-element */ - &::before { - content: ''; - display: block; - height: 1px; - background: light-dark( - rgba(1, 1, 1, 0.075), - rgba(255, 255, 255, 0.1) - ); /* Separator color */ - width: 98%; /* Near full width */ - position: absolute; - top: -8px; /* Position above the button */ - left: 50%; - transform: translateX(-50%); /* Center horizontally */ - } - } - } } }