Skip to content

Commit 783ba21

Browse files
committed
Update dashboard
1 parent acc4f59 commit 783ba21

File tree

2 files changed

+185
-128
lines changed

2 files changed

+185
-128
lines changed

frontend/src/components/routes/event/EventDashboard/EventDashboard.module.scss

Lines changed: 110 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -22,146 +22,188 @@
2222
}
2323

2424
.setupCard {
25-
margin-bottom: 20px;
26-
margin-top: 20px;
25+
margin-bottom: 28px;
26+
margin-top: 24px;
2727
overflow: hidden;
2828
position: relative;
29-
padding-top: 16px;
29+
padding: 32px 28px;
30+
background: linear-gradient(to right, rgba(249, 250, 251, 0.6), rgba(243, 244, 246, 0.6));
31+
border: 1px solid #f0f0f0;
32+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
3033
}
3134

3235
.dismissButton {
3336
position: absolute;
34-
top: 12px;
35-
right: 12px;
36-
width: 28px;
37-
height: 28px;
38-
border-radius: 50%;
37+
top: 16px;
38+
right: 16px;
39+
width: 36px;
40+
height: 36px;
41+
border-radius: 12px;
3942
display: flex;
4043
align-items: center;
4144
justify-content: center;
4245
cursor: pointer;
4346
z-index: 10;
44-
color: #757575;
45-
transition: background-color 0.2s;
47+
color: #9e9e9e;
48+
background-color: rgba(255, 255, 255, 0.7);
49+
backdrop-filter: blur(6px);
50+
transition: all 0.2s ease;
4651

4752
&:hover {
48-
background-color: rgba(0, 0, 0, 0.05);
49-
color: #303030;
53+
background-color: rgba(255, 255, 255, 0.9);
54+
color: #555;
55+
transform: scale(1.05);
5056
}
5157
}
5258

5359
.setupCardContent {
5460
display: flex;
61+
flex-direction: column;
5562
position: relative;
56-
padding-right: 280px; // Make room for the rocket
5763
}
5864

5965
.checklistContainer {
60-
flex: 1;
61-
padding-right: 20px;
66+
width: 100%;
6267

6368
h2 {
64-
font-size: 1.5rem;
65-
margin-bottom: 0.5rem;
69+
font-size: 1.8rem;
70+
margin-bottom: 1rem;
6671
margin-top: 0;
67-
color: #303030;
72+
color: #444;
73+
font-weight: 700;
74+
letter-spacing: -0.02em;
6875
}
6976

7077
.setupDescription {
71-
margin-bottom: 1.5rem;
78+
margin-bottom: 2.25rem;
7279
color: #666;
80+
font-size: 1.05rem;
81+
line-height: 1.5;
82+
max-width: 80%;
7383
}
7484
}
7585

7686
.checklistItems {
7787
display: flex;
78-
flex-direction: column;
79-
gap: 1.5rem;
80-
margin-bottom: 1rem;
88+
flex-wrap: wrap;
89+
margin: 0 -12px;
8190
}
8291

8392
.checklistItem {
84-
display: flex;
85-
align-items: flex-start;
86-
gap: 1rem;
93+
width: calc(50% - 24px);
94+
margin: 0 12px 24px;
95+
padding: 24px;
96+
background: rgba(255, 255, 255, 0.85);
97+
backdrop-filter: blur(10px);
98+
border-radius: 16px;
99+
border: 1px solid rgba(230, 230, 230, 0.8);
100+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
101+
transition: all 0.3s ease;
102+
103+
&:hover {
104+
transform: translateY(-2px);
105+
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03);
106+
border-color: rgba(210, 210, 210, 0.9);
107+
}
87108

88109
h3 {
89-
font-size: 1.1rem;
90-
margin: 0 0 0.25rem 0;
91-
color: #303030;
110+
font-size: 1.15rem;
111+
margin: 0 0 0.8rem 0;
112+
color: #333;
113+
font-weight: 600;
114+
display: flex;
115+
align-items: center;
92116
}
93117

94118
p {
95-
margin: 0;
119+
margin: 0 0 1.2rem 0;
96120
color: #666;
97-
font-size: 0.9rem;
121+
font-size: 0.95rem;
122+
line-height: 1.5;
98123
}
99124
}
100125

101126
.checkboxContainer {
102-
margin-top: 3px;
127+
margin-right: 14px;
103128
}
104129

105130
.checkbox {
106-
width: 22px;
107-
height: 22px;
108-
border-radius: 50%;
109-
border: 2px solid var(--tk-primary);
131+
width: 26px;
132+
height: 26px;
133+
border-radius: var(--tk-radius-sm);
134+
border: 2px solid #ddd;
110135
display: flex;
111136
align-items: center;
112137
justify-content: center;
113-
transition: background-color 0.2s ease;
138+
background-color: rgba(255, 255, 255, 0.6);
139+
transition: all 0.2s ease;
140+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
141+
142+
svg {
143+
transition: all 0.2s ease;
144+
transform: scale(0.85);
145+
}
114146
}
115147

116148
.checklistItemContent {
117149
flex: 1;
118150
}
119151

120-
.rocketImageContainer {
121-
position: absolute;
122-
right: 50px;
123-
top: 75%;
124-
transform: translateY(-50%);
125-
width: 220px;
126-
height: 220px;
127-
display: flex;
128-
align-items: center;
129-
justify-content: center;
130-
}
152+
// Tablet and smaller desktop styles
153+
@media (max-width: 1200px) {
154+
.setupCard {
155+
padding: 28px 24px;
156+
}
131157

132-
.rocketImage {
133-
width: 100%;
134-
height: auto;
135-
object-fit: contain;
136-
opacity: 0.9;
137-
filter: hue-rotate(350deg);
158+
.checklistContainer {
159+
.setupDescription {
160+
max-width: 100%;
161+
}
162+
}
138163
}
139164

140-
// Media query for tablets
141-
@media (max-width: 1024px) {
142-
.setupCardContent {
143-
padding-right: 180px;
165+
// Small tablet styles
166+
@media (max-width: 992px) {
167+
.checklistItem {
168+
width: 100%;
169+
margin-bottom: 16px;
170+
}
171+
172+
.setupCard {
173+
padding: 24px 20px;
144174
}
145175

146-
.rocketImageContainer {
147-
width: 160px;
148-
height: 160px;
176+
.checklistContainer h2 {
177+
font-size: 1.6rem;
149178
}
150179
}
151180

152-
// Media query for mobile
181+
// Mobile styles
153182
@media (max-width: 768px) {
154-
.setupCardContent {
155-
flex-direction: column;
156-
padding-right: 0;
183+
.setupCard {
184+
padding: 24px 16px;
185+
margin-bottom: 24px;
157186
}
158187

159188
.checklistContainer {
160-
width: 100%;
161-
padding-right: 0;
189+
h2 {
190+
font-size: 1.4rem;
191+
}
192+
193+
.setupDescription {
194+
font-size: 1rem;
195+
margin-bottom: 1.5rem;
196+
}
197+
}
198+
199+
.checklistItem {
200+
padding: 20px 16px;
162201
}
163202

164-
.rocketImageContainer {
165-
display: none; // Hide the rocket on mobile
203+
.dismissButton {
204+
top: 12px;
205+
right: 12px;
206+
width: 32px;
207+
height: 32px;
166208
}
167209
}

0 commit comments

Comments
 (0)