From 6c68d742a71a9755ee21ccbb5e98bc4d8fcfdbb6 Mon Sep 17 00:00:00 2001 From: Hale Rankin Date: Tue, 9 Jun 2020 13:52:47 -0700 Subject: [PATCH] Fixed notebook toolbar icon issue in dark and hc-black themes. (#10802) --- src/sql/workbench/contrib/notebook/browser/notebook.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/sql/workbench/contrib/notebook/browser/notebook.css b/src/sql/workbench/contrib/notebook/browser/notebook.css index 77cb0d64cc..e4432ed3a7 100644 --- a/src/sql/workbench/contrib/notebook/browser/notebook.css +++ b/src/sql/workbench/contrib/notebook/browser/notebook.css @@ -171,14 +171,13 @@ } .vs-dark .notebookEditor :not(.in-preview) .notebook-button.icon-clear-results, -.hc-black - .notebookEditor - :not(.in-preview) - .notebook-button.icon-clear-results { +.hc-black .notebookEditor :not(.in-preview) .notebook-button.icon-clear-results { background-image: url("./media/dark/clear_results_inverse.svg"); } -.notebookEditor .in-preview .notebook-button.masked-icon { +.notebookEditor .in-preview .notebook-button.masked-icon, +.vs-dark .notebookEditor .in-preview .notebook-button.icon-clear-results, +.hc-black .notebookEditor .in-preview .notebook-button.icon-clear-results { background-image: none; } /* non-preview */