Spaces:
Building
Building
File size: 3,385 Bytes
9f79da5 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 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
.tab-content {
padding: 24px 0;
mat-form-field {
display: block;
margin-bottom: 16px;
}
h3 {
margin-top: 10px;
margin-bottom: 10px;
}
}
.full-width {
width: 100%;
}
// Row layout
.row {
display: flex;
gap: 12px;
align-items: flex-start;
mat-form-field {
flex: 1;
}
.method-field {
flex: 0 0 150px;
}
.timeout-field {
flex: 1;
}
.type-field {
flex: 0 0 150px;
}
.path-field {
flex: 1;
}
}
// Headers array section
.array-section {
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
h3 {
margin: 0;
font-size: 16px;
}
}
.array-item {
display: flex;
gap: 12px;
align-items: flex-start;
margin-bottom: 16px;
.key-field {
flex: 1;
min-width: 150px;
}
.value-field {
flex: 2;
min-width: 200px;
}
> button[mat-icon-button] {
margin-top: 8px;
}
}
.empty-message {
text-align: center;
color: #666;
padding: 20px;
background-color: #f5f5f5;
border-radius: 4px;
margin: 16px 0;
}
}
// Response mappings
.mapping-content {
padding: 16px 0;
mat-form-field {
display: block;
width: 100%;
margin-bottom: 16px;
}
}
// Retry section
.retry-section {
margin-top: 24px;
h3 {
margin-bottom: 16px;
font-size: 16px;
}
}
.test-section {
h3 {
margin-bottom: 16px;
}
.test-controls {
display: flex;
gap: 12px;
margin-bottom: 16px;
}
.test-result {
margin-top: 24px;
padding: 16px;
border-radius: 4px;
&.success {
background-color: #e8f5e9;
border: 1px solid #4caf50;
}
&.error {
background-color: #ffebee;
border: 1px solid #f44336;
}
h4 {
margin-top: 0;
}
.result-status {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
mat-icon {
&.mat-icon {
color: inherit;
}
}
}
mat-expansion-panel {
margin-top: 16px;
&:first-of-type {
margin-top: 24px;
}
}
table {
margin-top: 8px;
}
}
}
// Auth section
.auth-section {
margin-top: 16px;
h3 {
margin: 24px 0 16px;
font-size: 16px;
}
}
// Info text
.info-text {
color: #666;
font-size: 14px;
margin-bottom: 16px;
}
// Spinning icon animation
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.spin {
animation: spin 1s linear infinite;
}
// Dialog actions
mat-dialog-actions {
padding: 16px 24px !important;
margin: 0 !important;
}
// Responsive
@media (max-width: 768px) {
.row {
flex-wrap: wrap;
mat-form-field {
flex: 1 1 100%;
}
.method-field,
.type-field {
flex: 1 1 100%;
}
}
.array-section {
.array-item {
flex-wrap: wrap;
.key-field,
.value-field {
flex: 1 1 100%;
min-width: unset;
}
}
}
} |