aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-01-23 22:15:28 -0800
committerGitHub <[email protected]>2017-01-23 22:15:28 -0800
commit02e0fdbd52df6ad00fe2c8ba2bb10a7f0a62f021 (patch)
tree4266949f341e53f8173c7bc83651da19aee092d5
parent104477af17a7657f7df556fff3f448cd2d2a82fa (diff)
downloadbootstrap-02e0fdbd52df6ad00fe2c8ba2bb10a7f0a62f021.tar.xz
bootstrap-02e0fdbd52df6ad00fe2c8ba2bb10a7f0a62f021.zip
Remove `cursor: pointer;` (#21812)
* Remove most of custom cursor: pointer; implementations * turns out that's not so much of a thing
-rw-r--r--scss/_badge.scss1
-rw-r--r--scss/_carousel.scss1
-rw-r--r--scss/_close.scss2
-rw-r--r--scss/_custom-forms.scss2
-rw-r--r--scss/_forms.scss1
-rw-r--r--scss/_reboot.scss11
6 files changed, 0 insertions, 18 deletions
diff --git a/scss/_badge.scss b/scss/_badge.scss
index e5a329893..175b19d86 100644
--- a/scss/_badge.scss
+++ b/scss/_badge.scss
@@ -33,7 +33,6 @@ a.badge {
@include hover-focus {
color: $badge-link-hover-color;
text-decoration: none;
- cursor: pointer;
}
}
// scss-lint:enable QualifyingElement
diff --git a/scss/_carousel.scss b/scss/_carousel.scss
index 54478e450..1b6e450ae 100644
--- a/scss/_carousel.scss
+++ b/scss/_carousel.scss
@@ -131,7 +131,6 @@
margin-right: $carousel-indicator-spacer;
margin-left: $carousel-indicator-spacer;
text-indent: -999px;
- cursor: pointer;
background-color: rgba($carousel-indicator-active-bg, .5);
// Use pseudo classes to increase the hit area by 10px on top and bottom.
diff --git a/scss/_close.scss b/scss/_close.scss
index 859990e31..f18149051 100644
--- a/scss/_close.scss
+++ b/scss/_close.scss
@@ -10,7 +10,6 @@
@include hover-focus {
color: $close-color;
text-decoration: none;
- cursor: pointer;
opacity: .75;
}
}
@@ -23,7 +22,6 @@
// scss-lint:disable QualifyingElement
button.close {
padding: 0;
- cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index 3bc02a239..2db4c7640 100644
--- a/scss/_custom-forms.scss
+++ b/scss/_custom-forms.scss
@@ -15,7 +15,6 @@
min-height: (1rem * $line-height-base);
padding-left: $custom-control-gutter;
margin-right: $custom-control-spacer-x;
- cursor: pointer;
}
.custom-control-input {
@@ -200,7 +199,6 @@
max-width: 100%;
height: $custom-file-height;
margin-bottom: 0;
- cursor: pointer;
}
.custom-file-input {
diff --git a/scss/_forms.scss b/scss/_forms.scss
index 7be62bde6..85180aa7f 100644
--- a/scss/_forms.scss
+++ b/scss/_forms.scss
@@ -216,7 +216,6 @@ select.form-control-lg {
.form-check-label {
padding-left: $form-check-input-gutter;
margin-bottom: 0; // Override default `<label>` bottom margin
- cursor: pointer;
}
.form-check-input {
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index 30a5728f2..78753af00 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -260,17 +260,6 @@ svg:not(:root) {
}
-// 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;
-}
-
-
// Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
//
// In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11