author | Lars Hjemli <hjemli@gmail.com> | 2007-06-29 18:32:08 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-06-29 18:32:08 (UTC) |
commit | 16a3d2779ccd56bf7954d98da547247d8796544b (patch) (unidiff) | |
tree | 86d2ed41adc3de842c7518d614ea49ca0200e4d2 /cgit.css | |
parent | f69250358a74efa5d7d9c562b2cdd80fad1430f1 (diff) | |
parent | 103940fe6b0914dc42b8b033d1d328f38135ca5f (diff) | |
download | cgit-16a3d2779ccd56bf7954d98da547247d8796544b.zip cgit-16a3d2779ccd56bf7954d98da547247d8796544b.tar.gz cgit-16a3d2779ccd56bf7954d98da547247d8796544b.tar.bz2 |
Merge branch 'lh/menu'
* lh/menu:
Add ofs argument to cgit_log_link and use it in ui-log.c
Add trim_end() and use it to remove trailing slashes from repo paths
Do not include current path in the "tree" menu link
Add setting to enable/disable extra links on index page
Change S/L/T to summary/log/tree
Change "files" to "tree"
Include querystring as part of cached filename for repo summary page
Add more menuitems on repo pages
-rw-r--r-- | cgit.css | 23 |
1 files changed, 17 insertions, 6 deletions
@@ -86,50 +86,60 @@ td#header, td#logo { | |||
86 | color: #666; | 86 | color: #666; |
87 | background-color: #ddd; | 87 | background-color: #ddd; |
88 | border-bottom: solid 1px #000; | 88 | border-bottom: solid 1px #000; |
89 | } | 89 | } |
90 | 90 | ||
91 | td#header { | 91 | td#header { |
92 | font-size: 150%; | 92 | font-size: 150%; |
93 | font-weight: bold; | 93 | font-weight: bold; |
94 | padding: 0.2em 0.5em; | 94 | padding: 0.2em 0.5em; |
95 | vertical-align: text-bottom; | 95 | vertical-align: text-bottom; |
96 | } | 96 | } |
97 | 97 | ||
98 | td#header a { | ||
99 | color: #666; | ||
100 | } | ||
101 | |||
102 | td#header a:hoved { | ||
103 | text-decoration: underline; | ||
104 | } | ||
105 | |||
98 | td#logo { | 106 | td#logo { |
99 | text-align: right; | 107 | text-align: right; |
100 | vertical-align: middle; | 108 | vertical-align: middle; |
101 | padding-right: 0.5em; | 109 | padding-right: 0.5em; |
102 | } | 110 | } |
103 | 111 | ||
104 | td#crumb, td#search { | 112 | td#crumb, td#search { |
105 | color: #ccc; | 113 | color: #ccc; |
106 | border-top: solid 3px #555; | 114 | border-top: solid 3px #555; |
107 | background-color: #666; | 115 | background-color: #666; |
108 | border-bottom: solid 1px #333; | 116 | border-bottom: solid 1px #333; |
109 | padding: 2px 1em; | 117 | padding: 2px 1em; |
110 | } | 118 | } |
111 | 119 | ||
112 | td#crumb { | 120 | td#crumb { |
113 | font-weight: bold; | 121 | font-weight: bold; |
114 | } | 122 | } |
115 | 123 | ||
116 | td#crumb a { | 124 | td#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 | ||
121 | td#crumb a:hover { | 130 | td#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 | ||
126 | td#search { | 136 | td#search { |
127 | text-align: right; | 137 | text-align: right; |
128 | vertical-align: middle; | 138 | vertical-align: middle; |
129 | padding-right: 0.5em; | 139 | padding-right: 0.5em; |
130 | } | 140 | } |
131 | 141 | ||
132 | td#search form { | 142 | td#search form { |
133 | margin: 0px; | 143 | margin: 0px; |
134 | padding: 0px; | 144 | padding: 0px; |
135 | } | 145 | } |
@@ -352,34 +362,35 @@ table.diff td div.del { | |||
352 | 362 | ||
353 | .right { | 363 | .right { |
354 | text-align: right; | 364 | text-align: right; |
355 | } | 365 | } |
356 | 366 | ||
357 | table.list td.repogroup { | 367 | table.list td.repogroup { |
358 | font-style: italic; | 368 | font-style: italic; |
359 | color: #888; | 369 | color: #888; |
360 | } | 370 | } |
361 | 371 | ||
362 | a.button { | 372 | a.button { |
363 | font-size: 80%; | 373 | font-size: 80%; |
364 | color: #333; | 374 | color: #aaa; |
365 | background-color: #ccc; | 375 | background-color: #eee; |
366 | border: solid 1px #999; | 376 | border: solid 1px #aaa; |
367 | padding: 0em 0.5em; | 377 | padding: 0em 0.5em; |
368 | margin: 0.1em 0.25em; | 378 | margin: 0.1em 0.25em; |
369 | } | 379 | } |
370 | 380 | ||
371 | a.button:hover { | 381 | a.button:hover { |
372 | text-decoration: none; | 382 | text-decoration: none; |
373 | background-color: #eee; | 383 | color: #333; |
384 | background-color: #ccc; | ||
374 | } | 385 | } |
375 | 386 | ||
376 | a.primary { | 387 | a.primary { |
377 | font-size: 100%; | 388 | font-size: 100%; |
378 | } | 389 | } |
379 | 390 | ||
380 | a.secondary { | 391 | a.secondary { |
381 | font-size: 90%; | 392 | font-size: 90%; |
382 | } | 393 | } |
383 | 394 | ||
384 | td.toplevel-repo { | 395 | td.toplevel-repo { |
385 | 396 | ||