Remove outdated unused jquery.tipsy styles from common/shared.css
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Thu, 10 Jul 2014 14:59:19 +0000 (16:59 +0200)
committerKrinkle <krinklemail@gmail.com>
Thu, 10 Jul 2014 16:45:14 +0000 (16:45 +0000)
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 [deleted file]
skins/common/shared.css

diff --git a/skins/common/images/tipsy-arrow.gif b/skins/common/images/tipsy-arrow.gif
deleted file mode 100644 (file)
index 9f1a15b..0000000
Binary files a/skins/common/images/tipsy-arrow.gif and /dev/null differ
index a5612e2..e72b252 100644 (file)
@@ -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,