cmc-table.css
2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
.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;
}