m-imguploader.css 1.55 KB
/***************************************************
* feature  :  变量配置;
* update   :  2015/02/05;
* use      :  ;
* extend   :  ;
* example  :  ;
* desc     :  ;
* feedback :  此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
*          -  demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
.bg-img {
  background: url('../../images/icon/icon.png') no-repeat;
  background-size: 150px;
}
/*
	@ m-imguploader.less
	@ 图片上传组件
*/
.img-upload-button {
  /*or inline-block*/
  padding: 0;
  text-align: center;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  width: 63px;
  height: 63px;
  float: left;
  border: 1px dashed #ddd;
}
.img-upload-disabled {
  display: none;
}
.img-upload-button span {
  background: url("../../images/upload.png") -48px 0px no-repeat;
  width: 30px;
  height: 30px;
  overflow: hidden;
  display: inline-block;
  text-indent: -9990px;
  background-size: 75px;
  margin: 17px;
}
.img-upload-list {
  list-style: none;
  display: inline-table;
}
.img-upload-list {
  float: left;
}
.img-upload-list li {
  position: relative;
}
.img-upload-list img {
  width: 62px;
  height: 62px;
}
.img-upload-list .img-upload-remove {
  position: absolute;
  top: 0px;
  right: 0px;
  display: block;
  width: 22px;
  height: 22px;
  z-index: 99;
  background: url("../../images/upload.png") -13px -12px no-repeat;
  background-size: 75px;
}
.img-upload-error {
  font-size: 12px;
  color: #ff0000;
}