bye bye coupon styling. closes #6360
This commit is contained in:
parent
0a8acae150
commit
a66ae12707
File diff suppressed because one or more lines are too long
|
@ -279,104 +279,6 @@ ul.wc_coupon_list, .column-coupon_code {
|
|||
overflow: hidden;
|
||||
zoom: 1;
|
||||
clear: both;
|
||||
.code {
|
||||
margin-right: 6px;
|
||||
}
|
||||
li.code {
|
||||
margin: 0 6px 12px 0 !important;
|
||||
}
|
||||
.code, .code a, .code span {
|
||||
&:before, &:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 8px;
|
||||
height: 4px;
|
||||
background: #f7f7f7;
|
||||
-webkit-border-radius:2px;
|
||||
-moz-border-radius:2px;
|
||||
-o-border-radius:2px;
|
||||
border-radius:2px;
|
||||
-moz-box-shadow: 0 2px 0 0 rgba(255,255,255,0.3), inset 0 2px 0 0 rgba(0,0,0,0.1);
|
||||
-webkit-box-shadow: 0 2px 0 0 rgba(255,255,255,0.3), inset 0 2px 0 0 rgba(0,0,0,0.1);
|
||||
box-shadow: 0 2px 0 0 rgba(255,255,255,0.3), inset 0 2px 0 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
}
|
||||
.code {
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
margin: 0 8px 0 0;
|
||||
|
||||
background: #ececec;
|
||||
color: #21759A;
|
||||
text-shadow: 0 1px 0 #ddd;
|
||||
|
||||
padding: 2px;
|
||||
position: relative;
|
||||
float: left;
|
||||
line-height: 1em;
|
||||
-moz-box-shadow: 0 2px 0 0 #dddddd;
|
||||
-webkit-box-shadow: 0 2px 0 0 #dddddd;
|
||||
box-shadow: 0 2px 0 0 #dddddd;
|
||||
font-weight: bold;
|
||||
|
||||
&:before {
|
||||
bottom: 5px;
|
||||
left: 0;
|
||||
margin: 0 0 0 -4px;
|
||||
}
|
||||
&:after {
|
||||
top: 5px;
|
||||
left: 0;
|
||||
margin: 0 0 0 -4px;
|
||||
}
|
||||
a, span {
|
||||
float: left;
|
||||
padding: 0 4px;
|
||||
color: #21759A;
|
||||
&:before {
|
||||
bottom: 5px;
|
||||
right: 0;
|
||||
margin: 0 -4px 0 0;
|
||||
}
|
||||
&:after {
|
||||
content: "";
|
||||
top: 5px;
|
||||
right: 0;
|
||||
margin: 0 -4px 0 0;
|
||||
}
|
||||
span {
|
||||
border: 1px dashed #ccc;
|
||||
padding: .5em 6px;
|
||||
-webkit-border-radius:2px;
|
||||
-moz-border-radius:2px;
|
||||
-o-border-radius:2px;
|
||||
border-radius:2px;
|
||||
&:before {
|
||||
top: 50%;
|
||||
left: 0;
|
||||
margin: -2px 0 0 -4px;
|
||||
}
|
||||
&:after {
|
||||
top: 50%;
|
||||
right: 0;
|
||||
margin: -2px -4px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: #975e83;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 0 #5a324b;
|
||||
a, span {
|
||||
color: #fff;
|
||||
span {
|
||||
border: 1px dashed #bb82a7;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ul.wc_coupon_list_block {
|
||||
margin: 0;
|
||||
|
|
|
@ -357,7 +357,7 @@ class WC_Admin_Post_Types {
|
|||
$post_type_object = get_post_type_object( $post->post_type );
|
||||
$can_edit_post = current_user_can( $post_type_object->cap->edit_post, $post->ID );
|
||||
|
||||
echo '<div class="code tips" data-tip="' . __( 'Edit coupon', 'woocommerce' ) . '"><a href="' . esc_attr( $edit_link ) . '"><span>' . esc_html( $title ). '</span></a></div>';
|
||||
echo '<div class="tips" data-tip="' . __( 'Edit coupon', 'woocommerce' ) . '"><a href="' . esc_attr( $edit_link ) . '"><span>' . esc_html( $title ). '</span></a></div>';
|
||||
|
||||
_post_states( $post );
|
||||
|
||||
|
|
Loading…
Reference in New Issue