From c2ad7e99734f221db1e3646e21a9e2daeef77c3d Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 9 Dec 2018 19:17:05 +0200 Subject: [PATCH] Fix some coloring issues with different themes --- chrome/autohide_sidebar.css | 13 +++++++++++-- chrome/theme_sidebar.css | 1 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/chrome/autohide_sidebar.css b/chrome/autohide_sidebar.css index 85a599c..711ead6 100644 --- a/chrome/autohide_sidebar.css +++ b/chrome/autohide_sidebar.css @@ -12,7 +12,7 @@ #sidebar-splitter{ display: none } -#sidebar-header{ overflow: hidden; color: var(--chrome-color) } +#sidebar-header{ overflow: hidden; color: var(--chrome-color, inherit) !important} #sidebar{ transition: min-width 115ms linear !important; @@ -22,7 +22,16 @@ #sidebar-box:hover > #sidebar{ min-width: var(--uc-sidebar-hover-width) !important; } -.sidebar-panel{ color: var(--newtab-text-primary-color) !important;} +.sidebar-panel{ + background-color: transparent !important; + color: var(--newtab-text-primary-color) !important; +} + +.sidebar-panel #search-box{ + -moz-appearance: none !important; + background-color: rgba(249,249,250,0.1) !important; + color: inherit !important; +} /* Add sidebar divider and give it background */ diff --git a/chrome/theme_sidebar.css b/chrome/theme_sidebar.css index bfa3e6f..7b74c18 100644 --- a/chrome/theme_sidebar.css +++ b/chrome/theme_sidebar.css @@ -23,6 +23,7 @@ } .sidebar-placesTreechildren, +#sidebar-box, #sidebar-header{ color: var(--uc-text-color) !important; }