blob: 710ba47176bf39328f9f1a56f6d325905917c00f [file] [log] [blame]
wht30587822025-06-09 23:33:09 +08001/* 翡翠庄园 - 求种页面欧式园林风格样式 */
2
3/* 引入Google字体 */
4@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:wght@400;500;600&display=swap');
5
6/* 页面基础容器样式 */
7.begseed-container {
8 min-height: 100vh;
9 background: linear-gradient(135deg, #2d5016 0%, #4a7c59 20%, #8fbc8f 40%, #98fb98 60%, #f0fff0 100%);
10 position: relative;
11 font-family: 'Lora', serif;
12 overflow-x: hidden;
13}
14
15/* 背景装饰元素 */
16.begseed-container::before {
17 content: '';
18 position: fixed;
19 top: 0;
20 left: 0;
21 right: 0;
22 bottom: 0;
23 background:
24 radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
25 radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
26 radial-gradient(circle at 40% 40%, rgba(144, 238, 144, 0.08) 0%, transparent 50%);
27 animation: backgroundShift 25s ease-in-out infinite;
28 pointer-events: none;
29 z-index: 0;
30}
31
32/* 内容区域 */
33.begseed-content {
34 position: relative;
35 z-index: 10;
36 padding: 20px;
37 max-width: 1400px;
38 margin: 0 auto;
39}
40
41/* 页面标题 */
42.begseed-title {
43 text-align: center;
44 margin: 80px 0 40px 0;
45 color: #2d5016;
46 font-family: 'Playfair Display', serif;
47 font-size: 42px;
48 font-weight: 700;
49 letter-spacing: 2px;
50 text-shadow: 0 2px 4px rgba(45, 80, 22, 0.2);
51 animation: titleFloat 6s ease-in-out infinite;
52 display: flex;
53 align-items: center;
54 justify-content: center;
55 gap: 15px;
56}
57
58.begseed-title-icon {
59 color: #90ee90;
60 filter: drop-shadow(0 2px 4px rgba(144, 238, 144, 0.4));
61 animation: iconPulse 3s ease-in-out infinite;
62}
63
64/* 发布按钮 */
65.begseed-publish-section {
66 text-align: center;
67 margin-bottom: 40px;
68}
69
70.begseed-publish-btn {
71 font-size: 18px;
72 padding: 16px 40px;
73 background: linear-gradient(135deg, #90ee90 0%, #2d5016 100%);
74 color: white;
75 border: none;
76 border-radius: 25px;
77 font-weight: 600;
78 font-family: 'Lora', serif;
79 box-shadow:
80 0 8px 25px rgba(45, 80, 22, 0.3),
81 0 4px 12px rgba(144, 238, 144, 0.2);
82 cursor: pointer;
83 transition: all 0.3s ease;
84 position: relative;
85 overflow: hidden;
86 letter-spacing: 1px;
87}
88
89.begseed-publish-btn:hover {
90 transform: translateY(-3px) scale(1.02);
91 box-shadow:
92 0 12px 35px rgba(45, 80, 22, 0.4),
93 0 6px 18px rgba(144, 238, 144, 0.3);
94}
95
96.begseed-publish-btn:disabled {
97 background: linear-gradient(135deg, #a0a0a0 0%, #808080 100%);
98 cursor: not-allowed;
99 transform: none;
100 box-shadow: 0 4px 12px rgba(128, 128, 128, 0.2);
101}
102
103.begseed-publish-btn::before {
104 content: '';
105 position: absolute;
106 top: 0;
107 left: -100%;
108 width: 100%;
109 height: 100%;
110 background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
111 transition: left 0.6s ease;
112}
113
114.begseed-publish-btn:hover::before {
115 left: 100%;
116}
117
118/* 发布表单 */
119.begseed-form-container {
120 background: rgba(255, 255, 255, 0.95);
121 backdrop-filter: blur(20px);
122 border-radius: 25px;
123 padding: 40px;
124 max-width: 800px;
125 margin: 0 auto 40px auto;
126 box-shadow:
127 0 20px 60px rgba(45, 80, 22, 0.15),
128 0 8px 25px rgba(144, 238, 144, 0.1),
129 inset 0 1px 0 rgba(255, 255, 255, 0.9);
130 border: 2px solid rgba(144, 238, 144, 0.2);
131 position: relative;
132 animation: containerFloat 8s ease-in-out infinite;
133}
134
135.begseed-form-container::before {
136 content: '';
137 position: absolute;
138 top: -2px;
139 left: -2px;
140 right: -2px;
141 bottom: -2px;
142 background: linear-gradient(45deg,
143 #90ee90 0%,
144 #98fb98 25%,
145 #f0fff0 50%,
146 #98fb98 75%,
147 #90ee90 100%);
148 border-radius: 27px;
149 z-index: -1;
150 animation: borderGlow 4s ease-in-out infinite;
151}
152
153.begseed-form-title {
154 color: #2d5016;
155 font-family: 'Playfair Display', serif;
156 font-size: 28px;
157 font-weight: 600;
158 margin-bottom: 30px;
159 text-align: center;
160}
161
162.begseed-form-group {
163 margin-bottom: 25px;
164 display: flex;
165 flex-direction: column;
166 gap: 8px;
167}
168
169.begseed-form-label {
170 color: #2d5016;
171 font-weight: 600;
172 font-size: 16px;
173 font-family: 'Lora', serif;
174 letter-spacing: 0.5px;
175}
176
177.begseed-form-input {
178 padding: 15px 20px;
179 border-radius: 15px;
180 border: 2px solid rgba(144, 238, 144, 0.3);
181 background: rgba(255, 255, 255, 0.9);
182 font-size: 16px;
183 font-family: 'Lora', serif;
184 transition: all 0.3s ease;
185 width: 100%;
186 box-sizing: border-box;
187}
188
189.begseed-form-input:focus {
190 outline: none;
191 border-color: #90ee90;
192 background: rgba(255, 255, 255, 1);
193 box-shadow: 0 0 0 3px rgba(144, 238, 144, 0.2);
194 transform: translateY(-2px);
195}
196
197.begseed-form-actions {
198 display: flex;
199 gap: 20px;
200 justify-content: center;
201 margin-top: 35px;
202}
203
204.begseed-form-btn {
205 padding: 12px 30px;
206 border: none;
207 border-radius: 20px;
208 font-size: 16px;
209 font-weight: 600;
210 font-family: 'Lora', serif;
211 cursor: pointer;
212 transition: all 0.3s ease;
213 min-width: 120px;
214}
215
216.begseed-form-btn-primary {
217 background: linear-gradient(135deg, #4a7c59 0%, #2d5016 100%);
218 color: white;
219 box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
220}
221
222.begseed-form-btn-primary:hover {
223 transform: translateY(-2px);
224 box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
225}
226
227.begseed-form-btn-secondary {
228 background: linear-gradient(135deg, #999 0%, #777 100%);
229 color: white;
230 box-shadow: 0 4px 15px rgba(119, 119, 119, 0.3);
231}
232
233.begseed-form-btn-secondary:hover {
234 transform: translateY(-2px);
235 box-shadow: 0 6px 20px rgba(119, 119, 119, 0.4);
236}
237
238/* 加载和错误状态 */
239.begseed-loading {
240 text-align: center;
241 margin: 60px 0;
242 color: #4a7c59;
243 font-size: 18px;
244 font-weight: 500;
245}
246
247.begseed-error {
248 text-align: center;
249 margin: 30px auto;
250 padding: 20px;
251 max-width: 600px;
252 background: rgba(255, 235, 238, 0.9);
253 color: #c62828;
254 border-radius: 15px;
255 border: 2px solid rgba(198, 40, 40, 0.2);
256 font-weight: 500;
257}
258
259/* 求种列表 */
260.begseed-list {
261 display: grid;
262 grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
263 gap: 30px;
264 margin-top: 20px;
265}
266
267/* 求种卡片 */
268.begseed-card {
269 background: rgba(255, 255, 255, 0.95);
270 backdrop-filter: blur(15px);
271 border-radius: 20px;
272 padding: 30px;
273 box-shadow:
274 0 15px 40px rgba(45, 80, 22, 0.12),
275 0 6px 20px rgba(144, 238, 144, 0.08);
276 border: 2px solid rgba(144, 238, 144, 0.2);
277 cursor: pointer;
278 transition: all 0.3s ease;
279 position: relative;
280 overflow: hidden;
281}
282
283.begseed-card::before {
284 content: '';
285 position: absolute;
286 top: 0;
287 left: -100%;
288 width: 100%;
289 height: 100%;
290 background: linear-gradient(90deg, transparent, rgba(144, 238, 144, 0.1), transparent);
291 transition: left 0.5s;
292 z-index: 0;
293}
294
295.begseed-card:hover::before {
296 left: 100%;
297}
298
299.begseed-card:hover {
300 transform: translateY(-8px);
301 box-shadow:
302 0 25px 60px rgba(45, 80, 22, 0.18),
303 0 10px 30px rgba(144, 238, 144, 0.12);
304 border-color: rgba(74, 124, 89, 0.4);
305}
306
307.begseed-card-content {
308 position: relative;
309 z-index: 1;
310}
311
312/* 已过期/已完成的卡片 */
313.begseed-card-expired {
314 background: rgba(245, 245, 245, 0.9);
315 color: #888;
316 opacity: 0.7;
317}
318
319.begseed-card-expired:hover {
320 transform: translateY(-4px);
321 opacity: 0.8;
322}
323
324.begseed-card-title {
325 font-weight: 600;
326 font-size: 20px;
327 margin-bottom: 20px;
328 color: #2d5016;
329 font-family: 'Playfair Display', serif;
330 line-height: 1.3;
331}
332
333.begseed-card-expired .begseed-card-title {
334 color: #888;
335}
336
337.begseed-card-info {
338 margin-bottom: 12px;
339 color: #4a7c59;
340 font-size: 15px;
341 display: flex;
342 align-items: center;
343 gap: 8px;
344}
345
346.begseed-card-expired .begseed-card-info {
347 color: #999;
348}
349
350.begseed-card-info-icon {
351 font-size: 16px;
352 opacity: 0.8;
353}
354
355.begseed-card-status {
356 display: inline-block;
357 padding: 6px 12px;
358 border-radius: 12px;
359 font-size: 13px;
360 font-weight: 600;
361 margin-top: 15px;
362}
363
364.begseed-status-active {
365 background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
366 color: #2d5016;
367 border: 1px solid rgba(45, 80, 22, 0.2);
368}
369
370.begseed-status-completed {
371 background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
372 color: #1565c0;
373 border: 1px solid rgba(21, 101, 192, 0.2);
374}
375
376.begseed-status-expired {
377 background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
378 color: #666;
379 border: 1px solid rgba(102, 102, 102, 0.2);
380}
381
382/* 动画效果 */
383@keyframes backgroundShift {
384 0%, 100% { transform: translate(0, 0) rotate(0deg); }
385 33% { transform: translate(30px, -30px) rotate(1deg); }
386 66% { transform: translate(-20px, 20px) rotate(-0.5deg); }
387}
388
389@keyframes titleFloat {
390 0%, 100% { transform: translateY(0px); }
391 50% { transform: translateY(-10px); }
392}
393
394@keyframes containerFloat {
395 0%, 100% { transform: translateY(0px); }
396 50% { transform: translateY(-5px); }
397}
398
399@keyframes borderGlow {
400 0%, 100% { opacity: 0.3; }
401 50% { opacity: 0.6; }
402}
403
404/* 响应式设计 */
405@media (max-width: 768px) {
406 .begseed-container {
407 padding: 20px 10px;
408 }
409
410 .begseed-title {
411 font-size: 32px;
412 margin-bottom: 30px;
413 }
414
415 .begseed-list {
416 grid-template-columns: 1fr;
417 gap: 20px;
418 }
419
420 .begseed-form-container {
421 padding: 30px 20px;
422 margin: 0 10px 30px 10px;
423 }
424
425 .begseed-form-group {
426 flex-direction: column;
427 align-items: flex-start;
428 gap: 8px;
429 }
430
431 .begseed-form-label {
432 width: auto;
433 }
434
435 .begseed-form-actions {
436 flex-direction: column;
437 gap: 15px;
438 }
439
440 .begseed-card {
441 padding: 25px 20px;
442 }
443}
444
445@media (max-width: 480px) {
446 .begseed-title {
447 font-size: 28px;
448 flex-direction: column;
449 gap: 10px;
450 }
451
452 .begseed-publish-btn {
453 padding: 14px 30px;
454 font-size: 16px;
455 }
456
457 .begseed-form-title {
458 font-size: 24px;
459 }
460}