changeset 6674:88ce09daea37

style: remove most of the explicit styles - it should now be good enough in CSS ... and Bootstrap will soon improve it further
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 11 Jun 2017 15:02:09 +0200
parents 9d34bea3059d
children 35d3a85fc650
files kallithea/lib/helpers.py kallithea/public/css/style.css kallithea/templates/admin/gists/edit.html kallithea/templates/admin/gists/index.html kallithea/templates/admin/my_account/my_account_api_keys.html kallithea/templates/admin/my_account/my_account_emails.html kallithea/templates/admin/permissions/permissions_ips.html kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html kallithea/templates/admin/repo_groups/repo_group_edit_perms.html kallithea/templates/admin/repos/repo_creating.html kallithea/templates/admin/repos/repo_edit_fields.html kallithea/templates/admin/repos/repo_edit_permissions.html kallithea/templates/admin/settings/settings_hooks.html kallithea/templates/admin/settings/settings_system.html kallithea/templates/admin/settings/settings_system_update.html kallithea/templates/admin/user_groups/user_group_edit_advanced.html kallithea/templates/admin/user_groups/user_group_edit_perms.html kallithea/templates/admin/user_groups/user_group_edit_settings.html kallithea/templates/admin/users/user_edit_advanced.html kallithea/templates/admin/users/user_edit_api_keys.html kallithea/templates/admin/users/user_edit_emails.html kallithea/templates/admin/users/user_edit_ips.html kallithea/templates/changelog/changelog.html kallithea/templates/changelog/changelog_summary_data.html kallithea/templates/changeset/changeset.html kallithea/templates/changeset/changeset_file_comment.html kallithea/templates/changeset/diff_block.html kallithea/templates/compare/compare_cs.html kallithea/templates/data_table/_dt_elements.html kallithea/templates/files/files_history_box.html kallithea/templates/files/files_source.html kallithea/templates/files/files_ypjax.html kallithea/templates/followers/followers_data.html kallithea/templates/forks/forks_data.html kallithea/templates/journal/journal_data.html kallithea/templates/pullrequests/pullrequest.html kallithea/templates/pullrequests/pullrequest_data.html kallithea/templates/pullrequests/pullrequest_show.html kallithea/templates/search/search.html kallithea/templates/summary/statistics.html kallithea/templates/summary/summary.html kallithea/tests/functional/test_forks.py
diffstat 42 files changed, 123 insertions(+), 129 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/helpers.py	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/lib/helpers.py	Sun Jun 11 15:02:09 2017 +0200
@@ -258,14 +258,14 @@
         # some configurations seem to mess up the formatting...
         if nocls:
             yield 0, ('<table class="%stable">' % self.cssclass +
-                      '<tr><td><div class="linenodiv" '
-                      'style="background-color: #f0f0f0; padding-right: 10px">'
-                      '<pre style="line-height: 125%">' +
-                      ls + '</pre></div></td><td id="hlcode" class="code">')
+                      '<tr><td><div class="linenodiv">'
+                      '<pre>' + ls + '</pre></div></td>'
+                      '<td id="hlcode" class="code">')
         else:
             yield 0, ('<table class="%stable">' % self.cssclass +
-                      '<tr><td class="linenos"><div class="linenodiv"><pre>' +
-                      ls + '</pre></div></td><td id="hlcode" class="code">')
+                      '<tr><td class="linenos"><div class="linenodiv">'
+                      '<pre>' + ls + '</pre></div></td>'
+                      '<td id="hlcode" class="code">')
         yield 0, dummyoutfile.getvalue()
         yield 0, '</td></tr></table>'
 
--- a/kallithea/public/css/style.css	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/public/css/style.css	Sun Jun 11 15:02:09 2017 +0200
@@ -1931,6 +1931,7 @@
 }
 
 #graph_content,
+#graph_content_pr,
 #graph .info_box,
 #graph .container_header {
     margin-left: 100px;
@@ -2009,6 +2010,7 @@
 #graph_content .container .expand_commit {
     width: 24px;
     cursor: pointer;
+    color: #999;
 }
 
 #graph_content #changesets .container .right {
--- a/kallithea/templates/admin/gists/edit.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/gists/edit.html	Sun Jun 11 15:02:09 2017 +0200
@@ -142,7 +142,7 @@
 
             %endfor
 
-            <div style="padding-top: 5px">
+            <div>
             ${h.submit('update',_('Update Gist'),class_="btn btn-success")}
             <a class="btn btn-default" href="${h.url('gist', gist_id=c.gist.gist_access_id)}">${_('Cancel')}</a>
             </div>
--- a/kallithea/templates/admin/gists/index.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/gists/index.html	Sun Jun 11 15:02:09 2017 +0200
@@ -41,13 +41,13 @@
     <div class="panel-body">
       %if c.gists_pager.item_count>0:
         % for gist in c.gists_pager:
-          <div class="gist-item clearfix" style="padding:10px 20px 10px 15px">
+          <div class="gist-item clearfix">
             ${h.gravatar_div(gist.owner.email, size=28)}
-            <div title="${gist.owner.full_contact}" class="user" style="font-size: 16px">
+            <div title="${gist.owner.full_contact}" class="user">
                 <b>${h.person(gist.owner.full_contact)}</b> /
                 <b><a href="${h.url('gist',gist_id=gist.gist_access_id)}">gist: ${gist.gist_access_id}</a></b>
             </div>
-            <div style="padding: 4px 0px 0px 0px">
+            <div>
                 ${_('Created')} ${h.age(gist.created_on)} /
                 <span class="text-muted">
                   %if gist.gist_expires == -1:
@@ -58,7 +58,7 @@
                 </span>
             </div>
 
-            <div class="text-muted" style="border:0px;padding:10px 0px 0px 40px">${gist.gist_description}</div>
+            <div class="text-muted">${gist.gist_description}</div>
           </div>
         % endfor
 
--- a/kallithea/templates/admin/my_account/my_account_api_keys.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/my_account/my_account_api_keys.html	Sun Jun 11 15:02:09 2017 +0200
@@ -1,6 +1,6 @@
 <table class="table">
     <tr>
-        <td style="width: 450px"><div class="truncate autoexpand" style="width:120px;font-size:16px;font-family: monospace">${c.user.api_key}</div></td>
+        <td><div class="truncate autoexpand">${c.user.api_key}</div></td>
         <td>
             <span class="label label-success">${_('Built-in')}</span>
         </td>
@@ -19,9 +19,9 @@
     %if c.user_api_keys:
         %for api_key in c.user_api_keys:
           <tr class="${'expired' if api_key.is_expired else ''}">
-            <td style="width: 450px"><div class="truncate autoexpand" style="width:120px;font-size:16px;font-family: monospace">${api_key.api_key}</div></td>
+            <td><div class="truncate autoexpand">${api_key.api_key}</div></td>
             <td>${api_key.description}</td>
-            <td style="min-width: 80px">
+            <td>
                  %if api_key.expires == -1:
                   ${_('Expires')}: ${_('Never')}
                  %else:
--- a/kallithea/templates/admin/my_account/my_account_emails.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/my_account/my_account_emails.html	Sun Jun 11 15:02:09 2017 +0200
@@ -19,7 +19,7 @@
             <td>
                 ${h.form(url('my_account_emails_delete'))}
                     ${h.hidden('del_email_id',em.email_id)}
-                    <i class="icon-minus-circled" style="color:#FF4444"></i>
+                    <i class="icon-minus-circled"></i>
                     ${h.submit('remove_',_('Delete'),id="remove_email_%s" % em.email_id,
                     class_="btn btn-default btn-xs", onclick="return  confirm('"+_('Confirm to delete this email: %s') % em.email+"');")}
                 ${h.end_form()}
--- a/kallithea/templates/admin/permissions/permissions_ips.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/permissions/permissions_ips.html	Sun Jun 11 15:02:09 2017 +0200
@@ -8,7 +8,7 @@
                 ${h.form(url('edit_user_ips_delete', id=c.user.user_id))}
                     ${h.hidden('del_ip_id',ip.ip_id)}
                     ${h.hidden('default_user', 'True')}
-                    <i class="icon-minus-circled" style="color:#FF4444"></i> ${h.submit('remove_',_('Delete'),id="remove_ip_%s" % ip.ip_id,
+                    <i class="icon-minus-circled"></i> ${h.submit('remove_',_('Delete'),id="remove_ip_%s" % ip.ip_id,
                     class_="btn btn-default btn-xs", onclick="return confirm('"+_('Confirm to delete this IP address: %s') % ip.ip_addr+"');")}
                 ${h.end_form()}
               </td>
--- a/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html	Sun Jun 11 15:02:09 2017 +0200
@@ -11,8 +11,8 @@
  ]
 %>
 %for dt, dd, tt in elems:
-  <dt style="width:150px; text-align: left">${dt}:</dt>
-  <dd style="margin-left: 160px" title="${tt}">${dd}</dd>
+  <dt>${dt}:</dt>
+  <dd title="${tt}">${dd}</dd>
 %endfor
 </dl>
 
--- a/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/repo_groups/repo_group_edit_perms.html	Sun Jun 11 15:02:09 2017 +0200
@@ -30,7 +30,7 @@
                         </td>
                         <td>
                           %if r2p.user.username !='default':
-                            <span style="color:#da4f49" class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${r2p.user.user_id}, 'user', '${'id%s'%id(r2p.user.username)}', '${r2p.user.username}')">
+                            <span class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${r2p.user.user_id}, 'user', '${'id%s'%id(r2p.user.username)}', '${r2p.user.username}')">
                              <i class="icon-minus-circled"></i> ${_('Revoke')}
                             </span>
                           %endif
@@ -67,7 +67,7 @@
                             %endif
                         </td>
                         <td>
-                            <span style="color:#da4f49" class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${g2p.users_group.users_group_id}, 'user_group', '${'id%s'%id(g2p.users_group.users_group_name)}', '${g2p.users_group.users_group_name}')">
+                            <span class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${g2p.users_group.users_group_id}, 'user_group', '${'id%s'%id(g2p.users_group.users_group_name)}', '${g2p.users_group.users_group_name}')">
                             <i class="icon-minus-circled"></i> ${_('Revoke')}
                             </span>
                         </td>
@@ -77,7 +77,7 @@
                 <tr class="new_members last_new_member" id="add_perm_input"><td colspan="6"></td></tr>
                 <tr>
                     <td colspan="6">
-                        <span id="add_perm" style="cursor: pointer;">
+                        <span id="add_perm">
                             <i class="icon-plus"></i> ${_('Add new')}
                         </span>
                     </td>
--- a/kallithea/templates/admin/repos/repo_creating.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/repos/repo_creating.html	Sun Jun 11 15:02:09 2017 +0200
@@ -27,10 +27,10 @@
                 ${_('Repository "%(repo_name)s" is being created, you will be redirected when this process is finished.' % {'repo_name':c.repo_name})}
             </h4>
 
-        <div id="progress" style="width: 500px;margin-left: auto; margin-right: auto">
+        <div id="progress">
             <div class="progress progress-striped active">
                 <div class="progress-bar progress-bar" role="progressbar"
-                    aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
+                    aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
                 </div>
             </div>
         </div>
--- a/kallithea/templates/admin/repos/repo_edit_fields.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/repos/repo_edit_fields.html	Sun Jun 11 15:02:09 2017 +0200
@@ -15,7 +15,7 @@
             <td>${field.field_type}</td>
             <td>
               ${h.form(url('delete_repo_fields', repo_name=c.repo_info.repo_name, field_id=field.repo_field_id))}
-                  <i class="icon-minus-circled" style="color:#FF4444"></i>
+                  <i class="icon-minus-circled"></i>
                   ${h.submit('remove_%s' % field.repo_field_id, _('Delete'), id="remove_field_%s" % field.repo_field_id,
                   class_="btn btn-default btn-xs", onclick="return confirm('"+_('Confirm to delete this field: %s') % field.field_key+"');")}
               ${h.end_form()}
--- a/kallithea/templates/admin/repos/repo_edit_permissions.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/repos/repo_edit_permissions.html	Sun Jun 11 15:02:09 2017 +0200
@@ -39,7 +39,7 @@
                         </td>
                         <td>
                           %if r2p.user.username !='default':
-                            <span style="color:#da4f49" class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${r2p.user.user_id}, 'user', '${'id%s'%id(r2p.user.username)}', '${r2p.user.username}')">
+                            <span class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${r2p.user.user_id}, 'user', '${'id%s'%id(r2p.user.username)}', '${r2p.user.username}')">
                             <i class="icon-minus-circled"></i> ${_('Revoke')}
                             </span>
                           %endif
@@ -64,7 +64,7 @@
                             %endif
                         </td>
                         <td>
-                            <span style="color:#da4f49" class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${g2p.users_group.users_group_id}, 'user_group', '${'id%s'%id(g2p.users_group.users_group_name)}', '${g2p.users_group.users_group_name}')">
+                            <span class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${g2p.users_group.users_group_id}, 'user_group', '${'id%s'%id(g2p.users_group.users_group_name)}', '${g2p.users_group.users_group_name}')">
                             <i class="icon-minus-circled"></i> ${_('Revoke')}
                             </span>
                         </td>
@@ -74,7 +74,7 @@
                 <tr class="new_members last_new_member" id="add_perm_input"><td colspan="6"></td></tr>
                 <tr>
                     <td colspan="6">
-                        <span id="add_perm" style="cursor: pointer;">
+                        <span id="add_perm">
                             <i class="icon-plus"></i> ${_('Add new')}
                         </span>
                     </td>
--- a/kallithea/templates/admin/settings/settings_hooks.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/settings/settings_hooks.html	Sun Jun 11 15:02:09 2017 +0200
@@ -5,7 +5,7 @@
       % for hook in c.hooks:
         <% input_id = hook.ui_key.replace('.', '_') %>
             <label class="control-label" for="${input_id}">${hook.ui_key}</label>
-            <div style="margin-left:280px">
+            <div>
               ${h.text(hook.ui_key,hook.ui_value,id=input_id,size=60,readonly="readonly",class_='form-control')}
             </div>
       % endfor
@@ -23,13 +23,13 @@
         %for hook in c.custom_hooks:
             <% input_id = hook.ui_key.replace('.', '_') %>
                 <label class="control-label" for="${input_id}">${hook.ui_key}</label>
-                <div style="margin-left:280px">
+                <div>
                     ${h.hidden('hook_ui_key',hook.ui_key,id='hook_ui_key_'+input_id)}
                     ${h.hidden('hook_ui_value',hook.ui_value,id='hook_ui_value_'+input_id)}
                     ${h.text('hook_ui_value_new',hook.ui_value,id=input_id,size=60,class_='form-control')}
                     <span class="btn btn-default btn-xs"
                         onclick="delete_hook(${hook.ui_id},'${'id%s' % hook.ui_id }')">
-                        <i class="icon-minus-circled" style="color:#FF4444"></i>
+                        <i class="icon-minus-circled"></i>
                         ${_('Delete')}
                     </span>
                 </div>
@@ -40,12 +40,12 @@
             <label>
                 ${h.text('new_hook_ui_key',size=15,class_='form-control')}
             </label>
-            <div style="margin-left:280px">
+            <div>
                 ${h.text('new_hook_ui_value',size=60,class_='form-control')}
             </div>
         </div>
         <div class="form-group">
-            <div class="buttons" style="margin-left:280px">
+            <div class="buttons">
                 ${h.submit('save',_('Save'),class_="btn btn-default")}
             </div>
         </div>
--- a/kallithea/templates/admin/settings/settings_system.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/settings/settings_system.html	Sun Jun 11 15:02:09 2017 +0200
@@ -1,10 +1,10 @@
 <div id="update_notice" style="display: none">
-    <div style="padding: 5px 0px 5px 0px; color: #000000; font-weight: bold">${_('Checking for updates...')}</div>
+    <div>${_('Checking for updates...')}</div>
 </div>
 
 <%
  elems = [
-    (_('Kallithea version'), h.literal('%s <b><span style="display:none; color:#036185; text-decoration: underline;cursor: pointer" id="check_for_update" >%s</span></b>' % (c.kallithea_version, _('Check for updates'))), ''),
+    (_('Kallithea version'), h.literal('%s <b><span id="check_for_update" style="display:none">%s</span></b>' % (c.kallithea_version, _('Check for updates'))), ''),
     (_('Kallithea configuration file'), c.ini['__file__'], ''),
     (_('Python version'), c.py_version, ''),
     (_('Platform'), c.platform, ''),
@@ -15,21 +15,21 @@
 %>
 <dl class="dl-horizontal">
 %for dt, dd, tt in elems:
-  <dt style="width:150px; text-align: left">${dt}:</dt>
-  <dd style="margin-left: 160px" title="${tt}">${dd}</dd>
+  <dt>${dt}:</dt>
+  <dd title="${tt}">${dd}</dd>
 %endfor
 </dl>
 
 <h4>${_('Python Packages')}</h4>
-<table class="table" style="margin:0px 0px 0px 0px">
+<table class="table">
   <colgroup>
-      <col style="width:180px">
+      <col>
       <col>
   </colgroup>
   <tbody>
       %for key, value in c.modules:
           <tr>
-              <td style="padding-right:5px;">${key}</td>
+              <td>${key}</td>
               <td>${value}</td>
           </tr>
       %endfor
--- a/kallithea/templates/admin/settings/settings_system_update.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/settings/settings_system_update.html	Sun Jun 11 15:02:09 2017 +0200
@@ -2,8 +2,7 @@
 ## upgrade block rendered afte on-click check
 
 <div class="alert ${'alert-warning' if c.should_upgrade else 'alert-success'}">
-<p style="padding: 2px 0px 5px 0px; margin: 0px">
-
+<p>
 %if c.should_upgrade:
     A <b>new version</b> is available:
     %if c.latest_data.get('title'):
--- a/kallithea/templates/admin/user_groups/user_group_edit_advanced.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/user_groups/user_group_edit_advanced.html	Sun Jun 11 15:02:09 2017 +0200
@@ -9,8 +9,8 @@
     ]
 %>
 %for dt, dd, tt in elems:
-  <dt style="width:150px; text-align: left">${dt}:</dt>
-  <dd style="margin-left: 160px" title="${tt}">${dd}</dd>
+  <dt>${dt}:</dt>
+  <dd title="${tt}">${dd}</dd>
 %endfor
 </dl>
 
--- a/kallithea/templates/admin/user_groups/user_group_edit_perms.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/user_groups/user_group_edit_perms.html	Sun Jun 11 15:02:09 2017 +0200
@@ -30,7 +30,7 @@
                         </td>
                         <td>
                           %if r2p.user.username !='default':
-                            <span style="color:#da4f49" class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${r2p.user.user_id}, 'user', '${'id%s'%id(r2p.user.username)}', '${r2p.user.username}')">
+                            <span class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${r2p.user.user_id}, 'user', '${'id%s'%id(r2p.user.username)}', '${r2p.user.username}')">
                              <i class="icon-minus-circled"></i> ${_('Revoke')}
                             </span>
                           %endif
@@ -67,7 +67,7 @@
                             %endif
                         </td>
                         <td>
-                            <span style="color:#da4f49" class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${g2p.user_group.users_group_id}, 'user_group', '${'id%s'%id(g2p.user_group.users_group_name)}', '${g2p.user_group.users_group_name}')">
+                            <span class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${g2p.user_group.users_group_id}, 'user_group', '${'id%s'%id(g2p.user_group.users_group_name)}', '${g2p.user_group.users_group_name}')">
                             <i class="icon-minus-circled"></i> ${_('Revoke')}
                             </span>
                         </td>
--- a/kallithea/templates/admin/user_groups/user_group_edit_settings.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/user_groups/user_group_edit_settings.html	Sun Jun 11 15:02:09 2017 +0200
@@ -23,21 +23,20 @@
                 <div class="form-group">
                     <label class="control-label">${_('Members')}:</label>
                     <div>
-                        <div style="float:left">
-                            <div class="text" style="padding: 0px 0px 6px;">${_('Chosen group members')}</div>
+                        <div>
+                            <div class="text">${_('Chosen group members')}</div>
                             ${h.select('users_group_members',[],c.group_members,multiple=True,size=8,style="min-width:210px",class_='form-control')}
                         </div>
-                        <div style="float:left;width:20px;padding-top:50px">
-                            <i style="cursor:pointer; font-size: 16px" id="add_element" class="icon-left-open" title="Choose selected available"></i>
-                            <div style="height:50px"></div>
-                            <i style="cursor:pointer; font-size: 16px" id="remove_element" class="icon-right-open" title="Remove selected chosen"></i>
+                        <div>
+                            <i id="add_element" class="icon-left-open" title="Choose selected available"></i>
+                            <div></div>
+                            <i id="remove_element" class="icon-right-open" title="Remove selected chosen"></i>
                         </div>
-                        <div style="float:left">
-                            <div class="text" style="padding: 0px 0px 6px;">${_('Available members')}</div>
+                        <div>
+                            <div class="text">${_('Available members')}</div>
                             ${h.select('available_members',[],c.available_members,multiple=True,size=8,style="min-width:210px",class_='form-control')}
                         </div>
                     </div>
-                    <div style="clear:both"></div>
                 </div>
                 <div class="form-group">
                     <div class="buttons">
--- a/kallithea/templates/admin/users/user_edit_advanced.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/users/user_edit_advanced.html	Sun Jun 11 15:02:09 2017 +0200
@@ -11,8 +11,8 @@
  ]
 %>
 %for dt, dd, tt in elems:
-  <dt style="width:150px; text-align: left">${dt}:</dt>
-  <dd style="margin-left: 160px" title="${tt}">${dd}</dd>
+  <dt>${dt}:</dt>
+  <dd title="${tt}">${dd}</dd>
 %endfor
 </dl>
 
--- a/kallithea/templates/admin/users/user_edit_api_keys.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/users/user_edit_api_keys.html	Sun Jun 11 15:02:09 2017 +0200
@@ -1,6 +1,6 @@
 <table class="table">
     <tr>
-        <td style="width: 450px"><div class="truncate autoexpand" style="width:120px;font-size:16px;font-family: monospace">${c.user.api_key}</div></td>
+        <td><div class="truncate autoexpand">${c.user.api_key}</div></td>
         <td>
             <span class="label label-success">${_('Built-in')}</span>
         </td>
@@ -19,9 +19,9 @@
     %if c.user_api_keys:
         %for api_key in c.user_api_keys:
           <tr class="${'expired' if api_key.is_expired else ''}">
-            <td style="width: 450px"><div class="truncate autoexpand" style="width:120px;font-size:16px;font-family: monospace">${api_key.api_key}</div></td>
+            <td><div class="truncate autoexpand">${api_key.api_key}</div></td>
             <td>${api_key.description}</td>
-            <td style="min-width: 80px">
+            <td>
                  %if api_key.expires == -1:
                   ${_('Expires')}: ${_('Never')}
                  %else:
--- a/kallithea/templates/admin/users/user_edit_emails.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/users/user_edit_emails.html	Sun Jun 11 15:02:09 2017 +0200
@@ -19,7 +19,7 @@
             <td>
                 ${h.form(url('edit_user_emails_delete', id=c.user.user_id))}
                     ${h.hidden('del_email_id',em.email_id)}
-                    <i class="icon-minus-circled" style="color:#FF4444"></i>
+                    <i class="icon-minus-circled"></i>
                     ${h.submit('remove_',_('Delete'),id="remove_email_%s" % em.email_id,
                     class_="btn btn-default btn-xs", onclick="return  confirm('"+_('Confirm to delete this email: %s') % em.email+"');")}
                 ${h.end_form()}
--- a/kallithea/templates/admin/users/user_edit_ips.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/admin/users/user_edit_ips.html	Sun Jun 11 15:02:09 2017 +0200
@@ -17,9 +17,9 @@
             <td>
                 ${h.form(url('edit_user_ips_delete', id=c.user.user_id))}
                     ${h.hidden('del_ip_id',ip.ip_id)}
-                    <i class="icon-minus-circled" style="color:#FF4444"></i>
+                    <i class="icon-minus-circled"></i>
                     ${h.submit('remove_',_('Delete'),id="remove_ip_%s" % ip.ip_id,
-                    class_="btn btn-default btn-xs", onclick="return  confirm('"+_('Confirm to delete this IP address: %s') % ip.ip_addr+"');")}
+                        class_="btn btn-default btn-xs", onclick="return confirm('"+_('Confirm to delete this IP address: %s') % ip.ip_addr+"');")}
                 ${h.end_form()}
             </td>
           </tr>
--- a/kallithea/templates/changelog/changelog.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/changelog/changelog.html	Sun Jun 11 15:02:09 2017 +0200
@@ -99,14 +99,14 @@
                             ${h.gravatar(h.email_or_none(cs.author), size=16)}
                             <span data-toggle="tooltip" title="${cs.author}" class="user">${h.shorter(h.person(cs.author),22)}</span>
                         </td>
-                        <td class="hash" style="width:${len(h.show_id(cs))*6.5}px">
+                        <td class="hash">
                             ${h.link_to(h.show_id(cs),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id), class_='changeset_hash')}
                         </td>
                         <td class="date">
                             <div class="date" data-toggle="tooltip" title="${h.fmt_date(cs.date)}">${h.age(cs.date,True)}</div>
                         </td>
                         <td class="expand_commit" data-commit_id="${cs.raw_id}" title="${_('Expand commit message')}">
-                            <i class="icon-align-left" style="color:#999"></i>
+                            <i class="icon-align-left"></i>
                         </td>
                         <td class="mid">
                                 <div class="message" id="C-${cs.raw_id}">${h.urlify_text(cs.message, c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</div>
--- a/kallithea/templates/changelog/changelog_summary_data.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/changelog/changelog_summary_data.html	Sun Jun 11 15:02:09 2017 +0200
@@ -82,7 +82,7 @@
 
 %if h.HasRepoPermissionLevel('write')(c.repo_name):
 <h4>${_('Add or upload files directly via Kallithea')}</h4>
-<div style="margin: 20px 30px;">
+<div>
   <div id="add_node_id" class="add_node">
       <a class="btn btn-default btn-xs" href="${h.url('files_add_home',repo_name=c.repo_name,revision=0,f_path='', anchor='edit')}">${_('Add New File')}</a>
   </div>
--- a/kallithea/templates/changeset/changeset.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/changeset/changeset.html	Sun Jun 11 15:02:09 2017 +0200
@@ -241,12 +241,12 @@
                           $('#child_link').addClass('disabled');
                           $('#child_link').addClass('double');
                           var _html = '';
-                          _html +='<a title="__title__" href="__url__">__rev__</a> <i style="color:#036185" class="icon-right-open"></i>'
+                          _html +='<a title="__title__" href="__url__">__rev__</a> <i class="icon-right-open"></i>'
                                   .replace('__rev__','r{0}:{1}'.format(data.results[0].revision, data.results[0].raw_id.substr(0,6)))
                                   .replace('__title__', data.results[0].message)
                                   .replace('__url__', pyroutes.url('changeset_home', {'repo_name': ${h.js(c.repo_name)},'revision': data.results[0].raw_id}));
                           _html +='<br/>'
-                          _html +='<a title="__title__" href="__url__">__rev__</a> <i style="color:#036185" class="icon-right-open"></i>'
+                          _html +='<a title="__title__" href="__url__">__rev__</a> <i class="icon-right-open"></i>'
                                   .replace('__rev__','r{0}:{1}'.format(data.results[1].revision, data.results[1].raw_id.substr(0,6)))
                                   .replace('__title__', data.results[1].message)
                                   .replace('__url__', pyroutes.url('changeset_home', {'repo_name': ${h.js(c.repo_name)},'revision': data.results[1].raw_id}));
@@ -278,12 +278,12 @@
                           $('#parent_link').addClass('disabled');
                           $('#parent_link').addClass('double');
                           var _html = '';
-                          _html +='<i style="color:#036185" class="icon-left-open"></i> <a title="__title__" href="__url__">__rev__</a>'
+                          _html +='<i class="icon-left-open"></i> <a title="__title__" href="__url__">__rev__</a>'
                                   .replace('__rev__','r{0}:{1}'.format(data.results[0].revision, data.results[0].raw_id.substr(0,6)))
                                   .replace('__title__', data.results[0].message)
                                   .replace('__url__', pyroutes.url('changeset_home', {'repo_name': ${h.js(c.repo_name)},'revision': data.results[0].raw_id}));
                           _html +='<br/>'
-                          _html +='<i style="color:#036185" class="icon-left-open"></i> <a title="__title__" href="__url__">__rev__</a>'
+                          _html +='<i class="icon-left-open"></i> <a title="__title__" href="__url__">__rev__</a>'
                                   .replace('__rev__','r{0}:{1}'.format(data.results[1].revision, data.results[1].raw_id.substr(0,6)))
                                   .replace('__title__', data.results[1].message)
                                   .replace('__url__', pyroutes.url('changeset_home', {'repo_name': ${h.js(c.repo_name)},'revision': data.results[1].raw_id}));
--- a/kallithea/templates/changeset/changeset_file_comment.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/changeset/changeset_file_comment.html	Sun Jun 11 15:02:09 2017 +0200
@@ -26,7 +26,7 @@
 
           %if co.author_id == request.authuser.user_id or h.HasRepoPermissionLevel('admin')(c.repo_name):
             %if co.deletable():
-              <div onClick="confirm('${_('Delete comment?')}') && deleteComment(${co.comment_id})" class="buttons delete-comment btn btn-default btn-xs" style="margin:0 5px">${_('Delete')}</div>
+              <div onClick="confirm('${_('Delete comment?')}') && deleteComment(${co.comment_id})" class="buttons delete-comment btn btn-default btn-xs">${_('Delete')}</div>
             %endif
           %endif
       </div>
--- a/kallithea/templates/changeset/diff_block.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/changeset/diff_block.html	Sun Jun 11 15:02:09 2017 +0200
@@ -25,7 +25,7 @@
                     ${h.safe_unicode(cs_filename)}
                 </div>
                 <div class="pull-left diff-actions">
-                  <span style="margin: 0 10px">
+                  <span>
                     %if op == 'A':
                       <span class="no-file" data-toggle="tooltip" title="${_('No file before')}">
                         <i class="icon-minus-circled"></i></span>
--- a/kallithea/templates/compare/compare_cs.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/compare/compare_cs.html	Sun Jun 11 15:02:09 2017 +0200
@@ -7,10 +7,10 @@
     %if c.ancestors:
       <div class="ancestor">
         %if len(c.ancestors) > 1:
-        <div style="color:red; font-weight: bold">
+        <div class="text-danger">
           ${_('Criss cross merge situation with multiple merge ancestors detected!')}
         </div>
-        <div style="color:red">
+        <div>
           ${_('Please merge the target branch to your branch before creating a pull request.')}
         </div>
         %endif
@@ -24,15 +24,15 @@
     %endif
 
     <div id="graph_nodes">
-        <canvas id="graph_canvas" style="width:0"></canvas>
+        <canvas id="graph_canvas"></canvas>
     </div>
 
-    <div id="graph_content_pr" style="margin-left: 100px;">
+    <div id="graph_content_pr">
 
     <table class="table compare_view_commits">
     %for cnt, cs in enumerate(reversed(c.cs_ranges)):
       <tr id="chg_${cnt+1}" class="${'mergerow' if len(cs.parents) > 1 else ''}">
-        <td style="width:50px">
+        <td>
           %if cs.raw_id in c.statuses:
             <div title="${_('Changeset status: %s') % c.statuses[cs.raw_id][1]}" class="changeset-status-ico">
                 <i class="icon-circle changeset-status-${c.statuses[cs.raw_id][0]}"></i>
@@ -64,7 +64,7 @@
             ${index}
           </span>
         </td>
-        <td style="width: 140px"><span data-toggle="tooltip" title="${h.age(cs.date)}">${cs.date}</span></td>
+        <td><span data-toggle="tooltip" title="${h.age(cs.date)}">${cs.date}</span></td>
         <td class="author">
             ${h.gravatar(h.email_or_none(cs.author), size=16)}
             <span data-toggle="tooltip" title="${cs.author}" class="user">${h.shorter(h.person(cs.author),22)}</span>
@@ -76,10 +76,10 @@
         %endif
         </td>
         <td class="expand_commit" data-commit_id="${cs.raw_id}" title="${_('Expand commit message')}">
-            <i class="icon-align-left" style="color:#999"></i>
+            <i class="icon-align-left"></i>
         </td>
         <td class="mid">
-            <div class="pull-right" style="margin-top: -4px;">
+            <div class="pull-right">
                 %for tag in cs.tags:
                     <span class="tagtag" title="${_('Tag %s') % tag}">
                         ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
@@ -109,7 +109,7 @@
     %endif
     %if c.cs_ranges_org is not None:
       ## TODO: list actual changesets?
-      <div style="font-size:1.1em;font-weight: bold;clear:both;padding-top:10px">
+      <div>
         ${h.link_to_ref(c.cs_repo.repo_name, c.cs_ref_type, c.cs_ref_name, c.cs_rev)}
         ${_('is')}
         <a href="${c.swap_url}">${_('%s changesets') % (len(c.cs_ranges_org))}</a>
--- a/kallithea/templates/data_table/_dt_elements.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/data_table/_dt_elements.html	Sun Jun 11 15:02:09 2017 +0200
@@ -24,8 +24,6 @@
       <i class="icon-keyhole-circled" title="${_('Private repository')}"></i>
     %elif not private and c.visual.show_public_icon:
       <i class="icon-globe" title="${_('Public repository')}"></i>
-    %else:
-      <span style="margin: 0px 8px 0px 8px"></span>
     %endif
     <span class="dt_repo_name">${get_name(name)}</span>
     </a>
@@ -77,7 +75,7 @@
     </div>
     <div class="grid_delete pull-left">
       ${h.form(h.url('delete_repo', repo_name=repo_name))}
-        <i class="icon-minus-circled" style="color:#FF4444"></i>
+        <i class="icon-minus-circled"></i>
         ${h.submit('remove_%s' % repo_name,_('Delete'),class_="btn btn-default btn-xs",
         onclick="return confirm('"+_('Confirm to delete this repository: %s') % repo_name+"');")}
       ${h.end_form()}
@@ -105,7 +103,7 @@
  </div>
  <div class="grid_delete pull-left">
   ${h.form(h.url('delete_user', id=user_id))}
-    <i class="icon-minus-circled" style="color:#FF4444"></i>
+    <i class="icon-minus-circled"></i>
     ${h.submit('remove_',_('Delete'),id="remove_user_%s" % user_id, class_="btn btn-default btn-xs",
     onclick="return confirm('"+_('Confirm to delete this user: %s') % username+"');")}
   ${h.end_form()}
@@ -120,7 +118,7 @@
  </div>
  <div class="grid_delete pull-left">
     ${h.form(h.url('delete_users_group', id=user_group_id))}
-      <i class="icon-minus-circled" style="color:#FF4444"></i>
+      <i class="icon-minus-circled"></i>
       ${h.submit('remove_',_('Delete'),id="remove_group_%s" % user_group_id, class_="btn btn-default btn-xs",
       onclick="return confirm('"+_('Confirm to delete this user group: %s') % user_group_name+"');")}
     ${h.end_form()}
@@ -135,7 +133,7 @@
  </div>
  <div class="grid_delete pull-left">
     ${h.form(h.url('delete_repos_group', group_name=repo_group_name))}
-        <i class="icon-minus-circled" style="color:#FF4444"></i>
+        <i class="icon-minus-circled"></i>
         ${h.submit('remove_%s' % repo_group_name,_('Delete'),class_="btn btn-default btn-xs",
         onclick="return confirm('"+ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_count) % (repo_group_name, gr_count)+"');")}
     ${h.end_form()}
--- a/kallithea/templates/files/files_history_box.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/files/files_history_box.html	Sun Jun 11 15:02:09 2017 +0200
@@ -1,4 +1,4 @@
-<div class="file_author" style="clear:both">
+<div class="file_author">
     <div class="item">${h.literal(ungettext(u'%s author',u'%s authors',len(c.authors)) % ('<b>%s</b>' % len(c.authors))) }</div>
     %for email, user in c.authors:
       <div class="contributor pull-left" data-toggle="tooltip" title="${user}">
--- a/kallithea/templates/files/files_source.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/files/files_source.html	Sun Jun 11 15:02:09 2017 +0200
@@ -1,4 +1,4 @@
-<div id="node_history" class="clearfix" style="padding: 0px 0px 10px 0px">
+<div id="node_history" class="clearfix">
     <div class="pull-left">
         ${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='get')}
         ${h.hidden('diff2',c.changeset.raw_id)}
@@ -10,7 +10,7 @@
         ${h.link_to(_('Show Authors'),'#',class_="btn btn-default btn-sm" ,id="show_authors")}
         ${h.end_form()}
     </div>
-    <div id="file_authors" class="file_author" style="clear:both; display: none"></div>
+    <div id="file_authors" class="file_author" style="display: none"></div>
 </div>
 
 <div id="body" class="panel panel-default">
--- a/kallithea/templates/files/files_ypjax.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/files/files_ypjax.html	Sun Jun 11 15:02:09 2017 +0200
@@ -8,7 +8,7 @@
           % if h.HasRepoPermissionLevel('write')(c.repo_name):
              / <span title="${_('Add New File')}">
                <a href="${h.url('files_add_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path, anchor='edit')}">
-                   <i class="icon-plus-circled" style="color:#5bb75b; font-size: 16px"></i></a>
+                   <i class="icon-plus-circled"></i></a>
                </span>
           % endif
         %endif
--- a/kallithea/templates/followers/followers_data.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/followers/followers_data.html	Sun Jun 11 15:02:09 2017 +0200
@@ -4,12 +4,12 @@
     <div>
         <div class="follower_user">
             ${h.gravatar_div(f.user.email, size=24)}
-            <span style="font-size: 20px"> <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname})</span>
+            <span> <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname})</span>
         </div>
-        <div style="clear:both;padding-top: 10px"></div>
+        <div></div>
         <div class="follower_date">${_('Started following -')}
         <span data-toggle="tooltip" title="${f.follows_from}"> ${h.age(f.follows_from)}</span></div>
-        <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>
+        <div></div>
     </div>
 % endfor
 
--- a/kallithea/templates/forks/forks_data.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/forks/forks_data.html	Sun Jun 11 15:02:09 2017 +0200
@@ -5,20 +5,19 @@
         <div>
             <div class="fork_user">
                 ${h.gravatar_div(f.owner.email, size=24)}
-                <span style="font-size: 20px">
+                <span>
                  <b>${f.owner.username}</b> (${f.owner.name} ${f.owner.lastname}) /
                   ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))}
                 </span>
-                <div style="padding:5px 3px 3px 42px;">${f.description}</div>
+                <div>${f.description}</div>
             </div>
-            <div style="clear:both;padding-top: 10px"></div>
+            <div></div>
             <div class="follower_date">${_('Forked')} -
                 <span data-toggle="tooltip" title="${h.fmt_date(f.created_on)}"> ${h.age(f.created_on)}</span>
                 <a title="${_('Compare fork with %s') % c.repo_name}"
                    href="${h.url('compare_url',repo_name=c.repo_name, org_ref_type=c.db_repo.landing_rev[0],org_ref_name=c.db_repo.landing_rev[1],other_repo=f.repo_name,other_ref_type=c.db_repo.landing_rev[0],other_ref_name=c.db_repo.landing_rev[1], merge=1)}"
                    class="btn btn-default btn-sm"><i class="icon-git-compare"></i> ${_('Compare Fork')}</a>
             </div>
-            <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>
         </div>
     % endfor
     <ul class="pagination">
--- a/kallithea/templates/journal/journal_data.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/journal/journal_data.html	Sun Jun 11 15:02:09 2017 +0200
@@ -43,7 +43,7 @@
         ${c.journal_pager.pager()}
     </ul>
 %else:
-  <div style="padding:5px 0px 10px 10px;">
+  <div>
       ${_('No entries yet')}
   </div>
 %endif
--- a/kallithea/templates/pullrequests/pullrequest.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/pullrequests/pullrequest.html	Sun Jun 11 15:02:09 2017 +0200
@@ -44,29 +44,29 @@
                     ##ORG
                     <div>
                         <div>
-                            <div style="padding:5px 3px 3px 3px;">
+                            <div>
                             <b>${_('Origin repository')}:</b> <span id="org_repo_desc">${c.db_repo.description.split('\n')[0]}</span>
                             </div>
                             <div>
                             ${h.select('org_repo','',c.cs_repos,class_='refs')}:${h.select('org_ref',c.default_cs_ref,c.cs_refs,class_='refs')}
                             </div>
-                            <div style="padding:5px 3px 3px 3px;">
+                            <div>
                             <b>${_('Revision')}:</b> <span id="org_rev_span">-</span>
                             </div>
                         </div>
                     </div>
 
                     ##OTHER, most Probably the PARENT OF THIS FORK
-                    <div style="border-top: 1px solid #EEE; margin: 5px 0px 0px 0px">
+                    <div>
                         <div>
                             ## filled with JS
-                            <div style="padding:5px 3px 3px 3px;">
+                            <div>
                             <b>${_('Destination repository')}:</b> <span id="other_repo_desc">${c.a_repo.description.split('\n')[0]}</span>
                             </div>
                             <div>
                             ${h.select('other_repo',c.a_repo.repo_name,c.a_repos,class_='refs')}:${h.select('other_ref',c.default_a_ref,c.a_refs,class_='refs')}
                             </div>
-                            <div style="padding:5px 3px 3px 3px;">
+                            <div>
                             <b>${_('Revision')}:</b> <span id="other_rev_span">-</span>
                             </div>
                         </div>
--- a/kallithea/templates/pullrequests/pullrequest_data.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/pullrequests/pullrequest_data.html	Sun Jun 11 15:02:09 2017 +0200
@@ -58,9 +58,9 @@
           ${pr.other_repo.repo_name}#${other_ref_name}
         </a>
       </td>
-      <td style="text-align:right">
+      <td>
         %if pr.owner_id == request.authuser.user_id:
-          ${h.form(url('pullrequest_delete', repo_name=pr.other_repo.repo_name, pull_request_id=pr.pull_request_id), style="display:inline-block")}
+          ${h.form(url('pullrequest_delete', repo_name=pr.other_repo.repo_name, pull_request_id=pr.pull_request_id))}
           <button class="btn btn-default btn-xs"
                   id="remove_${pr.pull_request_id}"
                   name="remove_${pr.pull_request_id}"
--- a/kallithea/templates/pullrequests/pullrequest_show.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/pullrequests/pullrequest_show.html	Sun Jun 11 15:02:09 2017 +0200
@@ -34,7 +34,7 @@
       </div>
       <div id="pr-summary" class="form-horizontal">
 
-        <div class="pr-not-edit form-group" style="min-height:47px">
+        <div class="pr-not-edit form-group">
             <label>${_('Description')}:</label>
             %if editable:
             <div id="pr-edit-btn">
@@ -67,7 +67,7 @@
           <div>
             <div class="changeset-status-container">
             %if c.current_voting_result:
-              <span class="changeset-status-ico" style="padding:0px 4px 0px 0px">
+              <span class="changeset-status-ico">
                   <i class="icon-circle changeset-status-${c.current_voting_result}" title="${_('Pull request status calculated from votes')}"></i></span>
               <span class="changeset-status-lbl" data-toggle="tooltip" title="${_('Pull request status calculated from votes')}">
                 %if c.pull_request.is_closed():
@@ -120,9 +120,9 @@
               <div>
                ## TODO: use cs_ranges[-1] or org_ref_parts[1] in both cases?
                %if h.is_hg(c.pull_request.org_repo):
-                 <span style="font-family: monospace">hg pull ${c.pull_request.org_repo.clone_url()} -r ${h.short_id(c.cs_ranges[-1].raw_id)}</span>
+                 <span>hg pull ${c.pull_request.org_repo.clone_url()} -r ${h.short_id(c.cs_ranges[-1].raw_id)}</span>
                %elif h.is_git(c.pull_request.org_repo):
-                 <span style="font-family: monospace">git pull ${c.pull_request.org_repo.clone_url()} ${c.pull_request.org_ref_parts[1]}</span>
+                 <span>git pull ${c.pull_request.org_repo.clone_url()} ${c.pull_request.org_ref_parts[1]}</span>
                %endif
               </div>
             %endif
@@ -152,11 +152,11 @@
             <div>
               <div class="msg-div">${c.update_msg}</div>
               %if c.avail_revs:
-              <div id="updaterevs" class="clearfix" style="max-height:200px; overflow-y:auto; overflow-x:hidden; margin-bottom: 10px; padding: 1px 0">
-                <div style="height:0;width:40px">
-                  <canvas id="avail_graph_canvas" style="width:0"></canvas>
+              <div id="updaterevs" class="clearfix">
+                <div>
+                  <canvas id="avail_graph_canvas"></canvas>
                 </div>
-                <table class="table" id="updaterevs-table" style="padding-left:50px">
+                <table class="table" id="updaterevs-table">
                   %for cnt, cs in enumerate(c.avail_cs):
                     <tr id="chg_available_${cnt+1}" class="${'mergerow' if len(cs.parents) > 1 and not (editable and cs.revision in c.avail_revs) else ''}">
                       %if c.cs_ranges and cs.revision == c.cs_ranges[-1].revision:
@@ -172,17 +172,17 @@
                           ${h.radio(name='updaterev', value=cs.raw_id, style=None if cs.revision in c.avail_revs else 'visibility: hidden')}
                         </td>
                         %endif
-                        <td style="width: 120px"><span data-toggle="tooltip" title="${h.age(cs.date)}">${cs.date}</span></td>
+                        <td><span data-toggle="tooltip" title="${h.age(cs.date)}">${cs.date}</span></td>
                         <td>${h.link_to(h.show_id(cs),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id), class_='changeset_hash')}</td>
                         <td>
-                          <div class="pull-right" style="margin-top: -4px;">
+                          <div class="pull-right">
                             %for tag in cs.tags:
                               <span class="tagtag" title="${_('Tag %s') % tag}">
                                 ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
                               </span>
                             %endfor
                           </div>
-                          <div class="message" style="white-space:normal; height:1.1em; max-width: 500px; padding:0">${h.urlify_text(cs.message, c.repo_name)}</div>
+                          <div class="message">${h.urlify_text(cs.message, c.repo_name)}</div>
                         </td>
                       %endif
                     </tr>
@@ -208,7 +208,7 @@
     ## REVIEWERS
     <div class="pull-left">
         <h4 class="pr-details-title">${_('Pull Request Reviewers')}</h4>
-        <div id="reviewers" style="padding:0px 0px 5px 10px">
+        <div id="reviewers">
           ## members goes here !
           <div>
             %for member,status in c.pull_request_reviewers:
@@ -254,7 +254,7 @@
 
         %if not c.pull_request_reviewers:
         <h4>${_('Potential Reviewers')}</h4>
-        <div style="margin: 10px 0 10px 10px; max-width: 250px">
+        <div>
           <div>
             ${_('Click to add the repository owner as reviewer:')}
           </div>
@@ -276,8 +276,6 @@
         </div>
         %endif
     </div>
-    <div style="clear:both">
-    </div>
   ${h.end_form()}
 </div>
 
--- a/kallithea/templates/search/search.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/search/search.html	Sun Jun 11 15:02:09 2017 +0200
@@ -71,7 +71,7 @@
 
             <div class="form-group">
                 ## <label>${_('Status')}:</label>
-                <div style="font-weight: bold;clear:both">${c.runtime}</div>
+                <div>${c.runtime}</div>
             </div>
         </div>
         ${h.end_form()}
--- a/kallithea/templates/summary/statistics.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/summary/statistics.html	Sun Jun 11 15:02:09 2017 +0200
@@ -25,7 +25,7 @@
     </div>
 
     <div class="graph panel-body">
-         <div style="padding:0 10px 10px 17px;">
+         <div>
          %if c.no_data:
            ${c.no_data_msg}
            %if h.HasPermissionAny('hg.admin')('enable stats on from summary'):
@@ -35,17 +35,16 @@
             ${_('Stats gathered: ')} ${c.stats_percentage}%
         %endif
         </div>
-        <div id="commit_history" style="width:450px;height:300px;float:left"></div>
+        <div id="commit_history" class="pull-left"></div>
 
-        <div id="legend_data" style="float: left;">
+        <div id="legend_data" class="pull-left">
             <div id="legend_container"></div>
             <div id="legend_choices">
-                <table class="table" id="legend_choices_tables" style="font-size:smaller;color:#545454"></table>
+                <table class="table" id="legend_choices_tables"></table>
             </div>
         </div>
 
-        <div style="clear: both; height: 10px;"></div>
-        <div id="overview" style="width: 450px; height: 100px; float: left;"></div>
+        <div id="overview"></div>
     </div>
 </div>
 
--- a/kallithea/templates/summary/summary.html	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/templates/summary/summary.html	Sun Jun 11 15:02:09 2017 +0200
@@ -112,7 +112,7 @@
                         <a class="btn btn-default btn-sm" href="${h.url('files_archive_home',repo_name=c.db_repo.repo_name,fname='tip.zip')}"><i class="icon-file-zip"></i> ${_('Download as zip')}</a>
                     </span>
                     ${h.hidden('download_options')}
-                    <span style="vertical-align: bottom">
+                    <span>
                       <label data-toggle="tooltip" title="${_('Check this to download archive with subrepos')}">
                           <input id="archive_subrepos" type="checkbox" name="subrepos" />
                           ${_('With subrepos')}
--- a/kallithea/tests/functional/test_forks.py	Sun Jun 11 15:02:09 2017 +0200
+++ b/kallithea/tests/functional/test_forks.py	Sun Jun 11 15:02:09 2017 +0200
@@ -244,7 +244,7 @@
         response = self.app.get(url(controller='forks', action='forks',
                                     repo_name=repo_name))
 
-        response.mustcontain('<div style="padding:5px 3px 3px 42px;">fork of vcs test</div>')
+        response.mustcontain('<div>fork of vcs test</div>')
 
     def test_zzz_fork_permission_page(self):
         usr = self.log_user(self.username, self.password)['user_id']