/* 听说这是最强清除浮动的搞法？ */
.up-uploader::after {
  content: '';
  display: block;
  clear: both;
}

.up-picker {
  float: left;
  border: 1px solid #cfdadd;
  width: 120px;
  height: 80px;
  font-size: 20px;
  color: #8e999c;
  text-align: center;
  line-height: 80px;
  cursor: pointer;
  margin: 0 5px 5px 0;
}

.up-picker:hover {
  border-color: #23b7e5;
}

.up-items-wrapper {
  float: left;
}

.up-item {
  position: relative;
  line-height: 76px;
  /* float: left; */
  border: 1px solid #cfdadd;
  width: 120px;
  height: 80px;
  text-align: center;
  /* margin-right: 5px; */
  display: inline-block;
  margin: 0 5px 5px 0;
}

.up-item:hover .up-actions {
  display: initial;
}

.up-image {
  max-width: 100%;
  max-height: 100%;
}

.up-file {
  font-size: 20px;
  color: #7266ba;
  line-height: 80px;
}

.up-actions {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(204, 204, 204, .9);
  line-height: 80px;
}

.up-actions .up-action {
  font-size: 12px;
  font-weight: bolder;
  cursor: pointer;
  color: #6254b2;
}

.up-actions .up-remove {
  color: #ee3939;
}


/* .up-actions{ display: unset; opacity: 0;} */


.up-picker,
.up-item {
  border-radius: 4px;
  transition: all .3s ease;
  border: 1px solid #EEE;
}

.up-item img {
  border-radius: 4px;
  vertical-align: top;
}

.up-picker:hover,
.up-item:hover,
.up-action:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.up-actions {
  background: rgba(0, 0, 0, 0.1);
  transition: all .3s ease;
  display: unset;
  line-height: normal;
  text-align: right;
}

.up-actions .up-remove {
  padding: 5px 10px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 0, 0, 0.8);
  /* border-bottom-left-radius: 4px; */
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 50px;
  height: 28px;
  text-align: center;
}

.up-item:hover .up-actions {
  opacity: 1;
}

.up-action:hover {
  color: #FFF;
}

.up-picker {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.up-picker i.layui-icon {
  display: block;
  font-size: 40px;
}

.up-picker .upText {
  display: block;
  font-size: 16px;
}

.upTitle {
  display: block;
  line-height: initial;
}

.upTitle .upText {
  font-size: inherit;
}

.upTitle .tip {
  font-size: 12px;
  white-space: normal;
}

.upTitle i.layui-icon {
  font-size: 160%;
}

.uploadss.nowrap {
  white-space: nowrap;
  overflow: hidden;
  overflow-x: auto;
}

.up-actions {
  /* display: none; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(204, 204, 204, .9);
  /* line-height: 80px; */
}