22301009 | 648cb7e | 2025-06-04 08:54:23 +0800 | [diff] [blame] | 1 | .friend-card { |
| 2 | background-color: #fff5e1; |
| 3 | border-radius: 16px; |
| 4 | padding: 20px; |
| 5 | margin-bottom: 20px; |
| 6 | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); |
| 7 | display: flex; |
| 8 | align-items: center; |
| 9 | gap: 20px; |
| 10 | } |
| 11 | |
| 12 | .friend-avatar { |
| 13 | width: 60px; |
| 14 | height: 60px; |
| 15 | border-radius: 50%; |
| 16 | object-fit: cover; |
| 17 | border: 2px solid #ddd; |
| 18 | } |
| 19 | |
| 20 | .friend-info { |
| 21 | flex: 1; |
Krishya | 73cd882 | 2025-06-07 15:48:41 +0800 | [diff] [blame] | 22 | /* 字体大小 */ |
| 23 | font-size: 1.3em; |
22301009 | 648cb7e | 2025-06-04 08:54:23 +0800 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | .friend-info h4 { |
| 27 | margin: 0; |
| 28 | font-size: 1.2em; |
| 29 | color: #333; |
| 30 | } |
| 31 | |
| 32 | .friend-info p { |
| 33 | margin: 5px 0 0; |
| 34 | color: #666; |
| 35 | font-size: 0.9em; |
| 36 | } |
| 37 | .chat-modal-content { |
| 38 | position: fixed; |
| 39 | top: 50%; |
| 40 | left: 50%; |
| 41 | width: 420px; |
| 42 | max-width: 90%; |
| 43 | background: #fffefc; |
| 44 | border-radius: 12px; |
| 45 | padding: 24px; |
| 46 | transform: translate(-50%, -50%); |
| 47 | box-shadow: 0 4px 12px rgba(0,0,0,0.3); |
| 48 | z-index: 1010; |
| 49 | font-family: 'Arial', sans-serif; |
| 50 | } |
| 51 | |
| 52 | .chat-modal-content textarea { |
| 53 | border: 1px solid #ccc; |
| 54 | border-radius: 8px; |
| 55 | font-size: 14px; |
| 56 | padding: 10px; |
| 57 | font-family: inherit; |
| 58 | transition: border-color 0.2s; |
| 59 | } |
| 60 | |
| 61 | .chat-modal-content textarea:focus { |
| 62 | border-color: #409eff; |
| 63 | outline: none; |
| 64 | box-shadow: 0 0 5px rgba(64, 158, 255, 0.5); |
| 65 | } |
| 66 | .chat-actions button { |
| 67 | padding: 8px 20px; |
| 68 | border-radius: 6px; |
| 69 | font-weight: bold; |
| 70 | transition: background-color 0.2s; |
| 71 | } |
| 72 | |
| 73 | .chat-actions button:hover { |
| 74 | filter: brightness(1.1); |
| 75 | } |
| 76 | |
| 77 | .chat-actions button:last-child:hover { |
| 78 | background-color: #ff4d4f; |
| 79 | } |
| 80 | .status-msg { |
| 81 | margin-top: 10px; |
| 82 | font-size: 14px; |
| 83 | color: #666; |
| 84 | font-style: italic; |
| 85 | } |