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