##// END OF EJS Templates
Convert the file attachment's description to a label....
Eric Davis -
r3636:e320017cf020
parent child
Show More
@@ -1,9 +1,9
1 1 <span id="attachments_fields">
2 2 <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil -%>
3 <%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %>
4 <em><%= l(:label_optional_description) %></em>
3 <label class="inline"><span id="attachment_description_label_content"><%= l(:label_optional_description) %></span><%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %>
4 </label>
5 5 </span>
6 6 <br />
7 7 <small><%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %>
8 8 (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
9 9 </small>
@@ -1,43 +1,43
1 1 <div id="issue_descr_fields" <%= 'style="display:none"' unless @issue.new_record? || @issue.errors.any? %>>
2 2 <p><%= f.select :tracker_id, @project.trackers.collect {|t| [t.name, t.id]}, :required => true %></p>
3 3 <%= observe_field :issue_tracker_id, :url => { :action => :update_form, :project_id => @project, :id => @issue },
4 4 :update => :attributes,
5 5 :with => "Form.serialize('issue-form')" %>
6 6
7 7 <p><%= f.text_field :subject, :size => 80, :required => true %></p>
8 8
9 9 <% unless (@issue.new_record? && @issue.parent_issue_id.nil?) || !User.current.allowed_to?(:manage_subtasks, @project) %>
10 10 <p><%= f.text_field :parent_issue_id, :size => 10 %></p>
11 11 <div id="parent_issue_candidates" class="autocomplete"></div>
12 12 <%= javascript_tag "observeParentIssueField('#{url_for(:controller => :issues,
13 13 :action => :auto_complete,
14 14 :id => @issue,
15 15 :project_id => @project) }')" %>
16 16 <% end %>
17 17
18 18 <p><%= f.text_area :description,
19 19 :cols => 60,
20 20 :rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
21 21 :accesskey => accesskey(:edit),
22 22 :class => 'wiki-edit' %></p>
23 23 </div>
24 24
25 25 <div id="attributes" class="attributes">
26 26 <%= render :partial => 'attributes' %>
27 27 </div>
28 28
29 29 <% if @issue.new_record? %>
30 <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
30 <p><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p>
31 31 <% end %>
32 32
33 33 <% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%>
34 34 <p><label><%= l(:label_issue_watchers) %></label>
35 35 <% @issue.project.users.sort.each do |user| -%>
36 36 <label class="floating"><%= check_box_tag 'issue[watcher_user_ids][]', user.id, @issue.watched_by?(user) %> <%=h user %></label>
37 37 <% end -%>
38 38 </p>
39 39 <% end %>
40 40
41 41 <%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %>
42 42
43 43 <%= wikitoolbar_for 'issue_description' %>
@@ -1,227 +1,233
1 1 /* redMine - project management software
2 2 Copyright (C) 2006-2008 Jean-Philippe Lang */
3 3
4 4 function checkAll (id, checked) {
5 5 var els = Element.descendants(id);
6 6 for (var i = 0; i < els.length; i++) {
7 7 if (els[i].disabled==false) {
8 8 els[i].checked = checked;
9 9 }
10 10 }
11 11 }
12 12
13 13 function toggleCheckboxesBySelector(selector) {
14 14 boxes = $$(selector);
15 15 var all_checked = true;
16 16 for (i = 0; i < boxes.length; i++) { if (boxes[i].checked == false) { all_checked = false; } }
17 17 for (i = 0; i < boxes.length; i++) { boxes[i].checked = !all_checked; }
18 18 }
19 19
20 20 function showAndScrollTo(id, focus) {
21 21 Element.show(id);
22 22 if (focus!=null) { Form.Element.focus(focus); }
23 23 Element.scrollTo(id);
24 24 }
25 25
26 26 function toggleRowGroup(el) {
27 27 var tr = Element.up(el, 'tr');
28 28 var n = Element.next(tr);
29 29 tr.toggleClassName('open');
30 30 while (n != undefined && !n.hasClassName('group')) {
31 31 Element.toggle(n);
32 32 n = Element.next(n);
33 33 }
34 34 }
35 35
36 36 function toggleFieldset(el) {
37 37 var fieldset = Element.up(el, 'fieldset');
38 38 fieldset.toggleClassName('collapsed');
39 39 Effect.toggle(fieldset.down('div'), 'slide', {duration:0.2});
40 40 }
41 41
42 42 var fileFieldCount = 1;
43 43
44 44 function addFileField() {
45 45 if (fileFieldCount >= 10) return false
46 46 fileFieldCount++;
47 47 var f = document.createElement("input");
48 48 f.type = "file";
49 49 f.name = "attachments[" + fileFieldCount + "][file]";
50 50 f.size = 30;
51 51 var d = document.createElement("input");
52 52 d.type = "text";
53 53 d.name = "attachments[" + fileFieldCount + "][description]";
54 54 d.size = 60;
55 var dLabel = document.createElement("label");
56 dLabel.addClassName('inline');
57 // Pulls the languge value used for Optional Description
58 dLabel.update($('attachment_description_label_content').innerHTML)
55 59
56 60 p = document.getElementById("attachments_fields");
57 61 p.appendChild(document.createElement("br"));
58 62 p.appendChild(f);
59 p.appendChild(d);
63 p.appendChild(dLabel);
64 dLabel.appendChild(d);
65
60 66 }
61 67
62 68 function showTab(name) {
63 69 var f = $$('div#content .tab-content');
64 70 for(var i=0; i<f.length; i++){
65 71 Element.hide(f[i]);
66 72 }
67 73 var f = $$('div.tabs a');
68 74 for(var i=0; i<f.length; i++){
69 75 Element.removeClassName(f[i], "selected");
70 76 }
71 77 Element.show('tab-content-' + name);
72 78 Element.addClassName('tab-' + name, "selected");
73 79 return false;
74 80 }
75 81
76 82 function moveTabRight(el) {
77 83 var lis = Element.up(el, 'div.tabs').down('ul').childElements();
78 84 var tabsWidth = 0;
79 85 var i;
80 86 for (i=0; i<lis.length; i++) {
81 87 if (lis[i].visible()) {
82 88 tabsWidth += lis[i].getWidth() + 6;
83 89 }
84 90 }
85 91 if (tabsWidth < Element.up(el, 'div.tabs').getWidth() - 60) {
86 92 return;
87 93 }
88 94 i=0;
89 95 while (i<lis.length && !lis[i].visible()) {
90 96 i++;
91 97 }
92 98 lis[i].hide();
93 99 }
94 100
95 101 function moveTabLeft(el) {
96 102 var lis = Element.up(el, 'div.tabs').down('ul').childElements();
97 103 var i = 0;
98 104 while (i<lis.length && !lis[i].visible()) {
99 105 i++;
100 106 }
101 107 if (i>0) {
102 108 lis[i-1].show();
103 109 }
104 110 }
105 111
106 112 function displayTabsButtons() {
107 113 var lis;
108 114 var tabsWidth = 0;
109 115 var i;
110 116 $$('div.tabs').each(function(el) {
111 117 lis = el.down('ul').childElements();
112 118 for (i=0; i<lis.length; i++) {
113 119 if (lis[i].visible()) {
114 120 tabsWidth += lis[i].getWidth() + 6;
115 121 }
116 122 }
117 123 if ((tabsWidth < el.getWidth() - 60) && (lis[0].visible())) {
118 124 el.down('div.tabs-buttons').hide();
119 125 } else {
120 126 el.down('div.tabs-buttons').show();
121 127 }
122 128 });
123 129 }
124 130
125 131 function setPredecessorFieldsVisibility() {
126 132 relationType = $('relation_relation_type');
127 133 if (relationType && (relationType.value == "precedes" || relationType.value == "follows")) {
128 134 Element.show('predecessor_fields');
129 135 } else {
130 136 Element.hide('predecessor_fields');
131 137 }
132 138 }
133 139
134 140 function promptToRemote(text, param, url) {
135 141 value = prompt(text + ':');
136 142 if (value) {
137 143 new Ajax.Request(url + '?' + param + '=' + encodeURIComponent(value), {asynchronous:true, evalScripts:true});
138 144 return false;
139 145 }
140 146 }
141 147
142 148 function collapseScmEntry(id) {
143 149 var els = document.getElementsByClassName(id, 'browser');
144 150 for (var i = 0; i < els.length; i++) {
145 151 if (els[i].hasClassName('open')) {
146 152 collapseScmEntry(els[i].id);
147 153 }
148 154 Element.hide(els[i]);
149 155 }
150 156 $(id).removeClassName('open');
151 157 }
152 158
153 159 function expandScmEntry(id) {
154 160 var els = document.getElementsByClassName(id, 'browser');
155 161 for (var i = 0; i < els.length; i++) {
156 162 Element.show(els[i]);
157 163 if (els[i].hasClassName('loaded') && !els[i].hasClassName('collapsed')) {
158 164 expandScmEntry(els[i].id);
159 165 }
160 166 }
161 167 $(id).addClassName('open');
162 168 }
163 169
164 170 function scmEntryClick(id) {
165 171 el = $(id);
166 172 if (el.hasClassName('open')) {
167 173 collapseScmEntry(id);
168 174 el.addClassName('collapsed');
169 175 return false;
170 176 } else if (el.hasClassName('loaded')) {
171 177 expandScmEntry(id);
172 178 el.removeClassName('collapsed');
173 179 return false;
174 180 }
175 181 if (el.hasClassName('loading')) {
176 182 return false;
177 183 }
178 184 el.addClassName('loading');
179 185 return true;
180 186 }
181 187
182 188 function scmEntryLoaded(id) {
183 189 Element.addClassName(id, 'open');
184 190 Element.addClassName(id, 'loaded');
185 191 Element.removeClassName(id, 'loading');
186 192 }
187 193
188 194 function randomKey(size) {
189 195 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');
190 196 var key = '';
191 197 for (i = 0; i < size; i++) {
192 198 key += chars[Math.floor(Math.random() * chars.length)];
193 199 }
194 200 return key;
195 201 }
196 202
197 203 function observeParentIssueField(url) {
198 204 new Ajax.Autocompleter('issue_parent_issue_id',
199 205 'parent_issue_candidates',
200 206 url,
201 207 { minChars: 3,
202 208 frequency: 0.5,
203 209 paramName: 'q',
204 210 updateElement: function(value) {
205 211 document.getElementById('issue_parent_issue_id').value = value.id;
206 212 }});
207 213 }
208 214
209 215 /* shows and hides ajax indicator */
210 216 Ajax.Responders.register({
211 217 onCreate: function(){
212 218 if ($('ajax-indicator') && Ajax.activeRequestCount > 0) {
213 219 Element.show('ajax-indicator');
214 220 }
215 221 },
216 222 onComplete: function(){
217 223 if ($('ajax-indicator') && Ajax.activeRequestCount == 0) {
218 224 Element.hide('ajax-indicator');
219 225 }
220 226 }
221 227 });
222 228
223 229 Event.observe(window, 'load', function() {
224 230 $$('.hol').each(function(el) {
225 231 el.hide();
226 232 });
227 233 });
@@ -1,907 +1,913
1 1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2 2
3 3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
4 4 h1 {margin:0; padding:0; font-size: 24px;}
5 5 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
6 6 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
7 7 h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
8 8
9 9 /***** Layout *****/
10 10 #wrapper {background: white;}
11 11
12 12 #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
13 13 #top-menu ul {margin: 0; padding: 0;}
14 14 #top-menu li {
15 15 float:left;
16 16 list-style-type:none;
17 17 margin: 0px 0px 0px 0px;
18 18 padding: 0px 0px 0px 0px;
19 19 white-space:nowrap;
20 20 }
21 21 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
22 22 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
23 23
24 24 #account {float:right;}
25 25
26 26 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
27 27 #header a {color:#f8f8f8;}
28 28 #header h1 a.ancestor { font-size: 80%; }
29 29 #quick-search {float:right;}
30 30
31 31 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
32 32 #main-menu ul {margin: 0; padding: 0;}
33 33 #main-menu li {
34 34 float:left;
35 35 list-style-type:none;
36 36 margin: 0px 2px 0px 0px;
37 37 padding: 0px 0px 0px 0px;
38 38 white-space:nowrap;
39 39 }
40 40 #main-menu li a {
41 41 display: block;
42 42 color: #fff;
43 43 text-decoration: none;
44 44 font-weight: bold;
45 45 margin: 0;
46 46 padding: 4px 10px 4px 10px;
47 47 }
48 48 #main-menu li a:hover {background:#759FCF; color:#fff;}
49 49 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
50 50
51 51 #admin-menu ul {margin: 0; padding: 0;}
52 52 #admin-menu li {margin: 0; padding: 0 0 12px 0; list-style-type:none;}
53 53
54 54 #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
55 55 #admin-menu a.projects { background-image: url(../images/projects.png); }
56 56 #admin-menu a.users { background-image: url(../images/user.png); }
57 57 #admin-menu a.groups { background-image: url(../images/group.png); }
58 58 #admin-menu a.roles { background-image: url(../images/database_key.png); }
59 59 #admin-menu a.trackers { background-image: url(../images/ticket.png); }
60 60 #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); }
61 61 #admin-menu a.workflows { background-image: url(../images/ticket_go.png); }
62 62 #admin-menu a.custom_fields { background-image: url(../images/textfield.png); }
63 63 #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); }
64 64 #admin-menu a.settings { background-image: url(../images/changeset.png); }
65 65 #admin-menu a.plugins { background-image: url(../images/plugin.png); }
66 66 #admin-menu a.info { background-image: url(../images/help.png); }
67 67
68 68 #main {background-color:#EEEEEE;}
69 69
70 70 #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
71 71 * html #sidebar{ width: 22%; }
72 72 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
73 73 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
74 74 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
75 75 #sidebar .contextual { margin-right: 1em; }
76 76
77 77 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
78 78 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
79 79 html>body #content { min-height: 600px; }
80 80 * html body #content { height: 600px; } /* IE */
81 81
82 82 #main.nosidebar #sidebar{ display: none; }
83 83 #main.nosidebar #content{ width: auto; border-right: 0; }
84 84
85 85 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
86 86
87 87 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
88 88 #login-form table td {padding: 6px;}
89 89 #login-form label {font-weight: bold;}
90 90 #login-form input#username, #login-form input#password { width: 300px; }
91 91
92 92 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
93 93
94 94 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
95 95
96 96 /***** Links *****/
97 97 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
98 98 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
99 99 a img{ border: 0; }
100 100
101 101 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
102 102
103 103 /***** Tables *****/
104 104 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
105 105 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
106 106 table.list td { vertical-align: top; }
107 107 table.list td.id { width: 2%; text-align: center;}
108 108 table.list td.checkbox { width: 15px; padding: 0px;}
109 109 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
110 110 table.list td.buttons a { padding-right: 0.6em; }
111 111 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
112 112
113 113 tr.project td.name a { white-space:nowrap; }
114 114
115 115 tr.project.idnt td.name a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
116 116 tr.project.idnt-1 td.name {padding-left: 0.5em;}
117 117 tr.project.idnt-2 td.name {padding-left: 2em;}
118 118 tr.project.idnt-3 td.name {padding-left: 3.5em;}
119 119 tr.project.idnt-4 td.name {padding-left: 5em;}
120 120 tr.project.idnt-5 td.name {padding-left: 6.5em;}
121 121 tr.project.idnt-6 td.name {padding-left: 8em;}
122 122 tr.project.idnt-7 td.name {padding-left: 9.5em;}
123 123 tr.project.idnt-8 td.name {padding-left: 11em;}
124 124 tr.project.idnt-9 td.name {padding-left: 12.5em;}
125 125
126 126 tr.issue { text-align: center; white-space: nowrap; }
127 127 tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; }
128 128 tr.issue td.subject { text-align: left; }
129 129 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
130 130
131 131 tr.issue.idnt td.subject a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
132 132 tr.issue.idnt-1 td.subject {padding-left: 0.5em;}
133 133 tr.issue.idnt-2 td.subject {padding-left: 2em;}
134 134 tr.issue.idnt-3 td.subject {padding-left: 3.5em;}
135 135 tr.issue.idnt-4 td.subject {padding-left: 5em;}
136 136 tr.issue.idnt-5 td.subject {padding-left: 6.5em;}
137 137 tr.issue.idnt-6 td.subject {padding-left: 8em;}
138 138 tr.issue.idnt-7 td.subject {padding-left: 9.5em;}
139 139 tr.issue.idnt-8 td.subject {padding-left: 11em;}
140 140 tr.issue.idnt-9 td.subject {padding-left: 12.5em;}
141 141
142 142 tr.entry { border: 1px solid #f8f8f8; }
143 143 tr.entry td { white-space: nowrap; }
144 144 tr.entry td.filename { width: 30%; }
145 145 tr.entry td.size { text-align: right; font-size: 90%; }
146 146 tr.entry td.revision, tr.entry td.author { text-align: center; }
147 147 tr.entry td.age { text-align: right; }
148 148 tr.entry.file td.filename a { margin-left: 16px; }
149 149
150 150 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
151 151 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
152 152
153 153 tr.changeset td.author { text-align: center; width: 15%; }
154 154 tr.changeset td.committed_on { text-align: center; width: 15%; }
155 155
156 156 table.files tr.file td { text-align: center; }
157 157 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
158 158 table.files tr.file td.digest { font-size: 80%; }
159 159
160 160 table.members td.roles, table.memberships td.roles { width: 45%; }
161 161
162 162 tr.message { height: 2.6em; }
163 163 tr.message td.subject { padding-left: 20px; }
164 164 tr.message td.created_on { white-space: nowrap; }
165 165 tr.message td.last_message { font-size: 80%; white-space: nowrap; }
166 166 tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; }
167 167 tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; }
168 168
169 169 tr.version.closed, tr.version.closed a { color: #999; }
170 170 tr.version td.name { padding-left: 20px; }
171 171 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
172 172 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; }
173 173
174 174 tr.user td { width:13%; }
175 175 tr.user td.email { width:18%; }
176 176 tr.user td { white-space: nowrap; }
177 177 tr.user.locked, tr.user.registered { color: #aaa; }
178 178 tr.user.locked a, tr.user.registered a { color: #aaa; }
179 179
180 180 tr.time-entry { text-align: center; white-space: nowrap; }
181 181 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
182 182 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
183 183 td.hours .hours-dec { font-size: 0.9em; }
184 184
185 185 table.plugins td { vertical-align: middle; }
186 186 table.plugins td.configure { text-align: right; padding-right: 1em; }
187 187 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
188 188 table.plugins span.description { display: block; font-size: 0.9em; }
189 189 table.plugins span.url { display: block; font-size: 0.9em; }
190 190
191 191 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
192 192 table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
193 193
194 194 table.list tbody tr:hover { background-color:#ffffdd; }
195 195 table.list tbody tr.group:hover { background-color:inherit; }
196 196 table td {padding:2px;}
197 197 table p {margin:0;}
198 198 .odd {background-color:#f6f7f8;}
199 199 .even {background-color: #fff;}
200 200
201 201 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
202 202 a.sort.asc { background-image: url(../images/sort_asc.png); }
203 203 a.sort.desc { background-image: url(../images/sort_desc.png); }
204 204
205 205 table.attributes { width: 100% }
206 206 table.attributes th { vertical-align: top; text-align: left; }
207 207 table.attributes td { vertical-align: top; }
208 208
209 209 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
210 210
211 211 td.center {text-align:center;}
212 212
213 213 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
214 214
215 215 div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
216 216 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
217 217 div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
218 218 div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
219 219
220 220 #watchers ul {margin: 0; padding: 0;}
221 221 #watchers li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
222 222 #watchers select {width: 95%; display: block;}
223 223 #watchers a.delete {opacity: 0.4;}
224 224 #watchers a.delete:hover {opacity: 1;}
225 225 #watchers img.gravatar {vertical-align: middle;margin: 0 4px 2px 0;}
226 226
227 227 .highlight { background-color: #FCFD8D;}
228 228 .highlight.token-1 { background-color: #faa;}
229 229 .highlight.token-2 { background-color: #afa;}
230 230 .highlight.token-3 { background-color: #aaf;}
231 231
232 232 .box{
233 233 padding:6px;
234 234 margin-bottom: 10px;
235 235 background-color:#f6f6f6;
236 236 color:#505050;
237 237 line-height:1.5em;
238 238 border: 1px solid #e4e4e4;
239 239 }
240 240
241 241 div.square {
242 242 border: 1px solid #999;
243 243 float: left;
244 244 margin: .3em .4em 0 .4em;
245 245 overflow: hidden;
246 246 width: .6em; height: .6em;
247 247 }
248 248 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
249 249 .contextual input, .contextual select {font-size:0.9em;}
250 250 .message .contextual { margin-top: 0; }
251 251
252 252 .splitcontentleft{float:left; width:49%;}
253 253 .splitcontentright{float:right; width:49%;}
254 254 form {display: inline;}
255 255 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
256 256 fieldset {border: 1px solid #e4e4e4; margin:0;}
257 257 legend {color: #484848;}
258 258 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
259 259 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
260 260 blockquote blockquote { margin-left: 0;}
261 261 acronym { border-bottom: 1px dotted; cursor: help; }
262 262 textarea.wiki-edit { width: 99%; }
263 263 li p {margin-top: 0;}
264 264 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
265 265 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
266 266 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
267 267 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
268 268
269 269 div.issue div.subject div div { padding-left: 16px; }
270 270 div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
271 271 div.issue div.subject>div>p { margin-top: 0.5em; }
272 272 div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
273 273
274 274 #issue_tree table.issues { border: 0; }
275 275 #issue_tree td.checkbox {display:none;}
276 276
277 277 fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
278 278 fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
279 279 fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
280 280
281 281 fieldset#date-range p { margin: 2px 0 2px 0; }
282 282 fieldset#filters table { border-collapse: collapse; }
283 283 fieldset#filters table td { padding: 0; vertical-align: middle; }
284 284 fieldset#filters tr.filter { height: 2em; }
285 285 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
286 286 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
287 287
288 288 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
289 289 div#issue-changesets .changeset { padding: 4px;}
290 290 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
291 291 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
292 292
293 293 div#activity dl, #search-results { margin-left: 2em; }
294 294 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
295 295 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
296 296 div#activity dt.me .time { border-bottom: 1px solid #999; }
297 297 div#activity dt .time { color: #777; font-size: 80%; }
298 298 div#activity dd .description, #search-results dd .description { font-style: italic; }
299 299 div#activity span.project:after, #search-results span.project:after { content: " -"; }
300 300 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
301 301
302 302 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
303 303
304 304 div#search-results-counts {float:right;}
305 305 div#search-results-counts ul { margin-top: 0.5em; }
306 306 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
307 307
308 308 dt.issue { background-image: url(../images/ticket.png); }
309 309 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
310 310 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
311 311 dt.issue-note { background-image: url(../images/ticket_note.png); }
312 312 dt.changeset { background-image: url(../images/changeset.png); }
313 313 dt.news { background-image: url(../images/news.png); }
314 314 dt.message { background-image: url(../images/message.png); }
315 315 dt.reply { background-image: url(../images/comments.png); }
316 316 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
317 317 dt.attachment { background-image: url(../images/attachment.png); }
318 318 dt.document { background-image: url(../images/document.png); }
319 319 dt.project { background-image: url(../images/projects.png); }
320 320 dt.time-entry { background-image: url(../images/time.png); }
321 321
322 322 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
323 323
324 324 div#roadmap .related-issues { margin-bottom: 1em; }
325 325 div#roadmap .related-issues td.checkbox { display: none; }
326 326 div#roadmap .wiki h1:first-child { display: none; }
327 327 div#roadmap .wiki h1 { font-size: 120%; }
328 328 div#roadmap .wiki h2 { font-size: 110%; }
329 329
330 330 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
331 331 div#version-summary fieldset { margin-bottom: 1em; }
332 332 div#version-summary .total-hours { text-align: right; }
333 333
334 334 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
335 335 table#time-report tbody tr { font-style: italic; color: #777; }
336 336 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
337 337 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
338 338 table#time-report .hours-dec { font-size: 0.9em; }
339 339
340 340 form .attributes { margin-bottom: 8px; }
341 341 form .attributes p { padding-top: 1px; padding-bottom: 2px; }
342 342 form .attributes select { min-width: 50%; }
343 343
344 344 ul.projects { margin: 0; padding-left: 1em; }
345 345 ul.projects.root { margin: 0; padding: 0; }
346 346 ul.projects ul { border-left: 3px solid #e0e0e0; }
347 347 ul.projects li { list-style-type:none; }
348 348 ul.projects li.root { margin-bottom: 1em; }
349 349 ul.projects li.child { margin-top: 1em;}
350 350 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
351 351 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
352 352
353 353 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
354 354 #tracker_project_ids li { list-style-type:none; }
355 355
356 356 ul.properties {padding:0; font-size: 0.9em; color: #777;}
357 357 ul.properties li {list-style-type:none;}
358 358 ul.properties li span {font-style:italic;}
359 359
360 360 .total-hours { font-size: 110%; font-weight: bold; }
361 361 .total-hours span.hours-int { font-size: 120%; }
362 362
363 363 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
364 364 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
365 365
366 366 #workflow_copy_form select { width: 200px; }
367 367
368 368 .pagination {font-size: 90%}
369 369 p.pagination {margin-top:8px;}
370 370
371 371 /***** Tabular forms ******/
372 372 .tabular p{
373 373 margin: 0;
374 374 padding: 5px 0 8px 0;
375 375 padding-left: 180px; /*width of left column containing the label elements*/
376 376 height: 1%;
377 377 clear:left;
378 378 }
379 379
380 380 html>body .tabular p {overflow:hidden;}
381 381
382 382 .tabular label{
383 383 font-weight: bold;
384 384 float: left;
385 385 text-align: right;
386 386 margin-left: -180px; /*width of left column*/
387 387 width: 175px; /*width of labels. Should be smaller than left column to create some right
388 388 margin*/
389 389 }
390 390
391 391 .tabular label.floating{
392 392 font-weight: normal;
393 393 margin-left: 0px;
394 394 text-align: left;
395 395 width: 270px;
396 396 }
397 397
398 398 .tabular label.block{
399 399 font-weight: normal;
400 400 margin-left: 0px !important;
401 401 text-align: left;
402 402 float: none;
403 403 display: block;
404 404 width: auto;
405 405 }
406 406
407 .tabular label.inline{
408 float:none;
409 margin-left: 5px !important;
410 width: auto;
411 }
412
407 413 input#time_entry_comments { width: 90%;}
408 414
409 415 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
410 416
411 417 .tabular.settings p{ padding-left: 300px; }
412 418 .tabular.settings label{ margin-left: -300px; width: 295px; }
413 419 .tabular.settings textarea { width: 99%; }
414 420
415 421 fieldset.settings label { display: block; }
416 422
417 423 .required {color: #bb0000;}
418 424 .summary {font-style: italic;}
419 425
420 426 #attachments_fields input[type=text] {margin-left: 8px; }
421 427
422 428 div.attachments { margin-top: 12px; }
423 429 div.attachments p { margin:4px 0 2px 0; }
424 430 div.attachments img { vertical-align: middle; }
425 431 div.attachments span.author { font-size: 0.9em; color: #888; }
426 432
427 433 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
428 434 .other-formats span + span:before { content: "| "; }
429 435
430 436 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
431 437
432 438 /* Project members tab */
433 439 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
434 440 div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
435 441 div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
436 442 div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
437 443 div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
438 444 div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
439 445
440 446 table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; }
441 447
442 448 input#principal_search, input#user_search {width:100%}
443 449
444 450 * html div#tab-content-members fieldset div { height: 450px; }
445 451
446 452 /***** Flash & error messages ****/
447 453 #errorExplanation, div.flash, .nodata, .warning {
448 454 padding: 4px 4px 4px 30px;
449 455 margin-bottom: 12px;
450 456 font-size: 1.1em;
451 457 border: 2px solid;
452 458 }
453 459
454 460 div.flash {margin-top: 8px;}
455 461
456 462 div.flash.error, #errorExplanation {
457 463 background: url(../images/exclamation.png) 8px 50% no-repeat;
458 464 background-color: #ffe3e3;
459 465 border-color: #dd0000;
460 466 color: #880000;
461 467 }
462 468
463 469 div.flash.notice {
464 470 background: url(../images/true.png) 8px 5px no-repeat;
465 471 background-color: #dfffdf;
466 472 border-color: #9fcf9f;
467 473 color: #005f00;
468 474 }
469 475
470 476 div.flash.warning {
471 477 background: url(../images/warning.png) 8px 5px no-repeat;
472 478 background-color: #FFEBC1;
473 479 border-color: #FDBF3B;
474 480 color: #A6750C;
475 481 text-align: left;
476 482 }
477 483
478 484 .nodata, .warning {
479 485 text-align: center;
480 486 background-color: #FFEBC1;
481 487 border-color: #FDBF3B;
482 488 color: #A6750C;
483 489 }
484 490
485 491 #errorExplanation ul { font-size: 0.9em;}
486 492 #errorExplanation h2, #errorExplanation p { display: none; }
487 493
488 494 /***** Ajax indicator ******/
489 495 #ajax-indicator {
490 496 position: absolute; /* fixed not supported by IE */
491 497 background-color:#eee;
492 498 border: 1px solid #bbb;
493 499 top:35%;
494 500 left:40%;
495 501 width:20%;
496 502 font-weight:bold;
497 503 text-align:center;
498 504 padding:0.6em;
499 505 z-index:100;
500 506 filter:alpha(opacity=50);
501 507 opacity: 0.5;
502 508 }
503 509
504 510 html>body #ajax-indicator { position: fixed; }
505 511
506 512 #ajax-indicator span {
507 513 background-position: 0% 40%;
508 514 background-repeat: no-repeat;
509 515 background-image: url(../images/loading.gif);
510 516 padding-left: 26px;
511 517 vertical-align: bottom;
512 518 }
513 519
514 520 /***** Calendar *****/
515 521 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
516 522 table.cal thead th {width: 14%;}
517 523 table.cal tbody tr {height: 100px;}
518 524 table.cal th { background-color:#EEEEEE; padding: 4px; }
519 525 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
520 526 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
521 527 table.cal td.odd p.day-num {color: #bbb;}
522 528 table.cal td.today {background:#ffffdd;}
523 529 table.cal td.today p.day-num {font-weight: bold;}
524 530 table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
525 531 table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
526 532 table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
527 533 p.cal.legend span {display:block;}
528 534
529 535 /***** Tooltips ******/
530 536 .tooltip{position:relative;z-index:24;}
531 537 .tooltip:hover{z-index:25;color:#000;}
532 538 .tooltip span.tip{display: none; text-align:left;}
533 539
534 540 div.tooltip:hover span.tip{
535 541 display:block;
536 542 position:absolute;
537 543 top:12px; left:24px; width:270px;
538 544 border:1px solid #555;
539 545 background-color:#fff;
540 546 padding: 4px;
541 547 font-size: 0.8em;
542 548 color:#505050;
543 549 }
544 550
545 551 /***** Progress bar *****/
546 552 table.progress {
547 553 border: 1px solid #D7D7D7;
548 554 border-collapse: collapse;
549 555 border-spacing: 0pt;
550 556 empty-cells: show;
551 557 text-align: center;
552 558 float:left;
553 559 margin: 1px 6px 1px 0px;
554 560 }
555 561
556 562 table.progress td { height: 0.9em; }
557 563 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
558 564 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
559 565 table.progress td.open { background: #FFF none repeat scroll 0%; }
560 566 p.pourcent {font-size: 80%;}
561 567 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
562 568
563 569 /***** Tabs *****/
564 570 #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
565 571 #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:1em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
566 572 #content .tabs ul li {
567 573 float:left;
568 574 list-style-type:none;
569 575 white-space:nowrap;
570 576 margin-right:8px;
571 577 background:#fff;
572 578 position:relative;
573 579 margin-bottom:-1px;
574 580 }
575 581 #content .tabs ul li a{
576 582 display:block;
577 583 font-size: 0.9em;
578 584 text-decoration:none;
579 585 line-height:1.3em;
580 586 padding:4px 6px 4px 6px;
581 587 border: 1px solid #ccc;
582 588 border-bottom: 1px solid #bbbbbb;
583 589 background-color: #eeeeee;
584 590 color:#777;
585 591 font-weight:bold;
586 592 }
587 593
588 594 #content .tabs ul li a:hover {
589 595 background-color: #ffffdd;
590 596 text-decoration:none;
591 597 }
592 598
593 599 #content .tabs ul li a.selected {
594 600 background-color: #fff;
595 601 border: 1px solid #bbbbbb;
596 602 border-bottom: 1px solid #fff;
597 603 }
598 604
599 605 #content .tabs ul li a.selected:hover {
600 606 background-color: #fff;
601 607 }
602 608
603 609 div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
604 610
605 611 button.tab-left, button.tab-right {
606 612 font-size: 0.9em;
607 613 cursor: pointer;
608 614 height:24px;
609 615 border: 1px solid #ccc;
610 616 border-bottom: 1px solid #bbbbbb;
611 617 position:absolute;
612 618 padding:4px;
613 619 width: 20px;
614 620 bottom: -1px;
615 621 }
616 622
617 623 button.tab-left {
618 624 right: 20px;
619 625 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
620 626 }
621 627
622 628 button.tab-right {
623 629 right: 0;
624 630 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;
625 631 }
626 632
627 633 /***** Auto-complete *****/
628 634 div.autocomplete {
629 635 position:absolute;
630 636 width:400px;
631 637 margin:0;
632 638 padding:0;
633 639 }
634 640 div.autocomplete ul {
635 641 list-style-type:none;
636 642 margin:0;
637 643 padding:0;
638 644 }
639 645 div.autocomplete ul li {
640 646 list-style-type:none;
641 647 display:block;
642 648 margin:-1px 0 0 0;
643 649 padding:2px;
644 650 cursor:pointer;
645 651 font-size: 90%;
646 652 border: 1px solid #ccc;
647 653 border-left: 1px solid #ccc;
648 654 border-right: 1px solid #ccc;
649 655 background-color:white;
650 656 }
651 657 div.autocomplete ul li.selected { background-color: #ffb;}
652 658 div.autocomplete ul li span.informal {
653 659 font-size: 80%;
654 660 color: #aaa;
655 661 }
656 662
657 663 #parent_issue_candidates ul li {width: 500px;}
658 664
659 665 /***** Diff *****/
660 666 .diff_out { background: #fcc; }
661 667 .diff_in { background: #cfc; }
662 668
663 669 /***** Wiki *****/
664 670 div.wiki table {
665 671 border: 1px solid #505050;
666 672 border-collapse: collapse;
667 673 margin-bottom: 1em;
668 674 }
669 675
670 676 div.wiki table, div.wiki td, div.wiki th {
671 677 border: 1px solid #bbb;
672 678 padding: 4px;
673 679 }
674 680
675 681 div.wiki .external {
676 682 background-position: 0% 60%;
677 683 background-repeat: no-repeat;
678 684 padding-left: 12px;
679 685 background-image: url(../images/external.png);
680 686 }
681 687
682 688 div.wiki a.new {
683 689 color: #b73535;
684 690 }
685 691
686 692 div.wiki pre {
687 693 margin: 1em 1em 1em 1.6em;
688 694 padding: 2px 2px 2px 0;
689 695 background-color: #fafafa;
690 696 border: 1px solid #dadada;
691 697 width:auto;
692 698 overflow-x: auto;
693 699 }
694 700
695 701 div.wiki ul.toc {
696 702 background-color: #ffffdd;
697 703 border: 1px solid #e4e4e4;
698 704 padding: 4px;
699 705 line-height: 1.2em;
700 706 margin-bottom: 12px;
701 707 margin-right: 12px;
702 708 margin-left: 0;
703 709 display: table
704 710 }
705 711 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
706 712
707 713 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
708 714 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
709 715 div.wiki ul.toc li { list-style-type:none;}
710 716 div.wiki ul.toc li.heading2 { margin-left: 6px; }
711 717 div.wiki ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; }
712 718
713 719 div.wiki ul.toc a {
714 720 font-size: 0.9em;
715 721 font-weight: normal;
716 722 text-decoration: none;
717 723 color: #606060;
718 724 }
719 725 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
720 726
721 727 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
722 728 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
723 729 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
724 730
725 731 div.wiki img { vertical-align: middle; }
726 732
727 733 /***** My page layout *****/
728 734 .block-receiver {
729 735 border:1px dashed #c0c0c0;
730 736 margin-bottom: 20px;
731 737 padding: 15px 0 15px 0;
732 738 }
733 739
734 740 .mypage-box {
735 741 margin:0 0 20px 0;
736 742 color:#505050;
737 743 line-height:1.5em;
738 744 }
739 745
740 746 .handle {
741 747 cursor: move;
742 748 }
743 749
744 750 a.close-icon {
745 751 display:block;
746 752 margin-top:3px;
747 753 overflow:hidden;
748 754 width:12px;
749 755 height:12px;
750 756 background-repeat: no-repeat;
751 757 cursor:pointer;
752 758 background-image:url('../images/close.png');
753 759 }
754 760
755 761 a.close-icon:hover {
756 762 background-image:url('../images/close_hl.png');
757 763 }
758 764
759 765 /***** Gantt chart *****/
760 766 .gantt_hdr {
761 767 position:absolute;
762 768 top:0;
763 769 height:16px;
764 770 border-top: 1px solid #c0c0c0;
765 771 border-bottom: 1px solid #c0c0c0;
766 772 border-right: 1px solid #c0c0c0;
767 773 text-align: center;
768 774 overflow: hidden;
769 775 }
770 776
771 777 .task {
772 778 position: absolute;
773 779 height:8px;
774 780 font-size:0.8em;
775 781 color:#888;
776 782 padding:0;
777 783 margin:0;
778 784 line-height:0.8em;
779 785 white-space:nowrap;
780 786 }
781 787
782 788 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
783 789 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
784 790 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
785 791
786 792 .task_todo.parent { background: #888; border: 1px solid #888; height: 6px;}
787 793 .task_late.parent, .task_done.parent { height: 3px;}
788 794 .task_todo.parent .left { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -5px; left: 0px; top: -1px;}
789 795 .task_todo.parent .right { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-right: -5px; right: 0px; top: -1px;}
790 796
791 797 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
792 798
793 799 /***** Icons *****/
794 800 .icon {
795 801 background-position: 0% 50%;
796 802 background-repeat: no-repeat;
797 803 padding-left: 20px;
798 804 padding-top: 2px;
799 805 padding-bottom: 3px;
800 806 }
801 807
802 808 .icon-add { background-image: url(../images/add.png); }
803 809 .icon-edit { background-image: url(../images/edit.png); }
804 810 .icon-copy { background-image: url(../images/copy.png); }
805 811 .icon-duplicate { background-image: url(../images/duplicate.png); }
806 812 .icon-del { background-image: url(../images/delete.png); }
807 813 .icon-move { background-image: url(../images/move.png); }
808 814 .icon-save { background-image: url(../images/save.png); }
809 815 .icon-cancel { background-image: url(../images/cancel.png); }
810 816 .icon-multiple { background-image: url(../images/table_multiple.png); }
811 817 .icon-folder { background-image: url(../images/folder.png); }
812 818 .open .icon-folder { background-image: url(../images/folder_open.png); }
813 819 .icon-package { background-image: url(../images/package.png); }
814 820 .icon-home { background-image: url(../images/home.png); }
815 821 .icon-user { background-image: url(../images/user.png); }
816 822 .icon-projects { background-image: url(../images/projects.png); }
817 823 .icon-help { background-image: url(../images/help.png); }
818 824 .icon-attachment { background-image: url(../images/attachment.png); }
819 825 .icon-history { background-image: url(../images/history.png); }
820 826 .icon-time { background-image: url(../images/time.png); }
821 827 .icon-time-add { background-image: url(../images/time_add.png); }
822 828 .icon-stats { background-image: url(../images/stats.png); }
823 829 .icon-warning { background-image: url(../images/warning.png); }
824 830 .icon-fav { background-image: url(../images/fav.png); }
825 831 .icon-fav-off { background-image: url(../images/fav_off.png); }
826 832 .icon-reload { background-image: url(../images/reload.png); }
827 833 .icon-lock { background-image: url(../images/locked.png); }
828 834 .icon-unlock { background-image: url(../images/unlock.png); }
829 835 .icon-checked { background-image: url(../images/true.png); }
830 836 .icon-details { background-image: url(../images/zoom_in.png); }
831 837 .icon-report { background-image: url(../images/report.png); }
832 838 .icon-comment { background-image: url(../images/comment.png); }
833 839 .icon-summary { background-image: url(../images/lightning.png); }
834 840
835 841 .icon-file { background-image: url(../images/files/default.png); }
836 842 .icon-file.text-plain { background-image: url(../images/files/text.png); }
837 843 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
838 844 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
839 845 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
840 846 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
841 847 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
842 848 .icon-file.image-gif { background-image: url(../images/files/image.png); }
843 849 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
844 850 .icon-file.image-png { background-image: url(../images/files/image.png); }
845 851 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
846 852 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
847 853 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
848 854 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
849 855
850 856 img.gravatar {
851 857 padding: 2px;
852 858 border: solid 1px #d5d5d5;
853 859 background: #fff;
854 860 }
855 861
856 862 div.issue img.gravatar {
857 863 float: right;
858 864 margin: 0 0 0 1em;
859 865 padding: 5px;
860 866 }
861 867
862 868 div.issue table img.gravatar {
863 869 height: 14px;
864 870 width: 14px;
865 871 padding: 2px;
866 872 float: left;
867 873 margin: 0 0.5em 0 0;
868 874 }
869 875
870 876 h2 img.gravatar {
871 877 padding: 3px;
872 878 margin: -2px 4px -4px 0;
873 879 vertical-align: top;
874 880 }
875 881
876 882 h4 img.gravatar {
877 883 padding: 3px;
878 884 margin: -6px 0 -4px 0;
879 885 vertical-align: top;
880 886 }
881 887
882 888 td.username img.gravatar {
883 889 float: left;
884 890 margin: 0 1em 0 0;
885 891 }
886 892
887 893 #activity dt img.gravatar {
888 894 float: left;
889 895 margin: 0 1em 1em 0;
890 896 }
891 897
892 898 #activity dt,
893 899 .journal {
894 900 clear: left;
895 901 }
896 902
897 903 h2 img { vertical-align:middle; }
898 904
899 905 .hascontextmenu { cursor: context-menu; }
900 906
901 907 /***** Media print specific styles *****/
902 908 @media print {
903 909 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
904 910 #main { background: #fff; }
905 911 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
906 912 #wiki_add_attachment { display:none; }
907 913 }
General Comments 0
You need to be logged in to leave comments. Login now