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

Luke Schoen's avatar
Luke Schoen committed
  // FULL SCREEN OVERLAY

  // position: absolute;
  // top: 3rem;
  // left: 0;
  // right: 0;
  // bottom: 0;
  // height: auto;
  // background: $chrome;
  // z-index: 2;

  // display: flex;
  // align-items: center;
  // justify-content: center;

  // PARTIAL SCREEN OVERLAY

  position: absolute;
Luke Schoen's avatar
Luke Schoen committed
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
Luke Schoen's avatar
Luke Schoen committed
  background: rgba(184, 184, 184, 0.5);
  z-index: 2;
  padding: 1rem;

  .alert-screen_image {
    display: flex;
    align-items: center;
    justify-content: center;
    img {
      display: block;
Luke Schoen's avatar
Luke Schoen committed
  // &.-full-screen {
  //   top: 0;
  // }
  .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;