Use a more specific rule for setting cursor:pointer on JS links
authorEd Sanders <esanders@wikimedia.org>
Thu, 20 Oct 2016 19:58:39 +0000 (12:58 -0700)
committerEd Sanders <esanders@wikimedia.org>
Thu, 20 Oct 2016 19:58:39 +0000 (12:58 -0700)
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

resources/src/mediawiki.skinning/elements.css

index 5fbfb85..9c52b2a 100644 (file)
@@ -11,6 +11,9 @@ a {
        text-decoration: none;
        color: #0645ad;
        background: none;
+}
+
+a:not( [href] ) {
        cursor: pointer; /* Always cursor:pointer even without href */
 }