king
2021-05-26 f66e19dd13af07ee466306632ad43c72f1f16ae7
src/tabviews/custom/components/card/data-card/index.scss
@@ -3,7 +3,7 @@
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100px;
  min-height: 20px;
  >.button-list.toolbar-button {
    padding: 0;
@@ -17,6 +17,26 @@
  .data-zoom {
    display: flex;
    position: relative;
  }
  .data-zoom.radio, .data-zoom.checkbox {
    .card-row-list {
      >.ant-col:not(.active):not(.selected):hover {
        >.card-item-box {
          border-color: #69c0ff!important;
          box-shadow: 0 0 4px #69c0ff!important;
        }
      }
    }
  }
  .data-zoom.true {
    .card-row-list {
      >.ant-col:hover {
        >.card-item-box {
          z-index: 1;
          transform: scale(1.05);
        }
      }
    }
  }
  .prev-page {
    width: 20px;
@@ -50,16 +70,20 @@
    flex: 10;
    .card-item-box {
      position: relative;
      background-color: #ffffff;
      transition: all 0.3s;
    }
    >.pointer {
      cursor: pointer;
    }
    >.active >.card-item-box {
      border-color: #1890ff!important;
      box-shadow: 0 0 3px #1890ff;
      box-shadow: 0 0 4px #1890ff;
    }
    >.selected >.card-item-box {
      border-color: #69c0ff!important;
      box-shadow: 0 0 1px #69c0ff;
      box-shadow: 0 0 4px #69c0ff;
    }
  }
  .card-item-box {
@@ -101,6 +125,28 @@
    margin: 10px;
    text-align: right;
  }
  .trigger-button {
    .card-item-box {
      .card-cell-list {
        position: unset;
        .mk-cell-btn {
          position: unset;
          .ant-btn {
            position: unset;
          }
          .ant-btn::after {
            content: ' ';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            cursor: pointer;
          }
        }
      }
    }
  }
}
.custom-card-box::after {