sparkletown/sparkle

View on GitHub
src/pages/VenueLandingPage/VenueLandingPage.scss

Summary

Maintainability
Test Coverage
@import "scss/constants.scss";

.venue-entrance-experience-container {
  .count-down-container {
    font-size: 15px;
  }

  .playa-container {
    overflow: hidden;
    position: relative;

    .playa-abs-container {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      display: flex;
      justify-content: center;
      align-items: center;

      .playa-icon {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 28px;
        overflow: hidden;
      }

      .playa-icon-container {
        position: relative;
      }

      .playa-venue-preview {
        position: absolute;
        top: -200px;
        right: -600px;
        width: 550px;
        height: 600px;
        background-color: black;
        overflow: auto;
        border-radius: 20px;
      }
    }
  }

  .login-invitation {
    font-size: 14px;
    margin-top: 8px;
  }
  .quotation-container {
    display: flex;
    flex-direction: column;
    color: $content--over;
    align-items: center;
    margin-bottom: 10px;

    .quotation {
      font-weight: 500;
      font-size: 18px;
      margin-bottom: 5px;
      text-align: center;
    }
    .quotation-author {
      font-size: 13px;
    }
  }

  .toast {
    position: absolute;
    max-width: none;
    width: 40%;
    margin: auto;
    background: $light-green;
    color: $content--under;

    .toast-header {
      background: $dark-green;
      color: $content--under;
      display: flex;
      justify-content: space-between;

      button {
        color: $content--under;
        opacity: 0.7;
        margin: 0;
        outline: none;
        border: none;

        &:focus {
          outline: none;
          border: none;
        }
      }
    }
  }

  .toast-container {
    position: absolute;
    width: 100%;
    top: 60px;
    right: 0px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    object-fit: cover;

    .secret-password-form-wrapper {
      background: opaque-black(0.75);
      padding: 20px;
      width: 250px;
      margin-right: 40px;
      margin-bottom: 30px;
      border-radius: 22px;
    }

    .venue-host {
      margin: 30px 50px;

      .title {
        font-size: 50px;
      }

      .subtitle {
        font-size: 20px;
      }
    }

    .countdown {
      font-weight: 400;
      display: block;
      font-style: italic;
    }
  }

  .venue-presentation {
    padding: 20px;

    .presentation-paragraph {
      color: var(--content--over-60a);
    }

    .check-icon-container {
      margin-right: 10px;
      color: $primary--over;
      font-size: 25px;
    }

    .checklist-item {
      margin: 20px 0;
      display: flex;
      font-size: 18px;
      align-items: center;
      font-weight: 500;
    }

    .youtube-video {
      border-radius: 22px;
      margin-bottom: 20px;
    }
  }
}

.oncoming-events {
  .upcoming-gigs-title {
    margin: 20px 0;
    font-size: 25px;
    font-weight: 700;
  }
  h4 {
    font-size: 30px;
    font-style: italic;
  }
  .date {
    font-size: 15px;
    color: $content--over;
    margin-bottom: 5px;
  }
  .event-description {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .disabled {
    background: rgba($secondary--live, 0.6);
  }
  .information-card-container {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 50px;
    }
  }
}