Akane1217 | 65b61a7 | 2025-05-17 13:52:25 +0800 | [diff] [blame] | 1 | /* RequestDetail.css */
|
| 2 | .request-detail-container {
|
| 3 | max-width: 800px;
|
| 4 | margin: 0 auto;
|
| 5 | padding: 20px;
|
| 6 | }
|
| 7 |
|
| 8 | .back-button {
|
| 9 | background: none;
|
| 10 | border: none;
|
| 11 | color: #1890ff;
|
| 12 | cursor: pointer;
|
| 13 | font-size: 16px;
|
| 14 | margin-bottom: 20px;
|
| 15 | padding: 5px 0;
|
| 16 | }
|
| 17 |
|
| 18 | .request-post {
|
| 19 | background: #fff;
|
| 20 | border-radius: 8px;
|
| 21 | padding: 20px;
|
| 22 | margin-bottom: 20px;
|
| 23 | box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
| 24 | }
|
| 25 |
|
| 26 | .post-header {
|
| 27 | display: flex;
|
| 28 | align-items: center;
|
| 29 | margin-bottom: 15px;
|
| 30 | }
|
| 31 |
|
| 32 | .post-avatar {
|
| 33 | width: 40px;
|
| 34 | height: 40px;
|
| 35 | border-radius: 50%;
|
| 36 | margin-right: 10px;
|
| 37 | }
|
| 38 |
|
| 39 | .post-meta {
|
| 40 | display: flex;
|
| 41 | flex-direction: column;
|
| 42 | }
|
| 43 |
|
| 44 | .post-author {
|
| 45 | font-weight: bold;
|
| 46 | }
|
| 47 |
|
| 48 | .post-date {
|
| 49 | color: #888;
|
| 50 | font-size: 14px;
|
| 51 | }
|
| 52 |
|
| 53 | .post-title {
|
| 54 | font-size: 20px;
|
| 55 | margin: 0 0 15px;
|
| 56 | }
|
| 57 |
|
| 58 | .post-content {
|
| 59 | line-height: 1.6;
|
| 60 | margin-bottom: 15px;
|
| 61 | }
|
| 62 |
|
| 63 | .post-actions {
|
| 64 | display: flex;
|
| 65 | gap: 15px;
|
| 66 | }
|
| 67 |
|
| 68 | .like-button, .favorite-button {
|
| 69 | padding: 5px 15px;
|
| 70 | border-radius: 4px;
|
| 71 | border: 1px solid #ddd;
|
| 72 | background: #f5f5f5;
|
| 73 | cursor: pointer;
|
| 74 | }
|
| 75 |
|
| 76 | .like-button.liked {
|
| 77 | background: #e6f7ff;
|
| 78 | border-color: #91d5ff;
|
| 79 | color: #1890ff;
|
| 80 | }
|
| 81 |
|
| 82 | .favorite-button.favorited {
|
| 83 | background: #fff7e6;
|
| 84 | border-color: #ffd591;
|
| 85 | color: #fa8c16;
|
| 86 | }
|
| 87 |
|
| 88 | .comments-section {
|
| 89 | background: #fff;
|
| 90 | border-radius: 8px;
|
| 91 | padding: 20px;
|
| 92 | box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
| 93 | }
|
| 94 |
|
| 95 | .comment-form {
|
| 96 | margin-bottom: 20px;
|
| 97 | }
|
| 98 |
|
| 99 | .comment-form textarea {
|
| 100 | width: 100%;
|
| 101 | padding: 10px;
|
| 102 | border-radius: 4px;
|
| 103 | border: 1px solid #ddd;
|
| 104 | resize: vertical;
|
| 105 | min-height: 80px;
|
| 106 | margin-bottom: 10px;
|
| 107 | }
|
| 108 |
|
| 109 | .form-actions {
|
| 110 | display: flex;
|
| 111 | gap: 10px;
|
| 112 | }
|
| 113 |
|
| 114 | .submit-comment, .submit-torrent {
|
| 115 | padding: 8px 16px;
|
| 116 | border-radius: 4px;
|
| 117 | border: none;
|
| 118 | cursor: pointer;
|
| 119 | }
|
| 120 |
|
| 121 | .submit-comment {
|
| 122 | background: #1890ff;
|
| 123 | color: white;
|
| 124 | }
|
| 125 |
|
| 126 | .submit-torrent {
|
| 127 | background: #52c41a;
|
| 128 | color: white;
|
| 129 | }
|
| 130 |
|
| 131 | .comment-list {
|
| 132 | margin-top: 20px;
|
| 133 | }
|
| 134 |
|
| 135 | .comment-item {
|
| 136 | display: flex;
|
| 137 | padding: 15px 0;
|
| 138 | border-bottom: 1px solid #f0f0f0;
|
| 139 | }
|
| 140 |
|
| 141 | .comment-item:last-child {
|
| 142 | border-bottom: none;
|
| 143 | }
|
| 144 |
|
| 145 | .comment-avatar {
|
| 146 | width: 40px;
|
| 147 | height: 40px;
|
| 148 | border-radius: 50%;
|
| 149 | margin-right: 15px;
|
| 150 | flex-shrink: 0;
|
| 151 | }
|
| 152 |
|
| 153 | .comment-content {
|
| 154 | flex-grow: 1;
|
| 155 | }
|
| 156 |
|
| 157 | .comment-header {
|
| 158 | display: flex;
|
| 159 | justify-content: space-between;
|
| 160 | margin-bottom: 8px;
|
| 161 | }
|
| 162 |
|
| 163 | .comment-author {
|
| 164 | font-weight: bold;
|
| 165 | }
|
| 166 |
|
| 167 | .comment-date {
|
| 168 | color: #888;
|
| 169 | font-size: 14px;
|
| 170 | }
|
| 171 |
|
| 172 | .comment-text {
|
| 173 | line-height: 1.6;
|
| 174 | margin-bottom: 8px;
|
| 175 | }
|
| 176 |
|
| 177 | .torrent-comment {
|
| 178 | display: flex;
|
| 179 | align-items: center;
|
| 180 | margin-bottom: 8px;
|
| 181 | padding: 8px;
|
| 182 | background: #f0f8ff;
|
| 183 | border-radius: 4px;
|
| 184 | }
|
| 185 |
|
| 186 | .torrent-title {
|
| 187 | color: #1890ff;
|
| 188 | flex-grow: 1;
|
| 189 | }
|
| 190 |
|
| 191 | .torrent-size {
|
| 192 | color: #666;
|
| 193 | margin: 0 15px;
|
| 194 | font-size: 14px;
|
| 195 | }
|
| 196 |
|
| 197 | .download-torrent {
|
| 198 | background: #1890ff;
|
| 199 | color: white;
|
| 200 | border: none;
|
| 201 | border-radius: 4px;
|
| 202 | padding: 5px 10px;
|
| 203 | cursor: pointer;
|
| 204 | }
|
| 205 |
|
| 206 | .comment-like {
|
| 207 | background: none;
|
| 208 | border: none;
|
| 209 | color: #666;
|
| 210 | cursor: pointer;
|
| 211 | font-size: 14px;
|
| 212 | padding: 0;
|
| 213 | } |