CoreFiles by mySites.guru
_alert.scss28 lines, 711 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
f1c8b70c90ee8d263738dd8625af527f
sha1
1ff645815af2fabd9014fea0e8e1d34de18fd5b4
sha256
e3bec0773fc4424c5453566bf6182596ff355fe4f3de561b167449ca463d78d0
// Alerts

@mixin alert-variant($background, $border, $body-color) {
  background-color: $background;
  border-color: $border;
  border-left: 10px solid $background;
  color: $body-color;

  hr {
    border-top-color: darken($background, 5%);
  }
  .alert-link {
    color: darken($background, 10%);
  }
}

.alert-success {
  @include alert-variant(theme-color("success"), theme-color("success"), $gray-200);
}
.alert-info {
  @include alert-variant(theme-color("info"), theme-color("info"), $gray-200);
}
.alert-warning {
  @include alert-variant(theme-color("warning"), theme-color("warning"), $gray-200);
}
.alert-danger {
  @include alert-variant(theme-color("danger"), theme-color("danger"), $gray-200);
}

The same content is in 2 releases, Joomla 4.0.0-alpha2 to 4.0.0-alpha3. See them all, or every version of this file.