allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [35/50] [abbrv] allura git commit: [#7919] tooltip on initial lock icon; removing blue hover that chrome/osx puts around it after clicking
Date Thu, 17 Dec 2015 19:22:22 GMT
[#7919] tooltip on initial lock icon; removing blue hover that chrome/osx puts around it after
clicking


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

Branch: refs/heads/db/8034
Commit: 0bc1567fb9cafafac72cfb2365528509c4e33ad1
Parents: f9b08a8
Author: Dave Brondsema <dave@brondsema.net>
Authored: Wed Dec 9 16:35:17 2015 -0500
Committer: Heith Seewald <heiths@gmail.com>
Committed: Wed Dec 16 13:55:39 2015 -0600

----------------------------------------------------------------------
 Allura/allura/public/nf/css/navbar.css            |  3 +++
 Allura/allura/templates/jinja_master/top_nav.html | 10 +++++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/0bc1567f/Allura/allura/public/nf/css/navbar.css
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/css/navbar.css b/Allura/allura/public/nf/css/navbar.css
index 71e625b..c4264aa 100644
--- a/Allura/allura/public/nf/css/navbar.css
+++ b/Allura/allura/public/nf/css/navbar.css
@@ -31,6 +31,9 @@
     width: 1.8rem;
     height: 1.8rem;
 }
+#toggle-admin-btn:focus {
+    outline: none;
+}
 
 #threshold-config > span > input {
     width: 2rem;

http://git-wip-us.apache.org/repos/asf/allura/blob/0bc1567f/Allura/allura/templates/jinja_master/top_nav.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/jinja_master/top_nav.html b/Allura/allura/templates/jinja_master/top_nav.html
index 415123c..53ffc6b 100644
--- a/Allura/allura/templates/jinja_master/top_nav.html
+++ b/Allura/allura/templates/jinja_master/top_nav.html
@@ -36,7 +36,9 @@
   {% endfor %}
   {% if h.has_access(c.project, 'admin')() %}
     <li id="add-tool-container"><a href='#' class="add-tool-toggle">Add New...</a></li>
-    <button id="toggle-admin-btn"><i class="fa fa-lock"></i></button>
+    <button id="toggle-admin-btn" title="Click to unlock the toolbar and configure your
project's tools.">
+        <i class="fa fa-lock"></i>
+    </button>
   {% endif %}
 </ul>
 </div>
@@ -63,6 +65,12 @@
                         installableTools: _data['installable_tools'],
                         mountPointValidation:_existingTools
                     }), document.getElementById('add-tool-container'));
+
+            $("#toggle-admin-btn").tooltipster({
+                delay: 200,
+                theme: 'tooltipster-light',
+                position: 'top'
+            })
         });
     </script>
 {% endif %}


Mime
View raw message