c77fb700创建于 2025年1月16日历史提交
/*表格样式*/
table {
	background: #ccc;
	border-collapse: collapse;
	/*border-collapse:collapse合并内外边距(去除表格单元格默认的2个像素内外边距*/
}

thead {
	height: 30px;
	width: calc(100% - 5px) !important;
}

tbody > tr,
thead {
	display: table;
	width: 100%;
	table-layout: fixed;
}
tbody {
	display: block;
	overflow: auto;
}
tbody > tr > td {
	width: 120px;
	word-break: break-all;
}

tbody::-webkit-scrollbar {
	width: 5px;
}
tbody::-webkit-scrollbar-track {
	background-color: #f1f1f1;
	opacity: 0.2;
}
tbody::-webkit-scrollbar-thumb {
	background-color: #cccccc;
	border-radius: 5px;
}
tbody::-webkit-scrollbar-thumb:hover {
	background-color: #555;
}

th,
td {
	height: 25px;
	line-height: 25px;
	text-align: center;
	border: 1px solid #ccc;
}

th {
	background: #e5e5e5;
	font-weight: bold;
	min-width: 120px;
}

tr {
	background: #ffffff;
}

tr:hover {
	background: #f5f7fa;
}

td a {
	color: #06f;
	text-decoration: none;
}

td a:hover {
	color: #06f;
	text-decoration: underline;
}