Aggiunta stylesheet pagina gestione prodotti

This commit is contained in:
2026-04-13 13:19:41 +02:00
parent 60871cfe7d
commit caef4421f1
2 changed files with 107 additions and 18 deletions
+86
View File
@@ -256,6 +256,92 @@ form button:hover {
padding: 20px;
}
.product-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
.product-table th,
.product-table td {
border: 1px solid #ddd;
padding: 12px;
vertical-align: top;
}
.product-table th {
background-color: #f8f9fa;
font-weight: 700;
text-align: left;
}
.product-row:hover {
background-color: #f7f9fb;
}
.product-name-input,
.product-description-textarea,
.product-category-select,
.product-price-input,
.stock-input,
.product-image-input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.product-description-textarea {
min-height: 80px;
resize: vertical;
}
.stock-control {
display: flex;
align-items: center;
gap: 8px;
}
.stock-button {
width: 32px;
height: 32px;
border: none;
border-radius: 4px;
background-color: #007bff;
color: #fff;
cursor: pointer;
}
.stock-button:hover {
background-color: #0056b3;
}
.product-image-preview {
max-width: 100px;
display: block;
margin-bottom: 8px;
}
.image-upload {
display: flex;
flex-direction: column;
gap: 8px;
}
.save-button {
padding: 10px 16px;
background-color: #28a745;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
}
.save-button:hover {
background-color: #218838;
}
.admin-divider{
display: block;
height: 1px;