r53125 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r53124
|
r53125
|
r53126
>
Date:
22:22, 11 July 2009
Author:
avar
Status:
deferred
Tags:
Comment:
* (
bug 19667
) Don't display OL controls when printing.
This gets rid of all the OL controls when under @media print *except*
the pan/zoom controls. I tried to display: none several OL CSS classes
with likely names with no results.
Modified paths:
/trunk/extensions/SlippyMap/SlippyMap.css
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SlippyMap/SlippyMap.css
—
—
@@ -52,3 +52,22 @@
53
53
height:19px;
54
54
background-image:url('reset-button.png');
55
55
}
56
+
57
+@media print {
58
+ .olControlLayerSwitcher {
59
+ display: none;
60
+ }
61
+
62
+ .olControlAttribution {
63
+ display: none !important;
64
+ }
65
+
66
+ .buttonsPanel .getWikiCodeButtonItemInactive {
67
+ display: none;
68
+ }
69
+
70
+ .buttonsPanel .resetButtonItemInactive {
71
+ display: none;
72
+ }
73
+}
74
+
Status & tagging log
00:20, 14 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r53125
[
removed:
old
added:
deferred]
01:02, 14 November 2010
Reedy
(
talk
|
contribs
)
changed the
status
of r53125
[
removed:
new
added:
old]