$font-family-H:'Helvetica Neue',Tahoma,'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', STHeitiSC, sans-serif;
$font-family-A:"Helvetica Neue",Tahoma,"PingFang SC","Hiragino Sans GB",SimSun,STHeitiSC,sans-serif;

//主色
	$C1:#004170;
	$C2:#005999;
	$C3:#1687d9;
	$C3Hover:#1E7BC0;
	$C4:#8CCCF8;
	$C5:#084E82;
//中性色
	$M1:#36434D;
	$M2:#667580;
	$M3:#ACB7BF;
	$M4:#E4EBF0;
	$M5:#F5F8FA;
	$M6:#ffffff;
	
	$Ease:cubic-bezier(.25,.1,.25,1);
	$Spring:cubic-bezier(.66,1.65,.23,.87);
	$Spring2:cubic-bezier(.44,1.53,.32,.92);
	$Linear:linear;

.base-tree-component{
  border-radius:2px;
  overflow: auto;

  &::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: transparent;
  }

  &::-webkit-scrollbar-track {
    border-radius: 0;
    background-color: transparent;
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 6px;
  }
  &::-webkit-scrollbar {
    &:hover{
      width: 10px;
      height: 10px;
    }
  }
  &::-webkit-scrollbar-track {
    &:hover{
      background-color: rgba(0, 0, 0, .1);
    }
  }
  &::-webkit-scrollbar-thumb {
    &:hover{
      margin: 2px;
      background-color: rgba(0, 0, 0, 0.3);
    }
  }
  li{
    .disable-click{
      cursor: no-drop !important;
      .text_tv_parent{
        color: $M3 !important;
      }
      .icon-tv{
        cursor: pointer !important;
      }
    }
  }
  .base-tree-view {
    margin:10px 0;
    .hover-animation{
      transition: top 0.2s cubic-bezier(.25,.1,.25,1);
      transition-delay: 0s!important;
    }
    .click-animation{
      transition: top 0.2s cubic-bezier(.25,.1,.25,1);
      transition-delay: 0s !important;
    }
    .us-no-data {
      width: 100%;
      height: 200px;
      position: relative;
      .pc-sys-no-data-svg {
        position: absolute;
        margin: auto;
        top: 0; 
        left: 0; 
        bottom: 0; 
        right: 0;                
        width: 138px;
        height: 33px;
        display: inline-block;
      }
    }
    li li {
      padding: 0;
      padding-left: 20px;
    }
    .text_tv_parent{
      display: inline-block;
    }
    .title-tv {
      border-left: none;
      padding: 5px 0px 5px 0;
      color: $M1;
      *zoom: 1;
      white-space: nowrap;
      cursor: pointer;
      .text_tv_parent{
        .empty-child-text{
          margin-left: 34px;
        }
        .empty-child-text-first{
          margin-left: 27px;
        }
      }
      .has-child-icon{
        margin-left: 7px;
      }
      .text_tv {
        font-size: 12px;
        line-height: 20px;
        font-family:$font-family-A;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        float: left;
        display: inline-block;
        text-overflow: ellipsis;
        max-width: 120px;
      }
    }
    ul ul {
      display: none;
    }
    .icon-tv {
      width: 16px;
      height: 16px;
      color: #acb7bf;
      display: inline-block;
      vertical-align: middle;
      position: relative;
      float: left;
      top: 2px;
      padding-right: 10px;
      &:hover{
        color:$M2;
      };
    }
    .unfold > ul {
      display: block;
    }
  }
  .base-tree-view {
    padding: 0 15px 0 15px;
    position: relative;
    .hover-style {
      height: 30px;
      width: 100%;
      position: absolute;
      left: 0;
      background-color: $M5;
      z-index: -1;
    }
    .click-style {
      height: 30px;
      width: 100%;
      color: #005999;
      position: absolute;
      left: 0;
      z-index: -1;
      background-color: #f5f8fa;
      font-family:$font-family-A;
    }
  }
}
.base-tree-component-mac{
  border-radius:2px;
  .base-tree-view {
    margin:10px 0;
    .us-no-data {
      width: 100%;
      height: 200px;
      position: relative;
      .pc-sys-no-data-svg {
        position: absolute;
        margin: auto;
        top: 0; 
        left: 0; 
        bottom: 0; 
        right: 0;                
        width: 138px;
        height: 33px;
        display: inline-block;
      }
    }
    li li {
      padding: 0;
      padding-left: 20px;
    }
    
    .title-tv {
      border-left:3px solid transparent;
      padding: 5px 10px 5px 12px;
      color: $M1;
      *zoom: 1;
      white-space: nowrap;
      cursor: pointer;
      .text_tv_parent{
        .empty-child-text{
          margin-left: 34px;
        }
      }
      .has-child-icon{
        margin-left: 7px;
      }
      .text_tv {
        font-size: 12px;
        line-height: 20px;
        font-family:$font-family-A;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        float: left;
        display: inline-block;
        text-overflow: ellipsis;
        max-width: 120px;
      }
    }
    ul ul {
      display: none;
    }
    .icon-tv {
      width: 16px;
      height: 16px;
      color: #acb7bf;
      display: inline-block;
      vertical-align: middle;
      position: relative;
      float: left;
      top: 2px;
      margin-right: 10px;
      &:hover{
        color:$M2;
      };
    }
    .unfold > ul {
      display: block;
    }
  }
  .base-tree-view {
    position: relative;
    .hover-style {
      height: 30px;
      position: absolute;
      left: 0;
      background-color: $M5;
      z-index: -1;
    }
    .click-style {
      height: 30px;
      width: 144px;
      color: #005999;
      position: absolute;
      left: 0;
      z-index: -1;
      background-color: #f5f8fa;
      font-family:$font-family-A;
    }
  }
}