blob: 583705f4add76759da44170c9cc3dbe5773eac01 (
plain)
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
|
.container {
display: flex;
flex-direction: column;
height: 100%;
padding: 0.5em;
margin-left: 15px;
margin-right: 15px;
.wrapper-btn-add-mc {
margin-top: 3em;
display: flex;
flex-direction: column;
align-items: center;
}
}
.table-Monitoring-Component {
&:hover {
color: #009fdb;
text-decoration: underline;
cursor: pointer;
}
}
.table-wrapper {
display: flex;
justify-content: center;
flex: 1;
margin-bottom: 2em;
flex-direction: column;
display: block;
}
table.mcTable {
display: flex;
flex-flow: column;
height: calc(100vh - 150px);
width: 100%;
background-color: #ffffff;
color: #5a5a5a;
}
table.mcTable thead {
/* head takes the height it requires,
and it's not scaled when table.mcTable is resized */
flex: 0 0 auto;
// width: calc(100% - 17px);
width: 100%;
}
table.mcTable tbody {
/* body takes all the remaining available space */
flex: 1 1 auto;
display: block;
overflow-y: scroll;
}
table.mcTable tbody tr {
width: 100%;
}
table.mcTable thead,
table.mcTable tbody tr {
display: table;
table-layout: fixed;
}
table.mcTable {
border-collapse: collapse;
border-spacing: 0px;
}
table.mcTable tr.active td {
background-color: #e6f6fb !important;
color: #5a5a5a;
}
table.mcTable th {
background: #f4f4f4;
color: #191919;
text-align: left;
}
table.mcTable tr {
&:hover {
background-color: #f8f8f8;
color: #5a5a5a;
}
}
table.mcTable table,
table.mcTable th,
table.mcTable td {
padding: 5px 10px;
border: 0.5px solid #d2d2d2;
border-bottom: none;
height: 40px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
table.mcTable tr:last-child {
border-bottom: 0.5px solid #d2d2d2;
}
/deep/ .ui-tooltip .ui-tooltip-text {
font-size: 0.8em;
padding: 0.7em;
}
/deep/ .ui-tooltip {
max-width: 400px;
}
|