Skip to content

Commit

Permalink
Remove cursor: pointer; (#21812)
Browse files Browse the repository at this point in the history
* Remove most of custom cursor: pointer; implementations

* turns out that's not so much of a thing
  • Loading branch information
mdo committed Jan 24, 2017
1 parent 104477a commit 02e0fdb
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion scss/_badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ a.badge {
@include hover-focus {
color: $badge-link-hover-color;
text-decoration: none;
cursor: pointer;
}
}
// scss-lint:enable QualifyingElement
Expand Down
1 change: 0 additions & 1 deletion scss/_carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions scss/_close.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
@include hover-focus {
color: $close-color;
text-decoration: none;
cursor: pointer;
opacity: .75;
}
}
Expand All @@ -23,7 +22,6 @@
// scss-lint:disable QualifyingElement
button.close {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
Expand Down
2 changes: 0 additions & 2 deletions scss/_custom-forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -200,7 +199,6 @@
max-width: 100%;
height: $custom-file-height;
margin-bottom: 0;
cursor: pointer;
}

.custom-file-input {
Expand Down
1 change: 0 additions & 1 deletion scss/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
11 changes: 0 additions & 11 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02e0fdb

Please sign in to comment.