Custom Vector theme/skin for GolemWiki, our instance of MediaWiki
Go to file
petarpetkovic b0f65a08df Fix detached RCFilters menu
In attempts to fix RCFilters menu overlap with other UI elements when
opening upwards, I1fe6b8b2c9 adds `z-index` rule to overlay element.
But as part of the same rule, `position: relative` is added which
cascades the absolute positioned overlay, causing it to appear in
natural flow of document, which causes menu positioning parameters
to render the menu detached from RCFilters.

Bug: T183442
Change-Id: I3f7db005730d045b2278753cfd655169a96c60a9
2017-12-22 14:07:22 +01:00
components Restore indicator for menuForceShow of tab menus 2017-11-19 19:34:15 +01:00
i18n Localisation updates from https://translatewiki.net. 2017-12-18 22:23:18 +01:00
images Optimize SVGs and align to WikimediaUI color palette 2017-10-24 01:18:07 -07:00
screenshots Add skin screenshot for the installer 2017-08-11 15:37:34 -04:00
skinStyles Fix detached RCFilters menu 2017-12-22 14:07:22 +01:00
.eslintrc.json build: Replace jshint and jscs with eslint 2016-11-29 08:39:55 -08:00
.gitignore collapsibleTabs: Clean up and simplify code 2016-11-29 02:25:00 +00:00
.gitreview Use track=1 instead of defaultbranch=master in .gitreview 2016-10-24 17:30:32 -07:00
.phpcs.xml Rename file Hooks.php to match class 2017-12-09 21:32:56 +01:00
.stylelintrc.json Use json extension for .stylelintrc 2017-08-19 06:46:03 +00:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 13:51:49 +04:30
COPYING Use the plain-text GPL and fix 'license-name' to match SPDX conventions 2015-01-29 17:04:29 +01:00
Gruntfile.js Use json extension for .stylelintrc 2017-08-19 06:46:03 +00:00
README.md Print logo should use an absolute URI 2017-10-11 19:06:29 +00:00
ResourceLoaderLessModule.php Merge "Print logo should use an absolute URI" 2017-10-11 19:43:05 +00:00
SkinVector.php Revert "Fix reversed nav elements when viewing cached HTML" 2017-11-10 19:17:57 +01:00
Vector.php Run phplint and phpcs through "composer test" entry point 2015-06-09 16:37:14 +03:00
VectorHooks.php Rename file Hooks.php to match class 2017-12-09 21:32:56 +01:00
VectorTemplate.php Merge "New VectorAfterToolbox and VectorBeforeFooter hooks" 2017-11-17 21:16:26 +00:00
collapsibleTabs.js build: Update eslint-config-wikimedia 0.4->0.5, eslint 19->20 2017-08-25 16:21:21 +01:00
composer.json Add minus-x to "composer test" 2017-12-20 21:46:11 +07:00
hooks.txt New VectorAfterToolbox and VectorBeforeFooter hooks 2017-01-06 18:48:54 +02:00
jsduck.json collapsibleTabs: Clean up and simplify code 2016-11-29 02:25:00 +00:00
package.json build: Update eslint-config-wikimedia 0.4->0.5, eslint 19->20 2017-08-25 16:21:21 +01:00
print.less Inline lists in new print styles should not have a smaller font size than surrounding content 2017-12-20 02:43:18 +00:00
responsive.less Use global variable for tablet media query in responsive.less 2016-12-13 15:27:38 -08:00
screen-hd.less Remove `position: absolute` from #p-logo element 2017-07-13 16:28:08 +08:00
screen.less build: Introduce stylelint and make pass 2016-11-29 08:40:03 -08:00
skin.json Rename file Hooks.php to match class 2017-12-09 21:32:56 +01:00
variables.less chmod -x variables.less 2017-08-23 22:37:00 -07:00
vector.js Fix dysfunctional collapseCondition when right-most tab is the star 2017-11-30 18:53:02 +00:00

README.md

Vector Skin

Configuration options

Logo used in print styles. Keys are url, width, and height (in pixels). Note that this solution only works correctly if the image pointed to by url is an SVG that does not specify width and height attributes, or its width and height match the corresponding variables below. Alternatively, a PNG or other type of image can be used, but its dimensions also need to match the corresponding variable below. That in turn may result in blurry images, though.

The URL can be absolute or relative.

Example configuration:

$wgVectorPrintLogo = [
	'url' => 'https://en.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg',
	'width' => 174,
	'height' => 27
];
  • Type: Array
  • Default: false