Fixing filter stylings (#20685)

This commit is contained in:
Aasim Khan
2022-09-30 10:00:13 -07:00
committed by GitHub
parent 2a3e41e821
commit 2a9c0a6935
2 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ import { ActionsOrientation } from 'vs/base/browser/ui/actionbar/actionbar';
import { Action } from 'vs/base/common/actions';
import { Codicon } from 'vs/base/common/codicons';
import { propertiesSearchDescription, searchIconClassNames, searchPlaceholder, sortAlphabeticallyIconClassNames, sortByDisplayOrderIconClassNames, sortReverseAlphabeticallyIconClassNames } from 'sql/workbench/contrib/executionPlan/browser/constants';
import { attachTableStyler } from 'sql/platform/theme/common/styler';
import { attachInputBoxStyler, attachTableStyler } from 'sql/platform/theme/common/styler';
import { RESULTS_GRID_DEFAULTS } from 'sql/workbench/common/constants';
import { contrastBorder, inputBackground, listHoverBackground, listInactiveSelectionBackground } from 'vs/platform/theme/common/colorRegistry';
import { TreeGrid } from 'sql/base/browser/ui/table/treeGrid';
@@ -132,6 +132,7 @@ export abstract class ExecutionPlanPropertiesViewBase extends Disposable impleme
ariaDescription: propertiesSearchDescription,
placeholder: searchPlaceholder
}));
attachInputBoxStyler(this._propertiesSearchInput, this._themeService);
this._propertiesSearchInput.element.classList.add('codicon', searchIconClassNames);
this._searchAndActionBarContainer.appendChild(this._propertiesSearchInputContainer);
this._register(this._propertiesSearchInput.onDidChange(e => {

View File

@@ -14,7 +14,7 @@ import { ExecutionPlanState } from 'sql/workbench/common/editor/query/executionP
import { Table } from 'sql/base/browser/ui/table/table';
import { hyperLinkFormatter, textFormatter } from 'sql/base/browser/ui/table/formatters';
import { RESULTS_GRID_DEFAULTS } from 'sql/workbench/common/constants';
import { attachTableStyler } from 'sql/platform/theme/common/styler';
import { attachInputBoxStyler, attachTableStyler } from 'sql/platform/theme/common/styler';
import { IColorTheme, ICssStyleCollector, IThemeService, registerThemingParticipant } from 'vs/platform/theme/common/themeService';
import { ExecutionPlanViewHeader } from 'sql/workbench/contrib/executionPlan/browser/executionPlanViewHeader';
import { QueryResultsView } from 'sql/workbench/contrib/query/browser/queryResultsView';
@@ -169,6 +169,7 @@ export class TopOperationsTabView extends Disposable implements IPanelView {
ariaDescription: topOperationsSearchDescription,
placeholder: searchPlaceholder
});
attachInputBoxStyler(topOperationsSearchInput, this._themeService);
topOperationsSearchInput.element.classList.add('codicon', searchIconClassNames);
const header = this._instantiationService.createInstance(ExecutionPlanViewHeader, headerInfoContainer, {