CoreFiles by mySites.guru
_alerts.scss85 lines, 1,124 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
7aaa74d5cb1af493d6138f10faa84f34
sha1
1cb3aaf3c44f70b17f8117317401babfdbe2263c
sha256
429256b6b33f7cb5de2b48530121ccda1d37facea79e277dc25e1299dace6c01
// Alerts

.j-main-container {

  .alert {
    margin: 10px;
  }
}

.notify-alerts {
  position: fixed;
  top: 15px;
  left: 50%;
  z-index: 1080;
  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 6 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha10. See them all, or every version of this file.