From 7f6e55c6c9dbd4464b4eeda445e953072e5f2572 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Mon, 16 Dec 2024 10:30:43 +0100 Subject: [PATCH 1/7] add select all iconbutton --- media/settingsView.css | 9 +++++++++ media/theme.css | 6 +++++- src/settingsView.ts | 31 +++++++++++++++++++++++++++++-- 3 files changed, 43 insertions(+), 3 deletions(-) diff --git a/media/settingsView.css b/media/settingsView.css index 9c387cfcd..5fe377783 100644 --- a/media/settingsView.css +++ b/media/settingsView.css @@ -80,3 +80,12 @@ body[data-vscode-theme-kind=vscode-dark] div.separator { width: 4px; height: 4px; } + +.section-toolbar > a { + border-radius: 5px; + font-size: 16px; +} + +.section-toolbar > a:hover { + background-color: var(--vscode-toolbar-hoverBackground); +} \ No newline at end of file diff --git a/media/theme.css b/media/theme.css index 0440c48a8..3a7fb3249 100644 --- a/media/theme.css +++ b/media/theme.css @@ -58,7 +58,11 @@ textarea { .section-header { font-size: 11px; - margin: 10px 0 3px 8px; + margin: 10px 8px 3px 8px; font-weight: 700; color: var(--vscode-editor-inlineValuesForeground); + + display: flex; + justify-content: space-between; + align-items: baseline; } diff --git a/src/settingsView.ts b/src/settingsView.ts index b7ccccf4f..df5bc9c49 100644 --- a/src/settingsView.ts +++ b/src/settingsView.ts @@ -268,7 +268,17 @@ function htmlForWebview(vscode: vscodeTypes.VSCode, extensionUri: vscodeTypes.Ur -
${vscode.l10n.t('PROJECTS')}
+
+ ${vscode.l10n.t('PROJECTS')} + +
${vscode.l10n.t('SETTINGS')}
@@ -299,9 +309,12 @@ function htmlForWebview(vscode: vscodeTypes.VSCode, extensionUri: vscodeTypes.Ur