CoreFiles by mySites.guru
_alerts.scss58 lines, 976 bytes, from Joomla_4.0.0-rc2-Release_Candidate-Full_Package.zip
Raw History Compare with 4.0.0-rc1
md5
ae6d2e463ca428845caaf92a1b247ab7
sha1
27d0b8940dd5579fdee035782c3bb968f44ac6c7
sha256
2c6d812f7adccb7bfffbcea05047ddff27aed1ffc2452dc5890e29db4b76b4e3
// 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;
  }
}

.alert-parent {
  margin-top: 0;
}

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

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

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

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

The same content is in 8 releases, Joomla 4.0.0-beta4 to 4.0.0-rc4. See them all, or every version of this file.