This commit is contained in:
karyamanswasta
2025-08-27 03:20:49 +07:00
parent 6127415e37
commit f58b40c70d
14 changed files with 2127 additions and 1071 deletions

View File

@@ -2,9 +2,15 @@
.item-lister {
width: 100%;
padding: 10px; /* Slightly reduced padding */
padding: 16px;
box-sizing: border-box;
white-space: break-spaces;
background-color: #ffffff;
border-radius: 16px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
margin-bottom: 20px;
position: relative;
z-index: 150; /* Memastikan berada di bawah material list */
}
.fullscreen {
@@ -21,59 +27,63 @@
.grid-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
height: calc(50vw - 20px);
gap: 16px;
height: calc(52vw - 20px);
padding: 16px;
background-color: #f8f9fa;
border-radius: 12px;
margin-bottom: 24px;
}
@media (min-height: 0px) {
.grid-container {
height: 28vh;
height: 30vh;
}
}
@media (min-height: 630px) {
.grid-container {
height: 28vh;
height: 30vh;
}
}
@media (min-height: 636px) {
.grid-container {
height: 30vh;
height: 32vh;
}
}
@media (min-height: 650px) {
.grid-container {
height: 36vh;
height: 38vh;
}
}
@media (min-height: 705px) {
.grid-container {
height: 39vh;
height: 41vh;
}
}
@media (min-height: 735px) {
.grid-container {
height: 40vh;
height: 42vh;
}
}
@media (min-height: 759px) {
.grid-container {
height: 42vh;
height: 44vh;
}
}
@media (min-height: 819px) {
.grid-container {
height: 46vh;
height: 48vh;
}
}
@media (min-height: 830px) {
.grid-container {
height: 49vh;
height: 51vh;
}
}
@media (min-height: 892px) {
.grid-container {
height: 51vh;
height: 53vh;
}
}
@@ -81,30 +91,36 @@
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px; /* Added padding for better spacing */
background-color: #f8f9fa; /* Light background for better visual separation */
border-radius: 12px; /* Rounded corners */
margin-bottom: 16px; /* Space below the title container */
box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Subtle shadow */
padding: 16px 20px;
background-color: #f8f9fa;
border-radius: 12px;
margin-bottom: 20px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
position: relative;
z-index: 151;
}
.titleActions {
display: inline-flex;
align-items: center;
gap: 6px;
gap: 10px;
}
.iconBtn {
width: 32px;
height: 32px;
width: 40px;
height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid #e6e6e6;
background: #ffffff;
color: #2d2d2d;
border-radius: 8px;
border-radius: 10px;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
position: relative;
z-index: 152;
}
.iconBtn:disabled {
opacity: 0.5;
@@ -113,62 +129,90 @@
.iconBtn:hover:not(:disabled) {
background: var(--brand-sage-50, #F0F6F2);
border-color: var(--brand-sage, #6B8F71);
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.title {
background-color: transparent;
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 600; /* Increased font weight for better visibility */
font-weight: 600;
font-style: normal;
font-size: 20px;
font-size: 22px;
color: rgba(88, 55, 50, 1);
text-align: left;
width: calc(70% - 10px);
padding-left: 10px;
width: calc(70% - 12px);
padding-left: 12px;
text-transform: capitalize;
border: none;
outline: none;
position: relative;
z-index: 151;
}
.edit-typeItem-button {
margin-left: auto;
padding: 6px 12px;
font-size: 13px;
padding: 10px 16px;
font-size: 14px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 4px;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
position: relative;
z-index: 152;
}
.edit-typeItem-button:hover {
background-color: #0069d9;
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.add-item-button {
margin-top: 10px;
padding: 6px 12px;
font-size: 13px;
margin-top: 16px;
padding: 12px 20px;
font-size: 16px;
background-color: #359d42d1;
color: #fff;
border: none;
border-radius: 4px;
border-radius: 10px;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 2px 6px rgba(53, 157, 66, 0.2);
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
position: relative;
z-index: 151;
}
.add-item-button:hover {
background-color: #2d8a39;
box-shadow: 0 4px 10px rgba(53, 157, 66, 0.3);
}
.item-list {
display: flex;
flex-direction: column;
gap: 16px;
position: relative;
z-index: 150;
}
/* Grid layout for portrait cards on cafe page */
.item-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
gap: 16px;
}
@media (min-width: 600px) {
.item-grid {
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
}
@media (min-width: 992px) {
.item-grid {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
}
@@ -179,40 +223,62 @@
.noborder {
border: 1px solid #ffffff00;
}
.itemWrapper {
position: relative;
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 1px 5px rgba(0,0,0,0.08);
transition: all 0.2s ease;
overflow: hidden;
position: relative;
z-index: 150;
}
.itemWrapper:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.12);
transform: translateY(-2px);
}
.editModeLayout {
border-radius: 4px;
border-radius: 12px 12px 0 0;
position: absolute;
z-index: 100;
background-color: #0000008c;
z-index: 155; /* Memastikan berada di atas itemWrapper */
background-color: #000000cc;
width: 100%;
top: 6px;
bottom: -4px;
top: 0;
left: 0;
right: 0;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
font-size: 13px;
font-size: 14px;
padding: 12px 16px;
color: white;
}
.editModeLayout h3 {
margin: 0;
font-weight: 500;
font-size: 14px;
}
.PaymentOption {
overflow-x: hidden;
background-color: #e9e9e9;
background-color: #ffffff;
display: flex;
flex-direction: column;
justify-content: center;
font-size: calc(10px + 2vmin);
font-size: calc(12px + 2vmin);
color: rgba(88, 55, 50, 1);
border-radius: 15px 15px 0 0;
border-radius: 20px 20px 0 0;
position: fixed;
bottom: 0;
right: 0;
left: 0;
z-index: 300;
z-index: 300; /* Menurunkan z-index agar tidak menutupi material list */
box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
padding: 20px;
}
.TotalContainer {
@@ -223,20 +289,28 @@
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 600;
font-style: normal;
font-size: 1.5em;
padding: 10px 0;
font-size: 1.8em;
padding: 15px 0;
border-bottom: 1px solid #e6e6e6;
}
.OptionContainer {
display: flex;
justify-content: space-between;
width: 80vw;
margin: 0 auto;
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 600;
font-weight: 500;
font-style: normal;
font-size: 0.9em;
padding: 10px 0;
font-size: 1.1em;
padding: 15px 0;
align-items: center;
}
.OptionContainer span:first-child {
color: #555;
}
.PayButton {
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 500;
@@ -244,7 +318,7 @@
font-size: 32px;
width: 80vw;
height: 70px;
height: 56px;
border-radius: 50px;
background-color: rgba(88, 55, 50, 1);
color: white;
@@ -252,14 +326,32 @@
margin: 0px auto;
cursor: pointer;
margin-bottom: 23px;
transition: all 0.2s ease;
box-shadow: 0 4px 12px rgba(88, 55, 50, 0.2);
position: relative;
z-index: 301;
}
.PayButton:hover {
background-color: rgba(70, 45, 40, 1);
box-shadow: 0 6px 16px rgba(88, 55, 50, 0.3);
}
.Pay2Button {
text-align: center;
color: rgba(88, 55, 50, 1);
font-size: 1em;
margin-bottom: 25px;
font-size: 1.2em;
font-weight: 500;
margin-bottom: 10px;
cursor: pointer;
padding: 12px;
border-radius: 8px;
transition: all 0.2s ease;
position: relative;
z-index: 301;
}
.Pay2Button:hover {
background-color: #f0f0f0;
}
.item-list-title {