578 lines
9.0 KiB
CSS
578 lines
9.0 KiB
CSS
/* Main container */
|
|
.container {
|
|
padding: 20px;
|
|
font-family: system-ui, sans-serif;
|
|
}
|
|
|
|
/* Error states */
|
|
.errorContainer {
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.errorMessage {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|
|
.errorMessage h3 {
|
|
margin: 0 0 10px 0;
|
|
}
|
|
|
|
.errorMessage p {
|
|
margin: 0;
|
|
}
|
|
|
|
/* Pagination controls */
|
|
.paginationControls {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.paginationButton {
|
|
padding: 8px 16px;
|
|
border: 1px solid #ced4da;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.paginationButton:disabled {
|
|
background: #e9ecef;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.paginationInfo {
|
|
margin: 0 15px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Modal overlay */
|
|
.modalOverlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* Modal container */
|
|
.modalContainer {
|
|
width: 90vw;
|
|
height: 90vh;
|
|
background: white;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Modal header */
|
|
.modalHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 15px 20px;
|
|
border-bottom: 1px solid #dee2e6;
|
|
border-radius: 12px 12px 0 0;
|
|
}
|
|
|
|
.modalTitle {
|
|
margin: 0;
|
|
color: #495057;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.modalCloseButton {
|
|
background: transparent;
|
|
border: 1px solid #6c757d;
|
|
color: #6c757d;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.modalCloseButton:hover {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
/* Modal content */
|
|
.modalContent {
|
|
flex: 1;
|
|
padding: 10px;
|
|
}
|
|
|
|
/* Modal legend */
|
|
.modalLegend {
|
|
padding: 15px 20px;
|
|
font-size: 12px;
|
|
color: #6c757d;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 10px;
|
|
border-top: 1px solid #dee2e6;
|
|
border-radius: 0 0 12px 12px;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.modalLegend div {
|
|
margin: 2px 0;
|
|
}
|
|
|
|
.modalLegend strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Table container */
|
|
.tableContainer {
|
|
background: white;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Table */
|
|
.table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
/* Table header */
|
|
.tableHeader {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.tableHeaderCell {
|
|
padding: 8px;
|
|
border-bottom: 1px solid #dee2e6;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tableHeaderCell.center {
|
|
text-align: center;
|
|
}
|
|
|
|
.tableHeaderCell.left {
|
|
text-align: left;
|
|
}
|
|
|
|
.tableHeaderCell.right {
|
|
text-align: right;
|
|
}
|
|
|
|
.tableHeaderCell.expandColumn {
|
|
width: 30px;
|
|
}
|
|
|
|
/* Table body */
|
|
.tableRow {
|
|
border-bottom: 1px solid #f1f3f4;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tableRow:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
/* Screenshot row */
|
|
.screenshotRow {
|
|
background-color: #f0f8ff;
|
|
border-bottom: 2px solid #007bff;
|
|
}
|
|
|
|
.screenshotRow:hover {
|
|
background-color: #e3f2fd;
|
|
}
|
|
|
|
.screenshotContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.screenshotLabel {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
color: #007bff;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.screenshotTime {
|
|
font-size: 12px;
|
|
color: #495057;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.screenshotImage {
|
|
max-width: 200px;
|
|
max-height: 150px;
|
|
border: 2px solid #007bff;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.screenshotImage:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.screenshotHint {
|
|
font-size: 11px;
|
|
color: #6c757d;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Table cells */
|
|
.tableCell {
|
|
padding: 8px;
|
|
font-size: 12px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.tableCell.center {
|
|
text-align: center;
|
|
}
|
|
|
|
.tableCell.right {
|
|
text-align: right;
|
|
}
|
|
|
|
.tableCell.monospace {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.tableCell.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tableCell.expandCell {
|
|
color: #007bff;
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
user-select: none;
|
|
}
|
|
|
|
/* Method cell */
|
|
.methodGet {
|
|
color: #28a745;
|
|
}
|
|
|
|
.methodOther {
|
|
color: #007bff;
|
|
}
|
|
|
|
/* URL cell */
|
|
.urlCell {
|
|
font-size: 11px;
|
|
max-width: 400px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.urlLink {
|
|
color: #007bff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.urlLink:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Queue time cell */
|
|
.queueTimeContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 4px;
|
|
}
|
|
|
|
.queueAnalysisIcon {
|
|
cursor: help;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Connection status indicators */
|
|
.connectionCached {
|
|
color: #666;
|
|
font-style: italic;
|
|
}
|
|
|
|
.connectionReused {
|
|
color: #666;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Cache indicators */
|
|
.cacheFromCache::before {
|
|
content: '💾';
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.cacheConnectionReused::before {
|
|
content: '🔄';
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.cacheNetwork::before {
|
|
content: '🌐';
|
|
margin-right: 4px;
|
|
}
|
|
|
|
/* Expanded row details */
|
|
.expandedRow {
|
|
background: #f8f9fa;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
.expandedContent {
|
|
padding: 15px;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 15px;
|
|
}
|
|
|
|
.detailCard {
|
|
background: white;
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
.detailCard.fullWidth {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.detailCardTitle {
|
|
margin: 0 0 8px 0;
|
|
color: #495057;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.detailList {
|
|
font-size: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.detailListItem {
|
|
margin: 0;
|
|
}
|
|
|
|
.detailListItem strong {
|
|
font-weight: bold;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
/* Network timing details */
|
|
.timingHighlighted {
|
|
font-weight: bold;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
/* Queue analysis section */
|
|
.queueAnalysisCard .detailCardTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.relatedRequestIds {
|
|
font-family: monospace;
|
|
font-size: 11px;
|
|
color: #495057;
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* CDN analysis section */
|
|
.cdnAnalysisCard .detailCardTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.debugSection {
|
|
margin-top: 8px;
|
|
padding: 8px;
|
|
background: #fff3cd;
|
|
border: 1px solid #ffeaa7;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.debugTitle {
|
|
font-weight: bold;
|
|
margin-bottom: 4px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.debugInfo {
|
|
margin-bottom: 6px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.debugHeaders {
|
|
font-weight: bold;
|
|
font-size: 10px;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.headerLine {
|
|
font-size: 9px;
|
|
font-family: monospace;
|
|
margin-bottom: 1px;
|
|
padding: 1px 3px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.headerLine.akamaiIndicator {
|
|
background-color: #d1ecf1;
|
|
color: #0c5460;
|
|
}
|
|
|
|
.headerName {
|
|
font-weight: bold;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.headerName.akamaiIndicator {
|
|
color: #0c5460;
|
|
}
|
|
|
|
.akamaiLabel {
|
|
color: #0c5460;
|
|
font-weight: bold;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
/* Response headers section */
|
|
.headersContainer {
|
|
max-height: 150px;
|
|
overflow-y: auto;
|
|
font-size: 11px;
|
|
font-family: monospace;
|
|
background: #f8f9fa;
|
|
padding: 8px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.headerItem {
|
|
margin-bottom: 2px;
|
|
display: grid;
|
|
grid-template-columns: 150px 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.headerItemName {
|
|
color: #007bff;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.headerItemValue {
|
|
color: #495057;
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* No results message */
|
|
.noResults {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #6c757d;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Utility classes for dynamic styling */
|
|
.coloredBackground {
|
|
border-radius: 4px;
|
|
padding: 4px 6px;
|
|
}
|
|
|
|
.highlighted {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Screenshot row hover */
|
|
.screenshotRow:hover {
|
|
background-color: #e3f2fd;
|
|
}
|
|
|
|
/* Table cell variants */
|
|
.tableCell.statusCell {
|
|
text-align: center;
|
|
font-family: monospace;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tableCell.methodCell {
|
|
font-family: monospace;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tableCell.priorityCell {
|
|
text-align: center;
|
|
font-family: monospace;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tableCell.timeCell {
|
|
text-align: right;
|
|
font-family: monospace;
|
|
color: #495057;
|
|
}
|
|
|
|
.tableCell.gray {
|
|
color: #6c757d;
|
|
}
|
|
|
|
/* Total response time cell with background coloring */
|
|
.totalResponseTimeCell, .durationCell, .sizeCell, .serverLatencyCell {
|
|
padding: 8px;
|
|
text-align: right;
|
|
font-size: 12px;
|
|
font-family: monospace;
|
|
border-radius: 4px;
|
|
font-weight: bold;
|
|
}
|
|
.totalResponseTimeCell {
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
|
|
/* Protocol cell */
|
|
.protocolCell {
|
|
padding: 8px;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
font-family: monospace;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* CDN cell */
|
|
.cdnCell, .cacheCell {
|
|
padding: 8px;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
.cdnCell {
|
|
cursor: help;
|
|
}
|
|
.cdnCell.default {
|
|
cursor: default;
|
|
} |