Mercurial > kallithea
changeset 4144:962f753552cd rhodecode-2.2.5-gpl
old style: don't reserve space for icons - they will have take the space they need
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 02 Jul 2014 19:03:22 -0400 |
parents | f6a012c28c71 |
children | 47690c876a90 |
files | rhodecode/public/css/contextbar.css rhodecode/public/css/style.css rhodecode/templates/base/base.html |
diffstat | 3 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/public/css/contextbar.css Wed Jul 02 19:03:22 2014 -0400 +++ b/rhodecode/public/css/contextbar.css Wed Jul 02 19:03:22 2014 -0400 @@ -274,8 +274,7 @@ #context-pages a, #context-pages .admin_menu a { display: block; - padding: 0px 10px 1px 30px; - padding-left: 30px; + padding: 0px 10px 1px 10px; line-height: 35px; }
--- a/rhodecode/public/css/style.css Wed Jul 02 19:03:22 2014 -0400 +++ b/rhodecode/public/css/style.css Wed Jul 02 19:03:22 2014 -0400 @@ -995,15 +995,10 @@ } #content div.box div.title ul.links li a { - border-left: 1px solid #316293; - color: #FFFFFF; - display: block; - float: left; font-size: 13px; font-weight: 700; height: 1%; - margin: 0; - padding: 11px 22px 12px; + margin: 4px; text-decoration: none; } @@ -1741,7 +1736,7 @@ #summary-menu-stats a { display: block; - padding: 12px 30px; + padding: 12px 10px; background-repeat: no-repeat; background-position: 10px 50%; padding-right: 10px; @@ -4999,3 +4994,7 @@ #help_kb { display: none; } + +.repo-switcher-dropdown .select2-result-label span.repo-icons { + margin-left: -12px; +}
--- a/rhodecode/templates/base/base.html Wed Jul 02 19:03:22 2014 -0400 +++ b/rhodecode/templates/base/base.html Wed Jul 02 19:03:22 2014 -0400 @@ -365,6 +365,7 @@ var tmpl = ''; if(obj_dict && state.type == 'repo'){ + tmpl += '<span class="repo-icons">'; if(obj_dict['repo_type'] === 'hg'){ tmpl += '<i class="icon-hg"></i> '; } @@ -377,6 +378,7 @@ else if(visual_show_public_icon){ tmpl += '<i class="icon-unlock-alt"></i> '; } + tmpl += '</span>'; } if(obj_dict && state.type == 'group'){ tmpl += '<i class="icon-folder-close"></i> ';