diff --git a/scss/_buttons.scss b/scss/_buttons.scss index 4a8ffcbe5796f0d31f6bb3ff36169507d47353df..8b669531f76260a2b13933c8b80d2c9c1e318201 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -28,7 +28,6 @@ // Disabled comes first so active can properly restyle &.disabled, &:disabled { - cursor: $cursor-disabled; opacity: .65; @include box-shadow(none); } diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index d303c48d0b0b52407f41b0234b6863db527ca449..9133f7dbdaed81467714d9e536ee3a3f8d7082bb 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -41,13 +41,11 @@ &:disabled { ~ .custom-control-indicator { - cursor: $custom-control-disabled-cursor; background-color: $custom-control-disabled-indicator-bg; } ~ .custom-control-description { color: $custom-control-disabled-description-color; - cursor: $custom-control-disabled-cursor; } } } @@ -165,7 +163,6 @@ &:disabled { color: $custom-select-disabled-color; - cursor: $cursor-disabled; background-color: $custom-select-disabled-bg; } diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 090fdf1c16412a9d48d0ecd978e5dff67afc6093..116a84a3b888ab2332fc8c6828c06b4d061d11a7 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -90,7 +90,6 @@ &.disabled, &:disabled { color: $dropdown-link-disabled-color; - cursor: $cursor-disabled; background-color: transparent; // Remove CSS gradients if they're enabled @if $enable-gradients { diff --git a/scss/_forms.scss b/scss/_forms.scss index 11fa94a25d4d34f6dd7f061fa3f8a84cdc04a761..55e8cb43a4916ff43a35de8cc552033d0fd980f4 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -58,10 +58,6 @@ // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655. opacity: 1; } - - &:disabled { - cursor: $cursor-disabled; - } } select.form-control { @@ -212,7 +208,6 @@ select.form-control-lg { &.disabled { .form-check-label { color: $text-muted; - cursor: $cursor-disabled; } } } diff --git a/scss/_list-group.scss b/scss/_list-group.scss index c4b5e2f926985de3bf1f049e21be9c677e365298..c7172e4ff58855a97872a3e78df1cd22fb1ca0c0 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -65,7 +65,6 @@ &.disabled, &:disabled { color: $list-group-disabled-color; - cursor: $cursor-disabled; background-color: $list-group-disabled-bg; } diff --git a/scss/_nav.scss b/scss/_nav.scss index 2b6b2a7f39dd04716ef979e9225e37f0b87e4da9..973679eee74476036690eafdef028a557876fb24 100644 --- a/scss/_nav.scss +++ b/scss/_nav.scss @@ -19,10 +19,9 @@ text-decoration: none; } - // Disabled state lightens text and removes hover/tab effects + // Disabled state lightens text &.disabled { color: $nav-disabled-link-color; - cursor: $cursor-disabled; } } diff --git a/scss/_pagination.scss b/scss/_pagination.scss index 24aa028d1f901a12378339b4f3334e8a44027b6a..4389e0f929a69626a1c234373110bc28632d77f2 100644 --- a/scss/_pagination.scss +++ b/scss/_pagination.scss @@ -29,7 +29,6 @@ &.disabled .page-link { color: $pagination-disabled-color; pointer-events: none; - cursor: $cursor-disabled; // While `pointer-events: none` removes the cursor in modern browsers, we provide a disabled cursor as a fallback. background-color: $pagination-disabled-bg; border-color: $pagination-disabled-border; } diff --git a/scss/_reboot.scss b/scss/_reboot.scss index c52e6f887ddad12352e02919be8e1f744c62b2d9..6a8c6ab370da84fc3051617641db48896c6051b1 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -368,13 +368,6 @@ input[type="radio"], input[type="checkbox"] { box-sizing: border-box; // 1. Add the correct box sizing in IE 10- padding: 0; // 2. Remove the padding in IE 10- - - // Apply a disabled cursor for radios and checkboxes. - // - // Note: Neither radios nor checkboxes can be readonly. - &:disabled { - cursor: $cursor-disabled; - } } diff --git a/scss/_variables.scss b/scss/_variables.scss index d277011b213e0fcb83a6f22e1769763f8e7e0316..957e69d5c21a3ee9a14e7307ba0d1fce9fef6f13 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -433,8 +433,6 @@ $form-group-margin-bottom: 1rem !default; $input-group-addon-bg: $gray-lighter !default; $input-group-addon-border-color: $input-border-color !default; -$cursor-disabled: not-allowed !default; - $custom-control-gutter: 1.5rem !default; $custom-control-spacer-y: .25rem !default; $custom-control-spacer-x: 1rem !default; @@ -444,7 +442,6 @@ $custom-control-indicator-bg: #ddd !default; $custom-control-indicator-bg-size: 50% 50% !default; $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default; -$custom-control-disabled-cursor: $cursor-disabled !default; $custom-control-disabled-indicator-bg: $gray-lighter !default; $custom-control-disabled-description-color: $gray-light !default;