From 5527aaebe949e2b24d8287071e7e7c26a1d26529 Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Fri, 7 Feb 2025 21:08:44 +0100 Subject: [PATCH] Refactor tab selection styles and remove debug log from ZenUIMigration --- .../base/content/zen-styles/zen-tabs/vertical-tabs.css | 4 ++-- src/browser/base/zen-components/ZenUIMigration.mjs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css b/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css index 94abd50a3..a4e33e9c8 100644 --- a/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css +++ b/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css @@ -999,7 +999,7 @@ } @media (-moz-bool-pref: 'zen.theme.essentials-favicon-bg') { - &[selected] .tab-background { + &[visuallyselected] .tab-background { &::after { content: ""; inset: -50%; @@ -1027,7 +1027,7 @@ } } - &[selected]:hover .tab-background::before { + &[visuallyselected]:hover .tab-background::before { background: light-dark(rgba(255, 255, 255, 0.80), rgba(68, 64, 64, 0.80)); } } diff --git a/src/browser/base/zen-components/ZenUIMigration.mjs b/src/browser/base/zen-components/ZenUIMigration.mjs index 0fe371ca8..6aa1454b7 100644 --- a/src/browser/base/zen-components/ZenUIMigration.mjs +++ b/src/browser/base/zen-components/ZenUIMigration.mjs @@ -9,7 +9,6 @@ class ZenUIMigration { MIGRATION_VERSION = 1; init(isNewProfile, win) { - console.log(isNewProfile, win); if (!isNewProfile) { this._migrate(win); }