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