aboutsummaryrefslogtreecommitdiffstats
path: root/gitweb/gitweb.css
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-14 16:32:52 -0700
committerJunio C Hamano <gitster@pobox.com>2009-08-14 16:32:52 -0700
commit5a3669340b3c81fd25a10f02f44ecd27cc100fd2 (patch)
treeb94da2280fcba83c31afeb5783a398d55cc6c2f3 /gitweb/gitweb.css
parentsvn: (cleanup) use predefined constant for rev_map_fmt (diff)
parentgitweb: Use light/dark for class names also in 'blame' view (diff)
downloadgit-5a3669340b3c81fd25a10f02f44ecd27cc100fd2.tar.gz
git-5a3669340b3c81fd25a10f02f44ecd27cc100fd2.zip
Merge branch 'jn/gitweb-blame' (early part)
* 'jn/gitweb-blame' (early part): gitweb: Use light/dark for class names also in 'blame' view gitweb: Add author initials in 'blame' view, a la "git gui blame" gitweb: Mark commits with no "previous" in 'blame' view gitweb: Use "previous" header of git-blame -p in 'blame' view gitweb: Mark boundary commits in 'blame' view gitweb: Make .error style generic
Diffstat (limited to 'gitweb/gitweb.css')
-rw-r--r--gitweb/gitweb.css24
1 files changed, 16 insertions, 8 deletions
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index d05bc37646..8f68fe3091 100644
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
@@ -226,22 +226,30 @@ th {
text-align: left;
}
-tr.light:hover {
- background-color: #edece6;
-}
-
-tr.dark {
- background-color: #f6f6f0;
+/* do not change row style on hover for 'blame' view */
+tr.light,
+table.blame .light:hover {
+ background-color: #ffffff;
}
-tr.dark2 {
+tr.dark,
+table.blame .dark:hover {
background-color: #f6f6f0;
}
+/* currently both use the same, but it can change */
+tr.light:hover,
tr.dark:hover {
background-color: #edece6;
}
+/* boundary commits in 'blame' view */
+/* and commits without "previous" */
+tr.boundary td.sha1,
+tr.no-previous td.linenr {
+ font-weight: bold;
+}
+
td {
padding: 2px 5px;
font-size: 100%;
@@ -262,7 +270,7 @@ td.sha1 {
font-family: monospace;
}
-td.error {
+.error {
color: red;
background-color: yellow;
}