.img-cropped-view {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, .5);
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  user-select: none;
  @keyframes fade-in {
    from {
      opacity: 0;
      visibility: hidden;
    }
    to {
      opacity: 1;
      visibility: visible;
    }
  }
  @keyframes fade-out {
    from {
      opacity: 1;
      visibility: visible;
    }
    to {
      opacity: 0;
      visibility: hidden;
    }
  }
  &.fade-in {
    animation: fade-in ease-in .25s 1;
  }
  &.fade-out {
    animation: fade-out ease-out .25s 1;
  }
  .view-main {
    width: 500px;
    height: 390px;
    background-color: #fff;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .main-canvas {
    width: 500px;
    height: 350px;
    border-radius: 5px 5px 0 0;
    background-color: rgba(255, 255, 255, .5);
    cursor: move
  }
  .main-operation {
    height: 40px;
    border-radius: 0 0 5px 5px;
    background-color: #f2f4f6;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    .left,
    .right {
      height: 25px;
    }
    .operation-btn {
      cursor: pointer;
      display: inline-block;
      width: 70px;
      height: 25px;
      line-height: 23px;
      text-align: center;
      color: #1d85df;
      border: 1px solid #1d85df;
      border-radius: 2px;
      transition: all .25s ease;
      position: relative;
      overflow: hidden;
    }
    .operation-ok {
      margin-left: 10px;
      background-color: #1d85df;
      color: #fff;
      &:hover {
        background-color: #001529;
        border-color: #001529;
        color: #1d85df;
      }
    }
    .operation-select-file:hover,
    .operation-cancel:hover,
    .operation-scale:hover {
      background-color: #1d85df;
      color: #fff;
    }
    .file-form {
      display: inline-block;
      width: 100%;
      height: 100%;
      visibility: hidden;
      opacity: 0;
      position: absolute;
      top: 0;
      left: 0;
      z-index: -1;
    }
    .operation-scale {
      width: 25px;
      margin-left: 10px;
    }
  }
}