##// END OF EJS Templates
Slight changes to the files list (#2658, #2806)....
Jean-Philippe Lang -
r2452:7342a00e0a98
parent child
Show More
@@ -1,42 +1,46
1 1 <div class="contextual">
2 2 <%= link_to_if_authorized l(:label_attachment_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'icon icon-add' %>
3 3 </div>
4 4
5 5 <h2><%=l(:label_attachment_plural)%></h2>
6 6
7 7 <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %>
8 8
9 <table class="list">
9 <table class="list files">
10 10 <thead><tr>
11 11 <%= sort_header_tag('filename', :caption => l(:field_filename)) %>
12 12 <%= sort_header_tag('created_on', :caption => l(:label_date), :default_order => 'desc') %>
13 13 <%= sort_header_tag('size', :caption => l(:field_filesize), :default_order => 'desc') %>
14 14 <%= sort_header_tag('downloads', :caption => l(:label_downloads_abbr), :default_order => 'desc') %>
15 15 <th>MD5</th>
16 16 <th></th>
17 17 </tr></thead>
18 18 <tbody>
19 19 <% @containers.each do |container| %>
20 20 <% next if container.attachments.empty? -%>
21 21 <% if container.is_a?(Version) -%>
22 <tr><th colspan="6" align="left"><span class="icon icon-package"><b><%=h container %></b></span></th></tr>
22 <tr>
23 <th colspan="6" align="left">
24 <%= link_to(h(container), {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %>
25 </th>
26 </tr>
23 27 <% end -%>
24 28 <% container.attachments.each do |file| %>
25 <tr class="<%= cycle("odd", "even") %>">
26 <td><%= link_to_attachment file, :download => true, :title => file.description %></td>
27 <td align="center"><%= format_time(file.created_on) %></td>
28 <td align="center"><%= number_to_human_size(file.filesize) %></td>
29 <td align="center"><%= file.downloads %></td>
30 <td align="center"><small><%= file.digest %></small></td>
29 <tr class="file <%= cycle("odd", "even") %>">
30 <td class="filename"><%= link_to_attachment file, :download => true, :title => file.description %></td>
31 <td class="created_on"><%= format_time(file.created_on) %></td>
32 <td class="filesize"><%= number_to_human_size(file.filesize) %></td>
33 <td class="downloads"><%= file.downloads %></td>
34 <td class="digest"><%= file.digest %></td>
31 35 <td align="center">
32 36 <%= link_to(image_tag('delete.png'), {:controller => 'attachments', :action => 'destroy', :id => file},
33 37 :confirm => l(:text_are_you_sure), :method => :post) if delete_allowed %>
34 38 </td>
35 39 </tr>
36 40 <% end
37 41 reset_cycle %>
38 42 <% end %>
39 43 </tbody>
40 44 </table>
41 45
42 46 <% html_title(l(:label_attachment_plural)) -%>
@@ -1,710 +1,714
1 1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2 2
3 3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
4 4 h1 {margin:0; padding:0; font-size: 24px;}
5 5 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
6 6 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
7 7 h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
8 8
9 9 /***** Layout *****/
10 10 #wrapper {background: white;}
11 11
12 12 #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
13 13 #top-menu ul {margin: 0; padding: 0;}
14 14 #top-menu li {
15 15 float:left;
16 16 list-style-type:none;
17 17 margin: 0px 0px 0px 0px;
18 18 padding: 0px 0px 0px 0px;
19 19 white-space:nowrap;
20 20 }
21 21 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
22 22 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
23 23
24 24 #account {float:right;}
25 25
26 26 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
27 27 #header a {color:#f8f8f8;}
28 28 #header h1 a.ancestor { font-size: 80%; }
29 29 #quick-search {float:right;}
30 30
31 31 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
32 32 #main-menu ul {margin: 0; padding: 0;}
33 33 #main-menu li {
34 34 float:left;
35 35 list-style-type:none;
36 36 margin: 0px 2px 0px 0px;
37 37 padding: 0px 0px 0px 0px;
38 38 white-space:nowrap;
39 39 }
40 40 #main-menu li a {
41 41 display: block;
42 42 color: #fff;
43 43 text-decoration: none;
44 44 font-weight: bold;
45 45 margin: 0;
46 46 padding: 4px 10px 4px 10px;
47 47 }
48 48 #main-menu li a:hover {background:#759FCF; color:#fff;}
49 49 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
50 50
51 51 #main {background-color:#EEEEEE;}
52 52
53 53 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
54 54 * html #sidebar{ width: 17%; }
55 55 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
56 56 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
57 57 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
58 58
59 59 #content { width: 80%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
60 60 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
61 61 html>body #content { min-height: 600px; }
62 62 * html body #content { height: 600px; } /* IE */
63 63
64 64 #main.nosidebar #sidebar{ display: none; }
65 65 #main.nosidebar #content{ width: auto; border-right: 0; }
66 66
67 67 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
68 68
69 69 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
70 70 #login-form table td {padding: 6px;}
71 71 #login-form label {font-weight: bold;}
72 72
73 73 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
74 74
75 75 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
76 76
77 77 /***** Links *****/
78 78 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
79 79 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
80 80 a img{ border: 0; }
81 81
82 82 a.issue.closed { text-decoration: line-through; }
83 83
84 84 /***** Tables *****/
85 85 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
86 86 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
87 87 table.list td { vertical-align: top; }
88 88 table.list td.id { width: 2%; text-align: center;}
89 89 table.list td.checkbox { width: 15px; padding: 0px;}
90 90
91 91 tr.project td.name a { padding-left: 16px; white-space:nowrap; }
92 92 tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; }
93 93
94 94 tr.issue { text-align: center; white-space: nowrap; }
95 95 tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; }
96 96 tr.issue td.subject { text-align: left; }
97 97 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
98 98
99 99 tr.entry { border: 1px solid #f8f8f8; }
100 100 tr.entry td { white-space: nowrap; }
101 101 tr.entry td.filename { width: 30%; }
102 102 tr.entry td.size { text-align: right; font-size: 90%; }
103 103 tr.entry td.revision, tr.entry td.author { text-align: center; }
104 104 tr.entry td.age { text-align: right; }
105 105
106 106 tr.entry span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
107 107 tr.entry.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
108 108 tr.entry.file td.filename a { margin-left: 16px; }
109 109
110 110 tr.changeset td.author { text-align: center; width: 15%; }
111 111 tr.changeset td.committed_on { text-align: center; width: 15%; }
112 112
113 tr.file td { text-align: center; }
114 tr.file td.filename { text-align: left; padding-left: 24px; }
115 tr.file td.digest { font-size: 80%; }
116
113 117 tr.message { height: 2.6em; }
114 118 tr.message td.last_message { font-size: 80%; }
115 119 tr.message.locked td.subject a { background-image: url(../images/locked.png); }
116 120 tr.message.sticky td.subject a { background-image: url(../images/sticky.png); font-weight: bold; }
117 121
118 122 tr.user td { width:13%; }
119 123 tr.user td.email { width:18%; }
120 124 tr.user td { white-space: nowrap; }
121 125 tr.user.locked, tr.user.registered { color: #aaa; }
122 126 tr.user.locked a, tr.user.registered a { color: #aaa; }
123 127
124 128 tr.time-entry { text-align: center; white-space: nowrap; }
125 129 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
126 130 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
127 131 td.hours .hours-dec { font-size: 0.9em; }
128 132
129 133 table.plugins td { vertical-align: middle; }
130 134 table.plugins td.configure { text-align: right; padding-right: 1em; }
131 135 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
132 136 table.plugins span.description { display: block; font-size: 0.9em; }
133 137 table.plugins span.url { display: block; font-size: 0.9em; }
134 138
135 139 table.list tbody tr:hover { background-color:#ffffdd; }
136 140 table td {padding:2px;}
137 141 table p {margin:0;}
138 142 .odd {background-color:#f6f7f8;}
139 143 .even {background-color: #fff;}
140 144
141 145 .highlight { background-color: #FCFD8D;}
142 146 .highlight.token-1 { background-color: #faa;}
143 147 .highlight.token-2 { background-color: #afa;}
144 148 .highlight.token-3 { background-color: #aaf;}
145 149
146 150 .box{
147 151 padding:6px;
148 152 margin-bottom: 10px;
149 153 background-color:#f6f6f6;
150 154 color:#505050;
151 155 line-height:1.5em;
152 156 border: 1px solid #e4e4e4;
153 157 }
154 158
155 159 div.square {
156 160 border: 1px solid #999;
157 161 float: left;
158 162 margin: .3em .4em 0 .4em;
159 163 overflow: hidden;
160 164 width: .6em; height: .6em;
161 165 }
162 166 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
163 167 .contextual input {font-size:0.9em;}
164 168 .message .contextual { margin-top: 0; }
165 169
166 170 .splitcontentleft{float:left; width:49%;}
167 171 .splitcontentright{float:right; width:49%;}
168 172 form {display: inline;}
169 173 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
170 174 fieldset {border: 1px solid #e4e4e4; margin:0;}
171 175 legend {color: #484848;}
172 176 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
173 177 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
174 178 blockquote blockquote { margin-left: 0;}
175 179 textarea.wiki-edit { width: 99%; }
176 180 li p {margin-top: 0;}
177 181 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
178 182 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
179 183 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
180 184 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
181 185
182 186 fieldset#filters, fieldset#date-range { padding: 0.7em; margin-bottom: 8px; }
183 187 fieldset#filters p { margin: 1.2em 0 0.8em 2px; }
184 188 fieldset#filters table { border-collapse: collapse; }
185 189 fieldset#filters table td { padding: 0; vertical-align: middle; }
186 190 fieldset#filters tr.filter { height: 2em; }
187 191 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
188 192 .buttons { font-size: 0.9em; }
189 193
190 194 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
191 195 div#issue-changesets .changeset { padding: 4px;}
192 196 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
193 197 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
194 198
195 199 div#activity dl, #search-results { margin-left: 2em; }
196 200 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
197 201 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
198 202 div#activity dt.me .time { border-bottom: 1px solid #999; }
199 203 div#activity dt .time { color: #777; font-size: 80%; }
200 204 div#activity dd .description, #search-results dd .description { font-style: italic; }
201 205 div#activity span.project:after, #search-results span.project:after { content: " -"; }
202 206 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
203 207
204 208 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
205 209
206 210 div#search-results-counts {float:right;}
207 211 div#search-results-counts ul { margin-top: 0.5em; }
208 212 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
209 213
210 214 dt.issue { background-image: url(../images/ticket.png); }
211 215 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
212 216 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
213 217 dt.issue-note { background-image: url(../images/ticket_note.png); }
214 218 dt.changeset { background-image: url(../images/changeset.png); }
215 219 dt.news { background-image: url(../images/news.png); }
216 220 dt.message { background-image: url(../images/message.png); }
217 221 dt.reply { background-image: url(../images/comments.png); }
218 222 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
219 223 dt.attachment { background-image: url(../images/attachment.png); }
220 224 dt.document { background-image: url(../images/document.png); }
221 225 dt.project { background-image: url(../images/projects.png); }
222 226
223 227 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
224 228
225 229 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
226 230 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
227 231 div#roadmap .wiki h1:first-child { display: none; }
228 232 div#roadmap .wiki h1 { font-size: 120%; }
229 233 div#roadmap .wiki h2 { font-size: 110%; }
230 234
231 235 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
232 236 div#version-summary fieldset { margin-bottom: 1em; }
233 237 div#version-summary .total-hours { text-align: right; }
234 238
235 239 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
236 240 table#time-report tbody tr { font-style: italic; color: #777; }
237 241 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
238 242 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
239 243 table#time-report .hours-dec { font-size: 0.9em; }
240 244
241 245 form#issue-form .attributes { margin-bottom: 8px; }
242 246 form#issue-form .attributes p { padding-top: 1px; padding-bottom: 2px; }
243 247 form#issue-form .attributes select { min-width: 30%; }
244 248
245 249 ul.projects { margin: 0; padding-left: 1em; }
246 250 ul.projects.root { margin: 0; padding: 0; }
247 251 ul.projects ul { border-left: 3px solid #e0e0e0; }
248 252 ul.projects li { list-style-type:none; }
249 253 ul.projects li.root { margin-bottom: 1em; }
250 254 ul.projects li.child { margin-top: 1em;}
251 255 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
252 256 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
253 257
254 258 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
255 259 #tracker_project_ids li { list-style-type:none; }
256 260
257 261 ul.properties {padding:0; font-size: 0.9em; color: #777;}
258 262 ul.properties li {list-style-type:none;}
259 263 ul.properties li span {font-style:italic;}
260 264
261 265 .total-hours { font-size: 110%; font-weight: bold; }
262 266 .total-hours span.hours-int { font-size: 120%; }
263 267
264 268 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
265 269 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
266 270
267 271 .pagination {font-size: 90%}
268 272 p.pagination {margin-top:8px;}
269 273
270 274 /***** Tabular forms ******/
271 275 .tabular p{
272 276 margin: 0;
273 277 padding: 5px 0 8px 0;
274 278 padding-left: 180px; /*width of left column containing the label elements*/
275 279 height: 1%;
276 280 clear:left;
277 281 }
278 282
279 283 html>body .tabular p {overflow:hidden;}
280 284
281 285 .tabular label{
282 286 font-weight: bold;
283 287 float: left;
284 288 text-align: right;
285 289 margin-left: -180px; /*width of left column*/
286 290 width: 175px; /*width of labels. Should be smaller than left column to create some right
287 291 margin*/
288 292 }
289 293
290 294 .tabular label.floating{
291 295 font-weight: normal;
292 296 margin-left: 0px;
293 297 text-align: left;
294 298 width: 270px;
295 299 }
296 300
297 301 input#time_entry_comments { width: 90%;}
298 302
299 303 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
300 304
301 305 .tabular.settings p{ padding-left: 300px; }
302 306 .tabular.settings label{ margin-left: -300px; width: 295px; }
303 307
304 308 .required {color: #bb0000;}
305 309 .summary {font-style: italic;}
306 310
307 311 #attachments_fields input[type=text] {margin-left: 8px; }
308 312
309 313 div.attachments { margin-top: 12px; }
310 314 div.attachments p { margin:4px 0 2px 0; }
311 315 div.attachments img { vertical-align: middle; }
312 316 div.attachments span.author { font-size: 0.9em; color: #888; }
313 317
314 318 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
315 319 .other-formats span + span:before { content: "| "; }
316 320
317 321 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
318 322
319 323 /***** Flash & error messages ****/
320 324 #errorExplanation, div.flash, .nodata, .warning {
321 325 padding: 4px 4px 4px 30px;
322 326 margin-bottom: 12px;
323 327 font-size: 1.1em;
324 328 border: 2px solid;
325 329 }
326 330
327 331 div.flash {margin-top: 8px;}
328 332
329 333 div.flash.error, #errorExplanation {
330 334 background: url(../images/false.png) 8px 5px no-repeat;
331 335 background-color: #ffe3e3;
332 336 border-color: #dd0000;
333 337 color: #550000;
334 338 }
335 339
336 340 div.flash.notice {
337 341 background: url(../images/true.png) 8px 5px no-repeat;
338 342 background-color: #dfffdf;
339 343 border-color: #9fcf9f;
340 344 color: #005f00;
341 345 }
342 346
343 347 div.flash.warning {
344 348 background: url(../images/warning.png) 8px 5px no-repeat;
345 349 background-color: #FFEBC1;
346 350 border-color: #FDBF3B;
347 351 color: #A6750C;
348 352 text-align: left;
349 353 }
350 354
351 355 .nodata, .warning {
352 356 text-align: center;
353 357 background-color: #FFEBC1;
354 358 border-color: #FDBF3B;
355 359 color: #A6750C;
356 360 }
357 361
358 362 #errorExplanation ul { font-size: 0.9em;}
359 363 #errorExplanation h2, #errorExplanation p { display: none; }
360 364
361 365 /***** Ajax indicator ******/
362 366 #ajax-indicator {
363 367 position: absolute; /* fixed not supported by IE */
364 368 background-color:#eee;
365 369 border: 1px solid #bbb;
366 370 top:35%;
367 371 left:40%;
368 372 width:20%;
369 373 font-weight:bold;
370 374 text-align:center;
371 375 padding:0.6em;
372 376 z-index:100;
373 377 filter:alpha(opacity=50);
374 378 opacity: 0.5;
375 379 }
376 380
377 381 html>body #ajax-indicator { position: fixed; }
378 382
379 383 #ajax-indicator span {
380 384 background-position: 0% 40%;
381 385 background-repeat: no-repeat;
382 386 background-image: url(../images/loading.gif);
383 387 padding-left: 26px;
384 388 vertical-align: bottom;
385 389 }
386 390
387 391 /***** Calendar *****/
388 392 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
389 393 table.cal thead th {width: 14%;}
390 394 table.cal tbody tr {height: 100px;}
391 395 table.cal th { background-color:#EEEEEE; padding: 4px; }
392 396 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
393 397 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
394 398 table.cal td.odd p.day-num {color: #bbb;}
395 399 table.cal td.today {background:#ffffdd;}
396 400 table.cal td.today p.day-num {font-weight: bold;}
397 401
398 402 /***** Tooltips ******/
399 403 .tooltip{position:relative;z-index:24;}
400 404 .tooltip:hover{z-index:25;color:#000;}
401 405 .tooltip span.tip{display: none; text-align:left;}
402 406
403 407 div.tooltip:hover span.tip{
404 408 display:block;
405 409 position:absolute;
406 410 top:12px; left:24px; width:270px;
407 411 border:1px solid #555;
408 412 background-color:#fff;
409 413 padding: 4px;
410 414 font-size: 0.8em;
411 415 color:#505050;
412 416 }
413 417
414 418 /***** Progress bar *****/
415 419 table.progress {
416 420 border: 1px solid #D7D7D7;
417 421 border-collapse: collapse;
418 422 border-spacing: 0pt;
419 423 empty-cells: show;
420 424 text-align: center;
421 425 float:left;
422 426 margin: 1px 6px 1px 0px;
423 427 }
424 428
425 429 table.progress td { height: 0.9em; }
426 430 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
427 431 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
428 432 table.progress td.open { background: #FFF none repeat scroll 0%; }
429 433 p.pourcent {font-size: 80%;}
430 434 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
431 435
432 436 /***** Tabs *****/
433 437 #content .tabs {height: 2.6em; border-bottom: 1px solid #bbbbbb; margin-bottom:1.2em; position:relative;}
434 438 #content .tabs ul {margin:0; position:absolute; bottom:-2px; padding-left:1em;}
435 439 #content .tabs>ul { bottom:-1px; } /* others */
436 440 #content .tabs ul li {
437 441 float:left;
438 442 list-style-type:none;
439 443 white-space:nowrap;
440 444 margin-right:8px;
441 445 background:#fff;
442 446 }
443 447 #content .tabs ul li a{
444 448 display:block;
445 449 font-size: 0.9em;
446 450 text-decoration:none;
447 451 line-height:1.3em;
448 452 padding:4px 6px 4px 6px;
449 453 border: 1px solid #ccc;
450 454 border-bottom: 1px solid #bbbbbb;
451 455 background-color: #eeeeee;
452 456 color:#777;
453 457 font-weight:bold;
454 458 }
455 459
456 460 #content .tabs ul li a:hover {
457 461 background-color: #ffffdd;
458 462 text-decoration:none;
459 463 }
460 464
461 465 #content .tabs ul li a.selected {
462 466 background-color: #fff;
463 467 border: 1px solid #bbbbbb;
464 468 border-bottom: 1px solid #fff;
465 469 }
466 470
467 471 #content .tabs ul li a.selected:hover {
468 472 background-color: #fff;
469 473 }
470 474
471 475 /***** Diff *****/
472 476 .diff_out { background: #fcc; }
473 477 .diff_in { background: #cfc; }
474 478
475 479 /***** Wiki *****/
476 480 div.wiki table {
477 481 border: 1px solid #505050;
478 482 border-collapse: collapse;
479 483 margin-bottom: 1em;
480 484 }
481 485
482 486 div.wiki table, div.wiki td, div.wiki th {
483 487 border: 1px solid #bbb;
484 488 padding: 4px;
485 489 }
486 490
487 491 div.wiki .external {
488 492 background-position: 0% 60%;
489 493 background-repeat: no-repeat;
490 494 padding-left: 12px;
491 495 background-image: url(../images/external.png);
492 496 }
493 497
494 498 div.wiki a.new {
495 499 color: #b73535;
496 500 }
497 501
498 502 div.wiki pre {
499 503 margin: 1em 1em 1em 1.6em;
500 504 padding: 2px;
501 505 background-color: #fafafa;
502 506 border: 1px solid #dadada;
503 507 width:95%;
504 508 overflow-x: auto;
505 509 }
506 510
507 511 div.wiki ul.toc {
508 512 background-color: #ffffdd;
509 513 border: 1px solid #e4e4e4;
510 514 padding: 4px;
511 515 line-height: 1.2em;
512 516 margin-bottom: 12px;
513 517 margin-right: 12px;
514 518 margin-left: 0;
515 519 display: table
516 520 }
517 521 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
518 522
519 523 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
520 524 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
521 525 div.wiki ul.toc li { list-style-type:none;}
522 526 div.wiki ul.toc li.heading2 { margin-left: 6px; }
523 527 div.wiki ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; }
524 528
525 529 div.wiki ul.toc a {
526 530 font-size: 0.9em;
527 531 font-weight: normal;
528 532 text-decoration: none;
529 533 color: #606060;
530 534 }
531 535 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
532 536
533 537 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
534 538 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
535 539 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
536 540
537 541 /***** My page layout *****/
538 542 .block-receiver {
539 543 border:1px dashed #c0c0c0;
540 544 margin-bottom: 20px;
541 545 padding: 15px 0 15px 0;
542 546 }
543 547
544 548 .mypage-box {
545 549 margin:0 0 20px 0;
546 550 color:#505050;
547 551 line-height:1.5em;
548 552 }
549 553
550 554 .handle {
551 555 cursor: move;
552 556 }
553 557
554 558 a.close-icon {
555 559 display:block;
556 560 margin-top:3px;
557 561 overflow:hidden;
558 562 width:12px;
559 563 height:12px;
560 564 background-repeat: no-repeat;
561 565 cursor:pointer;
562 566 background-image:url('../images/close.png');
563 567 }
564 568
565 569 a.close-icon:hover {
566 570 background-image:url('../images/close_hl.png');
567 571 }
568 572
569 573 /***** Gantt chart *****/
570 574 .gantt_hdr {
571 575 position:absolute;
572 576 top:0;
573 577 height:16px;
574 578 border-top: 1px solid #c0c0c0;
575 579 border-bottom: 1px solid #c0c0c0;
576 580 border-right: 1px solid #c0c0c0;
577 581 text-align: center;
578 582 overflow: hidden;
579 583 }
580 584
581 585 .task {
582 586 position: absolute;
583 587 height:8px;
584 588 font-size:0.8em;
585 589 color:#888;
586 590 padding:0;
587 591 margin:0;
588 592 line-height:0.8em;
589 593 }
590 594
591 595 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
592 596 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
593 597 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
594 598 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
595 599
596 600 /***** Icons *****/
597 601 .icon {
598 602 background-position: 0% 40%;
599 603 background-repeat: no-repeat;
600 604 padding-left: 20px;
601 605 padding-top: 2px;
602 606 padding-bottom: 3px;
603 607 }
604 608
605 609 .icon22 {
606 610 background-position: 0% 40%;
607 611 background-repeat: no-repeat;
608 612 padding-left: 26px;
609 613 line-height: 22px;
610 614 vertical-align: middle;
611 615 }
612 616
613 617 .icon-add { background-image: url(../images/add.png); }
614 618 .icon-edit { background-image: url(../images/edit.png); }
615 619 .icon-copy { background-image: url(../images/copy.png); }
616 620 .icon-del { background-image: url(../images/delete.png); }
617 621 .icon-move { background-image: url(../images/move.png); }
618 622 .icon-save { background-image: url(../images/save.png); }
619 623 .icon-cancel { background-image: url(../images/cancel.png); }
620 624 .icon-file { background-image: url(../images/file.png); }
621 625 .icon-folder { background-image: url(../images/folder.png); }
622 626 .open .icon-folder { background-image: url(../images/folder_open.png); }
623 627 .icon-package { background-image: url(../images/package.png); }
624 628 .icon-home { background-image: url(../images/home.png); }
625 629 .icon-user { background-image: url(../images/user.png); }
626 630 .icon-mypage { background-image: url(../images/user_page.png); }
627 631 .icon-admin { background-image: url(../images/admin.png); }
628 632 .icon-projects { background-image: url(../images/projects.png); }
629 633 .icon-help { background-image: url(../images/help.png); }
630 634 .icon-attachment { background-image: url(../images/attachment.png); }
631 635 .icon-index { background-image: url(../images/index.png); }
632 636 .icon-history { background-image: url(../images/history.png); }
633 637 .icon-time { background-image: url(../images/time.png); }
634 638 .icon-time-add { background-image: url(../images/time_add.png); }
635 639 .icon-stats { background-image: url(../images/stats.png); }
636 640 .icon-warning { background-image: url(../images/warning.png); }
637 641 .icon-fav { background-image: url(../images/fav.png); }
638 642 .icon-fav-off { background-image: url(../images/fav_off.png); }
639 643 .icon-reload { background-image: url(../images/reload.png); }
640 644 .icon-lock { background-image: url(../images/locked.png); }
641 645 .icon-unlock { background-image: url(../images/unlock.png); }
642 646 .icon-checked { background-image: url(../images/true.png); }
643 647 .icon-details { background-image: url(../images/zoom_in.png); }
644 648 .icon-report { background-image: url(../images/report.png); }
645 649 .icon-comment { background-image: url(../images/comment.png); }
646 650
647 651 .icon22-projects { background-image: url(../images/22x22/projects.png); }
648 652 .icon22-users { background-image: url(../images/22x22/users.png); }
649 653 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
650 654 .icon22-role { background-image: url(../images/22x22/role.png); }
651 655 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
652 656 .icon22-options { background-image: url(../images/22x22/options.png); }
653 657 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
654 658 .icon22-authent { background-image: url(../images/22x22/authent.png); }
655 659 .icon22-info { background-image: url(../images/22x22/info.png); }
656 660 .icon22-comment { background-image: url(../images/22x22/comment.png); }
657 661 .icon22-package { background-image: url(../images/22x22/package.png); }
658 662 .icon22-settings { background-image: url(../images/22x22/settings.png); }
659 663 .icon22-plugin { background-image: url(../images/22x22/plugin.png); }
660 664
661 665 img.gravatar {
662 666 padding: 2px;
663 667 border: solid 1px #d5d5d5;
664 668 background: #fff;
665 669 }
666 670
667 671 div.issue img.gravatar {
668 672 float: right;
669 673 margin: 0 0 0 1em;
670 674 padding: 5px;
671 675 }
672 676
673 677 div.issue table img.gravatar {
674 678 height: 14px;
675 679 width: 14px;
676 680 padding: 2px;
677 681 float: left;
678 682 margin: 0 0.5em 0 0;
679 683 }
680 684
681 685 #history img.gravatar {
682 686 padding: 3px;
683 687 margin: 0 1.5em 1em 0;
684 688 float: left;
685 689 }
686 690
687 691 td.username img.gravatar {
688 692 float: left;
689 693 margin: 0 1em 0 0;
690 694 }
691 695
692 696 #activity dt img.gravatar {
693 697 float: left;
694 698 margin: 0 1em 1em 0;
695 699 }
696 700
697 701 #activity dt,
698 702 .journal {
699 703 clear: left;
700 704 }
701 705
702 706 h2 img { vertical-align:middle; }
703 707
704 708
705 709 /***** Media print specific styles *****/
706 710 @media print {
707 711 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
708 712 #main { background: #fff; }
709 713 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
710 714 }
General Comments 0
You need to be logged in to leave comments. Login now