Welcome to mirror list, hosted at ThFree Co, Russian Federation.

single-metric-view.component.less « single-metric-view « angularjs « CoreVisualizations « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f091b530e25fdecde94411823e70439d99a7810a (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
.singleMetricView {
  margin: 5px 12px 10px;
  display: inline-block;

  &.loading {
    opacity: 0.5;
  }

  .metric-value {
    display: inline-block;
    font-size: 14px;
    line-height: 25px;
    vertical-align: top;
    margin-left: 3px;
  }

  .metric-sparkline {
    display: inline-block;
    vertical-align: top;
    img {
      width: 100px;
      height: 25px;
    }
  }

  .metricEvolution {
    font-weight: bold;
    font-size: 12px;

    > span {
      display: inline-block;

      &:not(.positive-evolution):not(.negative-evolution) {
        margin-left: 8px;
      }
    }

    .positive-evolution::before {
      content: "";
      background: url(plugins/MultiSites/images/arrow_up.png) no-repeat center center;
      display: inline-block;
      height: 7px;
      width: 12px;
    }
    .negative-evolution::before {
      content: "";
      background: url(plugins/MultiSites/images/arrow_down.png) no-repeat center center;
      display: inline-block;
      height: 7px;
      width: 12px;
    }
  }
}

[piwik-single-metric-view] {
  display: block;
}

.single-metric-view-picker {
  margin-left: 6px;
}