summaryrefslogtreecommitdiffstats
path: root/public/css/icinga/print.less
blob: 75d47284bb1095cbc67bd4317b0b160d816feae5 (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
/*! Icinga Web 2 | (c) 2015 Icinga GmbH | GPLv2+ */

@media print {
  #sidebar,
  #migrate-popup, // Icinga DB Web
  .controls,
  .footer, // ipl
  .dontprint, // Compat only, use dont-print instead
  .dont-print {
    display: none !important;
  }

  #main > .container {
    overflow: visible !important;

    > .content {
      overflow: visible !important;
    }
  }

  :root {
    --body-bg-color: #fff !important;
    --text-color: #535353 !important;
    --text-color-light: #7F7F7F !important;
    --tr-active-color: #fff !important;
    --tr-hover-color: #fff !important;

    // ipl-web overrides
    --default-bg: #fff !important;
    --default-text-color: #535353 !important;
    --default-text-color-inverted: #fff !important;
  }
}

@media not print {
  .print-only {
    display: none !important;
  }
}