whistle.mock-plugins 1.2.0-beta.1 → 1.2.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -121,6 +121,118 @@
121
121
  min-height: 300px;
122
122
  }
123
123
 
124
+ /* 视图切换按钮样式 */
125
+ .view-toggle-controls {
126
+ display: flex;
127
+ justify-content: flex-end;
128
+ align-items: center;
129
+ height: 100%;
130
+ }
131
+
132
+ .view-toggle-button {
133
+ border-radius: 4px;
134
+ border: 1px solid #e8e8e8;
135
+ background: #fafafa;
136
+ transition: all 0.3s;
137
+ }
138
+
139
+ .view-toggle-button:hover {
140
+ border-color: #1890ff;
141
+ color: #1890ff;
142
+ }
143
+
144
+ /* 列表视图样式 */
145
+ .feature-list-view {
146
+ display: flex;
147
+ flex-direction: column;
148
+ gap: 16px;
149
+ min-height: 300px;
150
+ }
151
+
152
+ .feature-list-item {
153
+ display: flex;
154
+ justify-content: space-between;
155
+ align-items: center;
156
+ padding: 16px 20px;
157
+ border-radius: 8px;
158
+ border: 1px solid #f0f0f0;
159
+ background: #ffffff;
160
+ transition: all 0.3s;
161
+ cursor: pointer;
162
+ position: relative;
163
+ }
164
+
165
+ .feature-list-item:hover {
166
+ border-color: #d9d9d9;
167
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
168
+ transform: translateY(-2px);
169
+ }
170
+
171
+ .feature-list-item.inactive-feature {
172
+ opacity: 0.7;
173
+ background-color: #fafafa;
174
+ }
175
+
176
+ .feature-list-content {
177
+ flex: 1;
178
+ display: flex;
179
+ flex-direction: column;
180
+ gap: 8px;
181
+ overflow: hidden;
182
+ }
183
+
184
+ .feature-list-main {
185
+ display: flex;
186
+ flex-direction: column;
187
+ gap: 4px;
188
+ }
189
+
190
+ .feature-list-name {
191
+ display: flex;
192
+ align-items: center;
193
+ gap: 12px;
194
+ }
195
+
196
+ .feature-list-name h3 {
197
+ margin: 0;
198
+ font-size: 16px;
199
+ font-weight: 600;
200
+ color: #1890ff;
201
+ }
202
+
203
+ .feature-list-description {
204
+ color: #666;
205
+ font-size: 14px;
206
+ max-width: 80%;
207
+ overflow: hidden;
208
+ white-space: nowrap;
209
+ text-overflow: ellipsis;
210
+ }
211
+
212
+ .feature-list-meta {
213
+ display: flex;
214
+ justify-content: space-between;
215
+ }
216
+
217
+ .feature-list-stats {
218
+ display: flex;
219
+ gap: 16px;
220
+ color: #8c8c8c;
221
+ font-size: 13px;
222
+ }
223
+
224
+ .feature-list-stats span {
225
+ display: flex;
226
+ align-items: center;
227
+ gap: 4px;
228
+ }
229
+
230
+ .feature-list-actions {
231
+ display: flex;
232
+ align-items: center;
233
+ gap: 8px;
234
+ }
235
+
124
236
  .feature-card {
125
237
  position: relative;
126
238
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
@@ -1039,6 +1151,33 @@ input:checked + .slider:before {
1039
1151
  height: auto;
1040
1152
  }
1041
1153
 
1154
+ .feature-list-item {
1155
+ flex-direction: column;
1156
+ align-items: flex-start;
1157
+ gap: 16px;
1158
+ padding: 16px;
1159
+ }
1160
+
1161
+ .feature-list-content {
1162
+ width: 100%;
1163
+ }
1164
+
1165
+ .feature-list-description {
1166
+ max-width: 100%;
1167
+ }
1168
+
1169
+ .feature-list-actions {
1170
+ width: 100%;
1171
+ justify-content: flex-end;
1172
+ border-top: 1px solid #f0f0f0;
1173
+ padding-top: 12px;
1174
+ }
1175
+
1176
+ .view-toggle-controls {
1177
+ justify-content: flex-start;
1178
+ margin-top: 12px;
1179
+ }
1180
+
1042
1181
  .form-actions {
1043
1182
  flex-direction: column;
1044
1183
  }