king
2023-11-12 da5ff4b9866a2d458d950f0c743ab9244e16c66d
src/tabviews/custom/components/card/double-data-card/index.scss
@@ -6,17 +6,23 @@
  min-height: 20px;
  overflow-y: auto;
  >.button-list.toolbar-button {
    padding: 0;
    line-height: 45px;
  .pickup-wrap {
    float: right;
    button {
      margin-right: 0px;
      margin-bottom: 0px;
      min-height: 28px;
      height: auto;
      margin-top: 3px;
    }
  }
  .pickup-wrap + div {
    clear: both;
  }
  .button-list + .pickup-wrap {
    position: relative;
    button {
      position: absolute;
      bottom: 0;
      right: 0;
    }
  }
  .data-zoom {
    display: flex;
    position: relative;
@@ -33,18 +39,9 @@
      }
    }
  }
  .data-zoom.scale {
    .card-row-list {
      .mk-card:hover {
        >.card-item-box {
          z-index: 1;
          transform: scale(1.05);
        }
      }
    }
  }
  .card-row-list {
    flex: 10;
    max-width: 100%;
  }
  .card-row-list.flex-layout {
    display: flex;
@@ -52,24 +49,6 @@
    >.ant-col {
      width: 5%;
      flex: 1;
    }
  }
  .card-row-list.float-center {
    text-align: center;
    >.ant-col {
      display: inline-block;
      float: none;
      text-align: left;
      vertical-align: top;
    }
  }
  .card-row-list.float-right {
    text-align: right;
    >.ant-col {
      display: inline-block;
      float: none;
      text-align: left;
      vertical-align: top;
    }
  }
  .card-item-box {
@@ -87,7 +66,6 @@
  }
  .ant-empty {
    width: 100%;
    min-height: 100px;
    padding-top: 15px;
@@ -142,6 +120,7 @@
    display: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    box-sizing: content-box;
@@ -164,7 +143,6 @@
    border-color: #ffffff;
    transform: rotate(45deg);
  }
  .data-zoom.check.square {
    .circle-select {
      border-radius: 0!important;
@@ -300,10 +278,20 @@
  .data-zoom-box {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    padding-bottom: 10px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    .extend-card:first-child {
      position: sticky;
      top: 0px;
      z-index: 2;
    }
  }
  .data-zoom-box::-webkit-scrollbar {
    height: 7px;
    height: 9px;
    width: 9px;
  }
  .data-zoom-box::-webkit-scrollbar-thumb {
    border-radius: 5px;
@@ -317,6 +305,22 @@
    background: rgba(0, 0, 0, 0);
  }
}
.double-data-card-box.shifting {
  .normal-header:not(.header-search) + .toolbar-button {
    position: absolute;
    top: 0px;
    right: 0px;
    button {
      margin-bottom: 0px!important;
    }
  }
  .normal-header:not(.header-search) + .toolbar-button + .pickup-wrap{
    position: relative;
    button {
      position: relative;
    }
  }
}
.double-data-card-box::-webkit-scrollbar {
  width: 7px;
  height: 7px;