chore: merge components and stylesheets in same directory name
This commit is contained in:
@@ -1,5 +1,25 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/atoms/badge";
|
||||
.badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 16px;
|
||||
margin: 0 auto;
|
||||
padding: 0 6px;
|
||||
text-align: center;
|
||||
background: $color-secondary-light;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
line-height: 1;
|
||||
color: $color-primary-darker;
|
||||
border-radius: 100vh;
|
||||
|
||||
// Small size
|
||||
&--small {
|
||||
font-size: rem(7px);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/atoms/box-cta";
|
||||
@import "./BoxCTA";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/atoms/button";
|
||||
@import "./Button";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/atoms/button-cart";
|
||||
@import "./ButtonCart";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -9,7 +9,7 @@
|
||||
import { sendEvent } from '$utils/analytics'
|
||||
// Components
|
||||
import Icon from '$components/atoms/Icon.svelte'
|
||||
import ButtonCircle from '$components/atoms/ButtonCircle.svelte'
|
||||
import ButtonCircle from '$components/atoms/ButtonCircle/ButtonCircle.svelte'
|
||||
|
||||
const openCart = () => {
|
||||
$cartOpen = true
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/atoms/button-circle";
|
||||
@import "./ButtonCircle";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,24 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/atoms/discover";
|
||||
.discover {
|
||||
padding: 0 20px;
|
||||
font-family: $font-sans;
|
||||
font-size: rem(24px);
|
||||
font-weight: 200;
|
||||
line-height: 1.5;
|
||||
color: $color-tertiary;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(28px);
|
||||
}
|
||||
@include bp (md) {
|
||||
font-size: rem(32px);
|
||||
}
|
||||
|
||||
strong {
|
||||
color: $color-secondary;
|
||||
font-weight: 200;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/atoms/arrow";
|
||||
.arrow {
|
||||
display: block;
|
||||
|
||||
// Colors
|
||||
&--white {
|
||||
color: #fff;
|
||||
}
|
||||
&--pink {
|
||||
color: $color-secondary;
|
||||
}
|
||||
|
||||
// Variants
|
||||
&--flip {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/atoms/site-title";
|
||||
@import "./SiteTitle";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/layouts/poster";
|
||||
@import "./PosterLayout";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -7,10 +7,10 @@
|
||||
import { capitalizeFirstLetter } from 'utils/string'
|
||||
// Components
|
||||
import SplitText from '$components/SplitText.svelte'
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
import ScrollingTitle from '$components/atoms/ScrollingTitle.svelte'
|
||||
import Carousel from '$components/organisms/Carousel.svelte'
|
||||
import Carousel from '$components/organisms/Carousel/Carousel.svelte'
|
||||
|
||||
export let product: any
|
||||
export let shopProduct: any
|
||||
@@ -1,11 +1,11 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/cart-item";
|
||||
@import "./CartItem";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
// Components
|
||||
import ButtonCircle from '$components/atoms/ButtonCircle.svelte'
|
||||
import ButtonCircle from '$components/atoms/ButtonCircle/ButtonCircle.svelte'
|
||||
import Select from '$components/molecules/Select.svelte'
|
||||
|
||||
export let item: any
|
||||
125
apps/website/src/components/molecules/EmailForm/EmailForm.scss
Normal file
125
apps/website/src/components/molecules/EmailForm/EmailForm.scss
Normal file
@@ -0,0 +1,125 @@
|
||||
// Email Form
|
||||
.newsletter-form {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.email {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
height: 56px;
|
||||
margin-bottom: 20px;
|
||||
padding: 0 24px;
|
||||
border-radius: 100vh;
|
||||
box-shadow: inset 0 0 0 2px $color-secondary;
|
||||
transition: box-shadow 0.6s var(--ease-quart);
|
||||
|
||||
@include bp (sm) {
|
||||
height: 64px;
|
||||
padding: 0 30px;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: rem(16px);
|
||||
font-family: $font-sans;
|
||||
font-weight: 300;
|
||||
color: $color-tertiary;
|
||||
background: none;
|
||||
border: none;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(18px);
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: rgba($color-tertiary, 0.6);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
:global(button) {
|
||||
position: absolute !important;
|
||||
right: 16px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
margin-left: 32px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
// States
|
||||
&.is-focused, &:hover {
|
||||
box-shadow: inset 0 0 0 4px $color-secondary;
|
||||
}
|
||||
}
|
||||
|
||||
// Bottom details
|
||||
.bottom {
|
||||
display: block;
|
||||
text-align: center;
|
||||
font-size: rem(14px);
|
||||
max-width: 600px;
|
||||
|
||||
@include bp (sm) {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: rem(16px);
|
||||
}
|
||||
|
||||
.past-issues {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin: 0 auto auto 0;
|
||||
text-decoration: none;
|
||||
color: $color-text;
|
||||
|
||||
&, span {
|
||||
transition: color 0.2s, border-color 0.2s;
|
||||
}
|
||||
span {
|
||||
display: block;
|
||||
padding-bottom: 2px;
|
||||
font-size: rem(14px);
|
||||
color: $color-text;
|
||||
margin-left: 8px;
|
||||
border-bottom: 1px solid $color-text;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-left: 12px;
|
||||
padding-bottom: 0;
|
||||
font-size: rem(16px);
|
||||
}
|
||||
}
|
||||
}
|
||||
p {
|
||||
color: $color-gray;
|
||||
line-height: 1.3;
|
||||
margin-top: 16px;
|
||||
margin-bottom: 0;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Message
|
||||
.message {
|
||||
padding: 24px;
|
||||
text-align: center;
|
||||
border-radius: 8px;
|
||||
|
||||
&.is-error {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
color: #fff;
|
||||
background: $color-secondary;
|
||||
}
|
||||
&.is-success {
|
||||
color: $color-text;
|
||||
background: $color-tertiary;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/newsletter-form";
|
||||
@import "./EmailForm";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -8,7 +8,7 @@
|
||||
import { sendEvent } from '$utils/analytics'
|
||||
// Components
|
||||
import IconArrow from '$components/atoms/IconArrow.svelte'
|
||||
import ButtonCircle from '$components/atoms/ButtonCircle.svelte'
|
||||
import ButtonCircle from '$components/atoms/ButtonCircle/ButtonCircle.svelte'
|
||||
|
||||
export let past = false
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<form method="POST" action="/api/newsletter" on:submit|preventDefault={handleForm}
|
||||
out:fly|local={{ y: -8, easing: quartOut, duration: 600 }}
|
||||
>
|
||||
<div class="newsletter-form__email" class:is-focused={inputInFocus}>
|
||||
<div class="email" class:is-focused={inputInFocus}>
|
||||
<input type="email" placeholder="Your email address" name="email" id="newsletter_email" required
|
||||
on:focus={toggleFocus}
|
||||
on:blur={toggleFocus}
|
||||
@@ -79,7 +79,7 @@
|
||||
</ButtonCircle>
|
||||
</div>
|
||||
|
||||
<div class="newsletter-form__bottom">
|
||||
<div class="bottom">
|
||||
{#if past}
|
||||
<a href="/subscribe" class="past-issues" data-sveltekit-noscroll>
|
||||
<svg width="20" height="16" viewBox="0 0 20 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-label="Newsletter icon">
|
||||
@@ -94,7 +94,7 @@
|
||||
{/if}
|
||||
|
||||
{#if formStatus && formStatus.message}
|
||||
<div class="newsletter-form__message shadow-small"
|
||||
<div class="message shadow-small"
|
||||
class:is-error={!isSuccess}
|
||||
class:is-success={isSuccess}
|
||||
in:fly|local={{ y: 8, easing: quartOut, duration: 600, delay: isSuccess ? 600 : 0 }}
|
||||
50
apps/website/src/components/molecules/Heading/Heading.scss
Normal file
50
apps/website/src/components/molecules/Heading/Heading.scss
Normal file
@@ -0,0 +1,50 @@
|
||||
.heading {
|
||||
overflow: hidden;
|
||||
margin-bottom: 72px;
|
||||
text-align: center;
|
||||
color: $color-tertiary;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-bottom: clamp(72px, 8vw, 128px);
|
||||
}
|
||||
|
||||
// Title
|
||||
:global(h1) {
|
||||
margin-top: 56px;
|
||||
line-height: 1;
|
||||
color: $color-secondary;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-top: clamp(80px, 9vw, 160px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Text
|
||||
.text {
|
||||
width: 75%;
|
||||
max-width: 360px;
|
||||
margin: 40px auto 0;
|
||||
font-weight: 200;
|
||||
|
||||
@include bp (sm) {
|
||||
max-width: 600px;
|
||||
margin-top: 72px;
|
||||
}
|
||||
|
||||
:global(a) {
|
||||
position: relative;
|
||||
color: currentColor;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
background-image: linear-gradient(rgba($color-tertiary, 0.3), rgba($color-tertiary, 0.3));
|
||||
background-position: 0 100%;
|
||||
background-size: 100% 1px;
|
||||
background-repeat: no-repeat;
|
||||
transition: color 0.4s var(--ease-quart);
|
||||
|
||||
&:hover {
|
||||
color: $color-secondary-light;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/heading";
|
||||
@import "./Heading";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import SiteTitle from '$components/atoms/SiteTitle.svelte'
|
||||
import SiteTitle from '$components/atoms/SiteTitle/SiteTitle.svelte'
|
||||
|
||||
export let text: string
|
||||
</script>
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/house";
|
||||
@import "./House";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/location";
|
||||
@import "./Location";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/issue";
|
||||
@import "./NewsletterIssue";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -0,0 +1,61 @@
|
||||
.notification-cart {
|
||||
display: flex;
|
||||
background-color: #fff;
|
||||
color: $color-gray;
|
||||
border-radius: 6px;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
// Left Image
|
||||
.left {
|
||||
margin-right: 20px;
|
||||
width: 100px;
|
||||
height: 150px;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-right: 24px;
|
||||
width: 58px;
|
||||
height: 88px;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
// Details
|
||||
.right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-right: 24px;
|
||||
justify-content: center;
|
||||
|
||||
// Poster Title
|
||||
h3 {
|
||||
font-family: $font-serif;
|
||||
color: $color-secondary;
|
||||
font-size: rem(20px);
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(18px);
|
||||
}
|
||||
}
|
||||
// Text
|
||||
p {
|
||||
font-size: rem(12px);
|
||||
line-height: 1.4;
|
||||
max-width: 124px;
|
||||
margin: 4px 0;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(13px);
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/notification-cart";
|
||||
@import "./NotificationCart";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -22,11 +22,12 @@
|
||||
transition:fly={{ y: 20, duration: 700, easing: quartOut }}
|
||||
on:click={closeNotification}
|
||||
on:keydown
|
||||
role="presentation"
|
||||
>
|
||||
<div class="notification-cart__left">
|
||||
<div class="left">
|
||||
<img src={image} width={58} height={88} alt={title}>
|
||||
</div>
|
||||
<div class="notification-cart__right">
|
||||
<div class="right">
|
||||
<h3>{title}</h3>
|
||||
<p>{name}</p>
|
||||
</div>
|
||||
@@ -5,7 +5,7 @@
|
||||
margin: auto 0;
|
||||
cursor: pointer;
|
||||
|
||||
&[disabled] {
|
||||
&.is-disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/pagination";
|
||||
@import "./Pagination";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -8,8 +8,10 @@
|
||||
export let total: number
|
||||
</script>
|
||||
|
||||
<div class="pagination" role="button" tabindex="0"
|
||||
disabled={ended ? ended : undefined}
|
||||
<div
|
||||
class="pagination"
|
||||
class:is-disabled={ended ? ended : undefined}
|
||||
role="button" tabindex="0"
|
||||
on:click
|
||||
on:keydown
|
||||
>
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/photo-card";
|
||||
@import "./PhotoCard";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/organisms/postcard";
|
||||
@import "./PostCard";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -30,6 +30,20 @@
|
||||
transition: transform 0.8s var(--ease-quart), border-radius 0.8s var(--ease-quart);
|
||||
}
|
||||
|
||||
// Hover effect
|
||||
&:hover {
|
||||
:global(img) {
|
||||
@include bp (md) {
|
||||
transform: scale(0.8) translate3d(0, -5%, 0);
|
||||
border-radius: 8px;
|
||||
}
|
||||
}
|
||||
.buttons {
|
||||
transform: translate3d(0,0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Buttons
|
||||
.buttons {
|
||||
display: flex;
|
||||
@@ -85,17 +99,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hover effect
|
||||
&:hover {
|
||||
:global(img) {
|
||||
@include bp (md) {
|
||||
transform: scale(0.8) translate3d(0, -5%, 0);
|
||||
border-radius: 8px;
|
||||
}
|
||||
}
|
||||
.buttons {
|
||||
transform: translate3d(0,0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/poster";
|
||||
@import "./Poster";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import { addToCart } from '$utils/functions/shop'
|
||||
import { smoothScroll } from '$utils/stores'
|
||||
// Components
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
|
||||
export let product: any
|
||||
@@ -0,0 +1,56 @@
|
||||
// About page Step
|
||||
.step {
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: 32px;
|
||||
background: $color-primary-darker;
|
||||
border-radius: 12px;
|
||||
transform: translateZ(0);
|
||||
|
||||
@include bp (sm) {
|
||||
--columns: 11;
|
||||
display: grid;
|
||||
grid-template-rows: repeat(2, 1fr);
|
||||
padding: 8% 0;
|
||||
min-height: clamp(400px, 75vh, 800px);
|
||||
border-radius: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
// Image
|
||||
.media {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
width: 70%;
|
||||
max-height: 550px;
|
||||
margin-bottom: 28px;
|
||||
border-radius: 6px;
|
||||
|
||||
@include bp (sm) {
|
||||
grid-column: 2 / span 6;
|
||||
grid-row: 1 / -1;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
:global(.image img), video {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
// Content
|
||||
.text {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
line-height: 1.5;
|
||||
font-weight: 300;
|
||||
color: $color-secondary-light;
|
||||
grid-column: 2 / -2;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/process-step";
|
||||
@import "./ProcessStep";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -0,0 +1,45 @@
|
||||
.shop-locationswitcher {
|
||||
pointer-events: auto;
|
||||
|
||||
// Overlaid
|
||||
&.is-over {
|
||||
dt {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dt {
|
||||
color: $color-primary;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
font-size: rem(12px);
|
||||
}
|
||||
dd {
|
||||
color: $color-secondary;
|
||||
|
||||
svg {
|
||||
display: inline-block;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-right: 4px;
|
||||
|
||||
@include bp (sm) {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
}
|
||||
select {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: rem(18px);
|
||||
color: $color-secondary;
|
||||
font-family: $font-serif;
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(24px);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/shop-locationswitcher";
|
||||
@import "./ShopLocationSwitcher";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/switcher";
|
||||
@import "./Switcher";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/molecules/toast";
|
||||
@import "./Toast";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -9,7 +9,7 @@
|
||||
import { browser } from '$app/environment'
|
||||
import { cx } from 'classix'
|
||||
// Components
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
|
||||
export let id: string
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/organisms/banner";
|
||||
@import "./Banner";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/organisms/carousel";
|
||||
@import "./Carousel";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/organisms/cart";
|
||||
@import "./Cart";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -12,10 +12,10 @@
|
||||
import { initSwell, getCart, updateCartItem, removeCartItem } from '$utils/functions/shop'
|
||||
import { sendEvent } from '$utils/analytics'
|
||||
// Components
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import Icon from '$components/atoms/Icon.svelte'
|
||||
import CartItem from '$components/molecules/CartItem.svelte'
|
||||
import ShopLocationSwitcher from '$components/molecules/ShopLocationSwitcher.svelte'
|
||||
import CartItem from '$components/molecules/CartItem/CartItem.svelte'
|
||||
import ShopLocationSwitcher from '$components/molecules/ShopLocationSwitcher/ShopLocationSwitcher.svelte'
|
||||
|
||||
|
||||
// Block scroll if cart is open
|
||||
@@ -1,9 +1,9 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/organisms/collage";
|
||||
@import "./Collage";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import PhotoCard from '$components/molecules/PhotoCard.svelte'
|
||||
import PhotoCard from '$components/molecules/PhotoCard/PhotoCard.svelte'
|
||||
|
||||
export let photos: any[] = []
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/organisms/footer";
|
||||
@import "./Footer";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import { getContext } from 'svelte'
|
||||
// Components
|
||||
import SplitText from '$components/SplitText.svelte'
|
||||
import SiteTitle from '$components/atoms/SiteTitle.svelte'
|
||||
import SiteTitle from '$components/atoms/SiteTitle/SiteTitle.svelte'
|
||||
|
||||
const { settings: { instagram, footer_links } }: any = getContext('global')
|
||||
</script>
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/modules/globe";
|
||||
@import "./InteractiveGlobe";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/organisms/locations";
|
||||
@import "./Locations";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -11,8 +11,8 @@
|
||||
import { throttle } from 'utils/actions'
|
||||
import { sendEvent } from '$utils/analytics'
|
||||
// Components
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Location from '$components/molecules/Location.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import Location from '$components/molecules/Location/Location.svelte'
|
||||
|
||||
export let locations: any[]
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
}
|
||||
|
||||
// Form input
|
||||
:global(.newsletter-form__email) {
|
||||
:global(.email) {
|
||||
:global(input) {
|
||||
color: $color-text;
|
||||
}
|
||||
@@ -56,7 +56,7 @@
|
||||
}
|
||||
}
|
||||
// Form message
|
||||
:global(.newsletter-form__message.is-success) {
|
||||
:global(.message.is-success) {
|
||||
color: #fff;
|
||||
background: $color-primary-tertiary20;
|
||||
}
|
||||
@@ -69,7 +69,7 @@
|
||||
&--default {
|
||||
background: $color-tertiary 50% 0 / cover url(#{$dir-img}/newsletter-beige.jpg) no-repeat;
|
||||
|
||||
:global(.newsletter-form__email) {
|
||||
:global(.email) {
|
||||
background: $color-tertiary;
|
||||
}
|
||||
}
|
||||
@@ -77,7 +77,7 @@
|
||||
&--light {
|
||||
background: $color-cream 50% 0 / cover url(#{$dir-img}/newsletter-cream.jpg) no-repeat;
|
||||
|
||||
:global(.newsletter-form__email) {
|
||||
:global(.email) {
|
||||
background: $color-cream;
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/organisms/newsletter";
|
||||
@import "./NewsletterModule";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import { getContext } from 'svelte'
|
||||
// Components
|
||||
import EmailForm from '$components/molecules/EmailForm.svelte'
|
||||
import EmailForm from '$components/molecules/EmailForm/EmailForm.svelte'
|
||||
|
||||
export let theme = 'default'
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/pages/shop/posters";
|
||||
@import "./PostersGrid";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import { getContext, onMount } from 'svelte'
|
||||
import EmblaCarousel, { type EmblaCarouselType } from 'embla-carousel'
|
||||
// Components
|
||||
import Poster from '$components/molecules/Poster.svelte'
|
||||
import Poster from '$components/molecules/Poster/Poster.svelte'
|
||||
import { debounce } from 'utils/actions'
|
||||
|
||||
export let posters: any = []
|
||||
@@ -1,5 +1,5 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/pages/shop/banner";
|
||||
@import "./ShopBanner";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -12,8 +12,8 @@
|
||||
import { quartOut } from '$animations/easings'
|
||||
// Components
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
import ButtonCart from '$components/atoms/ButtonCart.svelte'
|
||||
import ShopLocationSwitcher from '$components/molecules/ShopLocationSwitcher.svelte'
|
||||
import ButtonCart from '$components/atoms/ButtonCart/ButtonCart.svelte'
|
||||
import ShopLocationSwitcher from '$components/molecules/ShopLocationSwitcher/ShopLocationSwitcher.svelte'
|
||||
|
||||
export let product: any = undefined
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/organisms/shop";
|
||||
@import "./ShopModule";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import { getContext, onMount } from 'svelte'
|
||||
// Components
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
|
||||
const { locations, shop }: any = getContext('global')
|
||||
@@ -3,8 +3,8 @@
|
||||
import { page } from '$app/stores'
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import ShopHeader from '$components/organisms/ShopBanner.svelte'
|
||||
import PostersGrid from '$components/organisms/PostersGrid.svelte'
|
||||
import ShopHeader from '$components/organisms/ShopBanner/ShopBanner.svelte'
|
||||
import PostersGrid from '$components/organisms/PostersGrid/PostersGrid.svelte'
|
||||
|
||||
const { posters }: any = getContext('shop')
|
||||
const errors = {
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
import { setContext } from 'svelte'
|
||||
import { cartNotifications } from '$utils/stores/shop'
|
||||
// Components
|
||||
import Cart from '$components/organisms/Cart.svelte'
|
||||
import NotificationCart from '$components/molecules/NotificationCart.svelte'
|
||||
import Cart from '$components/organisms/Cart/Cart.svelte'
|
||||
import NotificationCart from '$components/molecules/NotificationCart/NotificationCart.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
import { shopCurrentProductSlug } from '$utils/stores/shop'
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import PostersGrid from '$components/organisms/PostersGrid.svelte'
|
||||
import ShopHeader from '$components/organisms/ShopBanner.svelte'
|
||||
import PosterLayout from '$components/layouts/PosterLayout.svelte'
|
||||
import PostersGrid from '$components/organisms/PostersGrid/PostersGrid.svelte'
|
||||
import ShopHeader from '$components/organisms/ShopBanner/ShopBanner.svelte'
|
||||
import PosterLayout from '$components/layouts/PosterLayout/PosterLayout.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
import { capitalizeFirstLetter } from 'utils/string'
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import ShopHeader from '$components/organisms/ShopBanner.svelte'
|
||||
import PostersGrid from '$components/organisms/PostersGrid.svelte'
|
||||
import PosterLayout from '$components/layouts/PosterLayout.svelte'
|
||||
import ShopHeader from '$components/organisms/ShopBanner/ShopBanner.svelte'
|
||||
import PostersGrid from '$components/organisms/PostersGrid/PostersGrid.svelte'
|
||||
import PosterLayout from '$components/layouts/PosterLayout/PosterLayout.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import IconEarth from '$components/atoms/IconEarth.svelte'
|
||||
import House from '$components/molecules/House.svelte'
|
||||
import Pagination from '$components/molecules/Pagination.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule.svelte'
|
||||
import House from '$components/molecules/House/House.svelte'
|
||||
import Pagination from '$components/molecules/Pagination/Pagination.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule/NewsletterModule.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule/ShopModule.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
import Icon from '$components/atoms/Icon.svelte'
|
||||
import IconArrow from '$components/atoms/IconArrow.svelte'
|
||||
import ButtonCircle from '$components/atoms/ButtonCircle.svelte'
|
||||
import ButtonCircle from '$components/atoms/ButtonCircle/ButtonCircle.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import AboutGridPhoto from '$components/atoms/AboutGridPhoto.svelte'
|
||||
import ProcessStep from '$components/molecules/ProcessStep.svelte'
|
||||
import Banner from '$components/organisms/Banner.svelte'
|
||||
import ProcessStep from '$components/molecules/ProcessStep/ProcessStep.svelte'
|
||||
import Banner from '$components/organisms/Banner/Banner.svelte'
|
||||
|
||||
export let data
|
||||
const { about, photos } = data
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
import Heading from '$components/molecules/Heading.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe.svelte'
|
||||
import Heading from '$components/molecules/Heading/Heading.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe/InteractiveGlobe.svelte'
|
||||
|
||||
export let data
|
||||
const { credit } = data
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
import { getContext } from 'svelte'
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe.svelte'
|
||||
import Locations from '$components/organisms/Locations.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule.svelte'
|
||||
import Heading from '$components/molecules/Heading.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe/InteractiveGlobe.svelte'
|
||||
import Locations from '$components/organisms/Locations/Locations.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule/ShopModule.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule/NewsletterModule.svelte'
|
||||
import Heading from '$components/molecules/Heading/Heading.svelte'
|
||||
|
||||
const { locations }: any = getContext('global')
|
||||
const text = 'Explore the globe to discover unique locations across the world'
|
||||
|
||||
@@ -21,14 +21,14 @@
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import SplitText from '$components/SplitText.svelte'
|
||||
import IconEarth from '$components/atoms/IconEarth.svelte'
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import Image from '$components/atoms/Image.svelte'
|
||||
import ScrollingTitle from '$components/atoms/ScrollingTitle.svelte'
|
||||
import DiscoverText from '$components/atoms/DiscoverText.svelte'
|
||||
import PostCard from '$components/molecules/PostCard.svelte'
|
||||
import PostCard from '$components/molecules/PostCard/PostCard.svelte'
|
||||
import Select from '$components/molecules/Select.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule/ShopModule.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule/NewsletterModule.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
import { quartOut } from '$animations/easings'
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import Heading from '$components/molecules/Heading.svelte'
|
||||
import EmailForm from '$components/molecules/EmailForm.svelte'
|
||||
import NewsletterIssue from '$components/molecules/NewsletterIssue.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe.svelte'
|
||||
import Heading from '$components/molecules/Heading/Heading.svelte'
|
||||
import EmailForm from '$components/molecules/EmailForm/EmailForm.svelte'
|
||||
import NewsletterIssue from '$components/molecules/NewsletterIssue/NewsletterIssue.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe/InteractiveGlobe.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
import relativeTime from 'dayjs/plugin/relativeTime'
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import Heading from '$components/molecules/Heading.svelte'
|
||||
import Heading from '$components/molecules/Heading/Heading.svelte'
|
||||
|
||||
export let data
|
||||
const { legal } = data
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
import { page } from '$app/stores'
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import BoxCTA from '$components/atoms/BoxCTA.svelte'
|
||||
import Heading from '$components/molecules/Heading.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe.svelte'
|
||||
import BoxCTA from '$components/atoms/BoxCTA/BoxCTA.svelte'
|
||||
import Heading from '$components/molecules/Heading/Heading.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe/InteractiveGlobe.svelte'
|
||||
import ListCTAs from '$components/organisms/ListCTAs.svelte'
|
||||
import Locations from '$components/organisms/Locations.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule.svelte'
|
||||
import Locations from '$components/organisms/Locations/Locations.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule/ShopModule.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule/NewsletterModule.svelte'
|
||||
|
||||
const { locations }: any = getContext('global')
|
||||
const errors = {
|
||||
|
||||
@@ -31,9 +31,9 @@
|
||||
import SVGSprite from '$components/SVGSprite.svelte'
|
||||
import SmoothScroll from '$components/SmoothScroll.svelte'
|
||||
import Analytics from '$components/Analytics.svelte'
|
||||
import Switcher from '$components/molecules/Switcher.svelte'
|
||||
import Toast from '$components/molecules/Toast.svelte'
|
||||
import Footer from '$components/organisms/Footer.svelte'
|
||||
import Switcher from '$components/molecules/Switcher/Switcher.svelte'
|
||||
import Toast from '$components/molecules/Toast/Toast.svelte'
|
||||
import Footer from '$components/organisms/Footer/Footer.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
// Components
|
||||
import Metas from '$components/Metas.svelte'
|
||||
import SplitText from '$components/SplitText.svelte'
|
||||
import Button from '$components/atoms/Button.svelte'
|
||||
import Button from '$components/atoms/Button/Button.svelte'
|
||||
import IconEarth from '$components/atoms/IconEarth.svelte'
|
||||
import ScrollingTitle from '$components/atoms/ScrollingTitle.svelte'
|
||||
import BoxCTA from '$components/atoms/BoxCTA.svelte'
|
||||
import BoxCTA from '$components/atoms/BoxCTA/BoxCTA.svelte'
|
||||
import DiscoverText from '$components/atoms/DiscoverText.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe.svelte'
|
||||
import Collage from '$components/organisms/Collage.svelte'
|
||||
import Locations from '$components/organisms/Locations.svelte'
|
||||
import InteractiveGlobe from '$components/organisms/InteractiveGlobe/InteractiveGlobe.svelte'
|
||||
import Collage from '$components/organisms/Collage/Collage.svelte'
|
||||
import Locations from '$components/organisms/Locations/Locations.svelte'
|
||||
import ListCTAs from '$components/organisms/ListCTAs.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule.svelte'
|
||||
import ShopModule from '$components/organisms/ShopModule/ShopModule.svelte'
|
||||
import NewsletterModule from '$components/organisms/NewsletterModule/NewsletterModule.svelte'
|
||||
|
||||
export let data
|
||||
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
.arrow {
|
||||
display: block;
|
||||
|
||||
// Colors
|
||||
&--white {
|
||||
color: #fff;
|
||||
}
|
||||
&--pink {
|
||||
color: $color-secondary;
|
||||
}
|
||||
|
||||
// Variants
|
||||
&--flip {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
.badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 16px;
|
||||
margin: 0 auto;
|
||||
padding: 0 6px;
|
||||
text-align: center;
|
||||
background: $color-secondary-light;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
line-height: 1;
|
||||
color: $color-primary-darker;
|
||||
border-radius: 100vh;
|
||||
|
||||
// Small size
|
||||
&--small {
|
||||
font-size: rem(7px);
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
.discover {
|
||||
padding: 0 20px;
|
||||
font-family: $font-sans;
|
||||
font-size: rem(24px);
|
||||
font-weight: 200;
|
||||
line-height: 1.5;
|
||||
color: $color-tertiary;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(28px);
|
||||
}
|
||||
@include bp (md) {
|
||||
font-size: rem(32px);
|
||||
}
|
||||
|
||||
strong {
|
||||
color: $color-secondary;
|
||||
font-weight: 200;
|
||||
}
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
.heading {
|
||||
overflow: hidden;
|
||||
margin-bottom: 72px;
|
||||
text-align: center;
|
||||
color: $color-tertiary;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-bottom: clamp(72px, 8vw, 128px);
|
||||
}
|
||||
|
||||
// Title
|
||||
:global(h1) {
|
||||
margin-top: 56px;
|
||||
line-height: 1;
|
||||
color: $color-secondary;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-top: clamp(80px, 9vw, 160px);
|
||||
}
|
||||
}
|
||||
|
||||
// Text
|
||||
.text {
|
||||
width: 75%;
|
||||
max-width: 360px;
|
||||
margin: 40px auto 0;
|
||||
font-weight: 200;
|
||||
|
||||
@include bp (sm) {
|
||||
max-width: 600px;
|
||||
margin-top: 72px;
|
||||
}
|
||||
|
||||
:global(a) {
|
||||
position: relative;
|
||||
color: currentColor;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
background-image: linear-gradient(rgba($color-tertiary, 0.3), rgba($color-tertiary, 0.3));
|
||||
background-position: 0 100%;
|
||||
background-size: 100% 1px;
|
||||
background-repeat: no-repeat;
|
||||
transition: color 0.4s var(--ease-quart);
|
||||
|
||||
&:hover {
|
||||
color: $color-secondary-light;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,124 +0,0 @@
|
||||
// Email Form
|
||||
.newsletter-form {
|
||||
position: relative;
|
||||
|
||||
&__email {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
height: 56px;
|
||||
margin-bottom: 20px;
|
||||
padding: 0 24px;
|
||||
border-radius: 100vh;
|
||||
box-shadow: inset 0 0 0 2px $color-secondary;
|
||||
transition: box-shadow 0.6s var(--ease-quart);
|
||||
|
||||
@include bp (sm) {
|
||||
height: 64px;
|
||||
padding: 0 30px;
|
||||
}
|
||||
|
||||
:global(input) {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: rem(16px);
|
||||
font-family: $font-sans;
|
||||
font-weight: 300;
|
||||
color: $color-tertiary;
|
||||
background: none;
|
||||
border: none;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(18px);
|
||||
}
|
||||
}
|
||||
:global(input::placeholder) {
|
||||
color: rgba($color-tertiary, 0.6);
|
||||
opacity: 1;
|
||||
}
|
||||
:global(button) {
|
||||
position: absolute !important;
|
||||
right: 16px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
margin-left: 32px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
// States
|
||||
&.is-focused, &:hover {
|
||||
box-shadow: inset 0 0 0 4px $color-secondary;
|
||||
}
|
||||
}
|
||||
|
||||
// Bottom details
|
||||
&__bottom {
|
||||
display: block;
|
||||
text-align: center;
|
||||
font-size: rem(14px);
|
||||
max-width: 600px;
|
||||
|
||||
@include bp (sm) {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: rem(16px);
|
||||
}
|
||||
|
||||
.past-issues {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin: 0 auto auto 0;
|
||||
text-decoration: none;
|
||||
color: $color-text;
|
||||
|
||||
&, span {
|
||||
transition: color 0.2s, border-color 0.2s;
|
||||
}
|
||||
span {
|
||||
display: block;
|
||||
padding-bottom: 2px;
|
||||
font-size: rem(14px);
|
||||
color: $color-text;
|
||||
margin-left: 8px;
|
||||
border-bottom: 1px solid $color-text;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-left: 12px;
|
||||
padding-bottom: 0;
|
||||
font-size: rem(16px);
|
||||
}
|
||||
}
|
||||
}
|
||||
p {
|
||||
color: $color-gray;
|
||||
line-height: 1.3;
|
||||
margin-top: 16px;
|
||||
margin-bottom: 0;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Message
|
||||
&__message {
|
||||
padding: 24px;
|
||||
text-align: center;
|
||||
border-radius: 8px;
|
||||
|
||||
&.is-error {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
color: #fff;
|
||||
background: $color-secondary;
|
||||
}
|
||||
&.is-success {
|
||||
color: $color-text;
|
||||
background: $color-tertiary;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
.notification-cart {
|
||||
display: flex;
|
||||
background-color: #fff;
|
||||
color: $color-gray;
|
||||
border-radius: 6px;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
|
||||
// Left Image
|
||||
&__left {
|
||||
margin-right: 20px;
|
||||
width: 100px;
|
||||
height: 150px;
|
||||
|
||||
@include bp (sm) {
|
||||
margin-right: 24px;
|
||||
width: 58px;
|
||||
height: 88px;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
// Details
|
||||
&__right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-right: 24px;
|
||||
justify-content: center;
|
||||
|
||||
// Poster Title
|
||||
h3 {
|
||||
font-family: $font-serif;
|
||||
color: $color-secondary;
|
||||
font-size: rem(20px);
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(18px);
|
||||
}
|
||||
}
|
||||
// Text
|
||||
p {
|
||||
font-size: rem(12px);
|
||||
line-height: 1.4;
|
||||
max-width: 124px;
|
||||
margin: 4px 0;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(13px);
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
// About page Step
|
||||
.step {
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: 32px;
|
||||
background: $color-primary-darker;
|
||||
border-radius: 12px;
|
||||
transform: translateZ(0);
|
||||
|
||||
@include bp (sm) {
|
||||
--columns: 11;
|
||||
display: grid;
|
||||
grid-template-rows: repeat(2, 1fr);
|
||||
padding: 8% 0;
|
||||
min-height: clamp(400px, 75vh, 800px);
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
// Image
|
||||
.media {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
width: 70%;
|
||||
max-height: 550px;
|
||||
margin-bottom: 28px;
|
||||
border-radius: 6px;
|
||||
|
||||
@include bp (sm) {
|
||||
grid-column: 2 / span 6;
|
||||
grid-row: 1 / -1;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
:global(.image img), video {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
// Content
|
||||
.text {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
line-height: 1.5;
|
||||
font-weight: 300;
|
||||
color: $color-secondary-light;
|
||||
grid-column: 2 / -2;
|
||||
}
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
.shop-locationswitcher {
|
||||
pointer-events: auto;
|
||||
|
||||
dt {
|
||||
color: $color-primary;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
font-size: rem(12px);
|
||||
}
|
||||
dd {
|
||||
color: $color-secondary;
|
||||
|
||||
svg {
|
||||
display: inline-block;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-right: 4px;
|
||||
|
||||
@include bp (sm) {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
}
|
||||
select {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: rem(18px);
|
||||
color: $color-secondary;
|
||||
font-family: $font-serif;
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(24px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Overlaid
|
||||
&.is-over {
|
||||
dt {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,13 +12,14 @@
|
||||
margin-top: 0;
|
||||
margin-bottom: 120px;
|
||||
}
|
||||
}
|
||||
:global(.newsletter-form__bottom) {
|
||||
|
||||
:global(.bottom) {
|
||||
:global(p) {
|
||||
color: rgba($color-tertiary, 0.6);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Past Issues
|
||||
&__issues {
|
||||
|
||||
Reference in New Issue
Block a user