Akane1217 | 65b61a7 | 2025-05-17 13:52:25 +0800 | [diff] [blame^] | 1 | /* 基础布局 */
|
| 2 | .subpage-container {
|
| 3 | max-width: 1200px;
|
| 4 | margin: 0 auto;
|
| 5 | padding: 20px;
|
| 6 | background: white;
|
| 7 | border-radius: 8px;
|
| 8 | box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
| 9 | }
|
| 10 |
|
| 11 | .back-button {
|
| 12 | background: none;
|
| 13 | border: none;
|
| 14 | color: #1890ff;
|
| 15 | font-size: 16px;
|
| 16 | cursor: pointer;
|
| 17 | margin-bottom: 20px;
|
| 18 | display: flex;
|
| 19 | align-items: center;
|
| 20 | gap: 5px;
|
| 21 | }
|
| 22 |
|
| 23 | .back-button:hover {
|
| 24 | color: #40a9ff;
|
| 25 | }
|
| 26 |
|
| 27 | .page-title {
|
| 28 | color: #333;
|
| 29 | border-bottom: 1px solid #f0f0f0;
|
| 30 | padding-bottom: 10px;
|
| 31 | margin-bottom: 20px;
|
| 32 | }
|
| 33 |
|
| 34 | /* 列表项样式 */
|
| 35 | .list-item {
|
| 36 | padding: 15px;
|
| 37 | border-bottom: 1px solid #f5f5f5;
|
| 38 | transition: background 0.3s;
|
| 39 | }
|
| 40 |
|
| 41 | .list-item:hover {
|
| 42 | background: #f9f9f9;
|
| 43 | }
|
| 44 |
|
| 45 | /* 表单样式 */
|
| 46 | .form-group {
|
| 47 | margin-bottom: 20px;
|
| 48 | }
|
| 49 |
|
| 50 | .form-label {
|
| 51 | display: block;
|
| 52 | margin-bottom: 8px;
|
| 53 | font-weight: 500;
|
| 54 | }
|
| 55 |
|
| 56 | .form-input {
|
| 57 | width: 100%;
|
| 58 | padding: 10px;
|
| 59 | border: 1px solid #d9d9d9;
|
| 60 | border-radius: 4px;
|
| 61 | }
|
| 62 |
|
| 63 | /* 按钮样式 */
|
| 64 | .action-btn {
|
| 65 | padding: 8px 15px;
|
| 66 | background: #1890ff;
|
| 67 | color: white;
|
| 68 | border: none;
|
| 69 | border-radius: 4px;
|
| 70 | cursor: pointer;
|
| 71 | margin-right: 10px;
|
| 72 | }
|
| 73 |
|
| 74 | .action-btn:hover {
|
| 75 | background: #40a9ff;
|
| 76 | }
|
| 77 |
|
| 78 | .danger-btn {
|
| 79 | background: #ff4d4f;
|
| 80 | }
|
| 81 |
|
| 82 | .danger-btn:hover {
|
| 83 | background: #ff7875;
|
| 84 | }
|
| 85 |
|
| 86 | /* 收藏列表 */
|
| 87 | .favorite-list {
|
| 88 | display: flex;
|
| 89 | flex-direction: column;
|
| 90 | gap: 10px;
|
| 91 | }
|
| 92 |
|
| 93 | .item-header {
|
| 94 | margin-bottom: 8px;
|
| 95 | }
|
| 96 |
|
| 97 | .item-meta {
|
| 98 | color: #666;
|
| 99 | font-size: 14px;
|
| 100 | }
|
| 101 |
|
| 102 | .item-actions {
|
| 103 | display: flex;
|
| 104 | gap: 10px;
|
| 105 | margin-top: 10px;
|
| 106 | }
|
| 107 |
|
| 108 | /* 上传表格 */
|
| 109 | .uploads-table {
|
| 110 | width: 100%;
|
| 111 | border-collapse: collapse;
|
| 112 | }
|
| 113 |
|
| 114 | .uploads-table th, .uploads-table td {
|
| 115 | padding: 12px 15px;
|
| 116 | text-align: left;
|
| 117 | }
|
| 118 |
|
| 119 | .status-badge {
|
| 120 | padding: 4px 8px;
|
| 121 | border-radius: 4px;
|
| 122 | font-size: 12px;
|
| 123 | }
|
| 124 |
|
| 125 | .status-badge.published {
|
| 126 | background: #f6ffed;
|
| 127 | color: #52c41a;
|
| 128 | }
|
| 129 |
|
| 130 | .status-badge.pending {
|
| 131 | background: #fff7e6;
|
| 132 | color: #fa8c16;
|
| 133 | }
|
| 134 |
|
| 135 | /* 消息通知 */
|
| 136 | .notice-header {
|
| 137 | display: flex;
|
| 138 | justify-content: space-between;
|
| 139 | margin-bottom: 5px;
|
| 140 | }
|
| 141 |
|
| 142 | .notice-date {
|
| 143 | color: #999;
|
| 144 | font-size: 14px;
|
| 145 | }
|
| 146 |
|
| 147 | .notice-content {
|
| 148 | color: #666;
|
| 149 | margin: 0;
|
| 150 | }
|
| 151 |
|
| 152 | .unread {
|
| 153 | background: #f0f7ff;
|
| 154 | }
|
| 155 |
|
| 156 | /* 设置表单 */
|
| 157 | .form-actions {
|
| 158 | margin-top: 30px;
|
| 159 | display: flex;
|
| 160 | gap: 15px;
|
| 161 | } |