@import '../../../base/style.less';

@popupPrefix: iot-cord-entry-enum-out;

.@{popupPrefix} {
  overflow: hidden;
  width: 100%;
  height: auto;

  .iot-cord-entry-enum {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: var(--card-margin-size);
    width: var(--card-width-size);
    height: auto;
    justify-content: space-between;
    border: var(--card-border);
    padding: var(--card-padding-TD);
    background: var(--card-bg-color);
    border-radius: var(--card-border-radius-size);

    .cord-entry-enum-left {
      display: flex;
      flex-direction: row;
      align-items: center;
      flex: var(--enter-card-left-flex);

      .cord-entry-enum-icon {
        margin: var(--icon-margin-all);
        width: var(--icon-width-size);
        height: var(--icon-height-size);
        display: flex;
        flex: 0 0 var(--icon-width-size);
        flex-direction: row;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: var(--icon-bg-color);

        .cord-entry-enum-icon-image {
          display: inline-block;
          width: var(--icon-inside-width);
          height: var(--icon-inside-height);
          font-size: var(--icon-inside-font-size);
          color: var(--icon-inside-color);
        }
      }

      .cord-entry-enum-title {
        .cord-entry-enum-main {
          overflow: hidden;
          font-family: var(--title-font-family);
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          font-size: var(--title-font-size);
          color: var(--title-font-color);
          line-height: var(--title-font-height);
          font-weight: var(--title-font-weight);
        }

        .cord-entry-enum-sub {
          overflow: hidden;
          display: -webkit-box;
          font-family: var(--subtitle-font-family);
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          margin-top: var(--subtitle-margin-Top);
          font-size: var(--subtitle-font-size);
          color: var(--subtitle-font-color);
          line-height: var(--subtitle-font-height);
        }
      }

    }



    .cord-entry-enum-right {
      position: relative;
      // flex: var(--enter-card-right-flex);
      display: flex;
      justify-content: flex-end;

      .enum-show {
        width: 100%;
        height: 100%;
        // background: yellow;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-right: var(--enter-right-margin-size);
        .cord-entry-enum-text {
          white-space: nowrap;
          overflow: hidden;
          max-width: 1rem;
          text-overflow: ellipsis;
          font-family: var(--key-font-family);
          font-size: var(--key-font-size);
          color: var(--key-font-color);
          height: 100%;
          // line-height: var(--key-font-height);
          margin-right: var(--key-font-right-margin-size);
        }
        .arrow {
          font-size: var(--enter-font-size);
          width: var(--enter-width-size);
          height: 100%;
          margin-right:.03rem;
          color: #C0C0C0;

        }
      }
    }
    // .cord-entry-enum-right {
    //   position: relative;
    //   flex: var(--enter-card-right-flex);
    //   display: flex;
    //   justify-content: flex-end;

    //   .enum-show {
    //     width: 100%;
    //     height: 100%;
    //     // background: yellow;
    //     display: flex;
    //     justify-content: flex-end;
    //     align-items: center;
    //     margin-right: var(--enter-right-margin-size);

    //     // margin: 0 .11rem;
    //     .cord-entry-enum-text {
    //       white-space: nowrap;
    //       font-family: var(--key-font-family);
    //       font-size: var(--key-font-size);
    //       color: var(--key-font-color);
    //       height: 100%;
    //       line-height: var(--key-font-height);
    //       margin: var(--key-font-right-margin-size)
    //     }

    //     .arrow {
    //       font-size: var(--enter-font-size);
    //       width: var(--enter-width-size);
    //       height: 100%;
    //       margin-right: .03rem;
    //     }
    //   }
    // }

    .cord-entry-enum-disable {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 10;
      background: var(--disable-bg-color);
      border-radius: var(--card-border-radius-size);
    }

  }
}