168 lines
3.6 KiB
CSS
168 lines
3.6 KiB
CSS
html {
|
|
font-size: 14px;
|
|
position: relative;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
.form-check-label {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
margin-left: 4px;
|
|
}
|
|
.form-group-modern {
|
|
position: relative;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
.form-floating .bi-question-circle {
|
|
font-size: 1.2rem;
|
|
color: #6c757d;
|
|
z-index: 9999 !important; /* higher than modal */
|
|
font-size: 0.9rem; /* make it cleaner */
|
|
opacity: 1 !important; /* ensure visible */
|
|
}
|
|
|
|
.form-floating .bi-question-circle:hover {
|
|
color: #0d6efd;
|
|
}
|
|
|
|
.form-group-modern input,
|
|
.form-group-modern textarea {
|
|
width: 100%;
|
|
padding: 10px 10px 10px 5px;
|
|
border: none;
|
|
border-bottom: 2px solid #ccc;
|
|
outline: none;
|
|
background: transparent;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.form-group-modern input:focus,
|
|
.form-group-modern textarea:focus {
|
|
border-bottom: 2px solid #00796B; /* teal highlight */
|
|
}
|
|
|
|
.form-group-modern label {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 5px;
|
|
font-size: 14px;
|
|
color: #999;
|
|
pointer-events: none;
|
|
transition: 0.3s ease all;
|
|
}
|
|
|
|
.form-group-modern input:focus ~ label,
|
|
.form-group-modern input:not(:placeholder-shown) ~ label,
|
|
.form-group-modern textarea:focus ~ label,
|
|
.form-group-modern textarea:not(:placeholder-shown) ~ label {
|
|
top: -10px;
|
|
left: 0;
|
|
font-size: 12px;
|
|
color: #00796B;
|
|
}
|
|
|
|
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
|
|
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
|
|
}
|
|
|
|
.modal-content {
|
|
-webkit-border-radius: 10px !important;
|
|
-moz-border-radius: 10px !important;
|
|
border-radius: 10px !important;
|
|
}
|
|
.modal-header {
|
|
margin-top: -15px !important;
|
|
background-color: teal;
|
|
color: white;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Custom CSS to change cart icon color to orange */
|
|
.navbar-nav .fa-shopping-cart {
|
|
color: green;
|
|
}
|
|
#itemPictureImage {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
.table-container {
|
|
margin: 10px;
|
|
}
|
|
.section-container {
|
|
margin-bottom: 25px;
|
|
}
|
|
.header-container {
|
|
margin-top: -65px !important;
|
|
background-color: teal;
|
|
color: white;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
}
|
|
.column-search-container {
|
|
background-color: #f8f9fa;
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.column-search-input {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.column-search-container .form-label {
|
|
margin-bottom: 2px;
|
|
font-weight: 500;
|
|
color: #495057;
|
|
}
|
|
thead {
|
|
background-color: teal;
|
|
color: white;
|
|
}
|
|
table {
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
thead th:first-child {
|
|
border-top-left-radius: 8px;
|
|
}
|
|
|
|
thead th:last-child {
|
|
border-top-right-radius: 8px;
|
|
}
|
|
|
|
tbody tr:last-child td:first-child {
|
|
border-bottom-left-radius: 8px;
|
|
}
|
|
|
|
tbody tr:last-child td:last-child {
|
|
border-bottom-right-radius: 8px;
|
|
}
|
|
@media print {
|
|
* {
|
|
-webkit-print-color-adjust: exact !important;
|
|
color-adjust: exact !important;
|
|
print-color-adjust: exact !important;
|
|
}
|
|
}
|
|
#itemPictureImage {
|
|
max-width: 100%;
|
|
max-height: 350px; /* Adjust height limit to fit your modal */
|
|
width: auto;
|
|
height: auto;
|
|
object-fit: contain; /* Keeps aspect ratio without cropping */
|
|
border-radius: 15px;
|
|
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
|
|
}
|