index.less 512 Bytes
Newer Older
wuhao's avatar
wuhao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
.diystyle {
  > .ant-upload-wrapper {
    > .ant-upload-select {
      width: 144px !important;
      height: 144px !important;
    }
  }
  .hoverable {
    .mask {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: "#fff";
      background-color: rgba(0, 0, 0, 0.5);
      opacity: 0;
      transition: all 0.2s;
      > * {
        color: #fff !important;
      }
    }
    &:hover {
      .mask {
        opacity: 1;
      }
    }
  }
}