From 309c55b5a9670e7c327ad8d4e5d94b8af840d00f Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 18 Nov 2011 17:46:06 -0500 Subject: [PATCH] Calculate repository color from name. Show swatch on repository list. --- resources/bootstrap.gb.css | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/resources/bootstrap.gb.css b/resources/bootstrap.gb.css index cf82c87..32aac08 100644 --- a/resources/bootstrap.gb.css +++ b/resources/bootstrap.gb.css @@ -46,6 +46,16 @@ border-bottom: 2px solid #ff9900 !important; } +.topbar ul li:focus, .topbar .active { + background-repeat:no-repeat; + background-image: url(arrow_page.png); + background-position: center bottom; +} + +.topbar .active a { + background-color: transparent !important; +} + .breadcrumb { margin-top: 5px !important; margin-bottom: 5px !important; @@ -150,6 +160,15 @@ font-size: 11px; } +span.repositorySwatch { + border-radius: 3px; + padding: 2px 5px; + color: #ffffff; +} +span.repositorySwatch a { + color: inherit; +} + img.inlineIcon { padding-left: 1px; padding-right: 1px; @@ -158,6 +177,13 @@ img.overview { float:right; border:1px solid #CCCCCC; +} + +img.gravatar { + background-color: #ffffff; + border: 1px solid #ddd; + border-radius: 5px; + padding: 2px; } div.header, div.commitHeader, table.repositories th { @@ -482,6 +508,7 @@ } table.pretty { + border:1px solid #ddd; border-radius: 0 0 3px 3px; } @@ -506,6 +533,7 @@ } table.repositories { + border:1px solid #ddd; border-spacing: 0px; } @@ -581,6 +609,7 @@ } table.annotated { + border:1px solid #ddd; } table.annotated tr.even { -- Gitblit v1.9.1