##// END OF EJS Templates
Move the filters buttons inside the filters fieldset on the issue list (closes #614)....
Jean-Philippe Lang -
r1247:f5b5688e8ad8
parent child
Show More
@@ -1,67 +1,67
1 <% if @query.new_record? %>
1 <% if @query.new_record? %>
2 <h2><%=l(:label_issue_plural)%></h2>
2 <h2><%=l(:label_issue_plural)%></h2>
3 <% html_title(l(:label_issue_plural)) %>
3 <% html_title(l(:label_issue_plural)) %>
4
4
5 <% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
5 <% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
6 <%= hidden_field_tag('project_id', @project.id) if @project %>
6 <%= hidden_field_tag('project_id', @project.id) if @project %>
7 <fieldset id="filters"><legend><%= l(:label_filter_plural) %></legend>
7 <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
8 <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
8 <div class="contextual">
9 <div class="buttons">
9 <%= link_to_remote l(:button_apply),
10 <%= link_to_remote l(:button_apply),
10 { :url => { :set_filter => 1 },
11 { :url => { :set_filter => 1 },
11 :update => "content",
12 :update => "content",
12 :with => "Form.serialize('query_form')"
13 :with => "Form.serialize('query_form')"
13 }, :class => 'icon icon-checked' %>
14 }, :class => 'icon icon-checked' %>
14
15
15 <%= link_to_remote l(:button_clear),
16 <%= link_to_remote l(:button_clear),
16 { :url => { :set_filter => 1 },
17 { :url => { :set_filter => 1 },
17 :update => "content",
18 :update => "content",
18 }, :class => 'icon icon-reload' %>
19 }, :class => 'icon icon-reload' %>
19
20
20 <% if current_role && current_role.allowed_to?(:save_queries) %>
21 <% if current_role && current_role.allowed_to?(:save_queries) %>
21 <%= link_to l(:button_save), {}, :onclick => "$('query_form').submit(); return false;", :class => 'icon icon-save' %>
22 <%= link_to l(:button_save), {}, :onclick => "$('query_form').submit(); return false;", :class => 'icon icon-save' %>
22 <% end %>
23 <% end %>
23 </div>
24 </div>
24 <br />
25 </fieldset>
25 &nbsp;
26 <% end %>
26 <% end %>
27 <% else %>
27 <% else %>
28 <div class="contextual">
28 <div class="contextual">
29 <% if @query.editable_by?(User.current) %>
29 <% if @query.editable_by?(User.current) %>
30 <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => @query}, :class => 'icon icon-edit' %>
30 <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => @query}, :class => 'icon icon-edit' %>
31 <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
31 <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
32 <% end %>
32 <% end %>
33 </div>
33 </div>
34 <h2><%=h @query.name %></h2>
34 <h2><%=h @query.name %></h2>
35 <div id="query_form"></div>
35 <div id="query_form"></div>
36 <% html_title @query.name %>
36 <% html_title @query.name %>
37 <% end %>
37 <% end %>
38 <%= error_messages_for 'query' %>
38 <%= error_messages_for 'query' %>
39 <% if @query.valid? %>
39 <% if @query.valid? %>
40 <% if @issues.empty? %>
40 <% if @issues.empty? %>
41 <p class="nodata"><%= l(:label_no_data) %></p>
41 <p class="nodata"><%= l(:label_no_data) %></p>
42 <% else %>
42 <% else %>
43 <%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %>
43 <%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %>
44 <p class="pagination"><%= pagination_links_full @issue_pages, @issue_count %></p>
44 <p class="pagination"><%= pagination_links_full @issue_pages, @issue_count %></p>
45
45
46 <p class="other-formats">
46 <p class="other-formats">
47 <%= l(:label_export_to) %>
47 <%= l(:label_export_to) %>
48 <span><%= link_to 'Atom', {:format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span>
48 <span><%= link_to 'Atom', {:format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span>
49 <span><%= link_to 'CSV', {:format => 'csv'}, :class => 'csv' %></span>
49 <span><%= link_to 'CSV', {:format => 'csv'}, :class => 'csv' %></span>
50 <span><%= link_to 'PDF', {:format => 'pdf'}, :class => 'pdf' %></span>
50 <span><%= link_to 'PDF', {:format => 'pdf'}, :class => 'pdf' %></span>
51 </p>
51 </p>
52 <% end %>
52 <% end %>
53 <% end %>
53 <% end %>
54
54
55 <% content_for :sidebar do %>
55 <% content_for :sidebar do %>
56 <%= render :partial => 'issues/sidebar' %>
56 <%= render :partial => 'issues/sidebar' %>
57 <% end if @project%>
57 <% end if @project%>
58
58
59 <% content_for :header_tags do %>
59 <% content_for :header_tags do %>
60 <%= auto_discovery_link_tag(:atom, {:query_id => @query, :format => 'atom', :page => nil, :key => User.current.rss_key}, :title => l(:label_issue_plural)) %>
60 <%= auto_discovery_link_tag(:atom, {:query_id => @query, :format => 'atom', :page => nil, :key => User.current.rss_key}, :title => l(:label_issue_plural)) %>
61 <%= auto_discovery_link_tag(:atom, {:action => 'changes', :query_id => @query, :format => 'atom', :page => nil, :key => User.current.rss_key}, :title => l(:label_changes_details)) %>
61 <%= auto_discovery_link_tag(:atom, {:action => 'changes', :query_id => @query, :format => 'atom', :page => nil, :key => User.current.rss_key}, :title => l(:label_changes_details)) %>
62 <%= javascript_include_tag 'context_menu' %>
62 <%= javascript_include_tag 'context_menu' %>
63 <%= stylesheet_link_tag 'context_menu' %>
63 <%= stylesheet_link_tag 'context_menu' %>
64 <% end %>
64 <% end %>
65
65
66 <div id="context-menu" style="display: none;"></div>
66 <div id="context-menu" style="display: none;"></div>
67 <%= javascript_tag "new ContextMenu('#{url_for(:controller => 'issues', :action => 'context_menu')}')" %>
67 <%= javascript_tag "new ContextMenu('#{url_for(:controller => 'issues', :action => 'context_menu')}')" %>
@@ -1,27 +1,27
1 <% content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
1 <% content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
2 <legend><%= l(:field_column_names) %></legend>
2 <legend><%= l(:field_column_names) %></legend>
3
3
4 <%= hidden_field_tag 'query[column_names][]', '' %>
4 <%= hidden_field_tag 'query[column_names][]', '', :id => nil %>
5 <table margin=0>
5 <table>
6 <tr>
6 <tr>
7 <td><%= select_tag 'available_columns',
7 <td><%= select_tag 'available_columns',
8 options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
8 options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
9 :multiple => true, :size => 10, :style => "width:150px" %>
9 :multiple => true, :size => 10, :style => "width:150px" %>
10 </td>
10 </td>
11 <td align="center" valign="middle">
11 <td align="center" valign="middle">
12 <input type="button" value="--&gt;"
12 <input type="button" value="--&gt;"
13 onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
13 onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
14 <input type="button" value="&lt;--"
14 <input type="button" value="&lt;--"
15 onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
15 onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
16 </td>
16 </td>
17 <td><%= select_tag 'query[column_names][]',
17 <td><%= select_tag 'query[column_names][]',
18 options_for_select(@query.columns.collect {|column| [column.caption, column.name]}),
18 options_for_select(@query.columns.collect {|column| [column.caption, column.name]}),
19 :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
19 :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
20 </td>
20 </td>
21 </tr>
21 </tr>
22 </table>
22 </table>
23 <% end %>
23 <% end %>
24
24
25 <% content_for :header_tags do %>
25 <% content_for :header_tags do %>
26 <%= javascript_include_tag 'select_list_move' %>
26 <%= javascript_include_tag 'select_list_move' %>
27 <% end %>
27 <% end %>
@@ -1,103 +1,101
1 <script type="text/javascript">
1 <script type="text/javascript">
2 //<![CDATA[
2 //<![CDATA[
3 function add_filter() {
3 function add_filter() {
4 select = $('add_filter_select');
4 select = $('add_filter_select');
5 field = select.value
5 field = select.value
6 Element.show('tr_' + field);
6 Element.show('tr_' + field);
7 check_box = $('cb_' + field);
7 check_box = $('cb_' + field);
8 check_box.checked = true;
8 check_box.checked = true;
9 toggle_filter(field);
9 toggle_filter(field);
10 select.selectedIndex = 0;
10 select.selectedIndex = 0;
11
11
12 for (i=0; i<select.options.length; i++) {
12 for (i=0; i<select.options.length; i++) {
13 if (select.options[i].value == field) {
13 if (select.options[i].value == field) {
14 select.options[i].disabled = true;
14 select.options[i].disabled = true;
15 }
15 }
16 }
16 }
17 }
17 }
18
18
19 function toggle_filter(field) {
19 function toggle_filter(field) {
20 check_box = $('cb_' + field);
20 check_box = $('cb_' + field);
21
21
22 if (check_box.checked) {
22 if (check_box.checked) {
23 Element.show("operators_" + field);
23 Element.show("operators_" + field);
24 toggle_operator(field);
24 toggle_operator(field);
25 } else {
25 } else {
26 Element.hide("operators_" + field);
26 Element.hide("operators_" + field);
27 Element.hide("div_values_" + field);
27 Element.hide("div_values_" + field);
28 }
28 }
29 }
29 }
30
30
31 function toggle_operator(field) {
31 function toggle_operator(field) {
32 operator = $("operators_" + field);
32 operator = $("operators_" + field);
33 switch (operator.value) {
33 switch (operator.value) {
34 case "!*":
34 case "!*":
35 case "*":
35 case "*":
36 case "t":
36 case "t":
37 case "w":
37 case "w":
38 case "o":
38 case "o":
39 case "c":
39 case "c":
40 Element.hide("div_values_" + field);
40 Element.hide("div_values_" + field);
41 break;
41 break;
42 default:
42 default:
43 Element.show("div_values_" + field);
43 Element.show("div_values_" + field);
44 break;
44 break;
45 }
45 }
46 }
46 }
47
47
48 function toggle_multi_select(field) {
48 function toggle_multi_select(field) {
49 select = $('values_' + field);
49 select = $('values_' + field);
50 if (select.multiple == true) {
50 if (select.multiple == true) {
51 select.multiple = false;
51 select.multiple = false;
52 } else {
52 } else {
53 select.multiple = true;
53 select.multiple = true;
54 }
54 }
55 }
55 }
56 //]]>
56 //]]>
57 </script>
57 </script>
58
58
59 <fieldset><legend><%= l(:label_filter_plural) %></legend>
60 <table width="100%">
59 <table width="100%">
61 <tr>
60 <tr>
62 <td>
61 <td>
63 <table style="padding:0;">
62 <table style="padding:0;">
64 <% query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.each do |filter| %>
63 <% query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.each do |filter| %>
65 <% field = filter[0]
64 <% field = filter[0]
66 options = filter[1] %>
65 options = filter[1] %>
67 <tr <%= 'style="display:none;"' unless query.has_filter?(field) %> id="tr_<%= field %>">
66 <tr <%= 'style="display:none;"' unless query.has_filter?(field) %> id="tr_<%= field %>">
68 <td valign="top" style="width:200px;">
67 <td valign="top" style="width:200px;">
69 <%= check_box_tag 'fields[]', field, query.has_filter?(field), :onclick => "toggle_filter('#{field}');", :id => "cb_#{field}" %>
68 <%= check_box_tag 'fields[]', field, query.has_filter?(field), :onclick => "toggle_filter('#{field}');", :id => "cb_#{field}" %>
70 <label for="cb_<%= field %>"><%= filter[1][:name] || l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) %></label>
69 <label for="cb_<%= field %>"><%= filter[1][:name] || l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) %></label>
71 </td>
70 </td>
72 <td valign="top" style="width:150px;">
71 <td valign="top" style="width:150px;">
73 <%= select_tag "operators[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');", :class => "select-small", :style => "vertical-align: top;" %>
72 <%= select_tag "operators[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');", :class => "select-small", :style => "vertical-align: top;" %>
74 </td>
73 </td>
75 <td valign="top">
74 <td valign="top">
76 <div id="div_values_<%= field %>" style="display:none;">
75 <div id="div_values_<%= field %>" style="display:none;">
77 <% case options[:type]
76 <% case options[:type]
78 when :list, :list_optional, :list_status, :list_subprojects %>
77 when :list, :list_optional, :list_status, :list_subprojects %>
79 <select <%= "multiple=true" if query.values_for(field) and query.values_for(field).length > 1 %> name="values[<%= field %>][]" id="values_<%= field %>" class="select-small" style="vertical-align: top;">
78 <select <%= "multiple=true" if query.values_for(field) and query.values_for(field).length > 1 %> name="values[<%= field %>][]" id="values_<%= field %>" class="select-small" style="vertical-align: top;">
80 <%= options_for_select options[:values], query.values_for(field) %>
79 <%= options_for_select options[:values], query.values_for(field) %>
81 </select>
80 </select>
82 <%= link_to_function image_tag('expand.png'), "toggle_multi_select('#{field}');" %>
81 <%= link_to_function image_tag('expand.png'), "toggle_multi_select('#{field}');" %>
83 <% when :date, :date_past %>
82 <% when :date, :date_past %>
84 <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 3, :class => "select-small" %> <%= l(:label_day_plural) %>
83 <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 3, :class => "select-small" %> <%= l(:label_day_plural) %>
85 <% when :string, :text %>
84 <% when :string, :text %>
86 <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 30, :class => "select-small" %>
85 <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 30, :class => "select-small" %>
87 <% when :integer %>
86 <% when :integer %>
88 <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 3, :class => "select-small" %>
87 <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 3, :class => "select-small" %>
89 <% end %>
88 <% end %>
90 </div>
89 </div>
91 <script type="text/javascript">toggle_filter('<%= field %>');</script>
90 <script type="text/javascript">toggle_filter('<%= field %>');</script>
92 </td>
91 </td>
93 </tr>
92 </tr>
94 <% end %>
93 <% end %>
95 </table>
94 </table>
96 </td>
95 </td>
97 <td align="right" valign="top">
96 <td align="right" valign="top">
98 <%= l(:label_filter_add) %>:
97 <%= l(:label_filter_add) %>:
99 <%= select_tag 'add_filter_select', options_for_select([["",""]] + query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.collect{|field| [ field[1][:name] || l(("field_"+field[0].to_s.gsub(/\_id$/, "")).to_sym), field[0]] unless query.has_filter?(field[0])}.compact), :onchange => "add_filter();", :class => "select-small" %>
98 <%= select_tag 'add_filter_select', options_for_select([["",""]] + query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.collect{|field| [ field[1][:name] || l(("field_"+field[0].to_s.gsub(/\_id$/, "")).to_sym), field[0]] unless query.has_filter?(field[0])}.compact), :onchange => "add_filter();", :class => "select-small" %>
100 </td>
99 </td>
101 </tr>
100 </tr>
102 </table>
101 </table>
103 </fieldset> No newline at end of file
@@ -1,21 +1,24
1 <%= error_messages_for 'query' %>
1 <%= error_messages_for 'query' %>
2 <%= hidden_field_tag 'confirm', 1 %>
2 <%= hidden_field_tag 'confirm', 1 %>
3
3
4 <div class="box">
4 <div class="box">
5 <div class="tabular">
5 <div class="tabular">
6 <p><label for="query_name"><%=l(:field_name)%></label>
6 <p><label for="query_name"><%=l(:field_name)%></label>
7 <%= text_field 'query', 'name', :size => 80 %></p>
7 <%= text_field 'query', 'name', :size => 80 %></p>
8
8
9 <% if current_role.allowed_to?(:manage_public_queries) %>
9 <% if current_role.allowed_to?(:manage_public_queries) %>
10 <p><label for="query_is_public"><%=l(:field_is_public)%></label>
10 <p><label for="query_is_public"><%=l(:field_is_public)%></label>
11 <%= check_box 'query', 'is_public' %></p>
11 <%= check_box 'query', 'is_public' %></p>
12 <% end %>
12 <% end %>
13
13
14 <p><label for="query_default_columns"><%=l(:label_default_columns)%></label>
14 <p><label for="query_default_columns"><%=l(:label_default_columns)%></label>
15 <%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns',
15 <%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns',
16 :onclick => 'if (this.checked) {Element.hide("columns")} else {Element.show("columns")}' %></p>
16 :onclick => 'if (this.checked) {Element.hide("columns")} else {Element.show("columns")}' %></p>
17 </div>
17 </div>
18
18
19 <fieldset><legend><%= l(:label_filter_plural) %></legend>
19 <%= render :partial => 'queries/filters', :locals => {:query => query}%>
20 <%= render :partial => 'queries/filters', :locals => {:query => query}%>
21 </fieldset>
22
20 <%= render :partial => 'queries/columns', :locals => {:query => query}%>
23 <%= render :partial => 'queries/columns', :locals => {:query => query}%>
21 </div>
24 </div>
@@ -1,576 +1,579
1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2
2
3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
4 h1 {margin:0; padding:0; font-size: 24px;}
4 h1 {margin:0; padding:0; font-size: 24px;}
5 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
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 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
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 h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
7 h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
8
8
9 /***** Layout *****/
9 /***** Layout *****/
10 #wrapper {background: white;}
10 #wrapper {background: white;}
11
11
12 #top-menu {background: #2C4056;color: #fff;height:1.5em; padding: 2px 6px 0px 6px;}
12 #top-menu {background: #2C4056;color: #fff;height:1.5em; padding: 2px 6px 0px 6px;}
13 #top-menu ul {margin: 0; padding: 0;}
13 #top-menu ul {margin: 0; padding: 0;}
14 #top-menu li {
14 #top-menu li {
15 float:left;
15 float:left;
16 list-style-type:none;
16 list-style-type:none;
17 margin: 0px 0px 0px 0px;
17 margin: 0px 0px 0px 0px;
18 padding: 0px 0px 0px 0px;
18 padding: 0px 0px 0px 0px;
19 white-space:nowrap;
19 white-space:nowrap;
20 }
20 }
21 #top-menu a {color: #fff; padding-right: 4px;}
21 #top-menu a {color: #fff; padding-right: 4px;}
22 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
22 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
23
23
24 #account {float:right;}
24 #account {float:right;}
25
25
26 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
26 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
27 #header a {color:#f8f8f8;}
27 #header a {color:#f8f8f8;}
28 #quick-search {float:right;}
28 #quick-search {float:right;}
29
29
30 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
30 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
31 #main-menu ul {margin: 0; padding: 0;}
31 #main-menu ul {margin: 0; padding: 0;}
32 #main-menu li {
32 #main-menu li {
33 float:left;
33 float:left;
34 list-style-type:none;
34 list-style-type:none;
35 margin: 0px 10px 0px 0px;
35 margin: 0px 10px 0px 0px;
36 padding: 0px 0px 0px 0px;
36 padding: 0px 0px 0px 0px;
37 white-space:nowrap;
37 white-space:nowrap;
38 }
38 }
39 #main-menu li a {
39 #main-menu li a {
40 display: block;
40 display: block;
41 color: #fff;
41 color: #fff;
42 text-decoration: none;
42 text-decoration: none;
43 margin: 0;
43 margin: 0;
44 padding: 4px 4px 4px 4px;
44 padding: 4px 4px 4px 4px;
45 background: #2C4056;
45 background: #2C4056;
46 }
46 }
47 #main-menu li a:hover, #main-menu li a.selected {background:#759FCF;}
47 #main-menu li a:hover, #main-menu li a.selected {background:#759FCF;}
48
48
49 #main {background: url(../images/mainbg.png) repeat-x; background-color:#EEEEEE;}
49 #main {background: url(../images/mainbg.png) repeat-x; background-color:#EEEEEE;}
50
50
51 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
51 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
52 * html #sidebar{ width: 17%; }
52 * html #sidebar{ width: 17%; }
53 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
53 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
54 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
54 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
55 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
55 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
56
56
57 #content { width: 80%; background: url(../images/contentbg.png) repeat-x; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; height:600px; min-height: 600px;}
57 #content { width: 80%; background: url(../images/contentbg.png) repeat-x; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; height:600px; min-height: 600px;}
58 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
58 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
59 html>body #content {
59 html>body #content {
60 height: auto;
60 height: auto;
61 min-height: 600px;
61 min-height: 600px;
62 }
62 }
63
63
64 #main.nosidebar #sidebar{ display: none; }
64 #main.nosidebar #sidebar{ display: none; }
65 #main.nosidebar #content{ width: auto; border-right: 0; }
65 #main.nosidebar #content{ width: auto; border-right: 0; }
66
66
67 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
67 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
68
68
69 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
69 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
70 #login-form table td {padding: 6px;}
70 #login-form table td {padding: 6px;}
71 #login-form label {font-weight: bold;}
71 #login-form label {font-weight: bold;}
72
72
73 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
73 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
74
74
75 /***** Links *****/
75 /***** Links *****/
76 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
76 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
77 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
77 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
78 a img{ border: 0; }
78 a img{ border: 0; }
79
79
80 a.issue.closed, .issue.closed a { text-decoration: line-through; }
80 a.issue.closed, .issue.closed a { text-decoration: line-through; }
81
81
82 /***** Tables *****/
82 /***** Tables *****/
83 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
83 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
84 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
84 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
85 table.list td { overflow: hidden; vertical-align: top;}
85 table.list td { overflow: hidden; vertical-align: top;}
86 table.list td.id { width: 2%; text-align: center;}
86 table.list td.id { width: 2%; text-align: center;}
87 table.list td.checkbox { width: 15px; padding: 0px;}
87 table.list td.checkbox { width: 15px; padding: 0px;}
88
88
89 tr.issue { text-align: center; white-space: nowrap; }
89 tr.issue { text-align: center; white-space: nowrap; }
90 tr.issue td.subject, tr.issue td.category { white-space: normal; }
90 tr.issue td.subject, tr.issue td.category { white-space: normal; }
91 tr.issue td.subject { text-align: left; }
91 tr.issue td.subject { text-align: left; }
92 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
92 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
93
93
94 tr.entry { border: 1px solid #f8f8f8; }
94 tr.entry { border: 1px solid #f8f8f8; }
95 tr.entry td { white-space: nowrap; }
95 tr.entry td { white-space: nowrap; }
96 tr.entry td.filename { width: 30%; }
96 tr.entry td.filename { width: 30%; }
97 tr.entry td.size { text-align: right; font-size: 90%; }
97 tr.entry td.size { text-align: right; font-size: 90%; }
98 tr.entry td.revision, tr.entry td.author { text-align: center; }
98 tr.entry td.revision, tr.entry td.author { text-align: center; }
99 tr.entry td.age { text-align: right; }
99 tr.entry td.age { text-align: right; }
100
100
101 tr.changeset td.author { text-align: center; width: 15%; }
101 tr.changeset td.author { text-align: center; width: 15%; }
102 tr.changeset td.committed_on { text-align: center; width: 15%; }
102 tr.changeset td.committed_on { text-align: center; width: 15%; }
103
103
104 tr.message { height: 2.6em; }
104 tr.message { height: 2.6em; }
105 tr.message td.last_message { font-size: 80%; }
105 tr.message td.last_message { font-size: 80%; }
106 tr.message.locked td.subject a { background-image: url(../images/locked.png); }
106 tr.message.locked td.subject a { background-image: url(../images/locked.png); }
107 tr.message.sticky td.subject a { background-image: url(../images/sticky.png); font-weight: bold; }
107 tr.message.sticky td.subject a { background-image: url(../images/sticky.png); font-weight: bold; }
108
108
109 tr.user td { width:13%; }
109 tr.user td { width:13%; }
110 tr.user td.email { width:18%; }
110 tr.user td.email { width:18%; }
111 tr.user td { white-space: nowrap; }
111 tr.user td { white-space: nowrap; }
112 tr.user.locked, tr.user.registered { color: #aaa; }
112 tr.user.locked, tr.user.registered { color: #aaa; }
113 tr.user.locked a, tr.user.registered a { color: #aaa; }
113 tr.user.locked a, tr.user.registered a { color: #aaa; }
114
114
115 tr.time-entry { text-align: center; white-space: nowrap; }
115 tr.time-entry { text-align: center; white-space: nowrap; }
116 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
116 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
117 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
117 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
118 td.hours .hours-dec { font-size: 0.9em; }
118 td.hours .hours-dec { font-size: 0.9em; }
119
119
120 table.list tbody tr:hover { background-color:#ffffdd; }
120 table.list tbody tr:hover { background-color:#ffffdd; }
121 table td {padding:2px;}
121 table td {padding:2px;}
122 table p {margin:0;}
122 table p {margin:0;}
123 .odd {background-color:#f6f7f8;}
123 .odd {background-color:#f6f7f8;}
124 .even {background-color: #fff;}
124 .even {background-color: #fff;}
125
125
126 .highlight { background-color: #FCFD8D;}
126 .highlight { background-color: #FCFD8D;}
127 .highlight.token-1 { background-color: #faa;}
127 .highlight.token-1 { background-color: #faa;}
128 .highlight.token-2 { background-color: #afa;}
128 .highlight.token-2 { background-color: #afa;}
129 .highlight.token-3 { background-color: #aaf;}
129 .highlight.token-3 { background-color: #aaf;}
130
130
131 .box{
131 .box{
132 padding:6px;
132 padding:6px;
133 margin-bottom: 10px;
133 margin-bottom: 10px;
134 background-color:#f6f6f6;
134 background-color:#f6f6f6;
135 color:#505050;
135 color:#505050;
136 line-height:1.5em;
136 line-height:1.5em;
137 border: 1px solid #e4e4e4;
137 border: 1px solid #e4e4e4;
138 }
138 }
139
139
140 div.square {
140 div.square {
141 border: 1px solid #999;
141 border: 1px solid #999;
142 float: left;
142 float: left;
143 margin: .3em .4em 0 .4em;
143 margin: .3em .4em 0 .4em;
144 overflow: hidden;
144 overflow: hidden;
145 width: .6em; height: .6em;
145 width: .6em; height: .6em;
146 }
146 }
147
147
148 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
148 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
149 .contextual input {font-size:0.9em;}
149 .contextual input {font-size:0.9em;}
150
150
151 .splitcontentleft{float:left; width:49%;}
151 .splitcontentleft{float:left; width:49%;}
152 .splitcontentright{float:right; width:49%;}
152 .splitcontentright{float:right; width:49%;}
153 form {display: inline;}
153 form {display: inline;}
154 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
154 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
155 fieldset {border: 1px solid #e4e4e4; margin:0;}
155 fieldset {border: 1px solid #e4e4e4; margin:0;}
156 legend {color: #484848;}
156 legend {color: #484848;}
157 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
157 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
158 textarea.wiki-edit { width: 99%; }
158 textarea.wiki-edit { width: 99%; }
159 li p {margin-top: 0;}
159 li p {margin-top: 0;}
160 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
160 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
161
161
162 #filters { margin-bottom: 1em; }
163 #filters .buttons { text-align: right; font-size: 0.9em; }
164
162 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
165 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
163 div#issue-changesets .changeset { padding: 4px;}
166 div#issue-changesets .changeset { padding: 4px;}
164 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
167 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
165 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
168 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
166
169
167 div#activity dl { margin-left: 2em; }
170 div#activity dl { margin-left: 2em; }
168 div#activity dd { margin-bottom: 1em; }
171 div#activity dd { margin-bottom: 1em; }
169 div#activity dt { margin-bottom: 1px; }
172 div#activity dt { margin-bottom: 1px; }
170 div#activity dt .time { color: #777; font-size: 80%; }
173 div#activity dt .time { color: #777; font-size: 80%; }
171 div#activity dd .description { font-style: italic; }
174 div#activity dd .description { font-style: italic; }
172 div#activity span.project:after { content: " -"; }
175 div#activity span.project:after { content: " -"; }
173
176
174 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
177 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
175 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
178 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
176 div#roadmap .wiki h1:first-child { display: none; }
179 div#roadmap .wiki h1:first-child { display: none; }
177 div#roadmap .wiki h1 { font-size: 120%; }
180 div#roadmap .wiki h1 { font-size: 120%; }
178 div#roadmap .wiki h2 { font-size: 110%; }
181 div#roadmap .wiki h2 { font-size: 110%; }
179
182
180 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
183 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
181 div#version-summary fieldset { margin-bottom: 1em; }
184 div#version-summary fieldset { margin-bottom: 1em; }
182 div#version-summary .total-hours { text-align: right; }
185 div#version-summary .total-hours { text-align: right; }
183
186
184 table#time-report td.hours { text-align: right; padding-right: 0.5em; }
187 table#time-report td.hours { text-align: right; padding-right: 0.5em; }
185 table#time-report tbody tr { font-style: italic; color: #777; }
188 table#time-report tbody tr { font-style: italic; color: #777; }
186 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
189 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
187 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
190 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
188 table#time-report .hours-dec { font-size: 0.9em; }
191 table#time-report .hours-dec { font-size: 0.9em; }
189
192
190 .total-hours { font-size: 110%; font-weight: bold; }
193 .total-hours { font-size: 110%; font-weight: bold; }
191 .total-hours span.hours-int { font-size: 120%; }
194 .total-hours span.hours-int { font-size: 120%; }
192
195
193 .autoscroll {overflow-x: auto; padding:1px; width:100%; margin-bottom: 1.2em;}
196 .autoscroll {overflow-x: auto; padding:1px; width:100%; margin-bottom: 1.2em;}
194 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
197 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
195
198
196 .pagination {font-size: 90%}
199 .pagination {font-size: 90%}
197 p.pagination {margin-top:8px;}
200 p.pagination {margin-top:8px;}
198
201
199 /***** Tabular forms ******/
202 /***** Tabular forms ******/
200 .tabular p{
203 .tabular p{
201 margin: 0;
204 margin: 0;
202 padding: 5px 0 8px 0;
205 padding: 5px 0 8px 0;
203 padding-left: 180px; /*width of left column containing the label elements*/
206 padding-left: 180px; /*width of left column containing the label elements*/
204 height: 1%;
207 height: 1%;
205 clear:left;
208 clear:left;
206 }
209 }
207
210
208 .tabular label{
211 .tabular label{
209 font-weight: bold;
212 font-weight: bold;
210 float: left;
213 float: left;
211 text-align: right;
214 text-align: right;
212 margin-left: -180px; /*width of left column*/
215 margin-left: -180px; /*width of left column*/
213 width: 175px; /*width of labels. Should be smaller than left column to create some right
216 width: 175px; /*width of labels. Should be smaller than left column to create some right
214 margin*/
217 margin*/
215 }
218 }
216
219
217 .tabular label.floating{
220 .tabular label.floating{
218 font-weight: normal;
221 font-weight: normal;
219 margin-left: 0px;
222 margin-left: 0px;
220 text-align: left;
223 text-align: left;
221 width: 200px;
224 width: 200px;
222 }
225 }
223
226
224 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
227 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
225
228
226 .tabular.settings p{ padding-left: 300px; }
229 .tabular.settings p{ padding-left: 300px; }
227 .tabular.settings label{ margin-left: -300px; width: 295px; }
230 .tabular.settings label{ margin-left: -300px; width: 295px; }
228
231
229 .required {color: #bb0000;}
232 .required {color: #bb0000;}
230 .summary {font-style: italic;}
233 .summary {font-style: italic;}
231
234
232 #attachments_fields input[type=text] {margin-left: 8px; }
235 #attachments_fields input[type=text] {margin-left: 8px; }
233
236
234 div.attachments p { margin:4px 0 2px 0; }
237 div.attachments p { margin:4px 0 2px 0; }
235 div.attachments img { vertical-align: middle; }
238 div.attachments img { vertical-align: middle; }
236 div.attachments span.author { font-size: 0.9em; color: #888; }
239 div.attachments span.author { font-size: 0.9em; color: #888; }
237
240
238 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
241 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
239 .other-formats span + span:before { content: "| "; }
242 .other-formats span + span:before { content: "| "; }
240
243
241 a.feed { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
244 a.feed { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
242
245
243 /***** Flash & error messages ****/
246 /***** Flash & error messages ****/
244 #errorExplanation, div.flash, .nodata {
247 #errorExplanation, div.flash, .nodata {
245 padding: 4px 4px 4px 30px;
248 padding: 4px 4px 4px 30px;
246 margin-bottom: 12px;
249 margin-bottom: 12px;
247 font-size: 1.1em;
250 font-size: 1.1em;
248 border: 2px solid;
251 border: 2px solid;
249 }
252 }
250
253
251 div.flash {margin-top: 8px;}
254 div.flash {margin-top: 8px;}
252
255
253 div.flash.error, #errorExplanation {
256 div.flash.error, #errorExplanation {
254 background: url(../images/false.png) 8px 5px no-repeat;
257 background: url(../images/false.png) 8px 5px no-repeat;
255 background-color: #ffe3e3;
258 background-color: #ffe3e3;
256 border-color: #dd0000;
259 border-color: #dd0000;
257 color: #550000;
260 color: #550000;
258 }
261 }
259
262
260 div.flash.notice {
263 div.flash.notice {
261 background: url(../images/true.png) 8px 5px no-repeat;
264 background: url(../images/true.png) 8px 5px no-repeat;
262 background-color: #dfffdf;
265 background-color: #dfffdf;
263 border-color: #9fcf9f;
266 border-color: #9fcf9f;
264 color: #005f00;
267 color: #005f00;
265 }
268 }
266
269
267 .nodata {
270 .nodata {
268 text-align: center;
271 text-align: center;
269 background-color: #FFEBC1;
272 background-color: #FFEBC1;
270 border-color: #FDBF3B;
273 border-color: #FDBF3B;
271 color: #A6750C;
274 color: #A6750C;
272 }
275 }
273
276
274 #errorExplanation ul { font-size: 0.9em;}
277 #errorExplanation ul { font-size: 0.9em;}
275
278
276 /***** Ajax indicator ******/
279 /***** Ajax indicator ******/
277 #ajax-indicator {
280 #ajax-indicator {
278 position: absolute; /* fixed not supported by IE */
281 position: absolute; /* fixed not supported by IE */
279 background-color:#eee;
282 background-color:#eee;
280 border: 1px solid #bbb;
283 border: 1px solid #bbb;
281 top:35%;
284 top:35%;
282 left:40%;
285 left:40%;
283 width:20%;
286 width:20%;
284 font-weight:bold;
287 font-weight:bold;
285 text-align:center;
288 text-align:center;
286 padding:0.6em;
289 padding:0.6em;
287 z-index:100;
290 z-index:100;
288 filter:alpha(opacity=50);
291 filter:alpha(opacity=50);
289 opacity: 0.5;
292 opacity: 0.5;
290 }
293 }
291
294
292 html>body #ajax-indicator { position: fixed; }
295 html>body #ajax-indicator { position: fixed; }
293
296
294 #ajax-indicator span {
297 #ajax-indicator span {
295 background-position: 0% 40%;
298 background-position: 0% 40%;
296 background-repeat: no-repeat;
299 background-repeat: no-repeat;
297 background-image: url(../images/loading.gif);
300 background-image: url(../images/loading.gif);
298 padding-left: 26px;
301 padding-left: 26px;
299 vertical-align: bottom;
302 vertical-align: bottom;
300 }
303 }
301
304
302 /***** Calendar *****/
305 /***** Calendar *****/
303 table.cal {border-collapse: collapse; width: 100%; margin: 8px 0 6px 0;border: 1px solid #d7d7d7;}
306 table.cal {border-collapse: collapse; width: 100%; margin: 8px 0 6px 0;border: 1px solid #d7d7d7;}
304 table.cal thead th {width: 14%;}
307 table.cal thead th {width: 14%;}
305 table.cal tbody tr {height: 100px;}
308 table.cal tbody tr {height: 100px;}
306 table.cal th { background-color:#EEEEEE; padding: 4px; }
309 table.cal th { background-color:#EEEEEE; padding: 4px; }
307 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
310 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
308 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
311 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
309 table.cal td.odd p.day-num {color: #bbb;}
312 table.cal td.odd p.day-num {color: #bbb;}
310 table.cal td.today {background:#ffffdd;}
313 table.cal td.today {background:#ffffdd;}
311 table.cal td.today p.day-num {font-weight: bold;}
314 table.cal td.today p.day-num {font-weight: bold;}
312
315
313 /***** Tooltips ******/
316 /***** Tooltips ******/
314 .tooltip{position:relative;z-index:24;}
317 .tooltip{position:relative;z-index:24;}
315 .tooltip:hover{z-index:25;color:#000;}
318 .tooltip:hover{z-index:25;color:#000;}
316 .tooltip span.tip{display: none; text-align:left;}
319 .tooltip span.tip{display: none; text-align:left;}
317
320
318 div.tooltip:hover span.tip{
321 div.tooltip:hover span.tip{
319 display:block;
322 display:block;
320 position:absolute;
323 position:absolute;
321 top:12px; left:24px; width:270px;
324 top:12px; left:24px; width:270px;
322 border:1px solid #555;
325 border:1px solid #555;
323 background-color:#fff;
326 background-color:#fff;
324 padding: 4px;
327 padding: 4px;
325 font-size: 0.8em;
328 font-size: 0.8em;
326 color:#505050;
329 color:#505050;
327 }
330 }
328
331
329 /***** Progress bar *****/
332 /***** Progress bar *****/
330 table.progress {
333 table.progress {
331 border: 1px solid #D7D7D7;
334 border: 1px solid #D7D7D7;
332 border-collapse: collapse;
335 border-collapse: collapse;
333 border-spacing: 0pt;
336 border-spacing: 0pt;
334 empty-cells: show;
337 empty-cells: show;
335 text-align: center;
338 text-align: center;
336 float:left;
339 float:left;
337 margin: 1px 6px 1px 0px;
340 margin: 1px 6px 1px 0px;
338 }
341 }
339
342
340 table.progress td { height: 0.9em; }
343 table.progress td { height: 0.9em; }
341 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
344 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
342 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
345 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
343 table.progress td.open { background: #FFF none repeat scroll 0%; }
346 table.progress td.open { background: #FFF none repeat scroll 0%; }
344 p.pourcent {font-size: 80%;}
347 p.pourcent {font-size: 80%;}
345 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
348 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
346
349
347 /***** Tabs *****/
350 /***** Tabs *****/
348 #content .tabs {height: 2.6em; border-bottom: 1px solid #bbbbbb; margin-bottom:1.2em; position:relative;}
351 #content .tabs {height: 2.6em; border-bottom: 1px solid #bbbbbb; margin-bottom:1.2em; position:relative;}
349 #content .tabs ul {margin:0; position:absolute; bottom:-2px; padding-left:1em;}
352 #content .tabs ul {margin:0; position:absolute; bottom:-2px; padding-left:1em;}
350 #content .tabs>ul { bottom:-1px; } /* others */
353 #content .tabs>ul { bottom:-1px; } /* others */
351 #content .tabs ul li {
354 #content .tabs ul li {
352 float:left;
355 float:left;
353 list-style-type:none;
356 list-style-type:none;
354 white-space:nowrap;
357 white-space:nowrap;
355 margin-right:8px;
358 margin-right:8px;
356 background:#fff;
359 background:#fff;
357 }
360 }
358 #content .tabs ul li a{
361 #content .tabs ul li a{
359 display:block;
362 display:block;
360 font-size: 0.9em;
363 font-size: 0.9em;
361 text-decoration:none;
364 text-decoration:none;
362 line-height:1.3em;
365 line-height:1.3em;
363 padding:4px 6px 4px 6px;
366 padding:4px 6px 4px 6px;
364 border: 1px solid #ccc;
367 border: 1px solid #ccc;
365 border-bottom: 1px solid #bbbbbb;
368 border-bottom: 1px solid #bbbbbb;
366 background-color: #eeeeee;
369 background-color: #eeeeee;
367 color:#777;
370 color:#777;
368 font-weight:bold;
371 font-weight:bold;
369 }
372 }
370
373
371 #content .tabs ul li a:hover {
374 #content .tabs ul li a:hover {
372 background-color: #ffffdd;
375 background-color: #ffffdd;
373 text-decoration:none;
376 text-decoration:none;
374 }
377 }
375
378
376 #content .tabs ul li a.selected {
379 #content .tabs ul li a.selected {
377 background-color: #fff;
380 background-color: #fff;
378 border: 1px solid #bbbbbb;
381 border: 1px solid #bbbbbb;
379 border-bottom: 1px solid #fff;
382 border-bottom: 1px solid #fff;
380 }
383 }
381
384
382 #content .tabs ul li a.selected:hover {
385 #content .tabs ul li a.selected:hover {
383 background-color: #fff;
386 background-color: #fff;
384 }
387 }
385
388
386 /***** Diff *****/
389 /***** Diff *****/
387 .diff_out { background: #fcc; }
390 .diff_out { background: #fcc; }
388 .diff_in { background: #cfc; }
391 .diff_in { background: #cfc; }
389
392
390 /***** Wiki *****/
393 /***** Wiki *****/
391 div.wiki table {
394 div.wiki table {
392 border: 1px solid #505050;
395 border: 1px solid #505050;
393 border-collapse: collapse;
396 border-collapse: collapse;
394 margin-bottom: 1em;
397 margin-bottom: 1em;
395 }
398 }
396
399
397 div.wiki table, div.wiki td, div.wiki th {
400 div.wiki table, div.wiki td, div.wiki th {
398 border: 1px solid #bbb;
401 border: 1px solid #bbb;
399 padding: 4px;
402 padding: 4px;
400 }
403 }
401
404
402 div.wiki .external {
405 div.wiki .external {
403 background-position: 0% 60%;
406 background-position: 0% 60%;
404 background-repeat: no-repeat;
407 background-repeat: no-repeat;
405 padding-left: 12px;
408 padding-left: 12px;
406 background-image: url(../images/external.png);
409 background-image: url(../images/external.png);
407 }
410 }
408
411
409 div.wiki a.new {
412 div.wiki a.new {
410 color: #b73535;
413 color: #b73535;
411 }
414 }
412
415
413 div.wiki pre {
416 div.wiki pre {
414 margin: 1em 1em 1em 1.6em;
417 margin: 1em 1em 1em 1.6em;
415 padding: 2px;
418 padding: 2px;
416 background-color: #fafafa;
419 background-color: #fafafa;
417 border: 1px solid #dadada;
420 border: 1px solid #dadada;
418 width:95%;
421 width:95%;
419 overflow-x: auto;
422 overflow-x: auto;
420 }
423 }
421
424
422 div.wiki div.toc {
425 div.wiki div.toc {
423 background-color: #ffffdd;
426 background-color: #ffffdd;
424 border: 1px solid #e4e4e4;
427 border: 1px solid #e4e4e4;
425 padding: 4px;
428 padding: 4px;
426 line-height: 1.2em;
429 line-height: 1.2em;
427 margin-bottom: 12px;
430 margin-bottom: 12px;
428 margin-right: 12px;
431 margin-right: 12px;
429 display: table
432 display: table
430 }
433 }
431 * html div.wiki div.toc { width: 50%; } /* IE6 doesn't autosize div */
434 * html div.wiki div.toc { width: 50%; } /* IE6 doesn't autosize div */
432
435
433 div.wiki div.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
436 div.wiki div.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
434 div.wiki div.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
437 div.wiki div.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
435
438
436 div.wiki div.toc a {
439 div.wiki div.toc a {
437 display: block;
440 display: block;
438 font-size: 0.9em;
441 font-size: 0.9em;
439 font-weight: normal;
442 font-weight: normal;
440 text-decoration: none;
443 text-decoration: none;
441 color: #606060;
444 color: #606060;
442 }
445 }
443 div.wiki div.toc a:hover { color: #c61a1a; text-decoration: underline;}
446 div.wiki div.toc a:hover { color: #c61a1a; text-decoration: underline;}
444
447
445 div.wiki div.toc a.heading2 { margin-left: 6px; }
448 div.wiki div.toc a.heading2 { margin-left: 6px; }
446 div.wiki div.toc a.heading3 { margin-left: 12px; font-size: 0.8em; }
449 div.wiki div.toc a.heading3 { margin-left: 12px; font-size: 0.8em; }
447
450
448 /***** My page layout *****/
451 /***** My page layout *****/
449 .block-receiver {
452 .block-receiver {
450 border:1px dashed #c0c0c0;
453 border:1px dashed #c0c0c0;
451 margin-bottom: 20px;
454 margin-bottom: 20px;
452 padding: 15px 0 15px 0;
455 padding: 15px 0 15px 0;
453 }
456 }
454
457
455 .mypage-box {
458 .mypage-box {
456 margin:0 0 20px 0;
459 margin:0 0 20px 0;
457 color:#505050;
460 color:#505050;
458 line-height:1.5em;
461 line-height:1.5em;
459 }
462 }
460
463
461 .handle {
464 .handle {
462 cursor: move;
465 cursor: move;
463 }
466 }
464
467
465 a.close-icon {
468 a.close-icon {
466 display:block;
469 display:block;
467 margin-top:3px;
470 margin-top:3px;
468 overflow:hidden;
471 overflow:hidden;
469 width:12px;
472 width:12px;
470 height:12px;
473 height:12px;
471 background-repeat: no-repeat;
474 background-repeat: no-repeat;
472 cursor:pointer;
475 cursor:pointer;
473 background-image:url('../images/close.png');
476 background-image:url('../images/close.png');
474 }
477 }
475
478
476 a.close-icon:hover {
479 a.close-icon:hover {
477 background-image:url('../images/close_hl.png');
480 background-image:url('../images/close_hl.png');
478 }
481 }
479
482
480 /***** Gantt chart *****/
483 /***** Gantt chart *****/
481 .gantt_hdr {
484 .gantt_hdr {
482 position:absolute;
485 position:absolute;
483 top:0;
486 top:0;
484 height:16px;
487 height:16px;
485 border-top: 1px solid #c0c0c0;
488 border-top: 1px solid #c0c0c0;
486 border-bottom: 1px solid #c0c0c0;
489 border-bottom: 1px solid #c0c0c0;
487 border-right: 1px solid #c0c0c0;
490 border-right: 1px solid #c0c0c0;
488 text-align: center;
491 text-align: center;
489 overflow: hidden;
492 overflow: hidden;
490 }
493 }
491
494
492 .task {
495 .task {
493 position: absolute;
496 position: absolute;
494 height:8px;
497 height:8px;
495 font-size:0.8em;
498 font-size:0.8em;
496 color:#888;
499 color:#888;
497 padding:0;
500 padding:0;
498 margin:0;
501 margin:0;
499 line-height:0.8em;
502 line-height:0.8em;
500 }
503 }
501
504
502 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
505 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
503 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
506 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
504 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
507 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
505 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
508 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
506
509
507 /***** Icons *****/
510 /***** Icons *****/
508 .icon {
511 .icon {
509 background-position: 0% 40%;
512 background-position: 0% 40%;
510 background-repeat: no-repeat;
513 background-repeat: no-repeat;
511 padding-left: 20px;
514 padding-left: 20px;
512 padding-top: 2px;
515 padding-top: 2px;
513 padding-bottom: 3px;
516 padding-bottom: 3px;
514 }
517 }
515
518
516 .icon22 {
519 .icon22 {
517 background-position: 0% 40%;
520 background-position: 0% 40%;
518 background-repeat: no-repeat;
521 background-repeat: no-repeat;
519 padding-left: 26px;
522 padding-left: 26px;
520 line-height: 22px;
523 line-height: 22px;
521 vertical-align: middle;
524 vertical-align: middle;
522 }
525 }
523
526
524 .icon-add { background-image: url(../images/add.png); }
527 .icon-add { background-image: url(../images/add.png); }
525 .icon-edit { background-image: url(../images/edit.png); }
528 .icon-edit { background-image: url(../images/edit.png); }
526 .icon-copy { background-image: url(../images/copy.png); }
529 .icon-copy { background-image: url(../images/copy.png); }
527 .icon-del { background-image: url(../images/delete.png); }
530 .icon-del { background-image: url(../images/delete.png); }
528 .icon-move { background-image: url(../images/move.png); }
531 .icon-move { background-image: url(../images/move.png); }
529 .icon-save { background-image: url(../images/save.png); }
532 .icon-save { background-image: url(../images/save.png); }
530 .icon-cancel { background-image: url(../images/cancel.png); }
533 .icon-cancel { background-image: url(../images/cancel.png); }
531 .icon-file { background-image: url(../images/file.png); }
534 .icon-file { background-image: url(../images/file.png); }
532 .icon-folder { background-image: url(../images/folder.png); }
535 .icon-folder { background-image: url(../images/folder.png); }
533 .open .icon-folder { background-image: url(../images/folder_open.png); }
536 .open .icon-folder { background-image: url(../images/folder_open.png); }
534 .icon-package { background-image: url(../images/package.png); }
537 .icon-package { background-image: url(../images/package.png); }
535 .icon-home { background-image: url(../images/home.png); }
538 .icon-home { background-image: url(../images/home.png); }
536 .icon-user { background-image: url(../images/user.png); }
539 .icon-user { background-image: url(../images/user.png); }
537 .icon-mypage { background-image: url(../images/user_page.png); }
540 .icon-mypage { background-image: url(../images/user_page.png); }
538 .icon-admin { background-image: url(../images/admin.png); }
541 .icon-admin { background-image: url(../images/admin.png); }
539 .icon-projects { background-image: url(../images/projects.png); }
542 .icon-projects { background-image: url(../images/projects.png); }
540 .icon-logout { background-image: url(../images/logout.png); }
543 .icon-logout { background-image: url(../images/logout.png); }
541 .icon-help { background-image: url(../images/help.png); }
544 .icon-help { background-image: url(../images/help.png); }
542 .icon-attachment { background-image: url(../images/attachment.png); }
545 .icon-attachment { background-image: url(../images/attachment.png); }
543 .icon-index { background-image: url(../images/index.png); }
546 .icon-index { background-image: url(../images/index.png); }
544 .icon-history { background-image: url(../images/history.png); }
547 .icon-history { background-image: url(../images/history.png); }
545 .icon-time { background-image: url(../images/time.png); }
548 .icon-time { background-image: url(../images/time.png); }
546 .icon-stats { background-image: url(../images/stats.png); }
549 .icon-stats { background-image: url(../images/stats.png); }
547 .icon-warning { background-image: url(../images/warning.png); }
550 .icon-warning { background-image: url(../images/warning.png); }
548 .icon-fav { background-image: url(../images/fav.png); }
551 .icon-fav { background-image: url(../images/fav.png); }
549 .icon-fav-off { background-image: url(../images/fav_off.png); }
552 .icon-fav-off { background-image: url(../images/fav_off.png); }
550 .icon-reload { background-image: url(../images/reload.png); }
553 .icon-reload { background-image: url(../images/reload.png); }
551 .icon-lock { background-image: url(../images/locked.png); }
554 .icon-lock { background-image: url(../images/locked.png); }
552 .icon-unlock { background-image: url(../images/unlock.png); }
555 .icon-unlock { background-image: url(../images/unlock.png); }
553 .icon-checked { background-image: url(../images/true.png); }
556 .icon-checked { background-image: url(../images/true.png); }
554 .icon-details { background-image: url(../images/zoom_in.png); }
557 .icon-details { background-image: url(../images/zoom_in.png); }
555 .icon-report { background-image: url(../images/report.png); }
558 .icon-report { background-image: url(../images/report.png); }
556
559
557 .icon22-projects { background-image: url(../images/22x22/projects.png); }
560 .icon22-projects { background-image: url(../images/22x22/projects.png); }
558 .icon22-users { background-image: url(../images/22x22/users.png); }
561 .icon22-users { background-image: url(../images/22x22/users.png); }
559 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
562 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
560 .icon22-role { background-image: url(../images/22x22/role.png); }
563 .icon22-role { background-image: url(../images/22x22/role.png); }
561 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
564 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
562 .icon22-options { background-image: url(../images/22x22/options.png); }
565 .icon22-options { background-image: url(../images/22x22/options.png); }
563 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
566 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
564 .icon22-authent { background-image: url(../images/22x22/authent.png); }
567 .icon22-authent { background-image: url(../images/22x22/authent.png); }
565 .icon22-info { background-image: url(../images/22x22/info.png); }
568 .icon22-info { background-image: url(../images/22x22/info.png); }
566 .icon22-comment { background-image: url(../images/22x22/comment.png); }
569 .icon22-comment { background-image: url(../images/22x22/comment.png); }
567 .icon22-package { background-image: url(../images/22x22/package.png); }
570 .icon22-package { background-image: url(../images/22x22/package.png); }
568 .icon22-settings { background-image: url(../images/22x22/settings.png); }
571 .icon22-settings { background-image: url(../images/22x22/settings.png); }
569 .icon22-plugin { background-image: url(../images/22x22/plugin.png); }
572 .icon22-plugin { background-image: url(../images/22x22/plugin.png); }
570
573
571 /***** Media print specific styles *****/
574 /***** Media print specific styles *****/
572 @media print {
575 @media print {
573 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual { display:none; }
576 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual { display:none; }
574 #main { background: #fff; }
577 #main { background: #fff; }
575 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; }
578 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; }
576 }
579 }
General Comments 0
You need to be logged in to leave comments. Login now