Order status icons
completed = check pending = dash cancelled = cross failed = altert on-hold = clock refunded = arrows processing = dots
|
@ -72,7 +72,7 @@ function woocommerce_custom_order_columns( $column ) {
|
||||||
switch ( $column ) {
|
switch ( $column ) {
|
||||||
case "order_status" :
|
case "order_status" :
|
||||||
|
|
||||||
printf( '<mark class="%s">%s</mark>', sanitize_title( $the_order->status ), esc_html__( $the_order->status, 'woocommerce' ) );
|
printf( '<mark class="%s tips" data-tip="%s">%s</mark>', sanitize_title( $the_order->status ), esc_html__( $the_order->status, 'woocommerce' ), esc_html__( $the_order->status, 'woocommerce' ) );
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case "order_title" :
|
case "order_title" :
|
||||||
|
|
|
@ -1002,47 +1002,49 @@ ul.wc_coupon_list_block {
|
||||||
width:9%;
|
width:9%;
|
||||||
}
|
}
|
||||||
.column-order_status {
|
.column-order_status {
|
||||||
width:75px;
|
width:45px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
mark {
|
mark {
|
||||||
display:block;
|
display:block;
|
||||||
text-align: center;
|
height:12px;
|
||||||
white-space: nowrap;
|
width:16px;
|
||||||
padding: 0 2px;
|
text-indent: -999em;
|
||||||
|
margin:0 auto;
|
||||||
background: #999;
|
background: none;
|
||||||
font-size:11px;
|
background-repeat: no-repeat;
|
||||||
line-height: 1.75;
|
background-position: center;
|
||||||
-webkit-border-radius:3px;
|
opacity:0.5;
|
||||||
-moz-border-radius:3px;
|
&:hover {
|
||||||
-o-border-radius:3px;
|
opacity:1;
|
||||||
border-radius:3px;
|
}
|
||||||
margin: 0;
|
|
||||||
color:#fff;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
mark.pending {
|
mark.pending {
|
||||||
background-color: #999;
|
background-image:url(../images/icons/pending.png);
|
||||||
}
|
}
|
||||||
mark.completed {
|
mark.completed {
|
||||||
background-color: #a0658b;
|
background-image:url(../images/icons/completed.png);
|
||||||
}
|
}
|
||||||
mark.on-hold {
|
mark.on-hold {
|
||||||
background-color: #E66F00;
|
background-image:url(../images/icons/on-hold.png);
|
||||||
|
width:15px;
|
||||||
|
height:14px;
|
||||||
}
|
}
|
||||||
mark.failed {
|
mark.failed {
|
||||||
background-color: red;
|
background-image:url(../images/icons/failed.png);
|
||||||
}
|
}
|
||||||
mark.cancelled {
|
mark.cancelled {
|
||||||
background-color: #ccc;
|
background-image:url(../images/icons/cancelled.png);
|
||||||
}
|
}
|
||||||
mark.processing {
|
mark.processing {
|
||||||
background-color: #2184c2;
|
background-image:url(../images/icons/st-processing.png);
|
||||||
}
|
}
|
||||||
mark.refunded {
|
mark.refunded {
|
||||||
background-color: #ccc;
|
background-image:url(../images/icons/refunded.png);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
td.column-order_status {
|
||||||
|
padding-top:10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Order notes */
|
/* Order notes */
|
||||||
|
@ -2701,6 +2703,38 @@ table.bar_chart {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.widefat {
|
||||||
|
.column-order_status {
|
||||||
|
mark.pending {
|
||||||
|
background-image:url(../images/icons/pending@2x.png);
|
||||||
|
background-size: 15px 12px;
|
||||||
|
}
|
||||||
|
mark.completed {
|
||||||
|
background-image:url(../images/icons/completed@2x.png);
|
||||||
|
background-size: 15px 12px;
|
||||||
|
}
|
||||||
|
mark.on-hold {
|
||||||
|
background-image:url(../images/icons/on-hold@2x.png);
|
||||||
|
background-size: 13px 13px;
|
||||||
|
}
|
||||||
|
mark.failed {
|
||||||
|
background-image:url(../images/icons/failed@2x.png);
|
||||||
|
background-size: 15px 12px;
|
||||||
|
}
|
||||||
|
mark.cancelled {
|
||||||
|
background-image:url(../images/icons/cancelled@2x.png);
|
||||||
|
background-size: 15px 12px;
|
||||||
|
}
|
||||||
|
mark.processing {
|
||||||
|
background-image:url(../images/icons/st-processing@2x.png);
|
||||||
|
background-size: 14px 11px;
|
||||||
|
}
|
||||||
|
mark.refunded {
|
||||||
|
background-image:url(../images/icons/refunded@2x.png);
|
||||||
|
background-size: 15px 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@import 'chosen.less';
|
@import 'chosen.less';
|
After Width: | Height: | Size: 393 B |
After Width: | Height: | Size: 506 B |
After Width: | Height: | Size: 415 B |
After Width: | Height: | Size: 587 B |
After Width: | Height: | Size: 489 B |
After Width: | Height: | Size: 652 B |
After Width: | Height: | Size: 497 B |
After Width: | Height: | Size: 803 B |
After Width: | Height: | Size: 216 B |
After Width: | Height: | Size: 254 B |
After Width: | Height: | Size: 435 B |
After Width: | Height: | Size: 635 B |
After Width: | Height: | Size: 327 B |
After Width: | Height: | Size: 345 B |