diff --git a/app/styles/app/layouts/profile.sass b/app/styles/app/layouts/profile.sass index e3a183e5..ca0634a6 100644 --- a/app/styles/app/layouts/profile.sass +++ b/app/styles/app/layouts/profile.sass @@ -239,6 +239,27 @@ p.profile-user-last right: 1em @extend .icon--dismiss-red +.profile-token-toggle + .icon-eye + vertical-align: middle + path + fill: #B6B7B9 + polygon + stroke: #B6B7B9 + fill: #fff + &:hover + path + fill: #666666 + polygon + stroke: #666666 + fill: #fff + &.is-visible + .icon-eye + polygon + fill: #B6B7B9 + &:hover + polygon + fill: #666666 #unadministerable-hooks p diff --git a/app/styles/app/modules/tooltips.sass b/app/styles/app/modules/tooltips.sass index 7a8625dc..cc6b17f2 100644 --- a/app/styles/app/modules/tooltips.sass +++ b/app/styles/app/modules/tooltips.sass @@ -84,3 +84,11 @@ height: 3.2em &:before left: 2em + +.tooltip--profile + @extend %tooltip + .tooltip-bubble + left: -120% + &:before + left: 35% + diff --git a/app/templates/profile/accounts.hbs b/app/templates/profile/accounts.hbs index 71226e63..f2805372 100644 --- a/app/templates/profile/accounts.hbs +++ b/app/templates/profile/accounts.hbs @@ -12,10 +12,22 @@
Token: {{#if isVisible}} - {{auth.currentUser.token}}↼ - {{else}} - ⇀ + {{auth.currentUser.token}} {{/if}} + + + {{#if isVisible}}hide token{{else}}show token{{/if}} + + + +