From 415a20f9f7ce2548467435fb0171d6f377b5a94e Mon Sep 17 00:00:00 2001 From: Aasim Khan Date: Thu, 5 Nov 2020 14:44:16 -0800 Subject: [PATCH] Adding custom focus outline-offset for checkboxes (#13229) * adding focus outline styling for checkboxes * Merge pull request #110038 from aasimkhan30/aasim/fix/checkboxOutline Added outline offset to checkbox to make focus visible. * Revert "adding focus outline styling for checkboxes" This reverts commit 1f9de7a00f7e947725e9e935d0be5bca2d662600. Co-authored-by: Miguel Solorio --- src/vs/workbench/browser/media/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vs/workbench/browser/media/style.css b/src/vs/workbench/browser/media/style.css index afc20c5d3f..b5c603740b 100644 --- a/src/vs/workbench/browser/media/style.css +++ b/src/vs/workbench/browser/media/style.css @@ -220,6 +220,10 @@ body.web { opacity: 1 !important; } +.monaco-workbench input[type="checkbox"]:focus { + outline-offset: 2px; +} + .monaco-workbench [tabindex="0"]:active, .monaco-workbench [tabindex="-1"]:active, .monaco-workbench select:active,