192 lines
3.5 KiB
CSS
192 lines
3.5 KiB
CSS
.product-card {
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
border: none;
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.product-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15);
|
|
}
|
|
|
|
.product-card .card-img-top {
|
|
height: 250px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.product-badge {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.product-type-badge {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.price-tag {
|
|
font-size: 1.25rem;
|
|
font-weight: bold;
|
|
color: #8B5CF6;
|
|
}
|
|
|
|
.stock-indicator {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.stock-high {
|
|
background-color: #10B981;
|
|
}
|
|
|
|
.stock-medium {
|
|
background-color: #F59E0B;
|
|
}
|
|
|
|
.stock-low {
|
|
background-color: #EF4444;
|
|
}
|
|
|
|
.filter-section {
|
|
background: white;
|
|
border-radius: 15px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.filter-section .form-label {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.price-range-slider {
|
|
height: 5px;
|
|
position: relative;
|
|
background-color: #e1e9f6;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.price-range-slider .ui-slider-range {
|
|
height: 5px;
|
|
background-color: #0d6efd;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.price-range-slider .ui-slider-handle {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
background-color: #0d6efd;
|
|
border: none;
|
|
top: -8px;
|
|
}
|
|
|
|
.rating-stars {
|
|
color: #F59E0B;
|
|
}
|
|
|
|
.rating-count {
|
|
color: #6c757d;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Sortieroptionen Styling */
|
|
.sort-options .btn-outline-secondary {
|
|
border-radius: 20px;
|
|
margin: 0 5px;
|
|
padding: 5px 15px;
|
|
}
|
|
|
|
/* Kategoriefilter Styling */
|
|
.category-filter .btn {
|
|
border-radius: 20px;
|
|
margin: 0 5px;
|
|
padding: 5px 15px;
|
|
}
|
|
|
|
/* Featured Products Section */
|
|
.featured-section {
|
|
background: linear-gradient(to right, #f8f9fa, #e9ecef);
|
|
padding: 30px 0;
|
|
border-radius: 15px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.featured-badge {
|
|
background: #dc3545;
|
|
color: white;
|
|
padding: 5px 10px;
|
|
border-radius: 20px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #8B5CF6, #EC4899);
|
|
border: none;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: linear-gradient(135deg, #EC4899, #8B5CF6);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
|
|
}
|
|
|
|
.btn-outline-danger {
|
|
border-color: #EC4899;
|
|
color: #EC4899;
|
|
}
|
|
|
|
.btn-outline-danger:hover {
|
|
background-color: #EC4899;
|
|
border-color: #EC4899;
|
|
color: white;
|
|
}
|
|
|
|
/* Pagination */
|
|
.pagination .page-link {
|
|
color: #8B5CF6;
|
|
border-color: #E5E7EB;
|
|
}
|
|
|
|
.pagination .page-item.active .page-link {
|
|
background-color: #8B5CF6;
|
|
border-color: #8B5CF6;
|
|
color: white;
|
|
}
|
|
|
|
.pagination .page-link:hover {
|
|
background-color: #F3E8FF;
|
|
border-color: #8B5CF6;
|
|
color: #8B5CF6;
|
|
}
|
|
|
|
/* Responsive Anpassungen */
|
|
@media (max-width: 768px) {
|
|
.product-card .card-img-top {
|
|
height: 200px;
|
|
}
|
|
|
|
.filter-section {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.sort-options {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.category-filter {
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
padding-bottom: 10px;
|
|
}
|
|
} |