<commit_before>@import '../core/style/variables';
@import '../core/style/elevation';
@import '../core/a11y/a11y';


$mat-card-default-padding: 24px !default;
$mat-card-mobile-padding: 24px 16px !default;
$mat-card-border-radius: 2px !default;
$mat-card-header-size: 40px !default;

.mat-card {
  @include mat-elevation(2);
  @include mat-elevation-transition;
  display: block;
  position: relative;
  padding: $mat-card-default-padding;
  border-radius: $mat-card-border-radius;
  font-family: $mat-font-family;

  @include cdk-high-contrast {
    outline: solid 1px;
  }
}

.mat-card-flat {
  box-shadow: none;
}

// base styles for each card section preset (mat-card-content, etc)
%mat-card-section-base {
  display: block;
  margin-bottom: 16px;
}

.mat-card-title {
  @extend %mat-card-section-base;
  font-size: 24px;
  font-weight: 400;
}

.mat-card-subtitle {
  @extend %mat-card-section-base;
  font-size: $mat-body-font-size-base;
}
<commit_msg>fix(card): unable to override elevation (#3139)<commit_after>@import '../core/style/variables';
@import '../core/style/elevation';
@import '../core/a11y/a11y';


$mat-card-default-padding: 24px !default;
$mat-card-mobile-padding: 24px 16px !default;
$mat-card-border-radius: 2px !default;
$mat-card-header-size: 40px !default;

.mat-card {
  @include mat-elevation-transition;
  display: block;
  position: relative;
  padding: $mat-card-default-padding;
  border-radius: $mat-card-border-radius;
  font-family: $mat-font-family;

  &:not([class*='mat-elevation-z']) {
    @include mat-elevation(2);
  }

  @include cdk-high-contrast {
    outline: solid 1px;
  }
}

.mat-card-flat {
  box-shadow: none;
}

// base styles for each card section preset (mat-card-content, etc)
%mat-card-section-base {
  display: block;
  margin-bottom: 16px;
}

.mat-card-title {
  @extend %mat-card-section-base;
  font-size: 24px;
  font-weight: 400;
}

.mat-card-subtitle {
  @extend %mat-card-section-base;
  font-size: $mat-body-font-size-base;
}

{'fraction_non_alphanumeric': 0.1739567621920563, 'fraction_numerical': 0.024132730015082957, 'mean_word_length': 3.7156398104265405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7622774', 'n_tokens_mistral': 808, 'n_tokens_neox': 754, 'n_words': 142}