##// END OF EJS Templates
Use JQuery Dialog (#11445)....
Jean-Philippe Lang -
r9887:46b1a49453c4
parent child
Show More
@@ -1,506 +1,500
1 /* Redmine - project management software
1 /* Redmine - project management software
2 Copyright (C) 2006-2012 Jean-Philippe Lang */
2 Copyright (C) 2006-2012 Jean-Philippe Lang */
3
3
4 function checkAll(id, checked) {
4 function checkAll(id, checked) {
5 if (checked) {
5 if (checked) {
6 $('#'+id).find('input[type=checkbox]').attr('checked', true);
6 $('#'+id).find('input[type=checkbox]').attr('checked', true);
7 } else {
7 } else {
8 $('#'+id).find('input[type=checkbox]').removeAttr('checked');
8 $('#'+id).find('input[type=checkbox]').removeAttr('checked');
9 }
9 }
10 }
10 }
11
11
12 function toggleCheckboxesBySelector(selector) {
12 function toggleCheckboxesBySelector(selector) {
13 var all_checked = true;
13 var all_checked = true;
14 $(selector).each(function(index) {
14 $(selector).each(function(index) {
15 if (!$(this).is(':checked')) { all_checked = false; }
15 if (!$(this).is(':checked')) { all_checked = false; }
16 });
16 });
17 $(selector).attr('checked', !all_checked)
17 $(selector).attr('checked', !all_checked)
18 }
18 }
19
19
20 function showAndScrollTo(id, focus) {
20 function showAndScrollTo(id, focus) {
21 $('#'+id).show();
21 $('#'+id).show();
22 if (focus!=null) {
22 if (focus!=null) {
23 $('#'+focus).focus();
23 $('#'+focus).focus();
24 }
24 }
25 $('html, body').animate({scrollTop: $('#'+id).offset().top}, 100);
25 $('html, body').animate({scrollTop: $('#'+id).offset().top}, 100);
26 }
26 }
27
27
28 function toggleRowGroup(el) {
28 function toggleRowGroup(el) {
29 var tr = $(el).parents('tr').first();
29 var tr = $(el).parents('tr').first();
30 var n = tr.next();
30 var n = tr.next();
31 tr.toggleClass('open');
31 tr.toggleClass('open');
32 while (n.length && !n.hasClass('group')) {
32 while (n.length && !n.hasClass('group')) {
33 n.toggle();
33 n.toggle();
34 n = n.next('tr');
34 n = n.next('tr');
35 }
35 }
36 }
36 }
37
37
38 function collapseAllRowGroups(el) {
38 function collapseAllRowGroups(el) {
39 var tbody = $(el).parents('tbody').first();
39 var tbody = $(el).parents('tbody').first();
40 tbody.children('tr').each(function(index) {
40 tbody.children('tr').each(function(index) {
41 if ($(this).hasClass('group')) {
41 if ($(this).hasClass('group')) {
42 $(this).removeClass('open');
42 $(this).removeClass('open');
43 } else {
43 } else {
44 $(this).hide();
44 $(this).hide();
45 }
45 }
46 });
46 });
47 }
47 }
48
48
49 function expandAllRowGroups(el) {
49 function expandAllRowGroups(el) {
50 var tbody = $(el).parents('tbody').first();
50 var tbody = $(el).parents('tbody').first();
51 tbody.children('tr').each(function(index) {
51 tbody.children('tr').each(function(index) {
52 if ($(this).hasClass('group')) {
52 if ($(this).hasClass('group')) {
53 $(this).addClass('open');
53 $(this).addClass('open');
54 } else {
54 } else {
55 $(this).show();
55 $(this).show();
56 }
56 }
57 });
57 });
58 }
58 }
59
59
60 function toggleAllRowGroups(el) {
60 function toggleAllRowGroups(el) {
61 var tr = $(el).parents('tr').first();
61 var tr = $(el).parents('tr').first();
62 if (tr.hasClass('open')) {
62 if (tr.hasClass('open')) {
63 collapseAllRowGroups(el);
63 collapseAllRowGroups(el);
64 } else {
64 } else {
65 expandAllRowGroups(el);
65 expandAllRowGroups(el);
66 }
66 }
67 }
67 }
68
68
69 function toggleFieldset(el) {
69 function toggleFieldset(el) {
70 var fieldset = $(el).parents('fieldset').first();
70 var fieldset = $(el).parents('fieldset').first();
71 fieldset.toggleClass('collapsed');
71 fieldset.toggleClass('collapsed');
72 fieldset.children('div').toggle();
72 fieldset.children('div').toggle();
73 }
73 }
74
74
75 function hideFieldset(el) {
75 function hideFieldset(el) {
76 var fieldset = $(el).parents('fieldset').first();
76 var fieldset = $(el).parents('fieldset').first();
77 fieldset.toggleClass('collapsed');
77 fieldset.toggleClass('collapsed');
78 fieldset.children('div').hide();
78 fieldset.children('div').hide();
79 }
79 }
80
80
81 function add_filter() {
81 function add_filter() {
82 var select = $('#add_filter_select');
82 var select = $('#add_filter_select');
83 var field = select.val();
83 var field = select.val();
84 $('#tr_'+field).show();
84 $('#tr_'+field).show();
85 var check_box = $('#cb_' + field);
85 var check_box = $('#cb_' + field);
86 check_box.attr('checked', true);
86 check_box.attr('checked', true);
87 toggle_filter(field);
87 toggle_filter(field);
88 select.val('');
88 select.val('');
89
89
90 select.children('option').each(function(index) {
90 select.children('option').each(function(index) {
91 if ($(this).attr('value') == field) {
91 if ($(this).attr('value') == field) {
92 $(this).attr('disabled', true);
92 $(this).attr('disabled', true);
93 }
93 }
94 });
94 });
95 }
95 }
96
96
97 function toggle_filter(field) {
97 function toggle_filter(field) {
98 check_box = $('#cb_' + field);
98 check_box = $('#cb_' + field);
99 if (check_box.is(':checked')) {
99 if (check_box.is(':checked')) {
100 $("#operators_" + field).show().removeAttr('disabled');
100 $("#operators_" + field).show().removeAttr('disabled');
101 toggle_operator(field);
101 toggle_operator(field);
102 } else {
102 } else {
103 $("#operators_" + field).hide().attr('disabled', true);
103 $("#operators_" + field).hide().attr('disabled', true);
104 enableValues(field, []);
104 enableValues(field, []);
105 }
105 }
106 }
106 }
107
107
108 function enableValues(field, indexes) {
108 function enableValues(field, indexes) {
109 $(".values_" + field).each(function(index) {
109 $(".values_" + field).each(function(index) {
110 if (indexes.indexOf(index) >= 0) {
110 if (indexes.indexOf(index) >= 0) {
111 $(this).removeAttr('disabled');
111 $(this).removeAttr('disabled');
112 $(this).parents('span').first().show();
112 $(this).parents('span').first().show();
113 } else {
113 } else {
114 $(this).val('');
114 $(this).val('');
115 $(this).attr('disabled', true);
115 $(this).attr('disabled', true);
116 $(this).parents('span').first().hide();
116 $(this).parents('span').first().hide();
117 }
117 }
118
118
119 if ($(this).hasClass('group')) {
119 if ($(this).hasClass('group')) {
120 $(this).addClass('open');
120 $(this).addClass('open');
121 } else {
121 } else {
122 $(this).show();
122 $(this).show();
123 }
123 }
124 });
124 });
125
125
126 if (indexes.length > 0) {
126 if (indexes.length > 0) {
127 $("#div_values_" + field).show();
127 $("#div_values_" + field).show();
128 } else {
128 } else {
129 $("#div_values_" + field).hide();
129 $("#div_values_" + field).hide();
130 }
130 }
131 }
131 }
132
132
133 function toggle_operator(field) {
133 function toggle_operator(field) {
134 operator = $("#operators_" + field);
134 operator = $("#operators_" + field);
135 switch (operator.val()) {
135 switch (operator.val()) {
136 case "!*":
136 case "!*":
137 case "*":
137 case "*":
138 case "t":
138 case "t":
139 case "w":
139 case "w":
140 case "o":
140 case "o":
141 case "c":
141 case "c":
142 enableValues(field, []);
142 enableValues(field, []);
143 break;
143 break;
144 case "><":
144 case "><":
145 enableValues(field, [0,1]);
145 enableValues(field, [0,1]);
146 break;
146 break;
147 case "<t+":
147 case "<t+":
148 case ">t+":
148 case ">t+":
149 case "t+":
149 case "t+":
150 case ">t-":
150 case ">t-":
151 case "<t-":
151 case "<t-":
152 case "t-":
152 case "t-":
153 enableValues(field, [2]);
153 enableValues(field, [2]);
154 break;
154 break;
155 default:
155 default:
156 enableValues(field, [0]);
156 enableValues(field, [0]);
157 break;
157 break;
158 }
158 }
159 }
159 }
160
160
161 function toggle_multi_select(id) {
161 function toggle_multi_select(id) {
162 var select = $('#'+id);
162 var select = $('#'+id);
163 if (select.attr('multiple')) {
163 if (select.attr('multiple')) {
164 select.removeAttr('multiple');
164 select.removeAttr('multiple');
165 } else {
165 } else {
166 select.attr('multiple', true);
166 select.attr('multiple', true);
167 }
167 }
168 }
168 }
169
169
170 function submit_query_form(id) {
170 function submit_query_form(id) {
171 selectAllOptions("selected_columns");
171 selectAllOptions("selected_columns");
172 $('#'+id).submit();
172 $('#'+id).submit();
173 }
173 }
174
174
175 function observeIssueFilters() {
175 function observeIssueFilters() {
176 $('#query_form input[type=text]').keypress(function(e){
176 $('#query_form input[type=text]').keypress(function(e){
177 if (e.keyCode == 13) submit_query_form("query_form");
177 if (e.keyCode == 13) submit_query_form("query_form");
178 });
178 });
179 }
179 }
180
180
181 var fileFieldCount = 1;
181 var fileFieldCount = 1;
182 function addFileField() {
182 function addFileField() {
183 var fields = $('#attachments_fields');
183 var fields = $('#attachments_fields');
184 if (fields.children().length >= 10) return false;
184 if (fields.children().length >= 10) return false;
185 fileFieldCount++;
185 fileFieldCount++;
186 var s = fields.children('span').first().clone();
186 var s = fields.children('span').first().clone();
187 s.children('input.file').attr('name', "attachments[" + fileFieldCount + "][file]").val('');
187 s.children('input.file').attr('name', "attachments[" + fileFieldCount + "][file]").val('');
188 s.children('input.description').attr('name', "attachments[" + fileFieldCount + "][description]").val('');
188 s.children('input.description').attr('name', "attachments[" + fileFieldCount + "][description]").val('');
189 fields.append(s);
189 fields.append(s);
190 }
190 }
191
191
192 function removeFileField(el) {
192 function removeFileField(el) {
193 var fields = $('#attachments_fields');
193 var fields = $('#attachments_fields');
194 var s = $(el).parents('span').first();
194 var s = $(el).parents('span').first();
195 if (fields.children().length > 1) {
195 if (fields.children().length > 1) {
196 s.remove();
196 s.remove();
197 } else {
197 } else {
198 s.children('input.file').val('');
198 s.children('input.file').val('');
199 s.children('input.description').val('');
199 s.children('input.description').val('');
200 }
200 }
201 }
201 }
202
202
203 function checkFileSize(el, maxSize, message) {
203 function checkFileSize(el, maxSize, message) {
204 var files = el.files;
204 var files = el.files;
205 if (files) {
205 if (files) {
206 for (var i=0; i<files.length; i++) {
206 for (var i=0; i<files.length; i++) {
207 if (files[i].size > maxSize) {
207 if (files[i].size > maxSize) {
208 alert(message);
208 alert(message);
209 el.value = "";
209 el.value = "";
210 }
210 }
211 }
211 }
212 }
212 }
213 }
213 }
214
214
215 function showTab(name) {
215 function showTab(name) {
216 $('div#content .tab-content').hide();
216 $('div#content .tab-content').hide();
217 $('div.tabs a').removeClass('selected');
217 $('div.tabs a').removeClass('selected');
218 $('#tab-content-' + name).show();
218 $('#tab-content-' + name).show();
219 $('#tab-' + name).addClass('selected');
219 $('#tab-' + name).addClass('selected');
220 return false;
220 return false;
221 }
221 }
222
222
223 function moveTabRight(el) {
223 function moveTabRight(el) {
224 var lis = $(el).parents('div.tabs').first().find('ul').children();
224 var lis = $(el).parents('div.tabs').first().find('ul').children();
225 var tabsWidth = 0;
225 var tabsWidth = 0;
226 var i = 0;
226 var i = 0;
227 lis.each(function(){
227 lis.each(function(){
228 if ($(this).is(':visible')) {
228 if ($(this).is(':visible')) {
229 tabsWidth += $(this).width() + 6;
229 tabsWidth += $(this).width() + 6;
230 }
230 }
231 });
231 });
232 if (tabsWidth < $(el).parents('div.tabs').first().width() - 60) { return; }
232 if (tabsWidth < $(el).parents('div.tabs').first().width() - 60) { return; }
233 while (i<lis.length && !lis.eq(i).is(':visible')) { i++; }
233 while (i<lis.length && !lis.eq(i).is(':visible')) { i++; }
234 lis.eq(i).hide();
234 lis.eq(i).hide();
235 }
235 }
236
236
237 function moveTabLeft(el) {
237 function moveTabLeft(el) {
238 var lis = $(el).parents('div.tabs').first().find('ul').children();
238 var lis = $(el).parents('div.tabs').first().find('ul').children();
239 var i = 0;
239 var i = 0;
240 while (i<lis.length && !lis.eq(i).is(':visible')) { i++; }
240 while (i<lis.length && !lis.eq(i).is(':visible')) { i++; }
241 if (i>0) {
241 if (i>0) {
242 lis.eq(i-1).show();
242 lis.eq(i-1).show();
243 }
243 }
244 }
244 }
245
245
246 function displayTabsButtons() {
246 function displayTabsButtons() {
247 var lis;
247 var lis;
248 var tabsWidth = 0;
248 var tabsWidth = 0;
249 var el;
249 var el;
250 $('div.tabs').each(function() {
250 $('div.tabs').each(function() {
251 el = $(this);
251 el = $(this);
252 lis = el.find('ul').children();
252 lis = el.find('ul').children();
253 lis.each(function(){
253 lis.each(function(){
254 if ($(this).is(':visible')) {
254 if ($(this).is(':visible')) {
255 tabsWidth += $(this).width() + 6;
255 tabsWidth += $(this).width() + 6;
256 }
256 }
257 });
257 });
258 if ((tabsWidth < el.width() - 60) && (lis.first().is(':visible'))) {
258 if ((tabsWidth < el.width() - 60) && (lis.first().is(':visible'))) {
259 el.find('div.tabs-buttons').hide();
259 el.find('div.tabs-buttons').hide();
260 } else {
260 } else {
261 el.find('div.tabs-buttons').show();
261 el.find('div.tabs-buttons').show();
262 }
262 }
263 });
263 });
264 }
264 }
265
265
266 function setPredecessorFieldsVisibility() {
266 function setPredecessorFieldsVisibility() {
267 var relationType = $('#relation_relation_type');
267 var relationType = $('#relation_relation_type');
268 if (relationType.val() == "precedes" || relationType.val() == "follows") {
268 if (relationType.val() == "precedes" || relationType.val() == "follows") {
269 $('#predecessor_fields').show();
269 $('#predecessor_fields').show();
270 } else {
270 } else {
271 $('#predecessor_fields').hide();
271 $('#predecessor_fields').hide();
272 }
272 }
273 }
273 }
274
274
275 function showModal(id, width) {
275 function showModal(id, width) {
276 el = $('#'+id).first();
276 var el = $('#'+id).first();
277 if (el.length == 0 || el.is(':visible')) {return;}
277 if (el.length == 0 || el.is(':visible')) {return;}
278 var h = $('body').height();
278 var title = el.find('h3.title').text();
279 var d = document.createElement("div");
279 el.dialog({
280 d.id = 'modalbg';
280 width: width,
281 $(d).appendTo('#main').css('width', '100%').css('height', h + 'px').show();
281 modal: true,
282
282 resizable: false,
283 var pageWidth = $(window).width();
283 dialogClass: 'modal',
284 if (width) {
284 title: title
285 el.css('width', width);
285 });
286 }
287 el.css('left', (((pageWidth - el.width())/2 *100) / pageWidth) + '%');
288 el.addClass('modal');
289 el.show();
290
291 el.find("input[type=text], input[type=submit]").first().focus();
286 el.find("input[type=text], input[type=submit]").first().focus();
292 }
287 }
293
288
294 function hideModal(el) {
289 function hideModal(el) {
295 var modal;
290 var modal;
296 if (el) {
291 if (el) {
297 modal = $(el).parents('div.modal').first();
292 modal = $(el).parents('.ui-dialog-content');
298 } else {
293 } else {
299 modal = $('#ajax-modal');
294 modal = $('#ajax-modal');
300 }
295 }
301 modal.hide();
296 modal.dialog("close");
302 $('#modalbg').remove();
303 }
297 }
304
298
305 function submitPreview(url, form, target) {
299 function submitPreview(url, form, target) {
306 $.ajax({
300 $.ajax({
307 url: url,
301 url: url,
308 type: 'post',
302 type: 'post',
309 data: $('#'+form).serialize(),
303 data: $('#'+form).serialize(),
310 success: function(data){
304 success: function(data){
311 $('#'+target).html(data);
305 $('#'+target).html(data);
312 $('html, body').animate({scrollTop: $('#'+target).offset().top}, 100);
306 $('html, body').animate({scrollTop: $('#'+target).offset().top}, 100);
313 }
307 }
314 });
308 });
315 }
309 }
316
310
317 function collapseScmEntry(id) {
311 function collapseScmEntry(id) {
318 $('.'+id).each(function() {
312 $('.'+id).each(function() {
319 if ($(this).hasClass('open')) {
313 if ($(this).hasClass('open')) {
320 collapseScmEntry($(this).attr('id'));
314 collapseScmEntry($(this).attr('id'));
321 }
315 }
322 $(this).hide();
316 $(this).hide();
323 });
317 });
324 $('#'+id).removeClass('open');
318 $('#'+id).removeClass('open');
325 }
319 }
326
320
327 function expandScmEntry(id) {
321 function expandScmEntry(id) {
328 $('.'+id).each(function() {
322 $('.'+id).each(function() {
329 $(this).show();
323 $(this).show();
330 if ($(this).hasClass('loaded') && !$(this).hasClass('collapsed')) {
324 if ($(this).hasClass('loaded') && !$(this).hasClass('collapsed')) {
331 expandScmEntry($(this).attr('id'));
325 expandScmEntry($(this).attr('id'));
332 }
326 }
333 });
327 });
334 $('#'+id).addClass('open');
328 $('#'+id).addClass('open');
335 }
329 }
336
330
337 function scmEntryClick(id, url) {
331 function scmEntryClick(id, url) {
338 el = $('#'+id);
332 el = $('#'+id);
339 if (el.hasClass('open')) {
333 if (el.hasClass('open')) {
340 collapseScmEntry(id);
334 collapseScmEntry(id);
341 el.addClass('collapsed');
335 el.addClass('collapsed');
342 return false;
336 return false;
343 } else if (el.hasClass('loaded')) {
337 } else if (el.hasClass('loaded')) {
344 expandScmEntry(id);
338 expandScmEntry(id);
345 el.removeClass('collapsed');
339 el.removeClass('collapsed');
346 return false;
340 return false;
347 }
341 }
348 if (el.hasClass('loading')) {
342 if (el.hasClass('loading')) {
349 return false;
343 return false;
350 }
344 }
351 el.addClass('loading');
345 el.addClass('loading');
352 $.ajax({
346 $.ajax({
353 url: url,
347 url: url,
354 success: function(data){
348 success: function(data){
355 el.after(data);
349 el.after(data);
356 el.addClass('open').addClass('loaded').removeClass('loading');
350 el.addClass('open').addClass('loaded').removeClass('loading');
357 }
351 }
358 });
352 });
359 return true;
353 return true;
360 }
354 }
361
355
362 function randomKey(size) {
356 function randomKey(size) {
363 var chars = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z');
357 var chars = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z');
364 var key = '';
358 var key = '';
365 for (i = 0; i < size; i++) {
359 for (i = 0; i < size; i++) {
366 key += chars[Math.floor(Math.random() * chars.length)];
360 key += chars[Math.floor(Math.random() * chars.length)];
367 }
361 }
368 return key;
362 return key;
369 }
363 }
370
364
371 // Can't use Rails' remote select because we need the form data
365 // Can't use Rails' remote select because we need the form data
372 function updateIssueFrom(url) {
366 function updateIssueFrom(url) {
373 $.ajax({
367 $.ajax({
374 url: url,
368 url: url,
375 type: 'post',
369 type: 'post',
376 data: $('#issue-form').serialize()
370 data: $('#issue-form').serialize()
377 });
371 });
378 }
372 }
379
373
380 function updateBulkEditFrom(url) {
374 function updateBulkEditFrom(url) {
381 $.ajax({
375 $.ajax({
382 url: url,
376 url: url,
383 type: 'post',
377 type: 'post',
384 data: $('#bulk_edit_form').serialize()
378 data: $('#bulk_edit_form').serialize()
385 });
379 });
386 }
380 }
387
381
388 function observeAutocompleteField(fieldId, url) {
382 function observeAutocompleteField(fieldId, url) {
389 $('#'+fieldId).autocomplete({
383 $('#'+fieldId).autocomplete({
390 source: url,
384 source: url,
391 minLength: 2,
385 minLength: 2,
392 });
386 });
393 }
387 }
394
388
395 function observeSearchfield(fieldId, targetId, url) {
389 function observeSearchfield(fieldId, targetId, url) {
396 $('#'+fieldId).each(function() {
390 $('#'+fieldId).each(function() {
397 var $this = $(this);
391 var $this = $(this);
398 $this.attr('data-value-was', $this.val());
392 $this.attr('data-value-was', $this.val());
399 var check = function() {
393 var check = function() {
400 var val = $this.val();
394 var val = $this.val();
401 if ($this.attr('data-value-was') != val){
395 if ($this.attr('data-value-was') != val){
402 $this.attr('data-value-was', val);
396 $this.attr('data-value-was', val);
403 if (val != '') {
397 if (val != '') {
404 $.ajax({
398 $.ajax({
405 url: url,
399 url: url,
406 type: 'get',
400 type: 'get',
407 data: {q: $this.val()},
401 data: {q: $this.val()},
408 success: function(data){ $('#'+targetId).html(data); },
402 success: function(data){ $('#'+targetId).html(data); },
409 beforeSend: function(){ $this.addClass('ajax-loading'); },
403 beforeSend: function(){ $this.addClass('ajax-loading'); },
410 complete: function(){ $this.removeClass('ajax-loading'); }
404 complete: function(){ $this.removeClass('ajax-loading'); }
411 });
405 });
412 }
406 }
413 }
407 }
414 };
408 };
415 var reset = function() {
409 var reset = function() {
416 if (timer) {
410 if (timer) {
417 clearInterval(timer);
411 clearInterval(timer);
418 timer = setInterval(check, 300);
412 timer = setInterval(check, 300);
419 }
413 }
420 };
414 };
421 var timer = setInterval(check, 300);
415 var timer = setInterval(check, 300);
422 $this.bind('keyup click mousemove', reset);
416 $this.bind('keyup click mousemove', reset);
423 });
417 });
424 }
418 }
425
419
426 function observeProjectModules() {
420 function observeProjectModules() {
427 var f = function() {
421 var f = function() {
428 /* Hides trackers and issues custom fields on the new project form when issue_tracking module is disabled */
422 /* Hides trackers and issues custom fields on the new project form when issue_tracking module is disabled */
429 if ($('#project_enabled_module_names_issue_tracking').attr('checked')) {
423 if ($('#project_enabled_module_names_issue_tracking').attr('checked')) {
430 $('#project_trackers').show();
424 $('#project_trackers').show();
431 }else{
425 }else{
432 $('#project_trackers').hide();
426 $('#project_trackers').hide();
433 }
427 }
434 };
428 };
435
429
436 $(window).load(f);
430 $(window).load(f);
437 $('#project_enabled_module_names_issue_tracking').change(f);
431 $('#project_enabled_module_names_issue_tracking').change(f);
438 }
432 }
439
433
440 function initMyPageSortable(list, url) {
434 function initMyPageSortable(list, url) {
441 $('#list-'+list).sortable({
435 $('#list-'+list).sortable({
442 connectWith: '.block-receiver',
436 connectWith: '.block-receiver',
443 tolerance: 'pointer',
437 tolerance: 'pointer',
444 update: function(){
438 update: function(){
445 $.ajax({
439 $.ajax({
446 url: url,
440 url: url,
447 type: 'post',
441 type: 'post',
448 data: {'blocks': $.map($('#list-'+list).children(), function(el){return $(el).attr('id');})}
442 data: {'blocks': $.map($('#list-'+list).children(), function(el){return $(el).attr('id');})}
449 });
443 });
450 }
444 }
451 });
445 });
452 $("#list-top, #list-left, #list-right").disableSelection();
446 $("#list-top, #list-left, #list-right").disableSelection();
453 }
447 }
454
448
455 var warnLeavingUnsavedMessage;
449 var warnLeavingUnsavedMessage;
456 function warnLeavingUnsaved(message) {
450 function warnLeavingUnsaved(message) {
457 warnLeavingUnsavedMessage = message;
451 warnLeavingUnsavedMessage = message;
458
452
459 $('form').submit(function(){
453 $('form').submit(function(){
460 $('textarea').removeData('changed');
454 $('textarea').removeData('changed');
461 });
455 });
462 $('textarea').change(function(){
456 $('textarea').change(function(){
463 $(this).data('changed', 'changed');
457 $(this).data('changed', 'changed');
464 });
458 });
465 window.onbeforeunload = function(){
459 window.onbeforeunload = function(){
466 var warn = false;
460 var warn = false;
467 $('textarea').blur().each(function(){
461 $('textarea').blur().each(function(){
468 if ($(this).data('changed')) {
462 if ($(this).data('changed')) {
469 warn = true;
463 warn = true;
470 }
464 }
471 });
465 });
472 if (warn) {return warnLeavingUnsavedMessage;}
466 if (warn) {return warnLeavingUnsavedMessage;}
473 };
467 };
474 };
468 };
475
469
476 $(document).ready(function(){
470 $(document).ready(function(){
477 $('#ajax-indicator').bind('ajaxSend', function(){
471 $('#ajax-indicator').bind('ajaxSend', function(){
478 if ($('.ajax-loading').length == 0) {
472 if ($('.ajax-loading').length == 0) {
479 $('#ajax-indicator').show();
473 $('#ajax-indicator').show();
480 }
474 }
481 });
475 });
482 $('#ajax-indicator').bind('ajaxStop', function(){
476 $('#ajax-indicator').bind('ajaxStop', function(){
483 $('#ajax-indicator').hide();
477 $('#ajax-indicator').hide();
484 });
478 });
485 });
479 });
486
480
487 function hideOnLoad() {
481 function hideOnLoad() {
488 $('.hol').hide();
482 $('.hol').hide();
489 }
483 }
490
484
491 function addFormObserversForDoubleSubmit() {
485 function addFormObserversForDoubleSubmit() {
492 $('form[method=post]').each(function() {
486 $('form[method=post]').each(function() {
493 if (!$(this).hasClass('multiple-submit')) {
487 if (!$(this).hasClass('multiple-submit')) {
494 $(this).submit(function(form_submission) {
488 $(this).submit(function(form_submission) {
495 if ($(form_submission.target).attr('data-submitted')) {
489 if ($(form_submission.target).attr('data-submitted')) {
496 form_submission.preventDefault();
490 form_submission.preventDefault();
497 } else {
491 } else {
498 $(form_submission.target).attr('data-submitted', true);
492 $(form_submission.target).attr('data-submitted', true);
499 }
493 }
500 });
494 });
501 }
495 }
502 });
496 });
503 }
497 }
504
498
505 $(document).ready(hideOnLoad);
499 $(document).ready(hideOnLoad);
506 $(document).ready(addFormObserversForDoubleSubmit);
500 $(document).ready(addFormObserversForDoubleSubmit);
@@ -1,1101 +1,1098
1 html {overflow-y:scroll;}
1 html {overflow-y:scroll;}
2 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
3
3
4 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
4 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
5 h1 {margin:0; padding:0; font-size: 24px;}
5 h1 {margin:0; padding:0; font-size: 24px;}
6 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
6 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
7 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
7 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
8 h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
8 h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
9
9
10 /***** Layout *****/
10 /***** Layout *****/
11 #wrapper {background: white;}
11 #wrapper {background: white;}
12
12
13 #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
13 #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
14 #top-menu ul {margin: 0; padding: 0;}
14 #top-menu ul {margin: 0; padding: 0;}
15 #top-menu li {
15 #top-menu li {
16 float:left;
16 float:left;
17 list-style-type:none;
17 list-style-type:none;
18 margin: 0px 0px 0px 0px;
18 margin: 0px 0px 0px 0px;
19 padding: 0px 0px 0px 0px;
19 padding: 0px 0px 0px 0px;
20 white-space:nowrap;
20 white-space:nowrap;
21 }
21 }
22 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
22 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
23 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
23 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
24
24
25 #account {float:right;}
25 #account {float:right;}
26
26
27 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
27 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
28 #header a {color:#f8f8f8;}
28 #header a {color:#f8f8f8;}
29 #header h1 a.ancestor { font-size: 80%; }
29 #header h1 a.ancestor { font-size: 80%; }
30 #quick-search {float:right;}
30 #quick-search {float:right;}
31
31
32 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
32 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
33 #main-menu ul {margin: 0; padding: 0;}
33 #main-menu ul {margin: 0; padding: 0;}
34 #main-menu li {
34 #main-menu li {
35 float:left;
35 float:left;
36 list-style-type:none;
36 list-style-type:none;
37 margin: 0px 2px 0px 0px;
37 margin: 0px 2px 0px 0px;
38 padding: 0px 0px 0px 0px;
38 padding: 0px 0px 0px 0px;
39 white-space:nowrap;
39 white-space:nowrap;
40 }
40 }
41 #main-menu li a {
41 #main-menu li a {
42 display: block;
42 display: block;
43 color: #fff;
43 color: #fff;
44 text-decoration: none;
44 text-decoration: none;
45 font-weight: bold;
45 font-weight: bold;
46 margin: 0;
46 margin: 0;
47 padding: 4px 10px 4px 10px;
47 padding: 4px 10px 4px 10px;
48 }
48 }
49 #main-menu li a:hover {background:#759FCF; color:#fff;}
49 #main-menu li a:hover {background:#759FCF; color:#fff;}
50 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
50 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
51
51
52 #admin-menu ul {margin: 0; padding: 0;}
52 #admin-menu ul {margin: 0; padding: 0;}
53 #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;}
53 #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;}
54
54
55 #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
55 #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
56 #admin-menu a.projects { background-image: url(../images/projects.png); }
56 #admin-menu a.projects { background-image: url(../images/projects.png); }
57 #admin-menu a.users { background-image: url(../images/user.png); }
57 #admin-menu a.users { background-image: url(../images/user.png); }
58 #admin-menu a.groups { background-image: url(../images/group.png); }
58 #admin-menu a.groups { background-image: url(../images/group.png); }
59 #admin-menu a.roles { background-image: url(../images/database_key.png); }
59 #admin-menu a.roles { background-image: url(../images/database_key.png); }
60 #admin-menu a.trackers { background-image: url(../images/ticket.png); }
60 #admin-menu a.trackers { background-image: url(../images/ticket.png); }
61 #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); }
61 #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); }
62 #admin-menu a.workflows { background-image: url(../images/ticket_go.png); }
62 #admin-menu a.workflows { background-image: url(../images/ticket_go.png); }
63 #admin-menu a.custom_fields { background-image: url(../images/textfield.png); }
63 #admin-menu a.custom_fields { background-image: url(../images/textfield.png); }
64 #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); }
64 #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); }
65 #admin-menu a.settings { background-image: url(../images/changeset.png); }
65 #admin-menu a.settings { background-image: url(../images/changeset.png); }
66 #admin-menu a.plugins { background-image: url(../images/plugin.png); }
66 #admin-menu a.plugins { background-image: url(../images/plugin.png); }
67 #admin-menu a.info { background-image: url(../images/help.png); }
67 #admin-menu a.info { background-image: url(../images/help.png); }
68 #admin-menu a.server_authentication { background-image: url(../images/server_key.png); }
68 #admin-menu a.server_authentication { background-image: url(../images/server_key.png); }
69
69
70 #main {background-color:#EEEEEE;}
70 #main {background-color:#EEEEEE;}
71
71
72 #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
72 #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
73 * html #sidebar{ width: 22%; }
73 * html #sidebar{ width: 22%; }
74 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
74 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
75 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
75 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
76 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
76 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
77 #sidebar .contextual { margin-right: 1em; }
77 #sidebar .contextual { margin-right: 1em; }
78
78
79 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
79 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
80 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
80 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
81 html>body #content { min-height: 600px; }
81 html>body #content { min-height: 600px; }
82 * html body #content { height: 600px; } /* IE */
82 * html body #content { height: 600px; } /* IE */
83
83
84 #main.nosidebar #sidebar{ display: none; }
84 #main.nosidebar #sidebar{ display: none; }
85 #main.nosidebar #content{ width: auto; border-right: 0; }
85 #main.nosidebar #content{ width: auto; border-right: 0; }
86
86
87 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
87 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
88
88
89 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
89 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
90 #login-form table td {padding: 6px;}
90 #login-form table td {padding: 6px;}
91 #login-form label {font-weight: bold;}
91 #login-form label {font-weight: bold;}
92 #login-form input#username, #login-form input#password { width: 300px; }
92 #login-form input#username, #login-form input#password { width: 300px; }
93
93
94 #modalbg {position:absolute; top:0; left:0; width:100%; height:100%; background:#ccc; z-index:49; opacity:0.5;}
94 div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;}
95 html>body #modalbg {position:fixed;}
95 div.modal h3.title {display:none;}
96 div.modal { border-radius:5px; position:absolute; top:25%; background:#fff; border:2px solid #759FCF; z-index:50; padding:0px; padding:8px; box-shadow: 1px 1px 8px #888; }
97 div.modal h3.title {background:#759FCF; color:#fff; border:0; padding-left:8px; margin:-8px; margin-bottom: 1em; border-top-left-radius:2px;border-top-right-radius:2px;}
98 div.modal p.buttons {text-align:right; margin-bottom:0;}
96 div.modal p.buttons {text-align:right; margin-bottom:0;}
99 html>body div.modal {position:fixed;}
100
97
101 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
98 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
102
99
103 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
100 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
104
101
105 /***** Links *****/
102 /***** Links *****/
106 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
103 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
107 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
104 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
108 a img{ border: 0; }
105 a img{ border: 0; }
109
106
110 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
107 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
111 a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; }
108 a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; }
112
109
113 #sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px;}
110 #sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px;}
114 #sidebar a.selected:hover {text-decoration:none;}
111 #sidebar a.selected:hover {text-decoration:none;}
115 #admin-menu a {line-height:1.7em;}
112 #admin-menu a {line-height:1.7em;}
116 #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}
113 #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}
117
114
118 a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;}
115 a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;}
119 a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;}
116 a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;}
120
117
121 a#toggle-completed-versions {color:#999;}
118 a#toggle-completed-versions {color:#999;}
122 /***** Tables *****/
119 /***** Tables *****/
123 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
120 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
124 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
121 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
125 table.list td { vertical-align: top; }
122 table.list td { vertical-align: top; }
126 table.list td.id { width: 2%; text-align: center;}
123 table.list td.id { width: 2%; text-align: center;}
127 table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
124 table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
128 table.list td.checkbox input {padding:0px;}
125 table.list td.checkbox input {padding:0px;}
129 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
126 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
130 table.list td.buttons a { padding-right: 0.6em; }
127 table.list td.buttons a { padding-right: 0.6em; }
131 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
128 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
132
129
133 tr.project td.name a { white-space:nowrap; }
130 tr.project td.name a { white-space:nowrap; }
134 tr.project.closed, tr.project.archived { color: #aaa; }
131 tr.project.closed, tr.project.archived { color: #aaa; }
135 tr.project.closed a, tr.project.archived a { color: #aaa; }
132 tr.project.closed a, tr.project.archived a { color: #aaa; }
136
133
137 tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
134 tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
138 tr.project.idnt-1 td.name {padding-left: 0.5em;}
135 tr.project.idnt-1 td.name {padding-left: 0.5em;}
139 tr.project.idnt-2 td.name {padding-left: 2em;}
136 tr.project.idnt-2 td.name {padding-left: 2em;}
140 tr.project.idnt-3 td.name {padding-left: 3.5em;}
137 tr.project.idnt-3 td.name {padding-left: 3.5em;}
141 tr.project.idnt-4 td.name {padding-left: 5em;}
138 tr.project.idnt-4 td.name {padding-left: 5em;}
142 tr.project.idnt-5 td.name {padding-left: 6.5em;}
139 tr.project.idnt-5 td.name {padding-left: 6.5em;}
143 tr.project.idnt-6 td.name {padding-left: 8em;}
140 tr.project.idnt-6 td.name {padding-left: 8em;}
144 tr.project.idnt-7 td.name {padding-left: 9.5em;}
141 tr.project.idnt-7 td.name {padding-left: 9.5em;}
145 tr.project.idnt-8 td.name {padding-left: 11em;}
142 tr.project.idnt-8 td.name {padding-left: 11em;}
146 tr.project.idnt-9 td.name {padding-left: 12.5em;}
143 tr.project.idnt-9 td.name {padding-left: 12.5em;}
147
144
148 tr.issue { text-align: center; white-space: nowrap; }
145 tr.issue { text-align: center; white-space: nowrap; }
149 tr.issue td.subject, tr.issue td.category, td.assigned_to, tr.issue td.string, tr.issue td.text { white-space: normal; }
146 tr.issue td.subject, tr.issue td.category, td.assigned_to, tr.issue td.string, tr.issue td.text { white-space: normal; }
150 tr.issue td.subject { text-align: left; }
147 tr.issue td.subject { text-align: left; }
151 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
148 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
152
149
153 tr.issue.idnt td.subject a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
150 tr.issue.idnt td.subject a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
154 tr.issue.idnt-1 td.subject {padding-left: 0.5em;}
151 tr.issue.idnt-1 td.subject {padding-left: 0.5em;}
155 tr.issue.idnt-2 td.subject {padding-left: 2em;}
152 tr.issue.idnt-2 td.subject {padding-left: 2em;}
156 tr.issue.idnt-3 td.subject {padding-left: 3.5em;}
153 tr.issue.idnt-3 td.subject {padding-left: 3.5em;}
157 tr.issue.idnt-4 td.subject {padding-left: 5em;}
154 tr.issue.idnt-4 td.subject {padding-left: 5em;}
158 tr.issue.idnt-5 td.subject {padding-left: 6.5em;}
155 tr.issue.idnt-5 td.subject {padding-left: 6.5em;}
159 tr.issue.idnt-6 td.subject {padding-left: 8em;}
156 tr.issue.idnt-6 td.subject {padding-left: 8em;}
160 tr.issue.idnt-7 td.subject {padding-left: 9.5em;}
157 tr.issue.idnt-7 td.subject {padding-left: 9.5em;}
161 tr.issue.idnt-8 td.subject {padding-left: 11em;}
158 tr.issue.idnt-8 td.subject {padding-left: 11em;}
162 tr.issue.idnt-9 td.subject {padding-left: 12.5em;}
159 tr.issue.idnt-9 td.subject {padding-left: 12.5em;}
163
160
164 tr.entry { border: 1px solid #f8f8f8; }
161 tr.entry { border: 1px solid #f8f8f8; }
165 tr.entry td { white-space: nowrap; }
162 tr.entry td { white-space: nowrap; }
166 tr.entry td.filename { width: 30%; }
163 tr.entry td.filename { width: 30%; }
167 tr.entry td.filename_no_report { width: 70%; }
164 tr.entry td.filename_no_report { width: 70%; }
168 tr.entry td.size { text-align: right; font-size: 90%; }
165 tr.entry td.size { text-align: right; font-size: 90%; }
169 tr.entry td.revision, tr.entry td.author { text-align: center; }
166 tr.entry td.revision, tr.entry td.author { text-align: center; }
170 tr.entry td.age { text-align: right; }
167 tr.entry td.age { text-align: right; }
171 tr.entry.file td.filename a { margin-left: 16px; }
168 tr.entry.file td.filename a { margin-left: 16px; }
172 tr.entry.file td.filename_no_report a { margin-left: 16px; }
169 tr.entry.file td.filename_no_report a { margin-left: 16px; }
173
170
174 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
171 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
175 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
172 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
176
173
177 tr.changeset { height: 20px }
174 tr.changeset { height: 20px }
178 tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; }
175 tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; }
179 tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; }
176 tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; }
180 tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;}
177 tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;}
181 tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;}
178 tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;}
182
179
183 table.files tr.file td { text-align: center; }
180 table.files tr.file td { text-align: center; }
184 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
181 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
185 table.files tr.file td.digest { font-size: 80%; }
182 table.files tr.file td.digest { font-size: 80%; }
186
183
187 table.members td.roles, table.memberships td.roles { width: 45%; }
184 table.members td.roles, table.memberships td.roles { width: 45%; }
188
185
189 tr.message { height: 2.6em; }
186 tr.message { height: 2.6em; }
190 tr.message td.subject { padding-left: 20px; }
187 tr.message td.subject { padding-left: 20px; }
191 tr.message td.created_on { white-space: nowrap; }
188 tr.message td.created_on { white-space: nowrap; }
192 tr.message td.last_message { font-size: 80%; white-space: nowrap; }
189 tr.message td.last_message { font-size: 80%; white-space: nowrap; }
193 tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; }
190 tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; }
194 tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; }
191 tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; }
195
192
196 tr.version.closed, tr.version.closed a { color: #999; }
193 tr.version.closed, tr.version.closed a { color: #999; }
197 tr.version td.name { padding-left: 20px; }
194 tr.version td.name { padding-left: 20px; }
198 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
195 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
199 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }
196 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }
200
197
201 tr.user td { width:13%; }
198 tr.user td { width:13%; }
202 tr.user td.email { width:18%; }
199 tr.user td.email { width:18%; }
203 tr.user td { white-space: nowrap; }
200 tr.user td { white-space: nowrap; }
204 tr.user.locked, tr.user.registered { color: #aaa; }
201 tr.user.locked, tr.user.registered { color: #aaa; }
205 tr.user.locked a, tr.user.registered a { color: #aaa; }
202 tr.user.locked a, tr.user.registered a { color: #aaa; }
206
203
207 table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;}
204 table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;}
208
205
209 tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;}
206 tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;}
210
207
211 tr.time-entry { text-align: center; white-space: nowrap; }
208 tr.time-entry { text-align: center; white-space: nowrap; }
212 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
209 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
213 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
210 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
214 td.hours .hours-dec { font-size: 0.9em; }
211 td.hours .hours-dec { font-size: 0.9em; }
215
212
216 table.plugins td { vertical-align: middle; }
213 table.plugins td { vertical-align: middle; }
217 table.plugins td.configure { text-align: right; padding-right: 1em; }
214 table.plugins td.configure { text-align: right; padding-right: 1em; }
218 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
215 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
219 table.plugins span.description { display: block; font-size: 0.9em; }
216 table.plugins span.description { display: block; font-size: 0.9em; }
220 table.plugins span.url { display: block; font-size: 0.9em; }
217 table.plugins span.url { display: block; font-size: 0.9em; }
221
218
222 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
219 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
223 table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
220 table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
224 tr.group a.toggle-all { color: #aaa; font-size: 80%; font-weight: normal; display:none;}
221 tr.group a.toggle-all { color: #aaa; font-size: 80%; font-weight: normal; display:none;}
225 tr.group:hover a.toggle-all { display:inline;}
222 tr.group:hover a.toggle-all { display:inline;}
226 a.toggle-all:hover {text-decoration:none;}
223 a.toggle-all:hover {text-decoration:none;}
227
224
228 table.list tbody tr:hover { background-color:#ffffdd; }
225 table.list tbody tr:hover { background-color:#ffffdd; }
229 table.list tbody tr.group:hover { background-color:inherit; }
226 table.list tbody tr.group:hover { background-color:inherit; }
230 table td {padding:2px;}
227 table td {padding:2px;}
231 table p {margin:0;}
228 table p {margin:0;}
232 .odd {background-color:#f6f7f8;}
229 .odd {background-color:#f6f7f8;}
233 .even {background-color: #fff;}
230 .even {background-color: #fff;}
234
231
235 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
232 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
236 a.sort.asc { background-image: url(../images/sort_asc.png); }
233 a.sort.asc { background-image: url(../images/sort_asc.png); }
237 a.sort.desc { background-image: url(../images/sort_desc.png); }
234 a.sort.desc { background-image: url(../images/sort_desc.png); }
238
235
239 table.attributes { width: 100% }
236 table.attributes { width: 100% }
240 table.attributes th { vertical-align: top; text-align: left; }
237 table.attributes th { vertical-align: top; text-align: left; }
241 table.attributes td { vertical-align: top; }
238 table.attributes td { vertical-align: top; }
242
239
243 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
240 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
244
241
245 table.query-columns {
242 table.query-columns {
246 border-collapse: collapse;
243 border-collapse: collapse;
247 border: 0;
244 border: 0;
248 }
245 }
249
246
250 table.query-columns td.buttons {
247 table.query-columns td.buttons {
251 vertical-align: middle;
248 vertical-align: middle;
252 text-align: center;
249 text-align: center;
253 }
250 }
254
251
255 td.center {text-align:center;}
252 td.center {text-align:center;}
256
253
257 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
254 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
258
255
259 div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
256 div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
260 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
257 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
261 div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
258 div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
262 div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
259 div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
263
260
264 #watchers ul {margin: 0; padding: 0;}
261 #watchers ul {margin: 0; padding: 0;}
265 #watchers li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
262 #watchers li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
266 #watchers select {width: 95%; display: block;}
263 #watchers select {width: 95%; display: block;}
267 #watchers a.delete {opacity: 0.4;}
264 #watchers a.delete {opacity: 0.4;}
268 #watchers a.delete:hover {opacity: 1;}
265 #watchers a.delete:hover {opacity: 1;}
269 #watchers img.gravatar {margin: 0 4px 2px 0;}
266 #watchers img.gravatar {margin: 0 4px 2px 0;}
270
267
271 span#watchers_inputs {overflow:auto; display:block;}
268 span#watchers_inputs {overflow:auto; display:block;}
272 span.search_for_watchers {display:block;}
269 span.search_for_watchers {display:block;}
273 span.search_for_watchers, span.add_attachment {font-size:80%; line-height:2.5em;}
270 span.search_for_watchers, span.add_attachment {font-size:80%; line-height:2.5em;}
274 span.search_for_watchers a, span.add_attachment a {padding-left:16px; background: url(../images/bullet_add.png) no-repeat 0 50%; }
271 span.search_for_watchers a, span.add_attachment a {padding-left:16px; background: url(../images/bullet_add.png) no-repeat 0 50%; }
275
272
276
273
277 .highlight { background-color: #FCFD8D;}
274 .highlight { background-color: #FCFD8D;}
278 .highlight.token-1 { background-color: #faa;}
275 .highlight.token-1 { background-color: #faa;}
279 .highlight.token-2 { background-color: #afa;}
276 .highlight.token-2 { background-color: #afa;}
280 .highlight.token-3 { background-color: #aaf;}
277 .highlight.token-3 { background-color: #aaf;}
281
278
282 .box{
279 .box{
283 padding:6px;
280 padding:6px;
284 margin-bottom: 10px;
281 margin-bottom: 10px;
285 background-color:#f6f6f6;
282 background-color:#f6f6f6;
286 color:#505050;
283 color:#505050;
287 line-height:1.5em;
284 line-height:1.5em;
288 border: 1px solid #e4e4e4;
285 border: 1px solid #e4e4e4;
289 }
286 }
290
287
291 div.square {
288 div.square {
292 border: 1px solid #999;
289 border: 1px solid #999;
293 float: left;
290 float: left;
294 margin: .3em .4em 0 .4em;
291 margin: .3em .4em 0 .4em;
295 overflow: hidden;
292 overflow: hidden;
296 width: .6em; height: .6em;
293 width: .6em; height: .6em;
297 }
294 }
298 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
295 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
299 .contextual input, .contextual select {font-size:0.9em;}
296 .contextual input, .contextual select {font-size:0.9em;}
300 .message .contextual { margin-top: 0; }
297 .message .contextual { margin-top: 0; }
301
298
302 .splitcontent {overflow:auto;}
299 .splitcontent {overflow:auto;}
303 .splitcontentleft{float:left; width:49%;}
300 .splitcontentleft{float:left; width:49%;}
304 .splitcontentright{float:right; width:49%;}
301 .splitcontentright{float:right; width:49%;}
305 form {display: inline;}
302 form {display: inline;}
306 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
303 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
307 fieldset {border: 1px solid #e4e4e4; margin:0;}
304 fieldset {border: 1px solid #e4e4e4; margin:0;}
308 legend {color: #484848;}
305 legend {color: #484848;}
309 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
306 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
310 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
307 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
311 blockquote blockquote { margin-left: 0;}
308 blockquote blockquote { margin-left: 0;}
312 acronym { border-bottom: 1px dotted; cursor: help; }
309 acronym { border-bottom: 1px dotted; cursor: help; }
313 textarea.wiki-edit { width: 99%; }
310 textarea.wiki-edit { width: 99%; }
314 li p {margin-top: 0;}
311 li p {margin-top: 0;}
315 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
312 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
316 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
313 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
317 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
314 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
318 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
315 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
319
316
320 div.issue div.subject div div { padding-left: 16px; }
317 div.issue div.subject div div { padding-left: 16px; }
321 div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
318 div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
322 div.issue div.subject>div>p { margin-top: 0.5em; }
319 div.issue div.subject>div>p { margin-top: 0.5em; }
323 div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
320 div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
324 div.issue span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px;}
321 div.issue span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px;}
325 div.issue .next-prev-links {color:#999;}
322 div.issue .next-prev-links {color:#999;}
326 div.issue table.attributes th {width:22%;}
323 div.issue table.attributes th {width:22%;}
327 div.issue table.attributes td {width:28%;}
324 div.issue table.attributes td {width:28%;}
328
325
329 #issue_tree table.issues, #relations table.issues { border: 0; }
326 #issue_tree table.issues, #relations table.issues { border: 0; }
330 #issue_tree td.checkbox, #relations td.checkbox {display:none;}
327 #issue_tree td.checkbox, #relations td.checkbox {display:none;}
331 #relations td.buttons {padding:0;}
328 #relations td.buttons {padding:0;}
332
329
333 fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
330 fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
334 fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
331 fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
335 fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
332 fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
336
333
337 fieldset#date-range p { margin: 2px 0 2px 0; }
334 fieldset#date-range p { margin: 2px 0 2px 0; }
338 fieldset#filters table { border-collapse: collapse; }
335 fieldset#filters table { border-collapse: collapse; }
339 fieldset#filters table td { padding: 0; vertical-align: middle; }
336 fieldset#filters table td { padding: 0; vertical-align: middle; }
340 fieldset#filters tr.filter { height: 2em; }
337 fieldset#filters tr.filter { height: 2em; }
341 fieldset#filters td.field { width:200px; }
338 fieldset#filters td.field { width:200px; }
342 fieldset#filters td.operator { width:170px; }
339 fieldset#filters td.operator { width:170px; }
343 fieldset#filters td.values { white-space:nowrap; }
340 fieldset#filters td.values { white-space:nowrap; }
344 fieldset#filters td.values select {min-width:130px;}
341 fieldset#filters td.values select {min-width:130px;}
345 fieldset#filters td.values img { vertical-align: middle; margin-left:1px; }
342 fieldset#filters td.values img { vertical-align: middle; margin-left:1px; }
346 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
343 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
347 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
344 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
348
345
349 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
346 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
350 div#issue-changesets div.changeset { padding: 4px;}
347 div#issue-changesets div.changeset { padding: 4px;}
351 div#issue-changesets div.changeset { border-bottom: 1px solid #ddd; }
348 div#issue-changesets div.changeset { border-bottom: 1px solid #ddd; }
352 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
349 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
353
350
354 .journal ul.details img {margin:0 0 -3px 4px;}
351 .journal ul.details img {margin:0 0 -3px 4px;}
355
352
356 div#activity dl, #search-results { margin-left: 2em; }
353 div#activity dl, #search-results { margin-left: 2em; }
357 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
354 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
358 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
355 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
359 div#activity dt.me .time { border-bottom: 1px solid #999; }
356 div#activity dt.me .time { border-bottom: 1px solid #999; }
360 div#activity dt .time { color: #777; font-size: 80%; }
357 div#activity dt .time { color: #777; font-size: 80%; }
361 div#activity dd .description, #search-results dd .description { font-style: italic; }
358 div#activity dd .description, #search-results dd .description { font-style: italic; }
362 div#activity span.project:after, #search-results span.project:after { content: " -"; }
359 div#activity span.project:after, #search-results span.project:after { content: " -"; }
363 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
360 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
364
361
365 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
362 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
366
363
367 div#search-results-counts {float:right;}
364 div#search-results-counts {float:right;}
368 div#search-results-counts ul { margin-top: 0.5em; }
365 div#search-results-counts ul { margin-top: 0.5em; }
369 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
366 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
370
367
371 dt.issue { background-image: url(../images/ticket.png); }
368 dt.issue { background-image: url(../images/ticket.png); }
372 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
369 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
373 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
370 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
374 dt.issue-note { background-image: url(../images/ticket_note.png); }
371 dt.issue-note { background-image: url(../images/ticket_note.png); }
375 dt.changeset { background-image: url(../images/changeset.png); }
372 dt.changeset { background-image: url(../images/changeset.png); }
376 dt.news { background-image: url(../images/news.png); }
373 dt.news { background-image: url(../images/news.png); }
377 dt.message { background-image: url(../images/message.png); }
374 dt.message { background-image: url(../images/message.png); }
378 dt.reply { background-image: url(../images/comments.png); }
375 dt.reply { background-image: url(../images/comments.png); }
379 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
376 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
380 dt.attachment { background-image: url(../images/attachment.png); }
377 dt.attachment { background-image: url(../images/attachment.png); }
381 dt.document { background-image: url(../images/document.png); }
378 dt.document { background-image: url(../images/document.png); }
382 dt.project { background-image: url(../images/projects.png); }
379 dt.project { background-image: url(../images/projects.png); }
383 dt.time-entry { background-image: url(../images/time.png); }
380 dt.time-entry { background-image: url(../images/time.png); }
384
381
385 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
382 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
386
383
387 div#roadmap .related-issues { margin-bottom: 1em; }
384 div#roadmap .related-issues { margin-bottom: 1em; }
388 div#roadmap .related-issues td.checkbox { display: none; }
385 div#roadmap .related-issues td.checkbox { display: none; }
389 div#roadmap .wiki h1:first-child { display: none; }
386 div#roadmap .wiki h1:first-child { display: none; }
390 div#roadmap .wiki h1 { font-size: 120%; }
387 div#roadmap .wiki h1 { font-size: 120%; }
391 div#roadmap .wiki h2 { font-size: 110%; }
388 div#roadmap .wiki h2 { font-size: 110%; }
392 body.controller-versions.action-show div#roadmap .related-issues {width:70%;}
389 body.controller-versions.action-show div#roadmap .related-issues {width:70%;}
393
390
394 div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
391 div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
395 div#version-summary fieldset { margin-bottom: 1em; }
392 div#version-summary fieldset { margin-bottom: 1em; }
396 div#version-summary fieldset.time-tracking table { width:100%; }
393 div#version-summary fieldset.time-tracking table { width:100%; }
397 div#version-summary th, div#version-summary td.total-hours { text-align: right; }
394 div#version-summary th, div#version-summary td.total-hours { text-align: right; }
398
395
399 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
396 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
400 table#time-report tbody tr.subtotal { font-style: italic; color:#777;}
397 table#time-report tbody tr.subtotal { font-style: italic; color:#777;}
401 table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; }
398 table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; }
402 table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;}
399 table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;}
403 table#time-report .hours-dec { font-size: 0.9em; }
400 table#time-report .hours-dec { font-size: 0.9em; }
404
401
405 div.wiki-page .contextual a {opacity: 0.4}
402 div.wiki-page .contextual a {opacity: 0.4}
406 div.wiki-page .contextual a:hover {opacity: 1}
403 div.wiki-page .contextual a:hover {opacity: 1}
407
404
408 form .attributes select { width: 60%; }
405 form .attributes select { width: 60%; }
409 input#issue_subject { width: 99%; }
406 input#issue_subject { width: 99%; }
410 select#issue_done_ratio { width: 95px; }
407 select#issue_done_ratio { width: 95px; }
411
408
412 ul.projects { margin: 0; padding-left: 1em; }
409 ul.projects { margin: 0; padding-left: 1em; }
413 ul.projects.root { margin: 0; padding: 0; }
410 ul.projects.root { margin: 0; padding: 0; }
414 ul.projects ul.projects { border-left: 3px solid #e0e0e0; }
411 ul.projects ul.projects { border-left: 3px solid #e0e0e0; }
415 ul.projects li.root { list-style-type:none; margin-bottom: 1em; }
412 ul.projects li.root { list-style-type:none; margin-bottom: 1em; }
416 ul.projects li.child { list-style-type:none; margin-top: 1em;}
413 ul.projects li.child { list-style-type:none; margin-top: 1em;}
417 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
414 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
418 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
415 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
419
416
420 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
417 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
421 #tracker_project_ids li { list-style-type:none; }
418 #tracker_project_ids li { list-style-type:none; }
422
419
423 #related-issues li img {vertical-align:middle;}
420 #related-issues li img {vertical-align:middle;}
424
421
425 ul.properties {padding:0; font-size: 0.9em; color: #777;}
422 ul.properties {padding:0; font-size: 0.9em; color: #777;}
426 ul.properties li {list-style-type:none;}
423 ul.properties li {list-style-type:none;}
427 ul.properties li span {font-style:italic;}
424 ul.properties li span {font-style:italic;}
428
425
429 .total-hours { font-size: 110%; font-weight: bold; }
426 .total-hours { font-size: 110%; font-weight: bold; }
430 .total-hours span.hours-int { font-size: 120%; }
427 .total-hours span.hours-int { font-size: 120%; }
431
428
432 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
429 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
433 #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
430 #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
434
431
435 #workflow_copy_form select { width: 200px; }
432 #workflow_copy_form select { width: 200px; }
436 table.transitions td.enabled {background: #bfb;}
433 table.transitions td.enabled {background: #bfb;}
437 table.fields_permissions select {font-size:90%}
434 table.fields_permissions select {font-size:90%}
438 table.fields_permissions td.readonly {background:#ddd;}
435 table.fields_permissions td.readonly {background:#ddd;}
439 table.fields_permissions td.required {background:#d88;}
436 table.fields_permissions td.required {background:#d88;}
440
437
441 textarea#custom_field_possible_values {width: 99%}
438 textarea#custom_field_possible_values {width: 99%}
442 input#content_comments {width: 99%}
439 input#content_comments {width: 99%}
443
440
444 .pagination {font-size: 90%}
441 .pagination {font-size: 90%}
445 p.pagination {margin-top:8px;}
442 p.pagination {margin-top:8px;}
446
443
447 /***** Tabular forms ******/
444 /***** Tabular forms ******/
448 .tabular p{
445 .tabular p{
449 margin: 0;
446 margin: 0;
450 padding: 3px 0 3px 0;
447 padding: 3px 0 3px 0;
451 padding-left: 180px; /* width of left column containing the label elements */
448 padding-left: 180px; /* width of left column containing the label elements */
452 min-height: 1.8em;
449 min-height: 1.8em;
453 clear:left;
450 clear:left;
454 }
451 }
455
452
456 html>body .tabular p {overflow:hidden;}
453 html>body .tabular p {overflow:hidden;}
457
454
458 .tabular label{
455 .tabular label{
459 font-weight: bold;
456 font-weight: bold;
460 float: left;
457 float: left;
461 text-align: right;
458 text-align: right;
462 /* width of left column */
459 /* width of left column */
463 margin-left: -180px;
460 margin-left: -180px;
464 /* width of labels. Should be smaller than left column to create some right margin */
461 /* width of labels. Should be smaller than left column to create some right margin */
465 width: 175px;
462 width: 175px;
466 }
463 }
467
464
468 .tabular label.floating{
465 .tabular label.floating{
469 font-weight: normal;
466 font-weight: normal;
470 margin-left: 0px;
467 margin-left: 0px;
471 text-align: left;
468 text-align: left;
472 width: 270px;
469 width: 270px;
473 }
470 }
474
471
475 .tabular label.block{
472 .tabular label.block{
476 font-weight: normal;
473 font-weight: normal;
477 margin-left: 0px !important;
474 margin-left: 0px !important;
478 text-align: left;
475 text-align: left;
479 float: none;
476 float: none;
480 display: block;
477 display: block;
481 width: auto;
478 width: auto;
482 }
479 }
483
480
484 .tabular label.inline{
481 .tabular label.inline{
485 float:none;
482 float:none;
486 margin-left: 5px !important;
483 margin-left: 5px !important;
487 width: auto;
484 width: auto;
488 }
485 }
489
486
490 label.no-css {
487 label.no-css {
491 font-weight: inherit;
488 font-weight: inherit;
492 float:none;
489 float:none;
493 text-align:left;
490 text-align:left;
494 margin-left:0px;
491 margin-left:0px;
495 width:auto;
492 width:auto;
496 }
493 }
497 input#time_entry_comments { width: 90%;}
494 input#time_entry_comments { width: 90%;}
498
495
499 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
496 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
500
497
501 .tabular.settings p{ padding-left: 300px; }
498 .tabular.settings p{ padding-left: 300px; }
502 .tabular.settings label{ margin-left: -300px; width: 295px; }
499 .tabular.settings label{ margin-left: -300px; width: 295px; }
503 .tabular.settings textarea { width: 99%; }
500 .tabular.settings textarea { width: 99%; }
504
501
505 .settings.enabled_scm table {width:100%}
502 .settings.enabled_scm table {width:100%}
506 .settings.enabled_scm td.scm_name{ font-weight: bold; }
503 .settings.enabled_scm td.scm_name{ font-weight: bold; }
507
504
508 fieldset.settings label { display: block; }
505 fieldset.settings label { display: block; }
509 fieldset#notified_events .parent { padding-left: 20px; }
506 fieldset#notified_events .parent { padding-left: 20px; }
510
507
511 span.required {color: #bb0000;}
508 span.required {color: #bb0000;}
512 .summary {font-style: italic;}
509 .summary {font-style: italic;}
513
510
514 #attachments_fields input.description {margin-left: 8px; width:340px;}
511 #attachments_fields input.description {margin-left: 8px; width:340px;}
515 #attachments_fields span {display:block; white-space:nowrap;}
512 #attachments_fields span {display:block; white-space:nowrap;}
516 #attachments_fields img {vertical-align: middle;}
513 #attachments_fields img {vertical-align: middle;}
517
514
518 div.attachments { margin-top: 12px; }
515 div.attachments { margin-top: 12px; }
519 div.attachments p { margin:4px 0 2px 0; }
516 div.attachments p { margin:4px 0 2px 0; }
520 div.attachments img { vertical-align: middle; }
517 div.attachments img { vertical-align: middle; }
521 div.attachments span.author { font-size: 0.9em; color: #888; }
518 div.attachments span.author { font-size: 0.9em; color: #888; }
522
519
523 div.thumbnails {margin-top:0.6em;}
520 div.thumbnails {margin-top:0.6em;}
524 div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;}
521 div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;}
525 div.thumbnails img {margin: 3px;}
522 div.thumbnails img {margin: 3px;}
526
523
527 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
524 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
528 .other-formats span + span:before { content: "| "; }
525 .other-formats span + span:before { content: "| "; }
529
526
530 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
527 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
531
528
532 em.info {font-style:normal;font-size:90%;color:#888;display:block;}
529 em.info {font-style:normal;font-size:90%;color:#888;display:block;}
533 em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;}
530 em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;}
534
531
535 textarea.text_cf {width:90%;}
532 textarea.text_cf {width:90%;}
536
533
537 /* Project members tab */
534 /* Project members tab */
538 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
535 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
539 div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
536 div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
540 div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
537 div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
541 div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
538 div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
542 div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
539 div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
543 div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
540 div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
544
541
545 #users_for_watcher {height: 200px; overflow:auto;}
542 #users_for_watcher {height: 200px; overflow:auto;}
546 #users_for_watcher label {display: block;}
543 #users_for_watcher label {display: block;}
547
544
548 table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; }
545 table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; }
549
546
550 input#principal_search, input#user_search {width:100%}
547 input#principal_search, input#user_search {width:100%}
551 input#principal_search, input#user_search {
548 input#principal_search, input#user_search {
552 background: url(../images/magnifier.png) no-repeat 2px 50%; padding-left:20px;
549 background: url(../images/magnifier.png) no-repeat 2px 50%; padding-left:20px;
553 border:1px solid #9EB1C2; border-radius:3px; height:1.5em; width:95%;
550 border:1px solid #9EB1C2; border-radius:3px; height:1.5em; width:95%;
554 }
551 }
555 input#principal_search.ajax-loading, input#user_search.ajax-loading {
552 input#principal_search.ajax-loading, input#user_search.ajax-loading {
556 background-image: url(../images/loading.gif);
553 background-image: url(../images/loading.gif);
557 }
554 }
558
555
559 * html div#tab-content-members fieldset div { height: 450px; }
556 * html div#tab-content-members fieldset div { height: 450px; }
560
557
561 /***** Flash & error messages ****/
558 /***** Flash & error messages ****/
562 #errorExplanation, div.flash, .nodata, .warning, .conflict {
559 #errorExplanation, div.flash, .nodata, .warning, .conflict {
563 padding: 4px 4px 4px 30px;
560 padding: 4px 4px 4px 30px;
564 margin-bottom: 12px;
561 margin-bottom: 12px;
565 font-size: 1.1em;
562 font-size: 1.1em;
566 border: 2px solid;
563 border: 2px solid;
567 }
564 }
568
565
569 div.flash {margin-top: 8px;}
566 div.flash {margin-top: 8px;}
570
567
571 div.flash.error, #errorExplanation {
568 div.flash.error, #errorExplanation {
572 background: url(../images/exclamation.png) 8px 50% no-repeat;
569 background: url(../images/exclamation.png) 8px 50% no-repeat;
573 background-color: #ffe3e3;
570 background-color: #ffe3e3;
574 border-color: #dd0000;
571 border-color: #dd0000;
575 color: #880000;
572 color: #880000;
576 }
573 }
577
574
578 div.flash.notice {
575 div.flash.notice {
579 background: url(../images/true.png) 8px 5px no-repeat;
576 background: url(../images/true.png) 8px 5px no-repeat;
580 background-color: #dfffdf;
577 background-color: #dfffdf;
581 border-color: #9fcf9f;
578 border-color: #9fcf9f;
582 color: #005f00;
579 color: #005f00;
583 }
580 }
584
581
585 div.flash.warning, .conflict {
582 div.flash.warning, .conflict {
586 background: url(../images/warning.png) 8px 5px no-repeat;
583 background: url(../images/warning.png) 8px 5px no-repeat;
587 background-color: #FFEBC1;
584 background-color: #FFEBC1;
588 border-color: #FDBF3B;
585 border-color: #FDBF3B;
589 color: #A6750C;
586 color: #A6750C;
590 text-align: left;
587 text-align: left;
591 }
588 }
592
589
593 .nodata, .warning {
590 .nodata, .warning {
594 text-align: center;
591 text-align: center;
595 background-color: #FFEBC1;
592 background-color: #FFEBC1;
596 border-color: #FDBF3B;
593 border-color: #FDBF3B;
597 color: #A6750C;
594 color: #A6750C;
598 }
595 }
599
596
600 #errorExplanation ul { font-size: 0.9em;}
597 #errorExplanation ul { font-size: 0.9em;}
601 #errorExplanation h2, #errorExplanation p { display: none; }
598 #errorExplanation h2, #errorExplanation p { display: none; }
602
599
603 .conflict-details {font-size:80%;}
600 .conflict-details {font-size:80%;}
604
601
605 /***** Ajax indicator ******/
602 /***** Ajax indicator ******/
606 #ajax-indicator {
603 #ajax-indicator {
607 position: absolute; /* fixed not supported by IE */
604 position: absolute; /* fixed not supported by IE */
608 background-color:#eee;
605 background-color:#eee;
609 border: 1px solid #bbb;
606 border: 1px solid #bbb;
610 top:35%;
607 top:35%;
611 left:40%;
608 left:40%;
612 width:20%;
609 width:20%;
613 font-weight:bold;
610 font-weight:bold;
614 text-align:center;
611 text-align:center;
615 padding:0.6em;
612 padding:0.6em;
616 z-index:100;
613 z-index:100;
617 opacity: 0.5;
614 opacity: 0.5;
618 }
615 }
619
616
620 html>body #ajax-indicator { position: fixed; }
617 html>body #ajax-indicator { position: fixed; }
621
618
622 #ajax-indicator span {
619 #ajax-indicator span {
623 background-position: 0% 40%;
620 background-position: 0% 40%;
624 background-repeat: no-repeat;
621 background-repeat: no-repeat;
625 background-image: url(../images/loading.gif);
622 background-image: url(../images/loading.gif);
626 padding-left: 26px;
623 padding-left: 26px;
627 vertical-align: bottom;
624 vertical-align: bottom;
628 }
625 }
629
626
630 /***** Calendar *****/
627 /***** Calendar *****/
631 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
628 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
632 table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; }
629 table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; }
633 table.cal thead th.week-number {width: auto;}
630 table.cal thead th.week-number {width: auto;}
634 table.cal tbody tr {height: 100px;}
631 table.cal tbody tr {height: 100px;}
635 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
632 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
636 table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;}
633 table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;}
637 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
634 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
638 table.cal td.odd p.day-num {color: #bbb;}
635 table.cal td.odd p.day-num {color: #bbb;}
639 table.cal td.today {background:#ffffdd;}
636 table.cal td.today {background:#ffffdd;}
640 table.cal td.today p.day-num {font-weight: bold;}
637 table.cal td.today p.day-num {font-weight: bold;}
641 table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
638 table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
642 table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
639 table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
643 table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
640 table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
644 p.cal.legend span {display:block;}
641 p.cal.legend span {display:block;}
645
642
646 /***** Tooltips ******/
643 /***** Tooltips ******/
647 .tooltip{position:relative;z-index:24;}
644 .tooltip{position:relative;z-index:24;}
648 .tooltip:hover{z-index:25;color:#000;}
645 .tooltip:hover{z-index:25;color:#000;}
649 .tooltip span.tip{display: none; text-align:left;}
646 .tooltip span.tip{display: none; text-align:left;}
650
647
651 div.tooltip:hover span.tip{
648 div.tooltip:hover span.tip{
652 display:block;
649 display:block;
653 position:absolute;
650 position:absolute;
654 top:12px; left:24px; width:270px;
651 top:12px; left:24px; width:270px;
655 border:1px solid #555;
652 border:1px solid #555;
656 background-color:#fff;
653 background-color:#fff;
657 padding: 4px;
654 padding: 4px;
658 font-size: 0.8em;
655 font-size: 0.8em;
659 color:#505050;
656 color:#505050;
660 }
657 }
661
658
662 img.ui-datepicker-trigger {
659 img.ui-datepicker-trigger {
663 cursor: pointer;
660 cursor: pointer;
664 vertical-align: middle;
661 vertical-align: middle;
665 margin-left: 4px;
662 margin-left: 4px;
666 }
663 }
667
664
668 /***** Progress bar *****/
665 /***** Progress bar *****/
669 table.progress {
666 table.progress {
670 border-collapse: collapse;
667 border-collapse: collapse;
671 border-spacing: 0pt;
668 border-spacing: 0pt;
672 empty-cells: show;
669 empty-cells: show;
673 text-align: center;
670 text-align: center;
674 float:left;
671 float:left;
675 margin: 1px 6px 1px 0px;
672 margin: 1px 6px 1px 0px;
676 }
673 }
677
674
678 table.progress td { height: 1em; }
675 table.progress td { height: 1em; }
679 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
676 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
680 table.progress td.done { background: #D3EDD3 none repeat scroll 0%; }
677 table.progress td.done { background: #D3EDD3 none repeat scroll 0%; }
681 table.progress td.todo { background: #eee none repeat scroll 0%; }
678 table.progress td.todo { background: #eee none repeat scroll 0%; }
682 p.pourcent {font-size: 80%;}
679 p.pourcent {font-size: 80%;}
683 p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;}
680 p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;}
684
681
685 #roadmap table.progress td { height: 1.2em; }
682 #roadmap table.progress td { height: 1.2em; }
686 /***** Tabs *****/
683 /***** Tabs *****/
687 #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
684 #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
688 #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
685 #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
689 #content .tabs ul li {
686 #content .tabs ul li {
690 float:left;
687 float:left;
691 list-style-type:none;
688 list-style-type:none;
692 white-space:nowrap;
689 white-space:nowrap;
693 margin-right:4px;
690 margin-right:4px;
694 background:#fff;
691 background:#fff;
695 position:relative;
692 position:relative;
696 margin-bottom:-1px;
693 margin-bottom:-1px;
697 }
694 }
698 #content .tabs ul li a{
695 #content .tabs ul li a{
699 display:block;
696 display:block;
700 font-size: 0.9em;
697 font-size: 0.9em;
701 text-decoration:none;
698 text-decoration:none;
702 line-height:1.3em;
699 line-height:1.3em;
703 padding:4px 6px 4px 6px;
700 padding:4px 6px 4px 6px;
704 border: 1px solid #ccc;
701 border: 1px solid #ccc;
705 border-bottom: 1px solid #bbbbbb;
702 border-bottom: 1px solid #bbbbbb;
706 background-color: #f6f6f6;
703 background-color: #f6f6f6;
707 color:#999;
704 color:#999;
708 font-weight:bold;
705 font-weight:bold;
709 border-top-left-radius:3px;
706 border-top-left-radius:3px;
710 border-top-right-radius:3px;
707 border-top-right-radius:3px;
711 }
708 }
712
709
713 #content .tabs ul li a:hover {
710 #content .tabs ul li a:hover {
714 background-color: #ffffdd;
711 background-color: #ffffdd;
715 text-decoration:none;
712 text-decoration:none;
716 }
713 }
717
714
718 #content .tabs ul li a.selected {
715 #content .tabs ul li a.selected {
719 background-color: #fff;
716 background-color: #fff;
720 border: 1px solid #bbbbbb;
717 border: 1px solid #bbbbbb;
721 border-bottom: 1px solid #fff;
718 border-bottom: 1px solid #fff;
722 color:#444;
719 color:#444;
723 }
720 }
724
721
725 #content .tabs ul li a.selected:hover {
722 #content .tabs ul li a.selected:hover {
726 background-color: #fff;
723 background-color: #fff;
727 }
724 }
728
725
729 div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
726 div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
730
727
731 button.tab-left, button.tab-right {
728 button.tab-left, button.tab-right {
732 font-size: 0.9em;
729 font-size: 0.9em;
733 cursor: pointer;
730 cursor: pointer;
734 height:24px;
731 height:24px;
735 border: 1px solid #ccc;
732 border: 1px solid #ccc;
736 border-bottom: 1px solid #bbbbbb;
733 border-bottom: 1px solid #bbbbbb;
737 position:absolute;
734 position:absolute;
738 padding:4px;
735 padding:4px;
739 width: 20px;
736 width: 20px;
740 bottom: -1px;
737 bottom: -1px;
741 }
738 }
742
739
743 button.tab-left {
740 button.tab-left {
744 right: 20px;
741 right: 20px;
745 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
742 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
746 border-top-left-radius:3px;
743 border-top-left-radius:3px;
747 }
744 }
748
745
749 button.tab-right {
746 button.tab-right {
750 right: 0;
747 right: 0;
751 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;
748 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;
752 border-top-right-radius:3px;
749 border-top-right-radius:3px;
753 }
750 }
754
751
755 /***** Auto-complete *****/
752 /***** Auto-complete *****/
756 div.autocomplete {
753 div.autocomplete {
757 position:absolute;
754 position:absolute;
758 width:400px;
755 width:400px;
759 margin:0;
756 margin:0;
760 padding:0;
757 padding:0;
761 }
758 }
762 div.autocomplete ul {
759 div.autocomplete ul {
763 list-style-type:none;
760 list-style-type:none;
764 margin:0;
761 margin:0;
765 padding:0;
762 padding:0;
766 }
763 }
767 div.autocomplete ul li {
764 div.autocomplete ul li {
768 list-style-type:none;
765 list-style-type:none;
769 display:block;
766 display:block;
770 margin:-1px 0 0 0;
767 margin:-1px 0 0 0;
771 padding:2px;
768 padding:2px;
772 cursor:pointer;
769 cursor:pointer;
773 font-size: 90%;
770 font-size: 90%;
774 border: 1px solid #ccc;
771 border: 1px solid #ccc;
775 border-left: 1px solid #ccc;
772 border-left: 1px solid #ccc;
776 border-right: 1px solid #ccc;
773 border-right: 1px solid #ccc;
777 background-color:white;
774 background-color:white;
778 }
775 }
779 div.autocomplete ul li.selected { background-color: #ffb;}
776 div.autocomplete ul li.selected { background-color: #ffb;}
780 div.autocomplete ul li span.informal {
777 div.autocomplete ul li span.informal {
781 font-size: 80%;
778 font-size: 80%;
782 color: #aaa;
779 color: #aaa;
783 }
780 }
784
781
785 #parent_issue_candidates ul li {width: 500px;}
782 #parent_issue_candidates ul li {width: 500px;}
786 #related_issue_candidates ul li {width: 500px;}
783 #related_issue_candidates ul li {width: 500px;}
787
784
788 /***** Diff *****/
785 /***** Diff *****/
789 .diff_out { background: #fcc; }
786 .diff_out { background: #fcc; }
790 .diff_out span { background: #faa; }
787 .diff_out span { background: #faa; }
791 .diff_in { background: #cfc; }
788 .diff_in { background: #cfc; }
792 .diff_in span { background: #afa; }
789 .diff_in span { background: #afa; }
793
790
794 .text-diff {
791 .text-diff {
795 padding: 1em;
792 padding: 1em;
796 background-color:#f6f6f6;
793 background-color:#f6f6f6;
797 color:#505050;
794 color:#505050;
798 border: 1px solid #e4e4e4;
795 border: 1px solid #e4e4e4;
799 }
796 }
800
797
801 /***** Wiki *****/
798 /***** Wiki *****/
802 div.wiki table {
799 div.wiki table {
803 border-collapse: collapse;
800 border-collapse: collapse;
804 margin-bottom: 1em;
801 margin-bottom: 1em;
805 }
802 }
806
803
807 div.wiki table, div.wiki td, div.wiki th {
804 div.wiki table, div.wiki td, div.wiki th {
808 border: 1px solid #bbb;
805 border: 1px solid #bbb;
809 padding: 4px;
806 padding: 4px;
810 }
807 }
811
808
812 div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;}
809 div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;}
813
810
814 div.wiki .external {
811 div.wiki .external {
815 background-position: 0% 60%;
812 background-position: 0% 60%;
816 background-repeat: no-repeat;
813 background-repeat: no-repeat;
817 padding-left: 12px;
814 padding-left: 12px;
818 background-image: url(../images/external.png);
815 background-image: url(../images/external.png);
819 }
816 }
820
817
821 div.wiki a.new {
818 div.wiki a.new {
822 color: #b73535;
819 color: #b73535;
823 }
820 }
824
821
825 div.wiki ul, div.wiki ol {margin-bottom:1em;}
822 div.wiki ul, div.wiki ol {margin-bottom:1em;}
826
823
827 div.wiki pre {
824 div.wiki pre {
828 margin: 1em 1em 1em 1.6em;
825 margin: 1em 1em 1em 1.6em;
829 padding: 2px 2px 2px 0;
826 padding: 2px 2px 2px 0;
830 background-color: #fafafa;
827 background-color: #fafafa;
831 border: 1px solid #dadada;
828 border: 1px solid #dadada;
832 width:auto;
829 width:auto;
833 overflow-x: auto;
830 overflow-x: auto;
834 overflow-y: hidden;
831 overflow-y: hidden;
835 }
832 }
836
833
837 div.wiki ul.toc {
834 div.wiki ul.toc {
838 background-color: #ffffdd;
835 background-color: #ffffdd;
839 border: 1px solid #e4e4e4;
836 border: 1px solid #e4e4e4;
840 padding: 4px;
837 padding: 4px;
841 line-height: 1.2em;
838 line-height: 1.2em;
842 margin-bottom: 12px;
839 margin-bottom: 12px;
843 margin-right: 12px;
840 margin-right: 12px;
844 margin-left: 0;
841 margin-left: 0;
845 display: table
842 display: table
846 }
843 }
847 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
844 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
848
845
849 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
846 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
850 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
847 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
851 div.wiki ul.toc ul { margin: 0; padding: 0; }
848 div.wiki ul.toc ul { margin: 0; padding: 0; }
852 div.wiki ul.toc li { list-style-type:none; margin: 0;}
849 div.wiki ul.toc li { list-style-type:none; margin: 0;}
853 div.wiki ul.toc li li { margin-left: 1.5em; }
850 div.wiki ul.toc li li { margin-left: 1.5em; }
854 div.wiki ul.toc li li li { font-size: 0.8em; }
851 div.wiki ul.toc li li li { font-size: 0.8em; }
855
852
856 div.wiki ul.toc a {
853 div.wiki ul.toc a {
857 font-size: 0.9em;
854 font-size: 0.9em;
858 font-weight: normal;
855 font-weight: normal;
859 text-decoration: none;
856 text-decoration: none;
860 color: #606060;
857 color: #606060;
861 }
858 }
862 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
859 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
863
860
864 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
861 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
865 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
862 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
866 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
863 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
867
864
868 div.wiki img { vertical-align: middle; }
865 div.wiki img { vertical-align: middle; }
869
866
870 /***** My page layout *****/
867 /***** My page layout *****/
871 .block-receiver {
868 .block-receiver {
872 border:1px dashed #c0c0c0;
869 border:1px dashed #c0c0c0;
873 margin-bottom: 20px;
870 margin-bottom: 20px;
874 padding: 15px 0 15px 0;
871 padding: 15px 0 15px 0;
875 }
872 }
876
873
877 .mypage-box {
874 .mypage-box {
878 margin:0 0 20px 0;
875 margin:0 0 20px 0;
879 color:#505050;
876 color:#505050;
880 line-height:1.5em;
877 line-height:1.5em;
881 }
878 }
882
879
883 .handle {
880 .handle {
884 cursor: move;
881 cursor: move;
885 }
882 }
886
883
887 a.close-icon {
884 a.close-icon {
888 display:block;
885 display:block;
889 margin-top:3px;
886 margin-top:3px;
890 overflow:hidden;
887 overflow:hidden;
891 width:12px;
888 width:12px;
892 height:12px;
889 height:12px;
893 background-repeat: no-repeat;
890 background-repeat: no-repeat;
894 cursor:pointer;
891 cursor:pointer;
895 background-image:url('../images/close.png');
892 background-image:url('../images/close.png');
896 }
893 }
897
894
898 a.close-icon:hover {
895 a.close-icon:hover {
899 background-image:url('../images/close_hl.png');
896 background-image:url('../images/close_hl.png');
900 }
897 }
901
898
902 /***** Gantt chart *****/
899 /***** Gantt chart *****/
903 .gantt_hdr {
900 .gantt_hdr {
904 position:absolute;
901 position:absolute;
905 top:0;
902 top:0;
906 height:16px;
903 height:16px;
907 border-top: 1px solid #c0c0c0;
904 border-top: 1px solid #c0c0c0;
908 border-bottom: 1px solid #c0c0c0;
905 border-bottom: 1px solid #c0c0c0;
909 border-right: 1px solid #c0c0c0;
906 border-right: 1px solid #c0c0c0;
910 text-align: center;
907 text-align: center;
911 overflow: hidden;
908 overflow: hidden;
912 }
909 }
913
910
914 .gantt_subjects { font-size: 0.8em; }
911 .gantt_subjects { font-size: 0.8em; }
915 .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }
912 .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }
916
913
917 .task {
914 .task {
918 position: absolute;
915 position: absolute;
919 height:8px;
916 height:8px;
920 font-size:0.8em;
917 font-size:0.8em;
921 color:#888;
918 color:#888;
922 padding:0;
919 padding:0;
923 margin:0;
920 margin:0;
924 line-height:16px;
921 line-height:16px;
925 white-space:nowrap;
922 white-space:nowrap;
926 }
923 }
927
924
928 .task.label {width:100%;}
925 .task.label {width:100%;}
929 .task.label.project, .task.label.version { font-weight: bold; }
926 .task.label.project, .task.label.version { font-weight: bold; }
930
927
931 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
928 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
932 .task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; }
929 .task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; }
933 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
930 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
934
931
935 .task_todo.parent { background: #888; border: 1px solid #888; height: 3px;}
932 .task_todo.parent { background: #888; border: 1px solid #888; height: 3px;}
936 .task_late.parent, .task_done.parent { height: 3px;}
933 .task_late.parent, .task_done.parent { height: 3px;}
937 .task.parent.marker.starting { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; left: 0px; top: -1px;}
934 .task.parent.marker.starting { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; left: 0px; top: -1px;}
938 .task.parent.marker.ending { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; right: 0px; top: -1px;}
935 .task.parent.marker.ending { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; right: 0px; top: -1px;}
939
936
940 .version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
937 .version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
941 .version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
938 .version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
942 .version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
939 .version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
943 .version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
940 .version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
944
941
945 .project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
942 .project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
946 .project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
943 .project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
947 .project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
944 .project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
948 .project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
945 .project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
949
946
950 .version-behind-schedule a, .issue-behind-schedule a {color: #f66914;}
947 .version-behind-schedule a, .issue-behind-schedule a {color: #f66914;}
951 .version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}
948 .version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}
952
949
953 /***** Icons *****/
950 /***** Icons *****/
954 .icon {
951 .icon {
955 background-position: 0% 50%;
952 background-position: 0% 50%;
956 background-repeat: no-repeat;
953 background-repeat: no-repeat;
957 padding-left: 20px;
954 padding-left: 20px;
958 padding-top: 2px;
955 padding-top: 2px;
959 padding-bottom: 3px;
956 padding-bottom: 3px;
960 }
957 }
961
958
962 .icon-add { background-image: url(../images/add.png); }
959 .icon-add { background-image: url(../images/add.png); }
963 .icon-edit { background-image: url(../images/edit.png); }
960 .icon-edit { background-image: url(../images/edit.png); }
964 .icon-copy { background-image: url(../images/copy.png); }
961 .icon-copy { background-image: url(../images/copy.png); }
965 .icon-duplicate { background-image: url(../images/duplicate.png); }
962 .icon-duplicate { background-image: url(../images/duplicate.png); }
966 .icon-del { background-image: url(../images/delete.png); }
963 .icon-del { background-image: url(../images/delete.png); }
967 .icon-move { background-image: url(../images/move.png); }
964 .icon-move { background-image: url(../images/move.png); }
968 .icon-save { background-image: url(../images/save.png); }
965 .icon-save { background-image: url(../images/save.png); }
969 .icon-cancel { background-image: url(../images/cancel.png); }
966 .icon-cancel { background-image: url(../images/cancel.png); }
970 .icon-multiple { background-image: url(../images/table_multiple.png); }
967 .icon-multiple { background-image: url(../images/table_multiple.png); }
971 .icon-folder { background-image: url(../images/folder.png); }
968 .icon-folder { background-image: url(../images/folder.png); }
972 .open .icon-folder { background-image: url(../images/folder_open.png); }
969 .open .icon-folder { background-image: url(../images/folder_open.png); }
973 .icon-package { background-image: url(../images/package.png); }
970 .icon-package { background-image: url(../images/package.png); }
974 .icon-user { background-image: url(../images/user.png); }
971 .icon-user { background-image: url(../images/user.png); }
975 .icon-projects { background-image: url(../images/projects.png); }
972 .icon-projects { background-image: url(../images/projects.png); }
976 .icon-help { background-image: url(../images/help.png); }
973 .icon-help { background-image: url(../images/help.png); }
977 .icon-attachment { background-image: url(../images/attachment.png); }
974 .icon-attachment { background-image: url(../images/attachment.png); }
978 .icon-history { background-image: url(../images/history.png); }
975 .icon-history { background-image: url(../images/history.png); }
979 .icon-time { background-image: url(../images/time.png); }
976 .icon-time { background-image: url(../images/time.png); }
980 .icon-time-add { background-image: url(../images/time_add.png); }
977 .icon-time-add { background-image: url(../images/time_add.png); }
981 .icon-stats { background-image: url(../images/stats.png); }
978 .icon-stats { background-image: url(../images/stats.png); }
982 .icon-warning { background-image: url(../images/warning.png); }
979 .icon-warning { background-image: url(../images/warning.png); }
983 .icon-fav { background-image: url(../images/fav.png); }
980 .icon-fav { background-image: url(../images/fav.png); }
984 .icon-fav-off { background-image: url(../images/fav_off.png); }
981 .icon-fav-off { background-image: url(../images/fav_off.png); }
985 .icon-reload { background-image: url(../images/reload.png); }
982 .icon-reload { background-image: url(../images/reload.png); }
986 .icon-lock { background-image: url(../images/locked.png); }
983 .icon-lock { background-image: url(../images/locked.png); }
987 .icon-unlock { background-image: url(../images/unlock.png); }
984 .icon-unlock { background-image: url(../images/unlock.png); }
988 .icon-checked { background-image: url(../images/true.png); }
985 .icon-checked { background-image: url(../images/true.png); }
989 .icon-details { background-image: url(../images/zoom_in.png); }
986 .icon-details { background-image: url(../images/zoom_in.png); }
990 .icon-report { background-image: url(../images/report.png); }
987 .icon-report { background-image: url(../images/report.png); }
991 .icon-comment { background-image: url(../images/comment.png); }
988 .icon-comment { background-image: url(../images/comment.png); }
992 .icon-summary { background-image: url(../images/lightning.png); }
989 .icon-summary { background-image: url(../images/lightning.png); }
993 .icon-server-authentication { background-image: url(../images/server_key.png); }
990 .icon-server-authentication { background-image: url(../images/server_key.png); }
994 .icon-issue { background-image: url(../images/ticket.png); }
991 .icon-issue { background-image: url(../images/ticket.png); }
995 .icon-zoom-in { background-image: url(../images/zoom_in.png); }
992 .icon-zoom-in { background-image: url(../images/zoom_in.png); }
996 .icon-zoom-out { background-image: url(../images/zoom_out.png); }
993 .icon-zoom-out { background-image: url(../images/zoom_out.png); }
997 .icon-passwd { background-image: url(../images/textfield_key.png); }
994 .icon-passwd { background-image: url(../images/textfield_key.png); }
998 .icon-test { background-image: url(../images/bullet_go.png); }
995 .icon-test { background-image: url(../images/bullet_go.png); }
999
996
1000 .icon-file { background-image: url(../images/files/default.png); }
997 .icon-file { background-image: url(../images/files/default.png); }
1001 .icon-file.text-plain { background-image: url(../images/files/text.png); }
998 .icon-file.text-plain { background-image: url(../images/files/text.png); }
1002 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
999 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
1003 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
1000 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
1004 .icon-file.text-x-java { background-image: url(../images/files/java.png); }
1001 .icon-file.text-x-java { background-image: url(../images/files/java.png); }
1005 .icon-file.text-x-javascript { background-image: url(../images/files/js.png); }
1002 .icon-file.text-x-javascript { background-image: url(../images/files/js.png); }
1006 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
1003 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
1007 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
1004 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
1008 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
1005 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
1009 .icon-file.text-css { background-image: url(../images/files/css.png); }
1006 .icon-file.text-css { background-image: url(../images/files/css.png); }
1010 .icon-file.text-html { background-image: url(../images/files/html.png); }
1007 .icon-file.text-html { background-image: url(../images/files/html.png); }
1011 .icon-file.image-gif { background-image: url(../images/files/image.png); }
1008 .icon-file.image-gif { background-image: url(../images/files/image.png); }
1012 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
1009 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
1013 .icon-file.image-png { background-image: url(../images/files/image.png); }
1010 .icon-file.image-png { background-image: url(../images/files/image.png); }
1014 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
1011 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
1015 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
1012 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
1016 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
1013 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
1017 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
1014 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
1018
1015
1019 img.gravatar {
1016 img.gravatar {
1020 padding: 2px;
1017 padding: 2px;
1021 border: solid 1px #d5d5d5;
1018 border: solid 1px #d5d5d5;
1022 background: #fff;
1019 background: #fff;
1023 vertical-align: middle;
1020 vertical-align: middle;
1024 }
1021 }
1025
1022
1026 div.issue img.gravatar {
1023 div.issue img.gravatar {
1027 float: left;
1024 float: left;
1028 margin: 0 6px 0 0;
1025 margin: 0 6px 0 0;
1029 padding: 5px;
1026 padding: 5px;
1030 }
1027 }
1031
1028
1032 div.issue table img.gravatar {
1029 div.issue table img.gravatar {
1033 height: 14px;
1030 height: 14px;
1034 width: 14px;
1031 width: 14px;
1035 padding: 2px;
1032 padding: 2px;
1036 float: left;
1033 float: left;
1037 margin: 0 0.5em 0 0;
1034 margin: 0 0.5em 0 0;
1038 }
1035 }
1039
1036
1040 h2 img.gravatar {
1037 h2 img.gravatar {
1041 margin: -2px 4px -4px 0;
1038 margin: -2px 4px -4px 0;
1042 }
1039 }
1043
1040
1044 h3 img.gravatar {
1041 h3 img.gravatar {
1045 margin: -4px 4px -4px 0;
1042 margin: -4px 4px -4px 0;
1046 }
1043 }
1047
1044
1048 h4 img.gravatar {
1045 h4 img.gravatar {
1049 margin: -6px 4px -4px 0;
1046 margin: -6px 4px -4px 0;
1050 }
1047 }
1051
1048
1052 td.username img.gravatar {
1049 td.username img.gravatar {
1053 margin: 0 0.5em 0 0;
1050 margin: 0 0.5em 0 0;
1054 vertical-align: top;
1051 vertical-align: top;
1055 }
1052 }
1056
1053
1057 #activity dt img.gravatar {
1054 #activity dt img.gravatar {
1058 float: left;
1055 float: left;
1059 margin: 0 1em 1em 0;
1056 margin: 0 1em 1em 0;
1060 }
1057 }
1061
1058
1062 /* Used on 12px Gravatar img tags without the icon background */
1059 /* Used on 12px Gravatar img tags without the icon background */
1063 .icon-gravatar {
1060 .icon-gravatar {
1064 float: left;
1061 float: left;
1065 margin-right: 4px;
1062 margin-right: 4px;
1066 }
1063 }
1067
1064
1068 #activity dt,
1065 #activity dt,
1069 .journal {
1066 .journal {
1070 clear: left;
1067 clear: left;
1071 }
1068 }
1072
1069
1073 .journal-link {
1070 .journal-link {
1074 float: right;
1071 float: right;
1075 }
1072 }
1076
1073
1077 h2 img { vertical-align:middle; }
1074 h2 img { vertical-align:middle; }
1078
1075
1079 .hascontextmenu { cursor: context-menu; }
1076 .hascontextmenu { cursor: context-menu; }
1080
1077
1081 /***** Media print specific styles *****/
1078 /***** Media print specific styles *****/
1082 @media print {
1079 @media print {
1083 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
1080 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
1084 #main { background: #fff; }
1081 #main { background: #fff; }
1085 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
1082 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
1086 #wiki_add_attachment { display:none; }
1083 #wiki_add_attachment { display:none; }
1087 .hide-when-print { display: none; }
1084 .hide-when-print { display: none; }
1088 .autoscroll {overflow-x: visible;}
1085 .autoscroll {overflow-x: visible;}
1089 table.list {margin-top:0.5em;}
1086 table.list {margin-top:0.5em;}
1090 table.list th, table.list td {border: 1px solid #aaa;}
1087 table.list th, table.list td {border: 1px solid #aaa;}
1091 }
1088 }
1092
1089
1093 /* Accessibility specific styles */
1090 /* Accessibility specific styles */
1094 .hidden-for-sighted {
1091 .hidden-for-sighted {
1095 position:absolute;
1092 position:absolute;
1096 left:-10000px;
1093 left:-10000px;
1097 top:auto;
1094 top:auto;
1098 width:1px;
1095 width:1px;
1099 height:1px;
1096 height:1px;
1100 overflow:hidden;
1097 overflow:hidden;
1101 }
1098 }
General Comments 0
You need to be logged in to leave comments. Login now