summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2006-12-17 22:07:28 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2006-12-17 22:07:28 (UTC)
commit6cb326c83b3c0b35d472305294afee3105b3088d (patch) (unidiff)
treefcceeec36ae6f1b3b8e9f861064e2d6ba962a6e0 /cgit.css
parent9c5229ea394808f90433ee84439503bee124e1de (diff)
downloadcgit-6cb326c83b3c0b35d472305294afee3105b3088d.zip
cgit-6cb326c83b3c0b35d472305294afee3105b3088d.tar.gz
cgit-6cb326c83b3c0b35d472305294afee3105b3088d.tar.bz2
Show list of modified files in ui-commit.c
Compare current commit with 1.parent, and for each affected file display current filemode, old filemode if changed, current filename and source filename if it was a copy/rename. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css51
1 files changed, 43 insertions, 8 deletions
diff --git a/cgit.css b/cgit.css
index 94372d6..ae304fa 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,131 +1,166 @@
1body { 1body {
2 font-family: arial; 2 font-family: arial;
3 font-size: normal; 3 font-size: normal;
4 background: white; 4 background: white;
5 padding: 0em; 5 padding: 0em;
6 margin: 0.5em; 6 margin: 0.5em 1em;
7} 7}
8 8
9 9
10h2 { 10h2 {
11 font-size: normal; 11 font-size: normal;
12 font-weight: bold; 12 font-weight: bold;
13 margin-bottom: 0.1em; 13 margin-bottom: 0.1em;
14} 14}
15 15
16a { 16a {
17 color: blue; 17 color: blue;
18 text-decoration: none; 18 text-decoration: none;
19} 19}
20 20
21a:hover { 21a:hover {
22 text-decoration: underline; 22 text-decoration: underline;
23} 23}
24 24
25table.list { 25table.list {
26 border: solid 1px black; 26 border: solid 1px black;
27 border-collapse: collapse; 27 border-collapse: collapse;
28 border: solid 1px #aaa; 28 border: solid 1px #aaa;
29} 29}
30table.list tr { 30table.list tr {
31 background: white; 31 background: white;
32} 32}
33table.list tr:hover { 33table.list tr:hover {
34 background: #eee; 34 background: #eee;
35} 35}
36table.list th { 36table.list th {
37 font-weight: bold; 37 font-weight: bold;
38 background: #ddd; 38 background: #ddd;
39 border-bottom: solid 1px #aaa; 39 border-bottom: solid 1px #aaa;
40 padding: 0.1em 0.5em 0.1em 0.5em; 40 padding: 0.1em 0.5em 0.1em 0.5em;
41 vertical-align: baseline; 41 vertical-align: baseline;
42} 42}
43table.list td { 43table.list td {
44 border: none; 44 border: none;
45 padding: 0.1em 0.5em 0.1em 0.5em; 45 padding: 0.1em 0.5em 0.1em 0.5em;
46} 46}
47img { 47img {
48 border: none; 48 border: none;
49} 49}
50 50
51 51
52div#header { 52div#header {
53 background-color: #ddd; 53 background-color: #eee;
54 padding: 0.25em 0.25em 0.25em 0.5em; 54 padding: 0.25em 0.25em 0.25em 0.5em;
55 font-size: 150%; 55 font-size: 150%;
56 font-weight: bold; 56 font-weight: bold;
57 border: solid 1px #aaa; 57 border: solid 1px #ccc;
58 vertical-align: middle; 58 vertical-align: middle;
59} 59}
60div#header img#logo { 60div#header img#logo {
61 float: right; 61 float: right;
62} 62}
63div#header a {
64 color: black;
65}
63 66
64div#content { 67div#content {
65 margin: 0.5em 0.5em; 68 margin: 0.5em 0.5em;
66} 69}
67 70
68div#blob { 71div#blob {
69 border: solid 1px black; 72 border: solid 1px black;
70} 73}
71 74
72div.error { 75div.error {
73 color: red; 76 color: red;
74 font-weight: bold; 77 font-weight: bold;
75 margin: 1em 2em; 78 margin: 1em 2em;
76} 79}
77div.ls-dir a { 80div.ls-dir a {
78 font-weight: bold; 81 font-weight: bold;
79} 82}
80th.filesize, td.filesize { 83th.filesize, td.filesize {
81 text-align: right; 84 text-align: right;
82} 85}
83th.filemode, td.filemode { 86th.filemode, td.filemode {
84 text-align: center; 87 text-align: center;
85} 88}
86 89
87td.blob { 90td.blob {
88 white-space: pre; 91 white-space: pre;
89 font-family: courier; 92 font-family: courier;
90 font-size: 100%; 93 font-size: 100%;
91 background-color: white; 94 background-color: white;
92} 95}
93 96
94table.log td { 97table.log td {
95 white-space: nowrap; 98 white-space: nowrap;
96} 99}
97 100
98table.commit-info { 101table.commit-info {
99 border-collapse: collapse; 102 border-collapse: collapse;
100 margin-top: 1em; 103 margin-top: 1.5em;
101
102} 104}
103table.commit-info th { 105table.commit-info th {
104 text-align: left; 106 text-align: left;
105 font-weight: normal; 107 font-weight: normal;
106 padding: 0.1em 1em 0.1em 0.1em; 108 padding: 0.1em 1em 0.1em 0.1em;
107} 109}
108table.commit-info td { 110table.commit-info td {
109 font-weight: normal; 111 font-weight: normal;
110 padding: 0.1em 1em 0.1em 0.1em; 112 padding: 0.1em 1em 0.1em 0.1em;
111} 113}
112div.commit-subject { 114div.commit-subject {
113 font-weight: bold; 115 font-weight: bold;
114 font-size: 110%; 116 font-size: 125%;
115 margin: 1em 0em 1em; 117 margin: 1.5em 0em 0.5em 0em;
118 padding: 0em;
116} 119}
117div.commit-msg { 120div.commit-msg {
118 white-space: pre; 121 white-space: pre;
119 font-family: courier; 122 font-family: monospace;
123}
124table.diffstat {
125 border-collapse: collapse;
126 margin-top: 1.5em;
127}
128table.diffstat th {
129 font-weight: normal;
130 text-align: left;
131 text-decoration: underline;
132 padding: 0.1em 1em 0.1em 0.1em;
120 font-size: 100%; 133 font-size: 100%;
121} 134}
135table.diffstat td {
136 padding: 0.1em 1em 0.1em 0.1em;
137 font-size: 100%;
138}
139table.diffstat td span.modechange {
140 padding-left: 1em;
141 color: red;
142}
143table.diffstat td.add a {
144 color: green;
145}
146table.diffstat td.del a {
147 color: red;
148}
149table.diffstat td.upd a {
150 color: blue;
151}
152table.diffstat td.summary {
153 /* border-top: solid 1px black; */
154 color: #888;
155 padding-top: 0.5em;
156}
122.sha1 { 157.sha1 {
123 font-family: courier; 158 font-family: courier;
124 font-size: 90%; 159 font-size: 90%;
125} 160}
126.left { 161.left {
127 text-align: left; 162 text-align: left;
128} 163}
129.right { 164.right {
130 text-align: right; 165 text-align: right;
131} 166}