/**
 *
 * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). 
 * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc..  
 * 
 * This source code is licensed under the Apache license.
 * See LICENSE file in the project root for license information.
 *
 */
@import '../../../styles/variables.less';
@import '../../../styles/mixins.less';

@import './variables.less';
@import './mixins.less';


.@{auxo-prefix}-tree {

  .@{auxo-prefix}-tree-treenode {
    position: relative;

    &:hover {

      &::before {
        background-color: @color-background-page;
      }
    }

    &::before {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 4px;
      left: 0;
      transition: background-color .3s;
      content: '';
      pointer-events: none;
    } 
    
    &-selected {

      &::before {
        background-color: @color-background-page;
      }
      
    }

    .@{auxo-prefix}-tree-iconEle {
      height: 36px;
      line-height: 36px;
    }
   
    .@{auxo-prefix}-tree-node-content-wrapper {
      background: transparent;
      line-height: 36px;

      &:hover {
        background: transparent;
      }
 
    }

    .@{auxo-prefix}-tree-switcher {
      line-height: 36px;
    }

    .@{auxo-prefix}-tree-checkbox {
      margin: 10px 8px;
    }


  }

  &.@{auxo-prefix}-tree-show-line .@{auxo-prefix}-tree-switcher {
    background-color: transparent;
  }
}


