$status-color: #409eff;
.s-grid-card {
  overflow-y: auto;
  overflow-x: hidden;
  .s-grid-card-main {
    width: 100%;
    .s-grid-card-item {
      padding: 5px;
      height: 188px;
      float: left;
      position: relative;
      transition: all .3s;
      overflow: hidden;
      &.card-status:before {
        content:"";
        display:block;
        border-radius:5px 5px 0 0;
        width:40px;
        height:5px;
        position:absolute;
        top: 0;
        right: 80px;
        background:#6f8cb1;
      }
      &.card-status:after {
        content:"";
        display:block;
        border-radius:0 5px 5px 0;
        width:5px;
        height:40px;
        position:absolute;
        right:0;
        top: 80px;
        background: #6f8cb1;
      }
      .s-grid-card-status {
        display:inline-block;
        text-align:center;
        width:200px;
        height:30px;
        line-height:30px;
        position:absolute;
        top:30px;
        right:-50px;
        z-index:2;
        overflow:hidden;
        transform:rotate(45deg);
        -ms-transform:rotate(45deg);
        -moz-transform:rotate(45deg);
        -webkit-transform:rotate(45deg);
        -o-transform:rotate(45deg);
        background: $status-color;
        color: white;
      }
      $action-size: 14px;
      .s-grid-card-action {
        position: absolute;
        right: 15px;
        top: 12px;
        height: $action-size;
        width: $action-size;
        cursor: pointer;
        &:focus {
          box-shadow: none;
        }
        &>.s-button {
          border: none;
          padding: 0;
          height: $action-size;
          line-height: $action-size;
          .s-button--dropdown-arrow {
            display: none;
          }
        }
      }
      .s-grid-card-item-wrapper {
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0,0,0,.09);
        border: 1px solid rgba(0,0,0,.09);
        border-radius: 4px;
        .s-grid-card-body {
          padding: 0 15px;
          .s-grid-card-title {
            font-size: 1.25em;
            height: 35px;
            vertical-align: middle;
            display: table-cell;
            .s-grid-card-column {
              padding: 0 5px;
              border-left: 5px solid #3E8CE6;
              line-height: 15px;
            }
          }
          .s-grid-card-content {
            height: 140px;
            overflow-y: auto;
            .s-grid-card-column {
              padding-left: 20px;
              margin-top: 5px;
            }
          }
        }
        .s-grid-card-action {
          margin: 0;
          padding: 0;
          list-style: none;
          background: #fafafa;
          display: inline-block;
          border-top: 1px solid #e8e8e8;
          zoom: 1;
          position: absolute;
          bottom: 5px;
          height: 48px;
          width: calc(100% - 12px);
          border-radius: 0 0 4px 4px;
          .s-grid-card-action-item {
            width: 33%;
            margin: 12px 0;
            display: inline-block;
            text-align: center;
            cursor: pointer;
            &:hover {
              color: #1890ff;
            }
            &:not(:last-child) {
              border-right: 1px solid #e8e8e8;
            }
          }
        }
      }

    }
  }
  .s-grid-card-empty-placeholder {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

}
