Merge pull request #10964 from shivapoudel/fix-blur-sort

Fix - Sortable icon font-size in all tables
This commit is contained in:
Mike Jolley 2016-05-23 11:45:07 +01:00
commit bfe26a2aa3
1 changed files with 31 additions and 18 deletions

View File

@ -2108,6 +2108,7 @@ table.wc_input_table {
.ui-sortable:not(.ui-sortable-disabled) { .ui-sortable:not(.ui-sortable-disabled) {
td.sort { td.sort {
cursor: move; cursor: move;
font-size: 15px;
background: #f9f9f9; background: #f9f9f9;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
@ -2228,14 +2229,16 @@ table.wc_shipping {
td.sort { td.sort {
padding: 0 7px; padding: 0 7px;
cursor: move; cursor: move;
font-size: 15px;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
&:before { &:before {
content: "\f333"; content: "\f333";
font-family: 'Dashicons'; font-family: 'Dashicons';
text-align: center; text-align: center;
line-height: 1; line-height: 1;
color: #ccc; color: #999;
display: block; display: block;
width: 17px; width: 17px;
float: left; float: left;
@ -2353,6 +2356,7 @@ table.wc-shipping-zones, table.wc-shipping-zone-methods, table.wc-shipping-class
} }
td.wc-shipping-zone-sort, td.wc-shipping-zone-method-sort { td.wc-shipping-zone-sort, td.wc-shipping-zone-method-sort {
cursor: move; cursor: move;
font-size: 15px;
text-align: center; text-align: center;
&:before { &:before {
@ -3243,6 +3247,11 @@ img.help_tip {
th { th {
padding: 7px 0 7px 7px !important; padding: 7px 0 7px 7px !important;
&.sort {
width: 17px;
padding: 7px !important;
}
.woocommerce-help-tip { .woocommerce-help-tip {
font-size: 1.1em; font-size: 1.1em;
margin-left: 0; margin-left: 0;
@ -3261,13 +3270,13 @@ img.help_tip {
input.input_text { input.input_text {
width: 100%; width: 100%;
float: none; float: none;
margin: 1px 0;
min-width: 0; min-width: 0;
margin: 1px 0;
} }
.upload_file_button { .upload_file_button {
float: right;
width: auto; width: auto;
float: right;
cursor: pointer; cursor: pointer;
} }
@ -3289,12 +3298,11 @@ img.help_tip {
} }
td.sort { td.sort {
padding: 0 8px;
cursor: move;
width: 17px; width: 17px;
background: #f9f9f9; cursor: move;
font-size: 15px;
text-align: center; text-align: center;
vertical-align: middle; background: #f9f9f9;
padding-right: 7px !important; padding-right: 7px !important;
&:before { &:before {
@ -3321,31 +3329,36 @@ img.help_tip {
.woocommerce_variation { .woocommerce_variation {
h3 { h3 {
.sort { .sort {
width: 17px;
height: 26px;
cursor: move; cursor: move;
float: right;
font-size: 15px;
font-weight: 400;
margin-right: .5em;
visibility: hidden;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
float: right;
height: 26px;
width: 17px;
visibility: hidden;
vertical-align: middle;
margin-right: .5em;
color: #a0a5aa;
&:before { &:before {
content: "\f333"; content: "\f333";
font-family: 'Dashicons'; font-family: 'Dashicons';
text-align: center; text-align: center;
cursor: move; line-height: 28px;
line-height: 1; color: #999;
display: block; display: block;
width: 17px; width: 17px;
line-height: 28px; float: left;
height: 100%;
} }
&:hover { &:hover {
&:before {
color: #777; color: #777;
} }
} }
} }
}
h3:hover, &.ui-sortable-helper { h3:hover, &.ui-sortable-helper {
.sort { .sort {
visibility: visible; visibility: visible;