tests & image-request on google & inspirobot & front

This commit is contained in:
2024-05-11 22:37:32 +02:00
parent 6602bfd408
commit 3f0db3f976
24 changed files with 1421 additions and 454 deletions

View File

@@ -0,0 +1,102 @@
.item-container {
display: flex;
flex-direction: column;
align-items: center;
}
.filters {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 15px;
background-color: #f5f5f5;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.filter-group {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.filter-group label {
margin-right: 15px;
font-weight: bold;
color: #333;
}
.filter-group .ant-picker,
.filter-group .ant-input-number,
.filter-group .ant-input,
.filter-group .ant-select {
margin-right: 15px;
width: 180px;
}
.filter-group .ant-select {
max-width: 180px;
}
.filter-group .ant-picker {
width: 100%;
}
.filter-group .ant-input-number {
width: 100%;
}
.filter-group .ant-input {
width: 100%;
}
@media screen and (max-width: 768px) {
.filters {
flex-direction: column;
align-items: stretch;
padding: 10px;
}
.filter-group {
margin-bottom: 15px;
}
.filter-group label {
margin-bottom: 5px;
}
.filter-group .ant-picker,
.filter-group .ant-input-number,
.filter-group .ant-input,
.filter-group .ant-select {
margin-right: 0;
margin-bottom: 5px;
width: auto;
max-width: 100%;
}
}
.item-list {
width: 100%;
}
.pagination {
margin-top: 20px;
}
/* Style pour les boutons de pagination */
.pagination button {
margin: 0 5px;
}
/* Style pour les ItemBox */
.item-container .item-list .ant-col {
display: flex;
justify-content: center;
}
.item-container .item-list .ant-col .gutter-row {
margin-bottom: 20px;
}

View File

@@ -0,0 +1,59 @@
.text-ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.product-details {
border: 1px solid #ccc;
border-radius: 8px;
padding: 15px;
margin-bottom: 20px;
width: 250px; /* Largeur ajustable en fonction de votre mise en page */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.product-details img {
display: block;
margin: 0 auto;
width: 150px;
height: 150px;
object-fit: fill;
border-radius: 5px;
}
.product-details h2 {
font-size: 16px;
margin-top: 10px;
margin-bottom: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
color: #333;
}
.characteristic {
margin-top: 10px;
font-size: 14px;
color: #555;
}
.product-details button {
display: block;
width: 100%;
margin-top: 15px;
padding: 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
font-weight: bold;
transition: background-color 0.3s ease;
}
.product-details button:hover {
background-color: #0056b3;
}

View File

@@ -0,0 +1,36 @@
/* CSS pour la fen<65>tre modale */
.modal {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
z-index: 999;
}
.modal-content {
background-color: white;
margin: 20% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}