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