##// END OF EJS Templates
Include custom fields description in project settings and issue view (#19296)....
Jean-Philippe Lang -
r13772:ca2be43456cd
parent child
Show More
@@ -1,161 +1,166
1 # encoding: utf-8
1 # encoding: utf-8
2 #
2 #
3 # Redmine - project management software
3 # Redmine - project management software
4 # Copyright (C) 2006-2015 Jean-Philippe Lang
4 # Copyright (C) 2006-2015 Jean-Philippe Lang
5 #
5 #
6 # This program is free software; you can redistribute it and/or
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
9 # of the License, or (at your option) any later version.
10 #
10 #
11 # This program is distributed in the hope that it will be useful,
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
14 # GNU General Public License for more details.
15 #
15 #
16 # You should have received a copy of the GNU General Public License
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
19
20 module CustomFieldsHelper
20 module CustomFieldsHelper
21
21
22 CUSTOM_FIELDS_TABS = [
22 CUSTOM_FIELDS_TABS = [
23 {:name => 'IssueCustomField', :partial => 'custom_fields/index',
23 {:name => 'IssueCustomField', :partial => 'custom_fields/index',
24 :label => :label_issue_plural},
24 :label => :label_issue_plural},
25 {:name => 'TimeEntryCustomField', :partial => 'custom_fields/index',
25 {:name => 'TimeEntryCustomField', :partial => 'custom_fields/index',
26 :label => :label_spent_time},
26 :label => :label_spent_time},
27 {:name => 'ProjectCustomField', :partial => 'custom_fields/index',
27 {:name => 'ProjectCustomField', :partial => 'custom_fields/index',
28 :label => :label_project_plural},
28 :label => :label_project_plural},
29 {:name => 'VersionCustomField', :partial => 'custom_fields/index',
29 {:name => 'VersionCustomField', :partial => 'custom_fields/index',
30 :label => :label_version_plural},
30 :label => :label_version_plural},
31 {:name => 'DocumentCustomField', :partial => 'custom_fields/index',
31 {:name => 'DocumentCustomField', :partial => 'custom_fields/index',
32 :label => :label_document_plural},
32 :label => :label_document_plural},
33 {:name => 'UserCustomField', :partial => 'custom_fields/index',
33 {:name => 'UserCustomField', :partial => 'custom_fields/index',
34 :label => :label_user_plural},
34 :label => :label_user_plural},
35 {:name => 'GroupCustomField', :partial => 'custom_fields/index',
35 {:name => 'GroupCustomField', :partial => 'custom_fields/index',
36 :label => :label_group_plural},
36 :label => :label_group_plural},
37 {:name => 'TimeEntryActivityCustomField', :partial => 'custom_fields/index',
37 {:name => 'TimeEntryActivityCustomField', :partial => 'custom_fields/index',
38 :label => TimeEntryActivity::OptionName},
38 :label => TimeEntryActivity::OptionName},
39 {:name => 'IssuePriorityCustomField', :partial => 'custom_fields/index',
39 {:name => 'IssuePriorityCustomField', :partial => 'custom_fields/index',
40 :label => IssuePriority::OptionName},
40 :label => IssuePriority::OptionName},
41 {:name => 'DocumentCategoryCustomField', :partial => 'custom_fields/index',
41 {:name => 'DocumentCategoryCustomField', :partial => 'custom_fields/index',
42 :label => DocumentCategory::OptionName}
42 :label => DocumentCategory::OptionName}
43 ]
43 ]
44
44
45 def render_custom_fields_tabs(types)
45 def render_custom_fields_tabs(types)
46 tabs = CUSTOM_FIELDS_TABS.select {|h| types.include?(h[:name]) }
46 tabs = CUSTOM_FIELDS_TABS.select {|h| types.include?(h[:name]) }
47 render_tabs tabs
47 render_tabs tabs
48 end
48 end
49
49
50 def custom_field_type_options
50 def custom_field_type_options
51 CUSTOM_FIELDS_TABS.map {|h| [l(h[:label]), h[:name]]}
51 CUSTOM_FIELDS_TABS.map {|h| [l(h[:label]), h[:name]]}
52 end
52 end
53
53
54 def render_custom_field_format_partial(form, custom_field)
54 def render_custom_field_format_partial(form, custom_field)
55 partial = custom_field.format.form_partial
55 partial = custom_field.format.form_partial
56 if partial
56 if partial
57 render :partial => custom_field.format.form_partial, :locals => {:f => form, :custom_field => custom_field}
57 render :partial => custom_field.format.form_partial, :locals => {:f => form, :custom_field => custom_field}
58 end
58 end
59 end
59 end
60
60
61 def custom_field_tag_name(prefix, custom_field)
61 def custom_field_tag_name(prefix, custom_field)
62 name = "#{prefix}[custom_field_values][#{custom_field.id}]"
62 name = "#{prefix}[custom_field_values][#{custom_field.id}]"
63 name << "[]" if custom_field.multiple?
63 name << "[]" if custom_field.multiple?
64 name
64 name
65 end
65 end
66
66
67 def custom_field_tag_id(prefix, custom_field)
67 def custom_field_tag_id(prefix, custom_field)
68 "#{prefix}_custom_field_values_#{custom_field.id}"
68 "#{prefix}_custom_field_values_#{custom_field.id}"
69 end
69 end
70
70
71 # Return custom field html tag corresponding to its format
71 # Return custom field html tag corresponding to its format
72 def custom_field_tag(prefix, custom_value)
72 def custom_field_tag(prefix, custom_value)
73 custom_value.custom_field.format.edit_tag self,
73 custom_value.custom_field.format.edit_tag self,
74 custom_field_tag_id(prefix, custom_value.custom_field),
74 custom_field_tag_id(prefix, custom_value.custom_field),
75 custom_field_tag_name(prefix, custom_value.custom_field),
75 custom_field_tag_name(prefix, custom_value.custom_field),
76 custom_value,
76 custom_value,
77 :class => "#{custom_value.custom_field.field_format}_cf"
77 :class => "#{custom_value.custom_field.field_format}_cf"
78 end
78 end
79
79
80 # Return custom field name tag
81 def custom_field_name_tag(custom_field)
82 title = custom_field.description.presence
83 content_tag 'span', custom_field.name, :title => title
84 end
85
80 # Return custom field label tag
86 # Return custom field label tag
81 def custom_field_label_tag(name, custom_value, options={})
87 def custom_field_label_tag(name, custom_value, options={})
82 required = options[:required] || custom_value.custom_field.is_required?
88 required = options[:required] || custom_value.custom_field.is_required?
83 title = custom_value.custom_field.description.presence
89 content = custom_field_name_tag custom_value.custom_field
84 content = content_tag 'span', custom_value.custom_field.name, :title => title
85
90
86 content_tag "label", content +
91 content_tag "label", content +
87 (required ? " <span class=\"required\">*</span>".html_safe : ""),
92 (required ? " <span class=\"required\">*</span>".html_safe : ""),
88 :for => "#{name}_custom_field_values_#{custom_value.custom_field.id}"
93 :for => "#{name}_custom_field_values_#{custom_value.custom_field.id}"
89 end
94 end
90
95
91 # Return custom field tag with its label tag
96 # Return custom field tag with its label tag
92 def custom_field_tag_with_label(name, custom_value, options={})
97 def custom_field_tag_with_label(name, custom_value, options={})
93 custom_field_label_tag(name, custom_value, options) + custom_field_tag(name, custom_value)
98 custom_field_label_tag(name, custom_value, options) + custom_field_tag(name, custom_value)
94 end
99 end
95
100
96 # Returns the custom field tag for when bulk editing objects
101 # Returns the custom field tag for when bulk editing objects
97 def custom_field_tag_for_bulk_edit(prefix, custom_field, objects=nil, value='')
102 def custom_field_tag_for_bulk_edit(prefix, custom_field, objects=nil, value='')
98 custom_field.format.bulk_edit_tag self,
103 custom_field.format.bulk_edit_tag self,
99 custom_field_tag_id(prefix, custom_field),
104 custom_field_tag_id(prefix, custom_field),
100 custom_field_tag_name(prefix, custom_field),
105 custom_field_tag_name(prefix, custom_field),
101 custom_field,
106 custom_field,
102 objects,
107 objects,
103 value,
108 value,
104 :class => "#{custom_field.field_format}_cf"
109 :class => "#{custom_field.field_format}_cf"
105 end
110 end
106
111
107 # Return a string used to display a custom value
112 # Return a string used to display a custom value
108 def show_value(custom_value, html=true)
113 def show_value(custom_value, html=true)
109 format_object(custom_value, html)
114 format_object(custom_value, html)
110 end
115 end
111
116
112 # Return a string used to display a custom value
117 # Return a string used to display a custom value
113 def format_value(value, custom_field)
118 def format_value(value, custom_field)
114 format_object(custom_field.format.formatted_value(self, custom_field, value, false), false)
119 format_object(custom_field.format.formatted_value(self, custom_field, value, false), false)
115 end
120 end
116
121
117 # Return an array of custom field formats which can be used in select_tag
122 # Return an array of custom field formats which can be used in select_tag
118 def custom_field_formats_for_select(custom_field)
123 def custom_field_formats_for_select(custom_field)
119 Redmine::FieldFormat.as_select(custom_field.class.customized_class.name)
124 Redmine::FieldFormat.as_select(custom_field.class.customized_class.name)
120 end
125 end
121
126
122 # Yields the given block for each custom field value of object that should be
127 # Yields the given block for each custom field value of object that should be
123 # displayed, with the custom field and the formatted value as arguments
128 # displayed, with the custom field and the formatted value as arguments
124 def render_custom_field_values(object, &block)
129 def render_custom_field_values(object, &block)
125 object.visible_custom_field_values.each do |custom_value|
130 object.visible_custom_field_values.each do |custom_value|
126 formatted = show_value(custom_value)
131 formatted = show_value(custom_value)
127 if formatted.present?
132 if formatted.present?
128 yield custom_value.custom_field, formatted
133 yield custom_value.custom_field, formatted
129 end
134 end
130 end
135 end
131 end
136 end
132
137
133 # Renders the custom_values in api views
138 # Renders the custom_values in api views
134 def render_api_custom_values(custom_values, api)
139 def render_api_custom_values(custom_values, api)
135 api.array :custom_fields do
140 api.array :custom_fields do
136 custom_values.each do |custom_value|
141 custom_values.each do |custom_value|
137 attrs = {:id => custom_value.custom_field_id, :name => custom_value.custom_field.name}
142 attrs = {:id => custom_value.custom_field_id, :name => custom_value.custom_field.name}
138 attrs.merge!(:multiple => true) if custom_value.custom_field.multiple?
143 attrs.merge!(:multiple => true) if custom_value.custom_field.multiple?
139 api.custom_field attrs do
144 api.custom_field attrs do
140 if custom_value.value.is_a?(Array)
145 if custom_value.value.is_a?(Array)
141 api.array :value do
146 api.array :value do
142 custom_value.value.each do |value|
147 custom_value.value.each do |value|
143 api.value value unless value.blank?
148 api.value value unless value.blank?
144 end
149 end
145 end
150 end
146 else
151 else
147 api.value custom_value.value
152 api.value custom_value.value
148 end
153 end
149 end
154 end
150 end
155 end
151 end unless custom_values.empty?
156 end unless custom_values.empty?
152 end
157 end
153
158
154 def edit_tag_style_tag(form, options={})
159 def edit_tag_style_tag(form, options={})
155 select_options = [[l(:label_drop_down_list), ''], [l(:label_checkboxes), 'check_box']]
160 select_options = [[l(:label_drop_down_list), ''], [l(:label_checkboxes), 'check_box']]
156 if options[:include_radio]
161 if options[:include_radio]
157 select_options << [l(:label_radio_buttons), 'radio']
162 select_options << [l(:label_radio_buttons), 'radio']
158 end
163 end
159 form.select :edit_tag_style, select_options, :label => :label_display
164 form.select :edit_tag_style, select_options, :label => :label_display
160 end
165 end
161 end
166 end
@@ -1,492 +1,492
1 # encoding: utf-8
1 # encoding: utf-8
2 #
2 #
3 # Redmine - project management software
3 # Redmine - project management software
4 # Copyright (C) 2006-2015 Jean-Philippe Lang
4 # Copyright (C) 2006-2015 Jean-Philippe Lang
5 #
5 #
6 # This program is free software; you can redistribute it and/or
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
9 # of the License, or (at your option) any later version.
10 #
10 #
11 # This program is distributed in the hope that it will be useful,
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
14 # GNU General Public License for more details.
15 #
15 #
16 # You should have received a copy of the GNU General Public License
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
19
20 module IssuesHelper
20 module IssuesHelper
21 include ApplicationHelper
21 include ApplicationHelper
22 include Redmine::Export::PDF::IssuesPdfHelper
22 include Redmine::Export::PDF::IssuesPdfHelper
23
23
24 def issue_list(issues, &block)
24 def issue_list(issues, &block)
25 ancestors = []
25 ancestors = []
26 issues.each do |issue|
26 issues.each do |issue|
27 while (ancestors.any? && !issue.is_descendant_of?(ancestors.last))
27 while (ancestors.any? && !issue.is_descendant_of?(ancestors.last))
28 ancestors.pop
28 ancestors.pop
29 end
29 end
30 yield issue, ancestors.size
30 yield issue, ancestors.size
31 ancestors << issue unless issue.leaf?
31 ancestors << issue unless issue.leaf?
32 end
32 end
33 end
33 end
34
34
35 def grouped_issue_list(issues, query, issue_count_by_group, &block)
35 def grouped_issue_list(issues, query, issue_count_by_group, &block)
36 previous_group, first = false, true
36 previous_group, first = false, true
37 issue_list(issues) do |issue, level|
37 issue_list(issues) do |issue, level|
38 group_name = group_count = nil
38 group_name = group_count = nil
39 if query.grouped? && ((group = query.group_by_column.value(issue)) != previous_group || first)
39 if query.grouped? && ((group = query.group_by_column.value(issue)) != previous_group || first)
40 if group.blank? && group != false
40 if group.blank? && group != false
41 group_name = "(#{l(:label_blank_value)})"
41 group_name = "(#{l(:label_blank_value)})"
42 else
42 else
43 group_name = column_content(query.group_by_column, issue)
43 group_name = column_content(query.group_by_column, issue)
44 end
44 end
45 group_name ||= ""
45 group_name ||= ""
46 group_count = issue_count_by_group[group]
46 group_count = issue_count_by_group[group]
47 end
47 end
48 yield issue, level, group_name, group_count
48 yield issue, level, group_name, group_count
49 previous_group, first = group, false
49 previous_group, first = group, false
50 end
50 end
51 end
51 end
52
52
53 # Renders a HTML/CSS tooltip
53 # Renders a HTML/CSS tooltip
54 #
54 #
55 # To use, a trigger div is needed. This is a div with the class of "tooltip"
55 # To use, a trigger div is needed. This is a div with the class of "tooltip"
56 # that contains this method wrapped in a span with the class of "tip"
56 # that contains this method wrapped in a span with the class of "tip"
57 #
57 #
58 # <div class="tooltip"><%= link_to_issue(issue) %>
58 # <div class="tooltip"><%= link_to_issue(issue) %>
59 # <span class="tip"><%= render_issue_tooltip(issue) %></span>
59 # <span class="tip"><%= render_issue_tooltip(issue) %></span>
60 # </div>
60 # </div>
61 #
61 #
62 def render_issue_tooltip(issue)
62 def render_issue_tooltip(issue)
63 @cached_label_status ||= l(:field_status)
63 @cached_label_status ||= l(:field_status)
64 @cached_label_start_date ||= l(:field_start_date)
64 @cached_label_start_date ||= l(:field_start_date)
65 @cached_label_due_date ||= l(:field_due_date)
65 @cached_label_due_date ||= l(:field_due_date)
66 @cached_label_assigned_to ||= l(:field_assigned_to)
66 @cached_label_assigned_to ||= l(:field_assigned_to)
67 @cached_label_priority ||= l(:field_priority)
67 @cached_label_priority ||= l(:field_priority)
68 @cached_label_project ||= l(:field_project)
68 @cached_label_project ||= l(:field_project)
69
69
70 link_to_issue(issue) + "<br /><br />".html_safe +
70 link_to_issue(issue) + "<br /><br />".html_safe +
71 "<strong>#{@cached_label_project}</strong>: #{link_to_project(issue.project)}<br />".html_safe +
71 "<strong>#{@cached_label_project}</strong>: #{link_to_project(issue.project)}<br />".html_safe +
72 "<strong>#{@cached_label_status}</strong>: #{h(issue.status.name)}<br />".html_safe +
72 "<strong>#{@cached_label_status}</strong>: #{h(issue.status.name)}<br />".html_safe +
73 "<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />".html_safe +
73 "<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />".html_safe +
74 "<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />".html_safe +
74 "<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />".html_safe +
75 "<strong>#{@cached_label_assigned_to}</strong>: #{h(issue.assigned_to)}<br />".html_safe +
75 "<strong>#{@cached_label_assigned_to}</strong>: #{h(issue.assigned_to)}<br />".html_safe +
76 "<strong>#{@cached_label_priority}</strong>: #{h(issue.priority.name)}".html_safe
76 "<strong>#{@cached_label_priority}</strong>: #{h(issue.priority.name)}".html_safe
77 end
77 end
78
78
79 def issue_heading(issue)
79 def issue_heading(issue)
80 h("#{issue.tracker} ##{issue.id}")
80 h("#{issue.tracker} ##{issue.id}")
81 end
81 end
82
82
83 def render_issue_subject_with_tree(issue)
83 def render_issue_subject_with_tree(issue)
84 s = ''
84 s = ''
85 ancestors = issue.root? ? [] : issue.ancestors.visible.to_a
85 ancestors = issue.root? ? [] : issue.ancestors.visible.to_a
86 ancestors.each do |ancestor|
86 ancestors.each do |ancestor|
87 s << '<div>' + content_tag('p', link_to_issue(ancestor, :project => (issue.project_id != ancestor.project_id)))
87 s << '<div>' + content_tag('p', link_to_issue(ancestor, :project => (issue.project_id != ancestor.project_id)))
88 end
88 end
89 s << '<div>'
89 s << '<div>'
90 subject = h(issue.subject)
90 subject = h(issue.subject)
91 if issue.is_private?
91 if issue.is_private?
92 subject = content_tag('span', l(:field_is_private), :class => 'private') + ' ' + subject
92 subject = content_tag('span', l(:field_is_private), :class => 'private') + ' ' + subject
93 end
93 end
94 s << content_tag('h3', subject)
94 s << content_tag('h3', subject)
95 s << '</div>' * (ancestors.size + 1)
95 s << '</div>' * (ancestors.size + 1)
96 s.html_safe
96 s.html_safe
97 end
97 end
98
98
99 def render_descendants_tree(issue)
99 def render_descendants_tree(issue)
100 s = '<form><table class="list issues">'
100 s = '<form><table class="list issues">'
101 issue_list(issue.descendants.visible.sort_by(&:lft)) do |child, level|
101 issue_list(issue.descendants.visible.sort_by(&:lft)) do |child, level|
102 css = "issue issue-#{child.id} hascontextmenu"
102 css = "issue issue-#{child.id} hascontextmenu"
103 css << " idnt idnt-#{level}" if level > 0
103 css << " idnt idnt-#{level}" if level > 0
104 s << content_tag('tr',
104 s << content_tag('tr',
105 content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') +
105 content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') +
106 content_tag('td', link_to_issue(child, :project => (issue.project_id != child.project_id)), :class => 'subject', :style => 'width: 50%') +
106 content_tag('td', link_to_issue(child, :project => (issue.project_id != child.project_id)), :class => 'subject', :style => 'width: 50%') +
107 content_tag('td', h(child.status)) +
107 content_tag('td', h(child.status)) +
108 content_tag('td', link_to_user(child.assigned_to)) +
108 content_tag('td', link_to_user(child.assigned_to)) +
109 content_tag('td', progress_bar(child.done_ratio, :width => '80px')),
109 content_tag('td', progress_bar(child.done_ratio, :width => '80px')),
110 :class => css)
110 :class => css)
111 end
111 end
112 s << '</table></form>'
112 s << '</table></form>'
113 s.html_safe
113 s.html_safe
114 end
114 end
115
115
116 # Returns an array of error messages for bulk edited issues
116 # Returns an array of error messages for bulk edited issues
117 def bulk_edit_error_messages(issues)
117 def bulk_edit_error_messages(issues)
118 messages = {}
118 messages = {}
119 issues.each do |issue|
119 issues.each do |issue|
120 issue.errors.full_messages.each do |message|
120 issue.errors.full_messages.each do |message|
121 messages[message] ||= []
121 messages[message] ||= []
122 messages[message] << issue
122 messages[message] << issue
123 end
123 end
124 end
124 end
125 messages.map { |message, issues|
125 messages.map { |message, issues|
126 "#{message}: " + issues.map {|i| "##{i.id}"}.join(', ')
126 "#{message}: " + issues.map {|i| "##{i.id}"}.join(', ')
127 }
127 }
128 end
128 end
129
129
130 # Returns a link for adding a new subtask to the given issue
130 # Returns a link for adding a new subtask to the given issue
131 def link_to_new_subtask(issue)
131 def link_to_new_subtask(issue)
132 attrs = {
132 attrs = {
133 :tracker_id => issue.tracker,
133 :tracker_id => issue.tracker,
134 :parent_issue_id => issue
134 :parent_issue_id => issue
135 }
135 }
136 link_to(l(:button_add), new_project_issue_path(issue.project, :issue => attrs))
136 link_to(l(:button_add), new_project_issue_path(issue.project, :issue => attrs))
137 end
137 end
138
138
139 class IssueFieldsRows
139 class IssueFieldsRows
140 include ActionView::Helpers::TagHelper
140 include ActionView::Helpers::TagHelper
141
141
142 def initialize
142 def initialize
143 @left = []
143 @left = []
144 @right = []
144 @right = []
145 end
145 end
146
146
147 def left(*args)
147 def left(*args)
148 args.any? ? @left << cells(*args) : @left
148 args.any? ? @left << cells(*args) : @left
149 end
149 end
150
150
151 def right(*args)
151 def right(*args)
152 args.any? ? @right << cells(*args) : @right
152 args.any? ? @right << cells(*args) : @right
153 end
153 end
154
154
155 def size
155 def size
156 @left.size > @right.size ? @left.size : @right.size
156 @left.size > @right.size ? @left.size : @right.size
157 end
157 end
158
158
159 def to_html
159 def to_html
160 html = ''.html_safe
160 html = ''.html_safe
161 blank = content_tag('th', '') + content_tag('td', '')
161 blank = content_tag('th', '') + content_tag('td', '')
162 size.times do |i|
162 size.times do |i|
163 left = @left[i] || blank
163 left = @left[i] || blank
164 right = @right[i] || blank
164 right = @right[i] || blank
165 html << content_tag('tr', left + right)
165 html << content_tag('tr', left + right)
166 end
166 end
167 html
167 html
168 end
168 end
169
169
170 def cells(label, text, options={})
170 def cells(label, text, options={})
171 content_tag('th', "#{label}:", options) + content_tag('td', text, options)
171 content_tag('th', "#{label}:", options) + content_tag('td', text, options)
172 end
172 end
173 end
173 end
174
174
175 def issue_fields_rows
175 def issue_fields_rows
176 r = IssueFieldsRows.new
176 r = IssueFieldsRows.new
177 yield r
177 yield r
178 r.to_html
178 r.to_html
179 end
179 end
180
180
181 def render_custom_fields_rows(issue)
181 def render_custom_fields_rows(issue)
182 values = issue.visible_custom_field_values
182 values = issue.visible_custom_field_values
183 return if values.empty?
183 return if values.empty?
184 ordered_values = []
184 ordered_values = []
185 half = (values.size / 2.0).ceil
185 half = (values.size / 2.0).ceil
186 half.times do |i|
186 half.times do |i|
187 ordered_values << values[i]
187 ordered_values << values[i]
188 ordered_values << values[i + half]
188 ordered_values << values[i + half]
189 end
189 end
190 s = "<tr>\n"
190 s = "<tr>\n"
191 n = 0
191 n = 0
192 ordered_values.compact.each do |value|
192 ordered_values.compact.each do |value|
193 css = "cf_#{value.custom_field.id}"
193 css = "cf_#{value.custom_field.id}"
194 s << "</tr>\n<tr>\n" if n > 0 && (n % 2) == 0
194 s << "</tr>\n<tr>\n" if n > 0 && (n % 2) == 0
195 s << "\t<th class=\"#{css}\">#{ h(value.custom_field.name) }:</th><td class=\"#{css}\">#{ h(show_value(value)) }</td>\n"
195 s << "\t<th class=\"#{css}\">#{ custom_field_name_tag(value.custom_field) }:</th><td class=\"#{css}\">#{ h(show_value(value)) }</td>\n"
196 n += 1
196 n += 1
197 end
197 end
198 s << "</tr>\n"
198 s << "</tr>\n"
199 s.html_safe
199 s.html_safe
200 end
200 end
201
201
202 # Returns the path for updating the issue form
202 # Returns the path for updating the issue form
203 # with project as the current project
203 # with project as the current project
204 def update_issue_form_path(project, issue)
204 def update_issue_form_path(project, issue)
205 options = {:format => 'js'}
205 options = {:format => 'js'}
206 if issue.new_record?
206 if issue.new_record?
207 if project
207 if project
208 new_project_issue_path(project, options)
208 new_project_issue_path(project, options)
209 else
209 else
210 new_issue_path(options)
210 new_issue_path(options)
211 end
211 end
212 else
212 else
213 edit_issue_path(issue, options)
213 edit_issue_path(issue, options)
214 end
214 end
215 end
215 end
216
216
217 # Returns the number of descendants for an array of issues
217 # Returns the number of descendants for an array of issues
218 def issues_descendant_count(issues)
218 def issues_descendant_count(issues)
219 ids = issues.reject(&:leaf?).map {|issue| issue.descendants.ids}.flatten.uniq
219 ids = issues.reject(&:leaf?).map {|issue| issue.descendants.ids}.flatten.uniq
220 ids -= issues.map(&:id)
220 ids -= issues.map(&:id)
221 ids.size
221 ids.size
222 end
222 end
223
223
224 def issues_destroy_confirmation_message(issues)
224 def issues_destroy_confirmation_message(issues)
225 issues = [issues] unless issues.is_a?(Array)
225 issues = [issues] unless issues.is_a?(Array)
226 message = l(:text_issues_destroy_confirmation)
226 message = l(:text_issues_destroy_confirmation)
227
227
228 descendant_count = issues_descendant_count(issues)
228 descendant_count = issues_descendant_count(issues)
229 if descendant_count > 0
229 if descendant_count > 0
230 message << "\n" + l(:text_issues_destroy_descendants_confirmation, :count => descendant_count)
230 message << "\n" + l(:text_issues_destroy_descendants_confirmation, :count => descendant_count)
231 end
231 end
232 message
232 message
233 end
233 end
234
234
235 # Returns an array of users that are proposed as watchers
235 # Returns an array of users that are proposed as watchers
236 # on the new issue form
236 # on the new issue form
237 def users_for_new_issue_watchers(issue)
237 def users_for_new_issue_watchers(issue)
238 users = issue.watcher_users
238 users = issue.watcher_users
239 if issue.project.users.count <= 20
239 if issue.project.users.count <= 20
240 users = (users + issue.project.users.sort).uniq
240 users = (users + issue.project.users.sort).uniq
241 end
241 end
242 users
242 users
243 end
243 end
244
244
245 def sidebar_queries
245 def sidebar_queries
246 unless @sidebar_queries
246 unless @sidebar_queries
247 @sidebar_queries = IssueQuery.visible.
247 @sidebar_queries = IssueQuery.visible.
248 order("#{Query.table_name}.name ASC").
248 order("#{Query.table_name}.name ASC").
249 # Project specific queries and global queries
249 # Project specific queries and global queries
250 where(@project.nil? ? ["project_id IS NULL"] : ["project_id IS NULL OR project_id = ?", @project.id]).
250 where(@project.nil? ? ["project_id IS NULL"] : ["project_id IS NULL OR project_id = ?", @project.id]).
251 to_a
251 to_a
252 end
252 end
253 @sidebar_queries
253 @sidebar_queries
254 end
254 end
255
255
256 def query_links(title, queries)
256 def query_links(title, queries)
257 return '' if queries.empty?
257 return '' if queries.empty?
258 # links to #index on issues/show
258 # links to #index on issues/show
259 url_params = controller_name == 'issues' ? {:controller => 'issues', :action => 'index', :project_id => @project} : params
259 url_params = controller_name == 'issues' ? {:controller => 'issues', :action => 'index', :project_id => @project} : params
260
260
261 content_tag('h3', title) + "\n" +
261 content_tag('h3', title) + "\n" +
262 content_tag('ul',
262 content_tag('ul',
263 queries.collect {|query|
263 queries.collect {|query|
264 css = 'query'
264 css = 'query'
265 css << ' selected' if query == @query
265 css << ' selected' if query == @query
266 content_tag('li', link_to(query.name, url_params.merge(:query_id => query), :class => css))
266 content_tag('li', link_to(query.name, url_params.merge(:query_id => query), :class => css))
267 }.join("\n").html_safe,
267 }.join("\n").html_safe,
268 :class => 'queries'
268 :class => 'queries'
269 ) + "\n"
269 ) + "\n"
270 end
270 end
271
271
272 def render_sidebar_queries
272 def render_sidebar_queries
273 out = ''.html_safe
273 out = ''.html_safe
274 out << query_links(l(:label_my_queries), sidebar_queries.select(&:is_private?))
274 out << query_links(l(:label_my_queries), sidebar_queries.select(&:is_private?))
275 out << query_links(l(:label_query_plural), sidebar_queries.reject(&:is_private?))
275 out << query_links(l(:label_query_plural), sidebar_queries.reject(&:is_private?))
276 out
276 out
277 end
277 end
278
278
279 def email_issue_attributes(issue, user)
279 def email_issue_attributes(issue, user)
280 items = []
280 items = []
281 %w(author status priority assigned_to category fixed_version).each do |attribute|
281 %w(author status priority assigned_to category fixed_version).each do |attribute|
282 unless issue.disabled_core_fields.include?(attribute+"_id")
282 unless issue.disabled_core_fields.include?(attribute+"_id")
283 items << "#{l("field_#{attribute}")}: #{issue.send attribute}"
283 items << "#{l("field_#{attribute}")}: #{issue.send attribute}"
284 end
284 end
285 end
285 end
286 issue.visible_custom_field_values(user).each do |value|
286 issue.visible_custom_field_values(user).each do |value|
287 items << "#{value.custom_field.name}: #{show_value(value, false)}"
287 items << "#{value.custom_field.name}: #{show_value(value, false)}"
288 end
288 end
289 items
289 items
290 end
290 end
291
291
292 def render_email_issue_attributes(issue, user, html=false)
292 def render_email_issue_attributes(issue, user, html=false)
293 items = email_issue_attributes(issue, user)
293 items = email_issue_attributes(issue, user)
294 if html
294 if html
295 content_tag('ul', items.map{|s| content_tag('li', s)}.join("\n").html_safe)
295 content_tag('ul', items.map{|s| content_tag('li', s)}.join("\n").html_safe)
296 else
296 else
297 items.map{|s| "* #{s}"}.join("\n")
297 items.map{|s| "* #{s}"}.join("\n")
298 end
298 end
299 end
299 end
300
300
301 # Returns the textual representation of a journal details
301 # Returns the textual representation of a journal details
302 # as an array of strings
302 # as an array of strings
303 def details_to_strings(details, no_html=false, options={})
303 def details_to_strings(details, no_html=false, options={})
304 options[:only_path] = (options[:only_path] == false ? false : true)
304 options[:only_path] = (options[:only_path] == false ? false : true)
305 strings = []
305 strings = []
306 values_by_field = {}
306 values_by_field = {}
307 details.each do |detail|
307 details.each do |detail|
308 if detail.property == 'cf'
308 if detail.property == 'cf'
309 field = detail.custom_field
309 field = detail.custom_field
310 if field && field.multiple?
310 if field && field.multiple?
311 values_by_field[field] ||= {:added => [], :deleted => []}
311 values_by_field[field] ||= {:added => [], :deleted => []}
312 if detail.old_value
312 if detail.old_value
313 values_by_field[field][:deleted] << detail.old_value
313 values_by_field[field][:deleted] << detail.old_value
314 end
314 end
315 if detail.value
315 if detail.value
316 values_by_field[field][:added] << detail.value
316 values_by_field[field][:added] << detail.value
317 end
317 end
318 next
318 next
319 end
319 end
320 end
320 end
321 strings << show_detail(detail, no_html, options)
321 strings << show_detail(detail, no_html, options)
322 end
322 end
323 if values_by_field.present?
323 if values_by_field.present?
324 multiple_values_detail = Struct.new(:property, :prop_key, :custom_field, :old_value, :value)
324 multiple_values_detail = Struct.new(:property, :prop_key, :custom_field, :old_value, :value)
325 values_by_field.each do |field, changes|
325 values_by_field.each do |field, changes|
326 if changes[:added].any?
326 if changes[:added].any?
327 detail = multiple_values_detail.new('cf', field.id.to_s, field)
327 detail = multiple_values_detail.new('cf', field.id.to_s, field)
328 detail.value = changes[:added]
328 detail.value = changes[:added]
329 strings << show_detail(detail, no_html, options)
329 strings << show_detail(detail, no_html, options)
330 end
330 end
331 if changes[:deleted].any?
331 if changes[:deleted].any?
332 detail = multiple_values_detail.new('cf', field.id.to_s, field)
332 detail = multiple_values_detail.new('cf', field.id.to_s, field)
333 detail.old_value = changes[:deleted]
333 detail.old_value = changes[:deleted]
334 strings << show_detail(detail, no_html, options)
334 strings << show_detail(detail, no_html, options)
335 end
335 end
336 end
336 end
337 end
337 end
338 strings
338 strings
339 end
339 end
340
340
341 # Returns the textual representation of a single journal detail
341 # Returns the textual representation of a single journal detail
342 def show_detail(detail, no_html=false, options={})
342 def show_detail(detail, no_html=false, options={})
343 multiple = false
343 multiple = false
344 show_diff = false
344 show_diff = false
345
345
346 case detail.property
346 case detail.property
347 when 'attr'
347 when 'attr'
348 field = detail.prop_key.to_s.gsub(/\_id$/, "")
348 field = detail.prop_key.to_s.gsub(/\_id$/, "")
349 label = l(("field_" + field).to_sym)
349 label = l(("field_" + field).to_sym)
350 case detail.prop_key
350 case detail.prop_key
351 when 'due_date', 'start_date'
351 when 'due_date', 'start_date'
352 value = format_date(detail.value.to_date) if detail.value
352 value = format_date(detail.value.to_date) if detail.value
353 old_value = format_date(detail.old_value.to_date) if detail.old_value
353 old_value = format_date(detail.old_value.to_date) if detail.old_value
354
354
355 when 'project_id', 'status_id', 'tracker_id', 'assigned_to_id',
355 when 'project_id', 'status_id', 'tracker_id', 'assigned_to_id',
356 'priority_id', 'category_id', 'fixed_version_id'
356 'priority_id', 'category_id', 'fixed_version_id'
357 value = find_name_by_reflection(field, detail.value)
357 value = find_name_by_reflection(field, detail.value)
358 old_value = find_name_by_reflection(field, detail.old_value)
358 old_value = find_name_by_reflection(field, detail.old_value)
359
359
360 when 'estimated_hours'
360 when 'estimated_hours'
361 value = "%0.02f" % detail.value.to_f unless detail.value.blank?
361 value = "%0.02f" % detail.value.to_f unless detail.value.blank?
362 old_value = "%0.02f" % detail.old_value.to_f unless detail.old_value.blank?
362 old_value = "%0.02f" % detail.old_value.to_f unless detail.old_value.blank?
363
363
364 when 'parent_id'
364 when 'parent_id'
365 label = l(:field_parent_issue)
365 label = l(:field_parent_issue)
366 value = "##{detail.value}" unless detail.value.blank?
366 value = "##{detail.value}" unless detail.value.blank?
367 old_value = "##{detail.old_value}" unless detail.old_value.blank?
367 old_value = "##{detail.old_value}" unless detail.old_value.blank?
368
368
369 when 'is_private'
369 when 'is_private'
370 value = l(detail.value == "0" ? :general_text_No : :general_text_Yes) unless detail.value.blank?
370 value = l(detail.value == "0" ? :general_text_No : :general_text_Yes) unless detail.value.blank?
371 old_value = l(detail.old_value == "0" ? :general_text_No : :general_text_Yes) unless detail.old_value.blank?
371 old_value = l(detail.old_value == "0" ? :general_text_No : :general_text_Yes) unless detail.old_value.blank?
372
372
373 when 'description'
373 when 'description'
374 show_diff = true
374 show_diff = true
375 end
375 end
376 when 'cf'
376 when 'cf'
377 custom_field = detail.custom_field
377 custom_field = detail.custom_field
378 if custom_field
378 if custom_field
379 label = custom_field.name
379 label = custom_field.name
380 if custom_field.format.class.change_as_diff
380 if custom_field.format.class.change_as_diff
381 show_diff = true
381 show_diff = true
382 else
382 else
383 multiple = custom_field.multiple?
383 multiple = custom_field.multiple?
384 value = format_value(detail.value, custom_field) if detail.value
384 value = format_value(detail.value, custom_field) if detail.value
385 old_value = format_value(detail.old_value, custom_field) if detail.old_value
385 old_value = format_value(detail.old_value, custom_field) if detail.old_value
386 end
386 end
387 end
387 end
388 when 'attachment'
388 when 'attachment'
389 label = l(:label_attachment)
389 label = l(:label_attachment)
390 when 'relation'
390 when 'relation'
391 if detail.value && !detail.old_value
391 if detail.value && !detail.old_value
392 rel_issue = Issue.visible.find_by_id(detail.value)
392 rel_issue = Issue.visible.find_by_id(detail.value)
393 value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.value}" :
393 value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.value}" :
394 (no_html ? rel_issue : link_to_issue(rel_issue, :only_path => options[:only_path]))
394 (no_html ? rel_issue : link_to_issue(rel_issue, :only_path => options[:only_path]))
395 elsif detail.old_value && !detail.value
395 elsif detail.old_value && !detail.value
396 rel_issue = Issue.visible.find_by_id(detail.old_value)
396 rel_issue = Issue.visible.find_by_id(detail.old_value)
397 old_value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.old_value}" :
397 old_value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.old_value}" :
398 (no_html ? rel_issue : link_to_issue(rel_issue, :only_path => options[:only_path]))
398 (no_html ? rel_issue : link_to_issue(rel_issue, :only_path => options[:only_path]))
399 end
399 end
400 relation_type = IssueRelation::TYPES[detail.prop_key]
400 relation_type = IssueRelation::TYPES[detail.prop_key]
401 label = l(relation_type[:name]) if relation_type
401 label = l(relation_type[:name]) if relation_type
402 end
402 end
403 call_hook(:helper_issues_show_detail_after_setting,
403 call_hook(:helper_issues_show_detail_after_setting,
404 {:detail => detail, :label => label, :value => value, :old_value => old_value })
404 {:detail => detail, :label => label, :value => value, :old_value => old_value })
405
405
406 label ||= detail.prop_key
406 label ||= detail.prop_key
407 value ||= detail.value
407 value ||= detail.value
408 old_value ||= detail.old_value
408 old_value ||= detail.old_value
409
409
410 unless no_html
410 unless no_html
411 label = content_tag('strong', label)
411 label = content_tag('strong', label)
412 old_value = content_tag("i", h(old_value)) if detail.old_value
412 old_value = content_tag("i", h(old_value)) if detail.old_value
413 if detail.old_value && detail.value.blank? && detail.property != 'relation'
413 if detail.old_value && detail.value.blank? && detail.property != 'relation'
414 old_value = content_tag("del", old_value)
414 old_value = content_tag("del", old_value)
415 end
415 end
416 if detail.property == 'attachment' && value.present? &&
416 if detail.property == 'attachment' && value.present? &&
417 atta = detail.journal.journalized.attachments.detect {|a| a.id == detail.prop_key.to_i}
417 atta = detail.journal.journalized.attachments.detect {|a| a.id == detail.prop_key.to_i}
418 # Link to the attachment if it has not been removed
418 # Link to the attachment if it has not been removed
419 value = link_to_attachment(atta, :download => true, :only_path => options[:only_path])
419 value = link_to_attachment(atta, :download => true, :only_path => options[:only_path])
420 if options[:only_path] != false && atta.is_text?
420 if options[:only_path] != false && atta.is_text?
421 value += link_to(
421 value += link_to(
422 image_tag('magnifier.png'),
422 image_tag('magnifier.png'),
423 :controller => 'attachments', :action => 'show',
423 :controller => 'attachments', :action => 'show',
424 :id => atta, :filename => atta.filename
424 :id => atta, :filename => atta.filename
425 )
425 )
426 end
426 end
427 else
427 else
428 value = content_tag("i", h(value)) if value
428 value = content_tag("i", h(value)) if value
429 end
429 end
430 end
430 end
431
431
432 if show_diff
432 if show_diff
433 s = l(:text_journal_changed_no_detail, :label => label)
433 s = l(:text_journal_changed_no_detail, :label => label)
434 unless no_html
434 unless no_html
435 diff_link = link_to 'diff',
435 diff_link = link_to 'diff',
436 {:controller => 'journals', :action => 'diff', :id => detail.journal_id,
436 {:controller => 'journals', :action => 'diff', :id => detail.journal_id,
437 :detail_id => detail.id, :only_path => options[:only_path]},
437 :detail_id => detail.id, :only_path => options[:only_path]},
438 :title => l(:label_view_diff)
438 :title => l(:label_view_diff)
439 s << " (#{ diff_link })"
439 s << " (#{ diff_link })"
440 end
440 end
441 s.html_safe
441 s.html_safe
442 elsif detail.value.present?
442 elsif detail.value.present?
443 case detail.property
443 case detail.property
444 when 'attr', 'cf'
444 when 'attr', 'cf'
445 if detail.old_value.present?
445 if detail.old_value.present?
446 l(:text_journal_changed, :label => label, :old => old_value, :new => value).html_safe
446 l(:text_journal_changed, :label => label, :old => old_value, :new => value).html_safe
447 elsif multiple
447 elsif multiple
448 l(:text_journal_added, :label => label, :value => value).html_safe
448 l(:text_journal_added, :label => label, :value => value).html_safe
449 else
449 else
450 l(:text_journal_set_to, :label => label, :value => value).html_safe
450 l(:text_journal_set_to, :label => label, :value => value).html_safe
451 end
451 end
452 when 'attachment', 'relation'
452 when 'attachment', 'relation'
453 l(:text_journal_added, :label => label, :value => value).html_safe
453 l(:text_journal_added, :label => label, :value => value).html_safe
454 end
454 end
455 else
455 else
456 l(:text_journal_deleted, :label => label, :old => old_value).html_safe
456 l(:text_journal_deleted, :label => label, :old => old_value).html_safe
457 end
457 end
458 end
458 end
459
459
460 # Find the name of an associated record stored in the field attribute
460 # Find the name of an associated record stored in the field attribute
461 def find_name_by_reflection(field, id)
461 def find_name_by_reflection(field, id)
462 unless id.present?
462 unless id.present?
463 return nil
463 return nil
464 end
464 end
465 @detail_value_name_by_reflection ||= Hash.new do |hash, key|
465 @detail_value_name_by_reflection ||= Hash.new do |hash, key|
466 association = Issue.reflect_on_association(key.first.to_sym)
466 association = Issue.reflect_on_association(key.first.to_sym)
467 name = nil
467 name = nil
468 if association
468 if association
469 record = association.klass.find_by_id(key.last)
469 record = association.klass.find_by_id(key.last)
470 if record
470 if record
471 name = record.name.force_encoding('UTF-8')
471 name = record.name.force_encoding('UTF-8')
472 end
472 end
473 end
473 end
474 hash[key] = name
474 hash[key] = name
475 end
475 end
476 @detail_value_name_by_reflection[[field, id]]
476 @detail_value_name_by_reflection[[field, id]]
477 end
477 end
478
478
479 # Renders issue children recursively
479 # Renders issue children recursively
480 def render_api_issue_children(issue, api)
480 def render_api_issue_children(issue, api)
481 return if issue.leaf?
481 return if issue.leaf?
482 api.array :children do
482 api.array :children do
483 issue.children.each do |child|
483 issue.children.each do |child|
484 api.issue(:id => child.id) do
484 api.issue(:id => child.id) do
485 api.tracker(:id => child.tracker_id, :name => child.tracker.name) unless child.tracker.nil?
485 api.tracker(:id => child.tracker_id, :name => child.tracker.name) unless child.tracker.nil?
486 api.subject child.subject
486 api.subject child.subject
487 render_api_issue_children(child, api)
487 render_api_issue_children(child, api)
488 end
488 end
489 end
489 end
490 end
490 end
491 end
491 end
492 end
492 end
@@ -1,102 +1,102
1 <%= error_messages_for 'project' %>
1 <%= error_messages_for 'project' %>
2
2
3 <div class="box tabular">
3 <div class="box tabular">
4 <!--[form:project]-->
4 <!--[form:project]-->
5 <p><%= f.text_field :name, :required => true, :size => 60 %></p>
5 <p><%= f.text_field :name, :required => true, :size => 60 %></p>
6
6
7 <p><%= f.text_area :description, :rows => 8, :class => 'wiki-edit' %></p>
7 <p><%= f.text_area :description, :rows => 8, :class => 'wiki-edit' %></p>
8 <p><%= f.text_field :identifier, :required => true, :size => 60, :disabled => @project.identifier_frozen?, :maxlength => Project::IDENTIFIER_MAX_LENGTH %>
8 <p><%= f.text_field :identifier, :required => true, :size => 60, :disabled => @project.identifier_frozen?, :maxlength => Project::IDENTIFIER_MAX_LENGTH %>
9 <% unless @project.identifier_frozen? %>
9 <% unless @project.identifier_frozen? %>
10 <em class="info"><%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %></em>
10 <em class="info"><%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %></em>
11 <% end %></p>
11 <% end %></p>
12 <p><%= f.text_field :homepage, :size => 60 %></p>
12 <p><%= f.text_field :homepage, :size => 60 %></p>
13 <p><%= f.check_box :is_public %></p>
13 <p><%= f.check_box :is_public %></p>
14
14
15 <% unless @project.allowed_parents.compact.empty? %>
15 <% unless @project.allowed_parents.compact.empty? %>
16 <p><%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %></p>
16 <p><%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %></p>
17 <% end %>
17 <% end %>
18
18
19 <% if @project.safe_attribute? 'inherit_members' %>
19 <% if @project.safe_attribute? 'inherit_members' %>
20 <p><%= f.check_box :inherit_members %></p>
20 <p><%= f.check_box :inherit_members %></p>
21 <% end %>
21 <% end %>
22
22
23 <%= wikitoolbar_for 'project_description' %>
23 <%= wikitoolbar_for 'project_description' %>
24
24
25 <% @project.custom_field_values.each do |value| %>
25 <% @project.custom_field_values.each do |value| %>
26 <p><%= custom_field_tag_with_label :project, value %></p>
26 <p><%= custom_field_tag_with_label :project, value %></p>
27 <% end %>
27 <% end %>
28 <%= call_hook(:view_projects_form, :project => @project, :form => f) %>
28 <%= call_hook(:view_projects_form, :project => @project, :form => f) %>
29 </div>
29 </div>
30
30
31 <% if @project.new_record? %>
31 <% if @project.new_record? %>
32 <fieldset class="box tabular"><legend><%= l(:label_module_plural) %></legend>
32 <fieldset class="box tabular"><legend><%= l(:label_module_plural) %></legend>
33 <% Redmine::AccessControl.available_project_modules.each do |m| %>
33 <% Redmine::AccessControl.available_project_modules.each do |m| %>
34 <label class="floating">
34 <label class="floating">
35 <%= check_box_tag 'project[enabled_module_names][]', m, @project.module_enabled?(m), :id => "project_enabled_module_names_#{m}" %>
35 <%= check_box_tag 'project[enabled_module_names][]', m, @project.module_enabled?(m), :id => "project_enabled_module_names_#{m}" %>
36 <%= l_or_humanize(m, :prefix => "project_module_") %>
36 <%= l_or_humanize(m, :prefix => "project_module_") %>
37 </label>
37 </label>
38 <% end %>
38 <% end %>
39 <%= hidden_field_tag 'project[enabled_module_names][]', '' %>
39 <%= hidden_field_tag 'project[enabled_module_names][]', '' %>
40 </fieldset>
40 </fieldset>
41 <% end %>
41 <% end %>
42
42
43 <% if @project.new_record? || @project.module_enabled?('issue_tracking') %>
43 <% if @project.new_record? || @project.module_enabled?('issue_tracking') %>
44 <% unless @trackers.empty? %>
44 <% unless @trackers.empty? %>
45 <fieldset class="box tabular" id="project_trackers"><legend><%=l(:label_tracker_plural)%></legend>
45 <fieldset class="box tabular" id="project_trackers"><legend><%=l(:label_tracker_plural)%></legend>
46 <% @trackers.each do |tracker| %>
46 <% @trackers.each do |tracker| %>
47 <label class="floating">
47 <label class="floating">
48 <%= check_box_tag 'project[tracker_ids][]', tracker.id, @project.trackers.to_a.include?(tracker), :id => nil %>
48 <%= check_box_tag 'project[tracker_ids][]', tracker.id, @project.trackers.to_a.include?(tracker), :id => nil %>
49 <%= tracker %>
49 <%= tracker %>
50 </label>
50 </label>
51 <% end %>
51 <% end %>
52 <%= hidden_field_tag 'project[tracker_ids][]', '' %>
52 <%= hidden_field_tag 'project[tracker_ids][]', '' %>
53 </fieldset>
53 </fieldset>
54 <% end %>
54 <% end %>
55
55
56 <% unless @issue_custom_fields.empty? %>
56 <% unless @issue_custom_fields.empty? %>
57 <fieldset class="box tabular" id="project_issue_custom_fields"><legend><%=l(:label_custom_field_plural)%></legend>
57 <fieldset class="box tabular" id="project_issue_custom_fields"><legend><%=l(:label_custom_field_plural)%></legend>
58 <% @issue_custom_fields.each do |custom_field| %>
58 <% @issue_custom_fields.each do |custom_field| %>
59 <label class="floating">
59 <label class="floating">
60 <%= check_box_tag 'project[issue_custom_field_ids][]', custom_field.id, (@project.all_issue_custom_fields.include? custom_field),
60 <%= check_box_tag 'project[issue_custom_field_ids][]', custom_field.id, (@project.all_issue_custom_fields.include? custom_field),
61 :disabled => (custom_field.is_for_all? ? "disabled" : nil),
61 :disabled => (custom_field.is_for_all? ? "disabled" : nil),
62 :id => nil %>
62 :id => nil %>
63 <%= custom_field.name %>
63 <%= custom_field_name_tag(custom_field) %>
64 </label>
64 </label>
65 <% end %>
65 <% end %>
66 <%= hidden_field_tag 'project[issue_custom_field_ids][]', '' %>
66 <%= hidden_field_tag 'project[issue_custom_field_ids][]', '' %>
67 </fieldset>
67 </fieldset>
68 <% end %>
68 <% end %>
69 <% end %>
69 <% end %>
70 <!--[eoform:project]-->
70 <!--[eoform:project]-->
71
71
72 <% unless @project.identifier_frozen? %>
72 <% unless @project.identifier_frozen? %>
73 <% content_for :header_tags do %>
73 <% content_for :header_tags do %>
74 <%= javascript_include_tag 'project_identifier' %>
74 <%= javascript_include_tag 'project_identifier' %>
75 <% end %>
75 <% end %>
76 <% end %>
76 <% end %>
77
77
78 <% if !User.current.admin? && @project.inherit_members? && @project.parent && User.current.member_of?(@project.parent) %>
78 <% if !User.current.admin? && @project.inherit_members? && @project.parent && User.current.member_of?(@project.parent) %>
79 <%= javascript_tag do %>
79 <%= javascript_tag do %>
80 $(document).ready(function() {
80 $(document).ready(function() {
81 $("#project_inherit_members").change(function(){
81 $("#project_inherit_members").change(function(){
82 if (!$(this).is(':checked')) {
82 if (!$(this).is(':checked')) {
83 if (!confirm("<%= escape_javascript(l(:text_own_membership_delete_confirmation)) %>")) {
83 if (!confirm("<%= escape_javascript(l(:text_own_membership_delete_confirmation)) %>")) {
84 $("#project_inherit_members").attr("checked", true);
84 $("#project_inherit_members").attr("checked", true);
85 }
85 }
86 }
86 }
87 });
87 });
88 });
88 });
89 <% end %>
89 <% end %>
90 <% end %>
90 <% end %>
91
91
92 <%= javascript_tag do %>
92 <%= javascript_tag do %>
93 $(document).ready(function() {
93 $(document).ready(function() {
94 $('#project_enabled_module_names_issue_tracking').on('change', function(){
94 $('#project_enabled_module_names_issue_tracking').on('change', function(){
95 if ($(this).prop('checked')){
95 if ($(this).prop('checked')){
96 $('#project_trackers, #project_issue_custom_fields').show();
96 $('#project_trackers, #project_issue_custom_fields').show();
97 } else {
97 } else {
98 $('#project_trackers, #project_issue_custom_fields').hide();
98 $('#project_trackers, #project_issue_custom_fields').hide();
99 }
99 }
100 }).trigger('change');
100 }).trigger('change');
101 });
101 });
102 <% end %>
102 <% end %>
@@ -1,1224 +1,1223
1 html {overflow-y:scroll;}
1 html {overflow-y:scroll;}
2 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
3
3
4 h1, h2, h3, h4 {font-family: "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;}
4 h1, h2, h3, h4 {font-family: "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;}
5 #content h1, h2, h3, h4 {color: #555;}
5 #content h1, h2, h3, h4 {color: #555;}
6 h2, .wiki h1 {font-size: 20px;}
6 h2, .wiki h1 {font-size: 20px;}
7 h3, .wiki h2 {font-size: 16px;}
7 h3, .wiki h2 {font-size: 16px;}
8 h4, .wiki h3 {font-size: 13px;}
8 h4, .wiki h3 {font-size: 13px;}
9 h4 {border-bottom: 1px dotted #bbb;}
9 h4 {border-bottom: 1px dotted #bbb;}
10
10
11 /***** Layout *****/
11 /***** Layout *****/
12 #wrapper {background: white;}
12 #wrapper {background: white;}
13
13
14 #top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
14 #top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
15 #top-menu ul {margin: 0; padding: 0;}
15 #top-menu ul {margin: 0; padding: 0;}
16 #top-menu li {
16 #top-menu li {
17 float:left;
17 float:left;
18 list-style-type:none;
18 list-style-type:none;
19 margin: 0px 0px 0px 0px;
19 margin: 0px 0px 0px 0px;
20 padding: 0px 0px 0px 0px;
20 padding: 0px 0px 0px 0px;
21 white-space:nowrap;
21 white-space:nowrap;
22 }
22 }
23 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
23 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
24 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
24 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
25
25
26 #account {float:right;}
26 #account {float:right;}
27
27
28 #header {min-height:5.3em;margin:0;background-color:#628DB6;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;}
28 #header {min-height:5.3em;margin:0;background-color:#628DB6;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;}
29 #header a {color:#f8f8f8;}
29 #header a {color:#f8f8f8;}
30 #header h1 a.ancestor { font-size: 80%; }
30 #header h1 a.ancestor { font-size: 80%; }
31 #quick-search {float:right;}
31 #quick-search {float:right;}
32
32
33 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
33 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
34 #main-menu ul {margin: 0; padding: 0;}
34 #main-menu ul {margin: 0; padding: 0;}
35 #main-menu li {
35 #main-menu li {
36 float:left;
36 float:left;
37 list-style-type:none;
37 list-style-type:none;
38 margin: 0px 2px 0px 0px;
38 margin: 0px 2px 0px 0px;
39 padding: 0px 0px 0px 0px;
39 padding: 0px 0px 0px 0px;
40 white-space:nowrap;
40 white-space:nowrap;
41 }
41 }
42 #main-menu li a {
42 #main-menu li a {
43 display: block;
43 display: block;
44 color: #fff;
44 color: #fff;
45 text-decoration: none;
45 text-decoration: none;
46 font-weight: bold;
46 font-weight: bold;
47 margin: 0;
47 margin: 0;
48 padding: 4px 10px 4px 10px;
48 padding: 4px 10px 4px 10px;
49 }
49 }
50 #main-menu li a:hover {background:#759FCF; color:#fff;}
50 #main-menu li a:hover {background:#759FCF; color:#fff;}
51 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
51 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
52
52
53 #admin-menu ul {margin: 0; padding: 0;}
53 #admin-menu ul {margin: 0; padding: 0;}
54 #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;}
54 #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;}
55
55
56 #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
56 #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
57 #admin-menu a.projects { background-image: url(../images/projects.png); }
57 #admin-menu a.projects { background-image: url(../images/projects.png); }
58 #admin-menu a.users { background-image: url(../images/user.png); }
58 #admin-menu a.users { background-image: url(../images/user.png); }
59 #admin-menu a.groups { background-image: url(../images/group.png); }
59 #admin-menu a.groups { background-image: url(../images/group.png); }
60 #admin-menu a.roles { background-image: url(../images/database_key.png); }
60 #admin-menu a.roles { background-image: url(../images/database_key.png); }
61 #admin-menu a.trackers { background-image: url(../images/ticket.png); }
61 #admin-menu a.trackers { background-image: url(../images/ticket.png); }
62 #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); }
62 #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); }
63 #admin-menu a.workflows { background-image: url(../images/ticket_go.png); }
63 #admin-menu a.workflows { background-image: url(../images/ticket_go.png); }
64 #admin-menu a.custom_fields { background-image: url(../images/textfield.png); }
64 #admin-menu a.custom_fields { background-image: url(../images/textfield.png); }
65 #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); }
65 #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); }
66 #admin-menu a.settings { background-image: url(../images/changeset.png); }
66 #admin-menu a.settings { background-image: url(../images/changeset.png); }
67 #admin-menu a.plugins { background-image: url(../images/plugin.png); }
67 #admin-menu a.plugins { background-image: url(../images/plugin.png); }
68 #admin-menu a.info { background-image: url(../images/help.png); }
68 #admin-menu a.info { background-image: url(../images/help.png); }
69 #admin-menu a.server_authentication { background-image: url(../images/server_key.png); }
69 #admin-menu a.server_authentication { background-image: url(../images/server_key.png); }
70
70
71 #main {background-color:#EEEEEE;}
71 #main {background-color:#EEEEEE;}
72
72
73 #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
73 #sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
74 * html #sidebar{ width: 22%; }
74 * html #sidebar{ width: 22%; }
75 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
75 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
76 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
76 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
77 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
77 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
78 #sidebar .contextual { margin-right: 1em; }
78 #sidebar .contextual { margin-right: 1em; }
79 #sidebar ul {margin: 0; padding: 0;}
79 #sidebar ul {margin: 0; padding: 0;}
80 #sidebar ul li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
80 #sidebar ul li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
81
81
82 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
82 #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
83 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
83 * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
84 html>body #content { min-height: 600px; }
84 html>body #content { min-height: 600px; }
85 * html body #content { height: 600px; } /* IE */
85 * html body #content { height: 600px; } /* IE */
86
86
87 #main.nosidebar #sidebar{ display: none; }
87 #main.nosidebar #sidebar{ display: none; }
88 #main.nosidebar #content{ width: auto; border-right: 0; }
88 #main.nosidebar #content{ width: auto; border-right: 0; }
89
89
90 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
90 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
91
91
92 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
92 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
93 #login-form table td {padding: 6px;}
93 #login-form table td {padding: 6px;}
94 #login-form label {font-weight: bold;}
94 #login-form label {font-weight: bold;}
95 #login-form input#username, #login-form input#password { width: 300px; }
95 #login-form input#username, #login-form input#password { width: 300px; }
96
96
97 div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;}
97 div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;}
98 div.modal h3.title {display:none;}
98 div.modal h3.title {display:none;}
99 div.modal p.buttons {text-align:right; margin-bottom:0;}
99 div.modal p.buttons {text-align:right; margin-bottom:0;}
100 div.modal .box p {margin: 0.3em 0;}
100 div.modal .box p {margin: 0.3em 0;}
101
101
102 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
102 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
103
103
104 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
104 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
105
105
106 /***** Links *****/
106 /***** Links *****/
107 a, a:link, a:visited{ color: #169; text-decoration: none; }
107 a, a:link, a:visited{ color: #169; text-decoration: none; }
108 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
108 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
109 a img{ border: 0; }
109 a img{ border: 0; }
110
110
111 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
111 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
112 a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; }
112 a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; }
113 a.user.locked, a.user.locked:link, a.user.locked:visited {color: #999;}
113 a.user.locked, a.user.locked:link, a.user.locked:visited {color: #999;}
114
114
115 #sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px;}
115 #sidebar a.selected {line-height:1.7em; padding:1px 3px 2px 2px; margin-left:-2px; background-color:#9DB9D5; color:#fff; border-radius:2px;}
116 #sidebar a.selected:hover {text-decoration:none;}
116 #sidebar a.selected:hover {text-decoration:none;}
117 #admin-menu a {line-height:1.7em;}
117 #admin-menu a {line-height:1.7em;}
118 #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}
118 #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}
119
119
120 a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;}
120 a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;}
121 a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;}
121 a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;}
122
122
123 a#toggle-completed-versions {color:#999;}
123 a#toggle-completed-versions {color:#999;}
124 /***** Tables *****/
124 /***** Tables *****/
125 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
125 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
126 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
126 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
127 table.list td {text-align:center; vertical-align:top; padding-right:10px;}
127 table.list td {text-align:center; vertical-align:top; padding-right:10px;}
128 table.list td.id { width: 2%; text-align: center;}
128 table.list td.id { width: 2%; text-align: center;}
129 table.list td.name, table.list td.description, table.list td.subject, table.list td.comments, table.list td.roles {text-align: left;}
129 table.list td.name, table.list td.description, table.list td.subject, table.list td.comments, table.list td.roles {text-align: left;}
130 table.list td.tick {width:15%}
130 table.list td.tick {width:15%}
131 table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
131 table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
132 table.list td.checkbox input {padding:0px;}
132 table.list td.checkbox input {padding:0px;}
133 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
133 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
134 table.list td.buttons a { padding-right: 0.6em; }
134 table.list td.buttons a { padding-right: 0.6em; }
135 table.list td.buttons img {vertical-align:middle;}
135 table.list td.buttons img {vertical-align:middle;}
136 table.list td.reorder {width:15%; white-space:nowrap; text-align:center; }
136 table.list td.reorder {width:15%; white-space:nowrap; text-align:center; }
137 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
137 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
138
138
139 tr.project td.name a { white-space:nowrap; }
139 tr.project td.name a { white-space:nowrap; }
140 tr.project.closed, tr.project.archived { color: #aaa; }
140 tr.project.closed, tr.project.archived { color: #aaa; }
141 tr.project.closed a, tr.project.archived a { color: #aaa; }
141 tr.project.closed a, tr.project.archived a { color: #aaa; }
142
142
143 tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
143 tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
144 tr.project.idnt-1 td.name {padding-left: 0.5em;}
144 tr.project.idnt-1 td.name {padding-left: 0.5em;}
145 tr.project.idnt-2 td.name {padding-left: 2em;}
145 tr.project.idnt-2 td.name {padding-left: 2em;}
146 tr.project.idnt-3 td.name {padding-left: 3.5em;}
146 tr.project.idnt-3 td.name {padding-left: 3.5em;}
147 tr.project.idnt-4 td.name {padding-left: 5em;}
147 tr.project.idnt-4 td.name {padding-left: 5em;}
148 tr.project.idnt-5 td.name {padding-left: 6.5em;}
148 tr.project.idnt-5 td.name {padding-left: 6.5em;}
149 tr.project.idnt-6 td.name {padding-left: 8em;}
149 tr.project.idnt-6 td.name {padding-left: 8em;}
150 tr.project.idnt-7 td.name {padding-left: 9.5em;}
150 tr.project.idnt-7 td.name {padding-left: 9.5em;}
151 tr.project.idnt-8 td.name {padding-left: 11em;}
151 tr.project.idnt-8 td.name {padding-left: 11em;}
152 tr.project.idnt-9 td.name {padding-left: 12.5em;}
152 tr.project.idnt-9 td.name {padding-left: 12.5em;}
153
153
154 tr.issue { text-align: center; white-space: nowrap; }
154 tr.issue { text-align: center; white-space: nowrap; }
155 tr.issue td.subject, tr.issue td.category, td.assigned_to, tr.issue td.string, tr.issue td.text, tr.issue td.relations, tr.issue td.parent { white-space: normal; }
155 tr.issue td.subject, tr.issue td.category, td.assigned_to, tr.issue td.string, tr.issue td.text, tr.issue td.relations, tr.issue td.parent { white-space: normal; }
156 tr.issue td.relations { text-align: left; }
156 tr.issue td.relations { text-align: left; }
157 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
157 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
158 tr.issue td.relations span {white-space: nowrap;}
158 tr.issue td.relations span {white-space: nowrap;}
159 table.issues td.description {color:#777; font-size:90%; padding:4px 4px 4px 24px; text-align:left; white-space:normal;}
159 table.issues td.description {color:#777; font-size:90%; padding:4px 4px 4px 24px; text-align:left; white-space:normal;}
160 table.issues td.description pre {white-space:normal;}
160 table.issues td.description pre {white-space:normal;}
161
161
162 tr.issue.idnt td.subject a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
162 tr.issue.idnt td.subject a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
163 tr.issue.idnt-1 td.subject {padding-left: 0.5em;}
163 tr.issue.idnt-1 td.subject {padding-left: 0.5em;}
164 tr.issue.idnt-2 td.subject {padding-left: 2em;}
164 tr.issue.idnt-2 td.subject {padding-left: 2em;}
165 tr.issue.idnt-3 td.subject {padding-left: 3.5em;}
165 tr.issue.idnt-3 td.subject {padding-left: 3.5em;}
166 tr.issue.idnt-4 td.subject {padding-left: 5em;}
166 tr.issue.idnt-4 td.subject {padding-left: 5em;}
167 tr.issue.idnt-5 td.subject {padding-left: 6.5em;}
167 tr.issue.idnt-5 td.subject {padding-left: 6.5em;}
168 tr.issue.idnt-6 td.subject {padding-left: 8em;}
168 tr.issue.idnt-6 td.subject {padding-left: 8em;}
169 tr.issue.idnt-7 td.subject {padding-left: 9.5em;}
169 tr.issue.idnt-7 td.subject {padding-left: 9.5em;}
170 tr.issue.idnt-8 td.subject {padding-left: 11em;}
170 tr.issue.idnt-8 td.subject {padding-left: 11em;}
171 tr.issue.idnt-9 td.subject {padding-left: 12.5em;}
171 tr.issue.idnt-9 td.subject {padding-left: 12.5em;}
172
172
173 table.issue-report {table-layout:fixed;}
173 table.issue-report {table-layout:fixed;}
174
174
175 tr.entry { border: 1px solid #f8f8f8; }
175 tr.entry { border: 1px solid #f8f8f8; }
176 tr.entry td { white-space: nowrap; }
176 tr.entry td { white-space: nowrap; }
177 tr.entry td.filename {width:30%; text-align:left;}
177 tr.entry td.filename {width:30%; text-align:left;}
178 tr.entry td.filename_no_report {width:70%; text-align:left;}
178 tr.entry td.filename_no_report {width:70%; text-align:left;}
179 tr.entry td.size { text-align: right; font-size: 90%; }
179 tr.entry td.size { text-align: right; font-size: 90%; }
180 tr.entry td.revision, tr.entry td.author { text-align: center; }
180 tr.entry td.revision, tr.entry td.author { text-align: center; }
181 tr.entry td.age { text-align: right; }
181 tr.entry td.age { text-align: right; }
182 tr.entry.file td.filename a { margin-left: 16px; }
182 tr.entry.file td.filename a { margin-left: 16px; }
183 tr.entry.file td.filename_no_report a { margin-left: 16px; }
183 tr.entry.file td.filename_no_report a { margin-left: 16px; }
184
184
185 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
185 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
186 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
186 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
187
187
188 tr.changeset { height: 20px }
188 tr.changeset { height: 20px }
189 tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; }
189 tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; }
190 tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; }
190 tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; }
191 tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;}
191 tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;}
192 tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;}
192 tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;}
193
193
194 table.files tbody th {text-align:left;}
194 table.files tbody th {text-align:left;}
195 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
195 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
196 table.files tr.file td.digest { font-size: 80%; }
196 table.files tr.file td.digest { font-size: 80%; }
197
197
198 table.members td.roles, table.memberships td.roles { width: 45%; }
198 table.members td.roles, table.memberships td.roles { width: 45%; }
199
199
200 tr.message { height: 2.6em; }
200 tr.message { height: 2.6em; }
201 tr.message td.subject { padding-left: 20px; }
201 tr.message td.subject { padding-left: 20px; }
202 tr.message td.created_on { white-space: nowrap; }
202 tr.message td.created_on { white-space: nowrap; }
203 tr.message td.last_message { font-size: 80%; white-space: nowrap; }
203 tr.message td.last_message { font-size: 80%; white-space: nowrap; }
204 tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; }
204 tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; }
205 tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; }
205 tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; }
206
206
207 tr.version.closed, tr.version.closed a { color: #999; }
207 tr.version.closed, tr.version.closed a { color: #999; }
208 tr.version td.name { padding-left: 20px; }
208 tr.version td.name { padding-left: 20px; }
209 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
209 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
210 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }
210 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }
211
211
212 tr.user td {width:13%;white-space: nowrap;}
212 tr.user td {width:13%;white-space: nowrap;}
213 td.username, td.firstname, td.lastname, td.email {text-align:left !important;}
213 td.username, td.firstname, td.lastname, td.email {text-align:left !important;}
214 tr.user td.email { width:18%; }
214 tr.user td.email { width:18%; }
215 tr.user.locked, tr.user.registered { color: #aaa; }
215 tr.user.locked, tr.user.registered { color: #aaa; }
216 tr.user.locked a, tr.user.registered a { color: #aaa; }
216 tr.user.locked a, tr.user.registered a { color: #aaa; }
217
217
218 table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;}
218 table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;}
219
219
220 tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;}
220 tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;}
221
221
222 tr.time-entry { text-align: center; white-space: nowrap; }
222 tr.time-entry { text-align: center; white-space: nowrap; }
223 tr.time-entry td.issue, tr.time-entry td.comments { text-align: left; white-space: normal; }
223 tr.time-entry td.issue, tr.time-entry td.comments { text-align: left; white-space: normal; }
224 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
224 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
225 td.hours .hours-dec { font-size: 0.9em; }
225 td.hours .hours-dec { font-size: 0.9em; }
226
226
227 table.plugins td { vertical-align: middle; }
227 table.plugins td { vertical-align: middle; }
228 table.plugins td.configure { text-align: right; padding-right: 1em; }
228 table.plugins td.configure { text-align: right; padding-right: 1em; }
229 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
229 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
230 table.plugins span.description { display: block; font-size: 0.9em; }
230 table.plugins span.description { display: block; font-size: 0.9em; }
231 table.plugins span.url { display: block; font-size: 0.9em; }
231 table.plugins span.url { display: block; font-size: 0.9em; }
232
232
233 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; text-align:left; }
233 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; text-align:left; }
234 table.list tbody tr.group span.count {position:relative; top:-1px; color:#fff; font-size:10px; background:#9DB9D5; padding:0px 6px 1px 6px; border-radius:3px; margin-left:4px;}
234 table.list tbody tr.group span.count {position:relative; top:-1px; color:#fff; font-size:10px; background:#9DB9D5; padding:0px 6px 1px 6px; border-radius:3px; margin-left:4px;}
235 tr.group a.toggle-all { color: #aaa; font-size: 80%; font-weight: normal; display:none;}
235 tr.group a.toggle-all { color: #aaa; font-size: 80%; font-weight: normal; display:none;}
236 tr.group:hover a.toggle-all { display:inline;}
236 tr.group:hover a.toggle-all { display:inline;}
237 a.toggle-all:hover {text-decoration:none;}
237 a.toggle-all:hover {text-decoration:none;}
238
238
239 table.list tbody tr:hover { background-color:#ffffdd; }
239 table.list tbody tr:hover { background-color:#ffffdd; }
240 table.list tbody tr.group:hover { background-color:inherit; }
240 table.list tbody tr.group:hover { background-color:inherit; }
241 table td {padding:2px;}
241 table td {padding:2px;}
242 table p {margin:0;}
242 table p {margin:0;}
243 .odd {background-color:#f6f7f8;}
243 .odd {background-color:#f6f7f8;}
244 .even {background-color: #fff;}
244 .even {background-color: #fff;}
245
245
246 tr.builtin td.name {font-style:italic;}
246 tr.builtin td.name {font-style:italic;}
247
247
248 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
248 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
249 a.sort.asc { background-image: url(../images/sort_asc.png); }
249 a.sort.asc { background-image: url(../images/sort_asc.png); }
250 a.sort.desc { background-image: url(../images/sort_desc.png); }
250 a.sort.desc { background-image: url(../images/sort_desc.png); }
251
251
252 table.attributes { width: 100% }
252 table.attributes { width: 100% }
253 table.attributes th { vertical-align: top; text-align: left; }
253 table.attributes th { vertical-align: top; text-align: left; }
254 table.attributes td { vertical-align: top; }
254 table.attributes td { vertical-align: top; }
255
255
256 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
256 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
257 table.boards td.last-message {text-align:left;font-size:80%;}
257 table.boards td.last-message {text-align:left;font-size:80%;}
258
258
259 table.messages td.last_message {text-align:left;}
259 table.messages td.last_message {text-align:left;}
260
260
261 #query_form_content {font-size:90%;}
261 #query_form_content {font-size:90%;}
262
262
263 table.query-columns {
263 table.query-columns {
264 border-collapse: collapse;
264 border-collapse: collapse;
265 border: 0;
265 border: 0;
266 }
266 }
267
267
268 table.query-columns td.buttons {
268 table.query-columns td.buttons {
269 vertical-align: middle;
269 vertical-align: middle;
270 text-align: center;
270 text-align: center;
271 }
271 }
272 table.query-columns td.buttons input[type=button] {width:35px;}
272 table.query-columns td.buttons input[type=button] {width:35px;}
273
273
274 td.center {text-align:center;}
274 td.center {text-align:center;}
275
275
276 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
276 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
277
277
278 div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
278 div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
279 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
279 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
280 div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
280 div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
281 div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
281 div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
282
282
283 #watchers select {width: 95%; display: block;}
283 #watchers select {width: 95%; display: block;}
284 #watchers a.delete {opacity: 0.4; vertical-align: middle;}
284 #watchers a.delete {opacity: 0.4; vertical-align: middle;}
285 #watchers a.delete:hover {opacity: 1;}
285 #watchers a.delete:hover {opacity: 1;}
286 #watchers img.gravatar {margin: 0 4px 2px 0;}
286 #watchers img.gravatar {margin: 0 4px 2px 0;}
287
287
288 span#watchers_inputs {overflow:auto; display:block;}
288 span#watchers_inputs {overflow:auto; display:block;}
289 span.search_for_watchers {display:block;}
289 span.search_for_watchers {display:block;}
290 span.search_for_watchers, span.add_attachment {font-size:80%; line-height:2.5em;}
290 span.search_for_watchers, span.add_attachment {font-size:80%; line-height:2.5em;}
291 span.search_for_watchers a, span.add_attachment a {padding-left:16px; background: url(../images/bullet_add.png) no-repeat 0 50%; }
291 span.search_for_watchers a, span.add_attachment a {padding-left:16px; background: url(../images/bullet_add.png) no-repeat 0 50%; }
292
292
293
293
294 .highlight { background-color: #FCFD8D;}
294 .highlight { background-color: #FCFD8D;}
295 .highlight.token-1 { background-color: #faa;}
295 .highlight.token-1 { background-color: #faa;}
296 .highlight.token-2 { background-color: #afa;}
296 .highlight.token-2 { background-color: #afa;}
297 .highlight.token-3 { background-color: #aaf;}
297 .highlight.token-3 { background-color: #aaf;}
298
298
299 .box{
299 .box{
300 padding:6px;
300 padding:6px;
301 margin-bottom: 10px;
301 margin-bottom: 10px;
302 background-color:#f6f6f6;
302 background-color:#f6f6f6;
303 color:#505050;
303 color:#505050;
304 line-height:1.5em;
304 line-height:1.5em;
305 border: 1px solid #e4e4e4;
305 border: 1px solid #e4e4e4;
306 word-wrap: break-word;
306 word-wrap: break-word;
307 }
307 }
308
308
309 div.square {
309 div.square {
310 border: 1px solid #999;
310 border: 1px solid #999;
311 float: left;
311 float: left;
312 margin: .3em .4em 0 .4em;
312 margin: .3em .4em 0 .4em;
313 overflow: hidden;
313 overflow: hidden;
314 width: .6em; height: .6em;
314 width: .6em; height: .6em;
315 }
315 }
316 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
316 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
317 .contextual input, .contextual select {font-size:0.9em;}
317 .contextual input, .contextual select {font-size:0.9em;}
318 .message .contextual { margin-top: 0; }
318 .message .contextual { margin-top: 0; }
319
319
320 .splitcontent {overflow:auto;}
320 .splitcontent {overflow:auto;}
321 .splitcontentleft{float:left; width:49%;}
321 .splitcontentleft{float:left; width:49%;}
322 .splitcontentright{float:right; width:49%;}
322 .splitcontentright{float:right; width:49%;}
323 form {display: inline;}
323 form {display: inline;}
324 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
324 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
325 fieldset {border: 1px solid #e4e4e4; margin:0;}
325 fieldset {border: 1px solid #e4e4e4; margin:0;}
326 legend {color: #484848;}
326 legend {color: #484848;}
327 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
327 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
328 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
328 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
329 blockquote blockquote { margin-left: 0;}
329 blockquote blockquote { margin-left: 0;}
330 abbr { border-bottom: 1px dotted; cursor: help; }
330 abbr, span[title] { border-bottom: 1px dotted #aaa; cursor: help; }
331 textarea.wiki-edit {width:99%; resize:vertical;}
331 textarea.wiki-edit {width:99%; resize:vertical;}
332 li p {margin-top: 0;}
332 li p {margin-top: 0;}
333 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
333 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
334 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
334 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
335 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
335 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
336 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
336 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
337 .ltr {direction:ltr !important; unicode-bidi:bidi-override;}
337 .ltr {direction:ltr !important; unicode-bidi:bidi-override;}
338 .rtl {direction:rtl !important; unicode-bidi:bidi-override;}
338 .rtl {direction:rtl !important; unicode-bidi:bidi-override;}
339
339
340 div.issue div.subject div div { padding-left: 16px; }
340 div.issue div.subject div div { padding-left: 16px; }
341 div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
341 div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
342 div.issue div.subject>div>p { margin-top: 0.5em; }
342 div.issue div.subject>div>p { margin-top: 0.5em; }
343 div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
343 div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
344 div.issue span.private, div.journal 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;}
344 div.issue span.private, div.journal 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;}
345 div.issue .next-prev-links {color:#999;}
345 div.issue .next-prev-links {color:#999;}
346 div.issue table.attributes th {width:22%;}
346 div.issue table.attributes th {width:22%;}
347 div.issue table.attributes td {width:28%;}
347 div.issue table.attributes td {width:28%;}
348
348
349 #issue_tree table.issues, #relations table.issues { border: 0; }
349 #issue_tree table.issues, #relations table.issues { border: 0; }
350 #issue_tree td.checkbox, #relations td.checkbox {display:none;}
350 #issue_tree td.checkbox, #relations td.checkbox {display:none;}
351 #relations td.buttons {padding:0;}
351 #relations td.buttons {padding:0;}
352
352
353 fieldset.collapsible {border-width: 1px 0 0 0;}
353 fieldset.collapsible {border-width: 1px 0 0 0;}
354 fieldset.collapsible>legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
354 fieldset.collapsible>legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
355 fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_collapsed.png); }
355 fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_collapsed.png); }
356
356
357 fieldset#date-range p { margin: 2px 0 2px 0; }
357 fieldset#date-range p { margin: 2px 0 2px 0; }
358 fieldset#filters table { border-collapse: collapse; }
358 fieldset#filters table { border-collapse: collapse; }
359 fieldset#filters table td { padding: 0; vertical-align: middle; }
359 fieldset#filters table td { padding: 0; vertical-align: middle; }
360 fieldset#filters tr.filter { height: 2.1em; }
360 fieldset#filters tr.filter { height: 2.1em; }
361 fieldset#filters td.field { width:230px; }
361 fieldset#filters td.field { width:230px; }
362 fieldset#filters td.operator { width:180px; }
362 fieldset#filters td.operator { width:180px; }
363 fieldset#filters td.operator select {max-width:170px;}
363 fieldset#filters td.operator select {max-width:170px;}
364 fieldset#filters td.values { white-space:nowrap; }
364 fieldset#filters td.values { white-space:nowrap; }
365 fieldset#filters td.values select {min-width:130px;}
365 fieldset#filters td.values select {min-width:130px;}
366 fieldset#filters td.values input {height:1em;}
366 fieldset#filters td.values input {height:1em;}
367 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
367 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
368
368
369 .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;}
369 .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;}
370 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
370 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
371
371
372 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
372 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
373 div#issue-changesets div.changeset { padding: 4px;}
373 div#issue-changesets div.changeset { padding: 4px;}
374 div#issue-changesets div.changeset { border-bottom: 1px solid #ddd; }
374 div#issue-changesets div.changeset { border-bottom: 1px solid #ddd; }
375 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
375 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
376
376
377 .journal ul.details img {margin:0 0 -3px 4px;}
377 .journal ul.details img {margin:0 0 -3px 4px;}
378 div.journal {overflow:auto;}
378 div.journal {overflow:auto;}
379 div.journal.private-notes {border-left:2px solid #d22; padding-left:4px; margin-left:-6px;}
379 div.journal.private-notes {border-left:2px solid #d22; padding-left:4px; margin-left:-6px;}
380
380
381 div#activity dl, #search-results { margin-left: 2em; }
381 div#activity dl, #search-results { margin-left: 2em; }
382 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
382 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
383 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
383 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
384 div#activity dt.me .time { border-bottom: 1px solid #999; }
384 div#activity dt.me .time { border-bottom: 1px solid #999; }
385 div#activity dt .time { color: #777; font-size: 80%; }
385 div#activity dt .time { color: #777; font-size: 80%; }
386 div#activity dd .description, #search-results dd .description { font-style: italic; }
386 div#activity dd .description, #search-results dd .description { font-style: italic; }
387 div#activity span.project:after, #search-results span.project:after { content: " -"; }
387 div#activity span.project:after, #search-results span.project:after { content: " -"; }
388 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
388 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
389 div#activity dt.grouped {margin-left:5em;}
389 div#activity dt.grouped {margin-left:5em;}
390 div#activity dd.grouped {margin-left:9em;}
390 div#activity dd.grouped {margin-left:9em;}
391
391
392 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
392 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
393
393
394 div#search-results-counts {float:right;}
394 div#search-results-counts {float:right;}
395 div#search-results-counts ul { margin-top: 0.5em; }
395 div#search-results-counts ul { margin-top: 0.5em; }
396 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
396 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
397
397
398 dt.issue { background-image: url(../images/ticket.png); }
398 dt.issue { background-image: url(../images/ticket.png); }
399 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
399 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
400 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
400 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
401 dt.issue-note { background-image: url(../images/ticket_note.png); }
401 dt.issue-note { background-image: url(../images/ticket_note.png); }
402 dt.changeset { background-image: url(../images/changeset.png); }
402 dt.changeset { background-image: url(../images/changeset.png); }
403 dt.news { background-image: url(../images/news.png); }
403 dt.news { background-image: url(../images/news.png); }
404 dt.message { background-image: url(../images/message.png); }
404 dt.message { background-image: url(../images/message.png); }
405 dt.reply { background-image: url(../images/comments.png); }
405 dt.reply { background-image: url(../images/comments.png); }
406 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
406 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
407 dt.attachment { background-image: url(../images/attachment.png); }
407 dt.attachment { background-image: url(../images/attachment.png); }
408 dt.document { background-image: url(../images/document.png); }
408 dt.document { background-image: url(../images/document.png); }
409 dt.project { background-image: url(../images/projects.png); }
409 dt.project { background-image: url(../images/projects.png); }
410 dt.time-entry { background-image: url(../images/time.png); }
410 dt.time-entry { background-image: url(../images/time.png); }
411
411
412 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
412 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
413
413
414 div#roadmap .related-issues { margin-bottom: 1em; }
414 div#roadmap .related-issues { margin-bottom: 1em; }
415 div#roadmap .related-issues td.checkbox { display: none; }
415 div#roadmap .related-issues td.checkbox { display: none; }
416 div#roadmap .wiki h1:first-child { display: none; }
416 div#roadmap .wiki h1:first-child { display: none; }
417 div#roadmap .wiki h1 { font-size: 120%; }
417 div#roadmap .wiki h1 { font-size: 120%; }
418 div#roadmap .wiki h2 { font-size: 110%; }
418 div#roadmap .wiki h2 { font-size: 110%; }
419 body.controller-versions.action-show div#roadmap .related-issues {width:70%;}
419 body.controller-versions.action-show div#roadmap .related-issues {width:70%;}
420
420
421 div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
421 div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
422 div#version-summary fieldset { margin-bottom: 1em; }
422 div#version-summary fieldset { margin-bottom: 1em; }
423 div#version-summary fieldset.time-tracking table { width:100%; }
423 div#version-summary fieldset.time-tracking table { width:100%; }
424 div#version-summary th, div#version-summary td.total-hours { text-align: right; }
424 div#version-summary th, div#version-summary td.total-hours { text-align: right; }
425
425
426 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
426 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
427 table#time-report tbody tr.subtotal { font-style: italic; color:#777;}
427 table#time-report tbody tr.subtotal { font-style: italic; color:#777;}
428 table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; }
428 table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; }
429 table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;}
429 table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;}
430 table#time-report .hours-dec { font-size: 0.9em; }
430 table#time-report .hours-dec { font-size: 0.9em; }
431
431
432 div.wiki-page .contextual a {opacity: 0.4}
432 div.wiki-page .contextual a {opacity: 0.4}
433 div.wiki-page .contextual a:hover {opacity: 1}
433 div.wiki-page .contextual a:hover {opacity: 1}
434
434
435 form .attributes select { width: 60%; }
435 form .attributes select { width: 60%; }
436 input#issue_subject { width: 99%; }
436 input#issue_subject { width: 99%; }
437 select#issue_done_ratio { width: 95px; }
437 select#issue_done_ratio { width: 95px; }
438
438
439 ul.projects {margin:0; padding-left:1em;}
439 ul.projects {margin:0; padding-left:1em;}
440 ul.projects ul {padding-left:1.6em;}
440 ul.projects ul {padding-left:1.6em;}
441 ul.projects.root {margin:0; padding:0;}
441 ul.projects.root {margin:0; padding:0;}
442 ul.projects li {list-style-type:none;}
442 ul.projects li {list-style-type:none;}
443
443
444 #projects-index ul.projects ul.projects { border-left: 3px solid #e0e0e0; padding-left:1em;}
444 #projects-index ul.projects ul.projects { border-left: 3px solid #e0e0e0; padding-left:1em;}
445 #projects-index ul.projects li.root {margin-bottom: 1em;}
445 #projects-index ul.projects li.root {margin-bottom: 1em;}
446 #projects-index ul.projects li.child {margin-top: 1em;}
446 #projects-index ul.projects li.child {margin-top: 1em;}
447 #projects-index ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
447 #projects-index ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
448 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
448 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
449
449
450 #notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;}
450 #notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;}
451
451
452 #related-issues li img {vertical-align:middle;}
452 #related-issues li img {vertical-align:middle;}
453
453
454 ul.properties {padding:0; font-size: 0.9em; color: #777;}
454 ul.properties {padding:0; font-size: 0.9em; color: #777;}
455 ul.properties li {list-style-type:none;}
455 ul.properties li {list-style-type:none;}
456 ul.properties li span {font-style:italic;}
456 ul.properties li span {font-style:italic;}
457
457
458 .total-hours { font-size: 110%; font-weight: bold; }
458 .total-hours { font-size: 110%; font-weight: bold; }
459 .total-hours span.hours-int { font-size: 120%; }
459 .total-hours span.hours-int { font-size: 120%; }
460
460
461 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
461 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
462 #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
462 #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }
463
463
464 #workflow_copy_form select { width: 200px; }
464 #workflow_copy_form select { width: 200px; }
465 table.transitions td.enabled {background: #bfb;}
465 table.transitions td.enabled {background: #bfb;}
466 #workflow_form table select {font-size:90%; max-width:100px;}
466 #workflow_form table select {font-size:90%; max-width:100px;}
467 table.fields_permissions td.readonly {background:#ddd;}
467 table.fields_permissions td.readonly {background:#ddd;}
468 table.fields_permissions td.required {background:#d88;}
468 table.fields_permissions td.required {background:#d88;}
469
469
470 select.expandable {vertical-align:top;}
470 select.expandable {vertical-align:top;}
471
471
472 textarea#custom_field_possible_values {width: 95%; resize:vertical}
472 textarea#custom_field_possible_values {width: 95%; resize:vertical}
473 textarea#custom_field_default_value {width: 95%; resize:vertical}
473 textarea#custom_field_default_value {width: 95%; resize:vertical}
474
474
475 input#content_comments {width: 99%}
475 input#content_comments {width: 99%}
476
476
477 p.pagination {margin-top:8px; font-size: 90%}
477 p.pagination {margin-top:8px; font-size: 90%}
478
478
479 #search-form fieldset p {margin:0.2em 0;}
479 #search-form fieldset p {margin:0.2em 0;}
480
480
481 /***** Tabular forms ******/
481 /***** Tabular forms ******/
482 .tabular p{
482 .tabular p{
483 margin: 0;
483 margin: 0;
484 padding: 3px 0 3px 0;
484 padding: 3px 0 3px 0;
485 padding-left: 180px; /* width of left column containing the label elements */
485 padding-left: 180px; /* width of left column containing the label elements */
486 min-height: 1.8em;
486 min-height: 1.8em;
487 clear:left;
487 clear:left;
488 }
488 }
489
489
490 html>body .tabular p {overflow:hidden;}
490 html>body .tabular p {overflow:hidden;}
491
491
492 .tabular input, .tabular select {max-width:95%}
492 .tabular input, .tabular select {max-width:95%}
493 .tabular textarea {width:95%; resize:vertical;}
493 .tabular textarea {width:95%; resize:vertical;}
494 .tabular span[title] {border-bottom:1px dotted #aaa;}
495
494
496 .tabular label{
495 .tabular label{
497 font-weight: bold;
496 font-weight: bold;
498 float: left;
497 float: left;
499 text-align: right;
498 text-align: right;
500 /* width of left column */
499 /* width of left column */
501 margin-left: -180px;
500 margin-left: -180px;
502 /* width of labels. Should be smaller than left column to create some right margin */
501 /* width of labels. Should be smaller than left column to create some right margin */
503 width: 175px;
502 width: 175px;
504 }
503 }
505
504
506 .tabular label.floating{
505 .tabular label.floating{
507 font-weight: normal;
506 font-weight: normal;
508 margin-left: 0px;
507 margin-left: 0px;
509 text-align: left;
508 text-align: left;
510 width: 270px;
509 width: 270px;
511 }
510 }
512
511
513 .tabular label.block{
512 .tabular label.block{
514 font-weight: normal;
513 font-weight: normal;
515 margin-left: 0px !important;
514 margin-left: 0px !important;
516 text-align: left;
515 text-align: left;
517 float: none;
516 float: none;
518 display: block;
517 display: block;
519 width: auto !important;
518 width: auto !important;
520 }
519 }
521
520
522 .tabular label.inline{
521 .tabular label.inline{
523 font-weight: normal;
522 font-weight: normal;
524 float:none;
523 float:none;
525 margin-left: 5px !important;
524 margin-left: 5px !important;
526 width: auto;
525 width: auto;
527 }
526 }
528
527
529 label.no-css {
528 label.no-css {
530 font-weight: inherit;
529 font-weight: inherit;
531 float:none;
530 float:none;
532 text-align:left;
531 text-align:left;
533 margin-left:0px;
532 margin-left:0px;
534 width:auto;
533 width:auto;
535 }
534 }
536 input#time_entry_comments { width: 90%;}
535 input#time_entry_comments { width: 90%;}
537
536
538 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
537 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
539
538
540 .tabular.settings p{ padding-left: 300px; }
539 .tabular.settings p{ padding-left: 300px; }
541 .tabular.settings label{ margin-left: -300px; width: 295px; }
540 .tabular.settings label{ margin-left: -300px; width: 295px; }
542 .tabular.settings textarea { width: 99%; }
541 .tabular.settings textarea { width: 99%; }
543
542
544 .settings.enabled_scm table {width:100%}
543 .settings.enabled_scm table {width:100%}
545 .settings.enabled_scm td.scm_name{ font-weight: bold; }
544 .settings.enabled_scm td.scm_name{ font-weight: bold; }
546
545
547 fieldset.settings label { display: block; }
546 fieldset.settings label { display: block; }
548 fieldset#notified_events .parent { padding-left: 20px; }
547 fieldset#notified_events .parent { padding-left: 20px; }
549
548
550 span.required {color: #bb0000;}
549 span.required {color: #bb0000;}
551 .summary {font-style: italic;}
550 .summary {font-style: italic;}
552
551
553 .check_box_group {
552 .check_box_group {
554 display:block;
553 display:block;
555 width:95%;
554 width:95%;
556 max-height:300px;
555 max-height:300px;
557 overflow-y:auto;
556 overflow-y:auto;
558 padding:2px 4px 4px 2px;
557 padding:2px 4px 4px 2px;
559 background:#fff;
558 background:#fff;
560 border:1px solid #9EB1C2;
559 border:1px solid #9EB1C2;
561 border-radius:2px
560 border-radius:2px
562 }
561 }
563 .check_box_group label {
562 .check_box_group label {
564 font-weight: normal;
563 font-weight: normal;
565 margin-left: 0px !important;
564 margin-left: 0px !important;
566 text-align: left;
565 text-align: left;
567 float: none;
566 float: none;
568 display: block;
567 display: block;
569 width: auto;
568 width: auto;
570 }
569 }
571 .check_box_group.bool_cf {border:0; background:inherit;}
570 .check_box_group.bool_cf {border:0; background:inherit;}
572 .check_box_group.bool_cf label {display: inline;}
571 .check_box_group.bool_cf label {display: inline;}
573
572
574 #attachments_fields input.description {margin-left:4px; width:340px;}
573 #attachments_fields input.description {margin-left:4px; width:340px;}
575 #attachments_fields span {display:block; white-space:nowrap;}
574 #attachments_fields span {display:block; white-space:nowrap;}
576 #attachments_fields input.filename {border:0; height:1.8em; width:250px; color:#555; background-color:inherit; background:url(../images/attachment.png) no-repeat 1px 50%; padding-left:18px;}
575 #attachments_fields input.filename {border:0; height:1.8em; width:250px; color:#555; background-color:inherit; background:url(../images/attachment.png) no-repeat 1px 50%; padding-left:18px;}
577 #attachments_fields .ajax-waiting input.filename {background:url(../images/hourglass.png) no-repeat 0px 50%;}
576 #attachments_fields .ajax-waiting input.filename {background:url(../images/hourglass.png) no-repeat 0px 50%;}
578 #attachments_fields .ajax-loading input.filename {background:url(../images/loading.gif) no-repeat 0px 50%;}
577 #attachments_fields .ajax-loading input.filename {background:url(../images/loading.gif) no-repeat 0px 50%;}
579 #attachments_fields div.ui-progressbar { width: 100px; height:14px; margin: 2px 0 -5px 8px; display: inline-block; }
578 #attachments_fields div.ui-progressbar { width: 100px; height:14px; margin: 2px 0 -5px 8px; display: inline-block; }
580 a.remove-upload {background: url(../images/delete.png) no-repeat 1px 50%; width:1px; display:inline-block; padding-left:16px;}
579 a.remove-upload {background: url(../images/delete.png) no-repeat 1px 50%; width:1px; display:inline-block; padding-left:16px;}
581 a.remove-upload:hover {text-decoration:none !important;}
580 a.remove-upload:hover {text-decoration:none !important;}
582
581
583 div.fileover { background-color: lavender; }
582 div.fileover { background-color: lavender; }
584
583
585 div.attachments { margin-top: 12px; }
584 div.attachments { margin-top: 12px; }
586 div.attachments p { margin:4px 0 2px 0; }
585 div.attachments p { margin:4px 0 2px 0; }
587 div.attachments img { vertical-align: middle; }
586 div.attachments img { vertical-align: middle; }
588 div.attachments span.author { font-size: 0.9em; color: #888; }
587 div.attachments span.author { font-size: 0.9em; color: #888; }
589
588
590 div.thumbnails {margin-top:0.6em;}
589 div.thumbnails {margin-top:0.6em;}
591 div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;}
590 div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;}
592 div.thumbnails img {margin: 3px;}
591 div.thumbnails img {margin: 3px;}
593
592
594 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
593 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
595 .other-formats span + span:before { content: "| "; }
594 .other-formats span + span:before { content: "| "; }
596
595
597 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
596 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
598
597
599 em.info {font-style:normal;font-size:90%;color:#888;display:block;}
598 em.info {font-style:normal;font-size:90%;color:#888;display:block;}
600 em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;}
599 em.info.error {padding-left:20px; background:url(../images/exclamation.png) no-repeat 0 50%;}
601
600
602 textarea.text_cf {width:95%; resize:vertical;}
601 textarea.text_cf {width:95%; resize:vertical;}
603 input.string_cf, input.link_cf {width:95%;}
602 input.string_cf, input.link_cf {width:95%;}
604 select.bool_cf {width:auto !important;}
603 select.bool_cf {width:auto !important;}
605
604
606 #tab-content-modules fieldset p {margin:3px 0 4px 0;}
605 #tab-content-modules fieldset p {margin:3px 0 4px 0;}
607
606
608 #tab-content-users .splitcontentleft {width: 64%;}
607 #tab-content-users .splitcontentleft {width: 64%;}
609 #tab-content-users .splitcontentright {width: 34%;}
608 #tab-content-users .splitcontentright {width: 34%;}
610 #tab-content-users fieldset {padding:1em; margin-bottom: 1em;}
609 #tab-content-users fieldset {padding:1em; margin-bottom: 1em;}
611 #tab-content-users fieldset legend {font-weight: bold;}
610 #tab-content-users fieldset legend {font-weight: bold;}
612 #tab-content-users fieldset label {display: block;}
611 #tab-content-users fieldset label {display: block;}
613 #tab-content-users #principals {max-height: 400px; overflow: auto;}
612 #tab-content-users #principals {max-height: 400px; overflow: auto;}
614
613
615 #users_for_watcher {height: 200px; overflow:auto;}
614 #users_for_watcher {height: 200px; overflow:auto;}
616 #users_for_watcher label {display: block;}
615 #users_for_watcher label {display: block;}
617
616
618 table.members td.name {padding-left: 20px;}
617 table.members td.name {padding-left: 20px;}
619 table.members td.group, table.members td.groupnonmember, table.members td.groupanonymous {background: url(../images/group.png) no-repeat 0% 1px;}
618 table.members td.group, table.members td.groupnonmember, table.members td.groupanonymous {background: url(../images/group.png) no-repeat 0% 1px;}
620
619
621 input#principal_search, input#user_search {width:90%}
620 input#principal_search, input#user_search {width:90%}
622
621
623 input.autocomplete {
622 input.autocomplete {
624 background: #fff url(../images/magnifier.png) no-repeat 2px 50%; padding-left:20px !important;
623 background: #fff url(../images/magnifier.png) no-repeat 2px 50%; padding-left:20px !important;
625 border:1px solid #9EB1C2; border-radius:2px; height:1.5em;
624 border:1px solid #9EB1C2; border-radius:2px; height:1.5em;
626 }
625 }
627 input.autocomplete.ajax-loading {
626 input.autocomplete.ajax-loading {
628 background-image: url(../images/loading.gif);
627 background-image: url(../images/loading.gif);
629 }
628 }
630
629
631 .role-visibility {padding-left:2em;}
630 .role-visibility {padding-left:2em;}
632
631
633 .objects-selection {
632 .objects-selection {
634 height: 300px;
633 height: 300px;
635 overflow: auto;
634 overflow: auto;
636 }
635 }
637
636
638 .objects-selection label {
637 .objects-selection label {
639 display: block;
638 display: block;
640 }
639 }
641
640
642 .objects-selection>div {
641 .objects-selection>div {
643 column-count: auto;
642 column-count: auto;
644 column-width: 200px;
643 column-width: 200px;
645 -webkit-column-count: auto;
644 -webkit-column-count: auto;
646 -webkit-column-width: 200px;
645 -webkit-column-width: 200px;
647 -webkit-column-gap : 0.5rem;
646 -webkit-column-gap : 0.5rem;
648 -webkit-column-rule: 1px solid #ccc;
647 -webkit-column-rule: 1px solid #ccc;
649 -moz-column-count: auto;
648 -moz-column-count: auto;
650 -moz-column-width: 200px;
649 -moz-column-width: 200px;
651 -moz-column-gap : 0.5rem;
650 -moz-column-gap : 0.5rem;
652 -moz-column-rule: 1px solid #ccc;
651 -moz-column-rule: 1px solid #ccc;
653 }
652 }
654
653
655 /***** Flash & error messages ****/
654 /***** Flash & error messages ****/
656 #errorExplanation, div.flash, .nodata, .warning, .conflict {
655 #errorExplanation, div.flash, .nodata, .warning, .conflict {
657 padding: 4px 4px 4px 30px;
656 padding: 4px 4px 4px 30px;
658 margin-bottom: 12px;
657 margin-bottom: 12px;
659 font-size: 1.1em;
658 font-size: 1.1em;
660 border: 2px solid;
659 border: 2px solid;
661 }
660 }
662
661
663 div.flash {margin-top: 8px;}
662 div.flash {margin-top: 8px;}
664
663
665 div.flash.error, #errorExplanation {
664 div.flash.error, #errorExplanation {
666 background: url(../images/exclamation.png) 8px 50% no-repeat;
665 background: url(../images/exclamation.png) 8px 50% no-repeat;
667 background-color: #ffe3e3;
666 background-color: #ffe3e3;
668 border-color: #dd0000;
667 border-color: #dd0000;
669 color: #880000;
668 color: #880000;
670 }
669 }
671
670
672 div.flash.notice {
671 div.flash.notice {
673 background: url(../images/true.png) 8px 5px no-repeat;
672 background: url(../images/true.png) 8px 5px no-repeat;
674 background-color: #dfffdf;
673 background-color: #dfffdf;
675 border-color: #9fcf9f;
674 border-color: #9fcf9f;
676 color: #005f00;
675 color: #005f00;
677 }
676 }
678
677
679 div.flash.warning, .conflict {
678 div.flash.warning, .conflict {
680 background: url(../images/warning.png) 8px 5px no-repeat;
679 background: url(../images/warning.png) 8px 5px no-repeat;
681 background-color: #FFEBC1;
680 background-color: #FFEBC1;
682 border-color: #FDBF3B;
681 border-color: #FDBF3B;
683 color: #A6750C;
682 color: #A6750C;
684 text-align: left;
683 text-align: left;
685 }
684 }
686
685
687 .nodata, .warning {
686 .nodata, .warning {
688 text-align: center;
687 text-align: center;
689 background-color: #FFEBC1;
688 background-color: #FFEBC1;
690 border-color: #FDBF3B;
689 border-color: #FDBF3B;
691 color: #A6750C;
690 color: #A6750C;
692 }
691 }
693
692
694 #errorExplanation ul { font-size: 0.9em;}
693 #errorExplanation ul { font-size: 0.9em;}
695 #errorExplanation h2, #errorExplanation p { display: none; }
694 #errorExplanation h2, #errorExplanation p { display: none; }
696
695
697 .conflict-details {font-size:80%;}
696 .conflict-details {font-size:80%;}
698
697
699 /***** Ajax indicator ******/
698 /***** Ajax indicator ******/
700 #ajax-indicator {
699 #ajax-indicator {
701 position: absolute; /* fixed not supported by IE */
700 position: absolute; /* fixed not supported by IE */
702 background-color:#eee;
701 background-color:#eee;
703 border: 1px solid #bbb;
702 border: 1px solid #bbb;
704 top:35%;
703 top:35%;
705 left:40%;
704 left:40%;
706 width:20%;
705 width:20%;
707 font-weight:bold;
706 font-weight:bold;
708 text-align:center;
707 text-align:center;
709 padding:0.6em;
708 padding:0.6em;
710 z-index:100;
709 z-index:100;
711 opacity: 0.5;
710 opacity: 0.5;
712 }
711 }
713
712
714 html>body #ajax-indicator { position: fixed; }
713 html>body #ajax-indicator { position: fixed; }
715
714
716 #ajax-indicator span {
715 #ajax-indicator span {
717 background-position: 0% 40%;
716 background-position: 0% 40%;
718 background-repeat: no-repeat;
717 background-repeat: no-repeat;
719 background-image: url(../images/loading.gif);
718 background-image: url(../images/loading.gif);
720 padding-left: 26px;
719 padding-left: 26px;
721 vertical-align: bottom;
720 vertical-align: bottom;
722 }
721 }
723
722
724 /***** Calendar *****/
723 /***** Calendar *****/
725 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
724 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
726 table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; }
725 table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; }
727 table.cal thead th.week-number {width: auto;}
726 table.cal thead th.week-number {width: auto;}
728 table.cal tbody tr {height: 100px;}
727 table.cal tbody tr {height: 100px;}
729 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
728 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
730 table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;}
729 table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;}
731 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
730 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
732 table.cal td.odd p.day-num {color: #bbb;}
731 table.cal td.odd p.day-num {color: #bbb;}
733 table.cal td.today {background:#ffffdd;}
732 table.cal td.today {background:#ffffdd;}
734 table.cal td.today p.day-num {font-weight: bold;}
733 table.cal td.today p.day-num {font-weight: bold;}
735 table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
734 table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
736 table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
735 table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
737 table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
736 table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
738 p.cal.legend span {display:block;}
737 p.cal.legend span {display:block;}
739
738
740 /***** Tooltips ******/
739 /***** Tooltips ******/
741 .tooltip{position:relative;z-index:24;}
740 .tooltip{position:relative;z-index:24;}
742 .tooltip:hover{z-index:25;color:#000;}
741 .tooltip:hover{z-index:25;color:#000;}
743 .tooltip span.tip{display: none; text-align:left;}
742 .tooltip span.tip{display: none; text-align:left;}
744
743
745 div.tooltip:hover span.tip{
744 div.tooltip:hover span.tip{
746 display:block;
745 display:block;
747 position:absolute;
746 position:absolute;
748 top:12px; left:24px; width:270px;
747 top:12px; left:24px; width:270px;
749 border:1px solid #555;
748 border:1px solid #555;
750 background-color:#fff;
749 background-color:#fff;
751 padding: 4px;
750 padding: 4px;
752 font-size: 0.8em;
751 font-size: 0.8em;
753 color:#505050;
752 color:#505050;
754 }
753 }
755
754
756 img.ui-datepicker-trigger {
755 img.ui-datepicker-trigger {
757 cursor: pointer;
756 cursor: pointer;
758 vertical-align: middle;
757 vertical-align: middle;
759 margin-left: 4px;
758 margin-left: 4px;
760 }
759 }
761
760
762 /***** Progress bar *****/
761 /***** Progress bar *****/
763 table.progress {
762 table.progress {
764 border-collapse: collapse;
763 border-collapse: collapse;
765 border-spacing: 0pt;
764 border-spacing: 0pt;
766 empty-cells: show;
765 empty-cells: show;
767 text-align: center;
766 text-align: center;
768 float:left;
767 float:left;
769 margin: 1px 6px 1px 0px;
768 margin: 1px 6px 1px 0px;
770 }
769 }
771
770
772 table.progress td { height: 1em; }
771 table.progress td { height: 1em; }
773 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
772 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
774 table.progress td.done { background: #D3EDD3 none repeat scroll 0%; }
773 table.progress td.done { background: #D3EDD3 none repeat scroll 0%; }
775 table.progress td.todo { background: #eee none repeat scroll 0%; }
774 table.progress td.todo { background: #eee none repeat scroll 0%; }
776 p.percent {font-size: 80%;}
775 p.percent {font-size: 80%;}
777 p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;}
776 p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;}
778
777
779 #roadmap table.progress td { height: 1.2em; }
778 #roadmap table.progress td { height: 1.2em; }
780 /***** Tabs *****/
779 /***** Tabs *****/
781 #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
780 #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
782 #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
781 #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
783 #content .tabs ul li {
782 #content .tabs ul li {
784 float:left;
783 float:left;
785 list-style-type:none;
784 list-style-type:none;
786 white-space:nowrap;
785 white-space:nowrap;
787 margin-right:4px;
786 margin-right:4px;
788 background:#fff;
787 background:#fff;
789 position:relative;
788 position:relative;
790 margin-bottom:-1px;
789 margin-bottom:-1px;
791 }
790 }
792 #content .tabs ul li a{
791 #content .tabs ul li a{
793 display:block;
792 display:block;
794 font-size: 0.9em;
793 font-size: 0.9em;
795 text-decoration:none;
794 text-decoration:none;
796 line-height:1.3em;
795 line-height:1.3em;
797 padding:4px 6px 4px 6px;
796 padding:4px 6px 4px 6px;
798 border: 1px solid #ccc;
797 border: 1px solid #ccc;
799 border-bottom: 1px solid #bbbbbb;
798 border-bottom: 1px solid #bbbbbb;
800 background-color: #f6f6f6;
799 background-color: #f6f6f6;
801 color:#999;
800 color:#999;
802 font-weight:bold;
801 font-weight:bold;
803 border-top-left-radius:3px;
802 border-top-left-radius:3px;
804 border-top-right-radius:3px;
803 border-top-right-radius:3px;
805 }
804 }
806
805
807 #content .tabs ul li a:hover {
806 #content .tabs ul li a:hover {
808 background-color: #ffffdd;
807 background-color: #ffffdd;
809 text-decoration:none;
808 text-decoration:none;
810 }
809 }
811
810
812 #content .tabs ul li a.selected {
811 #content .tabs ul li a.selected {
813 background-color: #fff;
812 background-color: #fff;
814 border: 1px solid #bbbbbb;
813 border: 1px solid #bbbbbb;
815 border-bottom: 1px solid #fff;
814 border-bottom: 1px solid #fff;
816 color:#444;
815 color:#444;
817 }
816 }
818
817
819 #content .tabs ul li a.selected:hover {background-color: #fff;}
818 #content .tabs ul li a.selected:hover {background-color: #fff;}
820
819
821 div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
820 div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
822
821
823 button.tab-left, button.tab-right {
822 button.tab-left, button.tab-right {
824 font-size: 0.9em;
823 font-size: 0.9em;
825 cursor: pointer;
824 cursor: pointer;
826 height:24px;
825 height:24px;
827 border: 1px solid #ccc;
826 border: 1px solid #ccc;
828 border-bottom: 1px solid #bbbbbb;
827 border-bottom: 1px solid #bbbbbb;
829 position:absolute;
828 position:absolute;
830 padding:4px;
829 padding:4px;
831 width: 20px;
830 width: 20px;
832 bottom: -1px;
831 bottom: -1px;
833 }
832 }
834
833
835 button.tab-left {
834 button.tab-left {
836 right: 20px;
835 right: 20px;
837 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
836 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
838 border-top-left-radius:3px;
837 border-top-left-radius:3px;
839 }
838 }
840
839
841 button.tab-right {
840 button.tab-right {
842 right: 0;
841 right: 0;
843 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;
842 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;
844 border-top-right-radius:3px;
843 border-top-right-radius:3px;
845 }
844 }
846
845
847 /***** Diff *****/
846 /***** Diff *****/
848 .diff_out { background: #fcc; }
847 .diff_out { background: #fcc; }
849 .diff_out span { background: #faa; }
848 .diff_out span { background: #faa; }
850 .diff_in { background: #cfc; }
849 .diff_in { background: #cfc; }
851 .diff_in span { background: #afa; }
850 .diff_in span { background: #afa; }
852
851
853 .text-diff {
852 .text-diff {
854 padding: 1em;
853 padding: 1em;
855 background-color:#f6f6f6;
854 background-color:#f6f6f6;
856 color:#505050;
855 color:#505050;
857 border: 1px solid #e4e4e4;
856 border: 1px solid #e4e4e4;
858 }
857 }
859
858
860 /***** Wiki *****/
859 /***** Wiki *****/
861 div.wiki table {
860 div.wiki table {
862 border-collapse: collapse;
861 border-collapse: collapse;
863 margin-bottom: 1em;
862 margin-bottom: 1em;
864 }
863 }
865
864
866 div.wiki table, div.wiki td, div.wiki th {
865 div.wiki table, div.wiki td, div.wiki th {
867 border: 1px solid #bbb;
866 border: 1px solid #bbb;
868 padding: 4px;
867 padding: 4px;
869 }
868 }
870
869
871 div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;}
870 div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;}
872
871
873 div.wiki .external {
872 div.wiki .external {
874 background-position: 0% 60%;
873 background-position: 0% 60%;
875 background-repeat: no-repeat;
874 background-repeat: no-repeat;
876 padding-left: 12px;
875 padding-left: 12px;
877 background-image: url(../images/external.png);
876 background-image: url(../images/external.png);
878 }
877 }
879
878
880 div.wiki a {word-wrap: break-word;}
879 div.wiki a {word-wrap: break-word;}
881 div.wiki a.new {color: #b73535;}
880 div.wiki a.new {color: #b73535;}
882
881
883 div.wiki ul, div.wiki ol {margin-bottom:1em;}
882 div.wiki ul, div.wiki ol {margin-bottom:1em;}
884
883
885 div.wiki pre {
884 div.wiki pre {
886 margin: 1em 1em 1em 1.6em;
885 margin: 1em 1em 1em 1.6em;
887 padding: 8px;
886 padding: 8px;
888 background-color: #fafafa;
887 background-color: #fafafa;
889 border: 1px solid #e2e2e2;
888 border: 1px solid #e2e2e2;
890 width:auto;
889 width:auto;
891 overflow-x: auto;
890 overflow-x: auto;
892 overflow-y: hidden;
891 overflow-y: hidden;
893 }
892 }
894
893
895 div.wiki ul.toc {
894 div.wiki ul.toc {
896 background-color: #ffffdd;
895 background-color: #ffffdd;
897 border: 1px solid #e4e4e4;
896 border: 1px solid #e4e4e4;
898 padding: 4px;
897 padding: 4px;
899 line-height: 1.2em;
898 line-height: 1.2em;
900 margin-bottom: 12px;
899 margin-bottom: 12px;
901 margin-right: 12px;
900 margin-right: 12px;
902 margin-left: 0;
901 margin-left: 0;
903 display: table
902 display: table
904 }
903 }
905 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
904 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
906
905
907 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
906 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
908 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
907 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
909 div.wiki ul.toc ul { margin: 0; padding: 0; }
908 div.wiki ul.toc ul { margin: 0; padding: 0; }
910 div.wiki ul.toc li {list-style-type:none; margin: 0; font-size:12px;}
909 div.wiki ul.toc li {list-style-type:none; margin: 0; font-size:12px;}
911 div.wiki ul.toc li li {margin-left: 1.5em; font-size:10px;}
910 div.wiki ul.toc li li {margin-left: 1.5em; font-size:10px;}
912 div.wiki ul.toc a {
911 div.wiki ul.toc a {
913 font-size: 0.9em;
912 font-size: 0.9em;
914 font-weight: normal;
913 font-weight: normal;
915 text-decoration: none;
914 text-decoration: none;
916 color: #606060;
915 color: #606060;
917 }
916 }
918 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
917 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
919
918
920 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
919 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
921 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
920 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
922 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
921 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
923
922
924 div.wiki img {vertical-align:middle; max-width:100%;}
923 div.wiki img {vertical-align:middle; max-width:100%;}
925
924
926 /***** My page layout *****/
925 /***** My page layout *****/
927 .block-receiver {
926 .block-receiver {
928 border:1px dashed #c0c0c0;
927 border:1px dashed #c0c0c0;
929 margin-bottom: 20px;
928 margin-bottom: 20px;
930 padding: 15px 0 15px 0;
929 padding: 15px 0 15px 0;
931 }
930 }
932
931
933 .mypage-box {
932 .mypage-box {
934 margin:0 0 20px 0;
933 margin:0 0 20px 0;
935 color:#505050;
934 color:#505050;
936 line-height:1.5em;
935 line-height:1.5em;
937 }
936 }
938
937
939 .handle {cursor: move;}
938 .handle {cursor: move;}
940
939
941 a.close-icon {
940 a.close-icon {
942 display:block;
941 display:block;
943 margin-top:3px;
942 margin-top:3px;
944 overflow:hidden;
943 overflow:hidden;
945 width:12px;
944 width:12px;
946 height:12px;
945 height:12px;
947 background-repeat: no-repeat;
946 background-repeat: no-repeat;
948 cursor:pointer;
947 cursor:pointer;
949 background-image:url('../images/close.png');
948 background-image:url('../images/close.png');
950 }
949 }
951 a.close-icon:hover {background-image:url('../images/close_hl.png');}
950 a.close-icon:hover {background-image:url('../images/close_hl.png');}
952
951
953 /***** Gantt chart *****/
952 /***** Gantt chart *****/
954 .gantt_hdr {
953 .gantt_hdr {
955 position:absolute;
954 position:absolute;
956 top:0;
955 top:0;
957 height:16px;
956 height:16px;
958 border-top: 1px solid #c0c0c0;
957 border-top: 1px solid #c0c0c0;
959 border-bottom: 1px solid #c0c0c0;
958 border-bottom: 1px solid #c0c0c0;
960 border-right: 1px solid #c0c0c0;
959 border-right: 1px solid #c0c0c0;
961 text-align: center;
960 text-align: center;
962 overflow: hidden;
961 overflow: hidden;
963 }
962 }
964
963
965 .gantt_hdr.nwday {background-color:#f1f1f1;}
964 .gantt_hdr.nwday {background-color:#f1f1f1;}
966
965
967 .gantt_subjects { font-size: 0.8em; }
966 .gantt_subjects { font-size: 0.8em; }
968 .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }
967 .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }
969
968
970 .task {
969 .task {
971 position: absolute;
970 position: absolute;
972 height:8px;
971 height:8px;
973 font-size:0.8em;
972 font-size:0.8em;
974 color:#888;
973 color:#888;
975 padding:0;
974 padding:0;
976 margin:0;
975 margin:0;
977 line-height:16px;
976 line-height:16px;
978 white-space:nowrap;
977 white-space:nowrap;
979 }
978 }
980
979
981 .task.label {width:100%;}
980 .task.label {width:100%;}
982 .task.label.project, .task.label.version { font-weight: bold; }
981 .task.label.project, .task.label.version { font-weight: bold; }
983
982
984 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
983 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
985 .task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; }
984 .task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; }
986 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
985 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
987
986
988 .task_todo.parent { background: #888; border: 1px solid #888; height: 3px;}
987 .task_todo.parent { background: #888; border: 1px solid #888; height: 3px;}
989 .task_late.parent, .task_done.parent { height: 3px;}
988 .task_late.parent, .task_done.parent { height: 3px;}
990 .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;}
989 .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;}
991 .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;}
990 .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;}
992
991
993 .version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
992 .version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
994 .version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
993 .version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
995 .version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
994 .version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
996 .version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
995 .version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
997
996
998 .project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
997 .project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
999 .project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
998 .project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
1000 .project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
999 .project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
1001 .project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
1000 .project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }
1002
1001
1003 .version-behind-schedule a, .issue-behind-schedule a {color: #f66914;}
1002 .version-behind-schedule a, .issue-behind-schedule a {color: #f66914;}
1004 .version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}
1003 .version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}
1005
1004
1006 /***** Icons *****/
1005 /***** Icons *****/
1007 .icon {
1006 .icon {
1008 background-position: 0% 50%;
1007 background-position: 0% 50%;
1009 background-repeat: no-repeat;
1008 background-repeat: no-repeat;
1010 padding-left: 20px;
1009 padding-left: 20px;
1011 padding-top: 2px;
1010 padding-top: 2px;
1012 padding-bottom: 3px;
1011 padding-bottom: 3px;
1013 }
1012 }
1014
1013
1015 .icon-add { background-image: url(../images/add.png); }
1014 .icon-add { background-image: url(../images/add.png); }
1016 .icon-edit { background-image: url(../images/edit.png); }
1015 .icon-edit { background-image: url(../images/edit.png); }
1017 .icon-copy { background-image: url(../images/copy.png); }
1016 .icon-copy { background-image: url(../images/copy.png); }
1018 .icon-duplicate { background-image: url(../images/duplicate.png); }
1017 .icon-duplicate { background-image: url(../images/duplicate.png); }
1019 .icon-del { background-image: url(../images/delete.png); }
1018 .icon-del { background-image: url(../images/delete.png); }
1020 .icon-move { background-image: url(../images/move.png); }
1019 .icon-move { background-image: url(../images/move.png); }
1021 .icon-save { background-image: url(../images/save.png); }
1020 .icon-save { background-image: url(../images/save.png); }
1022 .icon-cancel { background-image: url(../images/cancel.png); }
1021 .icon-cancel { background-image: url(../images/cancel.png); }
1023 .icon-multiple { background-image: url(../images/table_multiple.png); }
1022 .icon-multiple { background-image: url(../images/table_multiple.png); }
1024 .icon-folder { background-image: url(../images/folder.png); }
1023 .icon-folder { background-image: url(../images/folder.png); }
1025 .open .icon-folder { background-image: url(../images/folder_open.png); }
1024 .open .icon-folder { background-image: url(../images/folder_open.png); }
1026 .icon-package { background-image: url(../images/package.png); }
1025 .icon-package { background-image: url(../images/package.png); }
1027 .icon-user { background-image: url(../images/user.png); }
1026 .icon-user { background-image: url(../images/user.png); }
1028 .icon-projects { background-image: url(../images/projects.png); }
1027 .icon-projects { background-image: url(../images/projects.png); }
1029 .icon-help { background-image: url(../images/help.png); }
1028 .icon-help { background-image: url(../images/help.png); }
1030 .icon-attachment { background-image: url(../images/attachment.png); }
1029 .icon-attachment { background-image: url(../images/attachment.png); }
1031 .icon-history { background-image: url(../images/history.png); }
1030 .icon-history { background-image: url(../images/history.png); }
1032 .icon-time { background-image: url(../images/time.png); }
1031 .icon-time { background-image: url(../images/time.png); }
1033 .icon-time-add { background-image: url(../images/time_add.png); }
1032 .icon-time-add { background-image: url(../images/time_add.png); }
1034 .icon-stats { background-image: url(../images/stats.png); }
1033 .icon-stats { background-image: url(../images/stats.png); }
1035 .icon-warning { background-image: url(../images/warning.png); }
1034 .icon-warning { background-image: url(../images/warning.png); }
1036 .icon-fav { background-image: url(../images/fav.png); }
1035 .icon-fav { background-image: url(../images/fav.png); }
1037 .icon-fav-off { background-image: url(../images/fav_off.png); }
1036 .icon-fav-off { background-image: url(../images/fav_off.png); }
1038 .icon-reload { background-image: url(../images/reload.png); }
1037 .icon-reload { background-image: url(../images/reload.png); }
1039 .icon-lock { background-image: url(../images/locked.png); }
1038 .icon-lock { background-image: url(../images/locked.png); }
1040 .icon-unlock { background-image: url(../images/unlock.png); }
1039 .icon-unlock { background-image: url(../images/unlock.png); }
1041 .icon-checked { background-image: url(../images/true.png); }
1040 .icon-checked { background-image: url(../images/true.png); }
1042 .icon-details { background-image: url(../images/zoom_in.png); }
1041 .icon-details { background-image: url(../images/zoom_in.png); }
1043 .icon-report { background-image: url(../images/report.png); }
1042 .icon-report { background-image: url(../images/report.png); }
1044 .icon-comment { background-image: url(../images/comment.png); }
1043 .icon-comment { background-image: url(../images/comment.png); }
1045 .icon-summary { background-image: url(../images/lightning.png); }
1044 .icon-summary { background-image: url(../images/lightning.png); }
1046 .icon-server-authentication { background-image: url(../images/server_key.png); }
1045 .icon-server-authentication { background-image: url(../images/server_key.png); }
1047 .icon-issue { background-image: url(../images/ticket.png); }
1046 .icon-issue { background-image: url(../images/ticket.png); }
1048 .icon-zoom-in { background-image: url(../images/zoom_in.png); }
1047 .icon-zoom-in { background-image: url(../images/zoom_in.png); }
1049 .icon-zoom-out { background-image: url(../images/zoom_out.png); }
1048 .icon-zoom-out { background-image: url(../images/zoom_out.png); }
1050 .icon-passwd { background-image: url(../images/textfield_key.png); }
1049 .icon-passwd { background-image: url(../images/textfield_key.png); }
1051 .icon-test { background-image: url(../images/bullet_go.png); }
1050 .icon-test { background-image: url(../images/bullet_go.png); }
1052 .icon-email-add { background-image: url(../images/email_add.png); }
1051 .icon-email-add { background-image: url(../images/email_add.png); }
1053
1052
1054 .icon-file { background-image: url(../images/files/default.png); }
1053 .icon-file { background-image: url(../images/files/default.png); }
1055 .icon-file.text-plain { background-image: url(../images/files/text.png); }
1054 .icon-file.text-plain { background-image: url(../images/files/text.png); }
1056 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
1055 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
1057 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
1056 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
1058 .icon-file.text-x-java { background-image: url(../images/files/java.png); }
1057 .icon-file.text-x-java { background-image: url(../images/files/java.png); }
1059 .icon-file.text-x-javascript { background-image: url(../images/files/js.png); }
1058 .icon-file.text-x-javascript { background-image: url(../images/files/js.png); }
1060 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
1059 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
1061 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
1060 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
1062 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
1061 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
1063 .icon-file.text-css { background-image: url(../images/files/css.png); }
1062 .icon-file.text-css { background-image: url(../images/files/css.png); }
1064 .icon-file.text-html { background-image: url(../images/files/html.png); }
1063 .icon-file.text-html { background-image: url(../images/files/html.png); }
1065 .icon-file.image-gif { background-image: url(../images/files/image.png); }
1064 .icon-file.image-gif { background-image: url(../images/files/image.png); }
1066 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
1065 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
1067 .icon-file.image-png { background-image: url(../images/files/image.png); }
1066 .icon-file.image-png { background-image: url(../images/files/image.png); }
1068 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
1067 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
1069 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
1068 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
1070 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
1069 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
1071 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
1070 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
1072
1071
1073 img.gravatar {
1072 img.gravatar {
1074 padding: 2px;
1073 padding: 2px;
1075 border: solid 1px #d5d5d5;
1074 border: solid 1px #d5d5d5;
1076 background: #fff;
1075 background: #fff;
1077 vertical-align: middle;
1076 vertical-align: middle;
1078 }
1077 }
1079
1078
1080 div.issue img.gravatar {
1079 div.issue img.gravatar {
1081 float: left;
1080 float: left;
1082 margin: 0 6px 0 0;
1081 margin: 0 6px 0 0;
1083 padding: 5px;
1082 padding: 5px;
1084 }
1083 }
1085
1084
1086 div.issue table img.gravatar {
1085 div.issue table img.gravatar {
1087 height: 14px;
1086 height: 14px;
1088 width: 14px;
1087 width: 14px;
1089 padding: 2px;
1088 padding: 2px;
1090 float: left;
1089 float: left;
1091 margin: 0 0.5em 0 0;
1090 margin: 0 0.5em 0 0;
1092 }
1091 }
1093
1092
1094 h2 img.gravatar {margin: -2px 4px -4px 0;}
1093 h2 img.gravatar {margin: -2px 4px -4px 0;}
1095 h3 img.gravatar {margin: -4px 4px -4px 0;}
1094 h3 img.gravatar {margin: -4px 4px -4px 0;}
1096 h4 img.gravatar {margin: -6px 4px -4px 0;}
1095 h4 img.gravatar {margin: -6px 4px -4px 0;}
1097 td.username img.gravatar {margin: 0 0.5em 0 0; vertical-align: top;}
1096 td.username img.gravatar {margin: 0 0.5em 0 0; vertical-align: top;}
1098 #activity dt img.gravatar {float: left; margin: 0 1em 1em 0;}
1097 #activity dt img.gravatar {float: left; margin: 0 1em 1em 0;}
1099 /* Used on 12px Gravatar img tags without the icon background */
1098 /* Used on 12px Gravatar img tags without the icon background */
1100 .icon-gravatar {float: left; margin-right: 4px;}
1099 .icon-gravatar {float: left; margin-right: 4px;}
1101
1100
1102 #activity dt, .journal {clear: left;}
1101 #activity dt, .journal {clear: left;}
1103
1102
1104 .journal-link {float: right;}
1103 .journal-link {float: right;}
1105
1104
1106 h2 img { vertical-align:middle; }
1105 h2 img { vertical-align:middle; }
1107
1106
1108 .hascontextmenu { cursor: context-menu; }
1107 .hascontextmenu { cursor: context-menu; }
1109
1108
1110 /* Custom JQuery styles */
1109 /* Custom JQuery styles */
1111 .ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;}
1110 .ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;}
1112
1111
1113
1112
1114 /************* CodeRay styles *************/
1113 /************* CodeRay styles *************/
1115 .syntaxhl div {display: inline;}
1114 .syntaxhl div {display: inline;}
1116 .syntaxhl .line-numbers {padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;}
1115 .syntaxhl .line-numbers {padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;}
1117 .syntaxhl .code pre { overflow: auto }
1116 .syntaxhl .code pre { overflow: auto }
1118 .syntaxhl .debug { color: white !important; background: blue !important; }
1117 .syntaxhl .debug { color: white !important; background: blue !important; }
1119
1118
1120 .syntaxhl .annotation { color:#007 }
1119 .syntaxhl .annotation { color:#007 }
1121 .syntaxhl .attribute-name { color:#b48 }
1120 .syntaxhl .attribute-name { color:#b48 }
1122 .syntaxhl .attribute-value { color:#700 }
1121 .syntaxhl .attribute-value { color:#700 }
1123 .syntaxhl .binary { color:#509 }
1122 .syntaxhl .binary { color:#509 }
1124 .syntaxhl .char .content { color:#D20 }
1123 .syntaxhl .char .content { color:#D20 }
1125 .syntaxhl .char .delimiter { color:#710 }
1124 .syntaxhl .char .delimiter { color:#710 }
1126 .syntaxhl .char { color:#D20 }
1125 .syntaxhl .char { color:#D20 }
1127 .syntaxhl .class { color:#258; font-weight:bold }
1126 .syntaxhl .class { color:#258; font-weight:bold }
1128 .syntaxhl .class-variable { color:#369 }
1127 .syntaxhl .class-variable { color:#369 }
1129 .syntaxhl .color { color:#0A0 }
1128 .syntaxhl .color { color:#0A0 }
1130 .syntaxhl .comment { color:#385 }
1129 .syntaxhl .comment { color:#385 }
1131 .syntaxhl .comment .char { color:#385 }
1130 .syntaxhl .comment .char { color:#385 }
1132 .syntaxhl .comment .delimiter { color:#385 }
1131 .syntaxhl .comment .delimiter { color:#385 }
1133 .syntaxhl .complex { color:#A08 }
1132 .syntaxhl .complex { color:#A08 }
1134 .syntaxhl .constant { color:#258; font-weight:bold }
1133 .syntaxhl .constant { color:#258; font-weight:bold }
1135 .syntaxhl .decorator { color:#B0B }
1134 .syntaxhl .decorator { color:#B0B }
1136 .syntaxhl .definition { color:#099; font-weight:bold }
1135 .syntaxhl .definition { color:#099; font-weight:bold }
1137 .syntaxhl .delimiter { color:black }
1136 .syntaxhl .delimiter { color:black }
1138 .syntaxhl .directive { color:#088; font-weight:bold }
1137 .syntaxhl .directive { color:#088; font-weight:bold }
1139 .syntaxhl .doc { color:#970 }
1138 .syntaxhl .doc { color:#970 }
1140 .syntaxhl .doc-string { color:#D42; font-weight:bold }
1139 .syntaxhl .doc-string { color:#D42; font-weight:bold }
1141 .syntaxhl .doctype { color:#34b }
1140 .syntaxhl .doctype { color:#34b }
1142 .syntaxhl .entity { color:#800; font-weight:bold }
1141 .syntaxhl .entity { color:#800; font-weight:bold }
1143 .syntaxhl .error { color:#F00; background-color:#FAA }
1142 .syntaxhl .error { color:#F00; background-color:#FAA }
1144 .syntaxhl .escape { color:#666 }
1143 .syntaxhl .escape { color:#666 }
1145 .syntaxhl .exception { color:#C00; font-weight:bold }
1144 .syntaxhl .exception { color:#C00; font-weight:bold }
1146 .syntaxhl .float { color:#06D }
1145 .syntaxhl .float { color:#06D }
1147 .syntaxhl .function { color:#06B; font-weight:bold }
1146 .syntaxhl .function { color:#06B; font-weight:bold }
1148 .syntaxhl .global-variable { color:#d70 }
1147 .syntaxhl .global-variable { color:#d70 }
1149 .syntaxhl .hex { color:#02b }
1148 .syntaxhl .hex { color:#02b }
1150 .syntaxhl .imaginary { color:#f00 }
1149 .syntaxhl .imaginary { color:#f00 }
1151 .syntaxhl .include { color:#B44; font-weight:bold }
1150 .syntaxhl .include { color:#B44; font-weight:bold }
1152 .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black }
1151 .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black }
1153 .syntaxhl .inline-delimiter { font-weight: bold; color: #666 }
1152 .syntaxhl .inline-delimiter { font-weight: bold; color: #666 }
1154 .syntaxhl .instance-variable { color:#33B }
1153 .syntaxhl .instance-variable { color:#33B }
1155 .syntaxhl .integer { color:#06D }
1154 .syntaxhl .integer { color:#06D }
1156 .syntaxhl .key .char { color: #60f }
1155 .syntaxhl .key .char { color: #60f }
1157 .syntaxhl .key .delimiter { color: #404 }
1156 .syntaxhl .key .delimiter { color: #404 }
1158 .syntaxhl .key { color: #606 }
1157 .syntaxhl .key { color: #606 }
1159 .syntaxhl .keyword { color:#939; font-weight:bold }
1158 .syntaxhl .keyword { color:#939; font-weight:bold }
1160 .syntaxhl .label { color:#970; font-weight:bold }
1159 .syntaxhl .label { color:#970; font-weight:bold }
1161 .syntaxhl .local-variable { color:#963 }
1160 .syntaxhl .local-variable { color:#963 }
1162 .syntaxhl .namespace { color:#707; font-weight:bold }
1161 .syntaxhl .namespace { color:#707; font-weight:bold }
1163 .syntaxhl .octal { color:#40E }
1162 .syntaxhl .octal { color:#40E }
1164 .syntaxhl .operator { }
1163 .syntaxhl .operator { }
1165 .syntaxhl .predefined { color:#369; font-weight:bold }
1164 .syntaxhl .predefined { color:#369; font-weight:bold }
1166 .syntaxhl .predefined-constant { color:#069 }
1165 .syntaxhl .predefined-constant { color:#069 }
1167 .syntaxhl .predefined-type { color:#0a5; font-weight:bold }
1166 .syntaxhl .predefined-type { color:#0a5; font-weight:bold }
1168 .syntaxhl .preprocessor { color:#579 }
1167 .syntaxhl .preprocessor { color:#579 }
1169 .syntaxhl .pseudo-class { color:#00C; font-weight:bold }
1168 .syntaxhl .pseudo-class { color:#00C; font-weight:bold }
1170 .syntaxhl .regexp .content { color:#808 }
1169 .syntaxhl .regexp .content { color:#808 }
1171 .syntaxhl .regexp .delimiter { color:#404 }
1170 .syntaxhl .regexp .delimiter { color:#404 }
1172 .syntaxhl .regexp .modifier { color:#C2C }
1171 .syntaxhl .regexp .modifier { color:#C2C }
1173 .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); }
1172 .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); }
1174 .syntaxhl .reserved { color:#080; font-weight:bold }
1173 .syntaxhl .reserved { color:#080; font-weight:bold }
1175 .syntaxhl .shell .content { color:#2B2 }
1174 .syntaxhl .shell .content { color:#2B2 }
1176 .syntaxhl .shell .delimiter { color:#161 }
1175 .syntaxhl .shell .delimiter { color:#161 }
1177 .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); }
1176 .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); }
1178 .syntaxhl .string .char { color: #46a }
1177 .syntaxhl .string .char { color: #46a }
1179 .syntaxhl .string .content { color: #46a }
1178 .syntaxhl .string .content { color: #46a }
1180 .syntaxhl .string .delimiter { color: #46a }
1179 .syntaxhl .string .delimiter { color: #46a }
1181 .syntaxhl .string .modifier { color: #46a }
1180 .syntaxhl .string .modifier { color: #46a }
1182 .syntaxhl .symbol .content { color:#d33 }
1181 .syntaxhl .symbol .content { color:#d33 }
1183 .syntaxhl .symbol .delimiter { color:#d33 }
1182 .syntaxhl .symbol .delimiter { color:#d33 }
1184 .syntaxhl .symbol { color:#d33 }
1183 .syntaxhl .symbol { color:#d33 }
1185 .syntaxhl .tag { color:#070 }
1184 .syntaxhl .tag { color:#070 }
1186 .syntaxhl .type { color:#339; font-weight:bold }
1185 .syntaxhl .type { color:#339; font-weight:bold }
1187 .syntaxhl .value { color: #088; }
1186 .syntaxhl .value { color: #088; }
1188 .syntaxhl .variable { color:#037 }
1187 .syntaxhl .variable { color:#037 }
1189
1188
1190 .syntaxhl .insert { background: hsla(120,100%,50%,0.12) }
1189 .syntaxhl .insert { background: hsla(120,100%,50%,0.12) }
1191 .syntaxhl .delete { background: hsla(0,100%,50%,0.12) }
1190 .syntaxhl .delete { background: hsla(0,100%,50%,0.12) }
1192 .syntaxhl .change { color: #bbf; background: #007; }
1191 .syntaxhl .change { color: #bbf; background: #007; }
1193 .syntaxhl .head { color: #f8f; background: #505 }
1192 .syntaxhl .head { color: #f8f; background: #505 }
1194 .syntaxhl .head .filename { color: white; }
1193 .syntaxhl .head .filename { color: white; }
1195
1194
1196 .syntaxhl .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; }
1195 .syntaxhl .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; }
1197 .syntaxhl .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
1196 .syntaxhl .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
1198
1197
1199 .syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold }
1198 .syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold }
1200 .syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold }
1199 .syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold }
1201 .syntaxhl .change .change { color: #88f }
1200 .syntaxhl .change .change { color: #88f }
1202 .syntaxhl .head .head { color: #f4f }
1201 .syntaxhl .head .head { color: #f4f }
1203
1202
1204 /***** Media print specific styles *****/
1203 /***** Media print specific styles *****/
1205 @media print {
1204 @media print {
1206 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
1205 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
1207 #main { background: #fff; }
1206 #main { background: #fff; }
1208 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
1207 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
1209 #wiki_add_attachment { display:none; }
1208 #wiki_add_attachment { display:none; }
1210 .hide-when-print { display: none; }
1209 .hide-when-print { display: none; }
1211 .autoscroll {overflow-x: visible;}
1210 .autoscroll {overflow-x: visible;}
1212 table.list {margin-top:0.5em;}
1211 table.list {margin-top:0.5em;}
1213 table.list th, table.list td {border: 1px solid #aaa;}
1212 table.list th, table.list td {border: 1px solid #aaa;}
1214 }
1213 }
1215
1214
1216 /* Accessibility specific styles */
1215 /* Accessibility specific styles */
1217 .hidden-for-sighted {
1216 .hidden-for-sighted {
1218 position:absolute;
1217 position:absolute;
1219 left:-10000px;
1218 left:-10000px;
1220 top:auto;
1219 top:auto;
1221 width:1px;
1220 width:1px;
1222 height:1px;
1221 height:1px;
1223 overflow:hidden;
1222 overflow:hidden;
1224 }
1223 }
General Comments 0
You need to be logged in to leave comments. Login now