@import "../../style/mixins/index";
@import "./mixin";

@enhanced-tree-select-panel-prefix-cls: ~"@{mk-prefix}-enhanced-tree-select-panel";

.@{enhanced-tree-select-panel-prefix-cls} {
  .reset-component;
  // @font-size-sm: 12px;
  width: 412px;
  max-height: 400px;
  min-height: 100px;
  overflow: auto;
  &-search {
    padding: 10px;
    border-bottom: 1px solid #eee;
    &-input {
      border: 1px solid #eee;
    }
    &-result {
      max-height: 300px;
      overflow: auto;
      padding: 5px 0;
      margin-bottom: 0;
      li {
        padding: 8px 20px;
        color: #333;
        &:hover {
          color: #3296fa;
          background-color: #f1f8ff;
          cursor: pointer;
        }
      }
    }
    &-empty {
      padding: 20px 10px;
      text-align: center;
      color: #bcbcbc;
    }
  }
  &-frequent {
    border-bottom: 1px solid #eee;
    &-title {
      padding: 4px 30px 0;
      line-height: 28px;
      font-size: 12px;
      color: #959595;
    }
    ul {
      list-style: none;
      overflow: hidden;
      padding: 8px 26px;
      margin: 0;
    }
    li {
      float: left;
      margin-right: 8px;
      line-height: 22px;
      border-radius: 2px;
      padding: 0 9px;
      border: 1px solid rgba(225, 225, 225, 1);
      color: #555;
      font-size: 12px;
      cursor: pointer;
    }
  }
  &-breadcrumbs {
    padding: 9px 27px;
    border-bottom: 1px solid #eee;
    .@{mk-prefix}-breadcrumb a {
      color: #3296fa;
    }
  }
  &-list {
    ul {
      padding: 0 10px 10px 10px;
      margin: 0;
    }
    li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      list-style: none;
      padding: 10px 10px 10px 17px;
      cursor: pointer;
      &:hover {
        background: #f0faff;
      }
      // line-height: 40px;
    }
    &-empty {
      padding: 10px 0 20px 27px;
      color: #bcbcbc;
    }
    .@{enhanced-tree-select-panel-prefix-cls}-list-icon {
      font-size: 16px;
      margin-right: 12px;
      color: #3296fa;
    }
    .@{enhanced-tree-select-panel-prefix-cls}-arrow-icon {
      color: #bcbcbc;
    }
  }
}
