summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2010-06-19 09:35:57 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2010-06-19 10:56:06 (UTC)
commita2cbd3c30b64a26b52b2003ba6569f3c083f4092 (patch) (unidiff)
tree235183b969b48eecf11d66cf34b2a9bccc73deb7
parentafc40725c1bd5a25446a704995ce3a02270537df (diff)
downloadcgit-a2cbd3c30b64a26b52b2003ba6569f3c083f4092.zip
cgit-a2cbd3c30b64a26b52b2003ba6569f3c083f4092.tar.gz
cgit-a2cbd3c30b64a26b52b2003ba6569f3c083f4092.tar.bz2
ui-shared.c: path-limit style nitpick
This subjectively makes the path-limit bar less visually intrusive. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.css6
1 files changed, 2 insertions, 4 deletions
diff --git a/cgit.css b/cgit.css
index 563f8e1..28a2eeb 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,212 +1,210 @@
1body, table, form { 1body, table, form {
2 padding: 0em; 2 padding: 0em;
3 margin: 0em; 3 margin: 0em;
4} 4}
5 5
6body { 6body {
7 font-family: sans-serif; 7 font-family: sans-serif;
8 font-size: 10pt; 8 font-size: 10pt;
9 color: #333; 9 color: #333;
10 background: white; 10 background: white;
11 padding: 4px; 11 padding: 4px;
12} 12}
13 13
14a { 14a {
15 color: blue; 15 color: blue;
16 text-decoration: none; 16 text-decoration: none;
17} 17}
18 18
19a:hover { 19a:hover {
20 text-decoration: underline; 20 text-decoration: underline;
21} 21}
22 22
23table { 23table {
24 border-collapse: collapse; 24 border-collapse: collapse;
25} 25}
26 26
27table#header { 27table#header {
28 width: 100%; 28 width: 100%;
29 margin-bottom: 1em; 29 margin-bottom: 1em;
30} 30}
31 31
32table#header td.logo { 32table#header td.logo {
33 width: 96px; 33 width: 96px;
34} 34}
35 35
36table#header td.main { 36table#header td.main {
37 font-size: 250%; 37 font-size: 250%;
38 padding-left: 10px; 38 padding-left: 10px;
39 white-space: nowrap; 39 white-space: nowrap;
40} 40}
41 41
42table#header td.main a { 42table#header td.main a {
43 color: #000; 43 color: #000;
44} 44}
45 45
46table#header td.form { 46table#header td.form {
47 text-align: right; 47 text-align: right;
48 vertical-align: bottom; 48 vertical-align: bottom;
49 padding-right: 1em; 49 padding-right: 1em;
50 padding-bottom: 2px; 50 padding-bottom: 2px;
51 white-space: nowrap; 51 white-space: nowrap;
52} 52}
53 53
54table#header td.form form, 54table#header td.form form,
55table#header td.form input, 55table#header td.form input,
56table#header td.form select { 56table#header td.form select {
57 font-size: 90%; 57 font-size: 90%;
58} 58}
59 59
60table#header td.sub { 60table#header td.sub {
61 color: #777; 61 color: #777;
62 border-top: solid 1px #ccc; 62 border-top: solid 1px #ccc;
63 padding-left: 10px; 63 padding-left: 10px;
64} 64}
65 65
66table.tabs { 66table.tabs {
67 /* border-bottom: solid 2px #ccc; */ 67 border-bottom: solid 3px #ccc;
68 border-collapse: collapse; 68 border-collapse: collapse;
69 margin-top: 2em; 69 margin-top: 2em;
70 margin-bottom: 0px; 70 margin-bottom: 0px;
71 width: 100%; 71 width: 100%;
72} 72}
73 73
74table.tabs td { 74table.tabs td {
75 padding: 0px 1em; 75 padding: 0px 1em;
76 vertical-align: bottom; 76 vertical-align: bottom;
77} 77}
78 78
79table.tabs td a { 79table.tabs td a {
80 padding: 2px 0.75em; 80 padding: 2px 0.75em;
81 color: #777; 81 color: #777;
82 font-size: 110%; 82 font-size: 110%;
83} 83}
84 84
85table.tabs td a.active { 85table.tabs td a.active {
86 color: #000; 86 color: #000;
87 background-color: #ccc; 87 background-color: #ccc;
88} 88}
89 89
90table.tabs td.form { 90table.tabs td.form {
91 text-align: right; 91 text-align: right;
92} 92}
93 93
94table.tabs td.form form { 94table.tabs td.form form {
95 padding-bottom: 2px; 95 padding-bottom: 2px;
96 font-size: 90%; 96 font-size: 90%;
97 white-space: nowrap; 97 white-space: nowrap;
98} 98}
99 99
100table.tabs td.form input, 100table.tabs td.form input,
101table.tabs td.form select { 101table.tabs td.form select {
102 font-size: 90%; 102 font-size: 90%;
103} 103}
104 104
105div.path { 105div.path {
106 margin: 0px; 106 margin: 0px;
107 padding: 5px 2em 2px 2em; 107 padding: 5px 2em 2px 2em;
108 color: #000; 108 color: #000;
109 background-color: #ccc; 109 background-color: #eee;
110 font-weight: bold;
111} 110}
112 111
113div.content { 112div.content {
114 margin: 0px; 113 margin: 0px;
115 padding: 2em; 114 padding: 2em;
116 border-top: solid 3px #ccc;
117 border-bottom: solid 3px #ccc; 115 border-bottom: solid 3px #ccc;
118} 116}
119 117
120 118
121table.list { 119table.list {
122 width: 100%; 120 width: 100%;
123 border: none; 121 border: none;
124 border-collapse: collapse; 122 border-collapse: collapse;
125} 123}
126 124
127table.list tr { 125table.list tr {
128 background: white; 126 background: white;
129} 127}
130 128
131table.list tr.logheader { 129table.list tr.logheader {
132 background: #eee; 130 background: #eee;
133} 131}
134 132
135table.list tr:hover { 133table.list tr:hover {
136 background: #eee; 134 background: #eee;
137} 135}
138 136
139table.list tr.nohover:hover { 137table.list tr.nohover:hover {
140 background: white; 138 background: white;
141} 139}
142 140
143table.list th { 141table.list th {
144 font-weight: bold; 142 font-weight: bold;
145 /* color: #888; 143 /* color: #888;
146 border-top: dashed 1px #888; 144 border-top: dashed 1px #888;
147 border-bottom: dashed 1px #888; 145 border-bottom: dashed 1px #888;
148 */ 146 */
149 padding: 0.1em 0.5em 0.05em 0.5em; 147 padding: 0.1em 0.5em 0.05em 0.5em;
150 vertical-align: baseline; 148 vertical-align: baseline;
151} 149}
152 150
153table.list td { 151table.list td {
154 border: none; 152 border: none;
155 padding: 0.1em 0.5em 0.1em 0.5em; 153 padding: 0.1em 0.5em 0.1em 0.5em;
156} 154}
157 155
158table.list td.logsubject { 156table.list td.logsubject {
159 font-family: monospace; 157 font-family: monospace;
160 font-weight: bold; 158 font-weight: bold;
161} 159}
162 160
163table.list td.logmsg { 161table.list td.logmsg {
164 font-family: monospace; 162 font-family: monospace;
165 white-space: pre; 163 white-space: pre;
166 padding: 1em 0.5em 2em 0.5em; 164 padding: 1em 0.5em 2em 0.5em;
167} 165}
168 166
169table.list td a { 167table.list td a {
170 color: black; 168 color: black;
171} 169}
172 170
173table.list td a.ls-dir { 171table.list td a.ls-dir {
174 font-weight: bold; 172 font-weight: bold;
175 color: #00f; 173 color: #00f;
176} 174}
177 175
178table.list td a:hover { 176table.list td a:hover {
179 color: #00f; 177 color: #00f;
180} 178}
181 179
182img { 180img {
183 border: none; 181 border: none;
184} 182}
185 183
186input#switch-btn { 184input#switch-btn {
187 margin: 2px 0px 0px 0px; 185 margin: 2px 0px 0px 0px;
188} 186}
189 187
190td#sidebar input.txt { 188td#sidebar input.txt {
191 width: 100%; 189 width: 100%;
192 margin: 2px 0px 0px 0px; 190 margin: 2px 0px 0px 0px;
193} 191}
194 192
195table#grid { 193table#grid {
196 margin: 0px; 194 margin: 0px;
197} 195}
198 196
199td#content { 197td#content {
200 vertical-align: top; 198 vertical-align: top;
201 padding: 1em 2em 1em 1em; 199 padding: 1em 2em 1em 1em;
202 border: none; 200 border: none;
203} 201}
204 202
205div#summary { 203div#summary {
206 vertical-align: top; 204 vertical-align: top;
207 margin-bottom: 1em; 205 margin-bottom: 1em;
208} 206}
209 207
210table#downloads { 208table#downloads {
211 float: right; 209 float: right;
212 border-collapse: collapse; 210 border-collapse: collapse;