blob: 2533959533ccab62bc52f64eac0142963b68486f [file] [log] [blame]
22301009648cb7e2025-06-04 08:54:23 +08001.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;
22}
23
24.friend-info h4 {
25 margin: 0;
26 font-size: 1.2em;
27 color: #333;
28}
29
30.friend-info p {
31 margin: 5px 0 0;
32 color: #666;
33 font-size: 0.9em;
34}
35.chat-modal-content {
36 position: fixed;
37 top: 50%;
38 left: 50%;
39 width: 420px;
40 max-width: 90%;
41 background: #fffefc;
42 border-radius: 12px;
43 padding: 24px;
44 transform: translate(-50%, -50%);
45 box-shadow: 0 4px 12px rgba(0,0,0,0.3);
46 z-index: 1010;
47 font-family: 'Arial', sans-serif;
48}
49
50.chat-modal-content textarea {
51 border: 1px solid #ccc;
52 border-radius: 8px;
53 font-size: 14px;
54 padding: 10px;
55 font-family: inherit;
56 transition: border-color 0.2s;
57}
58
59.chat-modal-content textarea:focus {
60 border-color: #409eff;
61 outline: none;
62 box-shadow: 0 0 5px rgba(64, 158, 255, 0.5);
63}
64.chat-actions button {
65 padding: 8px 20px;
66 border-radius: 6px;
67 font-weight: bold;
68 transition: background-color 0.2s;
69}
70
71.chat-actions button:hover {
72 filter: brightness(1.1);
73}
74
75.chat-actions button:last-child:hover {
76 background-color: #ff4d4f;
77}
78.status-msg {
79 margin-top: 10px;
80 font-size: 14px;
81 color: #666;
82 font-style: italic;
83}