@import '~antd/lib/cascader/style/index';

@import '../../themes/default/index';
@import '../../mixins/index';

.@{cascader-prefix-cls} {
    &-picker {
      i {
        &:after {
          font-family: 'polestar' !important;
          content: '\E072';
        }
        svg {
          display: none;
        }
      }
      &-arrow{
        font-size: @font-size-base;
        &:hover {
          color: @primary-color;
        }
      }
    }

    &-menu {
      border-right: @border-width-base @border-style-base @border-color-split;
      border: 1px solid @primary-3;
      border-right-color: transparent;

      &:first-child {
        border-radius: @border-radius-base 0 0 @border-radius-base;
      }

      &:last-child {
        border-right: 1px solid @primary-3;
      }
    }

    &-menu-item {
      &:hover {
        background: @item-hover-bg;
        color: @primary-color;
      }
      &-active:not(&-disabled) {
        &,
        &:hover {
            background: @cascader-menu-item-active;
            color: @navy-5;
            font-weight: normal;
        }
      }
      &-expand {
        &-active:after {
            color: @primary-6;
        }
        &-icon {
          &:after {
            font-family: 'polestar' !important;
            content: '\E074';
          }
          i {
            display: none;
          }
        }
      }
    }

}
