// sortable
@mixin sortable() {
  display: inline-block;
  width: 16px;
  height: 14px;
  margin-left: 4px;
  margin-top: -1px;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
  position: relative;

  i {
    display: block;
    height: 7px;
    line-height: 7px;
    overflow: hidden;
    position: absolute;
    color: $btn-disable-color;
    transition: color $transition-time $ease-in-out;
    font-size: 14px;
    @include theme-font-color($__common-sortable-i_font-color);

    &:hover {
      color: inherit;
      @include theme-font-color($__common-sortable-i_hover_font-color);
    }

    &.on {
      color: $primary-color;
      @include theme-font-color($__common-sortable-i_on_font-color);
    }

    &:first-child {
      top: 0;
    }

    &:last-child {
      bottom: 0;
    }
  }
}
