]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/print.scss
Localisation updates from https://translatewiki.net.
[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 }
12
13 #content {
14   height: 100%;
15 }
16
17 header,
18 .leaflet-control {
19   display: none;
20 }
21
22 .map-layout .overlay-sidebar #sidebar {
23   display: none;
24 }
25
26 .map-layout #sidebar {
27   page-break-after: always;
28
29   & > * {
30     display: none;
31   }
32   #sidebar_content {
33     display: unset;
34   }
35
36   button,
37   input,
38   textarea,
39   .secondary-actions {
40     display: none;
41   }
42 }
43
44 #map-ui {
45   display: none !important;
46 }
47
48 #map {
49   position: relative;
50   height: calc(100% - 40px);
51   box-sizing: border-box;
52   border: 1px solid black;
53 }
54
55 /* Rules for attribution text under the main map shown on printouts */
56
57 #attribution {
58   display: block;
59   page-break-inside: avoid;
60   height: 40px;
61   font-size: 12px;
62
63   table {
64     width: 100%
65   }
66 }
67
68 .attribution_notice {
69   text-align: center;
70 }
71
72 /* Bootstrap classes */
73
74 .d-none, .modal {
75   display: none;
76 }
77
78 .position-absolute {
79   position: absolute;
80 }