File size: 2,115 Bytes
6e7afa4
 
 
 
 
 
548c527
6e7afa4
548c527
 
6e7afa4
548c527
 
6e7afa4
548c527
 
6e7afa4
 
 
548c527
 
6e7afa4
 
 
 
548c527
 
6e7afa4
 
 
 
 
548c527
6e7afa4
 
548c527
 
 
6e7afa4
 
 
 
548c527
6e7afa4
 
86408cc
 
 
 
6e7afa4
 
86408cc
 
6e7afa4
 
 
 
 
 
548c527
6e7afa4
548c527
6e7afa4
 
 
 
 
86408cc
6e7afa4
 
86408cc
 
6e7afa4
86408cc
6e7afa4
 
86408cc
 
6e7afa4
 
 
 
 
548c527
 
 
86408cc
 
548c527
6e7afa4
 
 
 
 
 
 
 
 
 
548c527
 
 
6e7afa4
548c527
6e7afa4
 
 
548c527
6e7afa4
 
548c527
 
 
6e7afa4
 
 
 
 
548c527
6e7afa4
 
 
 
9a9a56d
548c527
6e7afa4
 
 
9a9a56d
9eba098
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
.api-edit-dialog {
  .mat-mdc-dialog-content {
    padding: 0;
    overflow: hidden;
    min-height: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
  }

  .mat-mdc-tab-group {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .mat-mdc-tab-body-wrapper {
    flex: 1;
    overflow: auto;
  }

  .tab-content {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(80vh - 200px);
  }

  .section-title {
    font-size: 16px;
    font-weight: 500;
    margin: 24px 0 16px 0;
    color: #666;

    &:first-child {
      margin-top: 0;
    }
  }

  .headers-section {
    mat-form-field {
      width: calc(50% - 8px);
      margin-right: 16px;

      &:nth-child(2n) {
        margin-right: 0;
      }
    }
  }

  .add-header-button {
    margin-top: 8px;
  }

  .auth-fields {
    .token-fields {
      margin-top: 16px;
      padding: 16px;
      background-color: #f5f5f5;
      border-radius: 4px;
    }
  }

  .test-section {
    .test-url {
      margin-bottom: 24px;
      padding: 16px;
      background-color: #f5f5f5;
      border-radius: 4px;
      font-family: monospace;
      word-break: break-all;
    }

    .test-actions {
      display: flex;
      gap: 16px;
      margin-bottom: 24px;
    }

    .test-results {
      border: 1px solid #e0e0e0;
      border-radius: 4px;
      padding: 16px;
      background-color: #fafafa;

      pre {
        margin: 0;
        white-space: pre-wrap;
        word-break: break-word;
      }

      &.success {
        border-color: #4caf50;
        background-color: #f1f8e9;
      }

      &.error {
        border-color: #f44336;
        background-color: #ffebee;
      }
    }
  }

  .retry-settings {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;

    mat-form-field {
      flex: 1;
    }
  }

  mat-dialog-actions {
    padding: 16px 24px;
    margin: 0;
    border-top: 1px solid #e0e0e0;
  }

  // Form field density
  ::ng-deep {
    .mat-mdc-form-field {
      margin-bottom: 16px;
    }

    .mat-mdc-dialog-content {
      max-height: 80vh;
    }
  }
}