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 { .ui-sortable:not(.ui-sortable-disabled) {
width: 17px; th.sort {
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;
width: 17px; width: 17px;
float: left; padding: 0;
height: 100%;
} }
&:hover { td.sort {
padding: 0 4px;
cursor: move;
background: #f9f9f9;
text-align: center;
vertical-align: middle;
&:before { &: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;
}
} }
} }
} }