@tree-prefix-cls: ~'@{ant-prefix}-tree';
@tree-checkbox-prefix-cls: ~'@{ant-prefix}-tree-checkbox';

.@{tree-prefix-cls} {
  &-switcher {
    // color: @tree-switcher-color;
    &_open {
      color: @primary-color;
    }
  }

  .@{tree-prefix-cls}-treenode {
    padding: @padding-xs / 2 0;
  }
}
// .ant-tree .ant-tree-node-content-wrapper:hover {
//   background-color: @tree-node-hover-bg;
// }

.@{tree-checkbox-prefix-cls} {
  &-indeterminate {
    .@{tree-checkbox-prefix-cls} {
      &-inner {
        background-color: @primary-color;
        border-color: @primary-color;
      }

      &-inner::after {
        @indeterminate-width: @checkbox-size - 5px;
        @indeterminate-height: @checkbox-size - 14px;

        width: @indeterminate-width;
        height: @indeterminate-height;
        background-color: @checkbox-check-color;
      }
    }
  }

  &-checked::after {
    border-radius: @border-radius-sm;
  }

  &-inner {
    border-radius: @border-radius-sm;
  }
}
