Mise en ligne de la version 0.2.0
This commit is contained in:
99
web/src/app/campaigns/campaigns.component.scss
Normal file
99
web/src/app/campaigns/campaigns.component.scss
Normal file
@@ -0,0 +1,99 @@
|
||||
.campaigns-page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 3rem 2rem;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.campaigns-hero {
|
||||
text-align: center;
|
||||
margin-bottom: 3rem;
|
||||
|
||||
.hero-icon { display: block; margin-bottom: 1rem; color: #6c63ff; }
|
||||
|
||||
h1 { font-size: 2rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
|
||||
|
||||
.hero-subtitle { color: #6b7280; font-size: 0.95rem; }
|
||||
}
|
||||
|
||||
.campaigns-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 1.5rem;
|
||||
width: 100%;
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
.campaign-card {
|
||||
background: #111827;
|
||||
border: 1px solid #1f2937;
|
||||
border-radius: 12px;
|
||||
padding: 1.5rem;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s, transform 0.2s;
|
||||
|
||||
&:hover {
|
||||
border-color: #6c63ff;
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
|
||||
.card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.status-badge {
|
||||
font-size: 0.7rem;
|
||||
padding: 0.2rem 0.6rem;
|
||||
border-radius: 999px;
|
||||
font-weight: 600;
|
||||
|
||||
&.en-cours { background: #1e3a5f; color: #60a5fa; }
|
||||
&.terminée { background: #1a3a2a; color: #4ade80; }
|
||||
&.en-pause { background: #3a2a1a; color: #fb923c; }
|
||||
}
|
||||
|
||||
.card-date { font-size: 0.75rem; color: #6b7280; }
|
||||
|
||||
h2 { color: white; font-size: 1.1rem; margin-bottom: 0.5rem; }
|
||||
|
||||
.card-description { color: #6b7280; font-size: 0.875rem; line-height: 1.5; margin-bottom: 1rem; }
|
||||
|
||||
.card-stats {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
font-size: 0.8rem;
|
||||
color: #4b5563;
|
||||
}
|
||||
}
|
||||
|
||||
.card-new {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-style: dashed;
|
||||
border-color: #374151;
|
||||
text-align: center;
|
||||
|
||||
.new-icon {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border-radius: 50%;
|
||||
background: #1f2937;
|
||||
color: #6c63ff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.tip {
|
||||
margin-top: 3rem;
|
||||
font-size: 0.8rem;
|
||||
color: #4b5563;
|
||||
}
|
||||
Reference in New Issue
Block a user