]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/print.scss
Merge remote-tracking branch 'upstream/pull/6221'
[rails.git] / app / assets / stylesheets / print.scss
1 @import "parameters";
2 @import "colors";
3
4 html {
5   height: 100%;
6 }
7
8 body {
9   height: 100%;
10   margin: 0;
11   --marker-red: #f6110a;
12   --marker-green: #9cef11;
13   --marker-blue: #0b8ef1;
14 }
15
16 #content {
17   height: 100%;
18 }
19
20 header,
21 .leaflet-control {
22   display: none;
23 }
24
25 .map-layout .overlay-sidebar #sidebar {
26   display: none;
27 }
28
29 .map-layout #sidebar {
30   page-break-after: always;
31
32   & > * {
33     display: none;
34   }
35   #sidebar_content {
36     display: unset;
37   }
38
39   button,
40   input,
41   textarea,
42   .secondary-actions {
43     display: none;
44   }
45 }
46
47 #map-ui {
48   display: none !important;
49 }
50
51 #map {
52   position: relative;
53   height: calc(100% - 40px);
54   box-sizing: border-box;
55   border: 1px solid black;
56 }
57
58 /* Rules for attribution text under the main map shown on printouts */
59
60 #attribution {
61   display: block;
62   page-break-inside: avoid;
63   height: 40px;
64   font-size: 12px;
65
66   table {
67     width: 100%
68   }
69 }
70
71 .attribution_notice {
72   text-align: center;
73 }
74
75 /* Bootstrap classes */
76
77 .d-none, .modal {
78   display: none;
79 }
80
81 .position-absolute {
82   position: absolute;
83 }