Mercurial > kallithea
changeset 4875:a75a6e7b1b17
_dt_elements: move style to css file
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Wed, 25 Feb 2015 11:19:20 -0800 |
parents | a72714a46d3d |
children | 3b8adbbf03a1 |
files | kallithea/public/css/style.css kallithea/templates/data_table/_dt_elements.html |
diffstat | 2 files changed, 21 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Wed Feb 25 10:35:13 2015 -0800 +++ b/kallithea/public/css/style.css Wed Feb 25 11:19:20 2015 -0800 @@ -573,6 +573,23 @@ display: none; } +.dt_repo { + white-space: nowrap; + color: #577632; +} + +.dt_repo_pending { + opacity: 0.5; +} + +.dt_repo i.icon-keyhole-circled, +.dt_repo i.icon-globe +{ + font-size: 16px; + vertical-align: -2px; + margin: 0px 1px 0px 3px; +} + .yui-dt-first th { text-align: left; }
--- a/kallithea/templates/data_table/_dt_elements.html Wed Feb 25 10:35:13 2015 -0800 +++ b/kallithea/templates/data_table/_dt_elements.html Wed Feb 25 11:19:20 2015 -0800 @@ -58,7 +58,7 @@ else: return name %> - <div style="white-space: nowrap; ${'opacity: 0.5' if rstate == 'repo_state_pending' else ''}}"> + <div class="dt_repo ${'dt_repo_pending' if rstate == 'repo_state_pending' else ''}"> ##NAME <a href="${h.url('edit_repo' if admin else 'summary_home', repo_name=name)}"> @@ -71,9 +71,9 @@ ##PRIVATE/PUBLIC %if private and c.visual.show_private_icon: - <i class="icon-keyhole-circled" title="${_('Private repository')}" style="font-size: 16px; vertical-align: -2px; margin: 0px 1px 0px 3px"></i> + <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')}" style="font-size: 16px; vertical-align: -2px; margin: 0px 1px 0px 3px"></i> + <i class="icon-globe" title="${_('Public repository')}"></i> %else: <span style="margin: 0px 8px 0px 8px"></span> %endif @@ -83,7 +83,7 @@ <a href="${h.url('summary_home',repo_name=fork_of.repo_name)}"><i class="icon-fork"></i></a> %endif %if rstate == 'repo_state_pending': - <i class="icon-wrench" style="color: #036185;" title="${_('Repository creation in progress...')}"></i> + <i class="icon-wrench" title="${_('Repository creation in progress...')}"></i> %endif </div> </%def>