.top-menu {
  width: calc(100% - 8px);
  margin: 0 auto;
  background: white;
  margin-top: 4px;
  margin-bottom: 2px;

  &.freezed {
    cursor: wait;
    * {
      cursor: wait;
      pointer-events: none;
    }
  }

  img {
    width: 23px;
    margin-top: 4px;
    margin-right: 6px;
  }

  .button-add-package,
  .button-update,
  .button-uninstall,
  .button-version,
  .button-latest {
    float: right;
    font-size: 12px;
    padding-left: 0;
    padding-right: 3px;
    margin: 1px 0 0 4px;
    line-height: 13px;

    i {
      color: $color-222;
      vertical-align: baseline;
    }

  }

  .button-add-package {
    float: left;
    border: 0;
    line-height: 18px;
    margin: 0 auto;
    padding: 0 0 0 0;
    background: none;
    margin-bottom: 3px;
    border-radius: 10px;

    i {
      color: $color-primary;
    }

    &:focus {
      opacity: .7;
    }
  }

  .button-uninstall {

    i {
      color: $color-error;
    }
  }

  .button-update {

    i {
      color: $color-green;
    }
  }


  a {

    &:active, &.active {
      i {
        color: $color-primary;
      }
    }
  }
}
