.yee-inspector-wrapper {
  .yee-tabs-nav {
    width: 100%;

    .yee-tabs-tab {
      width: 33%;
      text-align: center;
      margin: 0;
    }
  }

  .yee-tabs-content {
    padding-bottom: 32px;
  }

  /* ---------------------------------- 基础面板 属性/验证/布局 --------------------------------- */
  .basic-attr {
    min-height: 100%;
    .compName {
      display: inline-flex;
      font-weight: 500;
      color: rgba(0, 0, 0, 0.85);
      font-size: 12px;
      border-bottom: 1px solid #efefef;
      width: 100%;
      margin: 0;
      padding: 16px 0 8px 16px;
      line-height: 17px;
      justify-content: space-between;
      align-items: center;
    }
    .yee-collapse > .yee-collapse-item .yee-collapse-header {
      padding: 14px 0 14px 16px !important;
      line-height: 17px;
    }
    .yee-tabs-top-bar {
      position: fixed;
      width: 256px;
      top: 0;
      background-color: #fff;
      z-index: 10;
    }
    .yee-tabs-top-content {
      margin-top: 40px;
    }
  }

  /* ---------------------------------- 样式面板 --------------------------------- */
  .yee-inspector-style {
    --uno: relative;

    span,
    .yee-select-selection-selected-value,
    .yee-radio-button-wrapper {
      font-size: 12px;
    }

    & > span {
      --uno: block;
    }

    .extra-btn {
      --uno: absolute top-0 right-1;
    }

    /* --------------------------------- 通用颜色选择器 -------------------------------- */
    .m-colorPicker {
      position: absolute;
      right: 20px;
      bottom: 8px;
      border: 0.25px solid rgb(197, 200, 201);
      height: 16px;
      .colorBtn {
        cursor: pointer;
      }
      .box {
        right: -6px;
        z-index: 10 !important;
      }
      &.top .box {
        bottom: 24px;
      }
      &.bottom .box {
        top: 24px;
      }
    }

    /* ---------------------------------- 通用下拉框 --------------------------------- */
    .yee-collapse .yee-select-selection--single {
      height: 24px;
      line-height: 24px;
      margin-top: 4px;
      .yee-select-selection__rendered {
        line-height: 24px;
      }
    }

    /* ------------------------------- flex-layout ------------------------------ */
    .flex-layout {
      & > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        &:not(:last-child) {
          margin-bottom: 16px;
        }
      }
      .radio-icon {
        .yee-radio-button-wrapper {
          width: 24px;
          padding: 0;
          &:hover {
            background: #d6d6d9;
            svg {
              fill: #949494;
            }
          }
        }
        .yee-radio-button-wrapper-checked {
          background: #f0fff0 !important;
          svg {
            fill: @yee-primary-color !important;
          }
        }
      }
    }

    /* ---------------------------------- space --------------------------------- */
    .space {
      position: relative;
      width: 208px;
      height: 136px;
      background: #eeeff2;
      padding: 6px;
      .yee-input {
        padding: 0;
        z-index: 1;
        position: absolute;
        background-color: transparent;
        text-align: center;
        font-weight: 500;
        color: rgba(0, 0, 0, 0.65);
        outline: 0;
        border: 0;
        &:focus {
          box-shadow: none !important;
        }
      }
      .margin-top {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 196px;
        height: 0;
        border-top: 24px solid #cecece;
        border-left: 24px solid transparent;
        border-right: 24px solid transparent;
        cursor: pointer;
        &:hover {
          border-top: 24px solid #b8b8b8;
        }
        .yee-input {
          top: -24px;
          height: 24px;
        }
      }
      .margin-bottom {
        position: absolute;
        bottom: 6px;
        left: 6px;
        width: 196px;
        height: 0;
        border-bottom: 24px solid #cecece;
        border-left: 24px solid transparent;
        border-right: 24px solid transparent;
        cursor: pointer;
        &:hover {
          border-bottom: 24px solid #b8b8b8;
        }
        .yee-input {
          bottom: -24px;
          height: 24px;
        }
      }
      .margin-right {
        position: absolute;
        top: 6px;
        right: 6px;
        width: 0;
        height: 124px;
        border-right: 24px solid #dadada;
        border-top: 24px solid transparent;
        border-bottom: 24px solid transparent;
        cursor: pointer;
        &:hover {
          border-right: 24px solid #c3c3c3;
        }
        .yee-input {
          right: -24px;
          width: 24px;
          height: 100%;
        }
      }
      .margin-left {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 0;
        height: 124px;
        border-left: 24px solid #dadada;
        border-top: 24px solid transparent;
        border-bottom: 24px solid transparent;
        cursor: pointer;
        &:hover {
          border-left: 24px solid #c3c3c3;
        }
        .yee-input {
          left: -24px;
          width: 24px;
          height: 100%;
        }
      }
      .margin {
        position: absolute;
        top: 6px;
        left: 6px;
        font-weight: 500;
        color: rgba(0, 0, 0, 0.25);
        transform: scale(0.7);
      }
      .box {
        position: absolute;
        top: 30px;
        right: 30px;
        left: 30px;
        bottom: 30px;
        width: 147px;
        background-color: #eeeff2;
        .padding-top {
          position: absolute;
          top: 6px;
          left: 6px;
          width: 137px;
          height: 0;
          border-top: 24px solid #cecece;
          border-left: 24px solid transparent;
          border-right: 24px solid transparent;
          cursor: pointer;
          &:hover {
            border-top: 24px solid #b8b8b8;
          }
          .yee-input {
            top: -24px;
            height: 24px;
          }
        }
        .padding-bottom {
          position: absolute;
          bottom: 6px;
          left: 6px;
          width: 137px;
          height: 0;
          border-bottom: 24px solid #cecece;
          border-left: 24px solid transparent;
          border-right: 24px solid transparent;
          cursor: pointer;
          &:hover {
            border-bottom: 24px solid #b8b8b8;
          }
          .yee-input {
            bottom: -24px;
            height: 24px;
          }
        }
        .padding-left {
          position: absolute;
          top: 6px;
          left: 6px;
          width: 0;
          height: 64px;
          border-left: 24px solid #dadada;
          border-top: 24px solid transparent;
          border-bottom: 24px solid transparent;
          cursor: pointer;
          &:hover {
            border-left: 24px solid #c3c3c3;
          }
          .yee-input {
            left: -24px;
            width: 24px;
            height: 100%;
          }
        }
        .padding-right {
          position: absolute;
          top: 6px;
          right: 4px;
          width: 0;
          height: 64px;
          border-right: 24px solid #dadada;
          border-top: 24px solid transparent;
          border-bottom: 24px solid transparent;
          cursor: pointer;
          &:hover {
            border-right: 24px solid #c3c3c3;
          }
          .yee-input {
            right: -24px;
            width: 24px;
            height: 100%;
          }
        }
        .padding {
          position: absolute;
          top: 6px;
          left: 6px;
          font-weight: 500;
          color: rgba(0, 0, 0, 0.25);
          transform: scale(0.7);
        }
      }
    }

    /* ---------------------------------- size ---------------------------------- */
    .size {
      .size-radio {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        & > div {
          flex: 1;
        }
        & > span {
          width: 50px;
        }
      }
      .width {
        display: flex;
        flex-wrap: wrap;
        & > div {
          display: flex;
          align-items: center;
          width: 49%;
          margin-bottom: 8px;
          &:nth-child(odd) {
            margin-right: 2%;
          }
          & > div {
            flex: 1;
            .yee-input {
              height: 24px;
              line-height: 24px;
              padding: 0 0 0 3px;
              color: rgba(0, 0, 0, 0.65);
            }
            .yee-input-group-addon {
              line-height: 1;
            }
            .yee-select {
              width: 28px;
              line-height: 1;
              font-size: 16px;
              .yee-select-selection--single {
                height: inherit;
                margin-top: 0;
                display: inline-block;
                vertical-align: middle;
              }
              .yee-select-selection__rendered {
                margin: 0 auto;
                line-height: 1;
              }
              .yee-select-arrow {
                display: none;
              }
            }
          }
          & > span {
            width: 50px;
          }
        }
      }
      .overflow {
        display: flex;
        align-items: center;
        margin-bottom: 6px;
        & > span {
          width: 50px;
        }
        & > div {
          flex: 1;
        }
        .yee-radio-group {
          display: flex;
        }
        .yee-radio-group-solid {
          .yee-radio-button-wrapper {
            border: 0;
            color: rgba(0, 0, 0, 0.65);
            &::before {
              display: none;
            }
          }
          .yee-radio-button-wrapper-checked {
            background: #f0fff0;
            color: @yee-primary-color;
            box-shadow: none;
            svg {
              background: #f0fff0;
              fill: @yee-primary-color !important;
            }
          }
        }
      }
    }
    // typography
    .typography {
      .content {
        & > div {
          display: flex;
          align-items: center;
          margin-bottom: 8px;
          & > span {
            width: 50px;
          }
          & > div {
            flex: 1;
            display: flex;
            justify-content: space-between;
            .yee-input {
              height: 24px;
              padding: 0 20px 0 3px;
              color: rgba(0, 0, 0, 0.65);
            }
          }
          .radio-icon {
            display: flex;
            .yee-radio-button-wrapper {
              border: 0;
              color: rgba(0, 0, 0, 0.65);
              height: 24px;
              padding: 0;
              line-height: 24px;
              &::before {
                display: none;
              }
              &:not(:last-child) {
                margin-right: 4px;
              }
              &:hover {
                background: #f0fff0;
                svg {
                  fill: @yee-primary-color;
                }
              }
            }
            .yee-radio-button-wrapper-checked {
              background: #f0fff0;
              color: @yee-primary-color;
              box-shadow: none;
              svg {
                background: #f0fff0;
                fill: @yee-primary-color !important;
              }
            }
          }
        }
        .fontSize {
          & > span {
            width: 50px;
          }
          .yee-input {
            height: 24px;
            line-height: 24px;
            margin-top: 4px;
          }
          .yee-input-affix-wrapper .yee-input-suffix {
            right: 4px;
          }
        }
        .color {
          .yee-input-affix-wrapper {
            flex: 1;
          }
          .m-colorPicker {
            right: 6px;
            top: 4px;
          }
        }
        .textAlign {
          .radio-icon .yee-radio-button-wrapper {
            padding: 0 6px;
          }
        }
        .fontStyle .radio-icon .yee-radio-button-wrapper:not(:last-child) {
          margin-right: 2px;
        }
      }
    }
    // background
    .background {
      .content {
        & > div {
          display: flex;
          align-items: center;
          margin-bottom: 8px;
          &:last-child {
            margin-bottom: 0;
          }
          & > span {
            width: 50px;
          }
          & > div {
            flex: 1;
            width: 0;
            .yee-input {
              height: 24px;
              line-height: 24px;
              margin-top: 4px;
              padding: 0 20px 0 11px;
              color: rgba(0, 0, 0, 0.65);
            }
          }
          .code-hinter {
            min-height: 24px;
          }
        }
      }
      .color {
        .yee-input-affix-wrapper {
          flex: 1;
        }
        .m-colorPicker {
          right: 6px;
          top: 4px;
        }
      }
    }
    // border
    .border-style {
      .radius {
        .radius-top {
          display: flex;
          align-items: center;
          & > span {
            width: 40px;
          }
        }
        .yee-input-affix-wrapper {
          width: 50px;
          margin-left: 4px;
          .yee-input {
            width: 50px;
            height: 24px;
            line-height: 24px;
            margin-top: 4px;
            padding: 0 20px 0 3px;
            color: rgba(0, 0, 0, 0.65);
          }
          .yee-input-suffix {
            right: 6px;
          }
        }
        .radius-bottom {
          & > div {
            margin-left: 60px;
          }
        }
      }
      .border-bt {
        .left-content {
          position: relative;
          width: 120px;
          height: 80px;
          .top {
            position: absolute;
            top: 0;
            left: 28px;
          }
          .left {
            position: absolute;
            top: 30px;
            left: 0px;
          }
          .bottom {
            position: absolute;
            top: 60px;
            left: 28px;
          }
          .right {
            position: absolute;
            top: 30px;
            left: 56px;
          }
          .all {
            position: absolute;
            top: 30px;
            left: 28px;
          }
          .active svg {
            background: #f0fff0;
            fill: #52bf63 !important;
          }
        }
        .right-content {
          margin-left: 12px;
          & > div > span {
            margin-right: 8px;
          }
          .yee-input-affix-wrapper {
            flex: 1;
          }
          .yee-input {
            height: 24px;
            line-height: 24px;
            margin-top: 4px;
            padding: 0 20px 0 3px;
            color: rgba(0, 0, 0, 0.65);
          }
          .yee-input-suffix {
            right: 6px;
          }
          .m-colorPicker {
            right: 6px;
            top: 7px;
            bottom: 7px;
          }
        }
      }
      .radio-icon {
        display: flex;
        .yee-radio-button-wrapper {
          border: 0;
          color: rgba(0, 0, 0, 0.65);
          height: 16px;
          padding: 0;
          line-height: 16px;
          &::before {
            display: none;
          }
          &:not(:last-child) {
            margin-right: 4px;
          }
          &:hover {
            background: #f0fff0;
            svg {
              fill: @yee-primary-color;
            }
          }
        }
        .yee-radio-button-wrapper-checked {
          background: #f0fff0;
          color: @yee-primary-color;
          box-shadow: none;
          svg {
            background: #f0fff0;
            fill: @yee-primary-color !important;
          }
        }
      }
    }
    // position
    .position {
      .radio-icon {
        display: flex;
        .yee-radio-button-wrapper {
          border: 0;
          color: rgba(0, 0, 0, 0.65);
          height: 16px;
          padding: 0;
          line-height: 16px;
          margin-right: 2px;
          &::before {
            display: none;
          }
          &:hover {
            background: #f0fff0;
            svg {
              fill: @yee-primary-color;
            }
          }
        }
        .yee-radio-button-wrapper-checked {
          background: #f0fff0;
          color: @yee-primary-color;
          box-shadow: none;
          svg {
            background: #f0fff0;
            fill: @yee-primary-color !important;
          }
        }
      }
      .content {
        & > span {
          width: 50px;
        }
        & > div {
          flex: 1;
          .yee-input {
            height: 24px;
            padding: 0 20px 0 3px;
            color: rgba(0, 0, 0, 0.65);
          }
          .position-preview {
            position: relative;
            width: 160px;
            height: 76px;
            background: #eeeff2;
            padding: 4px 5px;
            margin: 8px 0 4px;
            .yee-input {
              padding: 0;
              z-index: 1;
              position: absolute;
              background-color: transparent;
              text-align: center;
              font-weight: 500;
              color: rgba(0, 0, 0, 0.65);
              outline: 0;
              border: 0;
              &:focus {
                box-shadow: none !important;
              }
            }
            .preview-top {
              position: absolute;
              top: 4px;
              left: 4px;
              width: 152px;
              height: 0;
              border-top: 24px solid #cecece;
              border-left: 37px solid transparent;
              border-right: 37px solid transparent;
              cursor: pointer;
              &:hover {
                border-top: 24px solid #b8b8b8;
              }
              .yee-input {
                top: -24px;
                height: 24px;
              }
            }
            .preview-bottom {
              position: absolute;
              bottom: 4px;
              left: 4px;
              width: 152px;
              height: 0;
              border-bottom: 24px solid #cecece;
              border-left: 37px solid transparent;
              border-right: 37px solid transparent;
              cursor: pointer;
              &:hover {
                border-bottom: 24px solid #b8b8b8;
              }
              .yee-input {
                bottom: -24px;
                height: 24px;
              }
            }
            .preview-right {
              position: absolute;
              top: 4px;
              right: 4px;
              width: 0;
              height: 68px;
              border-right: 37px solid #dadada;
              border-top: 24px solid transparent;
              border-bottom: 24px solid transparent;
              cursor: pointer;
              &:hover {
                border-right: 37px solid #c3c3c3;
              }
              .yee-input {
                right: -37px;
                width: 37px;
                height: 100%;
              }
            }
            .preview-left {
              position: absolute;
              top: 4px;
              left: 4px;
              width: 0;
              height: 68px;
              border-left: 37px solid #dadada;
              border-top: 24px solid transparent;
              border-bottom: 24px solid transparent;
              cursor: pointer;
              &:hover {
                border-left: 37px solid #c3c3c3;
              }
              .yee-input {
                left: -37px;
                width: 37px;
                height: 100%;
              }
            }
          }
          .relative-index {
            .relative-to {
              position: relative;
              height: 52px;
              margin-left: -10px;
              transform: scale(0.8);
              & > div {
                width: 108px;
                height: 30px;
                line-height: 30px;
                background: #ffffff;
                border: 1px solid rgba(0, 0, 0, 0.15);
                padding-left: 32px;
                color: rgba(0, 0, 0, 0.65);
                border-radius: 2px;
                svg {
                  position: absolute;
                  top: 7px;
                  left: 8px;
                }
              }
              .title {
                position: absolute;
                left: 32px;
                bottom: 0;
              }
            }
            .z-index {
              .yee-input {
                height: 30px;
                padding: 0 20px 0 8px;
              }
              .title {
                left: 8px;
              }
            }
          }
          .radio-icon {
            margin-top: 8px;
          }
        }
      }
      .float {
        .btn {
          height: 24px;
          line-height: 24px;
          background: #f7f7f7;
          border-radius: 3px;
          text-align: center;
          color: rgba(0, 0, 0, 0.65);
          svg {
            margin-left: 4px;
          }
        }
        .float-clear {
          & > div > span {
            width: 50px;
          }
          & > div > div {
            flex: 1;
          }
          .yee-radio-button-wrapper {
            height: 24px;
            line-height: 24px;
            padding: 0 6px;
          }
          .float-style .yee-radio-button-wrapper {
            padding: 0 13px;
          }
        }
      }
    }
    // 自定义样式 customStyle
    .custom-style {
      .code-hinter {
        min-height: 24px;
        margin-top: 4px;
      }
      .css-style {
        .code-hinter {
          min-height: 124px;
        }
      }
    }

    .higher-select {
      .yee-select-selection--single {
        height: 30px;
        line-height: 30px;
        .yee-select-selection__rendered {
          line-height: 28px;
        }
      }
    }
  }
}

/* ---------------------------------- 验证 --------------------------------- */
.validation-popover {
  .yee-popover-arrow {
    display: none;
  }
}
