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