._nc-tab-content {
  max-width: 16em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._nc-tab-actions {
  margin-left: 2px;
  opacity: 0;
  transition: all .3s;

  i[nz-icon] {
    color: rgba(0, 0, 0, .45);
    transform: scale(.83333333) rotate(0);
    transition: all .3s;

    &:hover {
      color: rgba(0, 0, 0, .75);
    }
  }
}

nz-tabset {
  user-select: none;
  background-color: #ffffff;

  i[nz-icon] {
    margin-right: 4px;

    &:last-child {
      margin-right: 0;
    }
  }

  ::ng-deep {
    .ant-tabs-bar {
      margin: 0;
      padding: 0 32px;
    }

    .ant-tabs-tab {
      display: inline-flex;
      padding: 0 0 0 12px;
      line-height: 41px;

      &:hover {
        ._nc-tab-actions {
          opacity: 1;
        }
      }
    }

    .ant-tabs-tab-active {
      font-weight: normal;
    }
  }
}

ul[nz-menu] {
  min-width: 96px;
}

li[nz-menu-item] {
  padding: 0px 12px;
  line-height: 24px;
}