style(pos): redimensionar filtros de preordenes y compactar tarjetas de ordenes en un 28%
This commit is contained in:
+119
-58
@@ -1548,46 +1548,58 @@ body.dark-mode .floating-cart-bar {
|
||||
cursor: not-allowed !important;
|
||||
}
|
||||
|
||||
/* Tarjetas de Pre-órdenes */
|
||||
/* Tarjetas de Pre-órdenes (Diseño compacto: ~28% reducción) */
|
||||
.pos-preorder-card {
|
||||
background: #ffffff;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 14px;
|
||||
padding: 14px 16px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
||||
border-radius: 11px;
|
||||
padding: 8px 12px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
gap: 5px;
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
|
||||
.pos-preorder-card:hover {
|
||||
border-color: #cbd5e1;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
|
||||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.pos-preorder-badge-banner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
padding: 4px 8px;
|
||||
border-radius: 8px;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.pos-preorder-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.pos-preorder-student {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.pos-preorder-avatar {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid #0284c7;
|
||||
border: 1.5px solid #0284c7;
|
||||
background: #f1f5f9;
|
||||
flex-shrink: 0;
|
||||
object-fit: cover;
|
||||
font-size: 0.76rem;
|
||||
}
|
||||
|
||||
.pos-preorder-name-row {
|
||||
@@ -1595,64 +1607,67 @@ body.dark-mode .floating-cart-bar {
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.pos-preorder-name {
|
||||
color: #0f172a;
|
||||
font-size: 0.95rem;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.pos-preorder-grade {
|
||||
font-size: 0.76rem;
|
||||
font-size: 0.70rem;
|
||||
color: #64748b;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.pos-preorder-ticket-info {
|
||||
font-size: 0.74rem;
|
||||
font-size: 0.68rem;
|
||||
color: #94a3b8;
|
||||
margin-top: 2px;
|
||||
margin-top: 1px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.pos-preorder-items-box {
|
||||
background: #f8fafc;
|
||||
border: 1px solid #f1f5f9;
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
border-radius: 7px;
|
||||
padding: 4px 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 0.84rem;
|
||||
gap: 6px;
|
||||
font-size: 0.76rem;
|
||||
color: #0369a1;
|
||||
font-weight: 700;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.pos-preorder-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: 8px;
|
||||
border-top: 1px dashed #e2e8f0;
|
||||
padding-top: 8px;
|
||||
margin-top: 2px;
|
||||
padding-top: 5px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.pos-preorder-total {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 6px;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.pos-preorder-total-label {
|
||||
font-size: 0.78rem;
|
||||
font-size: 0.70rem;
|
||||
color: #64748b;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.pos-preorder-total-val {
|
||||
font-size: 1.05rem;
|
||||
font-weight: 900;
|
||||
font-size: 0.90rem;
|
||||
font-weight: 800;
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
@@ -1661,8 +1676,10 @@ body.dark-mode .floating-cart-bar {
|
||||
color: #ffffff !important;
|
||||
border-color: #16a34a !important;
|
||||
font-weight: 800 !important;
|
||||
height: 34px !important;
|
||||
padding: 0 16px !important;
|
||||
height: 28px !important;
|
||||
padding: 0 11px !important;
|
||||
font-size: 0.74rem !important;
|
||||
border-radius: 7px !important;
|
||||
}
|
||||
|
||||
.pos-btn-entregar:hover {
|
||||
@@ -1672,52 +1689,59 @@ body.dark-mode .floating-cart-bar {
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.pos-preorder-footer {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 8px;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
.pos-btn-entregar {
|
||||
width: 100% !important;
|
||||
height: 38px !important;
|
||||
height: 30px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Filtros de Pre-órdenes por Horario / Recreo */
|
||||
/* Filtros de Pre-órdenes por Horario / Recreo (Segmented Toolbar) */
|
||||
.pos-preorder-filter-bar {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
background: #f1f5f9;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 12px;
|
||||
padding: 4px 6px;
|
||||
margin-bottom: 10px;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 8px;
|
||||
margin-bottom: 12px;
|
||||
scrollbar-width: none;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.pos-preorder-filter-bar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.pos-filter-pill {
|
||||
padding: 8px 14px;
|
||||
border-radius: 10px;
|
||||
border: 1.5px solid #cbd5e1;
|
||||
background: #ffffff;
|
||||
color: #334155;
|
||||
padding: 5px 11px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid transparent;
|
||||
background: transparent;
|
||||
color: #475569;
|
||||
font-weight: 700;
|
||||
font-size: 0.82rem;
|
||||
font-size: 0.76rem;
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: 5px;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
transition: all 0.15s ease;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.pos-filter-pill:hover {
|
||||
background: #f8fafc;
|
||||
border-color: #94a3b8;
|
||||
background: #ffffff;
|
||||
color: #0f172a;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
.pos-filter-pill.active {
|
||||
background: #0284c7;
|
||||
color: #ffffff;
|
||||
border-color: #0284c7;
|
||||
box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
|
||||
box-shadow: 0 1px 4px rgba(2, 132, 199, 0.28);
|
||||
}
|
||||
.pos-filter-pill.active .pos-pill-count {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
@@ -1726,20 +1750,57 @@ body.dark-mode .floating-cart-bar {
|
||||
.pos-pill-count {
|
||||
background: #e2e8f0;
|
||||
color: #475569;
|
||||
padding: 2px 7px;
|
||||
padding: 1px 6px;
|
||||
border-radius: 999px;
|
||||
font-size: 0.74rem;
|
||||
font-size: 0.68rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
.pos-preorder-badge-banner {
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
padding: 8px 12px;
|
||||
border-radius: 10px;
|
||||
font-size: 0.84rem;
|
||||
font-weight: 800;
|
||||
justify-content: center;
|
||||
min-width: 17px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.pos-filter-pill-canceladas {
|
||||
color: #b91c1c;
|
||||
}
|
||||
.pos-filter-pill-canceladas:hover {
|
||||
background: #fef2f2;
|
||||
color: #991b1b;
|
||||
}
|
||||
.pos-filter-pill-canceladas .pos-pill-count {
|
||||
background: #fee2e2;
|
||||
color: #991b1b;
|
||||
}
|
||||
.pos-filter-pill-canceladas.active {
|
||||
background: #dc2626;
|
||||
color: #ffffff;
|
||||
border-color: #dc2626;
|
||||
box-shadow: 0 1px 4px rgba(220, 38, 38, 0.3);
|
||||
}
|
||||
.pos-filter-pill-canceladas.active .pos-pill-count {
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.pos-preorder-filter-bar {
|
||||
padding: 3px 4px;
|
||||
gap: 4px;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 10px;
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.pos-filter-pill {
|
||||
padding: 4px 8px;
|
||||
font-size: 0.72rem;
|
||||
gap: 4px;
|
||||
}
|
||||
.pos-pill-count {
|
||||
padding: 1px 5px;
|
||||
font-size: 0.65rem;
|
||||
min-width: 15px;
|
||||
}
|
||||
}
|
||||
.pos-incoming-preorder-toast {
|
||||
position: fixed;
|
||||
|
||||
Reference in New Issue
Block a user