Skip to content

Commit

Permalink
backtrack checkbox fix from v9 to v8 (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
msendlakowski authored Aug 19, 2019
1 parent 2ac6c5e commit 6a6acf1
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 12 deletions.
4 changes: 1 addition & 3 deletions dist/checkbox/ds4/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
stroke: currentColor;
stroke-width: 0;
vertical-align: middle;
color: #ccc;
color: #767676;
height: 18px;
width: 18px;
}
Expand All @@ -49,7 +49,6 @@
display: none;
}
.checkbox__control[type="checkbox"]:not(:checked) + .checkbox__icon svg.checkbox__unchecked {
color: #ccc;
display: inline-block;
}
.checkbox__control[type="checkbox"]:focus + .checkbox__icon {
Expand All @@ -72,7 +71,6 @@
display: inline-block;
}
.checkbox__control[type="checkbox"]:checked + .checkbox__icon svg.checkbox__unchecked {
color: #ccc;
display: none;
}
@media screen and (-ms-high-contrast: white-on-black) {
Expand Down
4 changes: 1 addition & 3 deletions dist/checkbox/ds6/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
stroke: currentColor;
stroke-width: 0;
vertical-align: middle;
color: #e5e5e5;
color: #111820;
height: 18px;
width: 18px;
}
Expand All @@ -49,7 +49,6 @@
display: none;
}
.checkbox__control[type="checkbox"]:not(:checked) + .checkbox__icon svg.checkbox__unchecked {
color: #e5e5e5;
display: inline-block;
}
.checkbox__control[type="checkbox"]:focus + .checkbox__icon {
Expand All @@ -72,7 +71,6 @@
display: inline-block;
}
.checkbox__control[type="checkbox"]:checked + .checkbox__icon svg.checkbox__unchecked {
color: #e5e5e5;
display: none;
}
@media screen and (-ms-high-contrast: white-on-black) {
Expand Down
2 changes: 1 addition & 1 deletion docs/static/ds4/skin.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/static/ds6/skin.min.css

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/less/checkbox/base/checkbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
}

& + .checkbox__icon svg.checkbox__unchecked {
color: @checkbox-unchecked-color;
display: inline-block;
}
}
Expand All @@ -70,7 +69,6 @@
}

& + .checkbox__icon svg.checkbox__unchecked {
color: @checkbox-unchecked-color;
display: none;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/less/checkbox/ds4/checkbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

@checkbox-checked-color: @color-core-blue;
@checkbox-unchecked-color: @color-core-gray-silver;
@checkbox-unchecked-color: @color-core-gray-dim;
@checkbox-unchecked-icon-base64-light: @icon-checkbox-unchecked-base64-light;
@checkbox-checked-icon-base64-light: @icon-checkbox-checked-base64-light;

Expand Down
2 changes: 1 addition & 1 deletion src/less/checkbox/ds6/checkbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

@checkbox-checked-color: @color-b4;
@checkbox-unchecked-color: @color-grey2;
@checkbox-unchecked-color: @color-black;
@checkbox-unchecked-icon-base64-light: @icon-checkbox-unchecked-base64-light;
@checkbox-checked-icon-base64-light: @icon-checkbox-checked-base64-light;

Expand Down

0 comments on commit 6a6acf1

Please sign in to comment.