summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-11-18 17:46:06 -0500
committerJames Moger <james.moger@gitblit.com>2011-11-18 17:46:06 -0500
commit309c55b5a9670e7c327ad8d4e5d94b8af840d00f (patch)
tree2e6454c4b87e66a74150ddbf3ceeb274ff014949 /resources
parent2a02f843771aaccea2cb497fdc40ae8ca384d498 (diff)
downloadgitblit-309c55b5a9670e7c327ad8d4e5d94b8af840d00f.tar.gz
gitblit-309c55b5a9670e7c327ad8d4e5d94b8af840d00f.zip
Calculate repository color from name. Show swatch on repository list.
Diffstat (limited to 'resources')
-rw-r--r--resources/bootstrap.gb.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/bootstrap.gb.css b/resources/bootstrap.gb.css
index 06c46709..32aac08a 100644
--- a/resources/bootstrap.gb.css
+++ b/resources/bootstrap.gb.css
@@ -160,6 +160,15 @@ span.link em, div.link span em {
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;