22301009 | 5b28c67 | 2025-04-10 20:12:45 +0800 | [diff] [blame] | 1 | .main-page { |
| 2 | background-color: #5c3f31; |
| 3 | color: white; |
| 4 | } |
| 5 | |
22301009 | 5b28c67 | 2025-04-10 20:12:45 +0800 | [diff] [blame] | 6 | /* 搜索、排序控件 */ |
| 7 | .controls { |
| 8 | display: flex; |
| 9 | justify-content: center; |
| 10 | gap: 16px; |
| 11 | padding: 10px 20px; |
| 12 | background-color: #704c3b; |
| 13 | } |
| 14 | |
| 15 | .search-input { |
| 16 | padding: 6px 10px; |
| 17 | border-radius: 6px; |
| 18 | border: none; |
| 19 | width: 200px; |
| 20 | } |
| 21 | |
| 22 | .sort-select { |
| 23 | padding: 6px; |
| 24 | border-radius: 6px; |
| 25 | border: none; |
| 26 | } |
| 27 | |
| 28 | /* 标签过滤 */ |
| 29 | .tag-filters { |
| 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 | /* 卡片展示 */ |
| 64 | .seed-list-content { |
| 65 | padding: 20px; |
| 66 | } |
| 67 | |
| 68 | .seed-cards { |
| 69 | display: grid; |
| 70 | grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); |
| 71 | gap: 20px; |
| 72 | padding: 20px 0; |
| 73 | } |
| 74 | |
| 75 | .seed-card { |
| 76 | background-color: #fff; |
| 77 | border-radius: 12px; |
| 78 | box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| 79 | padding: 16px; |
| 80 | display: flex; |
| 81 | flex-direction: column; |
| 82 | justify-content: space-between; |
| 83 | color: #333; |
| 84 | transition: transform 0.2s ease; |
| 85 | } |
| 86 | |
| 87 | .seed-card:hover { |
| 88 | transform: translateY(-5px); |
| 89 | } |
| 90 | |
| 91 | .seed-card-header h3 { |
| 92 | font-size: 1.2rem; |
| 93 | margin-bottom: 10px; |
| 94 | color: #333; |
| 95 | word-break: break-word; |
| 96 | } |
| 97 | |
| 98 | .seed-card-body { |
| 99 | display: flex; |
| 100 | flex-direction: column; |
| 101 | } |
| 102 | |
| 103 | .seed-info { |
| 104 | display: flex; |
| 105 | justify-content: space-between; |
| 106 | font-size: 0.9rem; |
| 107 | color: #666; |
| 108 | margin-bottom: 8px; |
| 109 | } |
| 110 | |
| 111 | .seed-card-tags { |
| 112 | display: flex; |
| 113 | flex-wrap: wrap; |
| 114 | gap: 6px; |
| 115 | margin-top: 6px; |
| 116 | } |
| 117 | |
| 118 | .tag-label { |
| 119 | background-color: #f0f0f0; |
| 120 | color: #555; |
| 121 | padding: 4px 10px; |
| 122 | font-size: 0.75rem; |
| 123 | border-radius: 12px; |
| 124 | white-space: nowrap; |
| 125 | } |
| 126 | |
| 127 | .seed-card-actions { |
| 128 | display: flex; |
| 129 | justify-content: space-between; |
| 130 | gap: 10px; |
| 131 | margin-top: 12px; |
| 132 | } |
| 133 | |
| 134 | .btn-primary, |
| 135 | .btn-secondary, |
| 136 | .btn-outline { |
| 137 | padding: 6px 12px; |
| 138 | border: none; |
| 139 | border-radius: 6px; |
| 140 | cursor: pointer; |
| 141 | font-size: 0.9rem; |
| 142 | text-align: center; |
| 143 | white-space: nowrap; |
| 144 | transition: background-color 0.2s ease; |
| 145 | } |
| 146 | |
| 147 | .btn-primary { |
| 148 | background-color: #007bff; |
| 149 | color: white; |
| 150 | } |
| 151 | |
| 152 | .btn-primary:hover { |
| 153 | background-color: #0056b3; |
| 154 | } |
| 155 | |
| 156 | .btn-secondary { |
| 157 | background-color: #28a745; |
| 158 | color: white; |
| 159 | } |
| 160 | |
| 161 | .btn-secondary:hover { |
| 162 | background-color: #218838; |
| 163 | } |
| 164 | |
| 165 | .btn-outline { |
| 166 | background-color: transparent; |
| 167 | border: 1px solid #ccc; |
| 168 | color: #333; |
| 169 | } |
| 170 | |
| 171 | .btn-outline:hover { |
| 172 | background-color: #f8f9fa; |
| 173 | } |
| 174 | .seed-cover { |
| 175 | width: 100%; |
| 176 | height: 180px; |
| 177 | object-fit: cover; |
| 178 | border-radius: 8px; |
| 179 | margin-bottom: 12px; |
| 180 | } |
Krishya | e71688a | 2025-04-10 21:25:17 +0800 | [diff] [blame] | 181 | .friend-moments { |
| 182 | background-color: #5c3f31; |
| 183 | color: white; |
| 184 | } |
| 185 | |