vendor/toolkit/twitter/bootstrap/scaffolding.less in twitter-bootstrap-rails-3.2.2 vs vendor/toolkit/twitter/bootstrap/scaffolding.less in twitter-bootstrap-rails-4.0.0
- old
+ new
@@ -50,11 +50,11 @@
text-decoration: none;
&:hover,
&:focus {
color: @link-hover-color;
- text-decoration: underline;
+ text-decoration: @link-hover-decoration;
}
&:focus {
.tab-focus();
}
@@ -145,6 +145,17 @@
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
+}
+
+
+// iOS "clickable elements" fix for role="button"
+//
+// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
+// for traditionally non-focusable elements with role="button"
+// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
+
+[role="button"] {
+ cursor: pointer;
}