From: Ed Sanders Date: Thu, 20 Oct 2016 19:58:39 +0000 (-0700) Subject: Use a more specific rule for setting cursor:pointer on JS links X-Git-Tag: 1.31.0-rc.0~5061^2 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=f788b4f6df636e8a86a6fcfad2a25f4216ca0736;p=lhc%2Fweb%2Fwiklou.git Use a more specific rule for setting cursor:pointer on JS links This rule may not work in old versions of IE, but neither does JS. This avoids cusor:pointer being applied to ContentEditable links which use cursor:text. Change-Id: I0d87d67f7d4aa1c1118f3b3613c755535748c799 --- diff --git a/resources/src/mediawiki.skinning/elements.css b/resources/src/mediawiki.skinning/elements.css index 5fbfb85c65..9c52b2a00d 100644 --- a/resources/src/mediawiki.skinning/elements.css +++ b/resources/src/mediawiki.skinning/elements.css @@ -11,6 +11,9 @@ a { text-decoration: none; color: #0645ad; background: none; +} + +a:not( [href] ) { cursor: pointer; /* Always cursor:pointer even without href */ }