/*
 * @Description: 
 * @Author: zangsuyun
 * @Date: 2021-03-19 18:16:58
 * @LastEditors: wufan
 * @LastEditTime: 2021-05-30 10:19:47
 * @Copyright: © 2020 杭州杰竞科技有限公司 版权所有
 */

.question-bank-sider {
  position: relative;
  .sider-title {
    height: 22px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    line-height: 22px;
    margin-bottom: 16px;
  }
  .sider-search {
    margin-bottom: 16px;
  }
  .sider-btn {
    margin-bottom: 16px;
  }

  .sider-tree {
    width: 244px;
    overflow: scroll;
    height: ~'calc(100vh - 300px)';
    .empty-tree-tip {
      text-align: center;
      margin-top: 100%;
      .empty-tree-btn {
        color: #2966FF;
        cursor: pointer;
      }
    }
    .ant-tree.ant-tree-directory {
      font-size: 14px;
      font-weight: 400;
      color: #666666;
      width: 234px;
      .anticon {
        color: #666666;
      }
      .ant-tree-treenode {
        height: 44px;
        padding: 0;
        span {
          line-height: 44px;
          white-space: nowrap;
        }
        .ant-tree-node-content-wrapper.ant-tree-node-selected {
          color: #2966FF;
        }
      }
      .ant-tree-treenode-selected:hover::before,
      .ant-tree-treenode-selected::before {
        background: rgba(238, 243, 255, 1);
      }
    }
  }
}
