blob: d383c279280f615da1dcafec9eab44e71616702d [file] [log] [blame]
Krishyaf1d0ea82025-05-03 17:01:58 +08001.friend-moments-container {
2 margin: 0 auto;
223010091e2aea72025-06-08 16:35:54 +08003 background: #f8f3ef;
Krishyaf1d0ea82025-05-03 17:01:58 +08004 padding-bottom: 40px;
5}
6
7.fm-header {
8 display: flex;
9 justify-content: space-between;
10 align-items: center;
11 padding: 2%;
12}
13
Krishyab5ef96d2025-06-05 13:57:05 +080014.like-container{
15 display: flex;
16 align-items: center;
17 gap: 10px;
18}
Krishyaf1d0ea82025-05-03 17:01:58 +080019.f-search-bar {
20 display: flex;
21 align-items: center;
22 gap: 5px;
23}
24
25.search-input {
26 padding: 6px 8px;
27 font-size: 14px;
28 border: 1px solid #ccc;
29 border-radius: 4px;
30}
31
32.search-btn {
33 padding: 6px 12px;
34 font-size: 14px;
35 cursor: pointer;
36 background: #fff;
37 border: 1px solid #ccc;
38 border-radius: 4px;
39}
40
41.feed-list .feed-item {
42 padding: 1% 1.5%;
43 margin: 1% 2%;
44 border-radius: 6px;
Krishyaf1d0ea82025-05-03 17:01:58 +080045 margin-bottom: 2%;
46 background-color: #e9ded2;
47}
48
49.feed-item h4 {
50 margin: 0 0 5px;
51}
52
53.feed-item p {
54 margin: 0 0 10px;
55 line-height: 1.4;
56}
57
58.feed-images {
59 display: flex;
60 flex-wrap: wrap;
61 gap: 6px;
62 margin-bottom: 10px;
63}
64
65.feed-images img {
66 width: 100px;
67 height: 100px;
68 object-fit: cover;
69 border-radius: 4px;
70 border: 1px solid #ddd;
71}
72
73.feed-footer {
74 display: flex;
75 justify-content: space-between;
76 align-items: center;
77 font-size: 12px;
78 color: #666;
79}
80
81.delete-btn {
82 background: none;
83 border: none;
Krishyadbfadaa2025-06-09 20:33:15 +080084 color: rgb(139, 31, 31);
Krishyaf1d0ea82025-05-03 17:01:58 +080085 cursor: pointer;
Krishyadbfadaa2025-06-09 20:33:15 +080086 /* font-size: 12px; */
87}
88
89.delete-btn:hover {
90 background: #e9ded2;
Krishyaf1d0ea82025-05-03 17:01:58 +080091}
92
Krishyaf1d0ea82025-05-03 17:01:58 +080093.modal-overlay {
94 position: fixed;
95 top: 0;
96 left: 0;
97 width: 100%;
98 height: 100%;
99 background: rgba(0,0,0,0.5);
100 display: flex;
101 justify-content: center;
102 align-items: center;
103 z-index: 1000;
104}
105
106.modal-dialog {
107 background: #e9ded2;
108 padding: 20px;
109 width: 35%;
110 border-radius: 8px;
111 display: flex;
112 flex-direction: column;
113 gap: 20px;
114}
115
Krishyaf1d0ea82025-05-03 17:01:58 +0800116.modal-dialog h3 {
117 margin: 0;
118 color : #4A3B34;
119}
120
121.modal-dialog input[type="text"],
122.modal-dialog textarea {
123 width: 97%;
124 padding: 8px;
125 font-size: 14px;
126 border: 1px solid #ccc;
127 border-radius: 4px;
128}
129
130.modal-dialog input[type="file"] {
131 width: 97%;
132 font-size: 14px;
133 border-radius: 4px;
134}
135
136.modal-dialog textarea {
137 resize: vertical;
138 min-height: 80px;
139}
140
141.cf-preview {
142 display: flex;
143 flex-wrap: wrap;
144 gap: 8px;
145}
146
147.cf-preview img {
148 width: 80px;
149 height: 80px;
150 object-fit: cover;
151 border-radius: 4px;
152 border: 1px solid #bbb;
153}
154
155.modal-actions {
156 display: flex;
157 justify-content: flex-end;
158 margin-top: 10px;
159}
160
161.modal-actions .btn {
162 padding: 6px 12px;
163 font-size: 14px;
164 cursor: pointer;
165 border: none;
166 border-radius: 4px;
167}
168
169.modal-actions .btn.cancel {
170 background: #5F4437;
171}
172
173.modal-actions .btn.submit {
174 background: #BA929A;
175 color: #fff;
22301009e68c0dd2025-06-05 15:28:07 +0800176}
177
Krishyaaffe8102025-06-08 00:44:46 +0800178
179.feed-author {
180 display: flex;
181 align-items: center;
182 gap: 10px;
183 margin-bottom: 10px;
184}
185
Krishyaaffe8102025-06-08 00:44:46 +0800186.feed-images {
187 display: grid;
188 grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
189 gap: 8px;
190 margin-bottom: 12px;
191}
192
193.feed-images img {
194 width: 100%;
195 height: 120px;
196 object-fit: cover;
197 border-radius: 4px;
198}
199
200.feed-footer {
201 display: flex;
202 align-items: center;
203 justify-content: space-between;
204 margin-top: 12px;
205}
206
207.like-container {
208 display: flex;
209 gap: 15px;
210}
211
212.icon-btn {
213 background: none;
214 border: none;
215 cursor: pointer;
216 display: flex;
217 align-items: center;
218 gap: 4px;
219 color: #555;
220}
221
Krishyaaffe8102025-06-08 00:44:46 +0800222.comment-box {
223 margin-top: 12px;
224}
225
226.comment-input {
227 width: 100%;
228 padding: 8px;
229 border: 1px solid #ddd;
230 border-radius: 4px;
231 margin-bottom: 8px;
232 resize: vertical;
233}
234
235.submit-comment-btn {
236 background-color: #ce6178;
237 color: white;
238 border: none;
239 padding: 6px 12px;
240 border-radius: 4px;
241 cursor: pointer;
242}
243
244.comments-container {
245 margin-top: 16px;
246 padding-top: 16px;
247 border-top: 1px solid #ba8989;
248}
249
250.comments-list {
251 display: flex;
252 flex-direction: column;
253 gap: 12px;
254}
255
256.comment-header {
257 display: flex;
258 justify-content: space-between;
259 align-items: center;
260 margin-bottom: 4px;
261}
262
263.comment-user {
Krishyadbfadaa2025-06-09 20:33:15 +0800264 margin-bottom: 0.5%;
265 font-size: 1.2em;
Krishyaaffe8102025-06-08 00:44:46 +0800266 font-weight: bold;
267 color: #333;
268}
269
270.comment-time {
271 font-size: 0.8em;
272 color: #888;
273}
274
275.comment-content {
276 margin-bottom: 6px;
277 line-height: 1.4;
278}
279
280.reply-prefix {
281 color: #666;
282 font-weight: bold;
283}
284
285.reply-btn {
286 background: none;
287 border: none;
288 color: #2196F3;
289 font-size: 0.9em;
290 cursor: pointer;
291 padding: 0;
Krishyadbfadaa2025-06-09 20:33:15 +0800292 margin-left: 0px;
Krishyaaffe8102025-06-08 00:44:46 +0800293}
294
295.nested-replies {
296 margin-top: 8px;
297 padding-left: 16px;
298 border-left: 2px solid #eee;
299}
300
301.reply-item {
302 margin-bottom: 8px;
303}
304
305.reply-content {
306 margin-bottom: 4px;
307 line-height: 1.4;
308}
309
310.modal-overlay {
311 position: fixed;
312 top: 0;
313 left: 0;
314 width: 100%;
315 height: 100%;
316 background-color: rgba(0,0,0,0.5);
317 display: flex;
318 justify-content: center;
319 align-items: center;
320}
321
322.modal-dialog {
323 background-color: white;
324 border-radius: 8px;
325 padding: 20px;
326 width: 90%;
327 max-width: 500px;
328}
329
330.modal-dialog h3 {
331 margin-top: 0;
332 margin-bottom: 16px;
333}
334
335.modal-dialog input,
336.modal-dialog textarea {
337 width: 100%;
338 padding: 8px;
339 margin-bottom: 12px;
340 border: 1px solid #ddd;
341 border-radius: 4px;
342}
343
344.file-label {
345 display: inline-block;
346 background-color: #f0f0f0;
347 color: #333;
348 padding: 8px 12px;
349 border-radius: 4px;
350 cursor: pointer;
351 margin-bottom: 12px;
352}
353
354.cf-preview {
355 display: flex;
356 flex-wrap: wrap;
357 gap: 8px;
358 margin-bottom: 12px;
359}
360
361.cf-preview img {
362 width: 80px;
363 height: 80px;
364 object-fit: cover;
365 border-radius: 4px;
366}
367
368.modal-actions {
369 display: flex;
370 justify-content: flex-end;
371 gap: 10px;
372}
373
374.btn {
375 padding: 8px 16px;
376 border-radius: 4px;
377 cursor: pointer;
378}
379
380.cancel {
381 background-color: #f0f0f0;
382 color: #333;
383 border: 1px solid #ddd;
384}
385
386.submit {
387 background-color: #4CAF50;
388 color: white;
389 border: none;
390}
391
392.loading-message,
393.error-message,
394.login-prompt,
395.empty-message {
396 text-align: center;
397 padding: 20px;
398 color: #555;
399}
400