Skip to content
Snippets Groups Projects
actionBegin.scss 1.64 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import 'src/styles/base/color';
    @import 'src/styles/base/breakpoint';
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
    
    
    .action-begin {
      margin: auto;
    }
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
    .action-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
      margin: auto;
      padding: 1.5rem;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
    }
    .action-begin-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-around;
      box-sizing: border-box;
      box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55);
      border-radius: 4px;
      transition: all 300ms ease;
      color: $white;
    
      background: $grey-linear-gradient-background;
    
      height: auto;
      gap: 1.5rem;
      max-height: 63svh;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      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: $grey-linear-gradient-background;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
        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;
    
          margin-top: 0.5rem;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
          span {
            font-weight: 700;
          }
        }
      }
    }