diff --git a/src/app/vault/password-generator.component.html b/src/app/vault/password-generator.component.html index ae61bc393b..c65ec5449d 100644 --- a/src/app/vault/password-generator.component.html +++ b/src/app/vault/password-generator.component.html @@ -17,9 +17,13 @@
- {{'options' | i18n}} +
-
+
{{options.length}} @@ -47,7 +51,7 @@
-
+
@@ -68,8 +72,9 @@
diff --git a/src/app/vault/password-generator.component.ts b/src/app/vault/password-generator.component.ts index c28cd6dd2e..d79bf25889 100644 --- a/src/app/vault/password-generator.component.ts +++ b/src/app/vault/password-generator.component.ts @@ -24,6 +24,7 @@ export class PasswordGeneratorComponent implements OnInit { options: any = {}; password: string = '-'; + showOptions = false; constructor(private passwordGenerationService: PasswordGenerationService, private analytics: Angulartics2, private utilsService: UtilsService) { } @@ -89,4 +90,8 @@ export class PasswordGeneratorComponent implements OnInit { this.analytics.eventTrack.next({ action: 'Selected Generated Password' }); this.onSelected.emit(this.password); } + + toggleOptions() { + this.showOptions = !this.showOptions; + } } diff --git a/src/scss/base.scss b/src/scss/base.scss index 8ba3d44c56..e1ecfe4bff 100644 --- a/src/scss/base.scss +++ b/src/scss/base.scss @@ -44,6 +44,7 @@ input, select, textarea, button { button { white-space: nowrap; + cursor: pointer; } textarea { diff --git a/src/scss/box.scss b/src/scss/box.scss index 3b555057fe..44876e4764 100644 --- a/src/scss/box.scss +++ b/src/scss/box.scss @@ -7,6 +7,13 @@ margin: 0 10px 5px 10px; color: $gray-light; text-transform: uppercase; + + button { + background-color: transparent; + border: none; + color: $gray-light; + text-transform: uppercase; + } } .box-content { diff --git a/src/scss/buttons.scss b/src/scss/buttons.scss index 7d3908d8a1..6e14d024e0 100644 --- a/src/scss/buttons.scss +++ b/src/scss/buttons.scss @@ -9,6 +9,7 @@ color: $button-color; white-space: nowrap; text-align: center; + cursor: pointer; &:hover:not([disabled]), &:focus:not([disabled]) { cursor: pointer;