Revision: 1979
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1979&view=rev
Author:   cimorrison
Date:     2011-09-21 15:44:39 +0000 (Wed, 21 Sep 2011)
Log Message:
-----------
Sorted out the styling of sub tables ion the pending table when DataTables are 
not operational (probably when JavaScript is disabled)

Modified Paths:
--------------
    mrbs/branches/datatables/web/jquery/datatables/css/mrbs-table.css
    mrbs/branches/datatables/web/mrbs.css.php

Modified: mrbs/branches/datatables/web/jquery/datatables/css/mrbs-table.css
===================================================================
--- mrbs/branches/datatables/web/jquery/datatables/css/mrbs-table.css   
2011-09-21 15:28:40 UTC (rev 1978)
+++ mrbs/branches/datatables/web/jquery/datatables/css/mrbs-table.css   
2011-09-21 15:44:39 UTC (rev 1979)
@@ -187,11 +187,11 @@
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  * DataTables row classes
  */
-table.display.sub tr.odd {
+table.display.sub tr.odd, table.display.sub tbody tr:nth-child(2n+1) {
   background-color: #ddffdd;
 }
 
-table.display.sub tr.even {
+table.display.sub tr.even, table.display.sub tbody tr:nth-child(2n){
   background-color: #eeffee;
 }
 

Modified: mrbs/branches/datatables/web/mrbs.css.php
===================================================================
--- mrbs/branches/datatables/web/mrbs.css.php   2011-09-21 15:28:40 UTC (rev 
1978)
+++ mrbs/branches/datatables/web/mrbs.css.php   2011-09-21 15:44:39 UTC (rev 
1979)
@@ -743,12 +743,12 @@
 #pending_list td.table_container, #pending_list td.sub_table {padding: 0; 
border: 0; margin: 0}
 #pending_list .control {padding-left: 0; padding-right: 0; text-align: center;
                         color: <?php echo $standard_font_color ?>}
-#pending_list td.control {background-color: <?php echo $pending_control_color 
?>}
+.js #pending_list td.control {background-color: <?php echo 
$pending_control_color ?>}
 #pending_list td:first-child {width: 1.2em}
 #pending_list #pending_table td.sub_table {width: auto}
 table.admin_table.sub {border-right-width: 0}
 table.sub th {background-color: #788D9C}
-.admin_table table.sub th:first-child {background-color: <?php echo 
$pending_control_color ?>;
+.js .admin_table table.sub th:first-child {background-color: <?php echo 
$pending_control_color ?>;
     border-left-color: <?php echo $admin_table_border_color ?>}
 div.div_buttons {float: left; height: 2em}
 #pending_list form {margin: 2px 4px}

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to