.dec-home {
  padding: 20px;
  .add-wrap {
    text-align: right;
    margin: 10px 0 20px;
    > span {
      width: 300px;
      margin-right: 10px;
    }
  }
  .add-btn {
    height: 40px;
    border-radius: 8px;
    margin: 0 10px;
  }
  .list-wrap {
    min-height: 520px;
    overflow: hidden;
    margin: 0 -10px;
  }
  .item-wrap {
    float: left;
    padding: 10px;
  }
  .item-box {
    border: 1px solid #d9d9d9;
    box-shadow: @box-shadow-base;
  }
  .img-wrap {
    position: relative;
    width: 280px;
    height: 420px;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
    &:hover {
      .action-wrap {
        z-index: 1;
        button {
          transform: scale(1, 1);
        }
      }
    }
  }
  .is-home {
    color: #ffffff;
    background: @error-color;
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 74px;
    line-height: 30px;
    font-size: 18px;
    text-align: center;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
  }
  .is-temp {
    color: #ffffff;
    background: #999999;
    position: absolute;
    bottom: 0;
    right: 0;
    height: 30px;
    width: 74px;
    line-height: 30px;
    font-size: 14px;
    text-align: center;
    z-index: 2;
    cursor: pointer;
  }
  .action-wrap {
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(#000, 0.2);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    z-index: -1;
    &:hover {
      z-index: 1;
      button {
        transform: scale(1, 1);
      }
    }
    button {
      font-size: 26px;
      height: 54px;
      width: 54px;
      transform: scale(0, 0);
      transition: 1s;
    }
    button + button {
      margin-left: 16px;
    }
  }
  .info-wrap {
    padding: 10px;
    width: 280px;
    height: 80px;
    position: relative;
    color: @text-color;
  }
  .info-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .set-temp {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
  }

  .pager-wrap {
    overflow: hidden;
    padding: 20px 0;
    .pager-info {
      float: left;
      height: 32px;
      line-height: 32px;
    }
    > ul {
      float: right;
    }
  }
  .ic-opt {
    font-size: 18px;
    a {
      margin: 0 5px;
    }
  }
  .table-name {
    i {
      color: #ff4444;
      font-size: 20px;
      margin-left: 4px;
    }
  }
}
