@@ -1,67 +1,69 | |||
|
1 | 1 | # redMine - project management software |
|
2 | 2 | # Copyright (C) 2006-2007 Jean-Philippe Lang |
|
3 | 3 | # |
|
4 | 4 | # This program is free software; you can redistribute it and/or |
|
5 | 5 | # modify it under the terms of the GNU General Public License |
|
6 | 6 | # as published by the Free Software Foundation; either version 2 |
|
7 | 7 | # of the License, or (at your option) any later version. |
|
8 | 8 | # |
|
9 | 9 | # This program is distributed in the hope that it will be useful, |
|
10 | 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | 12 | # GNU General Public License for more details. |
|
13 | 13 | # |
|
14 | 14 | # You should have received a copy of the GNU General Public License |
|
15 | 15 | # along with this program; if not, write to the Free Software |
|
16 | 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
17 | 17 | |
|
18 | 18 | module WatchersHelper |
|
19 | 19 | |
|
20 | 20 | # Valid options |
|
21 | 21 | # * :id - the element id |
|
22 | 22 | # * :replace - a string or array of element ids that will be |
|
23 | 23 | # replaced |
|
24 | 24 | def watcher_tag(object, user, options={:replace => 'watcher'}) |
|
25 | 25 | id = options[:id] |
|
26 | 26 | id ||= options[:replace] if options[:replace].is_a? String |
|
27 | 27 | content_tag("span", watcher_link(object, user, options), :id => id) |
|
28 | 28 | end |
|
29 | 29 | |
|
30 | 30 | # Valid options |
|
31 | 31 | # * :replace - a string or array of element ids that will be |
|
32 | 32 | # replaced |
|
33 | 33 | def watcher_link(object, user, options={:replace => 'watcher'}) |
|
34 | 34 | return '' unless user && user.logged? && object.respond_to?('watched_by?') |
|
35 | 35 | watched = object.watched_by?(user) |
|
36 | 36 | url = {:controller => 'watchers', |
|
37 | 37 | :action => (watched ? 'unwatch' : 'watch'), |
|
38 | 38 | :object_type => object.class.to_s.underscore, |
|
39 | 39 | :object_id => object.id, |
|
40 | 40 | :replace => options[:replace]} |
|
41 | 41 | link_to_remote((watched ? l(:button_unwatch) : l(:button_watch)), |
|
42 | 42 | {:url => url}, |
|
43 | 43 | :href => url_for(url), |
|
44 | 44 | :class => (watched ? 'icon icon-fav' : 'icon icon-fav-off')) |
|
45 | 45 | |
|
46 | 46 | end |
|
47 | 47 | |
|
48 | 48 | # Returns a comma separated list of users watching the given object |
|
49 | 49 | def watchers_list(object) |
|
50 | 50 | remove_allowed = User.current.allowed_to?("delete_#{object.class.name.underscore}_watchers".to_sym, object.project) |
|
51 | object.watcher_users.collect do |user| | |
|
52 |
s = |
|
|
51 | lis = object.watcher_users.collect do |user| | |
|
52 | s = avatar(user, :size => "16").to_s + link_to_user(user, :class => 'user').to_s | |
|
53 | 53 | if remove_allowed |
|
54 | 54 | url = {:controller => 'watchers', |
|
55 | 55 | :action => 'destroy', |
|
56 | 56 | :object_type => object.class.to_s.underscore, |
|
57 | 57 | :object_id => object.id, |
|
58 | 58 | :user_id => user} |
|
59 | 59 | s += ' ' + link_to_remote(image_tag('delete.png'), |
|
60 | 60 | {:url => url}, |
|
61 | 61 | :href => url_for(url), |
|
62 |
:style => "vertical-align: middle" |
|
|
62 | :style => "vertical-align: middle", | |
|
63 | :class => "delete") | |
|
63 | 64 | end |
|
64 | s | |
|
65 | end.join(",\n") | |
|
65 | "<li>#{ s }</li>" | |
|
66 | end | |
|
67 | lis.empty? ? "" : "<ul>#{ lis.join("\n") }</ul>" | |
|
66 | 68 | end |
|
67 | 69 | end |
@@ -1,134 +1,133 | |||
|
1 | 1 | <%= render :partial => 'action_menu' %> |
|
2 | 2 | |
|
3 | 3 | <h2><%= @issue.tracker.name %> #<%= @issue.id %></h2> |
|
4 | 4 | |
|
5 | 5 | <div class="<%= @issue.css_classes %> details"> |
|
6 | 6 | <%= avatar(@issue.author, :size => "50") %> |
|
7 | 7 | |
|
8 | 8 | <div class="subject"> |
|
9 | 9 | <%= render_issue_subject_with_tree(@issue) %> |
|
10 | 10 | </div> |
|
11 | 11 | <p class="author"> |
|
12 | 12 | <%= authoring @issue.created_on, @issue.author %>. |
|
13 | 13 | <% if @issue.created_on != @issue.updated_on %> |
|
14 | 14 | <%= l(:label_updated_time, time_tag(@issue.updated_on)) %>. |
|
15 | 15 | <% end %> |
|
16 | 16 | </p> |
|
17 | 17 | |
|
18 | 18 | <table class="attributes"> |
|
19 | 19 | <tr> |
|
20 | 20 | <th class="status"><%=l(:field_status)%>:</th><td class="status"><%= @issue.status.name %></td> |
|
21 | 21 | <th class="start-date"><%=l(:field_start_date)%>:</th><td class="start-date"><%= format_date(@issue.start_date) %></td> |
|
22 | 22 | </tr> |
|
23 | 23 | <tr> |
|
24 | 24 | <th class="priority"><%=l(:field_priority)%>:</th><td class="priority"><%= @issue.priority.name %></td> |
|
25 | 25 | <th class="due-date"><%=l(:field_due_date)%>:</th><td class="due-date"><%= format_date(@issue.due_date) %></td> |
|
26 | 26 | </tr> |
|
27 | 27 | <tr> |
|
28 | 28 | <th class="assigned-to"><%=l(:field_assigned_to)%>:</th><td class="assigned-to"><%= avatar(@issue.assigned_to, :size => "14") %><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %></td> |
|
29 | 29 | <th class="progress"><%=l(:field_done_ratio)%>:</th><td class="progress"><%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %></td> |
|
30 | 30 | </tr> |
|
31 | 31 | <tr> |
|
32 | 32 | <th class="category"><%=l(:field_category)%>:</th><td class="category"><%=h @issue.category ? @issue.category.name : "-" %></td> |
|
33 | 33 | <% if User.current.allowed_to?(:view_time_entries, @project) %> |
|
34 | 34 | <th class="spent-time"><%=l(:label_spent_time)%>:</th> |
|
35 | 35 | <td class="spent-time"><%= @issue.spent_hours > 0 ? (link_to l_hours(@issue.spent_hours), {:controller => 'timelog', :action => 'details', :project_id => @project, :issue_id => @issue}) : "-" %></td> |
|
36 | 36 | <% end %> |
|
37 | 37 | </tr> |
|
38 | 38 | <tr> |
|
39 | 39 | <th class="fixed-version"><%=l(:field_fixed_version)%>:</th><td class="fixed-version"><%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %></td> |
|
40 | 40 | <% if @issue.estimated_hours %> |
|
41 | 41 | <th class="estimated-hours"><%=l(:field_estimated_hours)%>:</th><td class="estimated-hours"><%= l_hours(@issue.estimated_hours) %></td> |
|
42 | 42 | <% end %> |
|
43 | 43 | </tr> |
|
44 | 44 | <%= render_custom_fields_rows(@issue) %> |
|
45 | 45 | <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %> |
|
46 | 46 | </table> |
|
47 | 47 | <hr /> |
|
48 | 48 | |
|
49 | 49 | <div class="contextual"> |
|
50 | 50 | <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:action => 'reply', :id => @issue} }, :class => 'icon icon-comment') unless @issue.description.blank? %> |
|
51 | 51 | </div> |
|
52 | 52 | |
|
53 | 53 | <p><strong><%=l(:field_description)%></strong></p> |
|
54 | 54 | <div class="wiki"> |
|
55 | 55 | <%= textilizable @issue, :description, :attachments => @issue.attachments %> |
|
56 | 56 | </div> |
|
57 | 57 | |
|
58 | 58 | <%= link_to_attachments @issue %> |
|
59 | 59 | |
|
60 | 60 | <%= call_hook(:view_issues_show_description_bottom, :issue => @issue) %> |
|
61 | 61 | |
|
62 | 62 | <% if !@issue.leaf? || User.current.allowed_to?(:manage_subtasks, @project) %> |
|
63 | 63 | <hr /> |
|
64 | 64 | <div id="issue_tree"> |
|
65 | 65 | <div class="contextual"> |
|
66 | 66 | <%= link_to(l(:button_add), {:controller => 'issues', :action => 'new', :project_id => @project, :issue => {:parent_issue_id => @issue}}) if User.current.allowed_to?(:manage_subtasks, @project) %> |
|
67 | 67 | </div> |
|
68 | 68 | <p><strong><%=l(:label_subtask_plural)%></strong></p> |
|
69 | 69 | <%= render_descendants_tree(@issue) unless @issue.leaf? %> |
|
70 | 70 | </div> |
|
71 | 71 | <% end %> |
|
72 | 72 | |
|
73 | 73 | <% if authorize_for('issue_relations', 'new') || @issue.relations.any? %> |
|
74 | 74 | <hr /> |
|
75 | 75 | <div id="relations"> |
|
76 | 76 | <%= render :partial => 'relations' %> |
|
77 | 77 | </div> |
|
78 | 78 | <% end %> |
|
79 | 79 | |
|
80 | <% if User.current.allowed_to?(:add_issue_watchers, @project) || | |
|
81 | (@issue.watchers.any? && User.current.allowed_to?(:view_issue_watchers, @project)) %> | |
|
82 | <hr /> | |
|
83 | <div id="watchers"> | |
|
84 | <%= render :partial => 'watchers/watchers', :locals => {:watched => @issue} %> | |
|
85 | </div> | |
|
86 | <% end %> | |
|
87 | ||
|
88 | 80 | </div> |
|
89 | 81 | |
|
90 | 82 | <% if @changesets.any? %> |
|
91 | 83 | <div id="issue-changesets"> |
|
92 | 84 | <h3><%=l(:label_associated_revisions)%></h3> |
|
93 | 85 | <%= render :partial => 'changesets', :locals => { :changesets => @changesets} %> |
|
94 | 86 | </div> |
|
95 | 87 | <% end %> |
|
96 | 88 | |
|
97 | 89 | <% if @journals.any? %> |
|
98 | 90 | <div id="history"> |
|
99 | 91 | <h3><%=l(:label_history)%></h3> |
|
100 | 92 | <%= render :partial => 'history', :locals => { :journals => @journals } %> |
|
101 | 93 | </div> |
|
102 | 94 | <% end %> |
|
103 | 95 | |
|
104 | 96 | |
|
105 | 97 | <div style="clear: both;"></div> |
|
106 | 98 | <%= render :partial => 'action_menu', :locals => {:replace_watcher => 'watcher2' } %> |
|
107 | 99 | |
|
108 | 100 | <div style="clear: both;"></div> |
|
109 | 101 | <% if authorize_for('issues', 'edit') %> |
|
110 | 102 | <div id="update" style="display:none;"> |
|
111 | 103 | <h3><%= l(:button_update) %></h3> |
|
112 | 104 | <%= render :partial => 'edit' %> |
|
113 | 105 | </div> |
|
114 | 106 | <% end %> |
|
115 | 107 | |
|
116 | 108 | <% other_formats_links do |f| %> |
|
117 | 109 | <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %> |
|
118 | 110 | <%= f.link_to 'PDF' %> |
|
119 | 111 | <% end %> |
|
120 | 112 | |
|
121 | 113 | <% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %> |
|
122 | 114 | |
|
123 | 115 | <% content_for :sidebar do %> |
|
124 | 116 |
|
|
117 | ||
|
118 | <% if User.current.allowed_to?(:add_issue_watchers, @project) || | |
|
119 | (@issue.watchers.any? && User.current.allowed_to?(:view_issue_watchers, @project)) %> | |
|
120 | <div id="watchers"> | |
|
121 | <%= render :partial => 'watchers/watchers', :locals => {:watched => @issue} %> | |
|
122 | </div> | |
|
123 | <% end %> | |
|
125 | 124 | <% end %> |
|
126 | 125 | |
|
127 | 126 | <% content_for :header_tags do %> |
|
128 | 127 | <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@issue.project} - #{@issue.tracker} ##{@issue.id}: #{@issue.subject}") %> |
|
129 | 128 | <%= stylesheet_link_tag 'scm' %> |
|
130 | 129 | <%= javascript_include_tag 'context_menu' %> |
|
131 | 130 | <%= stylesheet_link_tag 'context_menu' %> |
|
132 | 131 | <% end %> |
|
133 | 132 | <div id="context-menu" style="display: none;"></div> |
|
134 | 133 | <%= javascript_tag "new ContextMenu('#{url_for(:controller => 'issues', :action => 'context_menu')}')" %> No newline at end of file |
@@ -1,25 +1,26 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to_remote l(:button_add), |
|
3 | 3 | :url => {:controller => 'watchers', |
|
4 | 4 | :action => 'new', |
|
5 | 5 | :object_type => watched.class.name.underscore, |
|
6 | 6 | :object_id => watched} if User.current.allowed_to?(:add_issue_watchers, @project) %> |
|
7 | 7 | </div> |
|
8 | 8 | |
|
9 | <p><strong><%= l(:label_issue_watchers) %></strong></p> | |
|
10 | <%= watchers_list(watched) %> | |
|
9 | <h3><%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)</h3> | |
|
11 | 10 | |
|
12 | 11 | <% unless @watcher.nil? %> |
|
13 | 12 | <% remote_form_for(:watcher, @watcher, |
|
14 | 13 | :url => {:controller => 'watchers', |
|
15 | 14 | :action => 'new', |
|
16 | 15 | :object_type => watched.class.name.underscore, |
|
17 | 16 | :object_id => watched}, |
|
18 | 17 | :method => :post, |
|
19 | 18 | :html => {:id => 'new-watcher-form'}) do |f| %> |
|
20 | 19 | <p><%= f.select :user_id, (watched.addable_watcher_users.collect {|m| [m.name, m.id]}), :prompt => "--- #{l(:actionview_instancetag_blank_option)} ---" %> |
|
21 | 20 | |
|
22 | 21 | <%= submit_tag l(:button_add) %> |
|
23 | 22 | <%= toggle_link l(:button_cancel), 'new-watcher-form'%></p> |
|
24 | 23 | <% end %> |
|
25 | 24 | <% end %> |
|
25 | ||
|
26 | <%= watchers_list(watched) %> |
@@ -1,876 +1,883 | |||
|
1 | 1 | body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; } |
|
2 | 2 | |
|
3 | 3 | h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;} |
|
4 | 4 | h1 {margin:0; padding:0; font-size: 24px;} |
|
5 | 5 | h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;} |
|
6 | 6 | h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;} |
|
7 | 7 | h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;} |
|
8 | 8 | |
|
9 | 9 | /***** Layout *****/ |
|
10 | 10 | #wrapper {background: white;} |
|
11 | 11 | |
|
12 | 12 | #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;} |
|
13 | 13 | #top-menu ul {margin: 0; padding: 0;} |
|
14 | 14 | #top-menu li { |
|
15 | 15 | float:left; |
|
16 | 16 | list-style-type:none; |
|
17 | 17 | margin: 0px 0px 0px 0px; |
|
18 | 18 | padding: 0px 0px 0px 0px; |
|
19 | 19 | white-space:nowrap; |
|
20 | 20 | } |
|
21 | 21 | #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;} |
|
22 | 22 | #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; } |
|
23 | 23 | |
|
24 | 24 | #account {float:right;} |
|
25 | 25 | |
|
26 | 26 | #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;} |
|
27 | 27 | #header a {color:#f8f8f8;} |
|
28 | 28 | #header h1 a.ancestor { font-size: 80%; } |
|
29 | 29 | #quick-search {float:right;} |
|
30 | 30 | |
|
31 | 31 | #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;} |
|
32 | 32 | #main-menu ul {margin: 0; padding: 0;} |
|
33 | 33 | #main-menu li { |
|
34 | 34 | float:left; |
|
35 | 35 | list-style-type:none; |
|
36 | 36 | margin: 0px 2px 0px 0px; |
|
37 | 37 | padding: 0px 0px 0px 0px; |
|
38 | 38 | white-space:nowrap; |
|
39 | 39 | } |
|
40 | 40 | #main-menu li a { |
|
41 | 41 | display: block; |
|
42 | 42 | color: #fff; |
|
43 | 43 | text-decoration: none; |
|
44 | 44 | font-weight: bold; |
|
45 | 45 | margin: 0; |
|
46 | 46 | padding: 4px 10px 4px 10px; |
|
47 | 47 | } |
|
48 | 48 | #main-menu li a:hover {background:#759FCF; color:#fff;} |
|
49 | 49 | #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;} |
|
50 | 50 | |
|
51 | 51 | #admin-menu ul {margin: 0; padding: 0;} |
|
52 | 52 | #admin-menu li {margin: 0; padding: 0 0 12px 0; list-style-type:none;} |
|
53 | 53 | |
|
54 | 54 | #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;} |
|
55 | 55 | #admin-menu a.projects { background-image: url(../images/projects.png); } |
|
56 | 56 | #admin-menu a.users { background-image: url(../images/user.png); } |
|
57 | 57 | #admin-menu a.groups { background-image: url(../images/group.png); } |
|
58 | 58 | #admin-menu a.roles { background-image: url(../images/database_key.png); } |
|
59 | 59 | #admin-menu a.trackers { background-image: url(../images/ticket.png); } |
|
60 | 60 | #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); } |
|
61 | 61 | #admin-menu a.workflows { background-image: url(../images/ticket_go.png); } |
|
62 | 62 | #admin-menu a.custom_fields { background-image: url(../images/textfield.png); } |
|
63 | 63 | #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); } |
|
64 | 64 | #admin-menu a.settings { background-image: url(../images/changeset.png); } |
|
65 | 65 | #admin-menu a.plugins { background-image: url(../images/plugin.png); } |
|
66 | 66 | #admin-menu a.info { background-image: url(../images/help.png); } |
|
67 | 67 | |
|
68 | 68 | #main {background-color:#EEEEEE;} |
|
69 | 69 | |
|
70 | 70 | #sidebar{ float: right; width: 17%; position: relative; z-index: 9; padding: 0; margin: 0;} |
|
71 | 71 | * html #sidebar{ width: 17%; } |
|
72 | 72 | #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; } |
|
73 | 73 | #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; } |
|
74 | 74 | * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; } |
|
75 | 75 | |
|
76 | 76 | #content { width: 80%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; } |
|
77 | 77 | * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;} |
|
78 | 78 | html>body #content { min-height: 600px; } |
|
79 | 79 | * html body #content { height: 600px; } /* IE */ |
|
80 | 80 | |
|
81 | 81 | #main.nosidebar #sidebar{ display: none; } |
|
82 | 82 | #main.nosidebar #content{ width: auto; border-right: 0; } |
|
83 | 83 | |
|
84 | 84 | #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;} |
|
85 | 85 | |
|
86 | 86 | #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; } |
|
87 | 87 | #login-form table td {padding: 6px;} |
|
88 | 88 | #login-form label {font-weight: bold;} |
|
89 | 89 | #login-form input#username, #login-form input#password { width: 300px; } |
|
90 | 90 | |
|
91 | 91 | input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; } |
|
92 | 92 | |
|
93 | 93 | .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; } |
|
94 | 94 | |
|
95 | 95 | /***** Links *****/ |
|
96 | 96 | a, a:link, a:visited{ color: #2A5685; text-decoration: none; } |
|
97 | 97 | a:hover, a:active{ color: #c61a1a; text-decoration: underline;} |
|
98 | 98 | a img{ border: 0; } |
|
99 | 99 | |
|
100 | 100 | a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; } |
|
101 | 101 | |
|
102 | 102 | /***** Tables *****/ |
|
103 | 103 | table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } |
|
104 | 104 | table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; } |
|
105 | 105 | table.list td { vertical-align: top; } |
|
106 | 106 | table.list td.id { width: 2%; text-align: center;} |
|
107 | 107 | table.list td.checkbox { width: 15px; padding: 0px;} |
|
108 | 108 | table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; } |
|
109 | 109 | table.list td.buttons a { padding-right: 0.6em; } |
|
110 | 110 | table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; } |
|
111 | 111 | |
|
112 | 112 | tr.project td.name a { padding-left: 16px; white-space:nowrap; } |
|
113 | 113 | tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; } |
|
114 | 114 | |
|
115 | 115 | tr.issue { text-align: center; white-space: nowrap; } |
|
116 | 116 | tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; } |
|
117 | 117 | tr.issue td.subject { text-align: left; } |
|
118 | 118 | tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;} |
|
119 | 119 | |
|
120 | 120 | tr.entry { border: 1px solid #f8f8f8; } |
|
121 | 121 | tr.entry td { white-space: nowrap; } |
|
122 | 122 | tr.entry td.filename { width: 30%; } |
|
123 | 123 | tr.entry td.size { text-align: right; font-size: 90%; } |
|
124 | 124 | tr.entry td.revision, tr.entry td.author { text-align: center; } |
|
125 | 125 | tr.entry td.age { text-align: right; } |
|
126 | 126 | tr.entry.file td.filename a { margin-left: 16px; } |
|
127 | 127 | |
|
128 | 128 | tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;} |
|
129 | 129 | tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);} |
|
130 | 130 | |
|
131 | 131 | tr.changeset td.author { text-align: center; width: 15%; } |
|
132 | 132 | tr.changeset td.committed_on { text-align: center; width: 15%; } |
|
133 | 133 | |
|
134 | 134 | table.files tr.file td { text-align: center; } |
|
135 | 135 | table.files tr.file td.filename { text-align: left; padding-left: 24px; } |
|
136 | 136 | table.files tr.file td.digest { font-size: 80%; } |
|
137 | 137 | |
|
138 | 138 | table.members td.roles, table.memberships td.roles { width: 45%; } |
|
139 | 139 | |
|
140 | 140 | tr.message { height: 2.6em; } |
|
141 | 141 | tr.message td.subject { padding-left: 20px; } |
|
142 | 142 | tr.message td.created_on { white-space: nowrap; } |
|
143 | 143 | tr.message td.last_message { font-size: 80%; white-space: nowrap; } |
|
144 | 144 | tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; } |
|
145 | 145 | tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; } |
|
146 | 146 | |
|
147 | 147 | tr.version.closed, tr.version.closed a { color: #999; } |
|
148 | 148 | tr.version td.name { padding-left: 20px; } |
|
149 | 149 | tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; } |
|
150 | 150 | tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; } |
|
151 | 151 | |
|
152 | 152 | tr.user td { width:13%; } |
|
153 | 153 | tr.user td.email { width:18%; } |
|
154 | 154 | tr.user td { white-space: nowrap; } |
|
155 | 155 | tr.user.locked, tr.user.registered { color: #aaa; } |
|
156 | 156 | tr.user.locked a, tr.user.registered a { color: #aaa; } |
|
157 | 157 | |
|
158 | 158 | tr.time-entry { text-align: center; white-space: nowrap; } |
|
159 | 159 | tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; } |
|
160 | 160 | td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; } |
|
161 | 161 | td.hours .hours-dec { font-size: 0.9em; } |
|
162 | 162 | |
|
163 | 163 | table.plugins td { vertical-align: middle; } |
|
164 | 164 | table.plugins td.configure { text-align: right; padding-right: 1em; } |
|
165 | 165 | table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; } |
|
166 | 166 | table.plugins span.description { display: block; font-size: 0.9em; } |
|
167 | 167 | table.plugins span.url { display: block; font-size: 0.9em; } |
|
168 | 168 | |
|
169 | 169 | table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; } |
|
170 | 170 | table.list tbody tr.group span.count { color: #aaa; font-size: 80%; } |
|
171 | 171 | |
|
172 | 172 | table.list tbody tr:hover { background-color:#ffffdd; } |
|
173 | 173 | table.list tbody tr.group:hover { background-color:inherit; } |
|
174 | 174 | table td {padding:2px;} |
|
175 | 175 | table p {margin:0;} |
|
176 | 176 | .odd {background-color:#f6f7f8;} |
|
177 | 177 | .even {background-color: #fff;} |
|
178 | 178 | |
|
179 | 179 | a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; } |
|
180 | 180 | a.sort.asc { background-image: url(../images/sort_asc.png); } |
|
181 | 181 | a.sort.desc { background-image: url(../images/sort_desc.png); } |
|
182 | 182 | |
|
183 | 183 | table.attributes { width: 100% } |
|
184 | 184 | table.attributes th { vertical-align: top; text-align: left; } |
|
185 | 185 | table.attributes td { vertical-align: top; } |
|
186 | 186 | |
|
187 | 187 | table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; } |
|
188 | 188 | |
|
189 | 189 | td.center {text-align:center;} |
|
190 | 190 | |
|
191 | 191 | h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; } |
|
192 | 192 | |
|
193 | 193 | div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; } |
|
194 | 194 | div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; } |
|
195 | 195 | div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; } |
|
196 | 196 | div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; } |
|
197 | 197 | |
|
198 | #watchers ul {margin: 0; padding: 0;} | |
|
199 | #watchers li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;} | |
|
200 | #watchers select {width: 95%; display: block;} | |
|
201 | #watchers a.delete {opacity: 0.4;} | |
|
202 | #watchers a.delete:hover {opacity: 1;} | |
|
203 | #watchers img.gravatar {vertical-align: middle;margin-right: 4px;} | |
|
204 | ||
|
198 | 205 | .highlight { background-color: #FCFD8D;} |
|
199 | 206 | .highlight.token-1 { background-color: #faa;} |
|
200 | 207 | .highlight.token-2 { background-color: #afa;} |
|
201 | 208 | .highlight.token-3 { background-color: #aaf;} |
|
202 | 209 | |
|
203 | 210 | .box{ |
|
204 | 211 | padding:6px; |
|
205 | 212 | margin-bottom: 10px; |
|
206 | 213 | background-color:#f6f6f6; |
|
207 | 214 | color:#505050; |
|
208 | 215 | line-height:1.5em; |
|
209 | 216 | border: 1px solid #e4e4e4; |
|
210 | 217 | } |
|
211 | 218 | |
|
212 | 219 | div.square { |
|
213 | 220 | border: 1px solid #999; |
|
214 | 221 | float: left; |
|
215 | 222 | margin: .3em .4em 0 .4em; |
|
216 | 223 | overflow: hidden; |
|
217 | 224 | width: .6em; height: .6em; |
|
218 | 225 | } |
|
219 | 226 | .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;} |
|
220 | 227 | .contextual input, .contextual select {font-size:0.9em;} |
|
221 | 228 | .message .contextual { margin-top: 0; } |
|
222 | 229 | |
|
223 | 230 | .splitcontentleft{float:left; width:49%;} |
|
224 | 231 | .splitcontentright{float:right; width:49%;} |
|
225 | 232 | form {display: inline;} |
|
226 | 233 | input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;} |
|
227 | 234 | fieldset {border: 1px solid #e4e4e4; margin:0;} |
|
228 | 235 | legend {color: #484848;} |
|
229 | 236 | hr { width: 100%; height: 1px; background: #ccc; border: 0;} |
|
230 | 237 | blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;} |
|
231 | 238 | blockquote blockquote { margin-left: 0;} |
|
232 | 239 | acronym { border-bottom: 1px dotted; cursor: help; } |
|
233 | 240 | textarea.wiki-edit { width: 99%; } |
|
234 | 241 | li p {margin-top: 0;} |
|
235 | 242 | div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;} |
|
236 | 243 | p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;} |
|
237 | 244 | p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; } |
|
238 | 245 | p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; } |
|
239 | 246 | |
|
240 | 247 | div.issue div.subject div div { padding-left: 16px; } |
|
241 | 248 | div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;} |
|
242 | 249 | div.issue div.subject>div>p { margin-top: 0.5em; } |
|
243 | 250 | div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;} |
|
244 | 251 | |
|
245 | 252 | #issue_tree table.issues { border: 0; } |
|
246 | 253 | #issue_tree td.checkbox {display:none;} |
|
247 | 254 | |
|
248 | 255 | fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; } |
|
249 | 256 | fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; } |
|
250 | 257 | fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); } |
|
251 | 258 | |
|
252 | 259 | fieldset#date-range p { margin: 2px 0 2px 0; } |
|
253 | 260 | fieldset#filters table { border-collapse: collapse; } |
|
254 | 261 | fieldset#filters table td { padding: 0; vertical-align: middle; } |
|
255 | 262 | fieldset#filters tr.filter { height: 2em; } |
|
256 | 263 | fieldset#filters td.add-filter { text-align: right; vertical-align: top; } |
|
257 | 264 | .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; } |
|
258 | 265 | |
|
259 | 266 | div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;} |
|
260 | 267 | div#issue-changesets .changeset { padding: 4px;} |
|
261 | 268 | div#issue-changesets .changeset { border-bottom: 1px solid #ddd; } |
|
262 | 269 | div#issue-changesets p { margin-top: 0; margin-bottom: 1em;} |
|
263 | 270 | |
|
264 | 271 | div#activity dl, #search-results { margin-left: 2em; } |
|
265 | 272 | div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; } |
|
266 | 273 | div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; } |
|
267 | 274 | div#activity dt.me .time { border-bottom: 1px solid #999; } |
|
268 | 275 | div#activity dt .time { color: #777; font-size: 80%; } |
|
269 | 276 | div#activity dd .description, #search-results dd .description { font-style: italic; } |
|
270 | 277 | div#activity span.project:after, #search-results span.project:after { content: " -"; } |
|
271 | 278 | div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; } |
|
272 | 279 | |
|
273 | 280 | #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; } |
|
274 | 281 | |
|
275 | 282 | div#search-results-counts {float:right;} |
|
276 | 283 | div#search-results-counts ul { margin-top: 0.5em; } |
|
277 | 284 | div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; } |
|
278 | 285 | |
|
279 | 286 | dt.issue { background-image: url(../images/ticket.png); } |
|
280 | 287 | dt.issue-edit { background-image: url(../images/ticket_edit.png); } |
|
281 | 288 | dt.issue-closed { background-image: url(../images/ticket_checked.png); } |
|
282 | 289 | dt.issue-note { background-image: url(../images/ticket_note.png); } |
|
283 | 290 | dt.changeset { background-image: url(../images/changeset.png); } |
|
284 | 291 | dt.news { background-image: url(../images/news.png); } |
|
285 | 292 | dt.message { background-image: url(../images/message.png); } |
|
286 | 293 | dt.reply { background-image: url(../images/comments.png); } |
|
287 | 294 | dt.wiki-page { background-image: url(../images/wiki_edit.png); } |
|
288 | 295 | dt.attachment { background-image: url(../images/attachment.png); } |
|
289 | 296 | dt.document { background-image: url(../images/document.png); } |
|
290 | 297 | dt.project { background-image: url(../images/projects.png); } |
|
291 | 298 | dt.time-entry { background-image: url(../images/time.png); } |
|
292 | 299 | |
|
293 | 300 | #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); } |
|
294 | 301 | |
|
295 | 302 | div#roadmap .related-issues { margin-bottom: 1em; } |
|
296 | 303 | div#roadmap .related-issues td.checkbox { display: none; } |
|
297 | 304 | div#roadmap .wiki h1:first-child { display: none; } |
|
298 | 305 | div#roadmap .wiki h1 { font-size: 120%; } |
|
299 | 306 | div#roadmap .wiki h2 { font-size: 110%; } |
|
300 | 307 | |
|
301 | 308 | div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; } |
|
302 | 309 | div#version-summary fieldset { margin-bottom: 1em; } |
|
303 | 310 | div#version-summary .total-hours { text-align: right; } |
|
304 | 311 | |
|
305 | 312 | table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; } |
|
306 | 313 | table#time-report tbody tr { font-style: italic; color: #777; } |
|
307 | 314 | table#time-report tbody tr.last-level { font-style: normal; color: #555; } |
|
308 | 315 | table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; } |
|
309 | 316 | table#time-report .hours-dec { font-size: 0.9em; } |
|
310 | 317 | |
|
311 | 318 | form .attributes { margin-bottom: 8px; } |
|
312 | 319 | form .attributes p { padding-top: 1px; padding-bottom: 2px; } |
|
313 | 320 | form .attributes select { min-width: 50%; } |
|
314 | 321 | |
|
315 | 322 | ul.projects { margin: 0; padding-left: 1em; } |
|
316 | 323 | ul.projects.root { margin: 0; padding: 0; } |
|
317 | 324 | ul.projects ul { border-left: 3px solid #e0e0e0; } |
|
318 | 325 | ul.projects li { list-style-type:none; } |
|
319 | 326 | ul.projects li.root { margin-bottom: 1em; } |
|
320 | 327 | ul.projects li.child { margin-top: 1em;} |
|
321 | 328 | ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; } |
|
322 | 329 | .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; } |
|
323 | 330 | |
|
324 | 331 | #tracker_project_ids ul { margin: 0; padding-left: 1em; } |
|
325 | 332 | #tracker_project_ids li { list-style-type:none; } |
|
326 | 333 | |
|
327 | 334 | ul.properties {padding:0; font-size: 0.9em; color: #777;} |
|
328 | 335 | ul.properties li {list-style-type:none;} |
|
329 | 336 | ul.properties li span {font-style:italic;} |
|
330 | 337 | |
|
331 | 338 | .total-hours { font-size: 110%; font-weight: bold; } |
|
332 | 339 | .total-hours span.hours-int { font-size: 120%; } |
|
333 | 340 | |
|
334 | 341 | .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;} |
|
335 | 342 | #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; } |
|
336 | 343 | |
|
337 | 344 | #workflow_copy_form select { width: 200px; } |
|
338 | 345 | |
|
339 | 346 | .pagination {font-size: 90%} |
|
340 | 347 | p.pagination {margin-top:8px;} |
|
341 | 348 | |
|
342 | 349 | /***** Tabular forms ******/ |
|
343 | 350 | .tabular p{ |
|
344 | 351 | margin: 0; |
|
345 | 352 | padding: 5px 0 8px 0; |
|
346 | 353 | padding-left: 180px; /*width of left column containing the label elements*/ |
|
347 | 354 | height: 1%; |
|
348 | 355 | clear:left; |
|
349 | 356 | } |
|
350 | 357 | |
|
351 | 358 | html>body .tabular p {overflow:hidden;} |
|
352 | 359 | |
|
353 | 360 | .tabular label{ |
|
354 | 361 | font-weight: bold; |
|
355 | 362 | float: left; |
|
356 | 363 | text-align: right; |
|
357 | 364 | margin-left: -180px; /*width of left column*/ |
|
358 | 365 | width: 175px; /*width of labels. Should be smaller than left column to create some right |
|
359 | 366 | margin*/ |
|
360 | 367 | } |
|
361 | 368 | |
|
362 | 369 | .tabular label.floating{ |
|
363 | 370 | font-weight: normal; |
|
364 | 371 | margin-left: 0px; |
|
365 | 372 | text-align: left; |
|
366 | 373 | width: 270px; |
|
367 | 374 | } |
|
368 | 375 | |
|
369 | 376 | .tabular label.block{ |
|
370 | 377 | font-weight: normal; |
|
371 | 378 | margin-left: 0px !important; |
|
372 | 379 | text-align: left; |
|
373 | 380 | float: none; |
|
374 | 381 | display: block; |
|
375 | 382 | width: auto; |
|
376 | 383 | } |
|
377 | 384 | |
|
378 | 385 | input#time_entry_comments { width: 90%;} |
|
379 | 386 | |
|
380 | 387 | #preview fieldset {margin-top: 1em; background: url(../images/draft.png)} |
|
381 | 388 | |
|
382 | 389 | .tabular.settings p{ padding-left: 300px; } |
|
383 | 390 | .tabular.settings label{ margin-left: -300px; width: 295px; } |
|
384 | 391 | .tabular.settings textarea { width: 99%; } |
|
385 | 392 | |
|
386 | 393 | fieldset.settings label { display: block; } |
|
387 | 394 | |
|
388 | 395 | .required {color: #bb0000;} |
|
389 | 396 | .summary {font-style: italic;} |
|
390 | 397 | |
|
391 | 398 | #attachments_fields input[type=text] {margin-left: 8px; } |
|
392 | 399 | |
|
393 | 400 | div.attachments { margin-top: 12px; } |
|
394 | 401 | div.attachments p { margin:4px 0 2px 0; } |
|
395 | 402 | div.attachments img { vertical-align: middle; } |
|
396 | 403 | div.attachments span.author { font-size: 0.9em; color: #888; } |
|
397 | 404 | |
|
398 | 405 | p.other-formats { text-align: right; font-size:0.9em; color: #666; } |
|
399 | 406 | .other-formats span + span:before { content: "| "; } |
|
400 | 407 | |
|
401 | 408 | a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; } |
|
402 | 409 | |
|
403 | 410 | /* Project members tab */ |
|
404 | 411 | div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% } |
|
405 | 412 | div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% } |
|
406 | 413 | div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; } |
|
407 | 414 | div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; } |
|
408 | 415 | div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; } |
|
409 | 416 | div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; } |
|
410 | 417 | |
|
411 | 418 | table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; } |
|
412 | 419 | |
|
413 | 420 | * html div#tab-content-members fieldset div { height: 450px; } |
|
414 | 421 | |
|
415 | 422 | /***** Flash & error messages ****/ |
|
416 | 423 | #errorExplanation, div.flash, .nodata, .warning { |
|
417 | 424 | padding: 4px 4px 4px 30px; |
|
418 | 425 | margin-bottom: 12px; |
|
419 | 426 | font-size: 1.1em; |
|
420 | 427 | border: 2px solid; |
|
421 | 428 | } |
|
422 | 429 | |
|
423 | 430 | div.flash {margin-top: 8px;} |
|
424 | 431 | |
|
425 | 432 | div.flash.error, #errorExplanation { |
|
426 | 433 | background: url(../images/exclamation.png) 8px 50% no-repeat; |
|
427 | 434 | background-color: #ffe3e3; |
|
428 | 435 | border-color: #dd0000; |
|
429 | 436 | color: #880000; |
|
430 | 437 | } |
|
431 | 438 | |
|
432 | 439 | div.flash.notice { |
|
433 | 440 | background: url(../images/true.png) 8px 5px no-repeat; |
|
434 | 441 | background-color: #dfffdf; |
|
435 | 442 | border-color: #9fcf9f; |
|
436 | 443 | color: #005f00; |
|
437 | 444 | } |
|
438 | 445 | |
|
439 | 446 | div.flash.warning { |
|
440 | 447 | background: url(../images/warning.png) 8px 5px no-repeat; |
|
441 | 448 | background-color: #FFEBC1; |
|
442 | 449 | border-color: #FDBF3B; |
|
443 | 450 | color: #A6750C; |
|
444 | 451 | text-align: left; |
|
445 | 452 | } |
|
446 | 453 | |
|
447 | 454 | .nodata, .warning { |
|
448 | 455 | text-align: center; |
|
449 | 456 | background-color: #FFEBC1; |
|
450 | 457 | border-color: #FDBF3B; |
|
451 | 458 | color: #A6750C; |
|
452 | 459 | } |
|
453 | 460 | |
|
454 | 461 | #errorExplanation ul { font-size: 0.9em;} |
|
455 | 462 | #errorExplanation h2, #errorExplanation p { display: none; } |
|
456 | 463 | |
|
457 | 464 | /***** Ajax indicator ******/ |
|
458 | 465 | #ajax-indicator { |
|
459 | 466 | position: absolute; /* fixed not supported by IE */ |
|
460 | 467 | background-color:#eee; |
|
461 | 468 | border: 1px solid #bbb; |
|
462 | 469 | top:35%; |
|
463 | 470 | left:40%; |
|
464 | 471 | width:20%; |
|
465 | 472 | font-weight:bold; |
|
466 | 473 | text-align:center; |
|
467 | 474 | padding:0.6em; |
|
468 | 475 | z-index:100; |
|
469 | 476 | filter:alpha(opacity=50); |
|
470 | 477 | opacity: 0.5; |
|
471 | 478 | } |
|
472 | 479 | |
|
473 | 480 | html>body #ajax-indicator { position: fixed; } |
|
474 | 481 | |
|
475 | 482 | #ajax-indicator span { |
|
476 | 483 | background-position: 0% 40%; |
|
477 | 484 | background-repeat: no-repeat; |
|
478 | 485 | background-image: url(../images/loading.gif); |
|
479 | 486 | padding-left: 26px; |
|
480 | 487 | vertical-align: bottom; |
|
481 | 488 | } |
|
482 | 489 | |
|
483 | 490 | /***** Calendar *****/ |
|
484 | 491 | table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;} |
|
485 | 492 | table.cal thead th {width: 14%;} |
|
486 | 493 | table.cal tbody tr {height: 100px;} |
|
487 | 494 | table.cal th { background-color:#EEEEEE; padding: 4px; } |
|
488 | 495 | table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;} |
|
489 | 496 | table.cal td p.day-num {font-size: 1.1em; text-align:right;} |
|
490 | 497 | table.cal td.odd p.day-num {color: #bbb;} |
|
491 | 498 | table.cal td.today {background:#ffffdd;} |
|
492 | 499 | table.cal td.today p.day-num {font-weight: bold;} |
|
493 | 500 | table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;} |
|
494 | 501 | table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;} |
|
495 | 502 | table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;} |
|
496 | 503 | p.cal.legend span {display:block;} |
|
497 | 504 | |
|
498 | 505 | /***** Tooltips ******/ |
|
499 | 506 | .tooltip{position:relative;z-index:24;} |
|
500 | 507 | .tooltip:hover{z-index:25;color:#000;} |
|
501 | 508 | .tooltip span.tip{display: none; text-align:left;} |
|
502 | 509 | |
|
503 | 510 | div.tooltip:hover span.tip{ |
|
504 | 511 | display:block; |
|
505 | 512 | position:absolute; |
|
506 | 513 | top:12px; left:24px; width:270px; |
|
507 | 514 | border:1px solid #555; |
|
508 | 515 | background-color:#fff; |
|
509 | 516 | padding: 4px; |
|
510 | 517 | font-size: 0.8em; |
|
511 | 518 | color:#505050; |
|
512 | 519 | } |
|
513 | 520 | |
|
514 | 521 | /***** Progress bar *****/ |
|
515 | 522 | table.progress { |
|
516 | 523 | border: 1px solid #D7D7D7; |
|
517 | 524 | border-collapse: collapse; |
|
518 | 525 | border-spacing: 0pt; |
|
519 | 526 | empty-cells: show; |
|
520 | 527 | text-align: center; |
|
521 | 528 | float:left; |
|
522 | 529 | margin: 1px 6px 1px 0px; |
|
523 | 530 | } |
|
524 | 531 | |
|
525 | 532 | table.progress td { height: 0.9em; } |
|
526 | 533 | table.progress td.closed { background: #BAE0BA none repeat scroll 0%; } |
|
527 | 534 | table.progress td.done { background: #DEF0DE none repeat scroll 0%; } |
|
528 | 535 | table.progress td.open { background: #FFF none repeat scroll 0%; } |
|
529 | 536 | p.pourcent {font-size: 80%;} |
|
530 | 537 | p.progress-info {clear: left; font-style: italic; font-size: 80%;} |
|
531 | 538 | |
|
532 | 539 | /***** Tabs *****/ |
|
533 | 540 | #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;} |
|
534 | 541 | #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:1em; width: 2000px; border-bottom: 1px solid #bbbbbb;} |
|
535 | 542 | #content .tabs ul li { |
|
536 | 543 | float:left; |
|
537 | 544 | list-style-type:none; |
|
538 | 545 | white-space:nowrap; |
|
539 | 546 | margin-right:8px; |
|
540 | 547 | background:#fff; |
|
541 | 548 | position:relative; |
|
542 | 549 | margin-bottom:-1px; |
|
543 | 550 | } |
|
544 | 551 | #content .tabs ul li a{ |
|
545 | 552 | display:block; |
|
546 | 553 | font-size: 0.9em; |
|
547 | 554 | text-decoration:none; |
|
548 | 555 | line-height:1.3em; |
|
549 | 556 | padding:4px 6px 4px 6px; |
|
550 | 557 | border: 1px solid #ccc; |
|
551 | 558 | border-bottom: 1px solid #bbbbbb; |
|
552 | 559 | background-color: #eeeeee; |
|
553 | 560 | color:#777; |
|
554 | 561 | font-weight:bold; |
|
555 | 562 | } |
|
556 | 563 | |
|
557 | 564 | #content .tabs ul li a:hover { |
|
558 | 565 | background-color: #ffffdd; |
|
559 | 566 | text-decoration:none; |
|
560 | 567 | } |
|
561 | 568 | |
|
562 | 569 | #content .tabs ul li a.selected { |
|
563 | 570 | background-color: #fff; |
|
564 | 571 | border: 1px solid #bbbbbb; |
|
565 | 572 | border-bottom: 1px solid #fff; |
|
566 | 573 | } |
|
567 | 574 | |
|
568 | 575 | #content .tabs ul li a.selected:hover { |
|
569 | 576 | background-color: #fff; |
|
570 | 577 | } |
|
571 | 578 | |
|
572 | 579 | div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; } |
|
573 | 580 | |
|
574 | 581 | button.tab-left, button.tab-right { |
|
575 | 582 | font-size: 0.9em; |
|
576 | 583 | cursor: pointer; |
|
577 | 584 | height:24px; |
|
578 | 585 | border: 1px solid #ccc; |
|
579 | 586 | border-bottom: 1px solid #bbbbbb; |
|
580 | 587 | position:absolute; |
|
581 | 588 | padding:4px; |
|
582 | 589 | width: 20px; |
|
583 | 590 | bottom: -1px; |
|
584 | 591 | } |
|
585 | 592 | |
|
586 | 593 | button.tab-left { |
|
587 | 594 | right: 20px; |
|
588 | 595 | background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%; |
|
589 | 596 | } |
|
590 | 597 | |
|
591 | 598 | button.tab-right { |
|
592 | 599 | right: 0; |
|
593 | 600 | background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%; |
|
594 | 601 | } |
|
595 | 602 | |
|
596 | 603 | /***** Auto-complete *****/ |
|
597 | 604 | div.autocomplete { |
|
598 | 605 | position:absolute; |
|
599 | 606 | width:400px; |
|
600 | 607 | margin:0; |
|
601 | 608 | padding:0; |
|
602 | 609 | } |
|
603 | 610 | div.autocomplete ul { |
|
604 | 611 | list-style-type:none; |
|
605 | 612 | margin:0; |
|
606 | 613 | padding:0; |
|
607 | 614 | } |
|
608 | 615 | div.autocomplete ul li { |
|
609 | 616 | list-style-type:none; |
|
610 | 617 | display:block; |
|
611 | 618 | margin:-1px 0 0 0; |
|
612 | 619 | padding:2px; |
|
613 | 620 | cursor:pointer; |
|
614 | 621 | font-size: 90%; |
|
615 | 622 | border: 1px solid #ccc; |
|
616 | 623 | border-left: 1px solid #ccc; |
|
617 | 624 | border-right: 1px solid #ccc; |
|
618 | 625 | background-color:white; |
|
619 | 626 | } |
|
620 | 627 | div.autocomplete ul li.selected { background-color: #ffb;} |
|
621 | 628 | div.autocomplete ul li span.informal { |
|
622 | 629 | font-size: 80%; |
|
623 | 630 | color: #aaa; |
|
624 | 631 | } |
|
625 | 632 | |
|
626 | 633 | #parent_issue_candidates ul li {width: 500px;} |
|
627 | 634 | |
|
628 | 635 | /***** Diff *****/ |
|
629 | 636 | .diff_out { background: #fcc; } |
|
630 | 637 | .diff_in { background: #cfc; } |
|
631 | 638 | |
|
632 | 639 | /***** Wiki *****/ |
|
633 | 640 | div.wiki table { |
|
634 | 641 | border: 1px solid #505050; |
|
635 | 642 | border-collapse: collapse; |
|
636 | 643 | margin-bottom: 1em; |
|
637 | 644 | } |
|
638 | 645 | |
|
639 | 646 | div.wiki table, div.wiki td, div.wiki th { |
|
640 | 647 | border: 1px solid #bbb; |
|
641 | 648 | padding: 4px; |
|
642 | 649 | } |
|
643 | 650 | |
|
644 | 651 | div.wiki .external { |
|
645 | 652 | background-position: 0% 60%; |
|
646 | 653 | background-repeat: no-repeat; |
|
647 | 654 | padding-left: 12px; |
|
648 | 655 | background-image: url(../images/external.png); |
|
649 | 656 | } |
|
650 | 657 | |
|
651 | 658 | div.wiki a.new { |
|
652 | 659 | color: #b73535; |
|
653 | 660 | } |
|
654 | 661 | |
|
655 | 662 | div.wiki pre { |
|
656 | 663 | margin: 1em 1em 1em 1.6em; |
|
657 | 664 | padding: 2px; |
|
658 | 665 | background-color: #fafafa; |
|
659 | 666 | border: 1px solid #dadada; |
|
660 | 667 | width:95%; |
|
661 | 668 | overflow-x: auto; |
|
662 | 669 | } |
|
663 | 670 | |
|
664 | 671 | div.wiki ul.toc { |
|
665 | 672 | background-color: #ffffdd; |
|
666 | 673 | border: 1px solid #e4e4e4; |
|
667 | 674 | padding: 4px; |
|
668 | 675 | line-height: 1.2em; |
|
669 | 676 | margin-bottom: 12px; |
|
670 | 677 | margin-right: 12px; |
|
671 | 678 | margin-left: 0; |
|
672 | 679 | display: table |
|
673 | 680 | } |
|
674 | 681 | * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */ |
|
675 | 682 | |
|
676 | 683 | div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; } |
|
677 | 684 | div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; } |
|
678 | 685 | div.wiki ul.toc li { list-style-type:none;} |
|
679 | 686 | div.wiki ul.toc li.heading2 { margin-left: 6px; } |
|
680 | 687 | div.wiki ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; } |
|
681 | 688 | |
|
682 | 689 | div.wiki ul.toc a { |
|
683 | 690 | font-size: 0.9em; |
|
684 | 691 | font-weight: normal; |
|
685 | 692 | text-decoration: none; |
|
686 | 693 | color: #606060; |
|
687 | 694 | } |
|
688 | 695 | div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;} |
|
689 | 696 | |
|
690 | 697 | a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; } |
|
691 | 698 | a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; } |
|
692 | 699 | h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; } |
|
693 | 700 | |
|
694 | 701 | div.wiki img { vertical-align: middle; } |
|
695 | 702 | |
|
696 | 703 | /***** My page layout *****/ |
|
697 | 704 | .block-receiver { |
|
698 | 705 | border:1px dashed #c0c0c0; |
|
699 | 706 | margin-bottom: 20px; |
|
700 | 707 | padding: 15px 0 15px 0; |
|
701 | 708 | } |
|
702 | 709 | |
|
703 | 710 | .mypage-box { |
|
704 | 711 | margin:0 0 20px 0; |
|
705 | 712 | color:#505050; |
|
706 | 713 | line-height:1.5em; |
|
707 | 714 | } |
|
708 | 715 | |
|
709 | 716 | .handle { |
|
710 | 717 | cursor: move; |
|
711 | 718 | } |
|
712 | 719 | |
|
713 | 720 | a.close-icon { |
|
714 | 721 | display:block; |
|
715 | 722 | margin-top:3px; |
|
716 | 723 | overflow:hidden; |
|
717 | 724 | width:12px; |
|
718 | 725 | height:12px; |
|
719 | 726 | background-repeat: no-repeat; |
|
720 | 727 | cursor:pointer; |
|
721 | 728 | background-image:url('../images/close.png'); |
|
722 | 729 | } |
|
723 | 730 | |
|
724 | 731 | a.close-icon:hover { |
|
725 | 732 | background-image:url('../images/close_hl.png'); |
|
726 | 733 | } |
|
727 | 734 | |
|
728 | 735 | /***** Gantt chart *****/ |
|
729 | 736 | .gantt_hdr { |
|
730 | 737 | position:absolute; |
|
731 | 738 | top:0; |
|
732 | 739 | height:16px; |
|
733 | 740 | border-top: 1px solid #c0c0c0; |
|
734 | 741 | border-bottom: 1px solid #c0c0c0; |
|
735 | 742 | border-right: 1px solid #c0c0c0; |
|
736 | 743 | text-align: center; |
|
737 | 744 | overflow: hidden; |
|
738 | 745 | } |
|
739 | 746 | |
|
740 | 747 | .task { |
|
741 | 748 | position: absolute; |
|
742 | 749 | height:8px; |
|
743 | 750 | font-size:0.8em; |
|
744 | 751 | color:#888; |
|
745 | 752 | padding:0; |
|
746 | 753 | margin:0; |
|
747 | 754 | line-height:0.8em; |
|
748 | 755 | white-space:nowrap; |
|
749 | 756 | } |
|
750 | 757 | |
|
751 | 758 | .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; } |
|
752 | 759 | .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; } |
|
753 | 760 | .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; } |
|
754 | 761 | |
|
755 | 762 | .task_todo.parent { background: #888; border: 1px solid #888; height: 6px;} |
|
756 | 763 | .task_late.parent, .task_done.parent { height: 3px;} |
|
757 | 764 | .task_todo.parent .left { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -5px; left: 0px; top: -1px;} |
|
758 | 765 | .task_todo.parent .right { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-right: -5px; right: 0px; top: -1px;} |
|
759 | 766 | |
|
760 | 767 | .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; } |
|
761 | 768 | |
|
762 | 769 | /***** Icons *****/ |
|
763 | 770 | .icon { |
|
764 | 771 | background-position: 0% 50%; |
|
765 | 772 | background-repeat: no-repeat; |
|
766 | 773 | padding-left: 20px; |
|
767 | 774 | padding-top: 2px; |
|
768 | 775 | padding-bottom: 3px; |
|
769 | 776 | } |
|
770 | 777 | |
|
771 | 778 | .icon-add { background-image: url(../images/add.png); } |
|
772 | 779 | .icon-edit { background-image: url(../images/edit.png); } |
|
773 | 780 | .icon-copy { background-image: url(../images/copy.png); } |
|
774 | 781 | .icon-duplicate { background-image: url(../images/duplicate.png); } |
|
775 | 782 | .icon-del { background-image: url(../images/delete.png); } |
|
776 | 783 | .icon-move { background-image: url(../images/move.png); } |
|
777 | 784 | .icon-save { background-image: url(../images/save.png); } |
|
778 | 785 | .icon-cancel { background-image: url(../images/cancel.png); } |
|
779 | 786 | .icon-multiple { background-image: url(../images/table_multiple.png); } |
|
780 | 787 | .icon-folder { background-image: url(../images/folder.png); } |
|
781 | 788 | .open .icon-folder { background-image: url(../images/folder_open.png); } |
|
782 | 789 | .icon-package { background-image: url(../images/package.png); } |
|
783 | 790 | .icon-home { background-image: url(../images/home.png); } |
|
784 | 791 | .icon-user { background-image: url(../images/user.png); } |
|
785 | 792 | .icon-projects { background-image: url(../images/projects.png); } |
|
786 | 793 | .icon-help { background-image: url(../images/help.png); } |
|
787 | 794 | .icon-attachment { background-image: url(../images/attachment.png); } |
|
788 | 795 | .icon-history { background-image: url(../images/history.png); } |
|
789 | 796 | .icon-time { background-image: url(../images/time.png); } |
|
790 | 797 | .icon-time-add { background-image: url(../images/time_add.png); } |
|
791 | 798 | .icon-stats { background-image: url(../images/stats.png); } |
|
792 | 799 | .icon-warning { background-image: url(../images/warning.png); } |
|
793 | 800 | .icon-fav { background-image: url(../images/fav.png); } |
|
794 | 801 | .icon-fav-off { background-image: url(../images/fav_off.png); } |
|
795 | 802 | .icon-reload { background-image: url(../images/reload.png); } |
|
796 | 803 | .icon-lock { background-image: url(../images/locked.png); } |
|
797 | 804 | .icon-unlock { background-image: url(../images/unlock.png); } |
|
798 | 805 | .icon-checked { background-image: url(../images/true.png); } |
|
799 | 806 | .icon-details { background-image: url(../images/zoom_in.png); } |
|
800 | 807 | .icon-report { background-image: url(../images/report.png); } |
|
801 | 808 | .icon-comment { background-image: url(../images/comment.png); } |
|
802 | 809 | .icon-summary { background-image: url(../images/lightning.png); } |
|
803 | 810 | |
|
804 | 811 | .icon-file { background-image: url(../images/files/default.png); } |
|
805 | 812 | .icon-file.text-plain { background-image: url(../images/files/text.png); } |
|
806 | 813 | .icon-file.text-x-c { background-image: url(../images/files/c.png); } |
|
807 | 814 | .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); } |
|
808 | 815 | .icon-file.text-x-php { background-image: url(../images/files/php.png); } |
|
809 | 816 | .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); } |
|
810 | 817 | .icon-file.text-xml { background-image: url(../images/files/xml.png); } |
|
811 | 818 | .icon-file.image-gif { background-image: url(../images/files/image.png); } |
|
812 | 819 | .icon-file.image-jpeg { background-image: url(../images/files/image.png); } |
|
813 | 820 | .icon-file.image-png { background-image: url(../images/files/image.png); } |
|
814 | 821 | .icon-file.image-tiff { background-image: url(../images/files/image.png); } |
|
815 | 822 | .icon-file.application-pdf { background-image: url(../images/files/pdf.png); } |
|
816 | 823 | .icon-file.application-zip { background-image: url(../images/files/zip.png); } |
|
817 | 824 | .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); } |
|
818 | 825 | |
|
819 | 826 | img.gravatar { |
|
820 | 827 | padding: 2px; |
|
821 | 828 | border: solid 1px #d5d5d5; |
|
822 | 829 | background: #fff; |
|
823 | 830 | } |
|
824 | 831 | |
|
825 | 832 | div.issue img.gravatar { |
|
826 | 833 | float: right; |
|
827 | 834 | margin: 0 0 0 1em; |
|
828 | 835 | padding: 5px; |
|
829 | 836 | } |
|
830 | 837 | |
|
831 | 838 | div.issue table img.gravatar { |
|
832 | 839 | height: 14px; |
|
833 | 840 | width: 14px; |
|
834 | 841 | padding: 2px; |
|
835 | 842 | float: left; |
|
836 | 843 | margin: 0 0.5em 0 0; |
|
837 | 844 | } |
|
838 | 845 | |
|
839 | 846 | h2 img.gravatar { |
|
840 | 847 | padding: 3px; |
|
841 | 848 | margin: -2px 4px -4px 0; |
|
842 | 849 | vertical-align: top; |
|
843 | 850 | } |
|
844 | 851 | |
|
845 | 852 | h4 img.gravatar { |
|
846 | 853 | padding: 3px; |
|
847 | 854 | margin: -6px 0 -4px 0; |
|
848 | 855 | vertical-align: top; |
|
849 | 856 | } |
|
850 | 857 | |
|
851 | 858 | td.username img.gravatar { |
|
852 | 859 | float: left; |
|
853 | 860 | margin: 0 1em 0 0; |
|
854 | 861 | } |
|
855 | 862 | |
|
856 | 863 | #activity dt img.gravatar { |
|
857 | 864 | float: left; |
|
858 | 865 | margin: 0 1em 1em 0; |
|
859 | 866 | } |
|
860 | 867 | |
|
861 | 868 | #activity dt, |
|
862 | 869 | .journal { |
|
863 | 870 | clear: left; |
|
864 | 871 | } |
|
865 | 872 | |
|
866 | 873 | h2 img { vertical-align:middle; } |
|
867 | 874 | |
|
868 | 875 | .hascontextmenu { cursor: context-menu; } |
|
869 | 876 | |
|
870 | 877 | /***** Media print specific styles *****/ |
|
871 | 878 | @media print { |
|
872 | 879 | #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; } |
|
873 | 880 | #main { background: #fff; } |
|
874 | 881 | #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;} |
|
875 | 882 | #wiki_add_attachment { display:none; } |
|
876 | 883 | } |
General Comments 0
You need to be logged in to leave comments.
Login now