Spaces:
Running
Running
.apis-container { | |
height: 100%; | |
display: flex; | |
flex-direction: column; | |
.toolbar { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
margin-bottom: 20px; | |
flex-wrap: wrap; | |
gap: 16px; | |
.toolbar-left { | |
display: flex; | |
gap: 8px; | |
align-items: center; | |
} | |
.toolbar-right { | |
display: flex; | |
gap: 16px; | |
align-items: center; | |
.search-field { | |
width: 300px; | |
} | |
} | |
} | |
.table-container { | |
flex: 1; | |
overflow: auto; | |
background: white; | |
border-radius: 8px; | |
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
.apis-table { | |
width: 100%; | |
.url-cell { | |
.url-text { | |
max-width: 300px; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
display: inline-block; | |
vertical-align: middle; | |
} | |
} | |
.method-badge { | |
padding: 4px 12px; | |
border-radius: 12px; | |
font-size: 12px; | |
font-weight: 500; | |
text-transform: uppercase; | |
&.method-get { | |
background-color: #e3f2fd; | |
color: #1976d2; | |
} | |
&.method-post { | |
background-color: #e8f5e9; | |
color: #388e3c; | |
} | |
&.method-put { | |
background-color: #fff3e0; | |
color: #f57c00; | |
} | |
&.method-patch { | |
background-color: #fce4ec; | |
color: #c2185b; | |
} | |
&.method-delete { | |
background-color: #ffebee; | |
color: #d32f2f; | |
} | |
} | |
.auth-icon { | |
font-size: 18px; | |
height: 18px; | |
width: 18px; | |
} | |
.deleted-icon { | |
color: #f44336; | |
font-size: 16px; | |
vertical-align: middle; | |
margin-left: 8px; | |
} | |
.deleted-row { | |
opacity: 0.5; | |
background-color: #fafafa; | |
} | |
} | |
.no-data { | |
text-align: center; | |
padding: 60px 20px; | |
color: #999; | |
mat-icon { | |
font-size: 64px; | |
height: 64px; | |
width: 64px; | |
margin-bottom: 16px; | |
} | |
p { | |
font-size: 16px; | |
margin: 0; | |
} | |
} | |
} | |
mat-progress-bar { | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 0; | |
} | |
} | |
@media (max-width: 768px) { | |
.apis-container { | |
.toolbar { | |
.toolbar-left, | |
.toolbar-right { | |
width: 100%; | |
justify-content: center; | |
} | |
.search-field { | |
width: 100%; | |
} | |
} | |
} | |
} |