appeal.css 3.18 KB
.appeal {
  box-sizing: border-box;
  background: #f5f5f5;
  font-family: 'Microsoft YaHei', 'WenQuanYi Micro Hei', SimHei, tahoma, sans-serif;
  font-weight: normal;
}
.appealing .section-form label {
  margin: 0;
  box-sizing: border-box;
  display: block;
  height: 40px;
  padding: 0 15px;
  padding-top: 16px;
  padding-bottom: 10px;
  font-size: 14px;
  line-height: 14px;
  color: #666;
  background: #f5f5f5;
  font-weight: lighter;
}
.appealing .section-form .form-content {
  padding: 15px;
  border-top: 1px solid #ddd;
  background: #fff;
}
.appealing .section-form .content {
  display: block;
  width: 100%;
  height: 90px;
  font-size: 14px;
  line-height: 20px;
  overflow: auto;
  outline: none;
  resize: none;
}
.appealing .section-form .desc {
  color: #666;
  line-height: 20px;
}
.appealing .section-form .upload-img-list {
  margin-top: 15px;
  margin-left: -10px;
}
.appealing .upload-img-list .item {
  width: 65px;
  height: 65px;
  float: left;
  margin-left: 10px;
  position: relative;
}
.appealing .upload-img-list .item.plus {
  position: relative;
}
.appealing .upload-img-list .item.plus:before,
.appealing .upload-img-list .item.plus:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 4px;
  margin: -2px 0 0 -30%;
  background-color: #ccc;
}
.appealing .upload-img-list .item.plus:after {
  width: 4px;
  height: 60%;
  margin: -30% 0 0 -2px;
}
.appealing .upload-img-list .btn-upload {
  width: 65px;
  height: 65px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  filter: alpha(opacity=0);
}
.appealing .upload-img-list img {
  max-width: 100%;
}
.appealing .upload-img-list .remove {
  position: absolute;
  width: 24px;
  height: 24px;
  right: -8px;
  top: -8px;
  border-radius: 100%;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.appealing .upload-img-list .remove:before,
.appealing .upload-img-list .remove:after {
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  background-color: #fff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.appealing .upload-img-list .remove:after {
  height: 16px;
  width: 2px;
  margin: -8px 0 0 -1px;
}
#preview {
  width: 200px;
  margin-left: -100px;
  -webkit-transform: translate(0, 100%) translateZ(0);
  -moz-transform: translate(0, 100%) translateZ(0);
  -ms-transform: translate(0, 100%) translateZ(0);
  -o-transform: translate(0, 100%) translateZ(0);
  transform: translate(0, 100%) translateZ(0);
}
#preview .remove {
  position: absolute;
  width: 24px;
  height: 24px;
  right: -8px;
  top: -8px;
  border-radius: 100%;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: none;
}
#preview .remove:before,
#preview .remove:after {
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  background-color: #fff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#preview .remove:after {
  height: 16px;
  width: 2px;
  margin: -8px 0 0 -1px;
}
.m-animate-show#preview .remove {
  display: block;
}