allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [4/7] allura git commit: [#7885] Remove the tooltip help icon from tooltipster
Date Mon, 29 Jun 2015 18:26:50 GMT
[#7885] Remove the tooltip help icon from tooltipster


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/3cda474e
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/3cda474e
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/3cda474e

Branch: refs/heads/master
Commit: 3cda474e5ad2b60fa167f61874bff4480aee4a24
Parents: 1fed974
Author: Heith Seewald <hseewald@slashdotmedia.com>
Authored: Wed Jun 10 12:07:21 2015 -0400
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Mon Jun 29 18:25:54 2015 +0000

----------------------------------------------------------------------
 Allura/allura/nf/allura/css/allura.css          |  2 +-
 .../allura/public/nf/css/forge/tooltipster.css  | 12 ----------
 .../allura/templates/jinja_master/master.html   | 25 ++------------------
 3 files changed, 3 insertions(+), 36 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/3cda474e/Allura/allura/nf/allura/css/allura.css
----------------------------------------------------------------------
diff --git a/Allura/allura/nf/allura/css/allura.css b/Allura/allura/nf/allura/css/allura.css
index 18dbd62..17ee342 100644
--- a/Allura/allura/nf/allura/css/allura.css
+++ b/Allura/allura/nf/allura/css/allura.css
@@ -86,4 +86,4 @@ tr.rev div.markdown_content p {
 
 #phone_verification_overlay iframe {
     height: 320px;
-}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/allura/blob/3cda474e/Allura/allura/public/nf/css/forge/tooltipster.css
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/css/forge/tooltipster.css b/Allura/allura/public/nf/css/forge/tooltipster.css
index a276c96..0c9dd4a 100755
--- a/Allura/allura/public/nf/css/forge/tooltipster.css
+++ b/Allura/allura/public/nf/css/forge/tooltipster.css
@@ -321,15 +321,3 @@
     line-height: 16px;
     padding: 8px 10px;
 }
-
-textarea.tooltip {
-    position: relative;
-    display: block;
-    margin: 0px auto;
-}
-
-/*input.tooltip {*/
-    /*position: relative;*/
-    /*display: inline-block;*/
-    /*/!*margin: auto;*!/*/
-/*}*/
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/allura/blob/3cda474e/Allura/allura/templates/jinja_master/master.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/jinja_master/master.html b/Allura/allura/templates/jinja_master/master.html
index 087bb36..74b09bc 100644
--- a/Allura/allura/templates/jinja_master/master.html
+++ b/Allura/allura/templates/jinja_master/master.html
@@ -170,37 +170,16 @@
 {% endif %}
 <script>
     $(document).ready(function () {
-        var toolTip = $(".tooltip");
-
-        var tooltipDiv = toolTip.wrap( "<div class='tooltipster-div'></div>"
);
-        console.log('tooltipDiv', tooltipDiv);
-        var input_field = $('.tooltipster-div').find('input');
-
-
-
-        var input_width = input_field.outerWidth();
-        var _innerWidth = input_width + (input_width * 0.05);
-
-        if (_innerWidth < input_width){
-                     $('.tooltipster-div').width(_innerWidth);
-
-        }
-
-
-        toolTip.tooltipster({
+        $(".tooltip").tooltipster({
             animation: 'fade',
             delay: 200,
             theme: 'tooltipster-light',
             trigger: 'hover',
-{#            icon: '?',#}
-{#            touchDevices: true,#}
-{#            iconDesktop: true,#}
             position: 'right',
             iconCloning: false,
             maxWidth: 300
-    });
+        });
     })
-
 </script>
 </body>
 </html>


Mime
View raw message