@import '../../style/index.less';

.hide {
  opacity: 0;
  transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
}

.imageview {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 900;
  background-color: #000;
  overflow: hidden;
  animation: easeshow 0.25s;

  div, ul, li, a {
    padding: 0;
    margin: 0;
  }
}

.imageview .spinner {
  width: 40 * @hd;
  height: 40 * @hd;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.imageview .double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.imageview .double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.imageview .errorpage {
  position: absolute;
  font-size: 16 * @hd;
  text-align: center;
  color: rgb(170, 170, 170);
  top: 28%;
  left: 50%;
  margin-left: -70 * @hd;
}
.imageview .errorpage:before {
  content:'';
  display: block;
  width: 150 * @hd;
  height: 140 * @hd;
  margin: 0 auto;
  padding-bottom: 20 * @hd;
  background: url('../assets/images/net-error.png') no-repeat;
  background-size: 100%;
  opacity: .4;
}

@keyframes easeshow {
  from { opacity: 0; }
  to { opacity: 1; }
}
@-webkit-keyframes easeshow {
  from { opacity: 0; }
  to { opacity: 1; }
}

.imagelist {
  display: -webkit-box;
  display:-moz-box;
  height: 100%;
  list-style-type: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}
.imagelist .imagelist-item {
  display: -webkit-box;
  -webkit-box-pack: center;
  -webkit-box-align: center;
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
  background-color: #000;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
.imagelist .imagelist-item .imagelist-item-img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% {
      transform: scale(1.0);
      -webkit-transform: scale(1.0);
    }
}

.imageview-delete-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 45 * @hd;
  background: rgba(0,0,0,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
}

.imageview-del-icon {
  font-size: 17 * @hd;
  color: #fff;
}
