Files
Seasoned/Seasoned.Frontend/app/assets/css/app-theme.css
2026-03-05 20:21:00 +00:00

210 lines
4.8 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;600&display=swap');
.recipe-bg {
/* A rich, warm medium-brown walnut tone */
background-color: #5d4a36 !important;
/* Using the wood pattern but allowing the lighter base to show through */
background-image: url("https://www.transparenttextures.com/patterns/tileable-wood-colored.png") !important;
background-size: 500px; /* Slightly larger scale makes the grain easier to see */
background-attachment: fixed;
}
/* Ensure the card has a natural 'sit' on this visible wood */
.recipe-card {
background-color: #f4e4bc !important;
background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
border: 1px solid #c9b996 !important;
border-radius: 12px !important;
/* A deeper, more spread-out shadow to account for the lighter background */
box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35) !important;
}
.brand-title {
font-family: 'Libre Baskerville', serif;
font-weight: 700;
font-size: 2.8rem;
color: #2e1e0a;
letter-spacing: -1px;
}
.brand-subtitle {
font-family: 'Libre Baskerville', serif;
font-style: italic;
color: #6d5e4a;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 3px;
}
.recipe-title {
font-family: 'Libre Baskerville', serif;
font-size: 2.4rem;
color: #1e1408;
}
.section-header {
font-family: 'Libre Baskerville', serif;
font-weight: bold;
font-size: 1.1rem;
border-bottom: 2px solid #dccca7;
color: #4a3a2a;
display: flex;
align-items: center;
text-transform: uppercase;
}
.custom-input .v-field {
background-color: #5d4037 !important;
color: #f8f1e0 !important;
border-radius: 8px !important;
border: 2px solid #5d4037 !important;
}
.custom-input .v-label {
color: #f8f1e0 !important;
opacity: 1 !important;
font-weight: 600;
}
.custom-input .v-icon {
color: #f8f1e0 !important;
}
.custom-input .v-field--focused {
border: 2px solid #556b2f !important;
}
.ingredients-list {
background: transparent !important;
}
.ingredient-item {
border-bottom: 1px dotted #c1b18e;
font-style: italic;
color: #2c2925;
}
.instruction-step {
display: flex;
gap: 20px;
line-height: 1.6;
color: #2c2925;
}
.step-number {
font-family: 'Libre Baskerville', serif;
font-weight: bold;
color: #3b4e1e;
font-size: 1.3rem;
min-width: 25px;
}
.separator {
border-color: #dccca7 !important;
opacity: 1;
}
.fade-enter-active, .fade-leave-active {
transition: opacity 0.6s ease;
}
.fade-enter-from, .fade-leave-to {
opacity: 0;
}
.custom-input .v-field__input {
justify-content: center !important;
text-align: center !important;
}
/* 2. Center the floating label specifically */
.custom-input .v-label.v-field-label {
left: 50% !important;
transform: translateX(-50%) !important;
width: 100% !important;
justify-content: center !important;
}
/* 3. Ensure both elements are the exact same height and shape */
.custom-input .v-field {
height: 56px !important;
min-height: 56px !important;
border-radius: 8px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
/* 4. Remove the prepend icon space that kicks text to the right */
.custom-input .v-field__prepend-inner {
display: none !important;
}
/* 5. Typography match: ensure font weight and size are identical */
.custom-input .v-label {
font-family: 'Inter', sans-serif !important;
font-weight: 600 !important;
font-size: 1rem !important;
letter-spacing: normal !important;
}
/* Drag and Drop Zone Styling */
.drop-zone {
width: 100%;
height: 150px;
border: 2px dashed #8c857b;
border-radius: 12px;
background-color: rgba(62, 42, 20, 0.03) !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
color: #3e3a35 !important;
text-align: center;
padding: 20px;
}
.drop-zone--active {
background-color: rgba(85, 107, 47, 0.1) !important;
border-color: #556b2f;
transform: scale(1.02);
}
.drop-text {
font-family: 'Inter', sans-serif;
font-size: 0.95rem;
line-height: 1.4;
}
.selected-text {
font-weight: 600;
color: #556b2f;
}
.analyze-btn,
.gallery-btn,
.analyze-btn *,
.gallery-btn * {
font-family: 'Libre Baskerville', serif !important;
text-transform: none !important;
font-size: 1.1rem !important;
letter-spacing: 0.5px !important;
font-weight: 400 !important;
border-radius: 8px !important;
}
.analyze-btn {
margin-bottom: 16px !important;
background-color: #556b2f !important;
color: #ffffff !important;
height: 56px !important;
border-radius: 8px !important;
}
.gallery-btn {
background-color: #8c4a32 !important;
color: #ffffff !important;
height: 56px !important;
border-radius: 8px !important;
}