Skip to content

Commit

Permalink
Fix display of toolbar item icons
Browse files Browse the repository at this point in the history
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 <vincent.fugnitto@ericsson.com>
  • Loading branch information
vince-fugnitto committed Nov 12, 2019
1 parent a8f750a commit a341032
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
16 changes: 16 additions & 0 deletions packages/core/src/browser/style/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
12 changes: 0 additions & 12 deletions packages/search-in-workspace/src/browser/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a341032

Please sign in to comment.