-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_itemdetails.css
113 lines (104 loc) · 2.49 KB
/
style_itemdetails.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
div.item-details {
opacity: 0; /* Commence complètement transparent */
animation: fadeIn 0.5s ease-in forwards;
}
/* Styles globaux de la page */
#vehicle-detail-page .vehicle-details-container {
font-family: neuropol;
background-color: #f0f0f0;
padding: 20px;
font-size: 30px;
color: #000000;
}
div.make-model{
font-size: 50px;
font-weight: 200;
}
.price {
font-size: 40px;
color: #EF7A2D;
}
.date-mileage {
font-size: 20px;
}
.description {
margin-top: 10px;
margin-bottom: 10px;
font-size: 20px;
}
.condition {
font-size: 20px;
}
.energy {
font-size: 20px;
}
button, input[type="submit"] {
width: 100%;
padding: 10px;
border-radius: 3px;
font-family: neuropol;
background-color: #000000;
border: none;
color: #fff;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover, input[type="submit"]:hover {
background-color: #EF7A2D;
}
#vehicle-detail-page .vehicle-card {
border: 1px solid #ccc;
border-radius: 8px;
background-color: #fff;
padding: 20px;
margin-bottom: 20px;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
}
/* Styles pour l'image principale du véhicule */
#vehicle-detail-page .main-image {
max-width: 100%;
max-height: 600px;
display: block;
border-radius: 8px;
}
/* Boutons de navigation */
#vehicle-detail-page .navigation-button {
cursor: pointer;
font-size: 24px;
color: #EF7A2D;
background: none;
border: none;
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 1000; /* Assure que les boutons sont au-dessus des autres éléments */
}
#vehicle-detail-page .next {
right: 30px;
}
#vehicle-detail-page .prev {
left: 30px;
}
/* Styles pour la galerie de miniatures */
#vehicle-detail-page .thumbnails {
display: flex;
justify-content: center;
margin-top: 20px;
}
#vehicle-detail-page .thumbnail {
width: 100px;
height: 75px; /* Hauteur fixe pour toutes les miniatures */
cursor: pointer;
opacity: 0.6;
transition: opacity 0.3s, transform 0.3s;
object-fit: cover; /* Préserve les proportions de l'image */
margin-right: 10px; /* Espacement entre les miniatures */
border-radius: 4px; /* Arrondit les coins des miniatures */
}
#vehicle-detail-page .thumbnail:hover, #vehicle-detail-page .thumbnail.active {
transform: scale(1.1); /* Effet de zoom pour l'image active et au survol */
opacity: 1;
}