/* stylelint-disable */
.list {
  margin: 0 -2px;
  .item {
    float: left;
    position: relative;
    width: 184px;
    height: 228px;
    margin: 20px 32px;
    list-style: none;
    cursor: pointer;
    .info {
      width: 184px;
      height: 184px;
      border: 1px solid #d1d1d1;
    }

    .avatar {
      position: relative;
      overflow: hidden;
      height: 100%;
    }

    .avatar > img,
    .avatar > video {
      display: block;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      max-width: 100%;
      max-height: 100%;
      margin: auto;
    }

    .avatar p {
      position: absolute;
      bottom: 0;
      width: 100%;
      height: 48px;
      padding: 5px 0;
      font-size: 13px;
      line-height: 20px;
    }

    .upvote {
      position: absolute;
      top: 8px;
      right: 8px;
      height: 20px;
      padding: 1px 6px;
      border: 1px solid #e1e1e1;
      border-radius: 8px;
      line-height: 17px;
      color: #ffa800;
      background-color: #fff;
      cursor: pointer;
    }

    .upvote.vote {
      background-color: #fff;
    }

    .upvote i {
      vertical-align: top;
    }

    .vote i {
      color: #bcbcbc;
    }

    .upvote span {
      margin-left: 4px;
      vertical-align: top;
    }

    .vote span {
      margin-left: 4px;
      color: #bcbcbc;
      vertical-align: top;
    }

    .msg {
      overflow: hidden;
      height: 40px;
      padding-top: 8px;
      font-size: 12px;
      line-height: 16px;
      color: #898989;
    }

    .handle {
      display: none;
      height: 40px;
      text-align: center;
    }

    .handle a {
      display: inline-block;
      width: 42px;
      height: 40px;
      padding: 9px 0;
      color: #898989;
      text-align: center;
      cursor: pointer;
    }

    .handle a span {
      float: left;
      width: 0;
      height: 14px;
      margin-top: 2px;
      border-left: 1px solid #cacaca;
    }

    .handle a span:last-child {
      float: right;
    }

    .handle .favorited i {
      color: #ffb400;
    }

    /* 图片附件 */
    .picture .imageName {
      display: none;
      -moz-opacity: 0.5; /* 支持FF */
      opacity: 0.5;
      position: absolute;
      bottom: 0;
      width: 100%;
      height: 48px;
      color: #fff;
      text-align: center;
      background-color: #000;
      filter: alpha(opacity=50); /* 支持IE */
    }
    //名字超出隐藏
    .fileNameDiv{
      overflow: hidden;
      position: relative;
      width: 100%;
      height: 50px;
    }

    .picture p {
      display: none;
      position: absolute;
      bottom: 0;
      width: 100%;
      color: #fff;
      text-align: center;
      word-wrap: break-word;
    }

    /* 其他附件 */
    .attachment i {
      display: block;
      margin: 0 auto;
      font-size: 80px;
      text-align: center;
    }

    .attachment p {
      color: #4f78af;
      text-align: center;
    }

    .desc {
      text-align: center;
    }
  }
  .item:hover {
    border: 1px solid #ff8928;
    .picture .imageName {
      display: block;
    }
    .picture p {
      display: block;
    }
    .info {
      width: 182px;
      height: 182px;
      border: none;
    }
    .upvote {
      top: 7px;
      right: 7px;
    }
    .msg {
      display: none;
    }
    .handle {
      display: block;
    }
  }
}
