gitweb: Parse two-line from-file/to-file diff header in git_patchset_body
[git/gitweb.git] / gitweb / gitweb.css
blob0912361ac8f2800b259e1fa7958deb52a76f2e82
1 body {
2 font-family: sans-serif;
3 font-size: 12px;
4 border: solid #d9d8d1;
5 border-width: 1px;
6 margin: 10px;
7 background-color: #ffffff;
8 color: #000000;
11 a {
12 color: #0000cc;
15 a:hover, a:visited, a:active {
16 color: #880000;
19 div.page_header {
20 height: 25px;
21 padding: 8px;
22 font-size: 18px;
23 font-weight: bold;
24 background-color: #d9d8d1;
27 div.page_header a:visited, a.header {
28 color: #0000cc;
31 div.page_header a:hover {
32 color: #880000;
35 div.page_nav {
36 padding: 8px;
39 div.page_nav a:visited {
40 color: #0000cc;
43 div.page_path {
44 padding: 8px;
45 font-weight: bold;
46 border: solid #d9d8d1;
47 border-width: 0px 0px 1px;
50 div.page_footer {
51 height: 17px;
52 padding: 4px 8px;
53 background-color: #d9d8d1;
56 div.page_footer_text {
57 float: left;
58 color: #555555;
59 font-style: italic;
62 div.page_body {
63 padding: 8px;
64 font-family: monospace;
67 div.title, a.title {
68 display: block;
69 padding: 6px 8px;
70 font-weight: bold;
71 background-color: #edece6;
72 text-decoration: none;
73 color: #000000;
76 a.title:hover {
77 background-color: #d9d8d1;
80 div.title_text {
81 padding: 6px 0px;
82 border: solid #d9d8d1;
83 border-width: 0px 0px 1px;
84 font-family: monospace;
87 div.log_body {
88 padding: 8px 8px 8px 150px;
91 span.age {
92 position: relative;
93 float: left;
94 width: 142px;
95 font-style: italic;
98 div.page_body span.signoff {
99 color: #888888;
102 div.log_link {
103 padding: 0px 8px;
104 font-size: 10px;
105 font-family: sans-serif;
106 font-style: normal;
107 position: relative;
108 float: left;
109 width: 136px;
112 div.list_head {
113 padding: 6px 8px 4px;
114 border: solid #d9d8d1;
115 border-width: 1px 0px 0px;
116 font-style: italic;
119 a.list {
120 text-decoration: none;
121 color: #000000;
124 a.subject, a.name {
125 font-weight: bold;
128 table.tags a.subject {
129 font-weight: normal;
132 a.list:hover {
133 text-decoration: underline;
134 color: #880000;
137 a.text {
138 text-decoration: none;
139 color: #0000cc;
142 a.text:visited {
143 text-decoration: none;
144 color: #880000;
147 a.text:hover {
148 text-decoration: underline;
149 color: #880000;
152 table {
153 padding: 8px 4px;
156 table.project_list {
157 border-spacing: 0;
160 table.diff_tree {
161 border-spacing: 0;
162 font-family: monospace;
165 table.blame {
166 border-collapse: collapse;
169 th {
170 padding: 2px 5px;
171 font-size: 12px;
172 text-align: left;
175 tr.light:hover {
176 background-color: #edece6;
179 tr.dark {
180 background-color: #f6f6f0;
183 tr.dark2 {
184 background-color: #f6f6f0;
187 tr.dark:hover {
188 background-color: #edece6;
191 td {
192 padding: 2px 5px;
193 font-size: 12px;
194 vertical-align: top;
197 td.link, td.selflink {
198 padding: 2px 5px;
199 font-family: sans-serif;
200 font-size: 10px;
203 td.selflink {
204 padding-right: 0px;
207 td.sha1 {
208 font-family: monospace;
211 td.error {
212 color: red;
213 background-color: yellow;
216 td.current_head {
217 text-decoration: underline;
220 table.diff_tree span.file_status.new {
221 color: #008000;
224 table.diff_tree span.file_status.deleted {
225 color: #c00000;
228 table.diff_tree span.file_status.moved,
229 table.diff_tree span.file_status.mode_chnge {
230 color: #777777;
233 table.diff_tree span.file_status.copied {
234 color: #70a070;
237 /* age2: 60*60*24*2 <= age */
238 table.project_list td.age2, table.blame td.age2 {
239 font-style: italic;
242 /* age1: 60*60*2 <= age < 60*60*24*2 */
243 table.project_list td.age1 {
244 color: #009900;
245 font-style: italic;
248 table.blame td.age1 {
249 color: #009900;
250 background: transparent;
253 /* age0: age < 60*60*2 */
254 table.project_list td.age0 {
255 color: #009900;
256 font-style: italic;
257 font-weight: bold;
260 table.blame td.age0 {
261 color: #009900;
262 background: transparent;
263 font-weight: bold;
266 td.pre, div.pre, div.diff {
267 font-family: monospace;
268 font-size: 12px;
269 white-space: pre;
272 td.mode {
273 font-family: monospace;
276 div.diff.to_file,
277 div.diff.add {
278 color: #008800;
281 div.diff.from_file,
282 div.diff.rem {
283 color: #cc0000;
286 div.diff.chunk_header {
287 color: #990099;
290 div.diff.incomplete {
291 color: #cccccc;
294 div.diff_info {
295 font-family: monospace;
296 color: #000099;
297 background-color: #edece6;
298 font-style: italic;
301 div.index_include {
302 border: solid #d9d8d1;
303 border-width: 0px 0px 1px;
304 padding: 12px 8px;
307 div.search {
308 margin: 4px 8px;
309 position: absolute;
310 top: 56px;
311 right: 12px
314 td.linenr {
315 text-align: right;
318 a.linenr {
319 color: #999999;
320 text-decoration: none
323 a.rss_logo {
324 float: right;
325 padding: 3px 0px;
326 width: 35px;
327 line-height: 10px;
328 border: 1px solid;
329 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
330 color: #ffffff;
331 background-color: #ff6600;
332 font-weight: bold;
333 font-family: sans-serif;
334 font-size: 10px;
335 text-align: center;
336 text-decoration: none;
339 a.rss_logo:hover {
340 background-color: #ee5500;
343 span.refs span {
344 padding: 0px 4px;
345 font-size: 10px;
346 font-weight: normal;
347 border: 1px solid;
348 background-color: #ffaaff;
349 border-color: #ffccff #ff00ee #ff00ee #ffccff;
352 span.refs span.ref {
353 background-color: #aaaaff;
354 border-color: #ccccff #0033cc #0033cc #ccccff;
357 span.refs span.tag {
358 background-color: #ffffaa;
359 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
362 span.refs span.head {
363 background-color: #aaffaa;
364 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
367 span.atnight {
368 color: #cc0000;
371 span.match {
372 color: #e00000;