Only style sort handles when it's actually sortable.

This commit is contained in:
George Stephanis 2015-08-13 12:13:35 -04:00
parent d86814d6f1
commit ab3a7e4e21
1 changed files with 25 additions and 23 deletions

View File

@ -1895,33 +1895,35 @@ table.wc_input_table {
}
}
th.sort {
width: 17px;
padding: 0;
}
td.sort {
padding: 0 4px;
cursor: move;
background: #f9f9f9;
text-align: center;
vertical-align: middle;
&:before {
content: "\e032";
font-family: 'WooCommerce';
text-align: center;
line-height: 1;
color: #999;
display: block;
.ui-sortable:not(.ui-sortable-disabled) {
th.sort {
width: 17px;
float: left;
height: 100%;
padding: 0;
}
&:hover {
td.sort {
padding: 0 4px;
cursor: move;
background: #f9f9f9;
text-align: center;
vertical-align: middle;
&:before {
color: #333;
content: "\e032";
font-family: 'WooCommerce';
text-align: center;
line-height: 1;
color: #999;
display: block;
width: 17px;
float: left;
height: 100%;
}
&:hover {
&:before {
color: #333;
}
}
}
}