Skip to content

Commit 483d78a

Browse files
authored
Merge pull request #303 from BeAPI/feature/checkbox-complianz
custom checkbox/radio complianz fix
2 parents 7ec020e + 12e3078 commit 483d78a

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

src/scss/03-base/_forms.scss

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,34 @@ input[type="radio"] {
6161
&:checked {
6262
@include checkbox-custom-checked;
6363
}
64+
65+
/*
66+
--------------------
67+
For complianz plugin
68+
--------------------
69+
70+
*:not(.cmplz-banner-checkbox) > & {
71+
@include checkbox-custom;
72+
73+
&:checked {
74+
@include checkbox-custom-checked;
75+
}
76+
}
77+
*/
6478
}
6579

6680
input[type="radio"] {
67-
@include radio-custom;
81+
@include radio-custom(true);
82+
83+
/*
84+
--------------------
85+
For complianz plugin
86+
--------------------
87+
88+
*:not(.cmplz-banner-checkbox) > & {
89+
@include radio-custom(true);
90+
}
91+
*/
6892
}
6993

7094
input[type="submit"] {

0 commit comments

Comments
 (0)