From 8daefa09d99774639a355c0dfa2b989fa1007f5f Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Thu, 11 Oct 2012 17:11:18 -0400
Subject: [PATCH] Created static repository close functions for unit testing and fixed Windows sharing violations
---
resources/gitblit.css | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 103 insertions(+), 10 deletions(-)
diff --git a/resources/gitblit.css b/resources/gitblit.css
index bbd3c0c..1d17dc8 100644
--- a/resources/gitblit.css
+++ b/resources/gitblit.css
@@ -20,6 +20,11 @@
outline: none;
}
+[class^="icon-"], [class*=" icon-"] a i {
+ /* override for a links that look like bootstrap buttons */
+ vertical-align: text-bottom;
+}
+
hr {
margin-top: 10px;
margin-bottom: 10px;
@@ -127,6 +132,54 @@
font-weight: bold;
}
+.pageTitle {
+ color: #888;
+ font-size: 18px;
+ line-height: 27px;
+}
+.pageTitle .project, .pageTitle .repository {
+ font-family: Helvetica, arial, freesans, clean, sans-serif;
+ font-size: 22px;
+}
+
+.pageTitle .controls {
+ font-size: 12px;
+}
+
+.pageTitle .repository {
+ font-weight: bold;
+}
+
+.originRepository {
+ font-family: Helvetica, arial, freesans, clean, sans-serif;
+ color: #888;
+ font-size: 12px;
+ line-height: 14px;
+ margin: 0px;
+}
+
+.forkSource, .forkEntry {
+ color: #888;
+}
+
+.forkSource {
+ font-size: 18px;
+ line-height: 20px;
+ padding: 5px 0px;
+}
+
+.forkEntry {
+ font-size: 14px;
+ padding: 2px 0px;
+}
+
+.forkSource .forks, .forkEntry .forks {
+ font-size: 10px;
+ padding-left: 5px;
+ text-decoration: underline;
+ vertical-align: middle;
+}
+
div.page_footer {
clear: both;
height: 17px;
@@ -163,8 +216,9 @@
}
div.sourceview {
- overflow: auto;
+ overflow: hidden;
}
+
pre.prettyprint ol {
padding-left:25px;
}
@@ -178,29 +232,68 @@
vertical-align:top;
}
+#nums pre {
+ white-space: pre;
+}
+
+#nums pre, #lines pre {
+ margin: 0;
+}
+
+#lines pre {
+ padding: 0px !important;
+ border: 0px !important;
+ white-space: nowrap;
+}
+
/* CSS trick to workaround #link topOfWindow offset problem */
-#lines .line {
+#nums .num {
border-top: 160px solid transparent;
margin-top: -160px;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
+
+ color: #888;
}
-#lines span:target {
+#nums span:target {
+ background-color: #ffffbf;
+ color: black;
+ font-weight: bold;
+ border-bottom: 1px solid red;
+}
+
+#lines table {
+ margin: 0;
+}
+
+#lines td {
+ padding: 0;
+}
+
+#lines a {
+ padding-left: 5px;
+}
+
+#lines a:hover {
+ background-color: #ffffbf;
+ text-decoration: none;
+}
+
+#lines tr:hover {
background-color: #ffffbf;
}
-
-#nums pre {
- white-space: pre;
+#lines .odd {
+ background-color: white;
}
-#lines pre {
- padding: 0px 5px !important;
- border: 0px !important;
- white-space: nowrap;
+#lines .even {
+ background-color: #fafafa;
}
+
+
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
color: #888;
}
--
Gitblit v1.9.1