增加威胁域名审计
This commit is contained in:
+283
-1
@@ -1619,7 +1619,289 @@ tr:hover {
|
||||
--chart-legend-color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
/* 为Chart.js图例添加特定样式 */
|
||||
/* 为 Chart.js 图例添加特定样式 */
|
||||
.dark .chart-card {
|
||||
--chart-legend-color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
域名信息查询页面 - 紧凑布局优化
|
||||
======================================== */
|
||||
|
||||
/* 域名信息页面容器背景色 */
|
||||
#whois-content {
|
||||
padding: 0.5rem !important;
|
||||
max-height: calc(100vh - 80px);
|
||||
overflow-y: auto;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* 确保内容区域没有额外的背景色 */
|
||||
#whois-content > div {
|
||||
background-clip: padding-box !important;
|
||||
}
|
||||
|
||||
/* 减少搜索区域内边距 */
|
||||
#whois-content .bg-white.dark\:bg-gray-800.rounded-lg {
|
||||
padding: 0.5rem !important;
|
||||
margin-bottom: 0.25rem !important;
|
||||
}
|
||||
|
||||
/* 减少标题和内容的间距 */
|
||||
#whois-content h3 {
|
||||
margin-bottom: 0.25rem !important;
|
||||
font-size: 0.9rem !important;
|
||||
}
|
||||
|
||||
/* 减少卡片内边距 */
|
||||
#whois-info-section,
|
||||
#icp-info-section,
|
||||
#dns-results-section,
|
||||
#trend-section {
|
||||
padding: 0.5rem !important;
|
||||
margin-bottom: 0.25rem !important;
|
||||
}
|
||||
|
||||
/* 减少网格间距 */
|
||||
#whois-info-section .grid,
|
||||
#icp-info-section .grid {
|
||||
gap: 0.375rem !important;
|
||||
}
|
||||
|
||||
/* 减少文字大小和间距 */
|
||||
#whois-info-section .text-sm,
|
||||
#icp-info-section .text-sm {
|
||||
font-size: 0.75rem !important;
|
||||
}
|
||||
|
||||
#whois-info-section .text-base,
|
||||
#icp-info-section .text-base {
|
||||
font-size: 0.85rem !important;
|
||||
}
|
||||
|
||||
#whois-info-section .space-y-1 > *,
|
||||
#icp-info-section .space-y-1 > * {
|
||||
margin-bottom: 0.125rem !important;
|
||||
}
|
||||
|
||||
/* 减少表格内边距和字体大小 */
|
||||
#dns-results-table th,
|
||||
#dns-results-table td {
|
||||
padding: 0.25rem 0.375rem !important;
|
||||
font-size: 0.7rem !important;
|
||||
line-height: 1.2 !important;
|
||||
}
|
||||
|
||||
/* 减少表格行高 */
|
||||
#dns-results-table tr {
|
||||
height: auto !important;
|
||||
min-height: 1.5rem !important;
|
||||
}
|
||||
|
||||
/* 减少分页区域间距 */
|
||||
#dns-results-section .flex.items-center {
|
||||
gap: 0.25rem !important;
|
||||
margin-top: 0.25rem !important;
|
||||
}
|
||||
|
||||
#dns-results-pagination {
|
||||
gap: 0.25rem !important;
|
||||
}
|
||||
|
||||
#dns-results-pagination button,
|
||||
#dns-results-pagination select,
|
||||
#dns-results-pagination input {
|
||||
padding: 0.125rem 0.375rem !important;
|
||||
font-size: 0.75rem !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
/* 减少图表容器高度 */
|
||||
#whois-trend-chart-container {
|
||||
height: 200px !important;
|
||||
min-height: 200px !important;
|
||||
margin-top: 0.5rem !important;
|
||||
}
|
||||
|
||||
/* 减少标题图标间距 */
|
||||
#whois-content h3 i {
|
||||
margin-right: 0.375rem !important;
|
||||
font-size: 0.875rem !important;
|
||||
}
|
||||
|
||||
/* 减少统计文字大小 */
|
||||
#dns-results-total {
|
||||
font-size: 0.75rem !important;
|
||||
}
|
||||
|
||||
/* 紧凑布局:减少所有 section 的 margin */
|
||||
#whois-content > div {
|
||||
margin-bottom: 0.25rem !important;
|
||||
}
|
||||
|
||||
/* 最后一个元素减少底部 margin */
|
||||
#whois-content > div:last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
域名信息查询页面响应式优化
|
||||
======================================== */
|
||||
|
||||
/* 域名信息页面容器 */
|
||||
#whois-content {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* 搜索框容器响应式 */
|
||||
.whois-search-container {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* 信息卡片响应式 */
|
||||
#whois-info-section,
|
||||
#icp-info-section,
|
||||
#dns-results-section,
|
||||
#trend-section {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
/* DNS 解析结果表格响应式 */
|
||||
#dns-results-table {
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
#dns-results-table th,
|
||||
#dns-results-table td {
|
||||
word-break: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
/* 第一列(IP 地址)固定宽度 */
|
||||
#dns-results-table th:first-child,
|
||||
#dns-results-table td:first-child {
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
/* 图表容器响应式 */
|
||||
#whois-trend-chart-container {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
min-height: 300px;
|
||||
}
|
||||
|
||||
#whois-trend-chart {
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
/* 平板设备(768px-1024px) */
|
||||
@media (max-width: 1024px) {
|
||||
#whois-content {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#whois-trend-chart-container {
|
||||
min-height: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 移动设备(<= 768px) */
|
||||
@media (max-width: 768px) {
|
||||
#whois-content {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
/* 搜索框调整 */
|
||||
#whois-domain-input {
|
||||
width: 100%;
|
||||
font-size: 16px; /* 防止 iOS 缩放 */
|
||||
}
|
||||
|
||||
#whois-search-btn {
|
||||
width: 100%;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
/* 信息网格调整 */
|
||||
.grid.grid-cols-2 {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
/* DNS 表格调整 */
|
||||
#dns-results-table {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
#dns-results-table th,
|
||||
#dns-results-table td {
|
||||
padding: 0.5rem 0.25rem;
|
||||
}
|
||||
|
||||
/* 图表调整 */
|
||||
#whois-trend-chart-container {
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
/* 分页按钮调整 */
|
||||
#dns-results-pagination {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#dns-results-pagination button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: 0.85rem;
|
||||
margin: 0.125rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* 小屏幕移动设备(<= 480px) */
|
||||
@media (max-width: 480px) {
|
||||
#whois-content {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
/* 标题文字调整 */
|
||||
.text-xl {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
/* DNS 表格进一步调整 */
|
||||
#dns-results-table {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
#dns-results-table th,
|
||||
#dns-results-table td {
|
||||
padding: 0.375rem 0.125rem;
|
||||
}
|
||||
|
||||
/* 图表进一步调整 */
|
||||
#whois-trend-chart-container {
|
||||
min-height: 180px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 深色模式下的特殊处理 */
|
||||
.dark #whois-content {
|
||||
background-color: var(--bg-secondary);
|
||||
}
|
||||
|
||||
.dark #whois-domain-input {
|
||||
background-color: var(--bg-tertiary);
|
||||
border-color: var(--border-color);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.dark #whois-domain-input::placeholder {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
Reference in New Issue
Block a user