##// END OF EJS Templates
Adds css class to custom field input tags....
Jean-Philippe Lang -
r9425:c085367bb63b
parent child
Show More

The requested changes are too big and content was truncated. Show full diff

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