wenruifan's picture
Deploy MuSProt React and FastAPI application
3993320
Raw
History Blame Contribute Delete
2.75 kB
.data-table-container {
background: white;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
display: flex;
flex-direction: column;
}
.table-header {
padding: 15px 20px;
border-bottom: 2px solid #e0e0e0;
display: flex;
justify-content: space-between;
align-items: center;
}
.table-header h3 {
margin: 0;
}
.table-stats {
display: flex;
gap: 10px;
align-items: center;
color: #666;
font-size: 0.9rem;
}
.separator {
color: #ccc;
}
.table-wrapper {
flex: 1;
overflow: auto;
}
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
}
.data-table thead {
position: sticky;
top: 0;
background: #f5f5f5;
z-index: 10;
}
.data-table th {
padding: 12px 15px;
text-align: left;
font-weight: 600;
color: #555;
border-bottom: 2px solid #e0e0e0;
cursor: pointer;
user-select: none;
white-space: nowrap;
}
.data-table th:hover {
background: #e8e8e8;
}
.data-table td {
padding: 10px 15px;
border-bottom: 1px solid #f0f0f0;
}
.data-table tbody tr:hover {
background: #fafafa;
}
.chain-id {
font-weight: 600;
color: #2196f3;
}
.asym-id {
color: #666;
font-size: 0.85rem;
}
.numeric {
text-align: right;
font-family: 'Courier New', monospace;
}
.cluster {
font-size: 0.85rem;
color: #666;
text-transform: capitalize;
}
.pagination {
padding: 15px 20px;
border-top: 1px solid #e0e0e0;
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
}
.pagination button {
padding: 8px 16px;
background: #2196f3;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 0.9rem;
transition: background 0.3s;
}
.pagination button:hover:not(:disabled) {
background: #1976d2;
}
.pagination button:disabled {
background: #ccc;
cursor: not-allowed;
}
.page-info {
color: #666;
font-size: 0.9rem;
}
.table-loading,
.table-empty {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: #888;
font-size: 1.1rem;
background: white;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.table-empty {
color: #999;
}
.table-hint {
font-size: 0.8em;
font-weight: normal;
color: #888;
}
.placeholder {
color: #999;
font-style: italic;
}
.experimental-method {
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.delta-cell {
font-family: 'Courier New', monospace;
text-align: right;
}
.delta-pos {
color: #d32f2f;
}
.delta-neg {
color: #2e7d32;
}