summaryrefslogtreecommitdiffstats
path: root/public/css/widget/object-statistics.less
blob: 5a9c97ab208cf1178b665307f6516cc60174ff19 (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
ul.object-statistics {
  // Reset defaults
  list-style-type: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;

  > li:not(:last-child) {
    margin-right: 1em;
  }
}

.object-statistics-graph .donut-graph {
  height: 2em;
  width:  2em;
  vertical-align: middle;
}

.object-statistics-total a {
  display: inline-block;
  line-height: 1;
  position: relative;

  &:hover:before {
    .rounded-corners();
    background-color: @gray-lighter;
    content: "";
    display: block;
    z-index: 1;

    position: absolute;
    bottom: -.4em;
    left: -.4em;
    top: -.4em;
    right: -.4em;
  }

  .vertical-key-value {
    position: relative;
    z-index: 2;
  }
}