summaryrefslogtreecommitdiffstats
path: root/public/css/module.less
blob: adad5892ceb8e900729cf8891ece31493ab32957 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Icinga Web 2 X.509 Module | (c) 2018 Icinga GmbH | GPLv2

.cert-details {
  .x509-icon-cert {
    font-size: 5em;
  }

  h3 {
    text-align: right;
    //text-decoration: underline;
    width: 10.25em;
    border-bottom: 1px solid @gray-lighter;
  }

  dl {
    > dd {
      // Reset default margin
      margin: 0;
    }

    > dt {
      margin-right: 1em;
      text-align: right;
      width: 12em;

      float: left;
      clear: left;
    }
  }
}

.progress-bar {
  background-color: @gray-lighter;
  border-radius: 2px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25) inset;
  height: 0.5em;

  > div {
    border-radius: 2px;
    height: 100%;
  }
}

.certificate-days-remaining {
  font-size: @font-size-small;
  margin-left: 2em;
}

.expiration-col {
  width: 18em;
}

.icon-col > i {
  font-size: 120%;
}

.version-col {
  width: 1em;
}

.cert-table, .usage-table {
  width: 98%;
}

.cert-dashboard {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}

.cert-donut {
  align-self: flex-start;
  padding: 1em;
}

.cert-chain {
  .rounded-corners();

  color: @text-color-inverted;
  font-size: 120%;
  font-weight: @font-weight-bold;
  padding: 0.75em;
  text-align: center;

  > p {
    margin: 0;
  }

  &.-valid {
    background-color: @color-ok;
  }

  &.-invalid {
    background-color: @color-critical;
  }
}

.icon {
  &.-ok {
    color: @color-ok;
  }

  &.-critical {
    color: @color-critical;
  }
}