From 99d41bec5d04fbdf5d457584cd4d22fef65ece25 Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Wed, 27 Aug 2014 10:28:31 +0100 Subject: Show original path information in trashbin and sharing views Path will only be shown if in subdirectory, not in root. --- core/css/styles.css | 5 +++++ core/js/js.js | 1 + 2 files changed, 6 insertions(+) (limited to 'core') diff --git a/core/css/styles.css b/core/css/styles.css index d4d16db743c..4022936a5a6 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -811,6 +811,11 @@ span.ui-icon {float: left; margin: 3px 7px 30px 0;} height: 16px; } +/* ---- TOOLTIPS ---- */ +.extra-data { + padding-right: 5px !important; +} + /* ---- TAGS ---- */ #tagsdialog .content { width: 100%; height: 280px; diff --git a/core/js/js.js b/core/js/js.js index 89682e3013f..f35a3a1e2be 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1097,6 +1097,7 @@ function initCore() { $('td .modified').tipsy({gravity:'s', fade:true, live:true}); $('td.lastLogin').tipsy({gravity:'s', fade:true, html:true}); $('input').tipsy({gravity:'w', fade:true}); + $('.extra-data').tipsy({gravity:'w', fade:true, live:true}); // toggle for menus $(document).on('mouseup.closemenus', function(event) { -- cgit v1.2.3 From a62ac2574e7f17e4740e480b471d3e223624de59 Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Wed, 27 Aug 2014 20:45:43 +0100 Subject: Better tooltip handling of very long strings * Maximum tooltip length now 400px instead of 200px * Overflowing strings create ellipsis (...) --- core/css/jquery-tipsy.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/css/jquery-tipsy.css b/core/css/jquery-tipsy.css index 957385a269f..63b187fd051 100644 --- a/core/css/jquery-tipsy.css +++ b/core/css/jquery-tipsy.css @@ -1,5 +1,5 @@ .tipsy { font-size:10px; position:absolute; padding:5px; z-index:100000; } -.tipsy-inner { background-color:#000; color:#FFF; max-width:200px; padding:5px 8px 4px 8px; text-align:center; } +.tipsy-inner { background-color:#000; color:#FFF; max-width:400px; padding:5px 8px 4px 8px; text-align:center; overflow: hidden; text-overflow: ellipsis; } /* Rounded corners */ .tipsy-inner { border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; } -- cgit v1.2.3 From ea2022661d85092b30f49056c3523501b6cb7e54 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 16 Sep 2014 08:45:28 +0200 Subject: patch tipsy in style.css - don't patch 3rdparty libraries --- core/css/jquery-tipsy.css | 2 +- core/css/styles.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/css/jquery-tipsy.css b/core/css/jquery-tipsy.css index 63b187fd051..957385a269f 100644 --- a/core/css/jquery-tipsy.css +++ b/core/css/jquery-tipsy.css @@ -1,5 +1,5 @@ .tipsy { font-size:10px; position:absolute; padding:5px; z-index:100000; } -.tipsy-inner { background-color:#000; color:#FFF; max-width:400px; padding:5px 8px 4px 8px; text-align:center; overflow: hidden; text-overflow: ellipsis; } +.tipsy-inner { background-color:#000; color:#FFF; max-width:200px; padding:5px 8px 4px 8px; text-align:center; } /* Rounded corners */ .tipsy-inner { border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; } diff --git a/core/css/styles.css b/core/css/styles.css index 4022936a5a6..97ba18aa1e9 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -815,6 +815,11 @@ span.ui-icon {float: left; margin: 3px 7px 30px 0;} .extra-data { padding-right: 5px !important; } +.tipsy-inner { + max-width: 400px !important; + overflow: hidden; + text-overflow: ellipsis; +} /* ---- TAGS ---- */ #tagsdialog .content { -- cgit v1.2.3