mirror of
https://codeberg.org/ThisIsMiseryy/techstore
synced 2026-05-14 14:52:04 +00:00
Implementazione aggiunta prodotto in pagina admin
This commit is contained in:
@@ -279,6 +279,54 @@ form button:hover {
|
||||
background-color: #f7f9fb;
|
||||
}
|
||||
|
||||
.add-product-panel {
|
||||
margin-bottom: 24px;
|
||||
padding: 18px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
background-color: #fdfdfd;
|
||||
}
|
||||
|
||||
.add-product-panel h2 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.add-product-form {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.add-product-form .form-row {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.add-product-form label {
|
||||
font-weight: 600;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.toggle-button {
|
||||
padding: 10px 16px;
|
||||
background-color: #17a2b8;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.toggle-button:hover {
|
||||
background-color: #117a8b;
|
||||
}
|
||||
|
||||
.add-product-panel.collapsed {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.product-name-input,
|
||||
.product-description-textarea,
|
||||
.product-category-select,
|
||||
|
||||
Reference in New Issue
Block a user