From 7eaa309cc7313b1c4d20e5705d9e3ec92edf0399 Mon Sep 17 00:00:00 2001 From: Vincent Fugnitto Date: Thu, 7 Nov 2019 14:16:12 -0500 Subject: [PATCH] Fix display of toolbar item icons Fixes #6513 - fixes the display of toolbar item icons when applications are created with a subset of available extensions. The common icons are added to core for others to use. Signed-off-by: Vincent Fugnitto --- packages/core/src/browser/style/tabs.css | 16 ++++++++++++++++ .../src/browser/styles/index.css | 12 ------------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/packages/core/src/browser/style/tabs.css b/packages/core/src/browser/style/tabs.css index 31af4caa11bff..0d2eea1c7fd64 100644 --- a/packages/core/src/browser/style/tabs.css +++ b/packages/core/src/browser/style/tabs.css @@ -290,3 +290,19 @@ background-repeat: no-repeat; line-height: 18px; } + +.p-TabBar-toolbar .item .collapse-all { + background: var(--theia-icon-collapse-all) no-repeat; +} + +.p-TabBar-toolbar .item .close { + background: var(--theia-icon-collapse-all) no-repeat; +} + +.p-TabBar-toolbar .item .clear-all { + background: var(--theia-icon-clear) no-repeat; +} + +.p-TabBar-toolbar .item .refresh { + background: var(--theia-icon-refresh) no-repeat; +} diff --git a/packages/search-in-workspace/src/browser/styles/index.css b/packages/search-in-workspace/src/browser/styles/index.css index 927fb9d721472..34d574ce113d5 100644 --- a/packages/search-in-workspace/src/browser/styles/index.css +++ b/packages/search-in-workspace/src/browser/styles/index.css @@ -65,18 +65,6 @@ margin-bottom: 5px; } -.p-TabBar-toolbar .item .refresh { - background: var(--theia-icon-refresh) no-repeat; -} - -.p-TabBar-toolbar .item .collapse-all { - background: var(--theia-icon-collapse-all) no-repeat; -} - -.p-TabBar-toolbar .item .clear-all { - background: var(--theia-icon-clear) no-repeat; -} - .t-siw-search-container .searchHeader .search-field-container { background: var(--theia-layout-color2); border-style: solid;