VENDEDOR EN PEDIDO Y EN ADMINISTRADOR

This commit is contained in:
2026-06-11 14:08:03 -05:00
parent ad3911d3c3
commit e4588b75db
14 changed files with 758 additions and 187 deletions
+177
View File
@@ -2522,3 +2522,180 @@ select {
min-width: 0;
}
}
/* ════════════════════════════════
PEDIDOS VIEW
════════════════════════════════ */
.view-section-group {
display: flex;
flex-direction: column;
gap: 20px;
}
.view-section-title {
font-size: 1rem;
font-weight: 700;
color: #1a1a2e;
margin: 0 0 4px;
}
.view-section-desc {
font-size: 0.82rem;
color: #8b8ba7;
margin: 0 0 16px;
}
/* Vendedores */
.vendedores-list {
margin-bottom: 12px;
}
.vendedor-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
background: #f8f7fc;
border-radius: 8px;
margin-bottom: 6px;
}
.vendedor-nombre {
font-size: 0.9rem;
font-weight: 600;
color: #1a1a2e;
}
.vendedor-remove {
background: none;
border: none;
color: #ef4444;
font-size: 0.9rem;
cursor: pointer;
padding: 4px 8px;
border-radius: 4px;
transition: background 0.15s;
}
.vendedor-remove:hover {
background: #fef2f2;
}
.vendedores-add {
display: flex;
gap: 8px;
}
/* Filtro */
.pedidos-filter-bar {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 16px;
}
.pedidos-filter-bar label {
font-size: 0.85rem;
font-weight: 600;
color: #4a4a68;
white-space: nowrap;
}
/* Tabla de pedidos */
.pedidos-table-wrap {
overflow-x: auto;
}
.pedidos-table {
width: 100%;
border-collapse: collapse;
font-size: 0.82rem;
}
.pedidos-table th {
text-align: left;
padding: 10px 12px;
font-weight: 700;
color: #4a4a68;
border-bottom: 2px solid #e8e6f0;
white-space: nowrap;
}
.pedidos-table td {
padding: 10px 12px;
border-bottom: 1px solid #e8e6f0;
color: #1a1a2e;
}
.pedidos-table tbody tr:hover {
background: #f8f7fc;
}
.pedidos-total {
font-weight: 700;
color: #8b5cf6;
white-space: nowrap;
}
.pedidos-actions-col {
text-align: left;
width: 200px;
}
.pedidos-table td:last-child,
.pedidos-table th:last-child {
white-space: nowrap;
}
.pedidos-actions-group {
display: inline-flex;
align-items: center;
gap: 8px;
}
.pedido-delete {
background: none;
border: 1.5px solid #e0dce8;
color: #b91c1c;
padding: 6px 10px;
border-radius: 8px;
font-size: 0.75rem;
font-family: inherit;
cursor: pointer;
transition: background 0.2s, border-color 0.2s;
line-height: 1;
}
.pedido-delete:hover {
background: #fef2f2;
border-color: #b91c1c;
}
.pedidos-empty {
text-align: center;
color: #8b8ba7;
padding: 24px 0;
font-size: 0.85rem;
}
.btn-sm {
padding: 6px 10px;
font-size: 0.75rem;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 4px;
}
@media (max-width: 600px) {
.vendedores-add {
flex-direction: column;
}
.pedidos-filter-bar {
flex-direction: column;
align-items: stretch;
}
.pedidos-filter-bar .form-group {
margin-bottom: 0;
}
}