From 92de8d3f59dca63bd6736423b587c602e7e42104 Mon Sep 17 00:00:00 2001 From: sivanova Date: Thu, 9 Jan 2025 18:16:14 +0200 Subject: [PATCH] fix(checkbox/switch/radio): inconsistent cursor --- .../lib/core/styles/components/checkbox/_checkbox-theme.scss | 3 +-- .../src/lib/core/styles/components/radio/_radio-theme.scss | 2 -- .../src/lib/core/styles/components/switch/_switch-theme.scss | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/projects/igniteui-angular/src/lib/core/styles/components/checkbox/_checkbox-theme.scss b/projects/igniteui-angular/src/lib/core/styles/components/checkbox/_checkbox-theme.scss index b2066464d8d..7f4c9f4705e 100644 --- a/projects/igniteui-angular/src/lib/core/styles/components/checkbox/_checkbox-theme.scss +++ b/projects/igniteui-angular/src/lib/core/styles/components/checkbox/_checkbox-theme.scss @@ -172,6 +172,7 @@ flex-flow: row nowrap; align-items: center; outline-style: none; + cursor: pointer; } %cbx-display--disabled { @@ -208,7 +209,6 @@ %cbx-composite { position: relative; display: inline-block; - cursor: pointer; width: $size; height: $size; min-width: $size; @@ -482,7 +482,6 @@ %cbx-label { display: inline-block; color: var-get($theme, 'label-color'); - cursor: pointer; user-select: none; word-wrap: break-all; transition: color .2s $ease-out-quad; diff --git a/projects/igniteui-angular/src/lib/core/styles/components/radio/_radio-theme.scss b/projects/igniteui-angular/src/lib/core/styles/components/radio/_radio-theme.scss index dcaa588157d..b12f4ddaed9 100644 --- a/projects/igniteui-angular/src/lib/core/styles/components/radio/_radio-theme.scss +++ b/projects/igniteui-angular/src/lib/core/styles/components/radio/_radio-theme.scss @@ -212,7 +212,6 @@ height: $size; min-width: $size; line-height: $size; - cursor: pointer; color: var-get($theme, 'label-color'); user-select: none; @@ -400,7 +399,6 @@ %radio-label { color: var-get($theme, 'label-color'); - cursor: pointer; user-select: none; word-wrap: break-all; diff --git a/projects/igniteui-angular/src/lib/core/styles/components/switch/_switch-theme.scss b/projects/igniteui-angular/src/lib/core/styles/components/switch/_switch-theme.scss index 0b005a2e730..519623f8f29 100644 --- a/projects/igniteui-angular/src/lib/core/styles/components/switch/_switch-theme.scss +++ b/projects/igniteui-angular/src/lib/core/styles/components/switch/_switch-theme.scss @@ -290,7 +290,6 @@ border: rem(1px) solid var-get($theme, 'border-color'); border-radius: var-get($theme, 'border-radius-track'); background: var-get($theme, 'track-off-color'); - cursor: pointer; user-select: none; transition: $input-transition; @@ -557,7 +556,6 @@ %switch-label { display: inline-block; color: var-get($theme, 'label-color'); - cursor: pointer; user-select: none; word-wrap: break-all;