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