mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-28 17:23:19 -05:00
Adding inline actions to OE (#23101)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<path d="M0,1H16V2.7l-6,6V15H6V8.7l-6-6ZM15,2.3V2H1v.3l6,6V14H9V8.3Zm.3,7.7.7.7-1.8,1.8L16,14.3l-.7.7-1.8-1.8L11.7,15l-.7-.7,1.8-1.8L11,10.7l.7-.7,1.8,1.8Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 253 B |
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<path fill="#fff" d="M0,1H16V2.7l-6,6V15H6V8.7l-6-6ZM15,2.3V2H1v.3l6,6V14H9V8.3Zm.3,7.7.7.7-1.8,1.8L16,14.3l-.7.7-1.8-1.8L11.7,15l-.7-.7,1.8-1.8L11,10.7l.7-.7,1.8,1.8Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 265 B |
@@ -10,7 +10,8 @@
|
||||
}
|
||||
|
||||
.monaco-workbench.vs-dark .actions-container .action-label.add-server-action,
|
||||
.monaco-workbench.hc-black .actions-container .action-label.add-server-action {
|
||||
.monaco-workbench.hc-black .actions-container .action-label.add-server-action,
|
||||
.monaco-list:focus .monaco-list-rows .actions-container .action-label.add-server-action {
|
||||
background-image: url('add_server_inverse.svg') !important;
|
||||
}
|
||||
|
||||
@@ -44,6 +45,17 @@
|
||||
background-image: url('server_page_inverse.svg') !important;
|
||||
}
|
||||
|
||||
.monaco-workbench .actions-container .action-label.remove-filter-action,
|
||||
.monaco-workbench.hc-light .actions-container .action-label.remove-filter-action {
|
||||
background-image: url('remove_filter.svg') !important;
|
||||
}
|
||||
|
||||
.monaco-workbench.vs-dark .actions-container .action-label.remove-filter-action,
|
||||
.monaco-workbench.hc-black .actions-container .action-label.remove-filter-action,
|
||||
.monaco-list:focus .monaco-list-rows .actions-container .action-label.remove-filter-action {
|
||||
background-image: url('remove_filter_inverse.svg') !important;
|
||||
}
|
||||
|
||||
/* styles for action labels - without these, the buttons for the Servers view will not be sized correctly */
|
||||
.monaco-pane-view .pane > .pane-header > .actions .action-label.icon,
|
||||
.monaco-pane-view .pane > .pane-header > .actions .action-label.codicon {
|
||||
|
||||
@@ -930,7 +930,7 @@ export class ServerTreeView extends Disposable implements IServerTreeView {
|
||||
}
|
||||
}
|
||||
|
||||
private getActionContext(element: ServerTreeElement): any {
|
||||
public getActionContext(element: ServerTreeElement): any {
|
||||
let actionContext: any;
|
||||
if (element instanceof TreeNode) {
|
||||
let context = new ObjectExplorerActionsContext();
|
||||
|
||||
Reference in New Issue
Block a user