fix: change z index of jquery modal blocker such that it stays on top of the navbar

feat/promo-code-loader
jatiny 2024-11-20 06:34:59 +00:00
parent 7d7031a409
commit f44928a2a9
2 changed files with 247 additions and 23 deletions

View File

@ -6,7 +6,6 @@ body {
@apply bg-white;
@apply text-gray-600;
@apply font-light;
@apply color-[#20305f]
}
a {
@ -79,3 +78,7 @@ input[type="radio"],input[type="checkbox"] {
}
}
.jquery-modal.blocker {
z-index: 10 !important;
}

View File

@ -831,6 +831,10 @@ select {
z-index: 10;
}
.m-0 {
margin: 0px;
}
.-mx-2 {
margin-left: -0.5rem;
margin-right: -0.5rem;
@ -871,11 +875,31 @@ select {
margin-bottom: 0.5rem;
}
.my-24 {
margin-top: 6rem;
margin-bottom: 6rem;
}
.my-4 {
margin-top: 1rem;
margin-bottom: 1rem;
}
.my-6 {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.my-8 {
margin-top: 2rem;
margin-bottom: 2rem;
}
.my-auto {
margin-top: auto;
margin-bottom: auto;
}
.mb-1 {
margin-bottom: 0.25rem;
}
@ -896,6 +920,10 @@ select {
margin-bottom: 1rem;
}
.mb-6 {
margin-bottom: 1.5rem;
}
.mb-8 {
margin-bottom: 2rem;
}
@ -960,6 +988,10 @@ select {
display: block;
}
.inline-block {
display: inline-block;
}
.inline {
display: inline;
}
@ -976,6 +1008,10 @@ select {
display: flow-root;
}
.grid {
display: grid;
}
.hidden {
display: none;
}
@ -988,6 +1024,10 @@ select {
height: 3rem;
}
.h-16 {
height: 4rem;
}
.h-24 {
height: 6rem;
}
@ -1008,10 +1048,6 @@ select {
height: 2rem;
}
.h-\[50vh\] {
height: 50vh;
}
.h-auto {
height: auto;
}
@ -1048,6 +1084,10 @@ select {
width: 4rem;
}
.w-2\/3 {
width: 66.666667%;
}
.w-24 {
width: 6rem;
}
@ -1097,6 +1137,10 @@ select {
width: max-content;
}
.max-w-4xl {
max-width: 56rem;
}
.max-w-6xl {
max-width: 72rem;
}
@ -1133,6 +1177,14 @@ select {
flex-shrink: 0;
}
.flex-grow {
flex-grow: 1;
}
.table-auto {
table-layout: auto;
}
.border-separate {
border-collapse: separate;
}
@ -1160,6 +1212,10 @@ select {
list-style-type: square;
}
.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.flex-row {
flex-direction: row;
}
@ -1242,6 +1298,18 @@ select {
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.overflow-y-auto {
overflow-y: auto;
}
@ -1256,10 +1324,22 @@ select {
white-space: nowrap;
}
.rounded {
border-radius: 0.25rem;
}
.rounded-full {
border-radius: 9999px;
}
.rounded-lg {
border-radius: 0.5rem;
}
.rounded-md {
border-radius: 0.375rem;
}
.border {
border-width: 1px;
}
@ -1268,6 +1348,10 @@ select {
border-width: 2px;
}
.border-b {
border-bottom-width: 1px;
}
.border-t {
border-top-width: 1px;
}
@ -1345,6 +1429,11 @@ select {
background-color: rgb(219 234 254 / var(--tw-bg-opacity));
}
.bg-blue-500 {
--tw-bg-opacity: 1;
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
}
.bg-blue-950 {
--tw-bg-opacity: 1;
background-color: rgb(23 37 84 / var(--tw-bg-opacity));
@ -1404,6 +1493,10 @@ select {
object-fit: cover;
}
.p-0 {
padding: 0px;
}
.p-1 {
padding: 0.25rem;
}
@ -1420,6 +1513,10 @@ select {
padding: 1rem;
}
.p-6 {
padding: 1.5rem;
}
.p-8 {
padding: 2rem;
}
@ -1434,11 +1531,6 @@ select {
padding-right: 1rem;
}
.px-5 {
padding-left: 1.25rem;
padding-right: 1.25rem;
}
.px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
@ -1526,10 +1618,6 @@ select {
padding-top: 1.5rem;
}
.pt-8 {
padding-top: 2rem;
}
.text-left {
text-align: left;
}
@ -1604,10 +1692,29 @@ select {
line-height: 1.5rem;
}
.leading-8 {
line-height: 2rem;
}
.leading-none {
line-height: 1;
}
.text-\[\#4B5563\] {
--tw-text-opacity: 1;
color: rgb(75 85 99 / var(--tw-text-opacity));
}
.text-blue-500 {
--tw-text-opacity: 1;
color: rgb(59 130 246 / var(--tw-text-opacity));
}
.text-blue-600 {
--tw-text-opacity: 1;
color: rgb(37 99 235 / var(--tw-text-opacity));
}
.text-blue-900 {
--tw-text-opacity: 1;
color: rgb(30 58 138 / var(--tw-text-opacity));
@ -1628,11 +1735,21 @@ select {
color: rgb(249 250 251 / var(--tw-text-opacity));
}
.text-gray-500 {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
}
.text-gray-600 {
--tw-text-opacity: 1;
color: rgb(75 85 99 / var(--tw-text-opacity));
}
.text-gray-700 {
--tw-text-opacity: 1;
color: rgb(55 65 81 / var(--tw-text-opacity));
}
.text-gray-900 {
--tw-text-opacity: 1;
color: rgb(17 24 39 / var(--tw-text-opacity));
@ -1680,12 +1797,24 @@ select {
text-underline-offset: 2px;
}
.shadow {
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
@ -1785,6 +1914,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
}
}
.jquery-modal.blocker {
z-index: 10 !important;
}
.file\:mr-4::file-selector-button {
margin-right: 1rem;
}
@ -1848,6 +1981,11 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
border-color: rgb(30 58 138 / var(--tw-border-opacity));
}
.hover\:bg-blue-600:hover {
--tw-bg-opacity: 1;
background-color: rgb(37 99 235 / var(--tw-bg-opacity));
}
.hover\:bg-blue-900:hover {
--tw-bg-opacity: 1;
background-color: rgb(30 58 138 / var(--tw-bg-opacity));
@ -1857,6 +1995,11 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
stroke: #1e3a8a;
}
.hover\:text-blue-700:hover {
--tw-text-opacity: 1;
color: rgb(29 78 216 / var(--tw-text-opacity));
}
.hover\:text-blue-900:hover {
--tw-text-opacity: 1;
color: rgb(30 58 138 / var(--tw-text-opacity));
@ -2018,9 +2161,38 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
}
@media (min-width: 640px) {
.sm\:block {
display: block;
}
.sm\:flex {
display: flex;
}
.sm\:hidden {
display: none;
}
.sm\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sm\:flex-row {
flex-direction: row;
}
.sm\:gap-2 {
gap: 0.5rem;
}
.sm\:text-xl {
font-size: 1.25rem;
line-height: 1.75rem;
}
.sm\:font-light {
font-weight: 300;
}
}
@media (min-width: 768px) {
@ -2028,10 +2200,23 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
position: absolute;
}
.md\:my-8 {
margin-top: 2rem;
margin-bottom: 2rem;
}
.md\:ml-5 {
margin-left: 1.25rem;
}
.md\:mt-24 {
margin-top: 6rem;
}
.md\:mt-6 {
margin-top: 1.5rem;
}
.md\:block {
display: block;
}
@ -2040,6 +2225,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
display: flex;
}
.md\:table {
display: table;
}
.md\:hidden {
display: none;
}
@ -2080,6 +2269,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
width: 66.666667%;
}
.md\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.md\:flex-row {
flex-direction: row;
}
@ -2100,10 +2293,18 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
gap: 1rem;
}
.md\:border {
border-width: 1px;
}
.md\:p-2 {
padding: 0.5rem;
}
.md\:p-6 {
padding: 1.5rem;
}
.md\:p-8 {
padding: 2rem;
}
@ -2165,6 +2366,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
font-weight: 500;
}
.md\:font-normal {
font-weight: 400;
}
.md\:font-semibold {
font-weight: 600;
}
@ -2211,6 +2416,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
width: 40%;
}
.lg\:w-3\/12 {
width: 25%;
}
.lg\:w-3\/5 {
width: 60%;
}
@ -2219,6 +2428,14 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
width: 13rem;
}
.lg\:w-9\/12 {
width: 75%;
}
.lg\:w-\[49\%\] {
width: 49%;
}
.lg\:w-full {
width: 100%;
}
@ -2227,6 +2444,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
max-width: 100%;
}
.lg\:grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lg\:flex-row {
flex-direction: row;
}
@ -2243,6 +2464,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
align-items: center;
}
.lg\:gap-8 {
gap: 2rem;
}
.lg\:border-none {
border-style: none;
}
@ -2251,11 +2476,6 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
background-color: transparent;
}
.lg\:px-36 {
padding-left: 9rem;
padding-right: 9rem;
}
.lg\:py-0 {
padding-top: 0px;
padding-bottom: 0px;
@ -2278,6 +2498,11 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
line-height: 2rem;
}
.lg\:text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
.lg\:text-4xl {
font-size: 2.25rem;
line-height: 2.5rem;
@ -2303,9 +2528,5 @@ input[type="radio"]:focus,input[type="checkbox"]:focus {
.xl\:w-1\/4 {
width: 25%;
}
.xl\:w-9\/12 {
width: 75%;
}
}