CoreFiles by mySites.guru
_alerts.scss54 lines, 940 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
c63e130942977f83785b47f0220900e3
sha1
026c361f9e57ec58580e992d08d6c39df1882921
sha256
fd8ec3bb2c8c7a5bd5882e3d7818846b99420bed857f9283e09d80a3ef251391
// Alerts

.alert {
  margin: 1rem 0;
  border-right: 0;
  border-left: 0;
  border-radius: $border-radius-sm;

  &.alert-info {
    color: var(--atum-bg-dark);
    background-color: var(--atum-bg-dark-10);
    border: 1px solid var(--atum-bg-dark-20);
  }

  &.alert-warning {
    color: $state-warning-text;
    background-color: $state-warning-bg;
    border: 1px solid $state-warning-border;
  }

  &.alert-success {
    color: $state-success-text;
    background-color: $state-success-bg;
    border: 1px solid $state-success-border;
  }

  &.alert-error {
    color: $state-error-text;
    background-color: $state-error-bg;
    border: 1px solid $state-error-border;
  }
}

fieldset .alert {
  &.alert-info {
    margin: -1rem 0 1rem;
  }
}

.alert-heading {
  font-size: $font-size-lg;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

The same content is in 3 releases, Joomla 4.0.0-beta to 4.0.0-beta3. See them all, or every version of this file.