]> source.dussan.org Git - sonarqube.git/commitdiff
fix CSS class "data2" when nested tables
authorsimonbrandhof <simon.brandhof@gmail.com>
Wed, 22 Sep 2010 13:32:49 +0000 (13:32 +0000)
committersimonbrandhof <simon.brandhof@gmail.com>
Wed, 22 Sep 2010 13:32:49 +0000 (13:32 +0000)
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb
sonar-server/src/main/webapp/stylesheets/style.css

index d9045205be368cf50d0c45a3e5873002de303443..c82f83d7dc9f9bbef484f08d88ee0d2f219608b3 100644 (file)
@@ -40,7 +40,7 @@
               <% end %>
           </table>
       <% end %>
-      <br/><span class="gray">Key: <%= rule.plugin_rule_key -%></span>
+      <br/><span>Key: <%= rule.plugin_rule_key -%></span>
       <% if is_admin %>
         <br/>
         <% if rule.template? %>
index c2cd5f4d611c3a2661be142921b3c5fd4ef27b72..eac9a9b5bbb24c27d7c655797d0eac87bac6a285 100644 (file)
@@ -1236,7 +1236,7 @@ ul.bullet li {
 }
 
 .rule_desc {
-  color: #333;
+  color: #444;
   padding: 2px 0 15px 0;
 }
 
@@ -1426,32 +1426,35 @@ table.data2 {
 table.without-header {
   border-top: 1px solid #ddd;
 }
-table.data2 tbody tr {
+table.data2 > tbody > tr {
   border-left: 1px solid #ddd;
   border-right: 1px solid #ddd;
 }
-table.data2 thead tr {
+table.data2 > thead > tr {
   height: 24px;
   border: 0;
 }
-table.data2 th, table.data2 td {
+table.data2 > thead > tr > th, table.data2 > tbody > tr > td {
   border-bottom: 1px solid #DDD;
-  padding: 2px 4px 2px 4px;
+  padding: 3px 5px;
   height: 24px;
   vertical-align: middle;
 }
-table.data2 td {
+table.data2 > tbody > tr > td {
   vertical-align: middle;
 }
-table.data2 th {
+table.data2 > thead > tr > th {
   font-weight: bold;
 }
-table.data2 tfoot td {
+table.data2 > tfoot > tr > td {
   border-bottom: 0;
 }
 table.data2 td, table.data2 td a, table.data2 th, table.data2 th a {
   color: #444;
 }
+table.data2 img, table.data2 input, table.data2 select {
+  vertical-align: text-bottom;
+}
 .background-gray {
   background-color: #f4f4f4;
   color: #555;