.@{ns}-StyleLib {
  .styled-associated{
    padding-top: 10px;

    &-header{
      display: flex;
      align-items: center;
      padding: 0 10px;
      margin-bottom: 10px;
      &-title{
        font-size: 15px;
        color: #303030;
        font-weight: 500;
        flex: 1 1 auto;
        min-width: 0;
      }
      &-btns{
        display: inline-flex;
        align-items: center;
        gap: 20px;

      }
    }


    &-empty{
      margin: 0 10px;
      height: 42px;
      line-height: 42px;
      border-bottom: 1px solid #e8e8e8;
      font-size: var(--fontSizeMd);
      color: #909090;
    }

    // 内容
    &-content{
      margin: 0 10px;
      padding-bottom: 10px;

      &.borderBottom{
        border-bottom: 1px solid #e8e8e8;
      }

      & > .ui-item{

        display: flex;
        align-items: center;
        overflow: hidden;

        overflow-y: hidden;
        height: 42px;

        box-sizing: border-box;
        border-bottom: 1px solid #e8e8e8;
        cursor: pointer;

        .ui-item-label{
          width: 70px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        &:hover{
          color: unset;
          background: var(--color-fill-2);
          margin: 0 -20px;
          padding: 0 20px;
        }

        .ui-tag-key-field{
          max-width: 90px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          margin-left: 10px;
          background-color: rgba(144,144,144,.15);
          height: 20px;
          font-size: 12px;
          color: #303030;
          font-weight: 500;
          line-height: 20px;
          padding-left: 5px;
          padding-right: 5px;
          border-radius: 3px;
          display: inline-block;
          user-select: none;
          flex: 0 0 auto;

          &:first-child {
            margin-left: 0;
          }
        }


        .summary-column{
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          flex: 1 1 auto;
          min-width: 0;
          padding-left: 10px;
          .task-description.one-line--ellipsis {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;

          }
          .task-description {
            display: block;
            max-width: 100%;
            font-size: 1px;

            .prefix-container{
              display: inline-flex;
              flex-direction: row;
              align-items: center;
              margin: 0 5px 0 0;
              vertical-align: middle;
              font-size: 14px;
            }

            & > span{
              vertical-align: middle;
              font-size: 14px;
            }
          }
        }

        .status-column{
          margin-left: 10px;
          max-width: 90px;
          text-align: right;
          flex: 0 0 auto;
          line-height: 0;

          font-size: 12px;
          color: var(--primary-5);
          box-sizing: border-box;
          display: inline-block;
          height: 20px;
          line-height: 18px;
          border: 1px solid var(--info-borderColor);
          transition: border-color .2s;
          border-radius: 20px;
          padding: 0px 8px;
        }

        .delete-btn-column{
          position: relative;
          cursor: pointer;
          transition: color .2s;
          color: #606060;
          margin-left: 10px;

          width: 16px;
          height: 32px;
          display: flex;
          align-items: center;


          &:hover{
            fill: #ea0d0d;
          }

          .@{ns}-Button{
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            width: 100%;
            height: 100%;
            padding: 0;
          }
        }

        svg{
          width: 16px;
          height: 16px;
        }
      }

    }

    // 按钮
    &-action{
      position: relative;
      height: 30px;
      display: flex;
      align-items: center;
      font-size: 12px;
      transition: none;
      color: #606060;
      overflow: hidden;
      & > .@{ns}-Button, & > .@{ns}-Form-item{
        position: absolute;
        opacity: 0;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
      }
      &-icon{
        margin-left: 0 !important;
        font-size: 16px;
        display: inline-flex;
        align-items: center;
      }
      & > span{
        margin-left: 5px;
      }

      &:hover{
        color: var(--primary-color);
      }
      &:active{
        border-color: transparent;
        box-shadow: none;
      }
      .@{ns}-ResultBox-value{
        pointer-events: none;
      }
    }

  }
}
