.asset-browse {
  display: flex;
  position: relative;
  background-color: #fff;
  height: 100%;

  .left {
    flex: 0 0 auto;
    border-right: 1px solid #EFEFEF;
    overflow: hidden;
  }

  .tree-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;
    background: #f2f5fc;
    position: absolute;
    left: 0px;
    top: calc(50% - 40px);
    width: 12px;
    height: 80px;
    border-radius: 0 12px 12px 0;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
  }

  .right {
    position: relative;
    display: flex;
    flex: 1;
    overflow: hidden;
    flex-direction: column;
  }

  .right-fullscreen {
    position: static;
  }

  .relation-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f5fc;
    position: absolute;
    left: 465px;
    top: calc(50% - 40px);
    width: 12px;
    height: 80px;
    border-radius: 0 12px 12px 0;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
  }

  &.asset-browse-relation-collapse {
    .relation-toggle {
      left: 0px;
    }
  }
}

.asset-browse-tree-collapse {
  .left {
    width: 0 !important;
  }

  .tree-toggle {
    left: 0;
  }

  .relation-toggle {
    left: calc(50% + 7.5px);
  }

  &.asset-browse-relation-collapse {
    .relation-toggle {
      left: 0;
    }
  }
}
