r94013 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94012‎ | r94013 | r94014 >
Date:08:38, 6 August 2011
Author:catrope
Status:deferred
Tags:
Comment:
RL2: Add CSS for Special:GadgetManager
Modified paths:
  • /branches/RL2/extensions/Gadgets/Gadgets.php (modified) (history)
  • /branches/RL2/extensions/Gadgets/modules (added) (history)
  • /branches/RL2/extensions/Gadgets/modules/ext.gadgets.gadgetmanager.css (added) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/Gadgets.php
@@ -123,3 +123,13 @@
124124 #$wgLogActionsHandlers['gadgetman/create'] = '...';
125125 #$wgLogActionsHandlers['gadgetman/modify'] = '...';
126126 #$wgLogActionsHandlers['gadgetman/delete'] = '...';
 127+
 128+$gadResourceTemplate = array(
 129+ 'localBasePath' => $dir . 'modules',
 130+ 'remoteExtPath' => 'Gadgets/modules'
 131+);
 132+$wgResourceModules += array(
 133+ 'ext.gadgets.gadgetmanager' => $gadResourceTemplate + array(
 134+ 'styles' => 'ext.gadgets.gadgetmanager.css',
 135+ )
 136+);
Index: branches/RL2/extensions/Gadgets/modules/ext.gadgets.gadgetmanager.css
@@ -0,0 +1,50 @@
 2+.mw-gadgetman-gadgets {
 3+ background: #f9f9f9;
 4+}
 5+
 6+.mw-gadgetman-gadget {
 7+ background: #f2f2f2;
 8+ margin: 10px 2px;
 9+ padding: 5px 8px;
 10+ border: #dfdfdf;
 11+}
 12+
 13+.mw-gadgetman-toollinks {
 14+ float: right;
 15+ background: white;
 16+ padding: 2px 3px;
 17+}
 18+
 19+.mw-gadgetman-title {
 20+}
 21+
 22+.mw-gadgetman-descr {
 23+}
 24+
 25+.mw-gadgetman-props {
 26+ background: #dfdfdf;
 27+ overflow: hidden;
 28+}
 29+
 30+.mw-gadgetman-props-module,
 31+.mw-gadgetman-props-gadget {
 32+ width: 49%;
 33+ float: left;
 34+}
 35+
 36+.mw-gadgetman-props-gadget {
 37+ float: right;
 38+ border-left: 1px solid black;
 39+}
 40+
 41+.mw-gadgetman-props-listwrapper {
 42+ margin: 3px 0;
 43+ overflow: hidden;
 44+}
 45+
 46+.mw-gadgetman-props-listitem {
 47+ background: cyan;
 48+ border: 1px solid darkCyan;
 49+ border-radius: 10px;
 50+ padding: 1px 2px;
 51+}
Property changes on: branches/RL2/extensions/Gadgets/modules/ext.gadgets.gadgetmanager.css
___________________________________________________________________
Added: svn:eol-style
152 + native

Status & tagging log