mirror of
https://codeberg.org/ThisIsMiseryy/techstore
synced 2026-05-14 17:02:06 +00:00
Aggiunta stylesheet pagina gestione prodotti
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user