blob: 583705f4add76759da44170c9cc3dbe5773eac01 [file] [log] [blame]
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +03001.container {
2 display: flex;
3 flex-direction: column;
4 height: 100%;
5 padding: 0.5em;
6 margin-left: 15px;
7 margin-right: 15px;
8 .wrapper-btn-add-mc {
9 margin-top: 3em;
10 display: flex;
11 flex-direction: column;
12 align-items: center;
13 }
14}
15
16.table-Monitoring-Component {
17 &:hover {
18 color: #009fdb;
19 text-decoration: underline;
20 cursor: pointer;
21 }
22}
23
24.table-wrapper {
25 display: flex;
26 justify-content: center;
27 flex: 1;
28 margin-bottom: 2em;
29 flex-direction: column;
30 display: block;
31}
32
33table.mcTable {
34 display: flex;
35 flex-flow: column;
36 height: calc(100vh - 150px);
37 width: 100%;
38 background-color: #ffffff;
39 color: #5a5a5a;
40}
41table.mcTable thead {
42 /* head takes the height it requires,
43 and it's not scaled when table.mcTable is resized */
44 flex: 0 0 auto;
45 // width: calc(100% - 17px);
46 width: 100%;
47}
48table.mcTable tbody {
49 /* body takes all the remaining available space */
50 flex: 1 1 auto;
51 display: block;
52 overflow-y: scroll;
53}
54table.mcTable tbody tr {
55 width: 100%;
56}
57
58table.mcTable thead,
59table.mcTable tbody tr {
60 display: table;
61 table-layout: fixed;
62}
63
64table.mcTable {
65 border-collapse: collapse;
66 border-spacing: 0px;
67}
68
69table.mcTable tr.active td {
70 background-color: #e6f6fb !important;
71 color: #5a5a5a;
72}
73
74table.mcTable th {
75 background: #f4f4f4;
76 color: #191919;
77 text-align: left;
78}
79
80table.mcTable tr {
81 &:hover {
82 background-color: #f8f8f8;
83 color: #5a5a5a;
84 }
85}
86
87table.mcTable table,
88table.mcTable th,
89table.mcTable td {
90 padding: 5px 10px;
91 border: 0.5px solid #d2d2d2;
92 border-bottom: none;
93 height: 40px;
94 text-overflow: ellipsis;
95 overflow: hidden;
96 white-space: nowrap;
97}
98
99table.mcTable tr:last-child {
100 border-bottom: 0.5px solid #d2d2d2;
101}
102
103/deep/ .ui-tooltip .ui-tooltip-text {
104 font-size: 0.8em;
105 padding: 0.7em;
106}
107
108/deep/ .ui-tooltip {
109 max-width: 400px;
110}