Spaces:
Building
Building
.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 ; | |
margin: 0 ; | |
} | |
// 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; | |
} | |
} | |
} | |
} |