35604-vm/assets/css/custom.css
Flatlogic Bot 32cc8d6cd2 4
2025-11-12 19:46:05 +00:00

316 lines
6.7 KiB
CSS

/* General Body Styles */
body {
background-color: #013617; /* Dark green background */
color: #ffffff; /* White text */
font-family: 'Poppins', sans-serif;
padding-top: 40px; /* Make space for garland */
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
color: #ffffff !important; /* Use !important to override other styles if necessary */
}
/* Buttons and Inputs */
input,
button,
.btn {
border-radius: 8px !important;
}
/* Garland */
body::before {
content: '';
position: fixed;
top: 10px;
left: -5%;
width: 110%;
height: 20px;
background:
radial-gradient(circle, #FF3E1F 4px, transparent 5px),
radial-gradient(circle, #013617 4px, transparent 5px),
radial-gradient(circle, #FFAFCA 4px, transparent 5px),
radial-gradient(circle, #ffff24 4px, transparent 5px),
radial-gradient(circle, #ff24ff 4px, transparent 5px);
background-size: 100px 20px;
background-position: 0 0, 20px 0, 40px 0, 60px 0, 80px 0;
background-repeat: repeat-x;
z-index: 1031;
animation: garland-animation 1.5s infinite;
}
@keyframes garland-animation {
50% {
filter: brightness(0.7);
}
}
/* Navbar */
.navbar {
background-color: rgba(1, 54, 23, 0.8) !important; /* Semi-transparent dark green */
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar-brand {
color: #ffffff !important;
font-weight: 600;
}
/* Main Content */
.display-4 {
font-weight: 700;
color: #ffffff;
}
.lead {
color: #ffffff;
}
/* Cards */
.card {
background-color: rgba(255, 255, 255, 0.05);
border: none;
border-radius: 15px;
}
.card-body {
color: #ffffff;
}
/* Forms */
.form-label {
color: #ffffff;
}
.form-control {
background-color: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
}
.form-control:focus {
background-color: rgba(0, 0, 0, 0.3);
border-color: #FF3E1F; /* Coral red accent */
box-shadow: 0 0 0 0.25rem rgba(255, 62, 31, 0.25);
color: #ffffff;
}
.form-control::placeholder {
color: rgba(255, 255, 255, 0.5);
}
/* Buttons */
.btn-primary {
background-color: #FF3E1F; /* Coral red */
border-color: #FF3E1F;
font-weight: 600;
padding: 12px 30px;
transition: all 0.3s ease;
}
.btn-primary:hover {
background-color: #E6381A;
border-color: #E6381A;
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(255, 62, 31, 0.2);
}
.btn-outline-secondary {
border-color: rgba(255, 255, 255, 0.8);
color: #ffffff;
font-weight: 600;
padding: 12px 30px;
transition: all 0.3s ease;
}
.btn-outline-secondary:hover {
background-color: rgba(255, 255, 255, 0.1);
color: #ffffff;
border-color: #ffffff;
}
.btn-secondary {
background-color: rgba(255, 255, 255, 0.15);
border: none;
color: #ffffff;
}
/* Shopping List & Recipe Cards */
#shopping-list-container .text-muted,
#recipe-cards-container .text-muted {
color: #ffffff !important;
}
.recipe-card {
background-color: rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 15px;
margin-bottom: 15px;
}
/* 3-Column Layout Adjustments */
.row.g-4 > [class*='col-'] .card {
height: 100%; /* Make cards in columns equal height */
}
#recipe-cards-container, #shopping-list-container {
max-height: 60vh; /* Adjust as needed */
overflow-y: auto;
padding: 10px;
}
/* Custom scrollbar for webkit browsers */
#recipe-cards-container::-webkit-scrollbar, #shopping-list-container::-webkit-scrollbar {
width: 8px;
}
#recipe-cards-container::-webkit-scrollbar-track, #shopping-list-container::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
}
#recipe-cards-container::-webkit-scrollbar-thumb, #shopping-list-container::-webkit-scrollbar-thumb {
background: rgba(255, 62, 31, 0.5); /* Coral red, semi-transparent */
border-radius: 4px;
}
#recipe-cards-container::-webkit-scrollbar-thumb:hover, #shopping-list-container::-webkit-scrollbar-thumb:hover {
background: #FF3E1F; /* Coral red */
}
/* Footer */
footer.bg-light {
background-color: transparent !important;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
}
/* Snow Effect */
#snow-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1032;
overflow: hidden;
}
.snowflake {
position: absolute;
top: -20px;
background: #fff;
border-radius: 50%;
opacity: 0.8;
pointer-events: none;
animation: fall linear infinite;
}
@keyframes fall {
to {
transform: translateY(105vh);
opacity: 0;
}
}
/* Shopping List Checkbox */
.list-group-item.checked .form-check-label {
text-decoration: line-through;
opacity: 0.6;
}
.unit-btn {
padding: 0.375rem 0.5rem;
font-size: 0.875rem;
}
/* Adjust padding for the remove button in the ingredient row */
.ingredient-row .remove-ingredient {
padding: 0.375rem 0.75rem;
}
/* Custom Shopping List Styles */
.col-md-4:has(#shopping-list-container) .card {
background-color: transparent;
box-shadow: none !important;
border: 1px solid rgba(255, 255, 255, 0.1);
}
#shopping-list-container .list-group-item {
background-color: transparent;
color: #ffffff;
border-color: rgba(255, 255, 255, 0.1) !important;
}
/* Custom Checkbox Styles */
.form-check-input {
background-color: transparent;
border: 1px solid #ffffff;
}
.form-check-input:checked {
background-color: #FF3E1F;
border-color: #FF3E1F;
}
.form-check-input:focus {
border-color: #FF3E1F;
box-shadow: 0 0 0 0.25rem rgba(255, 62, 31, 0.25);
}
@media print {
body * {
visibility: hidden;
}
#shopping-list-container, #shopping-list-container * {
visibility: visible;
}
#shopping-list-container {
position: absolute;
left: 0;
top: 0;
width: 100%;
}
.card {
border: none !important;
box-shadow: none !important;
}
.list-group-item {
color: #000 !important;
background-color: #fff !important;
}
.badge {
color: #000 !important;
background-color: #fff !important;
border: 1px solid #ccc;
}
.form-check-input {
border: 1px solid #000 !important;
}
h2, h3 {
color: #000 !important;
}
}
.bg-custom-green {
background-color: #013617 !important;
}
/* Modal Styles */
#recipe-form-modal .modal-content {
background-color: #013617;
color: white;
}
#recipe-form-modal .modal-header {
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#recipe-form-modal .btn-close {
filter: invert(1);
}