diff --git a/settings/css/settings.scss b/settings/css/settings.scss index 268cb0eee5..d2dd973e88 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -347,7 +347,7 @@ table.nostyle { } .token-list { td > a.icon { - opacity: 0; + transition: opacity 0.5s; } a.icon { @@ -563,36 +563,26 @@ tr:hover > td { } td.userActions { - width: 25px; - text-align: center; - position: relative; - .action { - position: relative; - top: 3px; - } + width: 44px; .toggleUserActions { - border: none; - background-color: rgba(0, 0, 0, 0); - width: 34px; - height: 34px; - margin: 0; - opacity: 0.5; - &:hover, - &:focus { - background-color: transparent; - opacity: 1; + width: 44px; + height: 44px; + position: relative; + .action { + display: block; + padding: 14px; + opacity: 0.5; + .icon-more { + display: inline-block; + } + &:hover, + &:focus { + opacity: 1; + } } } } -tr.active td.userActions .action { - opacity: 1; -} - -td.userActions .action:hover { - cursor: pointer; -} - div.recoveryPassword { left: 50em; display: block; diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 1d6cb93452..5a337c3855 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -101,16 +101,9 @@ var UserList = { $tdSubadmins.find('.action').tooltip({placement: 'top'}); /** - * user actions menu + * hide user actions menu for current user */ - if ($tr.find('td.userActions > span > img').length === 0 && OC.currentUser !== user.name) { - var menuImage = $('').attr({ - src: OC.imagePath('core', 'actions/more') - }); - var menuLink = $('') - .append(menuImage); - $tr.find('td.userActions > span').replaceWith(menuLink); - } else if (OC.currentUser === user.name) { + if (OC.currentUser === user.name) { $tr.find('td.userActions').empty(); } diff --git a/settings/templates/users/part.userlist.php b/settings/templates/users/part.userlist.php index 146e35d11a..aaf20b6eae 100644 --- a/settings/templates/users/part.userlist.php +++ b/settings/templates/users/part.userlist.php @@ -1,4 +1,4 @@ - +
@@ -64,19 +64,22 @@ -
- +
+ +