Skip to content
Snippets Groups Projects
actionBegin.scss 1.57 KiB
Newer Older
  • Learn to ignore specific revisions
  • Guilhem CARRON's avatar
    Guilhem CARRON committed
    @import '../../styles/base/color';
    @import '../../styles/base/breakpoint';
    
    .action-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .action-begin-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-around;
      box-sizing: border-box;
    
      margin: 5rem 1rem 0 1rem;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55);
      border-radius: 4px;
      transition: all 300ms ease;
      color: $white;
      background: linear-gradient(180deg, #323339 0%, #25262b 100%);
      height: 63vh;
      text-align: center;
      position: relative;
      padding: 5rem 1rem 1rem 1rem;
      @media (min-width: $width-large-desktop) {
    
        margin: 6rem 1rem 1rem 1rem;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      }
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      .icon-container {
        width: 8.125rem;
        height: 8.125rem;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: -70px;
        background: linear-gradient(180deg, #323339 0%, #25262b 100%);
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55);
        border-radius: 8px;
        border: solid 2px $blue;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
        display: flex;
      }
      .action-icon {
        margin: auto;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      }
      .action-icon-stars {
        margin-top: -4rem;
      }
    
      .stars {
        .star:not(:last-of-type) {
          margin-right: 0.4rem;
        }
      }
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      .action-duration {
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
        color: $grey-bright;
      }
      .action-explanation {
        margin-bottom: 2rem;
        line-height: 24px;
        padding: 1rem;
        @media (min-width: $width-large-desktop) {
          padding: 0rem 2rem;
        }
      }
      .action-buttons {
        button {
          padding: 0.7rem;
          border-color: $grey-bright;
          span {
            font-weight: 700;
          }
        }
      }
    }