From 82a24b4abf945f7b6d96aa3601c27eb76b352788 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Tue, 5 Oct 2010 18:35:10 +0000 Subject: [PATCH] remove the CSS class 'data2' => reverted to 'data' --- .../app/views/admin_filters/index.html.erb | 4 +- .../WEB-INF/app/views/alerts/index.html.erb | 2 +- .../app/views/event_categories/index.html.erb | 2 +- .../WEB-INF/app/views/filters/_list.html.erb | 2 +- .../WEB-INF/app/views/groups/index.html.erb | 2 +- .../WEB-INF/app/views/ie6/index.css.erb | 10 +-- .../WEB-INF/app/views/metrics/index.html.erb | 2 +- .../app/views/plugins/available.html.erb | 2 +- .../WEB-INF/app/views/plugins/index.html.erb | 4 +- .../app/views/plugins/updates.html.erb | 4 +- .../WEB-INF/app/views/profiles/index.html.erb | 2 +- .../app/views/profiles/permalinks.html.erb | 2 +- .../app/views/project_roles/index.html.erb | 2 +- .../WEB-INF/app/views/roles/global.html.erb | 2 +- .../WEB-INF/app/views/roles/projects.html.erb | 4 +- .../views/rules_configuration/index.html.erb | 2 +- .../WEB-INF/app/views/system/index.html.erb | 12 +-- .../WEB-INF/app/views/users/index.html.erb | 2 +- .../src/main/webapp/stylesheets/style.css | 76 ++++++------------- 19 files changed, 53 insertions(+), 85 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/admin_filters/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/admin_filters/index.html.erb index 7b7f6c41e3b..9569c700555 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/admin_filters/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/admin_filters/index.html.erb @@ -1,7 +1,7 @@

Default filters

These filters are displayed on the homepage.


- +
@@ -43,7 +43,7 @@

Shared filters

These filters are shared by administrators and can be added to default filters.


-
Name
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/alerts/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/alerts/index.html.erb index 6eeebbdf823..24d85d03a61 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/alerts/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/alerts/index.html.erb @@ -22,7 +22,7 @@

No alerts.

<% else %> -
Name
+
<% for alert in @alerts %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/event_categories/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/event_categories/index.html.erb index 34af2688d04..7ce1cdb1640 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/event_categories/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/event_categories/index.html.erb @@ -1,7 +1,7 @@
- +
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb index d373dd0bd27..e93191e52b5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb @@ -1,6 +1,6 @@ <% filter=data.filter %>
-
Name
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/groups/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/groups/index.html.erb index 723c1d74d44..a2e41ce838b 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/groups/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/groups/index.html.erb @@ -3,7 +3,7 @@

Groups

- +
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/ie6/index.css.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/ie6/index.css.erb index caa56958a6c..d371750b7d9 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/ie6/index.css.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/ie6/index.css.erb @@ -47,24 +47,24 @@ div#page { background-color: #eee; color: #333333; } -table.data2 tbody tr { +table.data tbody tr { border-left: 1px solid #ddd; border-right: 1px solid #ddd; } -table.data2 thead tr { +table.data thead tr { height: 20px; border: 0; } -table.data2 thead tr th, table.data2 tbody tr td { +table.data thead tr th, table.data tbody tr td { border-bottom: 1px solid #DDD; padding: 3px 5px; height: 20px; vertical-align: top; } -table.data2 thead tr th { +table.data thead tr th { font-weight: bold; } -table.data2 tfoot tr td { +table.data tfoot tr td { border-bottom: 0; padding: 3px 5px; } diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/metrics/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/metrics/index.html.erb index 5d2d4b3062c..7c1c0f6da9a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/metrics/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/metrics/index.html.erb @@ -1,7 +1,7 @@
Name
- +
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/available.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/available.html.erb index fae9a34652f..4e2e0e3071b 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/available.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/available.html.erb @@ -17,7 +17,7 @@ <% @updates_by_category.keys.sort_by{|c| c.downcase }.each do |category| updates=@updates_by_category[category] %> -
Name
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/index.html.erb index 09c7f17a6a9..c3b89859719 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/index.html.erb @@ -12,7 +12,7 @@

User-installed plugins

-

<%= category -%>

+
@@ -47,7 +47,7 @@

System plugins

-
Plugin
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/updates.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/updates.html.erb index c3c0b905c22..ad470b38b1a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/updates.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/plugins/updates.html.erb @@ -13,7 +13,7 @@ <%= render :partial => 'plugins/downloads' %> <% if @center %> -
Plugin Description
+
@@ -40,7 +40,7 @@

User-installed plugins


- +
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb index 166236e6481..d402cf272b5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb @@ -67,7 +67,7 @@ <% end %> -

System

+
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/permalinks.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/permalinks.html.erb index 06d481b1e12..0b1bd2acd4d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/permalinks.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/permalinks.html.erb @@ -7,7 +7,7 @@

No permalinks

<% else %>
-
Name
+ <% exporters.to_a.sort{|x,y| x.getName() <=> y.getName()}.each do |exporter| %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project_roles/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project_roles/index.html.erb index 4b99be75af5..1c2f3847cc3 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/project_roles/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project_roles/index.html.erb @@ -1,5 +1,5 @@

Project roles

- +
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/global.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/global.html.erb index 77cc3e57d70..06498d1c12a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/global.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/global.html.erb @@ -1,6 +1,6 @@

Global roles

-
Role
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/projects.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/projects.html.erb index e1cd91c3626..05066f0b443 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/projects.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/projects.html.erb @@ -1,6 +1,6 @@

Default roles for new projects

-
Role
+
@@ -50,7 +50,7 @@

Projects

-
Role
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/index.html.erb index dcf9a5fce77..f1851192431 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/index.html.erb @@ -98,7 +98,7 @@ <% if @hidden_inactives && @hidden_inactives>0 %>[+<%= @hidden_inactives -%> found in inactive rules]<% end %> -
Project
+
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/system/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/system/index.html.erb index 68aedf8ba2a..6e7330c3485 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/system/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/system/index.html.erb @@ -4,7 +4,7 @@ -
Active/Priority
+
@@ -20,7 +20,7 @@
-

System Info

+
@@ -36,7 +36,7 @@
-

Sonar Info

+
@@ -52,7 +52,7 @@
-

Java VM Statistics

+
@@ -68,7 +68,7 @@
-

Database Statistics

+
@@ -84,7 +84,7 @@
-

Sonar Plugins

+
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb index f2106c73260..866363428b6 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb @@ -2,7 +2,7 @@

System Properties

Users

- +
diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css index 8f82420b770..e986ba12579 100644 --- a/sonar-server/src/main/webapp/stylesheets/style.css +++ b/sonar-server/src/main/webapp/stylesheets/style.css @@ -429,32 +429,33 @@ h4, .h4 { background-color: #4b9fd5; color: #fff; } -table.data thead th { +table.data > thead > tr > th { font-size: 93%; - padding: 3px 7px 3px 3px; + padding: 4px 7px 4px 3px; + font-weight: bold; } -table.data tfoot td { +table.data > tfoot > tr > td { font-size: 93%; color: #777; - padding: 3px 0 3px 10px; + padding: 4px 0 4px 10px; } -table.data tbody td { - padding: 3px 7px 3px 3px; - vertical-align: middle; +table.data > tbody > tr > td { + padding: 4px 7px 4px 3px; + vertical-align: text-top; } table.data td.small, table.data th.small { padding: 0; white-space: nowrap; } table.data th img, table.data td img { - vertical-align: middle; + vertical-align: top; } .data thead tr.total { background-color: #eee; font-weight: normal; - border-bottom: 1px solid silver; - border-top: 1px solid silver; + border-bottom: 1px solid #ddd; + border-top: 1px solid #ddd; } .data thead tr.total th { font-weight: normal; @@ -468,6 +469,9 @@ table.data th img, table.data td img { border-top: 1px solid #4B9FD5; border-bottom: 1px solid #4B9FD5; } +.data input, .data select, .data button { + vertical-align: baseline; +} .hoverable:hover { background-color: #CAE3F2; } @@ -1355,8 +1359,14 @@ h4 a, h4 a:visited, .gray, table.data tfoot a, table.data tfoot a:visited { background-color: #f4f4f4; } -.bordered, table.data thead, table.data tbody { - border-bottom: 1px solid silver; +.bordered, table.data > thead { + border-bottom: 1px solid #ddd; +} + +table.data > tbody { + border-bottom: 1px solid #ddd; + border-right: 1px solid #ddd; + border-left: 1px solid #ddd; } table.data, table.spaced, .gwt-SourcePanel .sources { @@ -1417,48 +1427,6 @@ ul.horizontal li { table.nowrap td, td.nowrap { white-space: nowrap; } - -table.data2 { - border-collapse: collapse; -} -table.without-header { - border-top: 1px solid #ddd; -} -table.data2 > tbody > tr { - border-left: 1px solid #ddd; - border-right: 1px solid #ddd; -} -table.data2 > thead > tr { - height: 18px; - border: 0; -} -table.data2 > thead > tr > th, table.data2 > tbody > tr > td { - border-bottom: 1px solid #DDD; - padding: 4px 5px 0px 5px; - height: 20px; - vertical-align: top; -} -table.data2 > thead > tr > th { - font-weight: bold; -} -table.data2 > tfoot > tr > td { - border-bottom: 0; - padding: 3px 5px; -} -table.data2 td, table.data2 td a, table.data2 th, table.data2 th a { - color: #444; -} -table.data2 img { - vertical-align: text-bottom; -} -table.data2 input, table.data2 select { - vertical-align: baseline; -} -.data2 tr.highlight { - background-color: #CAE3F2; - border-top: 1px solid #4B9FD5; - border-bottom: 1px solid #4B9FD5; -} .background-gray { background-color: #f4f4f4; color: #555; -- 2.39.5
Login