CoreFiles by mySites.guru
_alerts.scss92 lines, 1,131 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
0ddaaee7a5b2f6631ffe7975aaead5fb
sha1
9dc25c54dc42bc2e9f3c72acd885eea73ef95fbe
sha256
d9e48f6a2a1aa57850816f0d421e061eb7e6a80a49c015640820bf6dc9fe129f
// Alerts

.j-main-container {

  .alert {
    margin: 10px;
  }

}

.notify-alerts {
  position: fixed;
  top: 15px;
  left: 50%;
  z-index: 1031;
  margin-left: 125px;
  transition: all .5s ease;
  transform: translateX(-50%);

  .alert {
    width: 100%;
    min-width: 280px;
    max-width: 400px;
    margin-bottom: .5rem;
    opacity: 0;
    animation: fadeIn ease-in 1;
    animation-duration: .35s;
    animation-delay: 0s;
    animation-fill-mode: forwards;

    &:first-of-type {
      animation-delay: .3s;
    }

  }

  &.fullWidth {
    left: 265px;

    .alert {
      width: auto;
      min-width: none;
      max-width: none;
      margin-left: 0;
    }

  }

  .close {
    position: relative;
    right: -.5rem;
    padding: .5rem;
    line-height: 1rem;
    color: $black;
    opacity: 1;
  }

}

.closed {

  .notify-alerts {
    margin-left: 0;
  }

  + .notify-alerts.fullWidth {
    left: 70px;
  }

}

.wrapper0 {

  .notify-alerts {
    margin-left: 0;
  }

}

@keyframes fadeIn {

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

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

}

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.