Skip to content

Commit 0003aa6

Browse files
committed
materia: fix radio switches, closes #1340
1 parent 6c4ea3b commit 0003aa6

14 files changed

+14
-14
lines changed

dist/materia/_bootswatch.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ select.form-control {
327327
margin-top: 1px;
328328
border: 2px solid $gray-400;
329329

330-
&:checked[type="radio"] {
330+
:not(.form-check) > &:checked[type="radio"] {
331331
background-image: escape-svg(url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$blue}' stroke='#{$white}'/></svg>")), var(--bs-gradient);
332332
background-size: 1.8em;
333333
}

dist/materia/bootstrap.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12916,7 +12916,7 @@ select.form-control[multiple] {
1291612916
margin-top: 1px;
1291712917
border: 2px solid #ced4da;
1291812918
}
12919-
.form-check-input:checked[type=radio] {
12919+
:not(.form-check) > .form-check-input:checked[type=radio] {
1292012920
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%232196f3' stroke='%23fff'/%3e%3c/svg%3e"), var(--bs-gradient);
1292112921
background-size: 1.8em;
1292212922
}

dist/materia/bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/materia/bootstrap.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/materia/bootstrap.rtl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12890,7 +12890,7 @@ select.form-control[multiple] {
1289012890
margin-top: 1px;
1289112891
border: 2px solid #ced4da;
1289212892
}
12893-
.form-check-input:checked[type=radio] {
12893+
:not(.form-check) > .form-check-input:checked[type=radio] {
1289412894
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%232196f3' stroke='%23fff'/%3e%3c/svg%3e"), var(--bs-gradient);
1289512895
background-size: 1.8em;
1289612896
}

dist/materia/bootstrap.rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/materia/bootstrap.rtl.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/5/materia/_bootswatch.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ select.form-control {
327327
margin-top: 1px;
328328
border: 2px solid $gray-400;
329329

330-
&:checked[type="radio"] {
330+
:not(.form-check) > &:checked[type="radio"] {
331331
background-image: escape-svg(url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$blue}' stroke='#{$white}'/></svg>")), var(--bs-gradient);
332332
background-size: 1.8em;
333333
}

docs/5/materia/bootstrap.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12916,7 +12916,7 @@ select.form-control[multiple] {
1291612916
margin-top: 1px;
1291712917
border: 2px solid #ced4da;
1291812918
}
12919-
.form-check-input:checked[type=radio] {
12919+
:not(.form-check) > .form-check-input:checked[type=radio] {
1292012920
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%232196f3' stroke='%23fff'/%3e%3c/svg%3e"), var(--bs-gradient);
1292112921
background-size: 1.8em;
1292212922
}

docs/5/materia/bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)