summaryrefslogtreecommitdiffstats
path: root/doc/91-Custom-Styling.md
blob: f9bb494ef2a77f43fee2372e1a5dfc257ed470eb (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
Custom Styling
==============

With a custom theme you can change style and colors of the Top Level View.

Here are a few examples.

## Blinking unhandled

So that unhandled problems are more visible.

```less
.container.icinga-module.module-toplevelview {
  .tlv-status-tile.unhandled {
    animation: blinker 1.5s linear infinite;
  }
}

@keyframes blinker {
  50% {
    opacity: 0.2;
  }
}
```

## Dark fullscreen

When you open the TLV in fullscreen mode, background will be dark.

```less
.fullscreen-layout {
  .container.icinga-module.module-toplevelview {
    color: #eee;
    a:visited {
      color: inherit;
    }
    background: #333;

    .controls {
      background: inherit;

      .active {
        color: #333;
      }
    }
  }
}
```