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