/*
 * @Author: yuananting
 * @Date: 2021-02-22 12:02:34
 * @LastEditors: yuananting
 * @LastEditTime: 2021-03-24 15:57:12
 * @Description: 助学工具-题库-题库主页面侧边栏样式
 * @Copyrigh: © 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;
    width: 230px;
  }
  .sider-btn {
    margin-bottom: 16px;
  }

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

  .ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle {
    line-height: 37px !important;
    margin-right: 8px;
  }

  .ant-tree.ant-tree-directory .ant-tree-treenode:hover::before {
    background-color: #F3F6FA;
  }
}
