From db01b0fbf1250cfbbcca338f1088f9f5f3cad067 Mon Sep 17 00:00:00 2001 From: Gary PEGEOT Date: Mon, 4 Nov 2019 11:08:50 +0100 Subject: [PATCH 1/2] Use cursor pointer for custom form labels --- scss/_custom-forms.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 7df1688fec9c..86d408009945 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -76,6 +76,7 @@ margin-bottom: 0; color: $custom-control-label-color; vertical-align: top; + cursor: pointer; // Background-color and (when enabled) gradient &::before { From 4f45c8764e0bba6d84d6cf419490925381e516a2 Mon Sep 17 00:00:00 2001 From: Gary PEGEOT Date: Mon, 4 Nov 2019 13:45:39 +0100 Subject: [PATCH 2/2] Move cursor to a variable --- scss/_custom-forms.scss | 2 +- scss/_variables.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 86d408009945..5eb2bb777191 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -76,7 +76,7 @@ margin-bottom: 0; color: $custom-control-label-color; vertical-align: top; - cursor: pointer; + cursor: $custom-control-cursor; // Background-color and (when enabled) gradient &::before { diff --git a/scss/_variables.scss b/scss/_variables.scss index 28db6f994337..10d1edf00b6a 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -526,6 +526,7 @@ $custom-forms-transition: background-color .15s ease-in-out, borde $custom-control-gutter: .5rem !default; $custom-control-spacer-x: 1rem !default; +$custom-control-cursor: null !default; $custom-control-indicator-size: 1rem !default; $custom-control-indicator-bg: $input-bg !default;