From 5457eccd9c98c38bac12fad4ede2e3ef8ae9aaa8 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 5 Sep 2011 06:28:36 +0000 Subject: [PATCH] (bug 26470) add checkered background on files pages --- RELEASE-NOTES-1.19 | 1 + skins/common/shared.css | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 6fa6d4f5a1..608c51556f 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -53,6 +53,7 @@ production. * (bug 16428) Include permalink in printable version * (bug 96170) Add array support for space-separated list attributes (like 'class') in the Html helper class. +* (bug 26470) Add checkered background image on hover on files pages. === Bug fixes in 1.19 === * $wgUploadNavigationUrl should be used for file redlinks if diff --git a/skins/common/shared.css b/skins/common/shared.css index 66c02a6c5d..c24a3eb7c8 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -183,6 +183,16 @@ table.filehistory td.filehistory-selected { font-weight: bold; } +/** + * Add a checkered background image on hover for file + * description pages. (bug 26470) + */ +.filehistory a img, +#file img:hover { + /* @embed */ + background: white url(images/Checker-16x16.png) repeat; +} + /** * rev_deleted stuff */ @@ -974,4 +984,4 @@ table.floatleft { /* bug 12205 */ #mw-credits a { unicode-bidi: embed; -} \ No newline at end of file +} -- 2.20.1