king
2023-05-09 7b0dbecd1d6155d26ec67be0a47a16264c738c85
src/tabviews/custom/components/tree/antd-tree/index.scss
@@ -4,7 +4,7 @@
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100px;
  min-height: 50px;
  .tree-header {
    position: relative;
@@ -24,9 +24,13 @@
      position: relative;
      z-index: 1;
    }
    .title.search-unable {
      display: block;
      float: none;
    }
    .ant-input-search.ant-input-affix-wrapper {
      width: calc(100% - 140px);
      max-width: 130px;
      width: 50%;
      max-width: 150px;
      margin-top: 6px;
      float: right;
      height: 30px;
@@ -41,7 +45,7 @@
    }
  }
  .tree-box {
    overflow-x: auto;
    overflow: auto;
    padding-bottom: 10px;
    .ant-tree-node-content-wrapper-close > span > span > .anticon-folder-open {
@@ -50,9 +54,19 @@
    .ant-tree-node-content-wrapper-open > span > span > .anticon-folder {
      display: none;
    }
    .ant-tree-node-content-wrapper {
      position: relative;
      .anticon-more {
        position: absolute;
        right: 0px;
        padding: 5px 10px;
        color: var(--mk-sys-color);
      }
    }
  }
  .tree-box::-webkit-scrollbar {
    height: 10px;
    width: 7px;
  }
  .tree-box::-webkit-scrollbar-thumb {
    border-radius: 5px;
@@ -61,7 +75,7 @@
  }
  .tree-box::-webkit-scrollbar-track {/*滚动条里面轨道*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(0, 0, 0, 0);
  }
@@ -73,6 +87,10 @@
    .ant-empty-image {
      height: 60px;
    }
  }
  .tree-header + .ant-empty {
    position: static;
    margin-top: 20px;
  }
  .loading-mask {
    position: absolute;
@@ -95,3 +113,25 @@
    }
  }
}
.mk-tree-dropdown-wrap {
  box-shadow: 0 0 2px #bcbcbc;
  background: #ffffff;
  min-width: 85px;
  .button-list.toolbar-button {
    padding: 0px;
    button {
      display: block;
      margin: 0!important;
      width: 100%;
      border-radius: 0px;
      padding-left: 15px!important;
      .anticon {
        display: none;
      }
      .anticon + span {
        margin-left: 0px;
      }
    }
  }
}