🫙 Sotto vuoto: flag per estendere scadenza prodotti conservati sotto vuoto

This commit is contained in:
dadaloop82
2026-03-15 18:09:38 +00:00
parent 3f0f27e938
commit 4239e0b204
6 changed files with 163 additions and 13 deletions
+54
View File
@@ -1998,6 +1998,60 @@ body {
margin-top: 4px;
}
/* ===== TOGGLE SWITCH ===== */
.toggle-row {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.toggle-switch {
position: relative;
display: inline-block;
width: 48px;
height: 28px;
flex-shrink: 0;
}
.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-slider {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: #ccc;
border-radius: 28px;
transition: background 0.2s;
}
.toggle-slider::before {
content: '';
position: absolute;
width: 22px;
height: 22px;
left: 3px;
bottom: 3px;
background: #fff;
border-radius: 50%;
transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider {
background: var(--primary, #3b82f6);
}
.toggle-switch input:checked + .toggle-slider::before {
transform: translateX(20px);
}
.vacuum-badge {
font-size: 0.7rem;
background: rgba(59, 130, 246, 0.12);
color: #2563eb;
padding: 1px 6px;
border-radius: 8px;
font-weight: 600;
white-space: nowrap;
}
/* ===== REMAINING QUANTITY OPTIONS ===== */
.remaining-options {
display: grid;