TOC: Move JavaScript-related styles to the same module
authorFomafix <fomafix@googlemail.com>
Tue, 17 Nov 2015 05:59:23 +0000 (05:59 +0000)
committerKrinkle <krinklemail@gmail.com>
Wed, 9 Dec 2015 19:35:08 +0000 (19:35 +0000)
commit8b4af924d35f2eaad7d41dc779f4791776122274
tree6719cf2633c3bd14854af4ebf702c25ca55f734c
parentd0b9ffed7601a49233f948ca432558256c01902a
TOC: Move JavaScript-related styles to the same module

This change moves the rules for the CSS classes that only
get used by JavaScript into the same module 'mediawiki.toc'.
This module already gets loaded via JavaScript.

This way, the styles are only loaded when they are needed.

Cached HTML pages already contain the module 'mediawiki.toc'
so there is no problem on deployment.

Change-Id: Ib7c81e9433e7e3976e40e407f63fc8e924957faa
resources/Resources.php
resources/src/mediawiki.legacy/commonPrint.css
resources/src/mediawiki.legacy/oldshared.css
resources/src/mediawiki.legacy/shared.css
resources/src/mediawiki.skinning/content.css
resources/src/mediawiki/mediawiki.toc.css [new file with mode: 0644]
resources/src/mediawiki/mediawiki.toc.print.css [new file with mode: 0644]