summaryrefslogtreecommitdiffabout
authorGeorg Lukas <georg@op-co.de>2009-11-28 02:07:34 (UTC)
committer Georg Lukas <georg@op-co.de>2009-11-28 02:07:34 (UTC)
commit545b5a5dcae2a0c322381493ee90f6c37353da9c (patch) (side-by-side diff)
treeefc130ef25bb9974ad2df31aa374f6b86d5fdd0f
parent56522ebe1387721d10196e835346257e7494abad (diff)
downloadcgit-545b5a5dcae2a0c322381493ee90f6c37353da9c.zip
cgit-545b5a5dcae2a0c322381493ee90f6c37353da9c.tar.gz
cgit-545b5a5dcae2a0c322381493ee90f6c37353da9c.tar.bz2
cgit.css: highlight directories in tree
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index c47ebc9..ef7d3c1 100644
--- a/cgit.css
+++ b/cgit.css
@@ -117,96 +117,101 @@ table.list {
}
table.list tr {
background: white;
}
table.list tr.logheader {
background: #eee;
}
table.list tr:hover {
background: #eee;
}
table.list tr.nohover:hover {
background: white;
}
table.list th {
font-weight: bold;
/* color: #888;
border-top: dashed 1px #888;
border-bottom: dashed 1px #888;
*/
padding: 0.1em 0.5em 0.05em 0.5em;
vertical-align: baseline;
}
table.list td {
border: none;
padding: 0.1em 0.5em 0.1em 0.5em;
}
table.list td.logsubject {
font-family: monospace;
font-weight: bold;
}
table.list td.logmsg {
font-family: monospace;
white-space: pre;
padding: 1em 0.5em 2em 0.5em;
}
table.list td a {
color: black;
}
+table.list td a.ls-dir {
+ font-weight: bold;
+ color: #00f;
+}
+
table.list td a:hover {
color: #00f;
}
img {
border: none;
}
input#switch-btn {
margin: 2px 0px 0px 0px;
}
td#sidebar input.txt {
width: 100%;
margin: 2px 0px 0px 0px;
}
table#grid {
margin: 0px;
}
td#content {
vertical-align: top;
padding: 1em 2em 1em 1em;
border: none;
}
div#summary {
vertical-align: top;
margin-bottom: 1em;
}
table#downloads {
float: right;
border-collapse: collapse;
border: solid 1px #777;
margin-left: 0.5em;
margin-bottom: 0.5em;
}
table#downloads th {
background-color: #ccc;
}
div#blob {
border: solid 1px black;
}