blob: 087abcbeecf7d98dc74ea232dd7de493bfc4ea59 [file] [log] [blame]
Krishyaf1d0ea82025-05-03 17:01:58 +08001.friend-moments-container {
2 margin: 0 auto;
Krishya57cc17b2025-05-26 16:43:34 +08003 background: #333;
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;
45 /*设置item之间的间隔*/
46 margin-bottom: 2%;
47 background-color: #e9ded2;
48}
49
50.feed-item h4 {
51 margin: 0 0 5px;
52}
53
54.feed-item p {
55 margin: 0 0 10px;
56 line-height: 1.4;
57}
58
59.feed-images {
60 display: flex;
61 flex-wrap: wrap;
62 gap: 6px;
63 margin-bottom: 10px;
64}
65
66.feed-images img {
67 width: 100px;
68 height: 100px;
69 object-fit: cover;
70 border-radius: 4px;
71 border: 1px solid #ddd;
72}
73
74.feed-footer {
75 display: flex;
76 justify-content: space-between;
77 align-items: center;
78 font-size: 12px;
79 color: #666;
80}
81
82.delete-btn {
83 background: none;
84 border: none;
85 color: #f44;
86 cursor: pointer;
87 font-size: 12px;
88}
89
90/* Modal 样式 */
91.modal-overlay {
92 position: fixed;
93 top: 0;
94 left: 0;
95 width: 100%;
96 height: 100%;
97 background: rgba(0,0,0,0.5);
98 display: flex;
99 justify-content: center;
100 align-items: center;
101 z-index: 1000;
102}
103
104.modal-dialog {
105 background: #e9ded2;
106 padding: 20px;
107 width: 35%;
108 border-radius: 8px;
109 display: flex;
110 flex-direction: column;
111 gap: 20px;
112}
113
114/* 标题 */
115.modal-dialog h3 {
116 margin: 0;
117 color : #4A3B34;
118}
119
120.modal-dialog input[type="text"],
121.modal-dialog textarea {
122 width: 97%;
123 padding: 8px;
124 font-size: 14px;
125 border: 1px solid #ccc;
126 border-radius: 4px;
127}
128
129.modal-dialog input[type="file"] {
130 width: 97%;
131 font-size: 14px;
132 border-radius: 4px;
133}
134
135.modal-dialog textarea {
136 resize: vertical;
137 min-height: 80px;
138}
139
140.cf-preview {
141 display: flex;
142 flex-wrap: wrap;
143 gap: 8px;
144}
145
146.cf-preview img {
147 width: 80px;
148 height: 80px;
149 object-fit: cover;
150 border-radius: 4px;
151 border: 1px solid #bbb;
152}
153
154.modal-actions {
155 display: flex;
156 justify-content: flex-end;
157 margin-top: 10px;
158}
159
160.modal-actions .btn {
161 padding: 6px 12px;
162 font-size: 14px;
163 cursor: pointer;
164 border: none;
165 border-radius: 4px;
166}
167
168.modal-actions .btn.cancel {
169 background: #5F4437;
170}
171
172.modal-actions .btn.submit {
173 background: #BA929A;
174 color: #fff;
175}