/**
 * vue样式穿透 ::v-deep
 * 修改element样式
 */
::v-deep {

  // el-card 默认样式修改
  .el-card {
    .el-card__header {
      font-size: 18px;
      padding: 10px;
    }
  }

  .el-card.is-never-shadow {
    .el-card__header {
      opacity: 0.5;
    }
  }

  // el-drawer 默认样式修改
  .es-modal {
    .el-drawer__header {
      position: relative;
      padding: 16px 24px;
      border-bottom: 1px solid #e8e8e8;
      border-radius: 4px 4px 0 0;
      color: rgba(0, 0, 0, .85);
      font-weight: 500;
      font-size: 18px;
      margin-bottom: 0;
    }

    .el-drawer__body {
      position: relative;
      display: flex;
      flex-direction: column;

      .es-drawer__content {
        padding: 20px;
        flex: 1;
        overflow: auto;
      }

      .es-drawer__footer {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        border-top: 1px solid #e8e8e8;
        padding: 10px 16px;
        background: #fff;
        border-radius: 0 0 2px 2px;
        width: 100%;

        .el-button {
          width: 100px;
        }

        .el-button:last-child {
          margin-left: 30px;
        }
      }
    }
  }

  .easy-dialog {
    .el-dialog__header {
      position: relative;
      padding: 16px 24px;
      border-bottom: 1px solid #e8e8e8;
      border-radius: 4px 4px 0 0;
      color: rgba(0, 0, 0, .85);
      font-weight: 500;
      font-size: 18px;
      margin-bottom: 0;
    }

    .el-dialog__body {
      flex: 1;
      padding: 15px
    }

    .el-dialog__footer {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      border-top: 1px solid #e8e8e8;
      padding: 10px 16px;
      background: #fff;
      border-radius: 0 0 2px 2px;
      width: 100%;

      .el-button {
        width: 100px;
      }

    }
  }

  .table-tag {
    display: flex;
    justify-content: center;
    align-items: center;

    .el-tag {
      margin: 0 2px;
    }
  }
}
