@import '../../style/themes/default.less';

@component-prefix-cls: ~'@{qn-prefix}-matter-title';

.@{component-prefix-cls} {
  width: 100%;
  &-content {
    display: flex;
    align-items: center;
    width: 100%;
    .ant-typography {
      margin-bottom: 0;
    }
    &-canceled {
      color: rgba(38, 40, 45, 0.35) !important;
      text-decoration: line-through !important;
    }
    &-nameLink {
      flex-grow: 1;
      align-items: center;
      overflow: hidden;
      color: #333;
      font-size: 12px;
      font-family: PingFangSC-Medium;
      white-space: nowrap;
      text-overflow: ellipsis;
      // color: #409EFF;
      cursor: pointer;
    }
    &-nameLink:hover {
      color: #40a9ff !important;
    }
    &-overdueNum {
      flex-shrink: 0;
      margin-left: 4px;
      color: #ff4d51;
      font-size: 12px;
      font-family: PingFangSC-Medium;
    }
  }
  &-bottom {
    display: flex;
    align-items: center;
    width: 100%;
    height: 20px;
    overflow: hidden;

    &-id {
      display: inline-block;
      margin-right: 8px;
      color: #999;
      font-size: 12px;
      font-family: PingFangSC-Regular;
    }
    .ant-tag {
      height: 18px;
      line-height: 16px;
      border-radius: 4px;
    }
    .ant-tabs-nav {
      height: 20px;
      margin: 0;
      .ant-tabs-nav-wrap {
        align-items: center;
      }
    }
    .ant-tabs-nav-more {
      padding: 0 8px !important;
      padding-right: 0 !important;
    }
    .ant-tabs-ink-bar {
      display: none;
    }
    .ant-tabs-tab {
      margin: 0;
      cursor: context-menu !important;
      .ant-tabs-tab-btn {
        height: 20px;
      }
    }
    .ant-tabs-nav::before {
      border: none;
    }
  }
}
