hn_cloud_web/smz-web/css/work/smallSubManagement/stat/projectStatView.css

135 lines
2.5 KiB
CSS
Raw Normal View History

2025-11-27 16:55:35 +08:00
body {
background-color: #f2f2f2;
font-family: "Microsoft YaHei", Arial, sans-serif;
}
.container {
padding: 20px;
width: 99%;
margin: 0 auto;
}
.project-header {
background: white;
padding: 20px;
border-radius: 6px;
margin-bottom: 20px;
box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
.project-title {
font-size: 24px;
font-weight: bold;
color: #333;
margin-bottom: 20px;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 15px;
margin-bottom: 15px;
}
.stat-item {
display: flex;
align-items: center;
font-size: 14px;
color: #666;
}
.stat-label {
margin-right: 10px;
min-width: 80px;
}
.stat-value {
color: #333;
font-weight: 500;
}
.section {
background: white;
border-radius: 6px;
margin-bottom: 20px;
box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
.section-header {
padding: 15px 5px;
border-bottom: 1px solid #e6e6e6;
position: relative;
margin-left: 10px;
}
.section-header::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 20px;
background: #1E9FFF;
}
.section-title {
font-size: 16px;
font-weight: bold;
color: #333;
margin-left: 15px;
}
.section-content {
padding: 10px 10px 20px 10px;
}
.search-bar {
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.status-badge {
display: inline-block;
padding: 2px 8px;
border-radius: 12px;
font-size: 12px;
color: white;
}
.status-active {
background-color: #5FB878;
}
.status-inactive {
background-color: #FF5722;
}
.action-link {
color: #1E9FFF;
text-decoration: none;
cursor: pointer;
margin-right: 10px;
}
.action-link:hover {
text-decoration: underline;
}
/* DataTables样式调整 */
.dataTables_wrapper {
margin-top: 20px;
}
.dataTables_length {
margin-bottom: 0px;
}
.dataTables_filter {
margin-bottom: 20px;
}
.dataTables_info {
padding-top: 8px;
}
.dataTables_paginate {
padding-top: 8px;
}
table.dataTable {
border-collapse: collapse;
width: 100% !important;
}
table.dataTable thead th {
background-color: #f8f8f8;
font-weight: 600;
border-bottom: 1px solid #ddd;
padding: 12px 8px;
}
table.dataTable tbody td {
padding: 10px 8px;
border-bottom: 1px solid #eee;
}
table.dataTable tbody tr:hover {
background-color: #f5f5f5;
}