1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

Clearer keyboard focus on input elements (#780)

* Add visible border/shadow if buttons have :focus

* Fix obscured outlines when elements have :focus
This commit is contained in:
Thomas Rittson
2021-01-25 06:24:09 +10:00
committed by GitHub
parent a7b7c716d4
commit bcd488bb87
2 changed files with 28 additions and 2 deletions

View File

@@ -57,12 +57,12 @@
<div class="d-flex">
<label for="loginPassword">{{'password' | i18n}}</label>
<div class="ml-auto d-flex" *ngIf="!cipher.isDeleted && !viewOnly">
<a href="#" class="d-block mr-2" appStopClick
<a href="#" class="d-block mr-2 fa-icon-above-input" appStopClick
appA11yTitle="{{'generatePassword' | i18n}}" (click)="generatePassword()"
*ngIf="cipher.viewPassword">
<i class="fa fa-lg fa-fw fa-refresh" aria-hidden="true"></i>
</a>
<a href="#" class="d-block" #checkPasswordBtn appStopClick
<a href="#" class="d-block fa-icon-above-input" #checkPasswordBtn appStopClick
appA11yTitle="{{'checkPassword' | i18n}}" (click)="checkPassword()"
[appApiAction]="checkPasswordPromise">
<i class="fa fa-lg fa-fw fa-check-circle" [hidden]="checkPasswordBtn.loading"