summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-11-01 12:39:29 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-11-01 12:39:38 +0100
commit0f89354035e7feba3014b077f395cbc965a39d96 (patch)
treedd03147b4961468582bef35544b40d6abe016750
parentdfa862673d27af2d11d5f6200b5560c0dcb8981e (diff)
downloadnextcloud-server-0f89354035e7feba3014b077f395cbc965a39d96.tar.gz
nextcloud-server-0f89354035e7feba3014b077f395cbc965a39d96.zip
Fix missing keyboard focus ability and feedback for sessions action menu
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
-rw-r--r--settings/css/settings.scss5
-rw-r--r--settings/js/templates/authtoken.handlebars2
2 files changed, 4 insertions, 3 deletions
diff --git a/settings/css/settings.scss b/settings/css/settings.scss
index d37cc2e2a14..a7dbe0e7d8f 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 2a6067b1aca..3051268699f 100644
--- a/settings/js/templates/authtoken.handlebars
+++ b/settings/js/templates/authtoken.handlebars
@@ -8,7 +8,7 @@
<td>
<span class="last-activity has-tooltip" title="{{lastActivityTime}}">{{lastActivity}}</span></td>
<td class="more">
- {{#if showMore}}<a class="icon icon-more"/>{{/if}}
+ {{#if showMore}}<a class="icon icon-more" tabindex="0"/>{{/if}}
<div class="popovermenu menu">
{{#if canScope}}
<li><span class="menuitem">