
- Création de la page Fiverr pour présenter les services freelance - Ajout des composants FiverrHero, FiverrServiceCard et FiverrCta - Intégration des services Fiverr dans la configuration du site - Ajout de nouvelles images pour les services Fiverr - Mise à jour des traductions pour inclure les services Fiverr - Amélioration de la gestion des actifs avec l'importation des images - Ajout de styles CSS pour les nouveaux composants et pages
284 lines
5.4 KiB
CSS
284 lines
5.4 KiB
CSS
/* ProjectsPage Styles */
|
|
|
|
/* Projects Page Styles */
|
|
.projects-page {
|
|
min-height: 100vh;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
/* Hero Section */
|
|
.projects-hero {
|
|
background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
|
|
padding: var(--space-4xl) 0 var(--space-3xl);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.projects-hero::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f3f4f6' fill-opacity='0.4'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: clamp(var(--font-size-4xl), 4vw, var(--font-size-5xl));
|
|
font-weight: var(--font-weight-extrabold);
|
|
margin-bottom: var(--space-lg);
|
|
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: var(--font-size-lg);
|
|
color: var(--text-secondary);
|
|
margin-bottom: var(--space-2xl);
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
line-height: var(--line-height-relaxed);
|
|
}
|
|
|
|
/* Stats Grid */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--space-xl);
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.stat-item {
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: var(--font-size-3xl);
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--color-primary);
|
|
margin-bottom: var(--space-xs);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: var(--font-size-sm);
|
|
color: var(--text-secondary);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
/* Filters Section */
|
|
.filters-section {
|
|
background: var(--bg-primary);
|
|
padding: var(--space-xl) 0;
|
|
border-bottom: var(--border-width) solid var(--border-color);
|
|
position: sticky;
|
|
top: 80px;
|
|
z-index: 10;
|
|
}
|
|
|
|
.filters-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-lg);
|
|
align-items: end;
|
|
}
|
|
|
|
.search-container {
|
|
flex: 1;
|
|
min-width: 300px;
|
|
}
|
|
|
|
.search-input-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.search-icon {
|
|
position: absolute;
|
|
left: var(--space-md);
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 20px;
|
|
height: 20px;
|
|
color: var(--text-tertiary);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
padding: var(--space-md) var(--space-md) var(--space-md) 48px;
|
|
font-size: var(--font-size-base);
|
|
border: var(--border-width) solid var(--border-color);
|
|
border-radius: var(--border-radius-lg);
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.search-input:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
|
|
}
|
|
|
|
.filter-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
min-width: 150px;
|
|
}
|
|
|
|
.filter-label {
|
|
font-size: var(--font-size-sm);
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.filter-select {
|
|
padding: var(--space-md);
|
|
font-size: var(--font-size-base);
|
|
border: var(--border-width) solid var(--border-color);
|
|
border-radius: var(--border-radius-lg);
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
transition: all var(--transition-fast);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.filter-select:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
|
|
}
|
|
|
|
/* Projects Grid Section */
|
|
.projects-grid-section {
|
|
padding: var(--space-2xl) 0;
|
|
}
|
|
|
|
.results-info {
|
|
margin-bottom: var(--space-xl);
|
|
}
|
|
|
|
.results-text {
|
|
color: var(--text-secondary);
|
|
font-size: var(--font-size-sm);
|
|
}
|
|
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
gap: var(--space-xl);
|
|
}
|
|
|
|
.project-card-item {
|
|
animation: fadeInUp 0.6s ease-out;
|
|
}
|
|
|
|
/* No Results */
|
|
.no-results {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: var(--space-4xl) 0;
|
|
}
|
|
|
|
.no-results-content {
|
|
text-align: center;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.no-results-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
color: var(--text-tertiary);
|
|
margin: 0 auto var(--space-lg);
|
|
}
|
|
|
|
.no-results-title {
|
|
font-size: var(--font-size-xl);
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.no-results-description {
|
|
color: var(--text-secondary);
|
|
margin-bottom: var(--space-xl);
|
|
line-height: var(--line-height-relaxed);
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.stats-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: var(--font-size-2xl);
|
|
}
|
|
|
|
.filters-container {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.search-container {
|
|
min-width: auto;
|
|
}
|
|
|
|
.filter-group {
|
|
min-width: auto;
|
|
}
|
|
|
|
.projects-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
.filters-section {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero-subtitle {
|
|
font-size: var(--font-size-base);
|
|
}
|
|
|
|
.stats-grid {
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: var(--font-size-xl);
|
|
}
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Utility Classes */
|
|
.text-center {
|
|
text-align: center;
|
|
}
|