mirror of
				https://github.com/KevinMidboe/planetposen-frontend.git
				synced 2025-10-29 13:10:12 +00:00 
			
		
		
		
	* OrderSection receipts list of lineItems instead of always getting cart * Hide express checkout behind feature flag * Add torn receipt paper css look to order list * Re-use OrderSection on receipt page * Linting * Reduced max font from 130->120%, now only applies scaling on div.main Reducing relative font size for the largest screen width. Scaling only applies to main container, not header and footer. * Minor header size changes * Set max-width to login input elements on desktop * Prettier doesn't liek shorthand props
		
			
				
	
	
		
			58 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Svelte
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Svelte
		
	
	
	
	
	
| <script lang="ts">
 | |
|   import Vipps from '$lib/icons/Vipps.svelte';
 | |
|   import ApplePay from '$lib/icons/ApplePay.svelte';
 | |
|   import PayPal from '$lib/icons/PayPal.svelte';
 | |
|   import GooglePay from '$lib/icons/GooglePay.svelte';
 | |
| </script>
 | |
| 
 | |
| <ul>
 | |
|   <li class="button" tabindex="0"><Vipps /></li>
 | |
|   <li class="button" tabindex="0"><ApplePay /></li>
 | |
|   <li class="button" tabindex="0"><PayPal /></li>
 | |
|   <li class="button" tabindex="0"><GooglePay /></li>
 | |
| </ul>
 | |
| 
 | |
| <style lang="scss">
 | |
|   ul {
 | |
|     width: 100%;
 | |
|     display: flex;
 | |
|     padding-left: 0;
 | |
|     list-style: none;
 | |
| 
 | |
|     @media (max-width: 750px) {
 | |
|       flex-wrap: wrap;
 | |
|       justify-content: space-around;
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   .button {
 | |
|     display: flex;
 | |
|     align-items: center;
 | |
|     justify-content: center;
 | |
|     margin: 0.5rem;
 | |
|     width: 8em;
 | |
|     height: 42px;
 | |
|     border-radius: 4px;
 | |
|     background-color: black;
 | |
|     cursor: pointer;
 | |
|     transition: all 0.3s ease;
 | |
| 
 | |
|     &:hover {
 | |
|       scale: 1.05;
 | |
|     }
 | |
| 
 | |
|     &:nth-of-type(1) {
 | |
|       background-color: #ff5b24;
 | |
|     }
 | |
| 
 | |
|     &:nth-of-type(3) {
 | |
|       background-color: #ffc439;
 | |
|     }
 | |
| 
 | |
|     @media (max-width: 999px) {
 | |
|       width: 10em;
 | |
|       margin: 0.5rem 0.2rem;
 | |
|     }
 | |
|   }
 | |
| </style>
 |