@import '../../../style/index.less';
@prefixClsInput: eh-field-view-single-text;
.@{prefixClsInput}-hor {
	overflow: hidden;
	&-value {
    position: relative;
    &-content {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    &-hide, &-standard {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      visibility: hidden;
    }
	}
  &-tel {
    color: #07A6F0;
    text-decoration: underline;
  }
  &-icon {
    flex: none;
    font-size: 23 * @hd;
    color: #B2B2B2;
  }
}

.@{prefixClsInput}-ver {
	&-value {
    position: relative;
		overflow: hidden;

    &-collapse, &-brief {
      .@{prefixClsInput}-ver-value-content {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
      }
    }

    &-brief {
      background: #F8F8F8;
      border-radius: 8px;
      padding: 8 * @hd;
    }

    &-hide, &-standard {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      visibility: hidden;
    }
	}
  &-tel {
    color: #07A6F0;
    text-decoration: underline;
  }
  &-collapse-switch {
    font-size: 16 * @hd;
    color: #07A6F0;
    line-height: 26 * @hd;
  }
}

.@{prefixClsInput}-modal {
  color: #494949;
  min-height: 50vh;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  &-header {
    flex: none;
    position: relative;
    padding: 10 * @hd 16 * @hd;
    line-height: 35 * @hd;
    border-bottom: 0.5 * @hd solid #e0e0e0;
    .am-icon {
      position: absolute;
      left: 16 * @hd;
      top: 10 * @hd;
      width: 35 * @hd;
      height: 35 * @hd;
    }
    &-text {
      text-align: center;
      font-size: 16 * @hd;
      font-weight: 600;
    }
  }
  &-content {
    flex: auto;
    overflow-y: auto;
    padding: 16 * @hd;
    font-size: 16 * @hd;
    color: #404040;
    line-height: 23 * @hd;
    text-align: left;
  }
}
