Skip to content

Commit 5da5ab5

Browse files
authored
Merge pull request #361 from BeAPI/fix/complianz-checkbox
Fix/complianz checkbox
2 parents 8f4aa2d + 559f497 commit 5da5ab5

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

src/scss/03-base/_forms.scss

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -63,35 +63,29 @@ $all-text-inputs: assign-inputs($text-inputs-list);
6363
&:checked {
6464
@include checkbox-custom-checked;
6565
}
66+
}
6667

67-
/*
68-
--------------------
69-
For complianz plugin
70-
--------------------
68+
input[type="radio"] {
69+
@include radio-custom(true);
70+
}
7171

72-
*:not(.cmplz-banner-checkbox) > & {
72+
/*
73+
// For complianz plugin
74+
*:not(.cmplz-banner-checkbox) > {
75+
input[type="checkbox"],
76+
input[type="radio"] {
7377
@include checkbox-custom;
7478
7579
&:checked {
7680
@include checkbox-custom-checked;
7781
}
7882
}
79-
*/
80-
}
81-
82-
input[type="radio"] {
83-
@include radio-custom(true);
84-
85-
/*
86-
--------------------
87-
For complianz plugin
88-
--------------------
8983
90-
*:not(.cmplz-banner-checkbox) > & {
84+
input[type="radio"] {
9185
@include radio-custom(true);
9286
}
93-
*/
9487
}
88+
*/
9589

9690
input[type="submit"] {
9791
@extend %btn-block;

0 commit comments

Comments
 (0)