Compare commits

..

3 Commits

Author SHA1 Message Date
Prospect
267b927711 fixed privacy policy splash 2024-03-12 10:59:38 -04:00
Prospect
14abe15f7b ui/ux improvements 2024-02-26 15:13:47 -05:00
Prospect
05a7c54baa ui/ux improvements 2024-02-26 15:13:01 -05:00
5 changed files with 10 additions and 20 deletions

View File

@@ -1517,10 +1517,6 @@ select {
top: 0px; top: 0px;
} }
.right-2 {
right: 0.5rem;
}
.z-20 { .z-20 {
z-index: 20; z-index: 20;
} }
@@ -1576,10 +1572,6 @@ select {
margin-top: 2rem; margin-top: 2rem;
} }
.ml-4 {
margin-left: 1rem;
}
.inline { .inline {
display: inline; display: inline;
} }
@@ -2055,10 +2047,6 @@ select {
padding-top: 1rem; padding-top: 1rem;
} }
.pr-2 {
padding-right: 0.5rem;
}
.text-center { .text-center {
text-align: center; text-align: center;
} }
@@ -2644,7 +2632,7 @@ body.login {
} }
#slide-out-menu { #slide-out-menu {
translate: -100%; transform: translateX(-100%);
transition: 300ms ease-in-out; transition: 300ms ease-in-out;
/* Hide scrollbar for WebKit (Chrome, Safari) */ /* Hide scrollbar for WebKit (Chrome, Safari) */
/* Hide scrollbar for Firefox */ /* Hide scrollbar for Firefox */
@@ -2675,7 +2663,7 @@ body.login {
} }
#slide-out-menu.open { #slide-out-menu.open {
transform: translateX(100%); transform: translateX(0);
} }
#header-nav.out-of-view { #header-nav.out-of-view {

View File

@@ -496,9 +496,11 @@ class SplashScreen {
} }
} }
showSplashScreen() { showSplashScreen() {
this.splashScreen.classList.remove('hidden'); if (window.location.href.indexOf('privacy-policy') === -1) {
this.headerNav.classList.add('out-of-view'); this.splashScreen.classList.remove('hidden');
this.footerNav.classList.add('out-of-view'); this.headerNav.classList.add('out-of-view');
this.footerNav.classList.add('out-of-view');
}
} }
hideSplashScreen() { hideSplashScreen() {
this.splashScreen.classList.add('close'); this.splashScreen.classList.add('close');

File diff suppressed because one or more lines are too long

View File

@@ -99,7 +99,7 @@ $statesOfWellness = [
<li class="accordion bg-<?= $state['color']['bg'] ?> text-<?= $state['color']['text'] ?>"> <li class="accordion bg-<?= $state['color']['bg'] ?> text-<?= $state['color']['text'] ?>">
<div class="relative flex px-2 rounded-md justify-between"> <div class="relative flex px-2 rounded-md justify-between">
<div href="" class="gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold flex items-center align-middle"> <div href="" class="gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold flex items-center align-middle">
<p><?php echo $state['title'] ?></p> <p class="pr-4"><?php echo $state['title'] ?></p>
</div> </div>
<button class="accordion-toggle absolute inset-0 flex w-full h-full"> <button class="accordion-toggle absolute inset-0 flex w-full h-full">

View File

@@ -64,7 +64,7 @@ $safetyPrecaution = [
<li class="accordion precautions-columns"> <li class="accordion precautions-columns">
<div class="relative flex px-2 rounded-md justify-between"> <div class="relative flex px-2 rounded-md justify-between">
<div href="" class="gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold flex items-center align-middle"> <div href="" class="gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold flex items-center align-middle">
<p><?php echo $precaution['title'] ?></p> <p class="pr-4"><?php echo $precaution['title'] ?></p>
</div> </div>
<button class="accordion-toggle absolute inset-0 flex w-full h-full"> <button class="accordion-toggle absolute inset-0 flex w-full h-full">