nz-header {
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.85);
  background: #108ee9;
}

nz-sider {
  ::ng-deep {
    .ant-menu-inline-collapsed>.ant-menu-item .anticon+a {
      display: inline-block;
      max-width: 0;
      opacity: 0;
    }
  }
}

nz-tabset {
  padding: 0 24px;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  ::ng-deep {
    .ant-tabs-nav {
      margin: 0;
      padding: 2px 0 0;

      &::before {
        content: none;
      }
    }

    .ant-tabs-tab:not(.ant-tabs-tab-active) {
      color: rgba(2, 1, 1, 0.85);
      background: transparent;
      border-color: transparent;
      opacity: .45;

      &:hover {
        opacity: .85;
      }
    }

    .ant-tabs-tab-active .ant-tabs-tab-remove {
      display: block;
    }

    .ant-tabs-tab-btn {
      display: flex;
      align-items: center;
      font-weight: normal !important;

      &>span {
        max-width: 16em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }

    .ant-tabs-tab-remove {
      display: none;
      padding: 0;
    }

  }
}

._logo {
  display: flex;
  align-items: center;
  margin: 0 8px 0 16px;

  img {
    height: 32px;
    width: 32px;
  }

  h1 {
    margin: 0 0 0 12px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
  }
}

._button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  cursor: pointer;
  transition: all .3s, padding 0s;

  &:hover,
  &._button-active {
    background: rgba(0, 0, 0, .05);
  }

  &>*:not(:first-child) {
    margin-left: 8px;
  }
}

._button-icon {
  font-size: 20px;
}
