Skip to content

Commit

Permalink
Removed bg-overlay and various tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jordythevulder committed Dec 17, 2024
1 parent 5d76ccb commit 588cc0f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-inactive-100 text-muted relative py-3 text-xs font-semibold">
<div class="bg text-muted relative py-3 text-xs font-semibold">
<slider reference="header-usp-slider" autoplay loop>
<div
ref="header-usp-slider"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
mutate-event="setPaymentMethodOnCart"
v-slot="{ mutate, variables }"
>
<div partial-submit="mutate" class="flex flex-col gap-4">
<div partial-submit="mutate" class="flex flex-col gap-3">
<div v-for="(method, index) in cart.available_payment_methods">
@include('rapidez-ct::checkout.partials.sections.payment.payment-methods')
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
</x-rapidez-ct::title.lg>
<x-rapidez-ct::usp-list>
<li>
<x-heroicon-o-check class="absolute left-0 top-0 h-5 text-ct-accent" stroke-width="2.5" />
<x-heroicon-o-check class="absolute left-0 top-0 h-5 text-primary" stroke-width="2.5" />
<span>Success usp 1</span>
</li>
<li>
<x-heroicon-o-check class="absolute left-0 top-0 h-5 text-ct-accent" stroke-width="2.5" />
<x-heroicon-o-check class="absolute left-0 top-0 h-5 text-primary" stroke-width="2.5" />
<span>Success usp 2</span>
</li>
<li>
<x-heroicon-o-check class="absolute left-0 top-0 h-5 text-ct-accent" stroke-width="2.5" />
<x-heroicon-o-check class="absolute left-0 top-0 h-5 text-primary" stroke-width="2.5" />
<span>Success usp 3</span>
</li>
</x-rapidez-ct::usp-list>
Expand Down
10 changes: 6 additions & 4 deletions resources/views/components/input/radio/tile.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<label {{ $attributes->only('class')->class('relative flex w-full cursor-pointer items-center justify-start gap-x-3 rounded border bg-white px-5 sm:px-7 py-7') }}>
<span class="flex aspect-square size-6 items-center justify-center rounded-full border bg-white">
<input type="radio" {{ $attributes->except('class') }} class="peer size-3 border-none text-primary transition checked:bg-none focus:ring-0 focus:ring-offset-0" />
<span class="absolute -inset-y-px -left-px w-1 rounded-l bg-primary opacity-0 transition-all peer-checked:opacity-100"></span>
</span>
<x-rapidez::input.radio.base
class="size-6 text-primary peer"
name="{{ $name }}"
{{ $attributes->except('class') }}
/>
@isset($slot)
<span class="flex w-full flex-wrap items-center justify-between gap-x-3">
{{ $slot }}
</span>
@endisset
<div class="absolute -inset-y-px -left-px w-1 rounded-l bg-primary opacity-0 transition-all peer-checked:opacity-100"></div>
</label>
2 changes: 1 addition & 1 deletion resources/views/components/newsletter-visual.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="absolute right-7 top-1/2 -translate-y-1/2 max-lg:hidden">
<div class="bg text-muted items-center justify-center rounded-full p-4">
<div class="bg text-muted items-center justify-center rounded-full p-3">
<svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M21.75 9v.906a2.25 2.25 0 01-1.183 1.981l-6.478 3.488M2.25 9v.906a2.25 2.25 0 001.183 1.981l6.478 3.488m8.839 2.51l-4.66-2.51m0 0l-1.023-.55a2.25 2.25 0 00-2.134 0l-1.022.55m0 0l-4.661 2.51m16.5 1.615a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V8.844a2.25 2.25 0 011.183-1.98l7.5-4.04a2.25 2.25 0 012.134 0l7.5 4.04a2.25 2.25 0 011.183 1.98V19.5z"/></svg>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@props(['isPartOfAnotherForm' => false, 'id'])

<x-rapidez-ct::input.checkbox.tile :attributes="$attributes->merge([
'class' => 'relative flex w-full cursor-pointer !items-start rounded-md border bg-white p-7 pt-5',
'class' => 'relative flex w-full cursor-pointer !items-start rounded-md border bg-white px-7 py-5',
'id' => $id,
])" v-on:change="() => {
if (typeof mutate === 'function' && (!{{ (int)$isPartOfAnotherForm }})) { mutate() }
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/popup.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
{{ $slot }}
</x-rapidez-ct::card.inactive>
</x-rapidez-ct::sections>
<label class="absolute inset-0 bg-overlay/60 cursor-pointer" for="{{ $id }}"></label>
<label class="absolute inset-0 bg-black/60 cursor-pointer" for="{{ $id }}"></label>
</div>

0 comments on commit 588cc0f

Please sign in to comment.