summaryrefslogtreecommitdiffstats
path: root/public/css/widget/performance-data-table.less
blob: 26c18c8320a8c8bea26131307e2557ae2e86ec4c (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
/* Icinga DB Web | (c) 2021 Icinga GmbH | GPLv2 */

.performance-data-table {
  width: 100%;
  overflow-x: auto;
  display: block;

  tr:not(:last-child) {
    border-bottom: 1px solid @gray-lighter;
  }

  td {
    text-align: right;
    .text-ellipsis();
  }

  th {
    font-size: .857em;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  thead {
    border-bottom: 1px solid @gray-light;
  }

  th:first-child,
  td:first-child {
    padding-left: 0;
  }

  .title {
    text-align: left;
    width: 100%;
  }

  td.title {
    font-weight: bold;
  }

  .sparkline-col {
    min-width: 1.75em;
    width: 1.75em;
    padding: 2/12em 0;
    .invalid-perfdata {
      font-size: 1.25em;
      vertical-align: text-bottom;
      color: @color-warning;
    }
  }

  .inline-pie > svg {
    vertical-align: middle;
  }

  .no-value {
    color: @gray-semilight;
    text-align: center;
    display: block;
  }
}