changeset 4529:869976dfb8c2

Improve 'Show by ID' and 'Show by Name' on summary page. This improves the summary page by switching these buttons to standard buttons, removing the weird custom CSS class that seemed to try to do magic, but instead just left the button overflowing the space.
author Na'Tosha Bard <natosha@unity3d.com>
date Fri, 19 Sep 2014 14:44:21 +0200
parents 731b6444984c
children 27dc67382cf6
files kallithea/public/css/style.css kallithea/templates/summary/summary.html
diffstat 2 files changed, 2 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Thu Sep 18 12:10:45 2014 +0200
+++ b/kallithea/public/css/style.css	Fri Sep 19 14:44:21 2014 +0200
@@ -3706,18 +3706,6 @@
     padding: 0px 4px;
 }
 
-.btn.clone {
-    padding: 5px 2px 6px 1px;
-    margin: 0px 0px 3px -4px;
-    -webkit-border-radius: 0px 4px 4px 0px !important;
-    -khtml-border-radius: 0px 4px 4px 0px !important;
-    border-radius: 0px 4px 4px 0px !important;
-    width: 100px;
-    text-align: center;
-    display: inline-block;
-    position: relative;
-    top: -2px;
-}
 .btn:focus {
     outline: none;
 }
--- a/kallithea/templates/summary/summary.html	Thu Sep 18 12:10:45 2014 +0200
+++ b/kallithea/templates/summary/summary.html	Fri Sep 19 14:44:21 2014 +0200
@@ -78,8 +78,8 @@
                 <div class="input ${summary(c.show_stats)}">
                   <input style="width:80%" type="text" id="clone_url" readonly="readonly" value="${c.clone_repo_url}"/>
                   <input style="display:none;width:80%" type="text" id="clone_url_id" readonly="readonly" value="${c.clone_repo_url_id}"/>
-                  <div style="display:none" id="clone_by_name" class="btn btn-small clone">${_('Show by Name')}</div>
-                  <div id="clone_by_id" class="btn btn-small clone">${_('Show by ID')}</div>
+                  <div style="display:none" id="clone_by_name" class="btn btn-small">${_('Show by Name')}</div>
+                  <div id="clone_by_id" class="btn btn-small">${_('Show by ID')}</div>
                 </div>
             </div>