_alert-screen.scss 902 B
Newer Older
Luke Schoen's avatar
Luke Schoen committed
.alert-wrapper {
  position: relative;
}

Luke Schoen's avatar
Luke Schoen committed
.alert-screen-wrapper {
  background: $chrome;
Luke Schoen's avatar
Luke Schoen committed
  top: 3rem;
  left: 0;
  right: 0;
  bottom: -2px;
  height: auto;
  overflow: hidden;
  position: absolute;
  z-index: 2;

Luke Schoen's avatar
Luke Schoen committed
  &.-full-screen {
    top: 0;
Luke Schoen's avatar
Luke Schoen committed
  }
}

.alert-screen {
Luke Schoen's avatar
Luke Schoen committed
  margin-top: 7rem;
Luke Schoen's avatar
Luke Schoen committed
  display: flex;
  align-items: center;
  justify-content: center;
Luke Schoen's avatar
Luke Schoen committed
}
Luke Schoen's avatar
Luke Schoen committed

Luke Schoen's avatar
Luke Schoen committed
.alert-screen-content {

  .alert-screen_image {
    display: flex;
    align-items: center;
    justify-content: center;
    img {
      display: block;
      height: auto;
    }
  }

  .alert-screen_text {
    margin-top: 1rem;
    text-align: center;
    white-space: pre-line;
    h1,
    h2,
    big,
    strong {
      font-size: ms(1);
      line-height: ms(1) * 1.3;
      margin-bottom: 0.25rem;
    }

    p {
      color: $grey;
Thibaut Sardan's avatar
Thibaut Sardan committed
      font-size: 0.8rem;
      line-height: 1.4;