Skip to content

Commit

Permalink
Merge pull request #14 from namely/revert-13-jlp/1.4.0
Browse files Browse the repository at this point in the history
Revert "Fix borders on boolean inputs and bump version"
  • Loading branch information
JackieLiPera authored Nov 16, 2020
2 parents 86acae2 + e366252 commit d364568
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@namely/ui-css",
"version": "1.4.0",
"version": "1.3.0",
"description": "",
"main": "css/styles.css",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion scss/elements/forms/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
.checkbox-blue[type=checkbox] {
-moz-appearance: checkbox; /* otherwise the styles doesn't take affect in FF */
background-color: $white;
border: 0;
display: inline-block;
height: 1.25rem;
width: 1.25rem;
Expand All @@ -158,7 +159,7 @@
.checkbox-blue[type=checkbox]:after,
.checkbox-blue[type=checkbox]:before {
background: none;
border: 1px solid $ds-grey-30;
border: none;
content: "";
}

Expand Down
5 changes: 3 additions & 2 deletions scss/elements/forms/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,14 @@ select {
[type=radio] {
-webkit-appearance: none;
background: none;
border: 0;
height: $space-3;
padding: 0;
position: relative;
width: $space-3;

&::after {
border: 1px solid $ds-grey-40;
border: 1px solid $ds-grey-30;
border-radius: 50%;
color: $ds-grey-20;
content: '';
Expand Down Expand Up @@ -221,7 +222,7 @@ select {
}

&:checked::before {
background: $ds-blue-40;
background: $ds-grey-20;
border: 0;
border-radius: 5px;
content: '';
Expand Down

0 comments on commit d364568

Please sign in to comment.