22301080 | a93bebb | 2025-05-27 19:48:11 +0800 | [diff] [blame] | 1 | .administer-container { |
| 2 | padding: 20px; |
| 3 | max-width: 1200px; |
| 4 | margin: 0 auto; |
| 5 | } |
| 6 | |
| 7 | .search-container { |
| 8 | margin-bottom: 20px; |
| 9 | display: flex; |
| 10 | gap: 10px; |
| 11 | } |
| 12 | |
| 13 | .search-input { |
| 14 | padding: 8px; |
| 15 | border: 1px solid #ccc; |
| 16 | border-radius: 4px; |
| 17 | flex-grow: 1; |
| 18 | max-width: 300px; |
| 19 | } |
| 20 | |
| 21 | .search-button, .reset-button { |
| 22 | padding: 8px 16px; |
| 23 | background-color: #4CAF50; |
| 24 | color: white; |
| 25 | border: none; |
| 26 | border-radius: 4px; |
| 27 | cursor: pointer; |
| 28 | } |
| 29 | |
| 30 | .reset-button { |
| 31 | background-color: #f44336; |
| 32 | } |
| 33 | |
| 34 | .error-message { |
| 35 | color: #f44336; |
| 36 | margin-bottom: 15px; |
| 37 | } |
| 38 | |
| 39 | .loading-message { |
| 40 | color: #2196F3; |
| 41 | margin-bottom: 15px; |
| 42 | } |
| 43 | |
| 44 | .user-list-container { |
| 45 | overflow-x: auto; |
| 46 | } |
| 47 | |
| 48 | .user-table { |
| 49 | width: 100%; |
| 50 | border-collapse: collapse; |
| 51 | } |
| 52 | |
| 53 | .user-table th, .user-table td { |
| 54 | border: 1px solid #ddd; |
| 55 | padding: 8px; |
| 56 | text-align: left; |
| 57 | } |
| 58 | |
| 59 | .user-table th { |
| 60 | background-color: #f2f2f2; |
| 61 | } |
| 62 | |
| 63 | .user-table tr:nth-child(even) { |
| 64 | background-color: #f9f9f9; |
| 65 | } |
| 66 | |
| 67 | .user-table tr:hover { |
| 68 | background-color: #f1f1f1; |
| 69 | } |
| 70 | |
| 71 | .authority-select { |
| 72 | padding: 5px; |
| 73 | border-radius: 4px; |
| 74 | border: 1px solid #ccc; |
| 75 | } |
| 76 | |
| 77 | /* 选项卡样式 */ |
| 78 | .tab-container { |
| 79 | display: flex; |
| 80 | margin-bottom: 20px; |
| 81 | border-bottom: 1px solid #ddd; |
| 82 | } |
| 83 | |
| 84 | .tab-button { |
| 85 | padding: 10px 20px; |
| 86 | background: none; |
| 87 | border: none; |
| 88 | cursor: pointer; |
| 89 | font-size: 16px; |
| 90 | border-bottom: 3px solid transparent; |
| 91 | } |
| 92 | |
| 93 | .tab-button.active { |
| 94 | border-bottom: 3px solid #1890ff; |
| 95 | color: #1890ff; |
| 96 | } |
| 97 | |
| 98 | /* 折扣卡片样式 */ |
| 99 | .current-discount-card { |
| 100 | background-color: #f5f5f5; |
| 101 | padding: 15px; |
| 102 | border-radius: 5px; |
| 103 | margin-bottom: 20px; |
| 104 | } |
| 105 | |
| 106 | /* 折扣表单样式 */ |
| 107 | .add-discount-form { |
| 108 | background-color: #f9f9f9; |
| 109 | padding: 20px; |
| 110 | border-radius: 5px; |
| 111 | margin-bottom: 20px; |
| 112 | } |
| 113 | |
| 114 | .form-group { |
| 115 | margin-bottom: 15px; |
| 116 | } |
| 117 | |
| 118 | .form-group label { |
| 119 | display: inline-block; |
| 120 | width: 100px; |
| 121 | margin-right: 10px; |
| 122 | } |
| 123 | |
| 124 | /* 折扣表格样式 */ |
| 125 | .discount-table { |
| 126 | width: 100%; |
| 127 | border-collapse: collapse; |
| 128 | } |
| 129 | |
| 130 | .discount-table th, .discount-table td { |
| 131 | padding: 10px; |
| 132 | border: 1px solid #ddd; |
| 133 | text-align: left; |
| 134 | } |
| 135 | |
| 136 | .discount-table th { |
| 137 | background-color: #f2f2f2; |
| 138 | } |
| 139 | |
| 140 | .delete-button { |
| 141 | background-color: #ff4d4f; |
| 142 | color: white; |
| 143 | border: none; |
| 144 | padding: 5px 10px; |
| 145 | border-radius: 3px; |
| 146 | cursor: pointer; |
| 147 | } |
| 148 | |
| 149 | .delete-button:hover { |
| 150 | background-color: #ff7875; |
| 151 | } |
| 152 | |
| 153 | .react-datepicker { |
| 154 | font-size: 14px; |
| 155 | } |
| 156 | |
| 157 | .react-datepicker__time-container { |
| 158 | width: 120px; |
| 159 | } |
| 160 | |
| 161 | .react-datepicker-time__header { |
| 162 | font-size: 13px; |
| 163 | } |
| 164 | |
| 165 | .time-preview { |
| 166 | margin: 10px 0; |
| 167 | padding: 10px; |
| 168 | background: #f5f5f5; |
| 169 | border-radius: 4px; |
| 170 | } |