mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 23:54:08 +02:00
Remove cursor: pointer;
(#21812)
* Remove most of custom cursor: pointer; implementations * turns out that's not so much of a thing
This commit is contained in:
@@ -33,7 +33,6 @@ a.badge {
|
|||||||
@include hover-focus {
|
@include hover-focus {
|
||||||
color: $badge-link-hover-color;
|
color: $badge-link-hover-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// scss-lint:enable QualifyingElement
|
// scss-lint:enable QualifyingElement
|
||||||
|
@@ -131,7 +131,6 @@
|
|||||||
margin-right: $carousel-indicator-spacer;
|
margin-right: $carousel-indicator-spacer;
|
||||||
margin-left: $carousel-indicator-spacer;
|
margin-left: $carousel-indicator-spacer;
|
||||||
text-indent: -999px;
|
text-indent: -999px;
|
||||||
cursor: pointer;
|
|
||||||
background-color: rgba($carousel-indicator-active-bg, .5);
|
background-color: rgba($carousel-indicator-active-bg, .5);
|
||||||
|
|
||||||
// Use pseudo classes to increase the hit area by 10px on top and bottom.
|
// Use pseudo classes to increase the hit area by 10px on top and bottom.
|
||||||
|
@@ -10,7 +10,6 @@
|
|||||||
@include hover-focus {
|
@include hover-focus {
|
||||||
color: $close-color;
|
color: $close-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
|
||||||
opacity: .75;
|
opacity: .75;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -23,7 +22,6 @@
|
|||||||
// scss-lint:disable QualifyingElement
|
// scss-lint:disable QualifyingElement
|
||||||
button.close {
|
button.close {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
cursor: pointer;
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
@@ -15,7 +15,6 @@
|
|||||||
min-height: (1rem * $line-height-base);
|
min-height: (1rem * $line-height-base);
|
||||||
padding-left: $custom-control-gutter;
|
padding-left: $custom-control-gutter;
|
||||||
margin-right: $custom-control-spacer-x;
|
margin-right: $custom-control-spacer-x;
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-control-input {
|
.custom-control-input {
|
||||||
@@ -200,7 +199,6 @@
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: $custom-file-height;
|
height: $custom-file-height;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-file-input {
|
.custom-file-input {
|
||||||
|
@@ -216,7 +216,6 @@ select.form-control-lg {
|
|||||||
.form-check-label {
|
.form-check-label {
|
||||||
padding-left: $form-check-input-gutter;
|
padding-left: $form-check-input-gutter;
|
||||||
margin-bottom: 0; // Override default `<label>` bottom margin
|
margin-bottom: 0; // Override default `<label>` bottom margin
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-check-input {
|
.form-check-input {
|
||||||
|
@@ -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.
|
// 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
|
// In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11
|
||||||
|
Reference in New Issue
Block a user