@import "./green.scss";

.green {
  .el-select-dropdown__list .is-selected {
    color: $--select-font-color;
  }

  .runtime-page-container,
  .amb-design-board {
    .el-select__wrapper {
      min-height: var(--el-input-height);
      font-size: var(--input-font-size);
    }
  }


  /* 在属性面板中不应用高度与字体大小 */
  .amb-design-attr-content .el-select__wrapper {
    --el-input-height: unset;
    --input-font-size: unset;
    /* 直接重置属性以覆盖之前的计算值 */
    height: auto !important;
    font-size: inherit !important;
  }

  .el-select-dropdown__item.option-description-newLine {
    height: auto !important;
    min-height: 34px;
    line-height: normal;
    padding: 10px 20px;
    white-space: normal;

    div {
      gap: 4px;
    }

    span:first-child {
      font-weight: 500;
    }

    span:last-child {
      font-size: 12px;
      color: #909399;
      line-height: 1.4;
    }
  }

  .el-select__popper {
    max-width: 90vw !important;
  }
}