CoreFiles by mySites.guru
_alerts.scss35 lines, 539 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
2f4f522f67005863b15d902ffd1f0350
sha1
a1dd1e8b05fe3a7b7ed9ea4e23dcf66315a34d18
sha256
69497cef49ac5c4e2c34b7e38e5cc13f3e056ec4942c9ef2b09d6b5cd78edca2
// Alerts

.j-main-container {
  .alert {
    margin: .75rem;
  }

}

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

@keyframes fadeIn {

  from {
    opacity: 0;
    transform: translateY(-1rem);
  }

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

/* Only apply margin when #system-message-container contains a visible joomla-alert */
#system-message-container:has(joomla-alert) {
  margin-top: 1em;
}

/* Remove margin when no <joomla-alert> exists */
#system-message-container:not(:has(joomla-alert)) {
  margin-top: 0;
}

The same content is in 110 releases, Joomla 5.2.2-rc1 to 6.3.0-alpha1. See them all, or every version of this file.