feat(15): initial styling step 5

This commit is contained in:
efim 2023-07-13 06:15:53 +00:00
parent 3c51273cc3
commit 2d514e9258
2 changed files with 133 additions and 126 deletions

View File

@ -548,30 +548,10 @@ video {
bottom: 0px;
}
.z-0 {
z-index: 0;
}
.z-10 {
z-index: 10;
}
.z-40 {
z-index: 40;
}
.z-50 {
z-index: 50;
}
.col-start-2 {
grid-column-start: 2;
}
.row-span-full {
grid-row: 1 / -1;
}
.row-span-2 {
grid-row: span 2 / span 2;
}
@ -580,28 +560,6 @@ video {
grid-row-start: 1;
}
.m-8 {
margin: 2rem;
}
.m-4 {
margin: 1rem;
}
.m-6 {
margin: 1.5rem;
}
.my-10 {
margin-top: 2.5rem;
margin-bottom: 2.5rem;
}
.my-8 {
margin-top: 2rem;
margin-bottom: 2rem;
}
.my-7 {
margin-top: 1.75rem;
margin-bottom: 1.75rem;
@ -615,6 +573,10 @@ video {
margin-left: 0.5rem;
}
.ml-20 {
margin-left: 5rem;
}
.ml-6 {
margin-left: 1.5rem;
}
@ -631,20 +593,8 @@ video {
margin-top: 0.3rem;
}
.ml-\[200px\] {
margin-left: 200px;
}
.ml-\[100px\] {
margin-left: 100px;
}
.ml-\[70px\] {
margin-left: 70px;
}
.ml-20 {
margin-left: 5rem;
.mb-2 {
margin-bottom: 0.5rem;
}
.flex {
@ -687,34 +637,46 @@ video {
height: 1.25rem;
}
.h-8 {
height: 2rem;
.h-6 {
height: 1.5rem;
}
.h-screen {
height: 100vh;
.h-8 {
height: 2rem;
}
.h-full {
height: 100%;
}
.h-6 {
height: 1.5rem;
.h-screen {
height: 100vh;
}
.h-4 {
height: 1rem;
.h-16 {
height: 4rem;
}
.h-14 {
height: 3.5rem;
}
.w-11\/12 {
width: 91.666667%;
}
.w-20 {
width: 5rem;
}
.w-24 {
width: 6rem;
}
.w-6 {
width: 1.5rem;
}
.w-8 {
width: 2rem;
}
@ -731,12 +693,16 @@ video {
width: 100vw;
}
.w-6 {
width: 1.5rem;
.w-16 {
width: 4rem;
}
.w-4 {
width: 1rem;
.w-12 {
width: 3rem;
}
.w-14 {
width: 3.5rem;
}
.grow {
@ -757,14 +723,14 @@ video {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-\[repeat\(4\2c _auto\)\] {
grid-template-columns: repeat(4, auto);
}
.grid-cols-\[1fr_100px\] {
grid-template-columns: 1fr 100px;
}
.grid-cols-\[repeat\(4\2c _auto\)\] {
grid-template-columns: repeat(4, auto);
}
.flex-row {
flex-direction: row;
}
@ -808,10 +774,6 @@ video {
align-self: center;
}
.justify-self-center {
justify-self: center;
}
.rounded {
border-radius: 0.25rem;
}
@ -862,36 +824,16 @@ video {
background-color: hsl(213 96% 18% / var(--tw-bg-opacity));
}
.bg-white {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-yellow-500 {
--tw-bg-opacity: 1;
background-color: rgb(234 179 8 / var(--tw-bg-opacity));
}
.bg-cool-gray {
--tw-bg-opacity: 1;
background-color: hsl(231 11% 63% / var(--tw-bg-opacity));
}
.bg-light-blue {
--tw-bg-opacity: 1;
background-color: hsl(206 94% 87% / var(--tw-bg-opacity));
}
.bg-pastel-blue {
--tw-bg-opacity: 1;
background-color: hsl(228 100% 84% / var(--tw-bg-opacity));
}
.bg-purplish-blue {
--tw-bg-opacity: 1;
background-color: hsl(243 100% 62% / var(--tw-bg-opacity));
}
.bg-white {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-sidebar-mobile {
background-image: url("images/bg-sidebar-mobile.svg");
}
@ -929,22 +871,23 @@ video {
padding-bottom: 2rem;
}
.pt-3 {
padding-top: 0.75rem;
}
.pl-8 {
padding-left: 2rem;
}
.pl-5 {
padding-left: 1.25rem;
.py-20 {
padding-top: 5rem;
padding-bottom: 5rem;
}
.pl-6 {
padding-left: 1.5rem;
}
.pt-3 {
padding-top: 0.75rem;
}
.text-center {
text-align: center;
}
.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
@ -960,6 +903,11 @@ video {
line-height: 1.25rem;
}
.text-xl {
font-size: 1.25rem;
line-height: 1.75rem;
}
.font-bold {
font-weight: 700;
}
@ -1134,10 +1082,6 @@ html {
background-color: hsl(217 100% 97% / 0.5);
}
.peer:checked ~ .peer-checked\:bg-magnolia\/20 {
background-color: hsl(217 100% 97% / 0.2);
}
.peer:checked ~ .peer-checked\:text-cool-gray {
--tw-text-opacity: 1;
color: hsl(231 11% 63% / var(--tw-text-opacity));
@ -1209,10 +1153,6 @@ html {
width: 100%;
}
.md\:w-20 {
width: 5rem;
}
.md\:grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}

View File

@ -35,16 +35,83 @@
</p>
<![endif]-->
<main class="bg-green-200">
<!-- Step 5 start -->
<main class="grid place-content-center h-screen">
<article
class="flex flex-col items-center w-screen h-screen md:grid md:items-start md:p-5 md:bg-white md:rounded-2xl md:grid-cols-[auto_1fr] md:w-desktop-form md:h-desktop-form md:drop-shadow-2xl"
id="form-step"
>
<summary
class="w-full h-44 bg-no-repeat md:row-span-2 bg-sidebar-mobile marker:text-white md:bg-sidebar-desktop md:h-[568px] md:w-[274px]"
id="sidebar"
>
<ol
class="grid grid-cols-[repeat(4,_auto)] gap-x-5 content-center items-center place-content-center h-24 md:flex-col md:h-full md:grid-rows-[repeat(4,_auto)] md:grid-cols-1 md:content-start md:p-10 md:gap-y-7 text-white text-sm uppercase"
>
<li class="items-center md:grid md:gap-x-4 md:grid-cols-[auto_1fr]">
<div
class="grid place-content-center w-8 h-8 text-white rounded-full border border-white"
>
1
</div>
<p class="hidden md:flex md:flex-col">
<span class="text-light-gray">Step 1</span
><span class="font-bold">Your info</span>
</p>
</li>
<li class="items-center md:grid md:gap-x-4 md:grid-cols-[auto_1fr]">
<div
class="grid place-content-center w-8 h-8 text-white rounded-full border border-white"
>
2
</div>
<p class="hidden md:flex md:flex-col">
<span class="text-light-gray">Step 2</span
><span class="font-bold">Select plan</span>
</p>
</li>
<li class="items-center md:grid md:gap-x-4 md:grid-cols-[auto_1fr]">
<div
class="grid place-content-center w-8 h-8 text-white rounded-full border border-white"
>
3
</div>
<p class="hidden md:flex md:flex-col">
<span class="text-light-gray">Step 3</span
><span class="font-bold">Add-ons</span>
</p>
</li>
<li class="items-center md:grid md:gap-x-4 md:grid-cols-[auto_1fr]">
<div
class="grid place-content-center w-8 h-8 text-white rounded-full border border-white"
>
4
</div>
<p class="hidden md:flex md:flex-col">
<span class="text-light-gray">Step 4</span
><span class="font-bold">summary</span>
</p>
</li>
</ol>
</summary>
<section
id="multipage-form-container"
class="flex flex-col gap-y-4 items-center py-8 py-20 px-6 -mt-20 w-11/12 bg-white rounded-xl md:px-24 md:mt-0 md:w-full drop-shadow-xl md:drop-shadow-none"
>
<!-- Step 5 start -->
Thank you!
Thanks for confirming your subscription! We hope you have fun
using our platform. If you ever need support, please feel free
to email us at support@loremgaming.com.
<img src="../public/images/icon-thank-you.svg" alt="" class="mb-2 w-14 h-14" />
<h2 class="text-2xl font-bold">Thank you!</h2>
<p class="text-center text-cool-gray">
Thanks for confirming your subscription! We hope you have fun
using our platform. If you ever need support, please feel free
to email us at support@loremgaming.com.
</p>
<!-- Step 5 end -->
</section>
<div class="md:hidden grow"></div>
</article>
</main>
</body>
</html>