From 981c110f7ee494185df50563b986bebf4d78293d Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 26 Apr 2017 14:42:49 +0200 Subject: [PATCH] Use JS for verification icon tooltip Signed-off-by: Jan-Christoph Borchardt --- apps/federatedfilesharing/js/settings-personal.js | 3 +++ settings/css/settings.css | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/federatedfilesharing/js/settings-personal.js b/apps/federatedfilesharing/js/settings-personal.js index 04096cb041..c954f74f32 100644 --- a/apps/federatedfilesharing/js/settings-personal.js +++ b/apps/federatedfilesharing/js/settings-personal.js @@ -20,6 +20,9 @@ $(document).ready(function() { } }); + /* Verification icon tooltip */ + $('#personal-settings-container .verify img').tooltip({placement: 'bottom', trigger: 'hover'}); + $('#fileSharingSettings .clipboardButton').tooltip({placement: 'bottom', title: t('core', 'Copy'), trigger: 'hover'}); // Clipboard! diff --git a/settings/css/settings.css b/settings/css/settings.css index 1e5ee1f031..54be375b3c 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -145,7 +145,7 @@ input#openid, input#webdav { width:20em; } float: right; } #personal-settings-container .verify img { - padding: 12px 7px; + padding: 12px 7px 6px; } /* only show pointer cursor when popup will be there */ #personal-settings-container .verify-action {