Skip to content

Commit 2ecd445

Browse files
Merge pull request #110 from flatlogic/fix/cursor-pointer
Fix/cursor pointer
2 parents c928247 + 2ebc52c commit 2ecd445

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

awesome-bootstrap-checkbox.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
.checkbox input[type="radio"] {
4040
opacity: 0;
4141
z-index: 1;
42+
cursor: pointer;
4243
}
4344
.checkbox input[type="checkbox"]:focus + label::before,
4445
.checkbox input[type="radio"]:focus + label::before {
@@ -230,6 +231,7 @@
230231
.radio input[type="radio"] {
231232
opacity: 0;
232233
z-index: 1;
234+
cursor: pointer;
233235
}
234236
.radio input[type="radio"]:focus + label::before {
235237
outline: thin dotted;

awesome-bootstrap-checkbox.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
input[type="radio"]{
7676
opacity: 0;
7777
z-index: 1;
78+
cursor: pointer;
7879

7980
&:focus + label::before{
8081
.tab-focus();
@@ -194,6 +195,7 @@
194195
input[type="radio"]{
195196
opacity: 0;
196197
z-index: 1;
198+
cursor: pointer;
197199

198200
&:focus + label::before{
199201
.tab-focus();

awesome-bootstrap-checkbox.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ $check-icon: $fa-var-check !default;
7777
input[type="radio"] {
7878
opacity: 0;
7979
z-index: 1;
80+
cursor: pointer;
8081

8182
&:focus + label::before{
8283
@include tab-focus();
@@ -197,6 +198,7 @@ $check-icon: $fa-var-check !default;
197198
input[type="radio"]{
198199
opacity: 0;
199200
z-index: 1;
201+
cursor: pointer;
200202

201203
&:focus + label::before{
202204
@include tab-focus();

demo/build.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
.checkbox input[type="checkbox"],
3535
.checkbox input[type="radio"] {
3636
opacity: 0;
37-
z-index: 1; }
37+
z-index: 1;
38+
cursor: pointer;
39+
}
3840
.checkbox input[type="checkbox"]:focus + label::before,
3941
.checkbox input[type="radio"]:focus + label::before {
4042
outline: thin dotted;
@@ -204,7 +206,9 @@
204206
transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); }
205207
.radio input[type="radio"] {
206208
opacity: 0;
207-
z-index: 1; }
209+
z-index: 1;
210+
cursor: pointer;
211+
}
208212
.radio input[type="radio"]:focus + label::before {
209213
outline: thin dotted;
210214
outline: 5px auto -webkit-focus-ring-color;

0 commit comments

Comments
 (0)