diff --git a/sass/popup.scss b/sass/popup.scss index 4375576e1..4f10466c6 100644 --- a/sass/popup.scss +++ b/sass/popup.scss @@ -21,6 +21,14 @@ body { font-size: 16px; cursor: default; user-select: none; + + :focus { + outline: auto; + } +} + +.hideoutline * { + outline: none !important; } svg { @@ -282,6 +290,8 @@ svg { } border-radius: 2px; position: relative; + display: block; + cursor: pointer; .issuer { font-size: 12px; @@ -301,7 +311,6 @@ svg { width: 80%; user-select: text; font-family: "Droid Sans Mono"; - cursor: pointer; } .sector, diff --git a/src/components/Popup.vue b/src/components/Popup.vue index 041e5b597..55a2825a7 100644 --- a/src/components/Popup.vue +++ b/src/components/Popup.vue @@ -5,7 +5,10 @@ 'theme-normal': theme !== 'accessibility' && theme !== 'dark', 'theme-accessibility': theme === 'accessibility', 'theme-dark': theme === 'dark', + hideoutline, }" + v-on:mousedown="hideoutline = true" + v-on:keydown="hideoutline = false" > - +