summaryrefslogtreecommitdiff
path: root/searx/static/themes/__common__/less/stats.less
blob: 6c2117b396e812d0ffb3891b642a78b607d1ecd3 (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
.bar-chart-value {
    width: 3em;
}

.bar-chart-graph {
    width: 300px;
}

.bar-chart-bar {
    border: 3px solid #5bc0de;
    margin: 1px 0;
}

.bar-chart-serie1 {
    border: 3px solid #5bc0de;
    margin: 1px 0;
    float: left;
}

.bar-chart-serie2 {
    border: 3px solid #deb15b;
    margin: 1px 0;
    float: left;
}

.bar0{
    width: 0;
    border: 0;
}

.generate-bar(100);

.generate-bar(@n, @i: 1) when (@i =< @n) {
  .bar@{i} {
    width: (@i * 100% / @n);
  }
  .generate-bar(@n, (@i + 1));
}