ciyidogan commited on
Commit
86408cc
·
verified ·
1 Parent(s): 29e2058

Update flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.scss

Browse files
flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.scss CHANGED
@@ -36,7 +36,7 @@
36
  padding: 12px;
37
  background-color: #f5f5f5;
38
  resize: vertical;
39
- min-height: 150px; // minimum yükseklik eklendi
40
 
41
  &:focus {
42
  outline: none;
@@ -54,7 +54,7 @@
54
  margin-top: 16px;
55
 
56
  ::ng-deep .mat-expansion-panel-header {
57
- padding: 0 16px; // padding eklendi
58
  }
59
 
60
  .template-list {
@@ -171,20 +171,82 @@
171
  margin-bottom: 24px;
172
  }
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  .test-result {
175
  margin-top: 24px;
176
  border: 1px solid #e0e0e0;
177
  border-radius: 4px;
178
  padding: 16px;
179
  background-color: #fafafa;
180
- max-height: 500px; // maksimum yükseklik
181
- overflow-y: auto; // scroll eklendi
182
 
183
  h4 {
184
  margin-top: 0;
185
  margin-bottom: 16px;
186
  }
187
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
  .response-section {
189
  margin-top: 16px;
190
 
@@ -201,12 +263,11 @@
201
  overflow-x: auto;
202
  font-size: 12px;
203
  margin: 0;
204
- white-space: pre-wrap; // uzun satırları sar
205
- word-break: break-word; // kelime kırılması
206
  }
207
  }
208
  }
209
- }
210
 
211
  .test-note {
212
  display: flex;
@@ -241,7 +302,7 @@ mat-dialog-content {
241
 
242
  ::ng-deep .mat-mdc-tab-body-wrapper {
243
  flex: 1;
244
- overflow-y: auto; // tab içeriği için scroll
245
  }
246
  }
247
  }
@@ -249,10 +310,10 @@ mat-dialog-content {
249
  mat-dialog-actions {
250
  padding: 16px 24px;
251
  margin: 0;
252
- border-top: 1px solid #e0e0e0; // üst border
253
- gap: 8px; // butonlar arası boşluk
254
 
255
  button {
256
- margin: 0 !important; // varsayılan margin'leri kaldır
257
  }
258
  }
 
36
  padding: 12px;
37
  background-color: #f5f5f5;
38
  resize: vertical;
39
+ min-height: 150px;
40
 
41
  &:focus {
42
  outline: none;
 
54
  margin-top: 16px;
55
 
56
  ::ng-deep .mat-expansion-panel-header {
57
+ padding: 0 16px;
58
  }
59
 
60
  .template-list {
 
171
  margin-bottom: 24px;
172
  }
173
 
174
+ .test-info {
175
+ margin: 16px 0;
176
+
177
+ mat-chip-listbox {
178
+ mat-chip-option {
179
+ margin-right: 8px;
180
+ }
181
+ }
182
+ }
183
+
184
+ button {
185
+ margin-bottom: 24px;
186
+ }
187
+
188
  .test-result {
189
  margin-top: 24px;
190
  border: 1px solid #e0e0e0;
191
  border-radius: 4px;
192
  padding: 16px;
193
  background-color: #fafafa;
194
+ max-height: 500px;
195
+ overflow-y: auto;
196
 
197
  h4 {
198
  margin-top: 0;
199
  margin-bottom: 16px;
200
  }
201
 
202
+ .result-status {
203
+ display: flex;
204
+ align-items: center;
205
+ gap: 12px;
206
+ padding: 12px;
207
+ border-radius: 4px;
208
+ margin-bottom: 16px;
209
+
210
+ &.success {
211
+ background-color: #e8f5e9;
212
+ color: #2e7d32;
213
+
214
+ mat-icon {
215
+ color: #2e7d32;
216
+ }
217
+ }
218
+
219
+ &.error {
220
+ background-color: #ffebee;
221
+ color: #c62828;
222
+
223
+ mat-icon {
224
+ color: #c62828;
225
+ }
226
+ }
227
+
228
+ .status-code,
229
+ .response-time {
230
+ margin-left: auto;
231
+ font-size: 14px;
232
+ }
233
+ }
234
+
235
+ .error-message {
236
+ display: flex;
237
+ align-items: center;
238
+ gap: 8px;
239
+ padding: 12px;
240
+ background-color: #ffebee;
241
+ color: #c62828;
242
+ border-radius: 4px;
243
+ margin-bottom: 16px;
244
+
245
+ mat-icon {
246
+ color: #c62828;
247
+ }
248
+ }
249
+
250
  .response-section {
251
  margin-top: 16px;
252
 
 
263
  overflow-x: auto;
264
  font-size: 12px;
265
  margin: 0;
266
+ white-space: pre-wrap;
267
+ word-break: break-word;
268
  }
269
  }
270
  }
 
271
 
272
  .test-note {
273
  display: flex;
 
302
 
303
  ::ng-deep .mat-mdc-tab-body-wrapper {
304
  flex: 1;
305
+ overflow-y: auto;
306
  }
307
  }
308
  }
 
310
  mat-dialog-actions {
311
  padding: 16px 24px;
312
  margin: 0;
313
+ border-top: 1px solid #e0e0e0;
314
+ gap: 8px;
315
 
316
  button {
317
+ margin: 0 !important;
318
  }
319
  }