Feature: Einstiegsseite, Einkaufsliste, Wochenplan-Live-Suche & Zufallsgenerator-Optimierung
This commit is contained in:
@@ -2120,4 +2120,198 @@ body.modal-open {
|
||||
|
||||
/* Hinweis: A4 Druckregeln befinden sich zentral in app/templates/cookbook.html (<style id="print-engine-styles">) */
|
||||
|
||||
/* ==========================================
|
||||
ZURÜCK ZUM SHUFFLE FLOATING BANNER
|
||||
========================================== */
|
||||
.shuffle-return-banner {
|
||||
position: fixed;
|
||||
bottom: 24px;
|
||||
right: 24px;
|
||||
z-index: 1500;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: var(--rostrot, #c53030);
|
||||
color: #ffffff;
|
||||
border-radius: 50px;
|
||||
padding: 6px 14px 6px 18px;
|
||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
|
||||
transition: transform 0.2s ease, opacity 0.2s ease;
|
||||
border: 2px solid #ffffff;
|
||||
}
|
||||
|
||||
.shuffle-return-banner:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.shuffle-return-btn {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #ffffff;
|
||||
font-family: var(--font-sans);
|
||||
font-size: 0.95rem;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.shuffle-return-dismiss {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
font-size: 1.15rem;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
margin-left: 10px;
|
||||
padding: 2px 6px;
|
||||
border-radius: 50%;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.shuffle-return-dismiss:hover {
|
||||
color: #ffffff;
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
SLOT-EDITOR REZEPT LIVE-SUCHE
|
||||
========================================== */
|
||||
.slot-recipe-search-container {
|
||||
position: relative;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.slot-search-input-wrapper {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.slot-search-dropdown {
|
||||
position: absolute;
|
||||
top: calc(100% + 4px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
max-height: 240px;
|
||||
overflow-y: auto;
|
||||
background: #ffffff;
|
||||
border: 2px solid var(--tannengruen);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
|
||||
z-index: 2400;
|
||||
padding: 4px 0;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.slot-search-item {
|
||||
padding: 8px 12px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
||||
transition: background 0.12s ease;
|
||||
}
|
||||
|
||||
.slot-search-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.slot-search-item:hover,
|
||||
.slot-search-item.is-selected {
|
||||
background: rgba(30, 77, 59, 0.08);
|
||||
}
|
||||
|
||||
.slot-search-item-title {
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
color: var(--schwarz);
|
||||
}
|
||||
|
||||
.slot-search-item-meta {
|
||||
font-size: 0.78rem;
|
||||
color: #666;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
WOCHENPLAN ZUTATEN CHECKLISTE
|
||||
========================================== */
|
||||
.mpi-group {
|
||||
margin-bottom: 16px;
|
||||
background: rgba(30, 77, 59, 0.04);
|
||||
border: 1.5px solid rgba(30, 77, 59, 0.15);
|
||||
border-radius: 10px;
|
||||
padding: 12px 14px;
|
||||
}
|
||||
|
||||
.mpi-group-header {
|
||||
font-family: var(--font-hand);
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
color: var(--tannengruen);
|
||||
margin-bottom: 8px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mpi-group-badge {
|
||||
font-family: var(--font-sans);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
background: var(--tannengruen);
|
||||
color: var(--creme);
|
||||
padding: 2px 8px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.mpi-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 6px 8px;
|
||||
background: #ffffff;
|
||||
border: 1px solid rgba(34, 34, 34, 0.1);
|
||||
border-radius: 6px;
|
||||
margin-bottom: 5px;
|
||||
cursor: pointer;
|
||||
transition: all 0.12s;
|
||||
}
|
||||
|
||||
.mpi-item:hover {
|
||||
background: rgba(30, 77, 59, 0.05);
|
||||
border-color: var(--tannengruen);
|
||||
}
|
||||
|
||||
.mpi-item.is-unchecked {
|
||||
opacity: 0.55;
|
||||
background: #f8f8f8;
|
||||
}
|
||||
|
||||
.mpi-checkbox {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
accent-color: var(--tannengruen);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mpi-item-name {
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.mpi-item-qty {
|
||||
font-weight: 700;
|
||||
color: var(--tannengruen);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user