summaryrefslogtreecommitdiffstats
path: root/public/css/widget/check-statistics.less
blob: e2b5ac028f4ea32d8dd9ff43024121101bbd46e3 (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
.check-statistics {
  .card();
  .progress-bar();
  .card-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid @gray-light;

    .key {
      width: auto;
      margin-right: .28125em; //calculated   width
      font-size: .83333333em;
    }
  }

  .check-attempt {
    display: inline-flex;
  }

  &.progress-bar .below {
    padding: 0;
    margin-left: 10%;
    margin-right: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    &:before {
      background-color: @gray;
      content: "";
      display: block;
      height: .25em;
      width: 100%;

      position: absolute;
      top: ~"calc(50% - .125em)";
    }
  }

  .interval {
    background-color: @body-bg-color;
    position: relative;
  }

  .check-overdue {
    background-color: @color-down;
    opacity: 1;

    &:before,
    &:after {
      background-color: @color-down;
    }
  }
}