From d3600e729fbcbadad2923fadabeabae02620e755 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang <jp_lang@yahoo.fr> Date: Sun, 24 Dec 2006 16:35:25 +0000 Subject: [PATCH] css cleaning git-svn-id: http://redmine.rubyforge.org/svn/trunk@108 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/admin/projects.rhtml | 11 +- app/views/auth_sources/list.rhtml | 19 ++- app/views/custom_fields/list.rhtml | 8 +- app/views/issue_statuses/list.rhtml | 15 ++- app/views/issues/_list_simple.rhtml | 23 ++-- app/views/layouts/base.rhtml | 2 +- app/views/my/blocks/_calendar.rhtml | 14 ++- app/views/projects/calendar.rhtml | 15 ++- app/views/projects/list.rhtml | 9 +- app/views/projects/list_files.rhtml | 11 +- app/views/projects/list_issues.rhtml | 44 +++---- app/views/reports/_details.rhtml | 21 ++-- app/views/reports/_simple.rhtml | 19 +-- app/views/roles/list.rhtml | 9 +- app/views/trackers/list.rhtml | 9 +- app/views/users/list.rhtml | 10 +- public/stylesheets/application.css | 172 ++++++++------------------- public/stylesheets/jstoolbar.css | 1 - public/stylesheets/scm.css | 44 ------- 19 files changed, 171 insertions(+), 285 deletions(-) diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml index bcf7cba43..ecfff0357 100644 --- a/app/views/admin/projects.rhtml +++ b/app/views/admin/projects.rhtml @@ -4,16 +4,16 @@ <h2><%=l(:label_project_plural)%></h2> -<table class="listTableContent"> - <tr class="ListHead"> +<table class="list"> + <thead><tr> <%= sort_header_tag('name', :caption => l(:label_project)) %> <th><%=l(:field_description)%></th> <th><%=l(:field_is_public)%></th> <th><%=l(:label_subproject_plural)%></th> <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> - <th></th> - </tr> - + <th></th> + </tr></thead> + <tbody> <% for project in @projects %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %> @@ -26,6 +26,7 @@ </td> </tr> <% end %> + </tbody> </table> <p><%= pagination_links_full @project_pages %> diff --git a/app/views/auth_sources/list.rhtml b/app/views/auth_sources/list.rhtml index 149a1313a..d65e56d96 100644 --- a/app/views/auth_sources/list.rhtml +++ b/app/views/auth_sources/list.rhtml @@ -4,28 +4,25 @@ <h2><%=l(:label_auth_source_plural)%></h2> -<table class="listTableContent"> - <tr class="ListHead"> +<table class="list"> + <thead><tr> <th><%=l(:field_name)%></th> <th><%=l(:field_type)%></th> <th><%=l(:field_host)%></th> <th></th> <th></th> - </tr> - + </tr></thead> + <tbody> <% for source in @auth_sources %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to source.name, :action => 'edit', :id => source%></td> <td align="center"><%= source.auth_method_name %></td> <td align="center"><%= source.host %></td> - <td align="center"> - <%= link_to l(:button_test), :action => 'test_connection', :id => source %> - </td> - <td align="center"> - <%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %> - </td> - </tr> + <td align="center"><%= link_to l(:button_test), :action => 'test_connection', :id => source %></td> + <td align="center"><%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %></td> + </tr> <% end %> + </tbody> </table> <%= pagination_links_full @auth_source_pages %> diff --git a/app/views/custom_fields/list.rhtml b/app/views/custom_fields/list.rhtml index 8e4573aed..eef3e8631 100644 --- a/app/views/custom_fields/list.rhtml +++ b/app/views/custom_fields/list.rhtml @@ -1,7 +1,7 @@ <h2><%=l(:label_custom_field_plural)%></h2> -<table class="listTableContent"> -<tr class="ListHead"> +<table class="list"> + <thead><tr> <th><%=l(:field_name)%></th> <th><%=l(:field_type)%></th> <th><%=l(:field_field_format)%></th> @@ -9,7 +9,8 @@ <th><%=l(:field_is_for_all)%></th> <th><%=l(:label_used_by)%></th> <th></th> -</tr> + </tr></thead> + <tbody> <% for custom_field in @custom_fields %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to custom_field.name, :action => 'edit', :id => custom_field %></td> @@ -23,6 +24,7 @@ </td> </tr> <% end %> + </tbody> </table> <%= pagination_links_full @custom_field_pages %> diff --git a/app/views/issue_statuses/list.rhtml b/app/views/issue_statuses/list.rhtml index 116376b70..c81c88127 100644 --- a/app/views/issue_statuses/list.rhtml +++ b/app/views/issue_statuses/list.rhtml @@ -4,26 +4,25 @@ <h2><%=l(:label_issue_status_plural)%></h2> -<table class="listTableContent"> - <tr class="ListHead"> +<table class="list"> + <thead><tr> <th><%=l(:field_status)%></th> <th><%=l(:field_is_default)%></th> <th><%=l(:field_is_closed)%></th> - <th><%=l(:field_html_color)%></th> <th></th> - </tr> - + </tr></thead> + <tbody> <% for status in @issue_statuses %> <tr class="<%= cycle("odd", "even") %>"> - <td><%= link_to status.name, :action => 'edit', :id => status %></td> + <td><div class="square" style="background:#<%= status.html_color %>;"></div> <%= link_to status.name, :action => 'edit', :id => status %></td> <td align="center"><%= image_tag 'true' if status.is_default? %></td> - <td align="center"><%= image_tag 'true' if status.is_closed? %></td> - <td><div style="background-color:#<%= status.html_color %>"> </div></td> + <td align="center"><%= image_tag 'true' if status.is_closed? %></td> <td align="center"> <%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %> </td> </tr> <% end %> + </tbody> </table> <%= pagination_links_full @issue_status_pages %> \ No newline at end of file diff --git a/app/views/issues/_list_simple.rhtml b/app/views/issues/_list_simple.rhtml index cd2355376..10d880f43 100644 --- a/app/views/issues/_list_simple.rhtml +++ b/app/views/issues/_list_simple.rhtml @@ -1,28 +1,25 @@ <% if issues.length > 0 %> -<table cellspacing="0" cellpadding="1" width="100%" border="0" class="listTable"> - <tr><td> - <table class="listTableContent"> - <tr class="ListHead"> + <table class="list"> + <thead><tr> <th>#</th> <th><%=l(:field_tracker)%></th> <th><%=l(:field_subject)%></th> - </tr> + </tr></thead> + <tbody> <% for issue in issues %> <tr class="<%= cycle("odd", "even") %>"> - <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;"> - <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %><br /> - </td> + <th align="center"> + <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> + </th> <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br /> <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td> <td> <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p> </td> </tr> - <% end %> - </table> - </td> - </tr> -</table> + <% end %> + </tbody> + </table> <% else %> <i><%=l(:label_no_data)%></i> <% end %> \ No newline at end of file diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 85b550b75..b2169fd4d 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -91,7 +91,7 @@ <%= link_to l(:label_document_plural), {:controller => 'projects', :action => 'list_documents', :id => @project }, :class => "menuItem" %> <%= link_to l(:label_member_plural), {:controller => 'projects', :action => 'list_members', :id => @project }, :class => "menuItem" %> <%= link_to l(:label_attachment_plural), {:controller => 'projects', :action => 'list_files', :id => @project }, :class => "menuItem" %> - <%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %></li> + <%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %> <%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project }, :class => "menuItem" %> </div> <% end %> diff --git a/app/views/my/blocks/_calendar.rhtml b/app/views/my/blocks/_calendar.rhtml index fd221bcb4..e57a790cb 100644 --- a/app/views/my/blocks/_calendar.rhtml +++ b/app/views/my/blocks/_calendar.rhtml @@ -9,18 +9,19 @@ @issues ||= [] %> -<table class="calenderTable"> -<tr class="ListHead"> -<td></td> +<table class="list with-cells"> +<thead><tr> +<th></th> <% 1.upto(7) do |d| %> - <td align="center" width="14%"><%= day_name(d) %></td> + <th align="center" width="14%"><%= day_name(d) %></th> <% end %> -</tr> +</tr></thead> +<tbdoy> <tr height="100"> <% day = @date_from while day <= @date_to if day.cwday == 1 %> - <td valign="middle"><%= day.cweek %></td> + <th valign="middle"><%= day.cweek %></th> <% end %> <td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>"> <p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p> @@ -42,4 +43,5 @@ while day <= @date_to day = day + 1 end %> </tr> +</tbody> </table> \ No newline at end of file diff --git a/app/views/projects/calendar.rhtml b/app/views/projects/calendar.rhtml index 9b0c26ed4..7f7f3813c 100644 --- a/app/views/projects/calendar.rhtml +++ b/app/views/projects/calendar.rhtml @@ -25,18 +25,21 @@ </table> <br /> -<table class="calenderTable"> -<tr class="ListHead"> -<td></td> +<table class="list with-cells"> +<thead> +<tr> +<th></th> <% 1.upto(7) do |d| %> - <td align="center" width="14%"><%= day_name(d) %></td> + <th width="14%"><%= day_name(d) %></th> <% end %> </tr> +</thead> +<tbody> <tr height="100"> <% day = @date_from while day <= @date_to if day.cwday == 1 %> - <td valign="middle"><%= day.cweek %></td> + <th><%= day.cweek %></th> <% end %> <td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>"> <p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p> @@ -58,9 +61,9 @@ while day <= @date_to day = day + 1 end %> </tr> +</tbody> </table> -<br /> <%= image_tag 'arrow_from' %> <%= l(:text_tip_task_begin_day) %><br /> <%= image_tag 'arrow_to' %> <%= l(:text_tip_task_end_day) %><br /> <%= image_tag 'arrow_bw' %> <%= l(:text_tip_task_begin_end_day) %><br /> \ No newline at end of file diff --git a/app/views/projects/list.rhtml b/app/views/projects/list.rhtml index 69e2c064f..59580797d 100644 --- a/app/views/projects/list.rhtml +++ b/app/views/projects/list.rhtml @@ -1,12 +1,12 @@ <h2><%=l(:label_public_projects)%></h2> -<table class="listTableContent"> - <tr class="ListHead"> +<table class="list"> + <thead><tr> <%= sort_header_tag('name', :caption => l(:label_project)) %> <th><%=l(:field_description)%></th> <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> - </tr> - + </tr></thead> + <tbody> <% for project in @projects %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to project.name, :action => 'show', :id => project %> @@ -14,6 +14,7 @@ <td align="center"><%= format_date(project.created_on) %> </tr> <% end %> + </tbody> </table> <%= pagination_links_full @project_pages %> diff --git a/app/views/projects/list_files.rhtml b/app/views/projects/list_files.rhtml index 61c6d2c80..d2173bae1 100644 --- a/app/views/projects/list_files.rhtml +++ b/app/views/projects/list_files.rhtml @@ -6,8 +6,8 @@ <% delete_allowed = authorize_for('versions', 'destroy_file') %> -<table class="listTableContent"> - <tr class="ListHead"> +<table class="list"> + <thead><tr> <th><%=l(:field_version)%></th> <th><%=l(:field_filename)%></th> <th><%=l(:label_date)%></th> @@ -15,11 +15,11 @@ <th>D/L</th> <th>MD5</th> <% if delete_allowed %><th></th><% end %> - </tr> - + </tr></thead> + <tbody> <% for version in @versions %> <% unless version.attachments.empty? %> - <tr><td colspan="7"><%= image_tag 'package' %> <b><%= version.name %></b></td></tr> + <tr><th colspan="7" align="left"><%= image_tag 'package' %> <b><%= version.name %></b></th></tr> <% for file in version.attachments %> <tr class="<%= cycle("odd", "even") %>"> <td></td> @@ -40,4 +40,5 @@ reset_cycle %> <% end %> <% end %> + </tbody> </table> \ No newline at end of file diff --git a/app/views/projects/list_issues.rhtml b/app/views/projects/list_issues.rhtml index 190aab838..a8b1db7bc 100644 --- a/app/views/projects/list_issues.rhtml +++ b/app/views/projects/list_issues.rhtml @@ -38,54 +38,44 @@ <p><i><%= l(:label_no_data) %></i></p> <% else %> -<table class="listTableContent"> - <tr> - <td colspan="6" align="left"><small><%= check_all_links 'issues_form' %></small></td> - <td colspan="2" align="right"> - <small><%= l(:label_per_page) %>:</small> - <%= start_form_tag %> - <%= select_tag 'per_page', options_for_select(@results_per_page_options, @results_per_page), :class => 'select-small'%> - <%= submit_tag l(:button_apply), :class => 'button-small'%> - <%= end_form_tag %> - </td> - </tr> -</table> <%= start_form_tag({:controller => 'projects', :action => 'move_issues', :id => @project}, :id => 'issues_form' ) %> -<table class="listTableContent"> - - <tr class="ListHead"> - <td></td> +<table class="list"> + <thead><tr> + <th></th> <%= sort_header_tag('issues.id', :caption => '#') %> - <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %> <%= sort_header_tag('issues.tracker_id', :caption => l(:field_tracker)) %> + <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %> <th><%=l(:field_subject)%></th> <%= sort_header_tag('users.lastname', :caption => l(:field_author)) %> <%= sort_header_tag('issues.created_on', :caption => l(:field_created_on)) %> <%= sort_header_tag('issues.updated_on', :caption => l(:field_updated_on)) %> - </tr> + </tr></thead> + <tbody> <% for issue in @issues %> <tr class="<%= cycle("odd", "even") %>"> - <td width="15"><%= check_box_tag "issue_ids[]", issue.id %></td> - <td align="center"><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %></td> - <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;"><%= issue.status.name %></font></td> + <th width="15"><%= check_box_tag "issue_ids[]", issue.id %></th> + <td align="center"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td> <td align="center"><%= issue.tracker.name %></td> + <td><div class="square" style="background:#<%= issue.status.html_color %>;"></div> <%= issue.status.name %></td> <td><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></td> <td align="center"><%= issue.author.display_name %></td> <td align="center"><%= format_time(issue.created_on) %></td> <td align="center"><%= format_time(issue.updated_on) %></td> </tr> - <% end %> + <% end %> + </tbody> </table> <div class="contextual"> <%= l(:label_export_to) %> -<%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => 'pic picCsv' %>, +<%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => 'icon file' %>, <%= link_to 'PDF', {:action => 'export_issues_pdf', :id => @project}, :class => 'pic picPdf' %> </div> -<p> + +<%= submit_tag l(:button_move), :class => "button-small" %> +<%= end_form_tag %> + <%= pagination_links_full @issue_pages %> [ <%= @issue_pages.current.first_item %> - <%= @issue_pages.current.last_item %> / <%= @issue_count %> ] -</p> -<%= submit_tag l(:button_move) %> -<%= end_form_tag %> + <% end %> <% end %> \ No newline at end of file diff --git a/app/views/reports/_details.rhtml b/app/views/reports/_details.rhtml index 12a16c1e7..1d791e0c7 100644 --- a/app/views/reports/_details.rhtml +++ b/app/views/reports/_details.rhtml @@ -2,17 +2,17 @@ <p><i><%=l(:label_no_data)%></i></p> <% else %> <% col_width = 70 / (@statuses.length+3) %> -<table class="reportTableContent"> -<tr> -<td width="25%"></td> +<table class="list"> +<thead><tr> +<th width="25%"></th> <% for status in @statuses %> - <td align="center" width="<%= col_width %>%" bgcolor="#<%= status.html_color %>"><small><%= status.name %></small></td> +<th width="<%= col_width %>%" style="text-align:left;"><div class="square" style="background:#<%= status.html_color %>;"></div> <small><%= status.name %></small></th> <% end %> -<td align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></td> -<td align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></td> -<td align="center" width="<%= col_width %>%"><strong><%=l(:label_total)%></strong></td> -</tr> - +<th align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></th> +<th align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></th> +<th align="center" width="<%= col_width %>%"><strong><%=l(:label_total)%></strong></th> +</tr></thead> +<tbody> <% for row in rows %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project, @@ -40,8 +40,9 @@ :set_filter => 1, "#{field_name}" => row.id, "status_id" => "*" %></td> -<% end %> </tr> +<% end %> +</tbody> </table> <% end reset_cycle %> \ No newline at end of file diff --git a/app/views/reports/_simple.rhtml b/app/views/reports/_simple.rhtml index 778b9cbde..24cbd9b7f 100644 --- a/app/views/reports/_simple.rhtml +++ b/app/views/reports/_simple.rhtml @@ -1,14 +1,14 @@ <% if @statuses.empty? or rows.empty? %> <p><i><%=l(:label_no_data)%></i></p> <% else %> -<table class="reportTableContent"> -<tr> -<td width="25%"></td> -<td align="center" width="25%"><%=l(:label_open_issues_plural)%></td> -<td align="center" width="25%"><%=l(:label_closed_issues_plural)%></td> -<td align="center" width="25%"><%=l(:label_total)%></td> -</tr> - +<table class="list"> +<thead><tr> +<th width="25%"></th> +<th align="center" width="25%"><%=l(:label_open_issues_plural)%></th> +<th align="center" width="25%"><%=l(:label_closed_issues_plural)%></th> +<th align="center" width="25%"><%=l(:label_total)%></th> +</tr></thead> +<tbody> <% for row in rows %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project, @@ -29,8 +29,9 @@ :set_filter => 1, "#{field_name}" => row.id, "status_id" => "*" %></td> -<% end %> </tr> +<% end %> +</tbody> </table> <% end reset_cycle %> \ No newline at end of file diff --git a/app/views/roles/list.rhtml b/app/views/roles/list.rhtml index 9ef566892..0e8109c8b 100644 --- a/app/views/roles/list.rhtml +++ b/app/views/roles/list.rhtml @@ -4,12 +4,12 @@ <h2><%=l(:label_role_plural)%></h2> -<table class="listTableContent"> - <tr class="ListHead"> +<table class="list"> + <thead><tr> <th><%=l(:label_role)%></th> <th></th> - </tr> - + </tr></thead> + <tbody> <% for role in @roles %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to role.name, :action => 'edit', :id => role %></td> @@ -17,6 +17,7 @@ <%= button_to l(:button_delete), { :action => 'destroy', :id => role }, :confirm => l(:text_are_you_sure), :class => "button-small" %> </tr> <% end %> + </tbody> </table> <%= pagination_links_full @role_pages %> \ No newline at end of file diff --git a/app/views/trackers/list.rhtml b/app/views/trackers/list.rhtml index 0e8e5c330..188562684 100644 --- a/app/views/trackers/list.rhtml +++ b/app/views/trackers/list.rhtml @@ -4,12 +4,12 @@ <h2><%=l(:label_tracker_plural)%></h2> -<table class="listTableContent"> - <tr class="ListHead"> +<table class="list"> + <thead><tr> <th><%=l(:label_tracker)%></th> <th></th> - </tr> - + </tr></thead> + <tbody> <% for tracker in @trackers %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td> @@ -18,6 +18,7 @@ </td> </tr> <% end %> + </tbody> </table> <%= pagination_links_full @tracker_pages %> \ No newline at end of file diff --git a/app/views/users/list.rhtml b/app/views/users/list.rhtml index 9dc8eb34c..610234625 100644 --- a/app/views/users/list.rhtml +++ b/app/views/users/list.rhtml @@ -4,8 +4,8 @@ <h2><%=l(:label_user_plural)%></h2> -<table class="listTableContent"> -<tr class="ListHead"> +<table class="list"> + <thead><tr> <%= sort_header_tag('login', :caption => l(:field_login)) %> <%= sort_header_tag('firstname', :caption => l(:field_firstname)) %> <%= sort_header_tag('lastname', :caption => l(:field_lastname)) %> @@ -14,8 +14,9 @@ <%= sort_header_tag('status', :caption => l(:field_status)) %> <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> <%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on)) %> - <th></th> -</tr> + <th></th> + </tr></thead> + <tbody> <% for user in @users %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to user.login, :action => 'edit', :id => user %></td> @@ -39,6 +40,7 @@ </td> </tr> <% end %> + </tbody> </table> <p><%= pagination_links_full @user_pages %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 25b46c85a..9681103db 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -49,7 +49,6 @@ color:#303030; #header{ height:4.5em; -/*width:758px;*/ margin:0; background:#467aa7; color:#ffffff; @@ -60,7 +59,7 @@ margin-bottom:1px; padding:10px 0 0 20px; font-size:2em; background-color:inherit; -color:#fff; /*rgb(152, 26, 33);*/ +color:#fff; letter-spacing:-1px; font-weight:bold; font-family: Trebuchet MS,Georgia,"Times New Roman",serif; @@ -79,7 +78,6 @@ font-family: Trebuchet MS,Georgia,"Times New Roman",serif; #navigation{ height:2.2em; line-height:2.2em; -/*width:758px;*/ margin:0; background:#578bb8; color:#ffffff; @@ -105,7 +103,6 @@ display:block; padding:0px 10px 0px 22px; font-size:0.8em; font-weight:normal; -/*text-transform:uppercase;*/ text-decoration:none; background-color:inherit; color: #ffffff; @@ -137,6 +134,16 @@ background-color: #80b0da; .picCsv { background: url(../images/csv.png) no-repeat 4px 50%;} .pic { padding-left: 18px; margin-left: 3px; } + +.icon { + background-position: 0% 40%; + background-repeat: no-repeat; + padding-left: 20px; +} + +.folder { background-image: url(../images/folder.png); } +.file { background-image: url(../images/file.png); } + /**************** Content styles ****************/ html>body #content { @@ -145,13 +152,10 @@ min-height: 500px; } #content{ -/*float:right;*/ -/*width:530px;*/ width: auto; height:500px; font-size:0.9em; padding:20px 10px 10px 20px; -/*position: absolute;*/ margin-left: 120px; border-left: 1px dashed #c0c0c0; @@ -170,6 +174,7 @@ font-family: Trebuchet MS,Georgia,"Times New Roman",serif; #content h2 a{font-weight:normal;} #content h3{margin:0 0 12px 0; font-size:1.4em;color:#707070;font-family: Trebuchet MS,Georgia,"Times New Roman",serif;} +#content h4{font-size: 1em; margin-bottom: 12px; margin-top: 20px; font-weight: normal; border-bottom: dotted 1px #c0c0c0;} #content a:hover,#subcontent a:hover{text-decoration:underline;} #content ul,#content ol{margin:0 5px 16px 35px;} #content dl{margin:0 5px 10px 25px;} @@ -179,37 +184,16 @@ font-family: Trebuchet MS,Georgia,"Times New Roman",serif; /***********************************************/ -/* -form{ - padding:15px; - margin:0 0 20px 0; - border:1px solid #c0c0c0; - background-color:#CEE1ED; - width:600px; -} -*/ - form { display: inline; } -.noborder { - border:0px; - background-color:#fff; - width:100%; -} - -textarea { - padding:0; - margin:0; -} - blockquote { padding-left: 6px; border-left: 2px solid #ccc; } -input { +input, select { vertical-align: middle; } @@ -218,30 +202,18 @@ input.button-small font-size: 0.8em; } -select { - vertical-align: middle; -} - .select-small { - border: 1px solid #7F9DB9; - padding: 1px; font-size: 0.8em; } -.active-filter -{ - background-color: #F9FA9E; - -} - label { font-weight: bold; font-size: 1em; } fieldset { - border:1px solid #7F9DB9; + border:1px solid #c0c0c0; padding: 6px; } @@ -254,56 +226,52 @@ legend { color: #bb0000; } -table.listTableContent { - border:1px solid #578bb8; - width:100%; - border-collapse: collapse; -} - -table.listTableContent td { - padding:2px; -} - -tr.ListHead { - background-color:#467aa7; - color:#FFFFFF; - text-align:center; -} - -tr.ListHead a { - color:#FFFFFF; - text-decoration:underline; -} - .odd { - background-color:#f0f1f2; + background-color:#f6f7f8; } .even { background-color: #fff; } -table.reportTableContent { - border:1px solid #c0c0c0; - width:99%; - border-collapse: collapse; -} - -table.reportTableContent td { - padding:2px; -} - -table.calenderTable { - border:1px solid #578bb8; - width:99%; - border-collapse: collapse; -} - -table.calenderTable td { - border:1px solid #578bb8; -} - hr { border:none; border-bottom: dotted 1px #c0c0c0; } +div.square { + border: 1px solid #999; + float: left; + margin: .4em .5em 0 0; + overflow: hidden; + width: .6em; height: .6em; +} + +table p { + margin:0; + padding:0; +} + +/********** Table used to display lists of things ***********/ + +table.list { + width:100%; + border-collapse: collapse; + border: 1px dotted #d0d0d0; + margin-bottom: 6px; +} + +table.with-cells td { + border: 1px solid #d7d7d7; +} + +table.list thead th { + text-align: center; + background: #eee; + border: 1px solid #d7d7d7; +} + +table.list tbody th { + font-weight: normal; + background: #eed; + border: 1px solid #d7d7d7; +} /**************** Sidebar styles ****************/ @@ -337,31 +305,10 @@ font-family: Trebuchet MS,Georgia,"Times New Roman",serif; .menublock li ul li{margin-bottom:0;} .menublock li ul a{font-weight:normal;} -/**************** Searchbar styles ****************/ - -#searchbar{margin:0 0 20px 0;} -#searchbar form fieldset{margin-left:10px; border:0 solid;} - -#searchbar #s{ -height:1.2em; -width:110px; -margin:0 5px 0 0; -border:1px solid #a0a0a0; -} - -#searchbar #searchbutton{ -width:auto; -padding:0 1px; -border:1px solid #808080; -font-size:0.9em; -text-align:center; -} - /**************** Footer styles ****************/ #footer{ clear:both; -/*width:758px;*/ padding:5px 0; margin:0; font-size:0.9em; @@ -400,7 +347,6 @@ overflow:hidden; width:12px; height:12px; background-repeat: no-repeat; -cursor:hand; cursor:pointer; background-image:url('../images/close.png'); } @@ -438,12 +384,6 @@ line-height:1.5em; cursor: move; } -.topright{ -position: absolute; -right: 25px; -top: 100px; -} - .login { width: 50%; text-align: left; @@ -455,14 +395,6 @@ img.calendar-trigger { margin-left: 4px; } -#history h4, #comments h4 { - font-size: 1em; - margin-bottom: 12px; - margin-top: 20px; - font-weight: normal; - border-bottom: dotted 1px #c0c0c0; -} - #history p { margin-left: 34px; } diff --git a/public/stylesheets/jstoolbar.css b/public/stylesheets/jstoolbar.css index efdf3d264..eb83da103 100644 --- a/public/stylesheets/jstoolbar.css +++ b/public/stylesheets/jstoolbar.css @@ -3,7 +3,6 @@ } .jstEditor textarea, .jstEditor iframe { margin: 0; - border: 1; } .jstHandle { diff --git a/public/stylesheets/scm.css b/public/stylesheets/scm.css index 658fb9050..c2b477edf 100644 --- a/public/stylesheets/scm.css +++ b/public/stylesheets/scm.css @@ -1,47 +1,8 @@ - -div.square { - border: 1px solid #999; - float: left; - margin: .4em .5em 0 0; - overflow: hidden; - width: .6em; height: .6em; -} - div.action_M { background: #fd8 } div.action_D { background: #f88 } div.action_A { background: #bfb } -table.list { - width:100%; - border-collapse: collapse; - border: 1px dotted #d0d0d0; - margin-bottom: 6px; -} - -table.list thead th { - text-align: center; - background: #eee; - border: 1px solid #d7d7d7; -} - -table.list tbody th { - font-weight: normal; - text-align: center; - background: #eed; - border: 1px solid #d7d7d7; -} - -.icon { - background-position: 0% 40%; - background-repeat: no-repeat; - padding-left: 20px; -} - -.folder { background-image: url(../images/folder.png); } -.file { background-image: url(../images/file.png); } - - tr.spacing { border: 1px solid #d7d7d7; @@ -58,9 +19,4 @@ tr.spacing { .line-code { font-family: "Courier New", monospace; font-size: 1em; -} - -table p { - margin:0; - padding:0; } \ No newline at end of file