cmc-table.css 2.09 KB
.cmc-table-page {
	background-color: #1c2c3b;
	color: #e2e8f0;
	font-family: '微软雅黑', sans-serif;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 1vw;
	box-sizing: border-box;
	background-image: #1c2c3b;
}

.cmc-table-page * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.task-section {
	background-color: #1c2c3b;
	border-radius: 0.2vw;
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.table-wrapper {
	flex: 1;
	overflow-y: auto;
	overflow-x: auto;
}

.task-table {
	width: 100%;
	border-collapse: collapse;
	background-color: #1c2c3b;
}

.task-table--fixed {
	table-layout: fixed;
}

.task-table th {
	text-align: center;
	font-size: 1vw;
	border: 0.1vw solid #00509d;
	background-color: #034c77;
	color: #fff;
	font-weight: bold;
	position: sticky;
	top: 0;
	z-index: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 2.5vw;
	line-height: 2.5vw;
}

.task-table td {
	text-align: center;
	font-size: 1vw;
	border: 0.1vw solid #004080;
	white-space: normal;
	word-wrap: break-word;
	word-break: break-all;
	height: 3.5vw;
	line-height: 1.6;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
}

.task-table tr:hover {
	background-color: rgba(0, 80, 157, 0.3);
}

.time-column {
	width: 12vw !important;
}

.multiline-content {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.4;
	max-height: 2.8em;
	word-wrap: break-word;
	word-break: break-all;
	width: 100%;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.red-text {
	color: #ff2d55 !important;
}

.green-text {
	color: #00ff9d !important;
}

.yellow-text {
	color: #ffc107 !important;
}

.table-wrapper::-webkit-scrollbar {
	width: 0.4vw;
	height: 0.4vw;
}

.table-wrapper::-webkit-scrollbar-thumb {
	background-color: #0077b6;
	border-radius: 0.2vw;
}

.table-wrapper::-webkit-scrollbar-track {
	background-color: #001e3c;
}

.el-tooltip__popper {
	max-width: 30vw;
	word-wrap: break-word;
	white-space: pre-line;
	line-height: 1.5;
	font-size: 0.9vw;
}