high res icons for products screen
|
@ -76,8 +76,8 @@ function woocommerce_edit_product_columns($columns){
|
|||
|
||||
$columns["product_cat"] = __("Categories", 'woocommerce');
|
||||
$columns["product_tag"] = __("Tags", 'woocommerce');
|
||||
$columns["featured"] = '<img src="' . $woocommerce->plugin_url() . '/assets/images/featured_head.png" alt="' . __("Featured", 'woocommerce') . '" class="tips" data-tip="' . __("Featured", 'woocommerce') . '" />';
|
||||
$columns["product_type"] = '<img src="' . $woocommerce->plugin_url() . '/assets/images/product_type_head.png" alt="' . __("Type", 'woocommerce') . '" class="tips" data-tip="' . __("Type", 'woocommerce') . '" />';
|
||||
$columns["featured"] = '<img src="' . $woocommerce->plugin_url() . '/assets/images/featured.png" alt="' . __("Featured", 'woocommerce') . '" class="tips" data-tip="' . __("Featured", 'woocommerce') . '" width="12" height="12" />';
|
||||
$columns["product_type"] = '<img src="' . $woocommerce->plugin_url() . '/assets/images/product_type_head.png" alt="' . __("Type", 'woocommerce') . '" class="tips" data-tip="' . __("Type", 'woocommerce') . '" width="14" height="12" />';
|
||||
$columns["date"] = __("Date", 'woocommerce');
|
||||
|
||||
return $columns;
|
||||
|
@ -220,8 +220,8 @@ function woocommerce_custom_product_columns( $column ) {
|
|||
case "featured" :
|
||||
$url = wp_nonce_url( admin_url('admin-ajax.php?action=woocommerce-feature-product&product_id=' . $post->ID), 'woocommerce-feature-product' );
|
||||
echo '<a href="'.$url.'" title="'.__('Change', 'woocommerce') .'">';
|
||||
if ($product->is_featured()) echo '<a href="'.$url.'"><img src="'.$woocommerce->plugin_url().'/assets/images/featured.png" alt="yes" />';
|
||||
else echo '<img src="'.$woocommerce->plugin_url().'/assets/images/featured-off.png" alt="no" />';
|
||||
if ($product->is_featured()) echo '<a href="'.$url.'"><img src="'.$woocommerce->plugin_url().'/assets/images/featured.png" alt="yes" height="14" width="14" />';
|
||||
else echo '<img src="'.$woocommerce->plugin_url().'/assets/images/featured-off.png" alt="no" height="14" width="14" />';
|
||||
echo '</a>';
|
||||
break;
|
||||
case "is_in_stock" :
|
||||
|
|
|
@ -920,6 +920,12 @@ table.wp-list-table {
|
|||
.column-is_in_stock {
|
||||
text-align: left !important;
|
||||
}
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
||||
span.product-type {
|
||||
background-image: url(../images/product_types-x2.png) !important;
|
||||
background-size:96px 16px !important;
|
||||
}
|
||||
}
|
||||
span.product-type {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
@ -927,19 +933,19 @@ table.wp-list-table {
|
|||
display: block;
|
||||
background:url(../images/product_types.png) no-repeat -16px 0;
|
||||
&.grouped {
|
||||
background:url(../images/product_types.png) no-repeat 0 0;
|
||||
background-position: 0 0;
|
||||
}
|
||||
&.external {
|
||||
background:url(../images/product_types.png) no-repeat -32px 0;
|
||||
background-position: -32px 0;
|
||||
}
|
||||
&.variable {
|
||||
background:url(../images/product_types.png) no-repeat -48px 0;
|
||||
background-position: -48px 0;
|
||||
}
|
||||
&.downloadable {
|
||||
background:url(../images/product_types.png) no-repeat -64px 0;
|
||||
background-position: -64px 0;
|
||||
}
|
||||
&.virtual {
|
||||
background:url(../images/product_types.png) no-repeat -80px 0;
|
||||
background-position: -80px 0;
|
||||
}
|
||||
}
|
||||
mark.instock {
|
||||
|
|
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 858 B |
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 654 B |
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 692 B |
After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 918 B After Width: | Height: | Size: 1.3 KiB |