| .seed-list-container { |
| background: #f8f3ef; /* 柔和米棕背景 */ |
| } |
| |
| /* 搜索、排序控件 */ |
| .controls { |
| background-color: #fffaf7; /* 粉米白 */ |
| padding: 10px 20px; |
| display: flex; |
| justify-content: center; |
| gap: 16px; |
| border-radius: 12px; |
| border: 1px solid #e2cfc3; /* 浅棕边框 */ |
| } |
| |
| .search-input { |
| padding: 6px 10px; |
| border-radius: 8px; |
| border: 1px solid #e2cfc3; |
| width: 200px; |
| font-size: 1rem; |
| color: #6b4f3b; |
| background-color: #fffaf7; |
| } |
| |
| .sort-select { |
| padding: 6px; |
| border-radius: 8px; |
| border: 1px solid #e2cfc3; |
| background-color: #fffaf7; |
| color: #6b4f3b; |
| cursor: pointer; |
| } |
| |
| /* 标签过滤 */ |
| .tag-filters { |
| background-color: #fffaf7; |
| display: flex; |
| justify-content: center; |
| flex-wrap: wrap; |
| gap: 8px; |
| padding: 10px; |
| border-radius: 12px; |
| border: 1px solid #e2cfc3; |
| } |
| |
| .tag-button { |
| background-color: #eecfc1; |
| color: #6b4f3b; |
| border: none; |
| border-radius: 20px; |
| padding: 6px 12px; |
| cursor: pointer; |
| font-weight: 600; |
| transition: background-color 0.3s ease; |
| } |
| |
| .tag-button:hover { |
| background-color: #f3ded7; |
| color: #4b3325; |
| } |
| |
| .active-tag { |
| background-color: #6b4f3b; |
| color: #fffaf7; |
| } |
| |
| .clear-filter-btn { |
| background: transparent; |
| border: none; |
| color: #6b4f3b; |
| font-size: 1rem; |
| cursor: pointer; |
| margin-left: 4px; |
| transition: color 0.3s ease; |
| } |
| |
| .clear-filter-btn:hover { |
| color: #4b3325; |
| } |
| |
| .seed-list-content { |
| padding: 20px; |
| background-color: #fffaf7; |
| border-radius: 12px; |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); |
| } |
| |
| .seed-list-card { |
| background-color: #fffaf7; |
| color: #6b4f3b; |
| border-radius: 8px; |
| box-shadow: 0 1px 4px rgba(107, 79, 59, 0.15); |
| overflow: hidden; |
| } |
| |
| .seed-list-header { |
| background-color: #eecfc1; |
| font-weight: bold; |
| color: #4e342e; |
| padding: 12px 16px; |
| display: grid; |
| grid-template-columns: 180px 2fr 1fr 1fr 1fr 1fr; |
| align-items: center; |
| justify-items: center; |
| border-radius: 8px 8px 0 0; |
| } |
| |
| .seed-item { |
| display: grid; |
| grid-template-columns: 180px 2fr 1fr 1fr 1fr 1fr; |
| align-items: center; |
| justify-items: center; |
| padding: 12px 16px; |
| border-top: 1px solid #e2cfc3; |
| color: #6b4f3b; |
| transition: background-color 0.2s ease; |
| cursor: pointer; |
| } |
| |
| .seed-item:hover { |
| background-color: #f3ded7; |
| } |
| |
| .seed-item-cover { |
| width: 100px; |
| height: auto; |
| object-fit: cover; |
| border-radius: 6px; |
| margin-right: 12px; |
| box-shadow: 0 3px 6px rgb(107 79 59 / 0.2); |
| } |
| |
| .seed-item-title { |
| width: 100%; |
| text-align: center; |
| font-weight: 600; |
| font-size: 1.1rem; |
| color: #4e342e; |
| } |
| |
| .seed-tags { |
| margin-top: 4px; |
| display: flex; |
| flex-wrap: wrap; |
| gap: 4px; |
| justify-content: center; |
| max-width: 100%; |
| word-break: break-word; |
| } |
| |
| .seed-info { |
| display: flex; |
| justify-content: space-between; |
| font-size: 0.9rem; |
| color: #5d4037; |
| margin-bottom: 8px; |
| } |
| |
| .tag-label { |
| background-color: #fffaf7; |
| border-radius: 4px; |
| padding: 2px 6px; |
| font-size: 12px; |
| color: #6b4f3b; |
| font-weight: 500; |
| } |
| |
| .btn-primary { |
| background-color: #6b4f3b; |
| color: #fffaf7; |
| border-radius: 6px; |
| padding: 6px 12px; |
| cursor: pointer; |
| transition: background-color 0.3s ease; |
| font-weight: 600; |
| } |
| |
| .btn-primary:hover { |
| background-color: #4b3325; |
| } |
| |
| .btn-secondary { |
| background-color: #eecfc1; |
| color: #6b4f3b; |
| border-radius: 6px; |
| padding: 6px 12px; |
| cursor: pointer; |
| transition: background-color 0.3s ease; |
| font-weight: 600; |
| } |
| |
| .btn-secondary:hover { |
| background-color: #f3ded7; |
| } |
| |
| .btn-outline { |
| background-color: transparent; |
| border: 1px solid #6b4f3b; |
| color: #6b4f3b; |
| border-radius: 6px; |
| padding: 6px 12px; |
| cursor: pointer; |
| transition: background-color 0.3s ease; |
| } |
| |
| .btn-outline:hover { |
| background-color: #fffaf7; |
| color: #4b3325; |
| } |
| |
| .seed-cover { |
| width: 100%; |
| height: 180px; |
| object-fit: cover; |
| border-radius: 8px; |
| margin-bottom: 12px; |
| box-shadow: 0 4px 12px rgb(107 79 59 / 0.2); |
| } |
| a { |
| color: inherit; /* 使用父元素颜色 */ |
| text-decoration: none; /* 去掉下划线 */ |
| } |