summaryrefslogtreecommitdiffstats
path: root/public/css/icinga/about.less
blob: 4ccaaf8d1c6755a5fe9846ce7fdd1e9659c2e1f3 (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
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */

#about {
  &.content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  section {
    width: auto;

    > * {
      margin-bottom: 2em;
    }
  }

  h2 {
    margin: 0;
  }

  .name-value-table {
    th {
      width: 100%;
    }

    th,
    td {
      white-space: nowrap;

      a {
        color: @icinga-blue
      }
    }
  }

  section:not(:last-child),
  .icinga-logo {
    margin-bottom: 2em;
  }

  .external-links {
    .rounded-corners();
    border: 1px solid @gray-light;
    display: flex;
    padding: .5em 0;
    overflow: hidden;

    .col {
      flex: 1 1 auto;
      text-align: center;
      font-size: 12/14em;
    }

    .col:not(:last-child) {
      border-right: 1px solid @gray-light;
    }

    a {
      display: block;
      padding: .75em 1em;
      margin: -7/12em 0;
    }

    a:hover {
      text-decoration: none;
      background: @gray-light;
    }

    i {
      font-size: 2*14/12em;
      opacity: .8;
      margin-bottom: .25em;
      display: block;

      &:before {
        margin-right: 0;
      }
    }
  }

  footer {
    margin-top: auto;
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: baseline;

    a {
      i {
        font-size: 2em;
      }

      &:hover {
        opacity: .6;
      }
    }
  }
}