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

234 lines
4.5 KiB
CSS

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: 10px;
display: flex;
align-items: center;
gap: 15px;
}
.status-badge {
display: inline-block;
padding: 4px 12px;
border-radius: 12px;
font-size: 12px;
color: white;
background-color: #5FB878;
}
.contract-info {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 15px;
margin-top: 20px;
}
.info-item {
display: flex;
align-items: center;
font-size: 14px;
color: #666;
padding: 8px 0;
}
.info-label {
margin-right: 10px;
min-width: 120px;
font-weight: 500;
}
.info-value {
color: #333;
}
.download-link {
color: #1E9FFF;
text-decoration: none;
cursor: pointer;
}
.download-link:hover {
text-decoration: underline;
}
.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 60px 10px;
}
.search-bar {
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.action-link {
color: #1E9FFF;
text-decoration: none;
cursor: pointer;
margin-right: 10px;
}
.action-link:hover {
text-decoration: underline;
}
.status-active {
background-color: #5FB878;
}
.status-inactive {
background-color: #FF5722;
}
/* DataTables样式调整 */
.dataTables_wrapper {
margin-top: 20px;
}
.dataTables_length {
margin-bottom: 20px;
}
.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;
}
/* DataTables样式调整 */
/*.dataTables_wrapper .dataTables_info {
float: left;
padding-top: 8px;
font-size: 14px;
color: #666;
}*/
/*.dataTables_wrapper .dataTables_paginate {
float: right;
text-align: right;
padding-top: 8px;
}*/
/*.dataTables_wrapper .dataTables_length {
float: left;
margin-bottom: 20px;
}
.dataTables_wrapper .dataTables_filter {
display: none;
}
.dataTables_wrapper .bottom {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20px;
padding: 10px 0;
}*/
/*.dataTables_paginate .paginate_button {
display: inline-block;
padding: 6px 12px;
margin-left: 0;
line-height: 1.42857143;
color: #337ab7;
text-decoration: none;
background-color: #fff;
border: 1px solid #ddd;
margin-right: 5px;
cursor: pointer;
}
.dataTables_paginate .paginate_button:hover {
background-color: #eee;
}
.dataTables_paginate .paginate_button.current {
background-color: #337ab7;
color: white;
border-color: #337ab7;
}*/
/*.pagination-custom {
display: inline-block;
margin-left: 10px;
}
.pagination-custom input {
width: 50px;
height: 30px;
text-align: center;
border: 1px solid #ddd;
margin: 0 5px;
}
.pagination-custom .btn-confirm {
padding: 5px 10px;
background-color: #5cb85c;
color: white;
border: 1px solid #4cae4c;
cursor: pointer;
margin-left: 5px;
}*/
/*
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;
}*/