]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove `cursor: pointer;` (#21812)
authorMark Otto <markd.otto@gmail.com>
Tue, 24 Jan 2017 06:15:28 +0000 (22:15 -0800)
committerGitHub <noreply@github.com>
Tue, 24 Jan 2017 06:15:28 +0000 (22:15 -0800)
* Remove most of custom cursor: pointer; implementations

* turns out that's not so much of a thing

scss/_badge.scss
scss/_carousel.scss
scss/_close.scss
scss/_custom-forms.scss
scss/_forms.scss
scss/_reboot.scss

index e5a3298937c5ee641cf51637b1945796050da4b9..175b19d86e256b5582970b0c020f13bc5edb3aa8 100644 (file)
@@ -33,7 +33,6 @@ a.badge {
   @include hover-focus {
     color: $badge-link-hover-color;
     text-decoration: none;
-    cursor: pointer;
   }
 }
 // scss-lint:enable QualifyingElement
index 54478e450425672eb7e4de7838a9ac14da8b5533..1b6e450ae2be6c76184c65762e2545643fa41647 100644 (file)
     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.
index 859990e3105abe1506516e1c7cdfeb44422711c8..f1814905143829a8ebf38b9efa5373811752992d 100644 (file)
@@ -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;
index 3bc02a2397ebee011184c4260a469e129b97ae91..2db4c76406fd78143b008edf2fd0e6dce75d4997 100644 (file)
@@ -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 {
   max-width: 100%;
   height: $custom-file-height;
   margin-bottom: 0;
-  cursor: pointer;
 }
 
 .custom-file-input {
index 7be62bde662e83cb996c84cbeccfc2e1f98d3fd8..85180aa7f647a3b5719adc867c035fcb2fff01c3 100644 (file)
@@ -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 {
index 30a5728f27a1d437a2d41a2ecb2559fc6363d5bb..78753af004e10bc6bf5b4b2ff4803a0bea01495a 100644 (file)
@@ -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