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 @@
5353 height:19px;
5454 background-image:url('reset-button.png');
5555 }
 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