blob: cf5502cdd3f49bb459d4be2cc50a014bb756c910 [file] [log] [blame]
223010094158f3a2025-06-06 19:59:10 +08001.seed-list-container {
2 background: #333;
3}
223010095b28c672025-04-10 20:12:45 +08004
223010094158f3a2025-06-06 19:59:10 +08005/* 搜索、排序控件 */
6.controls {
7 display: flex;
8 justify-content: center;
9 gap: 16px;
10 padding: 10px 20px;
11 background-color: #5F4437;
12}
Krishyaf1d0ea82025-05-03 17:01:58 +080013
223010094158f3a2025-06-06 19:59:10 +080014.search-input {
15 padding: 6px 10px;
16 border-radius: 6px;
17 border: none;
18 width: 200px;
19}
20
21.sort-select {
22 padding: 6px;
23 border-radius: 6px;
24 border: none;
25}
26
27/* 标签过滤 */
28.tag-filters {
29 background-color: #5F4437;
30 display: flex;
31 justify-content: center;
32 flex-wrap: wrap;
33 gap: 8px;
34 padding: 10px;
35}
36
37.tag-button {
38 background-color: #b38867;
39 color: white;
40 border: none;
41 border-radius: 20px;
42 padding: 6px 12px;
43 cursor: pointer;
44}
45
46.active-tag {
47 background-color: #d17c4f;
48}
49
50.clear-filter-btn {
51 background: transparent;
52 border: none;
53 color: #888;
54 font-size: 1rem;
55 cursor: pointer;
56 margin-left: 4px;
57}
58
59.clear-filter-btn:hover {
60 color: red;
61}
62
63/* 去除 Link 组件默认的下划线和文字颜色变化 */
64.seed-item-link {
65 text-decoration: none;
66 color: inherit;
67 display: block;
68}
69
70/* 卡片展示 */
71.seed-list-content {
72 padding: 20px;
73 background-color: #5F4437;
74}
75
76.seed-list-card {
77 background-color: #e9ded2;
78 color: #333;
79 border-radius: 8px;
80 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
81 overflow: hidden;
82}
83
84.seed-list-header {
85 display: grid;
86 grid-template-columns: 180px 2fr 1fr 1fr 1fr 1fr;
87 align-items: center;
88 justify-items: center;
89 padding: 12px 16px;
90 background-color: #BA929A;
91 font-weight: bold;
92}
93
94.seed-list-body {
95 display: flex;
96 flex-direction: column;
97}
98
99.seed-item {
100 display: grid;
101 grid-template-columns: 180px 2fr 1fr 1fr 1fr 1fr;
102 align-items: center;
103 justify-items: center;
104 padding: 12px 16px;
105 border-top: 1px solid #ccc;
106}
107
108.seed-item-cover {
109 width: 100px;
110 height: 140px;
111 object-fit: cover;
112 border-radius: 6px;
113 flex-shrink: 0;
114}
115
116.seed-item-title {
117 width: 100%;
118 text-align: center;
119}
120
121.seed-title-row {
122 display: flex;
123 flex-direction: column;
124 align-items: center;
125 gap: 8px;
126}
127
128.seed-title {
129 font-size: 1.1rem;
130 margin: 0;
131 font-weight: bold;
132}
133
134.seed-tags {
135 margin-top: 4px;
136 display: flex;
137 flex-wrap: wrap;
138 gap: 4px;
139 justify-content: center;
140 max-width: 100%;
141 word-break: break-word;
142}
143
144.seed-item-actions {
145 display: flex;
146 flex-direction: row;
147 gap: 8px;
148 justify-content: center;
149}
150
151.seed-header-cover {
152 width: 180px;
153 flex-shrink: 0;
154 text-align: center;
155}
156
157.seed-header-title,
158.seed-header-size,
159.seed-header-upload-time,
160.seed-header-downloads,
161.seed-header-actions {
162 text-align: center;
163}
164
165.seed-info {
166 display: flex;
167 justify-content: space-between;
168 font-size: 0.9rem;
169 color: #666;
170 margin-bottom: 8px;
171}
172
173.tag-label {
174 background-color: #eee;
175 border-radius: 4px;
176 padding: 2px 6px;
177 font-size: 12px;
178}
179
180.btn-primary,
181.btn-secondary,
182.btn-outline {
183 padding: 6px 12px;
184 border: none;
185 border-radius: 6px;
186 cursor: pointer;
187 font-size: 0.9rem;
188 text-align: center;
189 white-space: nowrap;
190 transition: background-color 0.2s ease;
191}
192
193.btn-primary {
194 background-color: #007bff;
195 color: white;
196}
197
198.btn-primary:hover {
199 background-color: #0056b3;
200}
201
202.btn-secondary {
203 background-color: #28a745;
204 color: white;
205}
206
207.btn-secondary:hover {
208 background-color: #218838;
209}
210
211.btn-outline {
212 background-color: transparent;
213 border: 1px solid #ccc;
214 color: #333;
215}
216
217.btn-outline:hover {
218 background-color: #f8f9fa;
219}
220
221.seed-cover {
222 width: 100%;
223 height: 180px;
224 object-fit: cover;
225 border-radius: 8px;
226 margin-bottom: 12px;
227}
228.seed-item-cover {
229 width: 100px;
230 height: auto;
231 object-fit: cover;
232 border-radius: 4px;
233 margin-right: 12px;
234}