From f96d154b9dd5479bed139b6c1b4bf2312256f8e8 Mon Sep 17 00:00:00 2001 From: gzagatti Date: Thu, 22 Dec 2022 09:43:08 -0300 Subject: [PATCH] some tweaks to tab bar colors. --- vivaldi/userChrome.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/vivaldi/userChrome.css b/vivaldi/userChrome.css index 81cf7d9..0d72a30 100644 --- a/vivaldi/userChrome.css +++ b/vivaldi/userChrome.css @@ -20,3 +20,25 @@ height: initial; min-height: 40px !important; } + +/* + highlight tab bar favicons in white for better contrast in dark mode + highlight active favicon in pink + https://forum.vivaldi.net/topic/48030/some-questions-about-tab-icons/9 +*/ +.tab-position .tab-header .favicon { + filter: drop-shadow(1px 0 0 rgba(246, 246, 246, 0.5)) drop-shadow(-1px 0 0 rgba(246, 246, 246, 0.5)) drop-shadow(0 1px 0 rgba(246, 246, 246, 0.5)) drop-shadow(0 -1px 0 rgba(246, 246, 246, 0.5)); +} + +.tab-position .tab.active .tab-header .favicon { + filter: drop-shadow(1px 0 0 rgba(249, 57, 185, 0.75)) drop-shadow(-1px 0 0 rgba(249, 57, 185, 0.75)) drop-shadow(0 1px 0 rgba(249, 57, 185, 0.75)) drop-shadow(0 -1px 0 rgba(249, 57, 185, 0.75)) !important; +} + +/* + different background for stack to visually distinguish them in tab bar +*/ +.svg-tab-stack { + background-color: #2d2d2d; + opacity: 0.7; + z-index: -1; +}