b701ad4f by Kevin Burton

update to the branding css and payhistory

1 parent 427080de
...@@ -451,6 +451,20 @@ input.dp-applied { ...@@ -451,6 +451,20 @@ input.dp-applied {
451 #invoice-table tfoot td { margin:0; padding:4px 2px 4px 10px; text-align: left; border-top:1px solid #ccc;border-right:1px solid #ccc; } 451 #invoice-table tfoot td { margin:0; padding:4px 2px 4px 10px; text-align: left; border-top:1px solid #ccc;border-right:1px solid #ccc; }
452 #invoice-table caption { text-align:left; font-size:11px; color:#777; padding-left:11px; text-transform: uppercase; } 452 #invoice-table caption { text-align:left; font-size:11px; color:#777; padding-left:11px; text-transform: uppercase; }
453 453
454
455 .invoice-table { width: 100%; border:0; padding: 0px; margin: 0px; border-collapse: collapse; border:1px solid #ccc; margin: 8px 0px 4px 0px; }
456 .invoice-table thead th { margin:0; padding:5px 2px 5px 10px; text-align: left; border-bottom:1px solid #ccc; border-right:1px solid #ccc; }
457 .invoice-table thead td { margin:0; padding:4px 2px 4px 10px; text-align: left; }
458 .invoice-table tbody th { margin:0; padding:4px 2px 4px 10px; text-align: left; }
459 .invoice-table tbody td { margin:0; padding:4px 2px 4px 10px; text-align: left; border-right:1px solid #ccc; }
460 .invoice-table tbody tr.odd td { background-color: #f5f5f5; }
461
462 .invoice-table tbody tr.unpaid td { background-color: #efd5d5; color:#c17575; }
463 .invoice-table tbody tr.unpaid td a {color: #c17575;}
464 .invoice-table tbody tr.unpaid td a:hover {color: #CC4433;}
465 .invoice-table tfoot td { margin:0; padding:4px 2px 4px 10px; text-align: left; border-top:1px solid #ccc;border-right:1px solid #ccc; }
466 .invoice-table caption { text-align:left; font-size:11px; color:#777; padding-left:11px; text-transform: uppercase; }
467
454 .status-paid { 468 .status-paid {
455 width:97px; 469 width:97px;
456 height:87px; 470 height:87px;
......
...@@ -110,7 +110,7 @@ use WP_User; ...@@ -110,7 +110,7 @@ use WP_User;
110 $invoice_type = get_post_meta($invoice->ID, 'invoice_for', true); 110 $invoice_type = get_post_meta($invoice->ID, 'invoice_for', true);
111 111
112 $html .= '<p>'; 112 $html .= '<p>';
113 $html .= '<table cellpadding="0" cellspacing="0" border="0" id="invoice-table">'; 113 $html .= '<table cellpadding="0" cellspacing="0" border="0" class="invoice-table">';
114 $html .= '<thead>'; 114 $html .= '<thead>';
115 $html .= '<tr>'; 115 $html .= '<tr>';
116 $html .= '<th>Item / Description</th>'; 116 $html .= '<th>Item / Description</th>';
...@@ -194,7 +194,7 @@ use WP_User; ...@@ -194,7 +194,7 @@ use WP_User;
194 $html .= '</tbody>'; 194 $html .= '</tbody>';
195 $html .= '</table>'; 195 $html .= '</table>';
196 //if ($status != "credit") { 196 //if ($status != "credit") {
197 $html .= '<table cellpadding="0" cellspacing="0" border="0" class="clean" id="invoice-table">'; 197 $html .= '<table cellpadding="0" cellspacing="0" border="0" class="clean invoice-table">';
198 198
199 $html .= '<tfoot>'; 199 $html .= '<tfoot>';
200 200
......