Permalink
Browse files

Update product listing header and data css definitions

  • Loading branch information...
1 parent dee5217 commit 33f5c207fb71d4c8370e5b24e24ce71f5c2077b3 @haraldpdl haraldpdl committed Oct 26, 2010
Showing with 10 additions and 8 deletions.
  1. +2 −2 catalog/includes/modules/product_listing.php
  2. +8 −6 catalog/stylesheet.css
@@ -32,7 +32,7 @@
$prod_list_contents = '<div class="ui-widget infoBoxContainer">' .
' <div class="ui-widget-header ui-corner-top infoBoxHeading">' .
- ' <table border="0" width="100%" cellspacing="0" cellpadding="2" style="table-layout: fixed; padding: 0;">' .
+ ' <table border="0" width="100%" cellspacing="0" cellpadding="2" class="productListingHeader">' .
' <tr>';
for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {
@@ -89,7 +89,7 @@
$listing_query = tep_db_query($listing_split->sql_query);
$prod_list_contents .= ' <div class="ui-widget-content ui-corner-bottom productListTable">' .
- ' <table border="0" width="100%" cellspacing="0" cellpadding="2" style="table-layout: fixed;">';
+ ' <table border="0" width="100%" cellspacing="0" cellpadding="2" class="productListingData">';
while ($listing = tep_db_fetch_array($listing_query)) {
$rows++;
View
@@ -252,16 +252,18 @@ TABLE.productListing {
border-spacing: 1px;
}
-.productListing-heading {
- font-family: Verdana, Arial, sans-serif;
- font-size: 10px;
+.productListingHeader {
+ table-layout: fixed;
color: #FFFFFF;
font-weight: bold;
}
-TD.productListing-data {
- font-family: Verdana, Arial, sans-serif;
- font-size: 10px;
+.productListingHeader A:hover {
+ color: #FFFFFF;
+}
+
+.productListingData {
+ table-layout: fixed;
}
A.pageResults {

0 comments on commit 33f5c20

Please sign in to comment.