From ada1a326fa36ceb46922006f87d4cff0c49e071f Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Wed, 12 Jun 2013 17:19:15 -0400 Subject: [PATCH] Fixed double enumeration of repositories on dashboard page --- src/main/resources/gitblit.css | 43 ++++++++++++++++++++++++++++++++++++++----- 1 files changed, 38 insertions(+), 5 deletions(-) diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index 1797bb0..351d43f 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -29,7 +29,12 @@ outline: none; } -[class^="icon-"], [class*=" icon-"] a i { +a.btn i { + /* override for a links that look like bootstrap buttons */ + vertical-align: text-bottom; +} + +[class^="icon-"], [class*=" icon-"] i { /* override for a links that look like bootstrap buttons */ vertical-align: text-bottom; } @@ -124,6 +129,23 @@ background-color: #002060; } +div.push { + border-bottom: 1px solid #ddd; + margin-bottom: 5px; + padding-bottom: 5px; +} + +div.push .icon { + font-size: 42px; + line-height: 42px; +} + +div.push i { + font-size: 42px; + color: #bbb; + vertical-align: middle; +} + .repositorynavbar { background-color: #fbfbfb; border-bottom: 1px solid #ccc; @@ -139,7 +161,7 @@ font-weight: bold; } -.repositorynavbar .project a, .repositorynavbar .repository a { +.title .repository a, .repositorynavbar .project a, .repositorynavbar .repository a { font-family: Helvetica,arial,freesans,clean,sans-serif; font-size: 22px; color: #002060; @@ -613,12 +635,23 @@ font-size: 11px; } -span.repositorySwatch { - border-radius: 3px; - padding: 1px 4px 2px 4px; +span.activitySwatch { + border-radius: 3px; + padding: 1px 4px 2px 4px; color: #ffffff; vertical-align: center; } + +span.activitySwatch a { + color: inherit; +} + +span.repositorySwatch { + padding: 1px 1px 2px 1px; + color: #ffffff; + vertical-align: center; +} + span.repositorySwatch a { color: inherit; } -- Gitblit v1.9.1