<commit_before><template>
  <div class="cart-popup-container">
    <!--<div class="cart-popup-close" v-on:click="closeCart">
      <svg viewBox="0 0 100 100" class="app-icon">
        <use xlink:href="#app-icon-close"></use>
      </svg>
    </div>-->
    <h3 class="cart-popup-title">Avez-vous acheté... ?</h3>
    <div class="cart-popup-item-wrapper">
      <div class="cart-popup-item">
        <div class="cart-popup-item-question-wrapper">
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-pomme"></use>
          </svg>
          <p class="cart-popup-item-question"><span class="underline"></span>Des fruits et des légumes ?</p>
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-orange"></use>
          </svg>
        </div>
        <input id="cart1" type="checkbox">
        <label for="cart1"></label>
      </div>
      <div class="cart-popup-item">
        <div class="cart-popup-item-question-wrapper">
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-emmental"></use>
          </svg>
          <p class="cart-popup-item-question"><span class="underline"></span>Des produits laitiers ?</p>
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-lait"></use>
          </svg>
        </div>
        <input id="cart2" type="checkbox">
        <label for="cart2"></label>
      </div>
      <div class="cart-popup-item">
        <div class="cart-popup-item-question-wrapper">
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-croissant"></use>
          </svg>
          <p class="cart-popup-item-question"><span class="underline"></span>Du pain, des viennoiseries?</p>
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-sandwich"></use>
          </svg>
        </div>
        <input id="cart3" type="checkbox">
        <label for="cart3"></label>
      </div>
      <div class="cart-popup-item">
        <div class="cart-popup-item-question-wrapper">
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-viande"></use>
          </svg>
          <p class="cart-popup-item-question"><span class="underline"></span>De la viande, du poisson ?</p>
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-poisson"></use>
          </svg>
        </div>
        <input id="cart4" type="checkbox">
        <label for="cart4"></label>
      </div>
    </div>
    <div class="cart-popup-add-button">Valider</div>
  </div>
  <div class="popup-overlay"></div>
</template>

<script>
export default {
  methods: {
    closeCart: (event) => {
      document.getElementsByClassName('cart-popup-container')[0].classList.remove('active');
      document.getElementsByClassName('popup-overlay')[0].classList.remove('active');
      event.preventDefault()
    }
  }
};
</script>

<style lang="scss" scoped>
@import './../../../styles/variables.scss';

.cart-popup-container {
  /*flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 335px;
  height: 492px;
  background: $color-white;
  z-index: 9999;*/
  width: 100%;

  /*&.active {
    display: flex;
  }*/
}

  /*.cart-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 25px;
    height: 25px;
    fill: $color-red;
  }*/

  .cart-popup-title {
    margin-top: 30px;
    font: 1.8em 'IowanOldStyleBT-BlackItalic', sans-serif;
    color: $color-red;
  }

  .cart-popup-item-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 300px;
  }

    .cart-popup-item {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;

      & > input[type="checkbox"] {
        display: none;
      }

      & > label {
        display: inline-block;<commit_msg>Popup courses<commit_after><template>
  <div class="cart-popup-container">
    <h3 class="cart-popup-title">Avez-vous acheté... ?</h3>
    <div class="cart-popup-item-wrapper">
      <div class="cart-popup-item">
        <div class="cart-popup-item-question-wrapper">
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-pomme"></use>
          </svg>
          <p class="cart-popup-item-question"><span class="underline"></span>Des fruits et des légumes ?</p>
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-orange"></use>
          </svg>
        </div>
        <input id="cart1" type="checkbox">
        <label for="cart1"></label>
      </div>
      <div class="cart-popup-item">
        <div class="cart-popup-item-question-wrapper">
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-emmental"></use>
          </svg>
          <p class="cart-popup-item-question"><span class="underline"></span>Des produits laitiers ?</p>
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-lait"></use>
          </svg>
        </div>
        <input id="cart2" type="checkbox">
        <label for="cart2"></label>
      </div>
      <div class="cart-popup-item">
        <div class="cart-popup-item-question-wrapper">
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-croissant"></use>
          </svg>
          <p class="cart-popup-item-question"><span class="underline"></span>Du pain, des viennoiseries?</p>
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-sandwich"></use>
          </svg>
        </div>
        <input id="cart3" type="checkbox">
        <label for="cart3"></label>
      </div>
      <div class="cart-popup-item">
        <div class="cart-popup-item-question-wrapper">
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-viande"></use>
          </svg>
          <p class="cart-popup-item-question"><span class="underline"></span>De la viande, du poisson ?</p>
          <svg viewBox="0 0 100 100" class="food-icon">
            <use xlink:href="#foods-icon-poisson"></use>
          </svg>
        </div>
        <input id="cart4" type="checkbox">
        <label for="cart4"></label>
      </div>
    </div>
    <div class="cart-popup-add-button">Valider</div>
  </div>
  <div class="popup-overlay"></div>
</template>

<script>
export default {
  methods: {
    closeCart: (event) => {
      document.getElementsByClassName('cart-popup-container')[0].classList.remove('active');
      document.getElementsByClassName('popup-overlay')[0].classList.remove('active');
      event.preventDefault()
    }
  }
};
</script>

<style lang="scss" scoped>
@import './../../../styles/variables.scss';

.cart-popup-container {
  width: 100%;
}

  .cart-popup-title {
    margin-top: 30px;
    font: 1.8em 'IowanOldStyleBT-BlackItalic', sans-serif;
    color: $color-red;
  }

  .cart-popup-item-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 300px;
  }

    .cart-popup-item {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;

      & > input[type="checkbox"] {
        display: none;
      }

      & > label {
        display: inline-block;
{'fraction_non_alphanumeric': 0.1838961038961039, 'fraction_numerical': 0.027012987012987013, 'mean_word_length': 2.394006170118995, 'pattern_counts': {'":': 0, '<': 192, '<?xml version=': 0, '>': 198, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5434604', 'n_tokens_mistral': 2698, 'n_tokens_neox': 2513, 'n_words': 483}