From a291ee69913f02a4b6b337b65dd1c7e48e050eca Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 1 Nov 2018 12:31:37 +0100 Subject: [PATCH 1/6] Remove unnecessary 'Delete' title from 'Revoke' menu entry Signed-off-by: Jan-Christoph Borchardt --- settings/js/templates/authtoken.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/js/templates/authtoken.handlebars b/settings/js/templates/authtoken.handlebars index 7c222d863f..979cd142ff 100644 --- a/settings/js/templates/authtoken.handlebars +++ b/settings/js/templates/authtoken.handlebars @@ -18,7 +18,7 @@ {{/if}} {{#if canDelete}}
  • - {{revokeText}} + {{revokeText}}
  • {{/if}} From cf3768718bad230b51f7e8d8fd9b91208e296525 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 1 Nov 2018 12:32:53 +0100 Subject: [PATCH 2/6] Remove tooltip from sessions, just wrap lines for simplicity and no duplication Signed-off-by: Jan-Christoph Borchardt --- settings/css/settings.scss | 18 +++++++++++------- settings/js/templates/authtoken.handlebars | 4 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/settings/css/settings.scss b/settings/css/settings.scss index a028a62d2b..d37cc2e2a1 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -424,11 +424,22 @@ table.nostyle { } } .token-list td { + border-top: 1px solid var(--color-border); + max-width: 200px; + white-space: normal; + vertical-align: middle; + position: relative; + &%icon { overflow: visible; position: relative; width: 16px; } + + &.token-name { + padding: 10px 0; + } + &.more { @extend %icon; } @@ -441,13 +452,6 @@ table.nostyle { height: 44px; } } - border-top: 1px solid var(--color-border); - text-overflow: ellipsis; - max-width: 200px; - white-space: nowrap; - overflow: hidden; - vertical-align: middle; - position: relative; } tr > *:nth-child(3) { text-align: right; diff --git a/settings/js/templates/authtoken.handlebars b/settings/js/templates/authtoken.handlebars index 979cd142ff..3653c3246e 100644 --- a/settings/js/templates/authtoken.handlebars +++ b/settings/js/templates/authtoken.handlebars @@ -2,8 +2,8 @@
    - - {{name}} + + {{name}} {{lastActivity}} From dfa862673d27af2d11d5f6200b5560c0dcb8981e Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 1 Nov 2018 12:35:20 +0100 Subject: [PATCH 3/6] Fix double tr creation in session list Signed-off-by: Jan-Christoph Borchardt --- settings/js/templates/authtoken.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/js/templates/authtoken.handlebars b/settings/js/templates/authtoken.handlebars index 3653c3246e..2a6067b1ac 100644 --- a/settings/js/templates/authtoken.handlebars +++ b/settings/js/templates/authtoken.handlebars @@ -23,4 +23,4 @@ {{/if}}
    - + From 0f89354035e7feba3014b077f395cbc965a39d96 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 1 Nov 2018 12:39:29 +0100 Subject: [PATCH 4/6] Fix missing keyboard focus ability and feedback for sessions action menu Signed-off-by: Jan-Christoph Borchardt --- settings/css/settings.scss | 5 +++-- settings/js/templates/authtoken.handlebars | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/settings/css/settings.scss b/settings/css/settings.scss index d37cc2e2a1..a7dbe0e7d8 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -458,7 +458,7 @@ table.nostyle { } .token-list { td > a.icon-more { - transition: opacity 0.5s; + transition: opacity var(--animation-quick); } a.icon-more { padding: 14px; @@ -469,8 +469,9 @@ table.nostyle { } tr { &:hover td > a.icon, + td > a.icon:focus, &.active td > a.icon { - opacity: 0.7; + opacity: 1; } } } diff --git a/settings/js/templates/authtoken.handlebars b/settings/js/templates/authtoken.handlebars index 2a6067b1ac..3051268699 100644 --- a/settings/js/templates/authtoken.handlebars +++ b/settings/js/templates/authtoken.handlebars @@ -8,7 +8,7 @@ {{lastActivity}} - {{#if showMore}}{{/if}} + {{#if showMore}}{{/if}}