From a91a14b29e43aaedb837a6c92ea8bd9449638e7d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thiemo=20M=C3=A4ttig?= Date: Thu, 10 Jul 2014 16:59:19 +0200 Subject: [PATCH] Remove outdated unused jquery.tipsy styles from common/shared.css This code is really, really old and not compatible with jquery.tipsy anymore. Look at the image. It's a single arrow. That's not how the tipsy version we are currently using works. It needs to be a star with arrows pointing to all four directions. Luckily this is just dead code. The jquery.tipsy.css file is loaded after shared.css and overrides the outdated styles anyway. Wikibase uses it's own styles for the tipsy tooltips. So there are three places that try to style the tipsy tooltips: shared.css, tipsy.css and Wikibase' wbtooltip.css. For some reason this broke the ULS tooltips on wikidata.org. I would like to fix this mess by removing all individual styles. I will submit an other patch that removes the individual styles in Wikibase. Bug: 67802 Change-Id: Idfd3a5e30dd2f24dbd588a30c1f516d5d219ced5 --- skins/common/images/tipsy-arrow.gif | Bin 205 -> 0 bytes skins/common/shared.css | 31 ---------------------------- 2 files changed, 31 deletions(-) delete mode 100644 skins/common/images/tipsy-arrow.gif diff --git a/skins/common/images/tipsy-arrow.gif b/skins/common/images/tipsy-arrow.gif deleted file mode 100644 index 9f1a15b6a69189c3dbd0270d50739d35504eb6b5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 205 zcmV;;05bnaNk%w1VGRHc0K@2D;X64RK*np z0K!C=go$7Wcu-7~2NAGnbV!=UVhPB2NE-|lAYmv13Wj70Fdza519_MDB-T3z#{u76 HwjlsJ9E)xP diff --git a/skins/common/shared.css b/skins/common/shared.css index a5612e22ba..e72b25231c 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -1128,37 +1128,6 @@ ol:lang(or) li { margin-left: 20px; } -.tipsy { - padding: 5px 5px 10px; - font-size: 12px; - position: absolute; - z-index: 100000; - overflow: visible; -} - -.tipsy-inner { - padding: 5px 8px 4px 8px; - background-color: #d6f3ff; - color: black; - border: 1px solid #5dc9f4; - max-width: 300px; - text-align: left; -} - -.tipsy-arrow { - position: absolute; - /* @embed */ - background: url(images/tipsy-arrow.gif) no-repeat top left; - width: 13px; - height: 13px; -} - -.tipsy-se .tipsy-arrow { - bottom: -2px; - right: 10px; - background-position: 0% 100%; -} - #mw-clearyourcache, #mw-sitecsspreview, #mw-sitejspreview, -- 2.20.1