about summary refs log tree commit diff stats
path: root/cgit.css
diff options
context:
space:
mode:
authorLars Hjemli2007-06-18 00:18:42 +0200
committerLars Hjemli2007-06-18 08:29:53 +0200
commitb8be028a309381b83abe924f5e8e01cf02b121a2 (patch)
tree669b8ac253e8cc1d8568723167764f5428ae5d83 /cgit.css
parentAdd cgit_diff_link() (diff)
downloadcgit-b8be028a309381b83abe924f5e8e01cf02b121a2.tar.gz
cgit-b8be028a309381b83abe924f5e8e01cf02b121a2.zip
Add more menuitems on repo pages
In an attempt to get better usability, a set of 'semistatic' menuitems
are added to the page header on all pages except the repository index.

The menuitems (summary, log, files, commit and diff) honours the current
branch and revision. To switch the current branch one can use the branch
links on the summary page.

The backlink to the repository index page is now available by clicking
the static page heading.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css14
1 files changed, 12 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css index cda437e..9c79c32 100644 --- a/cgit.css +++ b/cgit.css
@@ -95,6 +95,14 @@ td#header {
95 vertical-align: text-bottom; 95 vertical-align: text-bottom;
96} 96}
97 97
98td#header a {
99 color: #666;
100}
101
102td#header a:hoved {
103 text-decoration: underline;
104}
105
98td#logo { 106td#logo {
99 text-align: right; 107 text-align: right;
100 vertical-align: middle; 108 vertical-align: middle;
@@ -116,11 +124,13 @@ td#crumb {
116td#crumb a { 124td#crumb a {
117 color: #ccc; 125 color: #ccc;
118 background-color: #666; 126 background-color: #666;
127 padding: 0em 0.5em 0em 0.5em;
119} 128}
120 129
121td#crumb a:hover { 130td#crumb a:hover {
122 color: #eee; 131 color: #666;
123 background-color: #666; 132 background-color: #ccc;
133 text-decoration: none;
124} 134}
125 135
126td#search { 136td#search {