summaryrefslogtreecommitdiffstats
path: root/public/css/icinga/health.less
blob: 50cc11addf62d083df764a51af1215638b08aaab (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
// Style

.app-health {
  header {
    color: @text-color-light;

    span {
      color: @text-color;
    }
  }

  span {
    &.state-ok {
      background-color: @color-ok;
    }

    &.state-warning {
      background-color: @color-warning;
    }

    &.state-critical {
      background-color: @color-critical;
    }

    &.state-unknown {
      background-color: @color-unknown;
    }
  }

  a {
    font-weight: bold;
  }

  tbody tr, tr.active {
    border: none;
  }

  tr:not(:last-child) td {
    border: 0 solid;
    border-color: @gray-light;
    border-bottom-width: 1px;
  }

  section {
    color: @text-color-light;
    font-family: @font-family-fixed;
  }
}

// Layout

.app-health {
  th {
    width: 2.5em;
    padding: .5em 1em 0 .5em;
    vertical-align: top;
  }

  td {
    padding: .5em 0;
  }

  section {
    margin-top: .25em;
    height: 3em;
    overflow: hidden;
    word-break: break-word;
  }
}