304 lines
4.8 KiB
CSS
304 lines
4.8 KiB
CSS
.cars-tabs {
|
|
margin-bottom: 30px;
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.cars-slick {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.car {
|
|
position:relative;
|
|
width: calc(25% - 20px);
|
|
margin-right: 20px;
|
|
margin-bottom: 20px;
|
|
background-color: #fff;
|
|
border: 1px solid #e6e6e6;
|
|
border-radius: 5px;
|
|
padding: 15px;
|
|
padding-bottom: 50px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.car .car-btns {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 0;
|
|
right: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.car:nth-child(4n) {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.car-img {
|
|
text-align: center;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.car-img::before {
|
|
content: "";
|
|
display: block;
|
|
padding-top: 80%;
|
|
}
|
|
|
|
.car-img img {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
object-fit: cover;
|
|
border-radius: 5px;
|
|
}
|
|
.car-sold {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.car-sold .car-img::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(37, 37, 37, 0.5);
|
|
z-index: 2;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.car-sold .car-img img {
|
|
opacity: 1;
|
|
}
|
|
|
|
.car-sold::before {
|
|
content: "Terjual";
|
|
position: absolute;
|
|
top: 10px;
|
|
left: -40px;
|
|
background: red;
|
|
color: white;
|
|
padding: 5px 40px;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
transform: rotate(-45deg);
|
|
z-index: 3;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.car-body {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.car-category {
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
|
|
.car-name {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.car-price {
|
|
font-size: 14px;
|
|
color: #008eb9;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.car-btns {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.car-btns button {
|
|
background-color: #008eb9;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding: 8px 15px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.car-btns button:hover {
|
|
background-color: #006888;
|
|
}
|
|
|
|
.cars-slick-nav {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cars-slick-nav button {
|
|
background-color: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
color: #666;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.cars-slick-nav button.active {
|
|
color: #006888;
|
|
}
|
|
|
|
.sell-car-box {
|
|
background-color: #f9f9f9;
|
|
border: 1px solid #ddd;
|
|
padding: 30px;
|
|
text-align: left;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 15px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.sell-car-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.sell-car-icon {
|
|
color: #007bff; /* Warna ikon, sesuaikan dengan kebutuhan Anda */
|
|
}
|
|
|
|
.sell-car-text {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.sell-car-box h2 {
|
|
font-size: 24px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.sell-car-box p {
|
|
font-size: 18px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.sell-car-box .btn {
|
|
font-size: 18px;
|
|
padding: 10px 30px;
|
|
}
|
|
|
|
#selectedPhotos {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.selected-photo {
|
|
width: 100px;
|
|
height: 100px;
|
|
overflow: hidden;
|
|
margin-left: 10px;
|
|
margin-bottom: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.selected-photo img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.car {
|
|
width: calc(100% - 20px);
|
|
}
|
|
.car .car-btns {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 0;
|
|
right: 0;
|
|
text-align: center;
|
|
}
|
|
.car-btns button {
|
|
padding: 5px 10px;
|
|
font-size: 10px;
|
|
border-radius: 6px;
|
|
margin : 0 3px;
|
|
}
|
|
}
|
|
|
|
.faq {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.faq-item {
|
|
border: 1px solid #ddd;
|
|
padding: 15px;
|
|
margin-bottom: 10px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.faq-question {
|
|
cursor: pointer;
|
|
margin: 0;
|
|
}
|
|
|
|
.faq-answer {
|
|
display: none;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.testimonial-box {
|
|
background-color: #f8f8f8;
|
|
border: 1px solid #ddd;
|
|
border-radius: 15px;
|
|
padding: 20px;
|
|
margin: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.carousel-inner > .item > div {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.carousel-control {
|
|
width: 5%;
|
|
}
|
|
|
|
.carousel-control .fa-chevron-left,
|
|
.carousel-control .fa-chevron-right {
|
|
font-size: 30px;
|
|
color: #000;
|
|
}
|
|
|
|
.carousel-control.left, .carousel-control.right {
|
|
background-image: none;
|
|
top: 65%;
|
|
transform: translateY(-50%);
|
|
width: 5%;
|
|
}
|
|
|
|
.carousel-control.left {
|
|
left: -3%;
|
|
}
|
|
|
|
.carousel-control.right {
|
|
right: -3%;
|
|
}
|
|
|
|
.carousel-indicators {
|
|
bottom: -15px;
|
|
}
|
|
.carousel-indicators li {
|
|
border-color: #000;
|
|
}
|
|
|
|
.carousel-indicators .active {
|
|
background-color: #000;
|
|
} |